Unsuccessful Encryption after Restoring from Nandroid Backup - OnePlus 5T Questions & Answers

I am getting an error saying Unsuccessful Encryption after restoring from a Nandroid Backup of Stock OOS 4.7.6. I was on Omnirom 8.1.
Is there any way to get past this?

Install first Stock OOS 4.7.6 and boot it, and after try to restore Nandroid Backup. Not Format Data after boot 4.7.6 stock

Thanks, Although I have updated to the latest version and copied the backup I had on my PC. I wonder why this happened since the Nandroid backups make an image of the whole partition.

Related

Nandroid Backup did not restore my backup but restored a factory image

I'm running stock android (6.0.1), encrypted (without a pin), with root, TWRP 3.0.2-0 and Xposed. I recently did a Nandroid backup (Boot/System/Data/EFS) successfully. Until I tried to restore the the Nandroid Backup. After I successfully restored the Backup the phone rebooted and started. But is started like a Factory Image. It was a fresh install. All my apps and settings where gone. What is the problem here?

Nandroid restore breaks sim

I tried restoring nandroid backups that were created in both twrp 3.0.2-0 and 3.0.2-1 using both twrp 3.0.2-0 and 3.0.2-1. One backup is OOS 3.2.6 and one 3.2.7. I wipe, then restore everything including EFS. No SIM detected. Tried both slots. Rebooted multiple times. IMEI, baseband all intact.
What's going on? The only way I can get my SIM to work is by flashing 3.2.6 or 3.2.7 full zip after restoring. Updating to official cm14.1 from 3.2.7 also breaks SIM. Anyone know why?

Bootloop after restoring a nandroid backup

I made a backup of my 5x when it was running rooted/xposed 6.0.1 but then decided to update to 7.1.1 to try out the new features. But now I really miss a lot of xposed modules so I decided that I want to restore my 6.0.1 backup that I made a couple of weeks ago. So I flashed the 6.0.1 factory image from Google's developer website and was able to successfully boot into Marshmallow again. However after installing TWRP I tried restoring the backup (through USB OTG) after wiping system and cache and a doing factory reset but it pauses on "restoring system image" for a brief moment then proceeds to reboot by itself despite that it's only 27% complete. The reboot however does not go to completion and so the phone is stuck in a bootloop. I'm really not sure where the problem is here. Is it TWRP? Or the backup file? What can I do?
Which version of TWRP have you used? By any chance the backup also contained EFS?
marioemp2k7 said:
Which version of TWRP have you used? By any chance the backup also contained EFS?
Click to expand...
Click to collapse
I used version 3.0.2-2.
And isn't EFS supposed to be backed up anyway? I just checked the backup folder and it contains 4 files that begin with "efs". Should I delete those and try again?
Format everything from TWRP except internal storage. Restore your backup without EFS. Next time you want to come back to another version just be sure that you also backup the vendor or you flash the vendor corresponding to the version you're restoring beforehand.
marioemp2k7 said:
Format everything from TWRP except internal storage. Restore your backup without EFS. Next time you want to come back to another version just be sure that you also backup the vendor or you flash the vendor corresponding to the version you're restoring beforehand.
Click to expand...
Click to collapse
I made the backup while I was running 6.0.1 and I flashed the 6.0.1 factory image so they both should have the same vendor image.
I also tried wiping everything except for internal storage and I unchecked "EFS" when restoring the backup but the same problem still persists, the phone automatically reboots itself before the restoring is complete and gets stuck in a bootloop. I'm not sure where the problem is at this point. I guess I'll just have to start from scratch again

Won't boot after restoring nandroid backup

Hello,
so I recently updated to 9.0.6 but I had some weird issues with apps hanging so I thought I would just factory reset. Everything went fine, then I remembered I forgot to backup certain apps so I thought I would just bring my nandroid backup that I made prior to updating to 9.0.6. The nandroid backup is on 9.0.4 and after I restored it through bluspark twrp, it just boots right back to twrp.
I tried the restoring process one more time and it does say at the very end failed to mount /system and it needs cleaning.
How can I fix this?
Update:
I finally got everything done. I wiped everything, installed 9.0.4, then restored only the data partition of my nandroid backup. then I was able to backup the few apps I missed.
Wiped everything again, installed fresh new 9.0.6, restore app backups
ok so I've managed to fix it by wiping the phone and installed a full rom.
However what I don't understand is why my nandroid backup isn't working? any thoughts?

Backup

When you flash a rom and encounter a major problem..ex: bootloop, brick, apocalypse. Do you flash your backup in twrp? What should I backup in twrp?
GSI Roms...flash, no flash, or keep looking?
nevermind..i just backed up to main and rebooted phone, transferred backup to pc.

Categories

Resources