tripdoc79
Android Enthusiast
OK, So you just got your phone setup to the way you like it after flashing a CM7 ROM and now theres an updated rom available or theres a new version from someone else you want to use. This guide will help you restore your phone to its previous glamour after flashing a fresh rom. DO THIS AT YOUR OWN RISK as I will not be held responsible for any damage you incur to your phone. And as always, read everything twice before doing it. I have personally used this method more times than i can count, but you never know how things are gonna end up.
EDIT: This may also work if coming from Froyo based rom or stock, but i have not personally tried it. But if you make a backup, you can always go back and start over.
NOTE: This guide requires getitnowmarketings GNM recovery. this can be found here: http://androidforums.com/getitnowmarketing/330813-all-one-recovery-thread.html
Updated to include ClockworkMod recovery.
1. Before flashing your shiny new updated rom, boot into recovery and make a Nandroid Backup of your phone and remember to include the SD-EXT as well if you are currently using A2SD. You should always make a complete backup of everything in case something goes wrong.
2.Now make a backup of your Data and SD-EXT partitions ONLY through the Nandroid Backup/Restore menu. IF you are using CWM recovery, skip this step.
3. Now that you've made the proper backups, go ahead and follow the directions to flash your new rom. If you are following this guide.. you've probably flashed a few roms and know the routine. For those of you that dont, Wipe ALL USER DATA/Factory Reset through recovery. Then procede to Wipe Dalvik-cache. Then flash your rom and latest gapps if not included.
4. Reboot your phone, IF A2SD IS NOT INCLUDED IN YOUR ROM follow these steps. IF it is included in your rom skip to step #8. Download the latest DarkTremors A2SD Script here: [Script][A2SD] Darktremor 2.7.5.3 Beta 04 [N1] (01/29/2011) - xda-developers and move to your Sdcard. Now go to Settings> Cyanogenmod Settings> Applications and set to not allow moving of apps. Then set Install Location to INTERNAL.
EDIT: Edited post to use beta04.. still testing beta 5, link changed to beta04
5. Reboot into recovery. Clear cache and Dalvik-cache. Flash the a2sd.zip your just downloaded. Reboot your phone.
6. Go Ahead and add your google account info and sync up.. install whatever google apps you wish.
7. If you previously used a2sd and moved your dalvik-cache to SD, go to the market and download DTsA2sdGUI, just search a2sd and look for Dark Trem. Once installed open the app and move and rebuild the dalvik cache to the sd, your phone will reboot.
8. You are now ready to restore your User Data and apps. Reboot into recovery. Format your SD-EXT partition. Go to Nandroid Restore and Pick the backup you made of your Data and SD-ext partitions. Should look something like DE-dateandtime. Restore it. IF using CWM recovery, go to advanced restore and select the data and ext partitions to restore from your recent backup. Now clear your dalvik-cache. Reboot your phone. THIS MAY TAKE QUITE A WHILE, as you phone is going to be installing all your apps and rebuilding the dalvik-cache. Depending on the ROM you are coming from, your boot animation may change to the one you had before.
There you go.. your phone should now be restored to its previous state with all widgets, backgrounds, text messages, call log, app and website logins, etc etc. some apps may not install correctly, i only had 2 that didnt, and they were unimportant, baby apps, IE Learn Animal Sounds FREE, and something else,, anyway just reinstall them from the market and everything will be fine. Hope this helps some of you.
EDIT: Testing beta 5, i have beta5 working but not from fresh install, and also only on ext4, not ext3. Currently testing file systems etc to see requirements and get proper commands for installing beta5 through terminal to get it to work. Beta5 is currently causing multiple reboots after trying to install on fresh flash.
EDIT: After testing every combination i can think of, it appears that beta5 will not work from a fresh flash, at least i cannot get it to work, on ext3 or ext4. However, you can "upgrade" to beta5 after flashing and setting up beta4, just simply flash beta5 over beta4 after everything is set up. And yes these roms will support ext4, i am currently using beta5 with EXT4 on my phone, but i had to use the "upgrade" method. Something with the initial setup of beta5, as it does not automatically set itself up like beta4 does, when trying to run a2sd commands in terminal its throws alot of "cannot mount, file is busy or does not exist" errors. When "upgrading" all setup is already complete and your just adding the new stuff to it. DO THIS AT YOUR OWN RISK, what worked for me may not work for you when it comes to beta5.
EDIT: This may also work if coming from Froyo based rom or stock, but i have not personally tried it. But if you make a backup, you can always go back and start over.
NOTE: This guide requires getitnowmarketings GNM recovery. this can be found here: http://androidforums.com/getitnowmarketing/330813-all-one-recovery-thread.html
Updated to include ClockworkMod recovery.
1. Before flashing your shiny new updated rom, boot into recovery and make a Nandroid Backup of your phone and remember to include the SD-EXT as well if you are currently using A2SD. You should always make a complete backup of everything in case something goes wrong.
2.Now make a backup of your Data and SD-EXT partitions ONLY through the Nandroid Backup/Restore menu. IF you are using CWM recovery, skip this step.
3. Now that you've made the proper backups, go ahead and follow the directions to flash your new rom. If you are following this guide.. you've probably flashed a few roms and know the routine. For those of you that dont, Wipe ALL USER DATA/Factory Reset through recovery. Then procede to Wipe Dalvik-cache. Then flash your rom and latest gapps if not included.
4. Reboot your phone, IF A2SD IS NOT INCLUDED IN YOUR ROM follow these steps. IF it is included in your rom skip to step #8. Download the latest DarkTremors A2SD Script here: [Script][A2SD] Darktremor 2.7.5.3 Beta 04 [N1] (01/29/2011) - xda-developers and move to your Sdcard. Now go to Settings> Cyanogenmod Settings> Applications and set to not allow moving of apps. Then set Install Location to INTERNAL.
EDIT: Edited post to use beta04.. still testing beta 5, link changed to beta04
5. Reboot into recovery. Clear cache and Dalvik-cache. Flash the a2sd.zip your just downloaded. Reboot your phone.
6. Go Ahead and add your google account info and sync up.. install whatever google apps you wish.
7. If you previously used a2sd and moved your dalvik-cache to SD, go to the market and download DTsA2sdGUI, just search a2sd and look for Dark Trem. Once installed open the app and move and rebuild the dalvik cache to the sd, your phone will reboot.
8. You are now ready to restore your User Data and apps. Reboot into recovery. Format your SD-EXT partition. Go to Nandroid Restore and Pick the backup you made of your Data and SD-ext partitions. Should look something like DE-dateandtime. Restore it. IF using CWM recovery, go to advanced restore and select the data and ext partitions to restore from your recent backup. Now clear your dalvik-cache. Reboot your phone. THIS MAY TAKE QUITE A WHILE, as you phone is going to be installing all your apps and rebuilding the dalvik-cache. Depending on the ROM you are coming from, your boot animation may change to the one you had before.
There you go.. your phone should now be restored to its previous state with all widgets, backgrounds, text messages, call log, app and website logins, etc etc. some apps may not install correctly, i only had 2 that didnt, and they were unimportant, baby apps, IE Learn Animal Sounds FREE, and something else,, anyway just reinstall them from the market and everything will be fine. Hope this helps some of you.
EDIT: Testing beta 5, i have beta5 working but not from fresh install, and also only on ext4, not ext3. Currently testing file systems etc to see requirements and get proper commands for installing beta5 through terminal to get it to work. Beta5 is currently causing multiple reboots after trying to install on fresh flash.
EDIT: After testing every combination i can think of, it appears that beta5 will not work from a fresh flash, at least i cannot get it to work, on ext3 or ext4. However, you can "upgrade" to beta5 after flashing and setting up beta4, just simply flash beta5 over beta4 after everything is set up. And yes these roms will support ext4, i am currently using beta5 with EXT4 on my phone, but i had to use the "upgrade" method. Something with the initial setup of beta5, as it does not automatically set itself up like beta4 does, when trying to run a2sd commands in terminal its throws alot of "cannot mount, file is busy or does not exist" errors. When "upgrading" all setup is already complete and your just adding the new stuff to it. DO THIS AT YOUR OWN RISK, what worked for me may not work for you when it comes to beta5.