Procedure for (re)flashing ROMs (and backup) - Sprint HTC EVO 4G LTE

i've really only used rom manager in the past, and now with the LTE i'm using Goo manager, and TWRP for a recovery. my question is, for those that want to try a new ROM, what is your procedure for backing up your ROM and apps, etc.? i ask because i flashed to viperROM, and backed it up via TWRP recovery, went to try another ROM out, and then wanted to reflash with the backup i had created, but wasn't sure where to find it to flash back. was it just a matter of not knowing what directory it had been saved into? also, when you make a backup (is it still referred to as nandroid?), do you have to use something like titanium for backup of apps and their data? i take it that's the case but wanted to be sure... maybe i need to do more searching for titanium backup i guess.
edit: just to add that i have used TB root in the past after flashing, only to find that things like some of the games etc. were as if it was a fresh install... no save game data. what's the proper way to ensure that apps are backed up with all of their associated data? or is that something that's more of a case by case/manual thing?

Related

Proper Back Up Procedure

Hi Guys,
I am running the the latest Axura ROM (2.2.5.7 I believe) and have now purchased the premium versions of the following Apps: ROM Manager, Titanium Back Up & Launcher Pro.
With all this awesome capability, what should I do in the way of a back up to restore my phone if something ever happens? Basically my goal is to be able to go into recovery and restore my phone totally if I FUBAR it.
Please keep in mind I just entered this world as of Sunday starting with Rooting and then ROM flashing : D
Thank you for all your help now and in the past!
From another post I made:
The way I have things set up for backups, and this is just for my personal convenience, is as follows...
I have a stock JFD ODIN rom to flash in case anything goes wrong. (A lot of people here will tell you to flash this whenever flashing a new rom. It is safer, and cleaner to do it this way, but not absolutely necessary)
I make a nandroid of my last stable rom (I only keep one at a time cause the files are huge) and keep a backup of that on my PC.
I backup all my apps and a few other things (call logs, bookmarks, sms) through Titanium backup. If you get the pro version, you can load it up after flashing a new rom and have it automatically restore all your apps in one click (system settings can be dangerous to restore when going from rom to rom, so be careful with those.) I also keep a backup of this on my PC.
I will also occasionally backup both of the sd cards to the PC.
Maybe overkill, but you probably wont ever lose anything forever.
Click to expand...
Click to collapse
Well I just backed up my ROM through ROM manager... I have another one in there too dated Saturday (when I first flashed) which I assume is my stock vibrant ROM...?
I do have the Pro version of Titanium... how would I back up everything for a one click set-up?...If I did that should I just delete my ROM back up in ROM manager? Trying to avoid unnecessary redundancy and the wasting of precious space on my phone : P
Go into Titanium and click on Backup and restore and than click on menu and then batch and then select backup all user apps. then run batch file. You also have the choice to back up system data as well. I would not recommend deleting any of your backups in Rom Manager. Just backup all of your apps(and system data if you wish) and you are good to go.
Thanks all!
tenbeau said:
I would not recommend deleting any of your backups in Rom Manager.
Click to expand...
Click to collapse
Why is that? Nandroid backups are very large, and if you're playing it safe and making a nandroid each time before flashing a rom, you will run out of space very quickly. You should always keep at least one (for me its my most recent, stable, daily driver), but it certainly is NOT necessary to keep all of them.

[Q] What is lost during a ROM change? How to backup phone so I can play with ROMS

I'm running streakdroid 1.9 but I would like to do some experimentation with my streak. If I flash a new rom what will I lose? How do you backup your data so you can flash to your hearts content?
Thanks
if u flash stock roms, they do a factory reset during first start up.
So u end up loosing everything.
However if u flash .zip version of the stock roms using CWM or streak recovery , u will retain almost everything but may loose somethings like root and so on.
Remember stock roms will flash its default recovery everytime it boots up
Ok thanks. Is it wise to do a factory reset anyway?
What tools can I use to backup messages, apps, photos, etc?
I use titanium backup.
If you do a nandroid backup, when you restore it, everything will be just as it was before you flashed another ROM...
As far as using Titanium... it has never worked for me completely, nor has MyBackUp Pro, they cause me more headache than being useful...
I have gotten to the point to when I flash a new ROM, I just manually install everything, I know it sounds like some hassle, but you end up with a much smoother operating phone.
I even do a nandroid backup first, then go into my ROM and manually uninstall everything, so that when I boot up my new ROM and setup my market account, it doesn't try to install everything on its own and bog down my phone at first, I install everything manually in the order I want and set them up as I go.
I know this sounds cumbersome, but I have found it creates a cleaner environment and practically eliminated force closes
That is the way I like to do things also but what about the things that you can't just re-install e.g. sms, application specific data?
Advice
I was having a sim card and constant restart issue after updating to streakroid 2.4.4, and even after flashing dsc, the problem persisted. After I reviewed the steps I had taken I realized that I never did a factory resest (fearing I would forever lose my precious app data, which I did -_-). It turned out that was the fix, after doing the factory reset, my sim card was recognized immediately and a couple of the text I had missed showed up. However, I fixed one fixed problem and developed another.
Even though I restored a MyBackup and Titanium backup I did right before resetting I recovered my several apps without their precious data (setting, notes, bookmarks). I tried doing internal backups within the apps, some conveniently had syncs to a cloud yet I missed doing that with a few apps because I have over 100+ and I use more than half on a regular basis (even if for 5 minutes). All my apps are on my device, which is a good thing but I cant appreciate that given the missing data.
So my advice is:
Use apps that have can automatically backup or sync data -- there are enough apps with similiar utility that you can avoid ones without that function.
Do a manual backup within your important apps. -- Some apps backup files to locations that may be wiped during update, doesn't have auto backup or the last backup is months old.
Pics, texts, call logs are easily backed up -- Backup programs will explicitly state or ask what to back up in that regard.
Do a nandroid backup -- I believe this only restores rom and apps but someone can correct me.
Caveat
Through all the research done before actually need to restore a backup I missed the fact when restore apps depending on the restore program every app has to be reinstalled individually. If you have more than 25 apps then #$#@!, also for some reason when restoring with titanium if during a batch restore you come across an app if you hit cancel during one of the install prompts because you actually don't want to restore that app the batch will freeze and you'll have to force close titanium and start the restore all over. Go through the list of restore options and choose each app one by one, save yourself the time.
Lastly, to piggy back off what was said before, a factory reset( FR) after updating rom is always recommended but its not always needed. Most roms will update without causing you to lose any data but like I said previously I had sim card issues when I updated without a FR. YMMV
At this point I don't know if this helps the OP but maybe it will benefit someone else who reads this thread.
This guide by _n0p_ tells how to do an upgrade and minimize the re-installation of apps.
Key items:
Use the backup function of any apps that have it
Don't count on restoring data with TB or My Backup
Make a nandroid - just in case
I have found TB and My Backup to be useful for things like browser bookmarks.
The post linked to discussed going from Froyo to Gingerbread but the same techniques apply for moving to any other ROM.
Last time i changed roms, i used the Dell backup utility for evertyhing but the apps, which can be backed up together with their data with QtADB which creates a backup folder on your SD. After installing the new rom, i chose advanced recovery from the Dell Utility and set it to recover everything but the apps, which i recovered with QtADB. However, I also strongly recommend nandroid, in case the steak doesn't boot after the install.

[Q] restore only data after rom update

fast question
if u have read my other threads let me recall because i though i had fix my problem, but like an idiot i went into recovery without flashing cwm so i lost everything again.
So,
i have flash back stock honeycomb 3.2
when i try to restore a backup (that was made on 3.1), it goes down to 3.1 and crash when i try to update to 3.2 to then update to 4.0.4
so i decided to flash 4.0.4 (stock ICS from sammobile) and reinstall all my apps one by one
But,
i still have my backup, my ICS is now rooted and flashed with cwm
i want to know, if after installing all my apps, i go into recovery and try to do an advance restore of data only, will it work ?
am sorry to be a pain in the ass with all my questions, i couldnt find the anwser
I think the answers were there in your original thread but you are looking for an easier way to go. I am not sure there is one. Since the hard way requires restoring fully your honeycomb install you may as well try data restore from nandroid first, hopefully it works out well.
I'm not experienced in using nandroid backups for partial data restores, titanium is better suited for that. To me, nandroid is for full system restore.
So again, if all else fails the best option is to restore the honeycomb nandroid, make sure that the device is rooted, install titanium, run full backup, backup all files off of sd to your computer via usb (your nandroid, your photos, your titanium backups , etc) and then update back to the system you want. Once back to ICS you can install your apps, root, install titanium and restore data for the apps you need. Be careful with this, obviously there are compatibility issues between the two systems.
Sent from my SCH-I905 using Tapatalk 2
muzzy996 said:
I think the answers were there in your original thread but you are looking for an easier way to go. I am not sure there is one. Since the hard way requires restoring fully your honeycomb install you may as well try data restore from nandroid first, hopefully it works out well.
I'm not experienced in using nandroid backups for partial data restores, titanium is better suited for that. To me, nandroid is for full system restore.
So again, if all else fails the best option is to restore the honeycomb nandroid, make sure that the device is rooted, install titanium, run full backup, backup all files off of sd to your computer via usb (your nandroid, your photos, your titanium backups , etc) and then update back to the system you want. Once back to ICS you can install your apps, root, install titanium and restore data for the apps you need. Be careful with this, obviously there are compatibility issues between the two systems.
Sent from my SCH-I905 using Tapatalk 2
Click to expand...
Click to collapse
The thing is that i spent like 2 days doing all that and now am on ics with my apps installed, its mostly my saved games that i dont have and was looking for a way to restore them.
Nainconpetant said:
The thing is that i spent like 2 days doing all that and now am on ics with my apps installed, its mostly my saved games that i dont have and was looking for a way to restore them.
Click to expand...
Click to collapse
The only way to restore only your apps is like the post above, you had to install titanium backup like i said in the PM i sended you, and then backup all your apps with titanium backup, save everything to your PC via USB cable and then install another ROM... so... i know it's very annoying and very hard.... but my opinion is to restore your nandroid backup (full system restore) download Titanium backup from google play, backup your data, and in case you deleted your nandroid, make a new one!!
But there could be compatibility problems when you backup your data what causes errors...
It's a pain in the ass to do it, but it's the only way i guess...
Bah, i dont feel like flashing again, ill start over my nfs hot pursuit, reckless getaway and jewel maze. i wasnt playing much with the other games installed
I remember that i did a nandroid backup cause i found it was more user friendly to create a full backup at the time i did it than with titanium.
Thanks for your help
Yah lessons learned. We've all learned them too . . nandroid is great for jumping between systems or for reverting to a clean one but it's not so great for restoring apps/data to or from differing systems; for that it's usually best to install apps clean and restore data via titanium.
I make it a habit now of doing both and saving both to an external device (either a usb flash drive or to my PC) prior to moving systems.

Backup App and User Data Help?

I have been searching for an answer for this question for a couple of days now but have yet to find one, so I decided to go ahead and make a thread for it. What I am wondering, is how to create a backup of all my user data, apps, and app data that I can restore on different roms? I am currently stock rooted, however I have downloaded and wish to flash ARHD Rom, but I don't want to have to re install everything from scratch I just want to be able to click "restore" and have all my apps and data back.
Any Help is greatly appreciated. Thanks Guys.
Pure+ said:
I have been searching for an answer for this question for a couple of days now but have yet to find one, so I decided to go ahead and make a thread for it. What I am wondering, is how to create a backup of all my user data, apps, and app data that I can restore on different roms? I am currently stock rooted, however I have downloaded and wish to flash ARHD Rom, but I don't want to have to re install everything from scratch I just want to be able to click "restore" and have all my apps and data back.
Any Help is greatly appreciated. Thanks Guys.
Click to expand...
Click to collapse
Because you are not rooted go this route. You do not require root.
1. Use the Helium app and copy the folder it creates onto your computer, it's called "CARBON." This will copy all apps and app data.
2. Use HTC Backup from the app store and backup everything onto dropbox. This will also backup your apps + data. It will be on a cloud storage so no need to push anything to anywhere.
3. Go into your SMS and hit the menu button. Backup all user text messaging. Copy to computer.
now you can report everything to anything.
After you are on your new ROM.
1. Run HTC Backup (comes with rom) and restore everything.
2. Use Helium to restore any missing apps.
3. Restore SMS.
Done.
SlimJ87D said:
Because you are not rooted go this route. You do not require root.
1. Use the Helium app and copy the folder it creates onto your computer, it's called "CARBON." This will copy all apps and app data.
2. Use HTC Backup from the app store and backup everything onto dropbox. This will also backup your apps + data. It will be on a cloud storage so no need to push anything to anywhere.
3. Go into your SMS and hit the menu button. Backup all user text messaging. Copy to computer.
now you can report everything to anything.
After you are on your new ROM.
1. Run HTC Backup (comes with rom) and restore everything.
2. Use Helium to restore any missing apps.
3. Restore SMS.
Done.
Click to expand...
Click to collapse
I am rooted, what I'm really wondering now is if I can restore the data portion of my nandroid backup after flashing the new rom or if that will result in a bunch of FC's?
Pure+ said:
I am rooted, what I'm really wondering now is if I can restore the data portion of my nandroid backup after flashing the new rom or if that will result in a bunch of FC's?
Click to expand...
Click to collapse
Use Titanium Backup and it can grab apps from a nandroid backup and restore them. navigate for this feature through the options menu.
http://www.guidingtech.com/13501/restore-apps-nandroid-titanium-backup/
Yes, you can flash a clean Rom then restore your data file from a previous backup. the only problem with that is that whatever problems you may have had before, may be present still. Otherwise, it doesn't hurt anything. In fact, both CWM and TWRP allow advanced restore where you can select portions of your back up to restore..one a time. In my opinion, it allows you to see, if a backup fails to restore, where exactly it is having trouble, be it in system, boot, data..etc. I literally just did this, restoring a data backup onto a clean Rom, and so far no issues. I understand what you mean by not wanting to set everything back up. System settings, widgets and app placements. You had the perfect setup and it took you forever to get it that way. Titanium backup and Rom Toolbox don't always restore these things like they claim to do.
Edit: I am finding the hard way with this phone, that unlike my old LG Mytouch, when you flash a firmware upgrade, non OTA push I mean, it doesn't stick to system. It's saved to data. So if you flash a data file from a backup with an older version, your back to that version. With my old phone, we could swap Roms after an update all day, and the baseband and firmware updates would stick every time.

[REF][NEW-USER] A guide to switching between ROMs

One reason why I chose to buy this device (aside from official Google support) is the overwhelmingly large amount of developer enthusiasm for it. And with that enthusiasm comes a lot of custom ROMs.
I haven't had time to test all of them, but I will - and here's a guide I made that'll hopefully make testing different ROMs easier.
Prerequisites
Before continuing with this guide, make sure that you have:
a LOT of free time, depending on how many ROMs you want to test;
unlocked and rooted your device;
downloaded all the ROMs you want to test;
have installed a good recovery - I would recommend the latest version of TWRP;
common sense.
(OPTIONAL) a spare microSD card of at least 8GB. This'll make everything easier, as you won't have to delete stuff in order to fit all your ZIPs and backups.
Things to remember
Make sure you know how exactly to restore your device to how it was before following this guide.
You should know what you're doing. One small mistake can lead to your device being completely unusable!
You should know what features you're looking for in a ROM. It's never nice to have gone all the way to flash a different ROM, only to discover that feature X doesn't work. Ask questions in the ROM thread, if you like.
You can always ask help from others, should you have any trouble with your device.
When using custom ROMs (or any customization, for that matter), do NOT ask for ETAs. Our developers are doing their work at their own leisure and during their own time, and they don't get their pay from you.
Ready? Let's get going!
Getting started
A good Android user always backs up before doing anything radical to their phone, and that's precisely what we're going to do. There are three ways to go about this:
The easy way
The easy way is through making a Nandroid backup. This is particularly easy to do in TWRP, as all you need to do is reboot into recovery, press Backup, select the partitions you want to back up and whether to compress them, and start backing up. Simple as that.
Pros: Easy to restore your data once you're finished testing ROMs.
Cons: It's somewhat hard to restore individual pieces of data (such as messages and apps) instead of the whole thing.
The (slightly) more complicated way
This way deals with TitaniumBackup, an absolute must-have app for every Android user out there.
With TitaniumBackup, you can choose to back up individual apps (and even update their individual backups). TB isn't limited to backing up/restoring data, though; it can do so much more - remove bloatware, freeze apps you don't use, make a flashable ZIP out of your backups... the list goes on.
Pros: Finer control over what data gets backed up. Very powerful tool in migrating ROMs.
Cons: Somewhat outdated and intimidating interface; and features are reduced without buying the PRO version.
The Google way
This one is the simplest way of all three, though it only works if you have a) GApps and have signed in to your Google account, b) if you've agreed to let Google back your data up when you first set up your device, and c) if you have Settings > Backup & reset > Back up my data enabled.
Google automatically backs up almost all of your data to its servers, ready to be restored when you do a factory reset/switch to a new phone. A list of all data that are backed up can be seen by going to Settings > Accounts > Google > (your email address).
Notable exceptions to the data backed up are messages, which you have to back up yourself - I recommend SMS Backup & Restore for that.
Now that you have your data backed up, let's get flashing.
Flashing
Put your ROMs/kernels/GApps on your SD card, then reboot to recovery.
1. Wiping / factory resetting
This is why we back up your data in the first place. Different ROMs need different data, and data left over from one ROM can cause another ROM to get stuck in a bootloop.
Tip: If you're using TWRP, try enabling Use rm -rf instead of formatting in Advanced settings. Formatting doesn't really have any perceivable advantages over simply removing the contents of your data partition (unless you somehow corrupted it), and it actually causes higher wear on your storage chip. (Storage doesn't last forever - I've had my old Samsung bricked because I reformatted too much.)
Click to expand...
Click to collapse
In CWM, it's called wipe data/factory reset; in TWRP, it's simply called Wipe. Wipe your data, dalvik-cache, and cache partitions.
2. Flashing the ROM and other addons
In CWM, it's called install zip (from sdcard); in TWRP, it's simply called Install. Browse to your ROM zip and install.
Tip: If you're using TWRP, you can add ZIPs to the ZIP queue in this order: ROM > GApps (if any) > Kernel (if any) > Addons/Patches (if any).
Users of CWM must manually flash each ZIP, in the same order.
Click to expand...
Click to collapse
3. Finishing up
Now all that's left to do is pray for the best and reboot.
Testing
If you flashed GApps, do NOT let Google restore data yet. We'll do that later.
Click to expand...
Click to collapse
After initial setup completes and your newly-installed ROM settles down, it's time to get testing. It would be helpful if you listed down all the features you need and check/cross them out one by one if they work or not. For example, I need working screen cast and usable video recording, both of which do not work in all the CM-based ROMs I've tested.
Some ROMs, especially sprout4 ROMs, require patches when installing on sprout8 devices in order to provide the most optimal experience. Try flashing those to see if the ROM gets any better for you.
Rinse & repeat?
So, have you decided that this ROM is for you?
Yes, this ROM is awesome! I love it!
If you backed up earlier using Google, do another factory reset and this time, let Google restore your data.
If you used Titanium for backup, you can safely restore your data now.
If you made a Nandroid backup, you technically can restore your backup as-is since most of the ROMs available for sprout are CM-based; but I wouldn't recommend this as this can cause bootloops. Otherwise, you can manually restore your data one-by-one - but this is a time-consuming process.
I'm not quite sure I like this ROM yet.
Well that's okay, just repeat this guide from the start.
Finishing up
Now that you've decided on what ROM to use, you can safely delete your backups and ZIPs - though it would be better to keep them as they might come in handy if your device starts having problems.
Notes
If you're flashing a Marshmallow ROM, don't flash Xposed right after you flash your ROM as this may cause a bootloop.
Never ask for ETAs on ROM threads. That's rude.
That's it for this guide! Happy flashing! :fingers-crossed:​
Reserved 1
Reserved 2
Reserved 3
Awesome post. Enjoyed it!?
aureljared said:
Reserved 3
Click to expand...
Click to collapse
Sry for digging up this old thread. I was wondering if there is a tutorial for Titanium Backup specifically targeting a switch between custom roms, having different versions of android.
I'm in the midth of moving from cm 13 to lineageos 15 and just tried to backup apps+data in Titanium Backup and restore them and the new system is now somewhat buggy..I'm not sure if the restored backup is the reason for this or not....Maybe there are specific settings to be set..... I mean it's common sense for me not to backup and restore system data but maybe I am missing other important things to be set prior to a backup in Titanium Backup.
trohn_javolta said:
Sry for digging up this old thread. I was wondering if there is a tutorial for Titanium Backup specifically targeting a switch between custom roms, having different versions of android.
I'm in the midth of moving from cm 13 to lineageos 15 and just tried to backup apps+data in Titanium Backup and restore them and the new system is now somewhat buggy..I'm not sure if the restored backup is the reason for this or not....Maybe there are specific settings to be set..... I mean it's common sense for me not to backup and restore system data but maybe I am missing other important things to be set prior to a backup in Titanium Backup.
Click to expand...
Click to collapse
It's hard to say, some apps might work improperly or refuse to terminate in the background due to a mismatch in the restored data. I only backup/restore game data nowadays, as Google Backup takes care of my contacts, SMS, settings, and customization. No problems encountered so far.
The only setting I change in TiBkp is the compression method, as the default (gzip, I think) produces somewhat large backups. I use bzip2.
If you really need to restore everything, it might help for you to wipe /data and restore apps in TiBkp one by one until you find the culprit.
aureljared said:
It's hard to say, some apps might work improperly or refuse to terminate in the background due to a mismatch in the restored data. I only backup/restore game data nowadays, as Google Backup takes care of my contacts, SMS, settings, and customization. No problems encountered so far.
The only setting I change in TiBkp is the compression method, as the default (gzip, I think) produces somewhat large backups. I use bzip2.
If you really need to restore everything, it might help for you to wipe /data and restore apps in TiBkp one by one until you find the culprit.
Click to expand...
Click to collapse
Trying the Google Way was also my thought, unfortunately it does not work for me. I posted this today in the rom I used until now:
https://forum.xda-developers.com/showthread.php?p=76022005#post76022005
The initial setup was quite some time ago and now I cannot recall what I may have done to insult the google sync service
Thanks for this.
Can I ask something?
If I'm on stock rom and have magisk and modules installed. To switch rom, do I need to uninstall those first?
or when using nandroid backup... is its okey to backup with magisk+module on it?
watatara.102 said:
Can I ask something?
If I'm on stock rom and have magisk and modules installed. To switch rom, do I need to uninstall those first?
or when using nandroid backup... is its okey to backup with magisk+module on it?
Click to expand...
Click to collapse
You might want to uninstall your modules first to be safe, but if you're sure they're compatible with the ROM you're switching to, then you might be fine keeping them. As always, backup before trying anything dangerous. :good:
Nandroids are whole-device backups, so if you backup while Magisk is installed, Magisk and your modules will still be there when you restore the backup. If that's what you're aiming for, then go ahead and backup. Just make sure to backup the boot image too, since that's where Magisk is installed.
Sent from my starlte using XDA Labs
Can I install a nandroid backup of a totally different ROM to replace the current ROM I'm using with TWRP?

Categories

Resources