What's up with the TWRP backups restore - Google Pixel 2 Questions & Answers

Hi guys,
I've been using TWRP on nearly all my devices and never had problems doing nandroid backups and restores.
Well today, I've been to a near-hard brick and barely managed to get back to boot after I attempted to restore a backup.
My steps:
1. Backup all partitions available
2. Restore those
After that I end up in the bootloader and couldn't boot into anything. Anyway, I solved it but want to know:
Did I do something wrong? What would be the correct steps and/or partitions to backup and restore?
Thanks

harisyks said:
Hi guys,
I've been using TWRP on nearly all my devices and never had problems doing nandroid backups and restores.
Well today, I've been to a near-hard brick and barely managed to get back to boot after I attempted to restore a backup.
My steps:
1. Backup all partitions available
2. Restore those
After that I end up in the bootloader and couldn't boot into anything. Anyway, I solved it but want to know:
Did I do something wrong? What would be the correct steps and/or partitions to backup and restore?
Thanks
Click to expand...
Click to collapse
I did the same thing and ended up in a worse problem. It would not even go into recovery or be recognized by the computer. Gave me a near heart attack and took several hours and some luck to read the right article to recover. I think one has to only save and restore system, vendor, boot and data. One article on TWRP website has recommended that one should only save system image and vendor image and restore them. What would happen to the data partition then? I am not willing to try again unless someone can give a step by step description for fear of hard bricking my Pixel 2.

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

Honor 6x messed up, need a twrp backup please! BLN-L21

Hello!
The Ota Update messed up my unlocked and rooted 6x It tried to flash itselfe with TWRP
The Phone doesn`t boot anymore, but TWRP is still working.:good: sadly my Internal Memory is corrupted: I can see the Name of my Backup, but it is "unreadable". i tried to put it on my PC... i ended up with an empty folder. Oh and yeah i didn`t backup my backup, i have the Phone just one Week now. so before i start fastboot flashing, can someone of you give me a TWRP Backup? Thank you!
To do so: Go to TWRP make a Backup. Now wipe Data,Cache, Dalvick and internal storage. Make another Backup. Please give me this "clean" Backup. Then you restore your first Backup and anything is back to normal
*Edit*
Ok my Phone is Back to Life
I used the Unbrick in the Honor multitool
https://www.gizdev.com/tool-honor-6-6-plus-multi-tool-for-root-recovery-unbrick-device/

TWRP Restore Data and/or System = Bootloop

Something happened to my phone and I succeeded to flash it all new with Android 9.0 which I was on.
But when I try restore twrp backup (data and/or System) I always end up with bootloop.
Tried to reflash Magisk too but doesn't help.
Bootloops right back to TWRP after 2 minutes.
Anyone have any ideas on how I can get my data back from the twrp backup?
Tried to official twrp and bmu_sparks.
Thanks.
timebandi said:
Something happened to my phone and I succeeded to flash it all new with Android 9.0 which I was on.
But when I try restore twrp backup (data and/or System) I always end up with bootloop.
Tried to reflash Magisk too but doesn't help.
Bootloops right back to TWRP after 2 minutes.
Anyone have any ideas on how I can get my data back from the twrp backup?
Tried to official twrp and bmu_sparks.
Thanks.
Click to expand...
Click to collapse
Same thing happened to me yesterday. If you still have access to TWRP, enter it and wipe everything and install newest oxygen pie zip. TWRP is broken for our devie and backups cannot be trusted I'm afraid. Wish I knew this before.
timebandi said:
Something happened to my phone and I succeeded to flash it all new with Android 9.0 which I was on.
But when I try restore twrp backup (data and/or System) I always end up with bootloop.
Tried to reflash Magisk too but doesn't help.
Bootloops right back to TWRP after 2 minutes.
Anyone have any ideas on how I can get my data back from the twrp backup?
Tried to official twrp and bmu_sparks.
Thanks.
Click to expand...
Click to collapse
After restore is complete do not reboot, try the following, it might work,
1-Do not do any wipe,
2-Flash exactly the same ROM which is backed up,
3-Flash twrp,
4-Reboot twrp.
5-Flash Magisk,
8-Reboot system,
In case you are trying to go back from pie to oreo you have to flash roll back rom.
All the best, hope this helps., cheers.
Have tried all that with no luck. But if I do a Factory reset any time after the data restore the phone works but then I dont have any data
This sucks big time.
Have installed all from scratch. Luckly fastboot was working all the time
Some data I could restore with Titanium Backup but not so much I needed/wanted.
Too bad we cant rely on TWRP and its backup/restore feature.
timebandi said:
Have tried all that with no luck. But if I do a Factory reset any time after the data restore the phone works but then I dont have any data
This sucks big time.
Have installed all from scratch. Luckly fastboot was working all the time
Some data I could restore with Titanium Backup but not so much I needed/wanted.
Too bad we cant rely on TWRP and its backup/restore feature.
Click to expand...
Click to collapse
Its good only in the case if you are decrypted, since the time I'm decrypted no such problems, if you want you can try it,
https://forum.xda-developers.com/oneplus-6/how-to/tutorial-decrypt-flash-rom-pie-oreo-roms-t3838643
timebandi said:
Something happened to my phone and I succeeded to flash it all new with Android 9.0 which I was on.
But when I try restore twrp backup (data and/or System) I always end up with bootloop.
Tried to reflash Magisk too but doesn't help.
Bootloops right back to TWRP after 2 minutes.
Anyone have any ideas on how I can get my data back from the twrp backup?
Tried to official twrp and bmu_sparks.
Thanks.
Click to expand...
Click to collapse
Using TWRP backups on this phone is fun but not impossible. This process works for me.
1. Store backups on something other than the phone (I use an OTG card reader and 128 GB SD card)
2. Use a Fastboot Rom of THE EXACT SAME ROM as the backup and let it do it's thing flashing the phone (it will also wipe the phone in the process, which is why you need to store the backup elsewhere)
3. Boot up the phone and go through the whole process of setting it up. Don't worry about installing all your apps.
4. Install TWRP and Magisk if you used it on the backup.
5. Now restore your TWRP backups - just restore system, data, and boot.
I have done this at least 100 times and it has always worked.
I presume the fastboot rom is not only gonna wipe the internal drive but will also lock the bootloader, thats a lot of hassle to do every time you want to restore, but thanks for your suggestions, cheers.
vtec303 said:
I presume the fastboot rom is not only gonna wipe the internal drive but will also lock the bootloader, thats a lot of hassle to do every time you want to restore, but thanks for your suggestions, cheers.
Click to expand...
Click to collapse
The fastboot rom wipes the internal drive but DOES NOT lock the bootloader. Besides, I haven't seen or heard of another way to use TWRP backups without decrypting the phone, and I have security concerns with decrypting the phone.
tabletalker7 said:
The fastboot rom wipes the internal drive but DOES NOT lock the bootloader. Besides, I haven't seen or heard of another way to use TWRP backups without decrypting the phone, and I have security concerns with decrypting the phone.
Click to expand...
Click to collapse
ohh ok, I thought it locks it but thanks for the info, yes thats why I decrypted my device, lets hope in this thread we could find a easy way out to restore sucessfully while encrypted, have you tried just backing up boot, system and data and than restoring it ? cheers
vtec303 said:
ohh ok, I thought it locks it but thanks for the info, yes thats why I decrypted my device, lets hope in this thread we could find a easy way out to restore sucessfully while encrypted, have you tried just backing up boot, system and data and than restoring it ? cheers
Click to expand...
Click to collapse
Yes I tried. Without the fastboot rom to reset everything that stupid encryption bites you in the butt.
Yep. I just restored an entire nandbackup, and now my phone boots to a quailcomm dump screen only, can't fastboot into recovery or anything. Guess my new plans tonight involve fixing this thing.
I also got a bootloop after restoring 8.1 android with twrp 3.3.1 by nemo nemo on my leagoo xrover.
factory reset and wiping everything exept microsd card didnt help...
thanks for some help
vtec303 said:
After restore is complete do not reboot, try the following, it might work,
1-Do not do any wipe,
2-Flash exactly the same ROM which is backed up,
3-Flash twrp,
4-Reboot twrp.
5-Flash Magisk,
8-Reboot system,
In case you are trying to go back from pie to oreo you have to flash roll back rom.
All the best, hope this helps., cheers.
Click to expand...
Click to collapse
Thanks a lot, man. it worked for me

Need Help to restore backup with TWRP

Can anybody help?
My HTC U11 still run on Nougat.
Yesterday I want to update with the newer version of Nougat (Not Oreo)
I already make a data backup with TWRP, big backup 22Gb.
Then I update the new stock Rom from PC, it had no problem.
Go to download mode, and then install TWRP again with ADB from PC.
Go to TWRP Recovery, it still works.
The last thing I do is to try to restore the 22Gb data back to my phone.
And it always get error on 9% with "extractTarFork() process ended with ERROR: 255"
I already change with difference TWRP from 3.1.1.0 to 3.2.3.0, still the same.
Restore to previous version of Nougat with TWRP (system, system image, boot image, recovery). Try to restore backup data again with no luck.
Try to check MD5 with the backup data, and it said matched, no corrupt.
Already try searching in the web, but with no solution too.
Do anyone ever have the same problem and solved it?
A San said:
Can anybody help?
My HTC U11 still run on Nougat.
Yesterday I want to update with the newer version of Nougat (Not Oreo)
I already make a data backup with TWRP, big backup 22Gb.
Then I update the new stock Rom from PC, it had no problem.
Go to download mode, and then install TWRP again with ADB from PC.
Go to TWRP Recovery, it still works.
The last thing I do is to try to restore the 22Gb data back to my phone.
And it always get error on 9% with "extractTarFork() process ended with ERROR: 255"
I already change with difference TWRP from 3.1.1.0 to 3.2.3.0, still the same.
Restore to previous version of Nougat with TWRP (system, system image, boot image, recovery). Try to restore backup data again with no luck.
Try to check MD5 with the backup data, and it said matched, no corrupt.
Already try searching in the web, but with no solution too.
Do anyone ever have the same problem and solved it?
Click to expand...
Click to collapse
Did u try a format in twrp before installing the backup? Just thought
No, not format anything. Afraid did something would make the phone brick.
A San said:
Can anybody help?
My HTC U11 still run on Nougat.
Yesterday I want to update with the newer version of Nougat (Not Oreo)
I already make a data backup with TWRP, big backup 22Gb.
Then I update the new stock Rom from PC, it had no problem.
Go to download mode, and then install TWRP again with ADB from PC.
Go to TWRP Recovery, it still works.
The last thing I do is to try to restore the 22Gb data back to my phone.
And it always get error on 9% with "extractTarFork() process ended with ERROR: 255"
I already change with difference TWRP from 3.1.1.0 to 3.2.3.0, still the same.
Restore to previous version of Nougat with TWRP (system, system image, boot image, recovery). Try to restore backup data again with no luck.
Try to check MD5 with the backup data, and it said matched, no corrupt.
Already try searching in the web, but with no solution too.
Do anyone ever have the same problem and solved it?
Click to expand...
Click to collapse
Try to restore os without data , restart system, and if it works restore data
fabrizio b92 said:
Try to restore os without data , restart system, and if it works restore data
Click to expand...
Click to collapse
I have 2 backup. One is for system and one is data. I can restore system feom TWRP recovery, but can't restore data
After restore system,reboot to twrp and restore data
I had this problem and it took me two days to resolve it. I had a good backup and I know it was good because I had used it several times and it worked. But then after doing some system installs I got the error 255 when I tried to restore it. I tried several things to fix it and nothing worked and I really did not want to lose my backup. What did work for me was to use TWRP wipe function to FORMAT the phone. Wiping or factory reset did not work. I lost the contents of my internal SD card but I was able to transfer most to my external SD card. You could also connect the phone with a cable to a computer and use the pull command in ADB to backup the contents f the internal SD card. Given the choice between losing the SD card and the data files I come to lose some of the SD card. Anyway, a FORMAT worked when nothing else did. I read that this error is caused by a lack of space. When I checked the log it seemed that the restore was failing with a particular file which misled me to thinking I had to remove the corrupt file, but since after the format I was able to restore without any problem, it would seem that there was no corrupt data. Hope this helps someone.

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.

Categories

Resources