== Backing up the Profile and Restoring it after flash ==
To note : this works for the same version to same version. If you skip a version or if you're migrating from one version to the next, this may not work if it skips the database migration code of those apps. 1. back up your profile: <go to a temp folder somewhereon your computer >
adb pull /data/local local
adb pull /data/b2g b2g
<flash device>2. restore your profile:
adb push local /data/local
adb push b2g /data/b2g