Restore crashed between 75 and 80% every time - OnePlus 3 Questions & Answers

Hi,
i'm on LineageOS 15.1 with TWRP 3.2.3 and updated to TWRP 3.3.1 and created a nandroid backup. then i tried to restore the backup to be sure all is ok, but every time it crashed between 75 and 80%. the last text in the log i could read was that formating system witk mke2fs was successful. then something changed in the log file and the display is black. the led glows white. i can reboot using power and vol- but there isn't an starting os. i can also boot into twrp but when i try to restore the backup again it crashs again at the same point.
is there a know bug? what is the next point when restoring a backup after formating system partition?

Related

Error while restoring /system

Checking MD5 sums...
Erasing boot before restore...
Restoring boot image...
Restoring system...
Error while restoring /system!
I did nothing but boot into recovery and this is all that happens when trying to recover my cwm backups. The version of CWM should not have changed and I've flashed these files before. I accidentally started another backup and shut the phone off while it was plugged in through usb (debugging might have been enabled but I don't use adb commands or have a shell).
I can restore my rom but I want to restore my backup.
How can I know the version of the backups and see if they are different from the cwm recovery version? Also in the past I have flashed and backup through rom manager, but would my rom manager boot into cwm recovery load a different cwm recovery (it shouldn't)?
I also tried this...reload the rom but restore each partition except for system, but it fails on data too then.
At a loss here. I love my backup. I was just a system camera apk away from perfection
Please help
Solution: 5 hours of playing around and the solution is that you need to make sure the cwm version is always the same...through rom manager.

Oneplus 3 can't boot into OxygenOS after deleting file

Hey,
I wanted to create an nandroid backup in TWRP and got error 255 in the process.
I got the log of the failed update:
cloud.directupload.net/dfZq
So i searched for a solution, and the internet said that i should remove the file wich causes backup to fail. The logs said it was '/system/app/AndroidPay'
This is a file, not a folder.
So i removed the file, keeping an backup of it, booted into TWRP and the backup still failed.
To my surprise the boot into OxygenOS fails now. It shows the Oneplus Powerd by Android logo, turns black and reboots into twrp. Recovery and Bootloader seems to work fine.
So I connected my device with my computer and tried to get the file back to '/system/app' using adb.
I tried 'adb push AndroidPay /system/app' and it seems to be transferred succesfully, however the boot into oxygenOS is still not working.
I think it can be fixed by formatting the device and flash OxygenOS new to it, but I really don't wanna do that.
General Information:
Oneplus 3
OxygenOS 3.3.4
Rooted
Xposed Installed
No custom kernal
TWRP 3.0.2-0
File wich may be broken: cloud.directupload.net/dfZs
Is there an easyer way than resetting my whole phone to get it to work ?
I'm sorry for language mistakes or maybe leaving relevant information.
Thank you for help
I've had same problem today, my solution is restore "System" part (only system) from old backup, it saved my data and OP3 works fine after that
Wipe system, then flash OOS and it should work fine. If it doesn't Im afraid you need to do a full clean install since it isn't system related then.

TWRP failed to restore a nandroid backup

I have a modified TWRP .28 and I have tried to restore a backup. It succeeded, but with a few errors.
The restoration reached 100%, but then it froze. I was unable to navigate the recovery, so powered of my device by pressing the power button. I figured that since it said 100%, the restoration process would be successful, and TWRP just froze. But once I booted up (because boot was successful, no bootloops), I saw that everything was fine, BUT I DIDN'T HAVE MY APPS, DATA, AND SETTINGS CONFIGURATION.
At least my backup wasn't faulty faulty... But if a backup messes up, you're screwed. If anybody knows what happen, please help.

TPRW Backups does not boot with Nougat 32.3.A.2.33 ROOTED

I have a problem with my TWRP backups created for 32.3.A.2.33 version. When I restore them, the phone restarts once and in the next boot int goes into recovery directly.
I have flashed:
E6853_32.3.A.2.33_1299-1511_R3D.ftf
Boot and recovery from:
https://forum.xda-developers.com/z5...ting-xperia-z5-z5p-variants-drm-keys-t3437902
And works perfectly, backups creates correctly from recovery, but when I try to recover them doesn't work.
The problem seems to be in system partition , data partition recover with no problems.
Any suggestions?
I have the same problem.
srg84 said:
The problem seems to be in system partition , data partition recover with no problems.
Any suggestions?
Click to expand...
Click to collapse
Is dm-verity turned off in kernel? If not this is the reason why. You need to backup system image instead of backup files from system partition like usually in TWRP.
Can you try to make backup and restore with this recovery?
flash with "fastboot flash recovery lineage_twrp_recovery.img"
To boot into recovery power off phone, wait 5-7 sec then press power+vol_down until it vibrate.
Select "System Image" to system partition backup.

Using TWRP recovery to repair LineageOS System

Hello,
i have run into a problem with my BQ Aquaris M5 (piccolo) and would be gratefull for someone to help.
What happened:
Yesterday plugged phone in over night for charging and today I tried to unlock it (Code). Every time I entered the code the phone did not unlock. I just saw the unlock screen again and again. The phone uses an unofficial microG rom, so instabilities were expected. I decided a restart might be needed, so I restartet it normally. On boot the phone got stuck on the LineageOS startup until it put me into TWRP after 30s.
What I tried:
I have a TWRP backup from beginning of this year and made one in TWRP after the error had happened. Just restoring from the latest backup yields to either TWRP complaining "can`t mount system" or working fine but running into the boot problem again.
Restoring from the older backup always leads to a "can`t mount system" error.
What I would like to have:
A functioning phone with the app data from todays TWRP backup.
I am only an educated beginner when it comes to custom ROMs, so any help regarding specific order of operations or possible solutions would be very appreciated.
Other info:
LineageOS 15.1 microG unofficial
TWRP 3.4.0
rooted through magisk
Z4_ said:
Hello,
i have run into a problem with my BQ Aquaris M5 (piccolo) and would be gratefull for someone to help.
What happened:
Yesterday plugged phone in over night for charging and today I tried to unlock it (Code). Every time I entered the code the phone did not unlock. I just saw the unlock screen again and again. The phone uses an unofficial microG rom, so instabilities were expected. I decided a restart might be needed, so I restartet it normally. On boot the phone got stuck on the LineageOS startup until it put me into TWRP after 30s.
What I tried:
I have a TWRP backup from beginning of this year and made one in TWRP after the error had happened. Just restoring from the latest backup yields to either TWRP complaining "can`t mount system" or working fine but running into the boot problem again.
Restoring from the older backup always leads to a "can`t mount system" error.
What I would like to have:
A functioning phone with the app data from todays TWRP backup.
I am only an educated beginner when it comes to custom ROMs, so any help regarding specific order of operations or possible solutions would be very appreciated.
Other info:
LineageOS 15.1 microG unofficial
TWRP 3.4.0
rooted through magisk
Click to expand...
Click to collapse
Instabilities expected. But not because of microG. I guess, it's a hardware or magisk issue.
I would try to restore newest backup, try what files i see on computer through usb cable.
I would wipe system and re-install the exactly same lineageOS version. That reverts magisk installation and every other system modification without deleting user data. We caches and restart.
kurtn said:
Instabilities expected. But not because of microG. I guess, it's a hardware or magisk issue.
I would try to restore newest backup, try what files i see on computer through usb cable.
I would wipe system and re-install the exactly same lineageOS version. That reverts magisk installation and every other system modification without deleting user data. We caches and restart.
Click to expand...
Click to collapse
Wiping system and reinstalling the original system .zip does not work. It leads to Error 7 which seems to be caused by 'can´t mount system'.
Restoring to an even older backup before I installed anything does not work either.
If I try to run "repair filesystem" on the system partition I get error 4 in TWRP. (No Idea what that means)
I can normally access the phones sd and internal storage through usb.
Z4_ said:
Wiping system and reinstalling the original system .zip does not work. It leads to Error 7 which seems to be caused by 'can´t mount system'.
Restoring to an even older backup before I installed anything does not work either.
If I try to run "repair filesystem" on the system partition I get error 4 in TWRP. (No Idea what that means)
I can normally access the phones sd and internal storage through usb.
Click to expand...
Click to collapse
There is twrp 3.4 out now. Fixed many android 10 bugs
kurtn said:
There is twrp 3.4 out now. Fixed many android 10 bugs
Click to expand...
Click to collapse
As you might have read in my original post: I was on android 8 and using twrp 3.4. It still did not work.
I have now switched to an unofficial CrDroid ROM with Android 9, as any attempts to restore my backups or install my used ROM lead to errors. This makes the restore of app data difficult, but my smartphone is back to action. I still do not know what caused the errors.

Categories

Resources