Encrypting device and flashing roms, how does it work? - ONE Q&A, Help & Troubleshooting

So after the buzz over the Apple vs FBI dispute, I've decided to encrypt my OPO. However, I wonder how flashing roms and encrypting device works together. If I encrypt my phone today with my custom kernel and rom, what will happen if I wipe the device and try to flash another rom? Can I still access TWRP(and type my password i presume?) and flash just as usual?

baxtex said:
So after the buzz over the Apple vs FBI dispute, I've decided to encrypt my OPO. However, I wonder how flashing roms and encrypting device works together. If I encrypt my phone today with my custom kernel and rom, what will happen if I wipe the device and try to flash another rom? Can I still access TWRP(and type my password i presume?) and flash just as usual?
Click to expand...
Click to collapse
With fastboot easy
???

geowolf1000 said:
With fastboot easy
Click to expand...
Click to collapse
Yeah, I was afraid of that.
I did encrypt my Moto G a while back. When I was i need of a backup, I could not flash it in TWRP as the phone was encrypted. I had to reflash the phone completely back to stock with fastboot, then reroot and install twrp again. Quite unconveinient if you just want to restore a backup or update your rom.

​
baxtex said:
Yeah, I was afraid of that.
I did encrypt my Moto G a while back. When I was i need of a backup, I could not flash it in TWRP as the phone was encrypted. I had to reflash the phone completely back to stock with fastboot, then reroot and install twrp again. Quite unconveinient if you just want to restore a backup or update your rom.
Click to expand...
Click to collapse
No need to flash stock
You can fastboot opo with system img without flash recovery
Or modem or kernel....
Just after boot to recovery for su
Twrp support encryption but when place password select option pin to boot
You can backup or restore

baxtex said:
So after the buzz over the Apple vs FBI dispute, I've decided to encrypt my OPO. However, I wonder how flashing roms and encrypting device works together. If I encrypt my phone today with my custom kernel and rom, what will happen if I wipe the device and try to flash another rom? Can I still access TWRP(and type my password i presume?) and flash just as usual?
Click to expand...
Click to collapse
My phone has been encrypted from the start, the latest official TWRP from twrp.me supports encryption. All you need to do is boot to TWRP, it will ask for your password, you can enter it and then decrypt, et voila, all of your data is there and you can flash like you normally do.

ryanmat said:
My phone has been encrypted from the start, the latest official TWRP from twrp.me supports encryption. All you need to do is boot to TWRP, it will ask for your password, you can enter it and then decrypt, et voila, all of your data is there and you can flash like you normally do.
Click to expand...
Click to collapse
Sound awesome!

ryanmat said:
My phone has been encrypted from the start, the latest official TWRP from twrp.me supports encryption. All you need to do is boot to TWRP, it will ask for your password, you can enter it and then decrypt, et voila, all of your data is there and you can flash like you normally do.
Click to expand...
Click to collapse
You can not update official with twrp
Only custom
Need to fastboot img for upgrade cos

geowolf1000 said:
You can not update official with twrp
Only custom
Need to fastboot img for upgrade cos
Click to expand...
Click to collapse
Good to know, so you're saying if you're encrypted on official ROMs you won't be able to update if you use the OTA?
OP was looking to flash custom kernels and ROMs while encrypted, which should be fine, because I've been doing it since I've had my OPO.

ryanmat said:
My phone has been encrypted from the start, the latest official TWRP from twrp.me supports encryption. All you need to do is boot to TWRP, it will ask for your password, you can enter it and then decrypt, et voila, all of your data is there and you can flash like you normally do.
Click to expand...
Click to collapse
What ROM are you currently using? Does encryption have a big impact on performance?
Sent from my LG-V500 running CM 13

@GXGOW
I think yes. O watched couple of speed comarisons beetween OnePlus One and Nexus 6 (encryptuon anabled by default in Nexus) and OnePlus One was wayyy faster in app opening than nexus , but in app perfornance was the same.

I've searched the OP forums, for a How to Encrypt... did not find any. Please, is anyone aware of a good "How To".

JeffDC said:
I've searched the OP forums, for a How to Encrypt... did not find any. Please, is anyone aware of a good "How To".
Click to expand...
Click to collapse
I'm not, and I'm also looking for the side effects to that, although mine is a good old S5, thank you much for checking, if you do come across something, please let us know, I'll do the same
---------- Post added at 06:18 AM ---------- Previous post was at 06:15 AM ----------
Well actually i think i read you wrong, the "how to" per se should be baked right in, what i meant I'd like to know is how encryption and flashing get along, but i take it it was addressed last page

Related

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 !

Downgrade from 9.0.2 to 9.0.1?

Hi, just tried to do this by flashing the old zip trough TWRP, but i always end to boot in recovery, maybe i'm doing something wrong...?
I tried this today and happened the same, i guess you have to clean flash to downgrade.
Also a tip, if you got stuck in recovery and yet cannot decrypt (doesn't ask for password/pin in TWRP), boot to fastboot mode, use the command "fastboot boot <the img file name for twrp>" so that you can boot directly to the img file from your PC. This way it will ask for your password.
Killua96 said:
Hi, just tried to do this by flashing the old zip trough TWRP, but i always end to boot in recovery, maybe i'm doing something wrong...?
Click to expand...
Click to collapse
You might try flashing again when you get booted back to TWRP. That way, you can get 9.01 flashed to both slots if it's not already. No guarantees, but it's worth a try.
maigre said:
You might try flashing again when you get booted back to TWRP. That way, you can get 9.01 flashed to both slots if it's not already. No guarantees, but it's worth a try.
Click to expand...
Click to collapse
I tried this way too but keep getting booted back to TWRP. Even did a wipe of the caches, system and data (not internal storage).
Is there anything I can still try?
jiatern said:
I tried this way too but keep getting booted back to TWRP. Even did a wipe of the caches, system and data (not internal storage).
Is there anything I can still try?
Click to expand...
Click to collapse
Flash Magisk again.
maigre said:
Flash Magisk again.
Click to expand...
Click to collapse
I did as well but it didn't help. Still the same.
jiatern said:
I did as well but it didn't help. Still the same.
Click to expand...
Click to collapse
Backup all your data outside the phone and flash a fastboot rom, it worked with me stuck in fastboot and I got back from that horrible 9.0.2
Killua96 said:
Backup all your data outside the phone and flash a fastboot rom, it worked with me stuck in fastboot and I got back from that horrible 9.0.2
Click to expand...
Click to collapse
Why horrible?
PuCiNhOOO said:
Why horrible?
Click to expand...
Click to collapse
Keyboard continuously crash 'cause the new gesture system, that have longer animations and the recent app one loses the vibration feedback and it' s also a lot confusing.
Anyway you can read the same things in the ota's thread, unfortunately are widespread problems
​
Killua96 said:
Keyboard continuously crash 'cause the new gesture system, that have longer animations and the recent app one loses the vibration feedback and it' s also a lot confusing.
Anyway you can read the same things in the ota's thread, unfortunately are widespread problems
Click to expand...
Click to collapse
I think they pushed the update too fast from beta to stable... But yes, agree with the gestures bug... Its a fact, but the other stuff is good
Killua96 said:
Backup all your data outside the phone and flash a fastboot rom, it worked with me stuck in fastboot and I got back from that horrible 9.0.2
Click to expand...
Click to collapse
Can you link me to the exact fastboot rom you flashed? Some said I have to use the downgrade zip from OnePlus to Oreo 5.1.1 then only upgrade to 9.0.1. The OP of the fastboot rom said the rom is not for downgrading.
Did you downgrade to Oreo first or directly flash the 9.0.1 fastboot rom?
jiatern said:
Can you link me to the exact fastboot rom you flashed? Some said I have to use the downgrade zip from OnePlus to Oreo 5.1.1 then only upgrade to 9.0.1. The OP of the fastboot rom said the rom is not for downgrading.
Did you downgrade to Oreo first or directly flash the 9.0.1 fastboot rom?
Click to expand...
Click to collapse
I've wiped everything, then downgraded to Pie directly, but I was in a slightly different situation (only fastboot available).
Just to be sure flash the Oreo one and then upgrade to Pie.
With the whole A/B partition layout it should be easier to downgrade too right?

No OS installed in TWRP

Hi guys
I was trying some of custom rom on my OP6 and I wanted to go back to Oxygen OS. So i did a clean installation with system wipe and i flashed the last full OTA update. But since i can't boot to system anymore, TWRP always displays that there is no OS installed despite the fact that I've tried several rom . Is this the first time it's done this to me how can I fix it?
raptax said:
Hi guys
I was trying some of custom rom on my OP6 and I wanted to go back to Oxygen OS. So i did a clean installation with system wipe and i flashed the last full OTA update. But since i can't boot to system anymore, TWRP always displays that there is no OS installed despite the fact that I've tried several rom . Is this the first time it's done this to me how can I fix it?
Click to expand...
Click to collapse
The best suggestion I can give you is to flash stock oos with TWRP, reboot to stock recovery, without flashing anything else, wipe data from stock recovery and startup system.. if it is working you can flash back TWRP and magisk if you need it
Just be careful because at your point is easy to lose all of your stored data
Hitman478™ said:
The best suggestion I can give you is to flash stock oos with TWRP, reboot to stock recovery, without flashing anything else, wipe data from stock recovery and startup system.. if it is working you can flash back TWRP and magisk if you need it
Just be careful because at your point is easy to lose all of your stored data
Click to expand...
Click to collapse
I tried your solution ..... and it worked thx man
I don't know why there was a problem with TWRP but the important thing is that my phone is alive again
raptax said:
I tried your solution ..... and it worked thx man
I don't know why there was a problem with TWRP but the important thing is that my phone is alive again
Click to expand...
Click to collapse
Exactly! I'm glad to had help you sometimes if something is done wrong TWRP is dangerous
raptax said:
I tried your solution ..... and it worked thx man
I don't know why there was a problem with TWRP but the important thing is that my phone is alive again
Click to expand...
Click to collapse
If you wipe system, then flash oos ROM, TWRP will think there is no os. You can just ignore and boot.
Wiping system then flashing any time will make twrp display "no os installed" it does this because it hasn't created files for twrp to check if you have a ton installed. Flashing twrp then rebooting to twrp fixes it.
Reboot to stock recovery?
Hitman478™ said:
The best suggestion I can give you is to flash stock oos with TWRP, reboot to stock recovery, without flashing anything else, wipe data from stock recovery and startup system.. if it is working you can flash back TWRP and magisk if you need it
Just be careful because at your point is easy to lose all of your stored data
Click to expand...
Click to collapse
Hi, need a little bit of support, since I'm new to this as well. I was in a working OOS open beta 25/28, but then I think I flashed the wrong zip (OOS 9.0.9?), and I was not able to boot to system. It kept going to "bootloader unlocked" screen and custom recovery. Currently in TWRP blu_spark 3.3.1-x v. 9.109, and it's showing me no OS installed when I attempt to reboot. I haven't rebooted to system yet.
All the folders in my /sdcard is gibberish... if I try to push a file to it, it says "Required key not available." I did remove all security/passwords from my phone before doing any updates/backups.
I completed a wipe cache/dalvik/system via TWRP, and flashed the OOS OTA stable Android 10 zip downloaded directly from OnePlus Support. Considering this situation, do you still think it's safe for me to reboot to system? Then how do I get to stock recovery from there--is that by holding down the buttons?
5xonlineage said:
Hi, need a little bit of support, since I'm new to this as well. I was in a working OOS open beta 25/28, but then I think I flashed the wrong zip (OOS 9.0.9?), and I was not able to boot to system. It kept going to "bootloader unlocked" screen and custom recovery. Currently in TWRP blu_spark 3.3.1-x v. 9.109, and it's showing me no OS installed when I attempt to reboot. I haven't rebooted to system yet.
All the folders in my /sdcard is gibberish... if I try to push a file to it, it says "Required key not available." I did remove all security/passwords from my phone before doing any updates/backups.
I completed a wipe cache/dalvik/system via TWRP, and flashed the OOS OTA stable Android 10 zip downloaded directly from OnePlus Support. Considering this situation, do you still think it's safe for me to reboot to system? Then how do I get to stock recovery from there--is that by holding down the buttons?
Click to expand...
Click to collapse
No, your internal storage Is like trash cause the last rom you flashed has older security patch than oos10. Your device Is now encrypted and wont boot to system. I Guess you have to erase all via MSN tool or fastboot signed rom. Even if you wiped what mentioned above, your problem still be the data.
Fastboot method?
°Washy said:
No, your internal storage Is like trash cause the last rom you flashed has older security patch than oos10. Your device Is now encrypted and wont boot to system. I Guess you have to erase all via MSN tool or fastboot signed rom. Even if you wiped what mentioned above, your problem still be the data.
Click to expand...
Click to collapse
Thank you for replying. I'm relieved that you know of a couple methods to try.
Is using "Format Data" in TWRP an option for dealing with the encryption??
For the MSN tool, can I use this one? Tried looking around, but it's unclear. "[TOOL] MsmDownloadTool V4.0 International (Oxygen OS 5.1.5)" https://forum.xda-developers.com/on...wnloadtool-v4-0-international-t3798892/page10
I would be more comfortable with using fastboot, but am I at any risk of having lost fastboot, or can I just turn off my device from TWRP right now and hold down the buttons to get there? Afraid to move out of TWRP right now, in case I can't get back. I do have twrp-3.3.1-18-enchilada-Q-mauronofrio.img that I can run from fastboot if needed.
By "signed rom," do you mean I can simply flash one of the zips here from fastboot? "[OnePlus 6][ROM][OTA][Oxygen OS] Mirrors for official Oxygen OS ROMs and OTA updates" https://forum.xda-developers.com/oneplus-6/how-to/oneplus-6-mirrors-official-oxygen-os-t3792244
Thanks again.
5xonlineage said:
Thank you for replying. I'm relieved that you know of a couple methods to try.
Is using "Format Data" in TWRP an option for dealing with the encryption??
For the MSN tool, can I use this one? Tried looking around, but it's unclear. "[TOOL] MsmDownloadTool V4.0 International (Oxygen OS 5.1.5)" https://forum.xda-developers.com/on...wnloadtool-v4-0-international-t3798892/page10
I would be more comfortable with using fastboot, but am I at any risk of having lost fastboot, or can I just turn off my device from TWRP right now and hold down the buttons to get there? Afraid to move out of TWRP right now, in case I can't get back. I do have twrp-3.3.1-18-enchilada-Q-mauronofrio.img that I can run from fastboot if needed.
By "signed rom," do you mean I can simply flash one of the zips here from fastboot? "[OnePlus 6][ROM][OTA][Oxygen OS] Mirrors for official Oxygen OS ROMs and OTA updates" https://forum.xda-developers.com/oneplus-6/how-to/oneplus-6-mirrors-official-oxygen-os-t3792244
Thanks again.
Click to expand...
Click to collapse
I hardbricked my device about 10 times and i was able to recovery It even from a blank screen. Btw format data Will erase all your data but also the internal storage. About fastboot dont be afraid, go under twrp reboot section and reboot to bootloader. Then go under xda op6 guide section and search for mirrors for fastboot rom guide by Mauronofrio. He pushed my ass out the **** a lot of time.
P.s. Sorry but I dunno how to paste a link via xda app. Yes, ik! It's a vert newbie thing.
5xonlineage said:
Thank you for replying. I'm relieved that you know of a couple methods to try.
Is using "Format Data" in TWRP an option for dealing with the encryption??
For the MSN tool, can I use this one? Tried looking around, but it's unclear. "[TOOL] MsmDownloadTool V4.0 International (Oxygen OS 5.1.5)" https://forum.xda-developers.com/on...wnloadtool-v4-0-international-t3798892/page10
I would be more comfortable with using fastboot, but am I at any risk of having lost fastboot, or can I just turn off my device from TWRP right now and hold down the buttons to get there? Afraid to move out of TWRP right now, in case I can't get back. I do have twrp-3.3.1-18-enchilada-Q-mauronofrio.img that I can run from fastboot if needed.
By "signed rom," do you mean I can simply flash one of the zips here from fastboot? "[OnePlus 6][ROM][OTA][Oxygen OS] Mirrors for official Oxygen OS ROMs and OTA updates" https://forum.xda-developers.com/oneplus-6/how-to/oneplus-6-mirrors-official-oxygen-os-t3792244
Thanks again.
Click to expand...
Click to collapse
Do you solve, man?
Fastboot ROM
°Washy said:
I hardbricked my device about 10 times and i was able to recovery It even from a blank screen. Btw format data Will erase all your data but also the internal storage. About fastboot dont be afraid, go under twrp reboot section and reboot to bootloader. Then go under xda op6 guide section and search for mirrors for fastboot rom guide by Mauronofrio. He pushed my ass out the **** a lot of time.
P.s. Sorry but I dunno how to paste a link via xda app. Yes, ik! It's a vert newbie thing.
Click to expand...
Click to collapse
That's awesome, I'm starting to grasp how much of a genius Mauronofrio is, after so many people referencing his work.
In his guide, he says, "These ROMs can't be used to update or downgrade your phone but just to restore your phone, so don't use them to come back to oreo or to update from oreo to pie." This may be a dumb question, but how do I know which zip/OOS version to flash, when I don't have a functioning OS on my phone?
5xonlineage said:
That's awesome, I'm starting to grasp how much of a genius Mauronofrio is, after so many people referencing his work.
In his guide, he says, "These ROMs can't be used to update or downgrade your phone but just to restore your phone, so don't use them to come back to oreo or to update from oreo to pie." This may be a dumb question, but how do I know which zip/OOS version to flash, when I don't have a functioning OS on my phone?
Click to expand...
Click to collapse
I talked with Mauronofrio in pm and he said me that you could solve your issue simply flash the ROM you want and format data after flash that one. Remember that your internal will be wiped but it would happen in any scenario we talked.
Magisk, boot img?
°Washy said:
I talked with Mauronofrio in pm and he said me that you could solve your issue simply flash the ROM you want and format data after flash that one. Remember that your internal will be wiped but it would happen in any scenario we talked.
Click to expand...
Click to collapse
That worked! And starstruck that you were able to check that with him. I flashed Mauronofrio's fastboot ROM for 10.3.2 and it rebooted (WOW). I clicked through the Google setup pages and checked that my data and wifi worked.
I then went back into fastboot, booted M's twrp img, fomatted data, and then installed twrp-3.3.1-x_blu_spark_v9.109_op6.zip, rebooted into recovery.
Then I think I made a mistake, because I installed Magisk-v20.4.zip. It succeeded, but now I can't boot into system anymore. Is it too late to flash the 10.3.2 boot.img?
5xonlineage said:
That worked! And starstruck that you were able to check that with him. I flashed Mauronofrio's fastboot ROM for 10.3.2 and it rebooted (WOW). I clicked through the Google setup pages and checked that my data and wifi worked.
I then went back into fastboot, booted M's twrp img, fomatted data, and then installed twrp-3.3.1-x_blu_spark_v9.109_op6.zip, rebooted into recovery.
Then I think I made a mistake, because I installed Magisk-v20.4.zip. It succeeded, but now I can't boot into system anymore. Is it too late to flash the 10.3.2 boot.img?
Click to expand...
Click to collapse
No. Just flash stock boot image if magisk broke something.
Rooted
°Washy said:
No. Just flash stock boot image if magisk broke something.
Click to expand...
Click to collapse
I ended up following the guide to Magisk Root without TWRP for OnePlus 6 Oxygen OS https://forum.xda-developers.com/oneplus-6/how-to/patched-boot-image-magisk-16-7-beta-t3818853 since it was referenced by Mauronofrio's post for having issues getting his TWRP to work with latest Magisk.
Someone posted a patched boot.img for 10.3.2, so now I'm rooted without TWRP. Priorities. Now all I need is for special characters and emojis to work Will keep an eye on other threads.
I'm learning a lot, thanks so much for all your help. You pointed me in the right direction when I was not sure what the hell to do!
5xonlineage said:
I ended up following the guide to Magisk Root without TWRP for OnePlus 6 Oxygen OS https://forum.xda-developers.com/oneplus-6/how-to/patched-boot-image-magisk-16-7-beta-t3818853 since it was referenced by Mauronofrio's post for having issues getting his TWRP to work with latest Magisk.
Someone posted a patched boot.img for 10.3.2, so now I'm rooted without TWRP. Priorities. Now all I need is for special characters and emojis to work Will keep an eye on other threads.
I'm learning a lot, thanks so much for all your help. You pointed me in the right direction when I was not sure what the hell to do!
Click to expand...
Click to collapse
I followed that thread for the first A10 release cause there wasn't a worked twrp yet. You are welcome man, when I feel myself usefull I always try to help.

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 ?

unable to come in recovery

Hello,
I'm unable to come in recovery.
After English>Advanced>Boot in recovery
it always comes back in the main screen where you must choose language.
My OP6 seems to be encrypted (however I dit not choose for).
OS 10.3.5
I use Magisk 20.4
How to solve this?
Greetings,
Hans
hansare said:
Hello,
I'm unable to come in recovery.
After English>Advanced>Boot in recovery
it always comes back in the main screen where you must choose language.
My OP6 is decrypted (however I dit not choose for).
OS 10.3.5
I use Magisk 20.4
How to solve this?
Greetings,
Hans
Click to expand...
Click to collapse
I think you are in soft brick. Use the Tool AIO by mauro and flash recovery.img via fastboot.
Wrong place...this is roms and kernels section, next time post it in question's section...
Huh?
This is Q&A section.
hansare said:
Huh?
This is Q&A section.
Click to expand...
Click to collapse
Even made me go back and look! LOL ?
tiga016 said:
I think you are in soft brick. Use the Tool AIO by mauro and flash recovery.img via fastboot.
Click to expand...
Click to collapse
Fastboot means adb for me.
How does this work with AIO? I can't find a detailed instruction.
Thanks in advance.
hansare said:
Fastboot means adb for me.
How does this work with AIO? I can't find a detailed instruction.
Thanks in advance.
Click to expand...
Click to collapse
According to their website flashing stock recovery with AIO isn't possible for OP6.
Whatever the reason may be.
Moreover I miss general instructions how to use AIO.
Anyone a solution for my problem?
hansare said:
According to their website flashing stock recovery with AIO isn't possible for OP6.
Whatever the reason may be.
Moreover I miss general instructions how to use AIO.
Anyone a solution for my problem?
Click to expand...
Click to collapse
If you have adb,
Try 'adb reboot bootloader'
You'll get to fastboot
Download TWRP img on your pc and twrp zip on your phone
'fastboot boot twrp.img'
You'll be booted to TWRP
Flash twrp.zip to install twrp from booted twrp
Read Rooting n TWRP threads for more details.
Edit: My bad. I missed that you need stock recovery. TWRP may be better option though. IIRC, you can get stock recovery by flashing unmodified boot.img of whatever oos version you are on, but try at your own risk. Also if nothing works, you should backup your data and use msm download tool to restore your phone to factory state.
Thanks.
I want to have back the ability to go into recovery (stock or custom doesn't matter).
Are you sure you're suggestion is the solution?
Could it be an encryption problem which blocks whatever recovery?
hansare said:
Thanks.
I want to have back the ability to go into recovery (stock or custom doesn't matter).
Are you sure you're suggestion is the solution?
Could it be an encryption problem which blocks whatever recovery?
Click to expand...
Click to collapse
As you mentioned in the first post that you are already decrypted, then it shouldn't be a problem.
Anyways you can use mauronofrio TWRP for decryption support (it will ask you for pattern or pass).
As my solution is only valid if you can access your sdcard from twrp, you can try it risk free.
The command "fastboot boot twrp.img" only boots the recovery, doesn't flash it. So it's pretty safe to try.
And to save all the hassle, just backup all data and restore your phone to factory settings using MsmDownload Tool.
Thank you very much.
In first posting I made a stupid mistake. My OP6 seems to be encrypted as it asks for pass when I try to boot in recovery.
As I understand your last post AIO will ask for pass when I boot twrp, correct?
Then I'm booted in twrp and have to flash twrp.zip but is that possible with an encrypted device?
Basic question.
I did not permit for encryption. How is it possible that the device still is?
Deleted because twice.
hansare said:
Thank you very much.
In first posting I made a stupid mistake. My OP6 seems to be encrypted as it asks for pass when I try to boot in recovery.
As I understand your last post AIO will ask for pass when I boot twrp, correct?
Then I'm booted in twrp and have to flash twrp.zip but is that possible with an encrypted device?
Basic question.
I did not permit for encryption. How is it possible that the device still is?
Click to expand...
Click to collapse
Every Device is encrypted by default. It usually is your lockscreen password. Just enter the same password in twrp and you'll be able to access the files.
Aslo it's not AIO that asks password. It is twrp which will ask you password if you have one set i.e. your lockscreen password/pattern.

Categories

Resources