Newbie needs some Nandroid backup clairfication - OnePlus 6 Questions & Answers

Howdy!
I have finally gotten the multi user problem solved and made my 1st nandroid backup. I have never done a restore so I have a couple of questions:
1) If I flash lineage then do a restore in TWRP can I select just the 'data' partition to restore from my OOS bcakup?
2) Can I do a restore a back up I made in OOS after I flash Lineage or does that muck things up?
3) If I can do a restore of only the 'data' files will that restore all my apps, and will it restore the app data?
I have done several searches of the forums and have not been able to totally figure out how I can save my set up in OOS and get all my apps and data to Lineage without painstakingly loading each app again and setting each app back up.
4) If I copy my entire data folder to my hard drive, flash Lineage, then copy it back to the phone will that accomplish what I am trying to do, or is that what the nd backup will do, or am I barking up the wrong tree totally.
Last time I accidentally wiped my phone and had to rebuild everything from scratch......this time I would like to avoid that fun!!
Thank you in advance,
JC

Related

[Q] How to use Nandroid backup and what exactly it does restore?

Hello,
I have problems restoring from nandroid backup.
Here what I did"
1) Flashed ROM1 and Flashed Kernel1.
2) Installed all My apps which I use.
3) Took Nandroid back-up.
4) Flashed ROM2. Flashed Kernel1.
5) Installed all apps.
6) After 1 days reflashed ROM1 and Kernel1.
7) Tried restoring Nandroid back-up I created 1 day back.
AND IT FAILS!!
Everytime I did a complete wipe of all data and catch and dalvik.
Same happened with CWM and AmonRa
CWM: md5 sums mismatch!!
AmonRa: Oops! Something went wrong!!
Am I mistaken about Nandroid back-up? Am I doing something wrong?
Actually I wanted to restore all my apps and data related to apps. I took whole system and data and everything backed up in the option.
1 Nandroid backup means it reflashes your backed up system with all your installed apps i.e if you have gb rom and do nandroid backup it will backup your current system( in this case gb) with all installed apps at the time you did backup.
2 You said it failed did it display any error while backing your nandroid backup.
3 Never heard of a backup being failed, you must have messed up something.
4 Md5 checksum mismatch means you either had a bad flash or if you moved or replaced some file also backup from different recovery will not work if you backed up from cmw then you cannot restore from amonra recovery, did you change recovery after backing up if you did then it wont work.
5. If you want to backup your apps and data next time try backing it with titanium backup root.Open titanium backup and press batch and then press backup all apps + data.
6. After flashimg new rom install titanium backup root from google play and press restore all app+data this will restore your apps with data.
7. If you use nandroid backup then your rom also changes to the rom that you had while backing up.
hope this helps
Go to your SDcard.. search and go to clockworkmod folder.. go to backup.. now whichever file you see.. Rename it xyz or anything WITHOUT any space!!
Try restoring then!!
hsingh1993 said:
1 Nandroid backup means it reflashes your backed up system with all your installed apps i.e if you have gb rom and do nandroid backup it will backup your current system( in this case gb) with all installed apps at the time you did backup.
2 You said it failed did it display any error while backing your nandroid backup.
3 Never heard of a backup being failed, you must have messed up something.
4 Md5 checksum mismatch means you either had a bad flash or if you moved or replaced some file also backup from different recovery will not work if you backed up from cmw then you cannot restore from amonra recovery, did you change recovery after backing up if you did then it wont work.
5. If you want to backup your apps and data next time try backing it with titanium backup root.Open titanium backup and press batch and then press backup all apps + data.
6. After flashimg new rom install titanium backup root from google play and press restore all app+data this will restore your apps with data.
7. If you use nandroid backup then your rom also changes to the rom that you had while backing up.
hope this helps
Click to expand...
Click to collapse
I hadn't change anything but the name of the folder with some appropriate name like "CM-9.1.1 Final + CandiedIce Kernel + Apps", so that I can recognize it when I need it. No changes in the 5-6 files of recovery.
Didn't try restoring CWM back-up with AmonRa. Tried Amonra to Amonra and CWM to CWM. Failed all times (almost 5 to 6 times).
Does making folder name without any spaces in between work? If it's so, it's weird!! Is it that way? Should the folder name has to have NO SPACE?
"clockworkmode > backup > CM-9.1.1 + CandiedIce Kernel + Apps" - won't work.
But "clockworkmode > backup > CM-9.1.1+CandiedIce_Kernel+Apps" - will work??
Also, as known CWM couldn't back-up sdext. But otherwise No Error. While AmonRa did all back-up without any sort of error.
Dude.. just do it. WITHOUT ANY SPACE.. if you want to restore!!
And keep a small name!!
Eg: cm9.1.1.candied.ice
Dont use any special characters like $ & #
Thanks
rr0yy said:
Dude.. just do it. WITHOUT ANY SPACE.. if you want to restore!!
And keep a small name!!
Eg: cm9.1.1.candied.ice
Dont use any special characters like $ & #
Click to expand...
Click to collapse
Thanks for the betterment of my knowledge. I shall keep this in mind for future use!! Recently I am stable with CM 9.1.1 without Gapps.
rr0yy said:
Dude.. just do it. WITHOUT ANY SPACE.. if you want to restore!!
And keep a small name!!
Eg: cm9.1.1.candied.ice
Dont use any special characters like $ & #
Click to expand...
Click to collapse
Thanks man for the tip! :good:
I usually put spaces in my backup though i have'nt encountered that problem.
wyndcryst25 said:
Thanks man for the tip! :good:
I usually put spaces in my backup though i have'nt encountered that problem.
Click to expand...
Click to collapse
So keeping a small name and without spaces is important??
sn809 said:
So keeping a small name and without spaces is important??
Click to expand...
Click to collapse
yes, this is Linux, means no spaces.
i have a question about this subject,
if i want to backup my rom my stock 4.1.1 on my galaxy nexus how can i do that so that when and if i choose to return or sell the phone i would like to load up the stock Rom back on the phone in case the person isnt tech friendly.
does a Nandroid back up Rom files and kernel as well ???
thanks for any help guys
fariswheel said:
i have a question about this subject,
if i want to backup my rom my stock 4.1.1 on my galaxy nexus how can i do that so that when and if i choose to return or sell the phone i would like to load up the stock Rom back on the phone in case the person isnt tech friendly.
does a Nandroid back up Rom files and kernel as well ???
thanks for any help guys
Click to expand...
Click to collapse
Use a custom recovery to backup. You can find them at galaxy nexus forum on xda
Yes, it restores everything. Nandroid backup is 1:1 copy of your entire phone memory. It will even restore your messages, call logs, accounts etc
sarus_b said:
Use a custom recovery to backup. You can find them at galaxy nexus forum on xda
Yes, it restores everything. Nandroid backup is 1:1 copy of your entire phone memory. It will even restore your messages, call logs, accounts etc
Click to expand...
Click to collapse
So any NANDroid backup is 1:1?
Does that mean that NANDroid also wipes all data?
Searz said:
So any NANDroid backup is 1:1?
Does that mean that NANDroid also wipes all data?
Click to expand...
Click to collapse
yes, is 1:1; if you restore a nandroid it will take the same space as the rom you backed up, and no, if you make a nandroid backup, you won't loose any data whatsoever, you still can continue using the rom you backed up, but if you are going to restore a nandroid it's better to make a full wipe, like if you are installing a rom, that's the way i do it...
gabo_lope said:
yes, is 1:1; if you restore a nandroid it will take the same space as the rom you backed up, and no, if you make a nandroid backup, you won't loose any data whatsoever, you still can continue using the rom you backed up, but if you are going to restore a nandroid it's better to make a full wipe, like if you are installing a rom, that's the way i do it...
Click to expand...
Click to collapse
No, I didn't mean that you'd lose data when making a backup. That defeats the point of making a backup in the first place, lol.
I was talking about when you restore it. And from what you just wrote I assume that files that aren't overwritten when restoring remain. Similar to how you can flash a ROM "dirty".
Searz said:
No, I didn't mean that you'd lose data when making a backup. That defeats the point of making a backup in the first place, lol.
I was talking about when you restore it. And from what you just wrote I assume that files that aren't overwritten when restoring remain. Similar to how you can flash a ROM "dirty".
Click to expand...
Click to collapse
Files will be overwritten. For example, if you make a nandroid, then update an app, when you restore that nandroid, you will restore the previous version of that app.
Sent from my LG-VM670 using xda app-developers app
upconvert said:
Files will be overwritten. For example, if you make a nandroid, then update an app, when you restore that nandroid, you will restore the previous version of that app.
Click to expand...
Click to collapse
Yea, exactly how I thought it worked. Thanks for confirming that for me.
guys i have some questions.........
1) nanadroid backs up all system apps and saved data like messages, phonelogs, contacts, saved settings right ??
2) if I flash a new ROM and then want to go back to the previous state by flashing nandroid backup, does it unroot my device?
3) I backup system apps + data by nandroid backup and SD card apps by Titanium Backup. Is this right ??
Searz said:
No, I didn't mean that you'd lose data when making a backup. That defeats the point of making a backup in the first place, lol.
I was talking about when you restore it. And from what you just wrote I assume that files that aren't overwritten when restoring remain. Similar to how you can flash a ROM "dirty".
Click to expand...
Click to collapse
4) If I have a backup of stock ROM then flash a custom ROM like CM, system files will be different in CM. SO when I restore the stock ROM, files that are new to CM will still remain right?
sorry for asking noob questions..........I'll really appreciate it if u guys answer this
Hmm
mike_24_11 said:
Hello,
I have problems restoring from nandroid backup.
Here what I did"
1) Flashed ROM1 and Flashed Kernel1.
2) Installed all My apps which I use.
3) Took Nandroid back-up.
4) Flashed ROM2. Flashed Kernel1.
5) Installed all apps.
6) After 1 days reflashed ROM1 and Kernel1.
7) Tried restoring Nandroid back-up I created 1 day back.
AND IT FAILS!!
Everytime I did a complete wipe of all data and catch and dalvik.
Same happened with CWM and AmonRa
CWM: md5 sums mismatch!!
AmonRa: Oops! Something went wrong!!
Am I mistaken about Nandroid back-up? Am I doing something wrong?
Actually I wanted to restore all my apps and data related to apps. I took whole system and data and everything backed up in the option.
Click to expand...
Click to collapse
do you use cwm recovery or twrp idk about twrp but if you are using cwm go to the cwm recovery go down to backup and restore now backup it to sdcard1 (sometimes its shown as backup to external sd card depends on your phone what u use) or just press backup it backups your current rom and your files and now press restore and chose your restore file or if you backup it to your sd card you can do the same thing just chose restore from external sd card and chose your restore file :good: done :good:

[Completed] Twrp cant find backup in restore

I did a TWRP backup on my Nexus 6P angler phone. The backup was of a stock 7.1.1 ROM downloaded from Googles developer site.
I renamed it so I would know that it is the backup for my phone and moved it onto my computer.
I performed a factory data reset and installed Lineage OS to try it out.
Did not like the lack of features so I decided to go back to my original backup.
I copied over the backup into the BACKUPS folder under sdcard/TWRP/BACKUPS.
Wiped data again and went to Restore in TWRP. THE LIST IS EMPTY... What do I do???
XDA Visitor said:
I did a TWRP backup on my Nexus 6P angler phone. The backup was of a stock 7.1.1 ROM downloaded from Googles developer site.
I renamed it so I would know that it is the backup for my phone and moved it onto my computer.
I performed a factory data reset and installed Lineage OS to try it out.
Did not like the lack of features so I decided to go back to my original backup.
I copied over the backup into the BACKUPS folder under sdcard/TWRP/BACKUPS.
Wiped data again and went to Restore in TWRP. THE LIST IS EMPTY... What do I do???
Click to expand...
Click to collapse
Hello & welcome to xda-assist,
I'm pretty sure that there's something wrong with your backup path, you can backup anything (best something small like efs) and see what path twrp creates and then put the backup file into the from twrp created backup folder (path)..
If you cannot solve the issue feel free to ask further questions in your specific device thread!
https://forum.xda-developers.com/nexus-6p/help
Good luck

TWRP restore failed, wierd folder names, can't access my files after a clean flash

Hey Guys!
I'm kind of a noob, so sorry in advance!
Today I wanted to try out the new Q Beta, so I opted in, but before that I made sure to create a TWRP backup, so that I could roll back easily if needed.
Well, after like 30 minutes I realized, that some of my apps won't work properly when using this Q preview. So I went back to TWRP, did a factory reset, then I tried to restore my backup from there. It worked without a problem, but during the boot process it showed me an error like:"AuthFailed..." or something. After that, rebooting back to TWRP I couldn't see my normal folders and stuff. I managed to sideload the latest Pie OTA, it works, but still can't access my internal storage and I only see the wierd folders with scrambled letters and numbers.
I know, that there are multiple mistakes I've made doing this and I should have removed my password... Is there any way to get my stuff back and/or restore that backup? Every available box was checked when creating the backup, I copied it to my PC beforehand, I assume it doesn't contain my pictures etc.
Any suggestion is welcome! Thanks in advance!
hsoma94 said:
Hey Guys!
I'm kind of a noob, so sorry in advance!
Today I wanted to try out the new Q Beta, so I opted in, but before that I made sure to create a TWRP backup, so that I could roll back easily if needed.
Well, after like 30 minutes I realized, that some of my apps won't work properly when using this Q preview. So I went back to TWRP, did a factory reset, then I tried to restore my backup from there. It worked without a problem, but during the boot process it showed me an error like:"AuthFailed..." or something. After that, rebooting back to TWRP I couldn't see my normal folders and stuff. I managed to sideload the latest Pie OTA, it works, but still can't access my internal storage and I only see the wierd folders with scrambled letters and numbers.
I know, that there are multiple mistakes I've made doing this and I should have removed my password... Is there any way to get my stuff back and/or restore that backup? Every available box was checked when creating the backup, I copied it to my PC beforehand, I assume it doesn't contain my pictures etc.
Any suggestion is welcome! Thanks in advance!
Click to expand...
Click to collapse
The weird folders mean the data is encrypted. As long as the data is safely backed up on your PC you can format the data partition and boot the phone completely once and then go back to TWRP and copy the backup back to your phone and restore it.

New ROM from LineageOS to RROS --> *sadface*

So I made an oops, *sadface*. Though I'm glad I backed up the important stuff before I went from OOS to LineageOS. I decided to see how RROS was with Q, So I downloaded needed files, and I proceeded with what I thought was necessary. RROS 8.1.0, proper gapps. Had Magisk and TWRP on phone already, so I did factory reset, install RROS, TWRP -> reboot TWRP -> flash GApps, flash magisk... Clearly something went wrong as my phone went default encrypted with no way to decrypt it. Apparently I had to wipe the data and start out freshy fresh. So, what did I do wrong? How could I have avoided this? I've done some research and it seems that with the A/B partition, format data is required? If that is so, so be it. I'd just like to know if there was an alternative way to switch ROMs without having to backup all data and restore it after formatting data. Way more hassle than I anticipated.
Imo, there is no way to change custom rom without formating data, otherwise your storage will end up encrypted. I am just using automatic google backup for apps, settings, wifi, call logs and sms and google photos for images and it works great. You dont need to take care of it at all, just set it and it will automatically backup all your data periodically and when you swith to the new rom you will have choice to restore all of the above from your backup during initial setup.

Saving settings and data while updating LineageOS

So I've read that regular LineageOS updates work with "dirty flashes" but the bigger updates (between majoe Android versions) require "clean flash".
Is it possible to somehow save all the system and application settings and data between the big upgrades requiring clean flash?
Thanks and sincerely
heybaybee said:
So I've read that regular LineageOS updates work with "dirty flashes" but the bigger updates (between majoe Android versions) require "clean flash".
Is it possible to somehow save all the system and application settings and data between the big upgrades requiring clean flash?
Thanks and sincerely
Click to expand...
Click to collapse
Boot into TWRP, select the Backup option, then select "advanced", select the data partition but do not select any other partition, swipe the slider to start the backup. When the backup finished, move the backup file to external sdcard or PC if you don't have external sdcard.
When you flash your ROM(do not store your ROM and gapps in your internal storage, store it on external, if you, don't have external, store it in your internal but don't wipe your internal when you do your wipes), wipe system, data, cache and dalvik cache then flash your ROM. After the ROM finishes, while still in TWRP, you can either go ahead and restore the data backup that you created or you can reboot into system to let the ROM do its initial load then immediately power off, reboot into TWRP, select Restore, then restore the backup of your data partition and reboot the device. I would let the ROM boot then go back to TWRP and then restore the data.
Thank you sir!
Is there any downside of restoring from backup instead if setting up everything manually?
Are there any downsides of choosing one if the two options proposed by you over the other?
Sincerely
heybaybee said:
Thank you sir!
Is there any downside of restoring from backup instead if setting up everything manually?
Are there any downsides of choosing one if the two options proposed by you over the other?
Sincerely
Click to expand...
Click to collapse
1) no downside, it restores all settings, apps and app data to exactly what you had before flashing the update.
2) no downsides, it is just that letting the ROM boot first then going back and restoring the backup reduces chances of things being buggy after the update.
I recommend that you boot into TWRP, select Backup and make a full backup of everything except for internal storage. Then, when you flash your ROM then let it boot then go back to TWRP, select Restore, then select "advanced restore" then select only the data partition and none of the others(this will restore only the data partition from the backup and not the others), then swipe the slider to start the restore process then reboot the device.
The reason I say to create a full backup of everything is so that you have a working backup to restore if something goes wrong with the update process. It gives you a restore point to go back to so you can troubleshoot what went wrong then try again. And if everything goes right with the update, you won't need to restore the whole backup, you can just do the advanced restore and restore only the data partition and then you should be where you want to be.
I don't know if this will backup and restore your SMS/MMS text messages, you may need to backup/restore those via one of the SMS backup and restore apps in the PlayStore, there are several that can do this.
Thank you again.
Does this backup work for migration between any custom ROMs let's say from LineageOS to PixelExperience or only between versions of the same ROM like from Lineage 18 to 19?
Is it possible to migrate the same set of settings and data from stock ROM with locked bootloader to a custom ROM?
Sincerely

Categories

Resources