Backup and Restore with twrp 310 - Xperia Z5 Q&A, Help & Troubleshooting

So, everytime I restore my backup with twrp, I always get some errors after restore.
Sometimes systemUI error, sometimes restore doesnt run successfully, etc.
I just want to know, is there actually a proper way to backup and restaore using twrp (like wiping things first, etc) or just directly backup and restore?
Thanks!

I never managed to get backup done and restored, never on this phone, no matter what twrp i use

Related

[Q] Flashed my Backup ROM and my phone bricked?

Hi, just recently I flashed my Backup ROM to retrieve contacts that I have lost. Before, I had only flashed the CleanROM and a theme from Wasabiwa3. But because my contacts were lost, I decided to start over and flash my Backup ROM. Using TWRP, I did. However, when I did, my phone hard bricked. It would not turn on, but would rather vibrate when I attempted. I have pulled the battery multiple times, plugged it into the computer, everything. Wasabiwa3 was able to get me out of my bricked phone. However, it seems as though my Backup is dead. I don't understand how restoring my Backup would cause my phone to brick. Why did that happen? Is there anything I can do to restore my Backup ROM/contacts?
Your backup is a ROM not a phone so how can a backup be dead? Also you didn't mention the name of the backup ROM. Nor did you say if you did what you supposed to do when flashing which wipe cache, dalvik and factory reset which you need to when switching from aosp and Touchwiz.
Make sure the backup contains a system partition back up within it, next wipe the system partition of your current rom and retry restoring from the backup. Or if you have a stock nandroid, use the advanced restore option to restore the system partition.
Surge1223

[Q] Nandroid restore help

So earlier today my phone stopped getting service . After trial and error i ended up in a boot loop so i nandroid backped and factory reset. I reflashed PAC man ROM and all seemed good, so i went to nandroid advanced restore and tried to only restore data to try and not boot loop again.this ddidn't work so i wiped and flashed PAC man again. This time however i restored the boot and system and my phone works fine. I'm unsure of what restoring sd-ext will do. So my question is, how to i restore my data now from nandroid without getting boot looped? All i really need off of it is my texts. (Apps are on titanium)
shewantsmyduck said:
So earlier today my phone stopped getting service . After trial and error i ended up in a boot loop so i nandroid backped and factory reset. I reflashed PAC man ROM and all seemed good, so i went to nandroid advanced restore and tried to only restore data to try and not boot loop again.this ddidn't work so i wiped and flashed PAC man again. This time however i restored the boot and system and my phone works fine. I'm unsure of what restoring sd-ext will do. So my question is, how to i restore my data now from nandroid without getting boot looped? All i really need off of it is my texts. (Apps are on titanium)
Click to expand...
Click to collapse
I think your best option is to download nandroid manager from the playstore. That will allow you to pull your data from your backup and restore it from the app, it's similar to the way titanium backup restores data.
I think the issue you're having has to do with restoring data from a 4.2.2 rom. Most recoveries have issues with restoring data because 4.2.2 is setup for multiuser and the data locations are different. I think when you're restoring data only, it's not actually writing your data correctly and it's soft bricking your phone.
Sent from my SCH-I535 using Tapatalk 2
I got nandroid manager and it worked perfectly! Thanks a million!Exactly what I needed

TWRP backup and restore not working

Hi all,
I have A6000 with OOS 9.0.5. I installed magisk and TWRP with this guide. I did a full backup, however I cannot restore it. I get error 255 on tarExtractFork(). I use official TWRP 3.3.0. After failed restore I can still boot to (now freshly wiped after attempted restore) system. Even backups of this clean system cannot be restored.
For the record, I don't have a second profile, no "999" user id, I didn't change slots, I removed screen lock before making backup. I still have this problem even if I backup just data, with all other options unticked.
Any help? I come from a device, which didn't have any problems with backup/restore so this is a bummer for me. But I'm sure that users of OP6 can do backups and restores.
Thanks!
For anyone that also has the same problem:
This helped me. I have a feeling that flashing just data through fastboot could be enough, but I didn't have an occasion to check it, as even subsequent restores worked.
I used this to flash device in fastboot mode.

Problem restoring OOS nandroid backup after flashing a custom rom

I'm testing various custom rom so often I want to go back from the custom rom to OOS. I have a twrp backup of my OOS, the problem is that i cannot restore it properly. If, from the custom rom, I reboot to recovery and restore the backup, the phone bootloops. I've also tried to format data and rebooting to recovery before restoring the backup, but this doesn't work either.
The only way I've found to properly restore the backup is to completely reflash OOS via MSM tool (or fastboot), but this takes really a lot of time, because apart from the MSM tool installation itself, it relocks the bootloader so I have to wait for the system to boot up, toggle oem unlock, unlock again the bootloader, wait for the wipe and for another system boot up, boot in twrp using fastboot command, transfer 13GB of data to the phone and then FINALLY restore the backup.
Is there an easier, and most important, faster, way to restore the backup?
https://forum.xda-developers.com/on...nt/recovery-unofficial-twrp-recovery-t3932943
On this link scroll down and read the "tips", if you have backed up rom the way it says you shouldn't have any problems in restoring, hope this helps, cheers

TWRP Items to Backup?

There seem to be more options to backup in TWRP than my past phone.
To create a TWRP backup that will effectively restore phone if something happens what backup options should I select?
In past I just chose Boot, System and Data
boltjuice said:
There seem to be more options to backup in TWRP than my past phone.
To create a TWRP backup that will effectively restore phone if something happens what backup options should I select?
In past I just chose Boot, System and Data
Click to expand...
Click to collapse
Always back up EFS abd persist.

Categories

Resources