Which partitions to backup in latest twrp 3.3? - Moto Z Questions & Answers

dears, please, post which partitions to backup in twrp to get fullly restored system and data?

dimdimdim said:
dears, please, post which partitions to backup in twrp to get fullly restored system and data?
Click to expand...
Click to collapse
The default TWRP settings under "Backup" will give you a nandroid that should allow you to restore when changing roms or a failed "something" install. Generally "Boot," "System," and "Data" are what you should backup. A more comprehensive device backup might include other partitions.

ktmom said:
The default TWRP settings under "Backup" will give you a nandroid that should allow you to restore when changing roms or a failed "something" install. Generally "Boot," "System," and "Data" are what you should backup. A more comprehensive device backup might include other partitions.
Click to expand...
Click to collapse
Okay, thanks! That is pretty basic.
whether there are other important partitions to backup at least once?
And why system image partition is checked for backup by default? Do we need it at all? - at least for me backup even can't be finished with that system image checked. So, I unchecked it to succeed with the backup.

Take a look at team TWRP's What should I back up in TWRP?

ktmom said:
Take a look at team TWRP's What should I back up in TWRP?
Click to expand...
Click to collapse
if that system image backup reason applies to the custom-to-custom restore for moto z? -
I know that for other devices twrp (or custom versions of it) disables dm-verity check by default.
so, the question also is if that applies to moto z too?

Related

questions about using TWRP to update a ROM without losing information

I know it's possible do restore apps and such using Titanium backup but I'm wondering if it's possible to restore using the TWRP backup?
I'm not sure what the different things do that TWRP backs up. System, cache, recovery, boot, data, (and something else). If it's possible to restore apps and such restoring from some of those, which ones?
Thanks
ItsTommyGun said:
I know it's possible do restore apps and such using Titanium backup but I'm wondering if it's possible to restore using the TWRP backup?
I'm not sure what the different things do that TWRP backs up. System, cache, recovery, boot, data, (and something else). If it's possible to restore apps and such restoring from some of those, which ones?
Thanks
Click to expand...
Click to collapse
Make sure you do a nand backup then after you flash a rom go to your nand backup and restore only the data,
This has worked for me
Sent from my EVO using xda premium
ItsTommyGun said:
I know it's possible do restore apps and such using Titanium backup but I'm wondering if it's possible to restore using the TWRP backup?
I'm not sure what the different things do that TWRP backs up. System, cache, recovery, boot, data, (and something else). If it's possible to restore apps and such restoring from some of those, which ones?
Thanks
Click to expand...
Click to collapse
josh030181 said:
Make sure you do a nand backup then after you flash a rom go to your nand backup and restore only the data,
This has worked for me
Sent from my EVO using xda premium
Click to expand...
Click to collapse
Yes, restoring only the data partition will restore both the application .apk files themselves as well as the application's data files (settings, etc). The issue is when restoring data from a different ROM, the uid/gid could mismatch and cause a boot loop. This is one of the main reasons people suggest to wipe the data before loading a new ROM. Sometimes this issue can be fixed using the script, fix_permissions, in the custom recovery.
I think using Titanium Backup might work around this permissions uid/gid issue and might be one of the reasons people chose this over a nandroid restore of just the data partition.
In regards to your other question of what the different partitions "do" which TWRP backs up, here is a rough list off the top of my head:
system (holds all the Android OS files and stock apps)
data (holds all settings and 3rd party apps)
cache (temp partition usually used to store downloaded OTAs before they are loaded)
recovery (stores the custom recovery)
boot (stores the kernel)
Hope that helps fill in some of the missing details!
joeykrim said:
In regards to your other question of what the different partitions "do" which TWRP backs up, here is a rough list off the top of my head:
system (holds all the Android OS files and stock apps)
data (holds all settings and 3rd party apps)
cache (temp partition usually used to store downloaded OTAs before they are loaded)
recovery (stores the custom recovery)
boot (stores the kernel)
Hope that helps fill in some of the missing details!
Click to expand...
Click to collapse
That does help. Thanks!

i need suggestions

i have unlocked bootloader, installed custom recovery by NEXUS prime, rooted my phone
Now i want to know if install the the custom mods of apps ,toggle panels etc >>
q1- how to uninstall these customs mods??
q2- when i do factory reset what will happen do these custom mods changed permanently in my stock ROM???
q3- before installing anything i have been suggested to make recovery of that, now how can i make recovery of toggle panel or icons??
1.: Generally, there is no uninstall method. Workaround: Make a nandroid backup prior to installing and restore that backup for uninstalling.
2.: A Factory reset just wipes your data, cache, dalvik cache partitions. The mods you mean are installed in system partition.
3.: Do a nandroid backup after you installed the mods as well, so you can restore it anytime you want to have it back.
dansou901 said:
1.: Generally, there is no uninstall method. Workaround: Make a nandroid backup prior to installing and restore that backup for uninstalling.
2.: A Factory reset just wipes your data, cache, dalvik cache partitions. The mods you mean are installed in system partition.
3.: Do a nandroid backup after you installed the mods as well, so you can restore it anytime you want to have it back.
Click to expand...
Click to collapse
thanx for replying sir
i got the 1st and 2nd answer but what is nandroid backup and how to do that.
Also i have installed toggle panels how do i roll back to basic?
fake00700 said:
thanx for replying sir
i got the 1st and 2nd answer but what is nandroid backup and how to do that.
Also i have installed toggle panels how do i roll back to basic?
Click to expand...
Click to collapse
A nandroid backup is one of the most important things with custom roms.
In CWM and TWRP there is a backup option that will make a backup of your whole phone. So if you restore it later it will be the exact same as when you made the backup.
GtrCraft said:
A nandroid backup is one of the most important things with custom roms.
In CWM and TWRP there is a backup option that will make a backup of your whole phone. So if you restore it later it will be the exact same as when you made the backup.
Click to expand...
Click to collapse
i got that sir , but i have already installed toggle panels and many things, now what options do i have to roll back because i cant make backup now for the system i already altered
thanx in advance
fake00700 said:
i got that sir , but i have already installed toggle panels and many things, now what options do i have to roll back because i cant make backup now for the system i already altered
thanx in advance
Click to expand...
Click to collapse
Then you need to reflash the whole rom
GtrCraft said:
Then you need to reflash the whole rom
Click to expand...
Click to collapse
to reflash i must needed that original ROM that's the main problem sir

[Q] HOW TO__ EFS Backup

Can someone tell me how to take a reliable efs backup (on Oneplus X), from which one can restore the partitions safely in case some thing goes wrong?
vikram66778 said:
Can someone tell me how to take a reliable efs backup (on Oneplus X), from which one can restore the partitions safely in case some thing goes wrong?
Click to expand...
Click to collapse
you need twrp recovery(or anyother recovery) for that. Go to backup option, select EFS and swipe to backup.
vikram66778 said:
Can someone tell me how to take a reliable efs backup (on Oneplus X), from which one can restore the partitions safely in case some thing goes wrong?
Click to expand...
Click to collapse
You can use TWRP like mentioned before. Or if you first root your device you can use an app like Partitions Backup & Restore in the playstore . And select all things that start with modem. I can also recommend to make a full system backup before flashing any other rom including the persistent partition. Last but not least please put those backups on a computer or on a cloud device. Because the microsd or the internal storage can always be deleted by a fault.

How to do a NAND Stock backup??

Hi! I have a Leeco Le Max 2 X829, and as there arenĀ“t any official stock ROM I wanna save a 100% stock Backup of my X829 with 16S USA ROM. I mean ROM + Recovery, just as it is unpacked(without downloaded Apps and my data).
Could I make it booting in temporaly TWRP with fastboot and doing NAND backup choosing:
- Boot
- Recovery
- System
- Data...
Any other option? All options that TWRP show? thanks!
Yes. EFS too
Turn on phone with power+volume keys.
Fastboot boot TWRP.img
unrafa said:
Yes. EFS too
Turn on phone with power+volume keys.
Fastboot boot TWRP.img
Click to expand...
Click to collapse
Then must I choose all options in TWRP backup?
One more thing... I Will be in a booted Recovery, so original Recovery is going to be still, then the one saved in the backup Will be the booted one ore the stock one? Thanks!
If you just want a factory setup without your apps and data I would say just backup the system image in twrp, backing up data definitely uncheck .
Only system is bit to less...
I would keep the us version.
eUI is not that bad and until we all get the update to android 7 ... it s probably the best and most stable rom running.
Why change it, when the other opportunities are leading to an less smooth running phone ?
To me all the cooked roms have disadvantages.
I need to have a fully working phone/ camera /fingerprint sensor...
without option to go back to the US rom I wouldn't change a thing!
castuis said:
If you just want a factory setup without your apps and data I would say just backup the system image in twrp, backing up data definitely uncheck .
Click to expand...
Click to collapse
Mmm, then all options least Data? Thanks!
Don't listen to them. Back up everything. Who cares about a few space? Besides data is probably empty or with a few stock tools. Just backup all for your complete image. EFS contains IMEI and other stuff. It is important to have it. You can Back up everything, and then move it to a computer or somewhere else
It will have stock recovery backed up to TWRP and it's better if you backup as image, that way it saves the partition structures too.
Only first backup as image,to have perfect copy, the next backups you do is better do them as normal backups compressed (not image).
unrafa said:
Don't listen to them. Back up everything. Who cares about a few space? Besides data is probably empty or with a few stock tools. Just backup all for your complete image. EFS contains IMEI and other stuff. It is important to have it. You can Back up everything, and then move it to a computer or somewhere else
It will have stock recovery backed up to TWRP and it's better if you backup as image, that way it saves the partition structures too.
Only first backup as image,to have perfect copy, the next backups you do is better do them as normal backups compressed (not image).
Click to expand...
Click to collapse
Hi, I have done and it made a lot of .win archives, is that right? thanks
Yes those are md5 or Sha sums, drag the whole TWRP folder to computer and you are good to go, don't change any name of any folder inside TWRP folder or TWRP will never detect that backup.
I don't know why but once I copied all except 73shf38 folder, and it turned out that folder with those numbers matter, and I couldn't restore without the exact name

How do I actually make a functional TWRP backup?

I have never managed to make a TWRP backup that is actually bootable... No matter what combination of partitions I pick, when I restore the backup it never boots. Am I just dumb or is that a Poco specific issue?
Arey you sure you backup, system image and vendor image and not system and vendor
dustojnikhummer said:
I have never managed to make a TWRP backup that is actually bootable... No matter what combination of partitions I pick, when I restore the backup it never boots. Am I just dumb or is that a Poco specific issue?
Click to expand...
Click to collapse
Thank you for bringing this up..... Never managed to restore successfully... On my other devices this is never a issue... Searched in forums but couldn't find any help.
mohitds said:
Arey you sure you backup, system image and vendor image and not system and vendor
Click to expand...
Click to collapse
Ok now it worked... Thank you....
mohitds said:
Arey you sure you backup, system image and vendor image and not system and vendor
Click to expand...
Click to collapse
So I should NOT restore System and Vendor partitions? Do I need to flash the ROM first and then restore on top of that? Should the restore look like this? https://i.imgur.com/QW8NmzG.png
I have the same problem.
I do not know what to select to make a backup, in my other phones I selected everything and made a correct backup, but if I select now a whole ROM of 5GB weighs 12GB
Can someone tell me that I should select to make a backup of the installed ROM with my APPS, regards
anthonyclass said:
I have the same problem.
I do not know what to select to make a backup, in my other phones I selected everything and made a correct backup, but if I select now a whole ROM of 5GB weighs 12GB
Can someone tell me that I should select to make a backup of the installed ROM with my APPS, regards
Click to expand...
Click to collapse
My screenshot above worked and restored just fine. Just make sure you disable any lockscreen before backing up!

Categories

Resources