Update ROM - Data Loss or not - Nexus 5 Q&A, Help & Troubleshooting

I am running CM-11 Stable version, which means I am rooted as well as custom recovery. If I update my ROM, will I loose any of my application's data?
e.g. if I upgrade to CM-11 Nightly, will be there any loss of data. Or if I want to install some different ROM's will there be any loss of data.
Is it possible to switch back to Stock ROM (Rooted) without loss of data.
Actually managing phone's data is big pain once you reinstall whole OS, So I am really doubtful here.

anshumangoyal said:
I am running CM-11 Stable version, which means I am rooted as well as custom recovery. If I update my ROM, will I loose any of my application's data?
e.g. if I upgrade to CM-11 Nightly, will be there any loss of data. Or if I want to install some different ROM's will there be any loss of data.
Is it possible to switch back to Stock ROM (Rooted) without loss of data.
Actually managing phone's data is big pain once you reinstall whole OS, So I am really doubtful here.
Click to expand...
Click to collapse
Do you mean with data your storage or your apps, settings? If you install a new rom you always need to wipe data (that is not your internal storage). If you update you only need to wipe cache and dalvik. You can backup apps easily with titanium backup for example

You should always nandroid backup before flashing roms and always keep a local copy of a titaniun backup.
Flashing custom roms dont wipe data. However, you may have to wipe data yourself to get it to boot.
Rule of thumb is:
Upgrading to a new version of the SAME custom ROM, no need to wipe. If you then find something doesnt work, wipe
Changing to a NEW rom, wipe.
This is all covered in the sticky threads. Please click the link in my signature and read the info threads.

Related

[Q] backup and restore

So when i move to a new version of a rom, how do i keep all my info? I was just used to backup/restore with a rom version change on cyanogenmod where i can restore and it won't overwrite the previous rom and revert changes.
Do i always have to wipe all data when uploading a new rom?
Shouldn't the nandroid backup restore everything but keep the current rom?
emoandy said:
So when i move to a new version of a rom, how do i keep all my info? I was just used to backup/restore with a rom version change on cyanogenmod where i can restore and it won't overwrite the previous rom and revert changes.
Do i always have to wipe all data when uploading a new rom?
Shouldn't the nandroid backup restore everything but keep the current rom?
Click to expand...
Click to collapse
I learned this today myself.
General rule is:
Switching ROMs? Wipe everything
Updating a ROM? Wipe cache and dalvik-cache
Installing an addon? Don't need to wipe anything
i guess that answers part of my question. the main part was when i switch roms, how do i keep all of my info? when using cyanogenmod, i could back up using nandroid backup from recovery, and restore when i installed a new rom, however it seems with some roms i cannot do this as it will overwrite changes in the new rom. how do i avoid this, how do i keep all of my data while not overwriting the new rom changes?
I'll try to answer your question, if I think I know what you mean by data. Data from ROM or data from phone/apps.
If data from phone/apps. then I would suggest Titanium Backup(Paid version) from market. Once you install a New ROM with a complete Data wipe, what ever you backed up with TB from your previous setting can be restored. This is good if you are installing a ROM not from the same dev.
Other wise if you installing a ROM from same dev, a revision, you don't have to do a wipe data.
If data from ROM, well I don't know there, never had to do it.
emoandy said:
i guess that answers part of my question. the main part was when i switch roms, how do i keep all of my info? when using cyanogenmod, i could back up using nandroid backup from recovery, and restore when i installed a new rom, however it seems with some roms i cannot do this as it will overwrite changes in the new rom. how do i avoid this, how do i keep all of my data while not overwriting the new rom changes?
Click to expand...
Click to collapse
ok, so you're saying when, let's say, going from 1.0 to 1.1 of the same dev rom, just an update, i do not need to wipe data?
Yes. The only time you ever need to wipe data and cache is when you trying a ROM from a different dev.
If installing a different rom, then that's where TB comes in handy.
Side note: Also CWM ROM Manager backup utility will backup every thing if you wanted to revert back.
Dayton advice above is a good rule to follow.
There's other bits and pieces but search or ask.
edit: corrections
Sent from my SAMSUNG-SGH-I997 using XDA Premium App

[Q] Updating a ROM

This is not a "how to root" post.
I finally said F it and installed clockworkmod and flashed a ROM but I just did a basic one to get my feet wet.
My basic question is how do ROM upgrades get installed. Say I install the latest EaglesBlood ROM and there is an update for it. Do I have to do a complete data/cache clear and re-flash with the newest ROM or is there some sort of updater or is each developer different?
Thanks.
That really depends on what was updated. Most of the time if you are upgrading to a newer version of the same rom, you can get away with just flashing over it, and keeping your data intact. Clearing /cache and the dalvik-cache is recommended. However this is not always the case. Some changes require data wipes to be effective. Usually best to ask in the rom's thread if a wipe is needed.
Also, sometimes you can just do a nandroid backup, install new rom, then reboot into cwm and do an advanced restore just restoring the data partition. Again, it really depends on the rom, and what was upgraded.

Anyone else flashing ROMs and finding them sluggish?

I used to flash things like Liquidsmooth and my phone would fly. Now when I flash GPE or a CM based ROM, it hangs and lags sometimes. Anyone have any similar problems?
Would also be a good time to ask, will wiping internal storage in TWRP delete recovery so I can't flash ROMs?
Recon0212 said:
I used to flash things like Liquidsmooth and my phone would fly. Now when I flash GPE or a CM based ROM, it hangs and lags sometimes. Anyone have any similar problems?
Would also be a good time to ask, will wiping internal storage in TWRP delete recovery so I can't flash ROMs?
Click to expand...
Click to collapse
No issues here... To answer your question... no It will remove your backups if you stored any there. Once you have installed twrp it will always be there unless you change it.
Recon0212 said:
Would also be a good time to ask, will wiping internal storage in TWRP delete recovery so I can't flash ROMs?
Click to expand...
Click to collapse
That's your whole problem right there.
You are reluctant to wipe /data? You HAVE to do it if you go from one rom to another. Also called a clean install.
If you go to the Wipe menu in TWRP and just swipe the button it will wipe cache, Dalvik and /data except /data/media/ which is where your personal files live. It will wipe you apps and their settings, but you can backup those in TiBu and restore them afterwards. Do not restore system settings from TiBu though!
Give your phone a break. Do that factory wipe I described above, then re-flash your current rom and I can pretty much guarantee it'll be night and day.
This phone is so fast - a shame to gum it up

Best multiple ROM practice when using TWRP

Hello forums,
I have a rooted One running the latest official update version 44S with TWRP recovery. I am interested in flashing an Android Lollipop port (the one made from CM12 dailies). If I don't want to lose all my app data permanently (I know several resets and erases are necessary to swap ROMs), how can I back it up and then restore it once I've upgraded? Can I keep a backup of my current ROM/apps through the various resets necessary (just in case of big issues or bootloops)? FYI all my backups include system and data, but not cache.
Thanks to any help in advance!
If you're only backing up system and data, your phone will never boot when you restore the backup, you need to backup boot as well. You should always keep at least one backup on your phone at all times, just in case things go wrong. Unless you wipe your internal storage (which you don't need to do) you won't lose your backup. In regards to your user apps, just use Titanium Backup to back them up and then you can restore them after flashing a ROM.
Transmitted via Bacon

BT problem with 05Q. Help me downgrade

I was on stock 44S, except TWRP and root (and unlocked bootloader).
A couple of days ago, I gave the go ahead for OTA to 05Q and I lost the ability to connect to my BT car kit.
I see other people having the same issue over at op+1 forums but no solution.
I tested with different kernels and with full wipe but the problem is there.
The car kit will not recognize the phone at all. It just does not find it during scan. If I do it the other way round, and put the phone to scan for the carkit, it will find it and request the pin, but it will not pair.
I had no problem with 44S and I wonder what is the quickest way to downgrade without loosing data.
From the FAQ its not clear if flashing only system.img from 44S will work.
Another idea is to try a different ROM but the selection is vast and I'm confused over which one to use.
You can't really downgrade without losing some data, but if you just use Titanium Backup to backup your user apps first you can restore them after downgrading. So backup your user apps, perform a full wipe (system, data, cache, dalvik cache), flash the unofficial 44S stock rooted flashable zip from this thread, restore user apps, done.
If you want to try a custom ROM it really isn't all that hard, just read the features and try one (make a TWRP backup first), if you don't like it you can always restore the backup you made.
Transmitted via Bacon
Just to conclude this.
I took a titanium (and TWRP) backup.
Full wipe (except internal storage) and downgraded to stock-rooted-4-4-4-xnph44s from the above link (from TWRP).
After the lengthy restore process using titanium, BT is again operational as it should.
Some notes:
Mobile data is by default on - so if needed remove the SIM before the upgrade to avoid charges.
Don't forget to turn off the "Update CM recovery" to avoid overwriting of TWRP.

Categories

Resources