My daughter unwittingly performed an OTA update with an unlocked bootloader and now gets the error "Decryption unsuccessful, the password you entered is correct, but unfortunately your data is corrupt." at startup. Before I wipe the device I'm wondering why when I boot with the stock recovery the password seems to decrypt properly if I use the correct password (no errors but there is no way to mount or backup the data partition) but if if temporarily boot with TWRP via fastboot the password does not seem to decrypt the device (I do receive a password failed error). Any information is appreciated.
In my view, there are some issues with the pie build which detects that the bootloader is unlocked. After this you may see decryption unsuccessful.
When I was on oreo 5.0.8, I had flashed nougat ROMs too by just flashing the nougat fw but now when I was using pie 9.0.2; I tried to flash sultan ROM which resulted in decryption unsuccessful.
In that case, we need to format the phone.
qizbot said:
My daughter unwittingly performed an OTA update with an unlocked bootloader and now gets the error "Decryption unsuccessful, the password you entered is correct, but unfortunately your data is corrupt." at startup. Before I wipe the device I'm wondering why when I boot with the stock recovery the password seems to decrypt properly if I use the correct password (no errors but there is no way to mount or backup the data partition) but if if temporarily boot with TWRP via fastboot the password does not seem to decrypt the device (I do receive a password failed error). Any information is appreciated.
Click to expand...
Click to collapse
Flash the modded firmware. See firmware thread for details: https://forum.xda-developers.com/showpost.php?p=79690946&postcount=592
Related
Hello,
Thought I would share my recent bad experience and the resulting solution.
My phone was on a GPE ROM, and I encrypted it for work reasons, encryption went smoothly, but once encrypted, it was impossible to go into recovery with the encrypted partitions visible (hence impossible to flash a new rom or even do a factory reset which is the only - or so I thought - way to remove encryption).
After many attempts including flashing the latest TWRP (not solved yet, they say 2.7 should include a solution) I was still getting the "unable to decrypt phone" error after entering the password (which works perfectly on regular boot) in TWRP.
Eventually, through a lucky mistake, I found the solution, at one point I mistakenly re-locked my phone (fastboot oem lock), later when I was trying to flash a stock recovery I realized I had to unlock it again... well, unlocking it through HTCdev automatically does a factory reset, regardless of the encryption!
viola, problem solved!
I encrypted my phone with ACIP 10 Rom with a 4 digit pin. Now I wanted to change back to a sense based rom, ARHD 93 to be precise, and performed a fullwipe including internal storage after flashing rom and kernel. After rebooting the rom asks for a password to decrypt the phone and even though the pw works perfectly fine to decrypt the phone in TWRP, it won't work on the sense dialogue. I entered settings and enabled usb debugging but the device won't show up on my pc (still decrypted). Unfortunatly fastboot is broke on my phone.
Has anyone had similar problems with decrypting or knows if it is possible to decrypt the device from TWRP?
Relixx said:
I encrypted my phone with ACIP 10 Rom with a 4 digit pin. Now I wanted to change back to a sense based rom, ARHD 93 to be precise, and performed a fullwipe including internal storage after flashing rom and kernel. After rebooting the rom asks for a password to decrypt the phone and even though the pw works perfectly fine to decrypt the phone in TWRP, it won't work on the sense dialogue. I entered settings and enabled usb debugging but the device won't show up on my pc (still decrypted). Unfortunatly fastboot is broke on my phone.
Has anyone had similar problems with decrypting or knows if it is possible to decrypt the device from TWRP?
Click to expand...
Click to collapse
Do a factory reset using the stock recovery (not twrp), then wipe and clean install your rom again and you should be fine. But first, fix your fastboo problem since you'll need it to flash the stock recovery.
alray said:
Do a factory reset using the stock recovery (not twrp), then wipe and clean install your rom again and you should be fine. But first, fix your fastboo problem since you'll need it to flash the stock recovery.
Click to expand...
Click to collapse
Thanks for your help! I'm still stuck on the fastboot issue. Tried it on several different pcs with win 7,8 & 10. ADB command boot to fastboot mode works, after the phone enters the mode the connection is lost. Could this be the result of a faulty microusb port on the phone? Or is the problem soley on the software side?
Solved:Didn't fix the fastboot problem, but this wasn't necessary. Instead of a factory rest go twrp Wipe - >Format Data. This completely removed the encryption and thus I can use the phone again
Hi all,
What happens if you take a stock 3T, upgrade it all the way to Nougat the normal way, then proceed to unlock the bootloader, flash TWRP and supersu?
Does the TWRP 3.0.3.0 build have an issue with decrypting and mouting the sdcard? Is that even a problem in the sense of waiting until a fixed version of TWRP is released? The point is to just flash supersu for the moment. No other need to access that partition from recovery, is there? Or does it directly impact my ability to upgrade TWRP in the future?
And another question: would decrypting the phone after the stock to Nougat update, and only then flashing TWRP&root be of any use? Is this even possible at the moment? I can hold on without encryption until there's a proper version of TWRP, kernel sources are released etc.
I don't seem to find any info on these scenarios. Has anyone tried any of this?
Thank you!
Good questions.
Does the TWRP 3.0.3.0 build have an issue with decrypting and mouting the sdcard?
Click to expand...
Click to collapse
I can confirm 3.0.3.0 has problems with decrypting and mounting sdcard. A new version of TWRP should fix this.
No other need to access that partition from recovery, is there?
Click to expand...
Click to collapse
Well, the need to access partition from recovery depends. You won't be able to flash anything from TWRP. I could sideload different recoveries without decrypting but had to decrypt (with the format userdata command from cmd prompt) to revert to 3.5.4 from TWRP. In the end I mostly downgraded due to bluetooth issues.
I am having the same decryption issue... TWRP shows 0MB as the storage
What should be done now..?
you can get past encryption by formating data in twrp, though that deletes all your data, back ups and everything, but with that you have the phone completely rooted and then you can download or transfer data via mtp to storage, flash super su and verity.
Amar97 said:
you can get past encryption by formating data in twrp, though that deletes all your data, back ups and everything, but with that you have the phone completely rooted and then you can download or transfer data via mtp to storage, flash super su and verity.
Click to expand...
Click to collapse
Did that already but did not work.. Even tried the setting up of pattern method.. that too did not work...
Also force decrypted with Toolkit but still the same
just to make sure. flash twrp via fastboot( I flashed the 3.0.2.0 version) then when booting to twrp you get get the screen where it asks you for a password, skip that , just swipe to continue then go to wipe, then format data, type "yes" to confirm, the at the next booting it shouldn't ask you for the password anymore. That did it for me. Maybe you should try adb sideload to flash verity.img and supersu
Amar97 said:
just to make sure. flash twrp via fastboot( I flashed the 3.0.2.0 version) then when booting to twrp you get get the screen where it asks you for a password, skip that , just swipe to continue then go to wipe, then format data, type "yes" to confirm, the at the next booting it shouldn't ask you for the password anymore. That did it for me. Maybe you should try adb sideload to flash verity.img and supersu
Click to expand...
Click to collapse
why not use 3.0.3.0?
Solnir said:
why not use 3.0.3.0?
Click to expand...
Click to collapse
Don't really know, probably tried solving the problem by trying with the older version and then didn't feel like upgrading to the newer 3.0 after fixing the problem.
I have the XT 1805
This is the European Dual Sim version 32GB.
I unlocked the bootloader and got root using this: https://forum.xda-developers.com/moto-g5s-plus/development/root-moto-g5s-plus-t3673287
I was unsuccessful flashing the TWRP recovery from the link in the OP. Other people in that that thread noted similar issues. I flashed TWRP from this link:
https://forum.xda-developers.com/showpost.php?p=74105503&postcount=27
Whenever the phone boots, it boots directly to TWRP.
I also enabled encryption.
TWRP says the encryption password is incorrect.
When I cancel the ready process, I can go into TWRP and boot to bootloader from TWRP.
From the bootloader/fastboot screen I can boot into system.
I don't want to jump through these hoops every time I reboot. How do I fix this?
Also, I cannot factory reset. Factory reset takes me to TWRP. After I do the bootloader dance, I'm back to the system before the factory reset. It's as if factory reset never happened.
crobjam said:
I have the XT 1805
This is the European Dual Sim version 32GB.
I unlocked the bootloader and got root using this: https://forum.xda-developers.com/moto-g5s-plus/development/root-moto-g5s-plus-t3673287
I was unsuccessful flashing the TWRP recovery from the link in the OP. Other people in that that thread noted similar issues. I flashed TWRP from this link:
https://forum.xda-developers.com/showpost.php?p=74105503&postcount=27
Whenever the phone boots, it boots directly to TWRP.
I also enabled encryption.
TWRP says the encryption password is incorrect.
When I cancel the ready process, I can go into TWRP and boot to bootloader from TWRP.
From the bootloader/fastboot screen I can boot into system.
I don't want to jump through these hoops every time I reboot. How do I fix this?
Also, I cannot factory reset. Factory reset takes me to TWRP. After I do the bootloader dance, I'm back to the system before the factory reset. It's as if factory reset never happened.
Click to expand...
Click to collapse
First of all we need to make a fresh start so
1) let's flash the stock ROM on our device
2) now once we are on stock it time we flash a valid TWRP recovery file here's the link : https://forum.xda-developers.com/moto-g5s-plus/development/recovery-twrp-3-1-1-r7-t3694910
3) once it's done let's boot to the recovery and if it asks for any password or pin let's cancel it and swipe to allow modifications now let's go into wipe section > format data > type yes.
4) once it's done let's go to reboot section and reboot to recovery. Once again let's boot back to recovery if we get any red lines highlighting " unable to mount system " so to fix it let's go to mount and mount system,data and now flash magisk or super su if we want root or straight away flash a custom ROM due to this atleast we will not get a system status modified in our bootloader
Thanks for reading .
I am unable to decrypt storage in TWRP recovery, I used the device password, "default_password" no password and even tried my xiaomi account password! nothing works! removed all security from the device and tried again, still nothing. deleted everything, flashed again and i was able access phone storage from TWRP but as soon as i booted my phone and set it up it got encrypted again and wouldnt mount. I cannot flash or sideload anything using twrp, even from an external usb stick. I can flash roms that have fastboot script files but I cant even update a rom OTA since it reboots to the stock recovery and that doesnt have the option to update anymore.
how to do i go about and mount storage in twrp? or flash OTA updates? or even create fastboot script files for OTA update packages to be able to install them?
MiSuite also doesnt work since it requires me to update to the latest version.
Im flashing TWRP 3.7
Running MIUI 13.09 EU
thanks!
mokhabarat said:
I am unable to decrypt storage in TWRP recovery, I used the device password, "default_password" no password and even tried my xiaomi account password! nothing works! removed all security from the device and tried again, still nothing. deleted everything, flashed again and i was able access phone storage from TWRP but as soon as i booted my phone and set it up it got encrypted again and wouldnt mount. I cannot flash or sideload anything using twrp, even from an external usb stick. I can flash roms that have fastboot script files but I cant even update a rom OTA since it reboots to the stock recovery and that doesnt have the option to update anymore.
how to do i go about and mount storage in twrp? or flash OTA updates? or even create fastboot script files for OTA update packages to be able to install them?
MiSuite also doesnt work since it requires me to update to the latest version.
Im flashing TWRP 3.7
Running MIUI 13.09 EU
thanks!
Click to expand...
Click to collapse
Check that you are using the latest TWRP, A12 or A13 depending on the rom you want to install.
Normally by formatting the data you can install the rom with the TWRP.
Twrp/wipe format data type yes/reboot twrp/flash rom.
Try to install xiaomi.eu_multi_MI11Pro_MI11Ultra_V13.0.12.0.SKACNXM_v13-12-fastboot.zip then update via OTA.
NOSS8 said:
Check that you are using the latest TWRP, A12 or A13 depending on the rom you want to install.
Normally by formatting the data you can install the rom with the TWRP.
Twrp/wipe format data type yes/reboot twrp/flash rom.
Try to install xiaomi.eu_multi_MI11Pro_MI11Ultra_V13.0.12.0.SKACNXM_v13-12-fastboot.zip then update via OTA.
Click to expand...
Click to collapse
just check my twrp version its 3.7.0_11 eo im assuming its not the latest version...ill flash the new one and see. i'm trying to get away without a full wipe since ive done that twice already and always end up getting encrypted again right after i install a rom
NOSS8 said:
Check that you are using the latest TWRP, A12 or A13 depending on the rom you want to install.
Normally by formatting the data you can install the rom with the TWRP.
Twrp/wipe format data type yes/reboot twrp/flash rom.
Try to install xiaomi.eu_multi_MI11Pro_MI11Ultra_V13.0.12.0.SKACNXM_v13-12-fastboot.zip then update via OTA.
Click to expand...
Click to collapse
IT WORKED!!! I just booted to the TWRP version you pointed me to and used my device password and the data got decrypted immediately!
Thanks!