Bootloop + Encrypted Data - OnePlus 6 Questions & Answers

So I wanted to try out LOS 16. I made a full TB backup and a Nandroid backup on TWRP. I flashed Open Beta 2 for the firmware and booted. Everything was fine, but OB 2 is not my thing so I went like planned and booted into TWRP to wipe and flash LOS. This was when it went downhill: TWRP no longer prompts me for a password and all my files are encrypted.
Even so I flashed LOS and it boot just fine but all my files are no longer there.
I will try to avoid a full wipe down. It's painful af, and since i got the 6 it's the second or third time that I'm at this point. I don't get it.
At this point all i want is to decrypt my data and restore my nandroid. Does anyone know how to achieve this?
Thanks in advance

quimbexa said:
So I wanted to try out LOS 16. I made a full TB backup and a Nandroid backup on TWRP. I flashed Open Beta 2 for the firmware and booted. Everything was fine, but OB 2 is not my thing so I went like planned and booted into TWRP to wipe and flash LOS. This was when it went downhill: TWRP no longer prompts me for a password and all my files are encrypted.
Even so I flashed LOS and it boot just fine but all my files are no longer there.
I will try to avoid a full wipe down. It's painful af, and since i got the 6 it's the second or third time that I'm at this point. I don't get it.
At this point all i want is to decrypt my data and restore my nandroid. Does anyone know how to achieve this?
Thanks in advance
Click to expand...
Click to collapse
if all you did was temp boot twrp on pie, temp boot twrp can not decrypt data. You have to flash twrp to phone then reboot to twrp. Second, twrp can not restore backups of stock roms. Third, to go back to any oreo rom will require a format data to fix.

MrSteelX said:
if all you did was temp boot twrp on pie, temp boot twrp can not decrypt data. You have to flash twrp to phone then reboot to twrp. Second, twrp can not restore backups of stock roms. Third, to go back to any oreo rom will require a format data to fix.
Click to expand...
Click to collapse
I'm pretty sure temp TWRP can decrypt data. I do it all the time. Regarding the restore, I wouldn't know, haven't tried yet but I think it would work, had I been able to decrypt it. Whatever. Full wipe it is.

quimbexa said:
I'm pretty sure temp TWRP can decrypt data. I do it all the time. Regarding the restore, I wouldn't know, haven't tried yet but I think it would work, had I been able to decrypt it. Whatever. Full wipe it is.
Click to expand...
Click to collapse
I know for 100% that it can't on temp boot for pie. it is a learning experience on this phone.

MrSteelX said:
I know for 100% that it can't on temp boot for pie.
Click to expand...
Click to collapse
I'm on Oreo mate.

quimbexa said:
I'm on Oreo mate.
Click to expand...
Click to collapse
after reading your first post, you are on pie.

MrSteelX said:
after reading your first post, you are on pie.
Click to expand...
Click to collapse
The backup I made was of Oreo. And on Pie it did temp boot, but was unable to decrypt and restore. Too bad.
I restored the phone using a fastboot stock ROM, but now I get strange signal drops followed by the phone locking itself

quimbexa said:
The backup I made was of Oreo. And on Pie it did temp boot, but was unable to decrypt and restore. Too bad
Click to expand...
Click to collapse
by flashing pie, your phone is on pie UNTIL you flash oreo rom.

MrSteelX said:
by flashing pie, your phone is on pie UNTIL you flash oreo rom.
Click to expand...
Click to collapse
So your suggestion would be to flash Oreo over Pie, boot (if it managed to boot), setup a new pattern, then TWRP and decrypt from there?

https://forums.oneplus.com/threads/...vice-tree-kernel-source-for-oneplus-6.833612/ this is how to fix this mess you are in.
or you could reflash beta 2 to access your data right now.

MrSteelX said:
if all you did was temp boot twrp on pie, temp boot twrp can not decrypt data. You have to flash twrp to phone then reboot to twrp. Second, twrp can not restore backups of stock roms. Third, to go back to any oreo rom will require a format data to fix.
Click to expand...
Click to collapse
twrp can not restore backups of stock roms? that's the first time I'm reading that... do you know the reason for that?

MJFox78 said:
twrp can not restore backups of stock roms? that's the first time I'm reading that... do you know the reason for that?
Click to expand...
Click to collapse
it's because of the encryption used on oneplus6. We can make backups with twrp, it just fails on the restore part.

MrSteelX said:
it's because of the encryption used on oneplus6. We can make backups with twrp, it just fails on the restore part.
Click to expand...
Click to collapse
so if I decrypt the device restoring will work?

MJFox78 said:
so if I decrypt the device restoring will work?
Click to expand...
Click to collapse
only if backup is decrypted aswell

MrSteelX said:
only if backup is decrypted aswell
Click to expand...
Click to collapse
makes sense... thanks!

MJFox78 said:
makes sense... thanks!
Click to expand...
Click to collapse
I can get TWRP backups to work just fine on stock OOS, but I follow a weird process.
1. Store backup on something other than the phone (I got a USB OTG SD card reader/writer - I use a 128GB SD card to hold my stuff)
2. Use a fastboot rom to flash the same rom as the backup was made on. They are in this thread https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
3. After flashing the fastboot rom start up the phone and go through the whole setup process (I don't know why but it doesn't work when I don't do this)
4. Install TWRP. Instructions can be found in this thread https://forum.xda-developers.com/oneplus-6/how-to/guide-how-to-install-official-twrp-t3801558 don't just boot TWRP, actually install TWRP (it might work if you just boot TWRP, I never tried it so I can't make any claims that it works)
5. Move your backup back to the phone and restore it in TWRP.
I have done this probably 100 times by now and it ALWAYS works. It is just how funky the encryption is on the OP6 that makes us go through hell to do something this simple. Try this.

Related

Rooted with ODIN, how to get a working TWRP now?

Heyo!
So.. I recently got the 930F and rooted successful with odin, but my question is now, how do I successfully flash a working TWRP without having all the issues ppl describe below the twrp thread for sgs7?
greetz
after flashing TWRP with odin, enter your new recovery.
Wipe everything, then flash the rest of the files. You won't be able to boot otherwise.
You must in Odin remove the hook at autoreboot.
And then manually switch off the mobile phone with "Home-Vol--Power", then start with "Home-Vol+-Power" and wait until the TWRP screen comes and then let go.
Senaxo said:
You must in Odin remove the hook at autoreboot.
And then manually switch off the mobile phone with "Home-Vol--Power", then start with "Home-Vol+-Power" and wait until the TWRP screen comes and then let go.
Click to expand...
Click to collapse
But I didnt flash TWRP yet, cuz I used the CF-Root method by Chainfire, just rooted with odin and got supersu installed, i cant even boot into a recovery? my phone just starts normally, doesnt samsung have a normal recovery?
can I just re-root with a method with TWRP included without worries or am I gonna brick my phone?
bump
i suggest to full wipe after installing TWRP.
Abuzar Uzair said:
i suggest to full wipe after installing TWRP.
Click to expand...
Click to collapse
Why would you suggest a full wipe? Is it needed?
I did the same thing... used CF-Auto-Root to root my S7 and noticed that I didn't have TWRP. So I just downloaded TWRP Manager from the Play Store and used that to flash TWRP to Recovery. It worked perfectly as far as I can tell, no need to wipe anything.
Unless I've missed something?
d3adm8n said:
Why would you suggest a full wipe? Is it needed?
I did the same thing... used CF-Auto-Root to root my S7 and noticed that I didn't have TWRP. So I just downloaded TWRP Manager from the Play Store and used that to flash TWRP to Recovery. It worked perfectly as far as I can tell, no need to wipe anything.
Unless I've missed something?
Click to expand...
Click to collapse
The full wipe will disable data & sd encryption, so you will not face any problem while flashing roms & kernals, or creating twrp backup.
d3adm8n said:
Why would you suggest a full wipe? Is it needed?
I did the same thing... used CF-Auto-Root to root my S7 and noticed that I didn't have TWRP. So I just downloaded TWRP Manager from the Play Store and used that to flash TWRP to Recovery. It worked perfectly as far as I can tell, no need to wipe anything.
Unless I've missed something?
Click to expand...
Click to collapse
Did it really work? ive read a few other posts about ppl bricking their phones by doing that D:
bump
bump
Maybe a good read if your on Nougat?
https://forum.xda-developers.com/galaxy-s7/how-to/root-official-stock-nougat-7-0-100-t3540765
johnny8910 said:
Maybe a good read if your on Nougat?
https://forum.xda-developers.com/galaxy-s7/how-to/root-official-stock-nougat-7-0-100-t3540765
Click to expand...
Click to collapse
That's completely unrelated to my issue
Kickazz080 said:
Heyo!
So.. I recently got the 930F and rooted successful with odin, but my question is now, how do I successfully flash a working TWRP without having all the issues ppl describe below the twrp thread for sgs7?
greetz
Click to expand...
Click to collapse
I don't know if I'm too late, but this is what I did and it was the easiest way to get TWRP.
Go to the Play Store and download 'TWRP Manager App', when on there hit 'Install TWRP', look for the SG7 type for TWRP and choose the latest datedTWRP (People tend to get Recovery is not seandroid enforcing error because they use an out-of-date recovery image).
It will say there was an error flashing recovery and give the option to Reboot or Reboot Later, but it actually has managed to get TWRP onto your phone so just reboot there and then.
Boom you have TWRP; remember the first thing to do is Format Data.
Good Luck
AzzyC said:
I don't know if I'm too late, but this is what I did and it was the easiest way to get TWRP.
Go to the Play Store and download 'TWRP Manager App', when on there hit 'Install TWRP', look for the SG7 type for TWRP and choose the latest datedTWRP (People tend to get Recovery is not seandroid enforcing error because they use an out-of-date recovery image).
It will say there was an error flashing recovery and give the option to Reboot or Reboot Later, but it actually has managed to get TWRP onto your phone so just reboot there and then.
Boom you have TWRP; remember the first thing to do is Format Data.
Good Luck
Click to expand...
Click to collapse
Format data when I first boot the phone after the twrp-installation-restart? or before flashing rom/kernel?
Kickazz080 said:
Format data when I first boot the phone after the twrp-installation-restart? or before flashing rom/kernel?
Click to expand...
Click to collapse
Format Data after TWRP Installation because our S7 phone has dm-verity and you will not be able to flash zips and ROMs properly. Formatting will get rid of that verity encryption.
Another reason why to format data after TWRP installation is because as this method does not fully get rid of stock recovery and is left dormant, so formatting the data will let TWRP read your Data.
AzzyC said:
Format Data after TWRP Installation because our S7 phone has dm-verity and you will not be able to flash zips and ROMs properly. Formatting will get rid of that verity encryption.
Another reason why to format data after TWRP installation is because as this method does not fully get rid of stock recovery and is left dormant, so formatting the data will let TWRP read your Data.
Click to expand...
Click to collapse
Is there any chance of me ****ing up and losing my imei or smth?
Kickazz080 said:
Is there any chance of me ****ing up and losing my imei or smth?
Click to expand...
Click to collapse
Nope. That is not part of the Data partition so the format shouldn't affect - IMEI No. is part of the EFS partition.
If you do come with any problems though, quote me and I'm here to help. But believe I'm telling you what even I did and I'm running ROMS and shiz now.

[SOLVED] Stuck on TWRP splash screen after restore

Just tried to restore a backup for the first time using official TWRP. At the end of restore it had red text saying something like couldn't mount system but said restore complete. Tried booting and it gives the unlock warning then goes to black screen and led light out up constantly and doesn't boot. I try to boot back into recovery and just stays on TWRP splash screen. What did I do wrong and how do I fix this?
try to reflash TWRP to official, u will have to use fastboot method
https://forum.xda-developers.com/oneplus-6/how-to/guide-how-to-install-official-twrp-t3801558
Bradl79 said:
try to reflash TWRP to official, u will have to use fastboot method
https://forum.xda-developers.com/oneplus-6/how-to/guide-how-to-install-official-twrp-t3801558
Click to expand...
Click to collapse
Just did. I can successfully boot into twrp now every time but still wont boot into OOS. Still have black screen and white solid led.
Do u have the stock oxygenos full zip on ur phone?
Bradl79 said:
try to reflash TWRP to official, u will have to use fastboot method
https://forum.xda-developers.com/oneplus-6/how-to/guide-how-to-install-official-twrp-t3801558
Click to expand...
Click to collapse
Bradl79 said:
Do u have the stock oxygenos full zip on ur phone?
Click to expand...
Click to collapse
No. Can I download it from the oneplus site and transfer it via twrp file manager?
U may be better off using this method
https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
It is going to wipe ur internal storage though
vinnievegas said:
Just did. I can successfully boot into twrp now every time but still wont boot into OOS. Still have black screen and white solid led.
Click to expand...
Click to collapse
Boot to TWRP, restore data only, flash the full ROM.zip, reflash official TWRP, reboot (may say there is no OS installed, ignore)
If you want magisk root, reboot into recovery after phone boots into OS, flash magisk and all modules should work again.
mikex8593 said:
Boot to TWRP, restore data only, flash the full ROM.zip, reflash official TWRP, reboot (may say there is no OS installed, ignore)
If you want magisk root, reboot into recovery after phone boots into OS, flash magisk and all modules should work again.
Click to expand...
Click to collapse
What full rom zip?
vinnievegas said:
What full rom zip?
Click to expand...
Click to collapse
Whatever OOS version you want. It will make you stock after a flash with official TWRP, but since you restore data from your backup, it will keep all apps and settings. That's why you flash TWRP.zip after OTA.zip finishes. It will replace your boot IMG with stock. Then after you boot into system, you can install magisk by flashing again in TWRP. You can't flash magisk right away because of the a/b partition. Causes an error.
---------- Post added at 06:17 AM ---------- Previous post was at 06:14 AM ----------
You can download full ROM zip of your choice from this thread. Either will work.
https://forum.xda-developers.com/oneplus-6/how-to/official-oxygenos-5-1-5-ota-oneplus-6-t3794232
mikex8593 said:
Boot to TWRP, restore data only, flash the full ROM.zip, reflash official TWRP, reboot (may say there is no OS installed, ignore)
If you want magisk root, reboot into recovery after phone boots into OS, flash magisk and all modules should work again.
Click to expand...
Click to collapse
mikex8593 said:
Whatever OOS version you want. It will make you stock after a flash with official TWRP, but since you restore data from your backup, it will keep all apps and settings. That's why you flash TWRP.zip after OTA.zip finishes. It will replace your boot IMG with stock. Then after you boot into system, you can install magisk by flashing again in TWRP. You can't flash magisk right away because of the a/b partition. Causes an error.
---------- Post added at 06:17 AM ---------- Previous post was at 06:14 AM ----------
You can download full ROM zip of your choice from this thread. Either will work.
https://forum.xda-developers.com/oneplus-6/how-to/official-oxygenos-5-1-5-ota-oneplus-6-t3794232
Click to expand...
Click to collapse
How do I get the rom to my phone?
vinnievegas said:
How do I get the rom to my phone?
Click to expand...
Click to collapse
I believe OTG works in official TWRP if you have OTG cable and usb. MTP works in unofficial TWRP but I'm not sure which one I that was. May have been this one but don't flash the fix. I think the fix disables MTP
https://forum.xda-developers.com/oneplus-6/how-to/recovery-twrp-3-2-1-1-hydrogen-oxygen-t3795770
Let me know how/if it works out for you.
Bradl79 said:
U may be better off using this method
https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
It is going to wipe ur internal storage though
Click to expand...
Click to collapse
This saved me. Thank you so much. I wish I could have got the suggestion below to work cause I had a lot set up.
mikex8593 said:
Boot to TWRP, restore data only, flash the full ROM.zip, reflash official TWRP, reboot (may say there is no OS installed, ignore)
If you want magisk root, reboot into recovery after phone boots into OS, flash magisk and all modules should work again.
Click to expand...
Click to collapse
I never could get the older unofficial twrp to boot so I couldn't transfer the rom. Had to use above suggestion. Thanks so much for all of you guys help. I'm just so happy to have a working phone again....
I did make a cloud backup of one of my twrp backups. wondering if I can restore that data once I've got twrp installed again and rooted?
vinnievegas said:
This saved me. Thank you so much. I wish I could have got the suggestion below to work cause I had a lot set up.
I never could get the older unofficial twrp to boot so I couldn't transfer the rom. Had to use above suggestion. Thanks so much for all of you guys help. I'm just so happy to have a working phone again....
I did make a cloud backup of one of my twrp backups. wondering if I can restore that data once I've got twrp installed again and rooted?
Click to expand...
Click to collapse
That should work. Just wipe data and cache in TWRP, then restore data from your old backup. I'd recommend keeping a zip file in internal storage of the ROM in case of emergency. That way you can recover without having to wipe internal storage again.
mikex8593 said:
Boot to TWRP, restore data only, flash the full ROM.zip, reflash official TWRP, reboot (may say there is no OS installed, ignore)
If you want magisk root, reboot into recovery after phone boots into OS, flash magisk and all modules should work again.
Click to expand...
Click to collapse
Old thread but thanks! I had same problem and your method worked for Xiaomi Mi A1
Similar, but reinstalling from scratch. I don want to preserve any data on divice.
By mounting Data partition from TWRP this is what you can see among other things
Internal Storage
NitrogenOS-Updates
Nitrogen-OS-P-kenzo-20190519.zip
I don't remember what next. Any link any link is sufficient and very welcome.
Also a suggestion on where to go to ask, if this is not the right place!
Mi device "xiaomi 3", is perfect for me!

TWRP encryption problem

After i wanted to install Android P, i got a bootloop. so i wanted to go to twrp but now my files are encrypted and twrp is not asking for a pin or pattern so i can't decrypt my internal storage files.
Now the biggest problem is that i just came back from a family weekend and i made a lot of pictures, witch i can't acces now, and i really want them back.
Now i can't install a new os or anything ...
Can someone please help me! i'm really despirate
(sorry for my bad english)
Try downgrading twrp , night get it to ask for pin
downgrading is never the answer. In fact, that will cause this problem to happen. Now i must ask, are you temp booting twrp or is twrp installed to phone.
I got this when I temp booted the mtp enabled twrp the other day, although it still asked for my passcode and said description was successful. When I rebooted the installed (official) twrp it all came back....
MrSteelX said:
downgrading is never the answer. In fact, that will cause this problem to happen. Now i must ask, are you temp booting twrp or is twrp installed to phone.
Click to expand...
Click to collapse
Now i am booting from temp twrp, before that i got the latest twrp installed
Bringing this back up... Did booting from temp twrp work? Ran into the same issue.
Temp boot and use the usb c to pull ur data from the device to a computer. After that you can wipe and start over. Unbricking guide available in the help section
Having the same issue. If I boot using fastboot TWRP I'm able to decrypt data. I did that and flashed stock OOS and the same TWRP version (BluSpark) that was used in the fastboot. But the folders are still encrypted. It's weird how a fastboot can decrypt it but a regular recovery boot can't. Is there any alternatives available?
I'm in the process of backing up my data before I officially bite the bullet.
spartan268 said:
Having the same issue. If I boot using fastboot TWRP I'm able to decrypt data. I did that and flashed stock OOS and the same TWRP version (BluSpark) that was used in the fastboot. But the folders are still encrypted. It's weird how a fastboot can decrypt it but a regular recovery boot can't. Is there any alternatives available?
I'm in the process of backing up my data before I officially bite the bullet.
Click to expand...
Click to collapse
Only way i know to get rid of this by removing the encryption on the data is to Format the Internal Storage !
Totone56 said:
Only way i know to get rid of this by removing the encryption on the data is to Format the Internal Storage !
Click to expand...
Click to collapse
That's what I did in the end. I just backed up my media through fastboot TWRP beforehand. Beats having to use the download tool at least
spartan268 said:
That's what I did in the end. I just backed up my media through fastboot TWRP beforehand. Beats having to use the download tool at least
Click to expand...
Click to collapse
Probably the best way indeed. I think i'm gonna start disabling forced encryption to stop these kind of problems.
Totone56 said:
Probably the best way indeed. I think i'm gonna start disabling forced encryption to stop these kind of problems.
Click to expand...
Click to collapse
How to do it? I tried with zero luck
starche_old said:
How to do it? I tried with zero luck
Click to expand...
Click to collapse
I haven't tried yet, don't know for now !

Omg Official TWRP is HERE!

Maintained by Dees_Troy, This build of TWRP will (probably) only work with devices using Full Disk Encryption (FDE) and may not work with devices that have been converted to File Based Encryption (FBE). FBE support may be added at a later date.
Full details can be view by their official website https://twrp.me/xiaomi/xiaomipocophonef1.html
Or download the official TWRP app on the playstore
Merry Christmas and a Happy New Year people! Happy Flashing!
Anybody gave it a try? Is decryption working?
GoodSoul said:
Anybody gave it a try? Is decryption working?
Click to expand...
Click to collapse
Yes it's working fine
Only issue is the random freeze that lasts 15-20s every time I boot in recovery
Tried it. No SD card support... :/
Wth
dgrasley said:
Tried it. No SD card support... :/
Click to expand...
Click to collapse
Did you report it to the twrp? They might release another update
Darklouis said:
Did you report it to the twrp? They might release another update
Click to expand...
Click to collapse
Yes, I contacted them and let them know.
dgrasley said:
Yes, I contacted them and let them know.
Click to expand...
Click to collapse
Nice! That's good.
Elyth_ said:
Yes it's working fine
Only issue is the random freeze that lasts 15-20s every time I boot in recovery
Click to expand...
Click to collapse
Does that mean we don't need to format data? Getting a Poco soon and all rooting guides say you need to format data.
mjemec said:
Does that mean we don't need to format data? Getting a Poco soon and all rooting guides say you need to format data.
Click to expand...
Click to collapse
Yes, works very well, no need to format, and has sd support too.
Anyway, if it's a new phone, like mine, format as many times as you want lol. Which I did while trying out other TWRPs, and I still get them asking me for a password that was non-existent. My first time after so many phones where a TWRP was asking me for a password (which caught me offguard), and all Poco F1 TWRPs except this official one.
I have settled with this TWRP first, lost some time with the rest, my main goal was to root anyway, TWRP upgrade can come later. I do hope nandroid backup and restore is good as I have not tried it yet (just backup which went fine). Will try restore soon. I have Titanium and Migrate working anyway, and Nandroid Manager too.
hyborian said:
Yes, works very well, no need to format, and has sd support too.
Anyway, if it's a new phone, like mine, format as many times as you want lol. Which I did while trying out other TWRPs, and I still get them asking me for a password that was non-existent. My first time after so many phones where a TWRP was asking me for a password (which caught me offguard), and all Poco F1 TWRPs except this official one.
I have settled with this TWRP first, lost some time with the rest, my main goal was to root anyway, TWRP upgrade can come later. I do hope nandroid backup and restore is good as I have not tried it yet (just backup which went fine). Will try restore soon. I have Titanium and Migrate working anyway, and Nandroid Manager too.
Click to expand...
Click to collapse
Thanks for sharing ..iv'e been wating for this review..:good:
Pls report back if you restored your device with no issues
bamz1117 said:
Thanks for sharing ..iv'e been wating for this review..:good:
Pls report back if you restored your device with no issues
Click to expand...
Click to collapse
I don't know how I missed this, this one is also good. I just flashed it just to see and it's ok too.
https://forum.xda-developers.com/poco-f1/development/recovery-twrp-3-2-3-decryption-t3853004
Ok, I tried to restore the Nandroid backup from official TWRP, and this is exactly what happened to me :
https://forum.xda-developers.com/poco-f1/help/nandroid-backup-fail-t3887678
Restore gets completed, I reboot to system, it goes into fastboot mode. Tried again, same.
So I reinstalled latest MIUI ROM Global beta, which I prefer, and run Magisk again, and restored only Data partition. This worked and it rebooted into system, without me losing my data. I also didn't bother to remove my pin while taking the backup a suggested in another thread, and it's ok, no problem.
So still ok to backup, but can only restore data. Always have a copy of the ROM too in your SD Card or even internal storage to flash when needed, as well as Magisk if you use it.
As for the unofficial TWRP in my link above, restore was worse. It ended up in "extractTarFork() process ended with ERROR: 255".
hyborian said:
Ok, I tried to restore the Nandroid backup from official TWRP, and this is exactly what happened to me :
https://forum.xda-developers.com/poco-f1/help/nandroid-backup-fail-t3887678
Restore gets completed, I reboot to system, it goes into fastboot mode. Tried again, same.
So I reinstalled latest MIUI ROM Global beta, which I prefer, and run Magisk again, and restored only Data partition. This worked and it rebooted into system, without me losing my data. I also didn't bother to remove my pin while taking the backup a suggested in another thread, and it's ok, no problem.
So still ok to backup, but can only restore data. Always have a copy of the ROM too in your SD Card or even internal storage to flash when needed, as well as Magisk if you use it.
As for the unofficial TWRP in my link above, restore was worse. It ended up in "extractTarFork() process ended with ERROR: 255".
Click to expand...
Click to collapse
Thank you so much for your test .This enlightened me more , regarding the stable TWRP...
Future updates will rolled out and it will be fix soon . Also pls report this to twrp so that they will look into it.
https://github.com/TeamWin/Team-Win-Recovery-Project/issues
Guy's Nandroid will working fine, if you save the right partitions!
Use system and vendor image! Instead of system and vendor.
Don't forget data as it is.
2WildFirE said:
Guy's Nandroid will working fine, if you save the right partitions!
Use system and vendor image! Instead of system and vendor.
Don't forget data as it is.
Click to expand...
Click to collapse
Did you try it personally?
bamz1117 said:
Did you try it personally?
Click to expand...
Click to collapse
Yes many times work's fine
If anyone likes a dark themed version you can check here.
2WildFirE said:
Guy's Nandroid will working fine, if you save the right partitions!
Use system and vendor image! Instead of system and vendor.
Don't forget data as it is.
Click to expand...
Click to collapse
Yes, I just tried 2WildFirE's solution, and it works perfectly. And from this article, system image and vendor image are apparently even better than normal system/vendor.
https://twrp.me/faq/whattobackup.html
So, no more problem with Nandroid and I can use this official TWRP or the other one. I won't use a custom ROM for my Pocophone as I like MIUI, so it's just fine for me.
As for the wrong date of Nandroid, it's ok, I enter my own file name backup anyway.

Flash Stock to Decrypted Device

So I don't want to screw something up. I have decrypted my device to be able to more easily test other ROMs
Using an OTG and USB stick to make things easier ,, how do I flash Stock OOS back to a decrypted system and leave it decrypted ??
Thanks for the spoon feeding!
jcrompton said:
So I don't want to screw something up. I have decrypted my device to be able to more easily test other ROMs
Using an OTG and USB stick to make things easier ,, how do I flash Stock OOS back to a decrypted system and leave it decrypted ??
Thanks for the spoon feeding!
Click to expand...
Click to collapse
Flash stock like you did your ROMs. flash that DM varity at the end. Don't restore a stock backup if you didn't make it decrypted. Once you backup stock decrypted you can restore it anytime you want.
I've always started out on stock decrypted and then back that up. Then fish my ROMs you May have to reformat again so you can do it. I'm not to sure. If it's a different security patch you May have problems
mac796 said:
Flash stock like you did your ROMs. flash that DM varity at the end. Don't restore a stock backup if you didn't make it decrypted. Once you backup stock decrypted you can restore it anytime you want.
I've always started out on stock decrypted and then back that up. Then fish my ROMs you May have to reformat again so you can do it. I'm not to sure. If it's a different security patch you May have problems
Click to expand...
Click to collapse
Thanks!
So just flash the "full stock zip" that is posted with the ota ones?
jcrompton said:
Thanks!
So just flash the "full stock zip" that is posted with the ota ones?
Click to expand...
Click to collapse
Yes full zip. I would try it without a reformat first, just a factory reset in TWRP, and if it doesn't boot, then you know you will need to do the full format in TWRP. But I don't think you will. I hope not.
mac796 said:
Yes full zip. I would try it without a reformat first, just a factory reset in TWRP, and if it doesn't boot, then you know you will need to do the full format in TWRP. But I don't think you will. I hope not.
Click to expand...
Click to collapse
Man what a pain in the butt ... I tried over and over again and found no way to maintain decryption when going back to stock. ..... my device wouldn’t boot . I formatted data several times and that didn’t help ... still wouldn’t boot.
I may give up since I was able to flash encrypted
But if you have suggestions and the exact steps you take I might try again
Thanks
jcrompton said:
Man what a pain in the butt ... I tried over and over again and found no way to maintain decryption when going back to stock. ..... my device wouldn’t boot . I formatted data several times and that didn’t help ... still wouldn’t boot.
I may give up since I was able to flash encrypted
But if you have suggestions and the exact steps you take I might try again
Thanks
Click to expand...
Click to collapse
All I did was boot TWRP go to wipe, then format data
Then flash full os ZIP ,TWRP,DM varity all at same time
Then reboot recovery flash DM varity , magisk
Reboot to system. Then I backup this one decrypted, keep a copy on a flash drive
I haven't Flashed the new 9.5.11 yet. Maybe They changed something now that we can't run decrypted I'll let you know when I update.
jcrompton said:
Man what a pain in the butt ... I tried over and over again and found no way to maintain decryption when going back to stock. ..... my device wouldn’t boot . I formatted data several times and that didn’t help ... still wouldn’t boot.
I may give up since I was able to flash encrypted
But if you have suggestions and the exact steps you take I might try again
Thanks
Click to expand...
Click to collapse
Ok I just dirty flashed 9.5.11 and kept decryption. I didn't have to reformat because I was already unencrypted, but I followed the same way I shared with u.
mac796 said:
Ok I just dirty flashed 9.5.11 and kept decryption. I didn't have to reformat because I was already unencrypted, but I followed the same way I shared with u.
Click to expand...
Click to collapse
Sorry for the slight OT
Can you run an androbench and post the results please, curious to see if decrypting affects write read performance
Can someone link DM verity please ?

Categories

Resources