TRWP is still coming back with password prompt - ONE Q&A, Help & Troubleshooting

Hi, I have a problem with TWRP.
I encontered on a bug in TWRP, which ask for a password, despite there is no any screen lock chosen. I can't mount partitions in recovery because password doesn't match. "default_password" doesn't work.
Now I erased all partition except "boot" under fastboot, installed new TWRP to recovery, but it still ask for a password.
I tried "fastboot format recovery", but I couldn't:
Code:
Formatting is not supported for file system with type ''.
I use OnePlus One, last TWRP and last LineageOS.
Can you help me? Thanks

Maybe it will help someone.
I flashed recovery with TWRP 3.2.3-K1 and it works fine. TWRPs 3.2.3.0 and earlier didn't handle Android Pie's encryption.

Related

No Data Decryption before Recovery

Lately I have been having a problem where I would not get a prompt to type password to decrypt storage before entering TWRP. Initially when I encrypted the device booting into recovery functioned properly, but it doesn't now. I'm currently running XeononHD 8-6-13 and using 2.6.1 TWRP as a recovery. I have tried flashing different recoveries which did change anything. Has anyone else experienced this issue?

TWRP 2.8.6.0 can't decrypt phone. How to factory reset ?

Hey guys,
got a big problem. Got an encrypted and rooted One running Android 6.0.1 (Sultan CM13).
When I want to reboot into recovery I have to enter my pattern to decrypt the phone, but although I enter the right pattern, TWRP says it cant decrypt and mount my phone.
So my problem now is, I can't just do a factory reset, cause TWRP is bugged and via fastboot it always says "no permissions".
Help very appreciated!
Greetz
L0g4n said:
Hey guys,
got a big problem. Got an encrypted and rooted One running Android 6.0.1 (Sultan CM13).
When I want to reboot into recovery I have to enter my pattern to decrypt the phone, but although I enter the right pattern, TWRP says it cant decrypt and mount my phone.
So my problem now is, I can't just do a factory reset, cause TWRP is bugged and via fastboot it always says "no permissions".
Help very appreciated!
Greetz
Click to expand...
Click to collapse
Try running fastboot with root privileges if your on linux, which it sounds like.

Google Pixel (sailfish) TWRP install not working - failed to mount /system_root and /vendor

Hey all!
I've been trying to install TWRP on my google pixel (32 GB/ 4GB). It runs Android 10, has an encrypted filesystem and the boot loader is unlocked. I booted into fastboot mode, then used fastboot boot twrp.img to boot into TWRP and it worked perfectly fine. Then, after decrypting, I tried flashing the TWRP zip I had on my phone. But it failed to do so, giving these errors - Failed to mount /system_root (invalid argument); Failed to mount /vendor (invalid argument). When I checked the mounted partitions in TWRP, system and vendor were unchecked and I couldn't check them.
Next, I tried to use fastboot flash recovery to flash the TWRP image directly from fastboot but this didn't work either.
Finally, I tried to flash a TWRP image after booting to TWRP. I chose the install to recovery ramdisk option but it didn't install, giving me the same failed to mount errors.
So right now I'm stuck at this point. Any help will be really appreciated
Thanks
-Keith
keith-james said:
Hey all!
I've been trying to install TWRP on my google pixel (32 GB/ 4GB). It runs Android 10, has an encrypted filesystem and the boot loader is unlocked. I booted into fastboot mode, then used fastboot boot twrp.img to boot into TWRP and it worked perfectly fine. Then, after decrypting, I tried flashing the TWRP zip I had on my phone. But it failed to do so, giving these errors - Failed to mount /system_root (invalid argument); Failed to mount /vendor (invalid argument). When I checked the mounted partitions in TWRP, system and vendor were unchecked and I couldn't check them.
Next, I tried to use fastboot flash recovery to flash the TWRP image directly from fastboot but this didn't work either.
Finally, I tried to flash a TWRP image after booting to TWRP. I chose the install to recovery ramdisk option but it didn't install, giving me the same failed to mount errors.
So right now I'm stuck at this point. Any help will be really appreciated
Thanks
-Keith
Click to expand...
Click to collapse
You should indicate which image you are booting and flashing. There are several and from what I gather, not all are compatible with 10.
Tulsadiver said:
You should indicate which image you are booting and flashing. There are several and from what I gather, not all are compatible with 10.
Click to expand...
Click to collapse
Hello! Thank you so much for the reply. I was flashing and booting twrp 3.5.1_9-0 for sailfish.
keith-james said:
Hello! Thank you so much for the reply. I was flashing and booting twrp 3.5.1_9-0 for sailfish.
Click to expand...
Click to collapse
Try 3.3.0 instead (for both). The last I can find on my records that I used is 3.1.0.
Edit:
fastboot boot image
Flash twrp zip
Flash magisk zip
Reboot
Should be rooted with twrp installed.
This is how it used to work at least.
Okay I will try that out thank you!
Tulsadiver said:
Try 3.3.0 instead (for both). The last I can find on my records that I used is 3.1.0.
Edit:
fastboot boot image
Flash twrp zip
Flash magisk zip
Reboot
Should be rooted with twrp installed.
This is how it used to work at least.
Click to expand...
Click to collapse
Hey! I tried what you said, booted into twrp using fastboot. But when I entered my password to decrypt data it says "password failed, please try again". This did not happen when I used the other img.
keith-james said:
Hey! I tried what you said, booted into twrp using fastboot. But when I entered my password to decrypt data it says "password failed, please try again". This did not happen when I used the other img.
Click to expand...
Click to collapse
I read through the twrp thread. I don't think they ever got deception working on 10. Not by installing, just booting.
Tulsadiver said:
I read through the twrp thread. I don't think they ever got deception working on 10. Not by installing, just booting.
Click to expand...
Click to collapse
So should I install the img via fastboot?
keith-james said:
So should I install the img via fastboot?
Click to expand...
Click to collapse
I don't think you can on Android 10. You can try but I think people just booted twrp when they wanted to use it.
I think I'm having the same problem or at least a very similar one, I get the same errors in TWRP (started with ""fastboot boot twrp.img") saying unable to mount /system_root and /vendor but i am still told installation was successful anyway. Unfortunately, when I reboot to recovery, it seems to try and start TWRP but the phone restarts after the google boot logo and this will happen every time.
You can get the older verson of (temporary) TWRP Tulsadiver suggested using past the decrypting stage simply by removing your password/pin in settings > security > screen lock but using this version didn't help me at all.
I have tried going back to an earlier stock rom using google's images and trying to install TWRP again but this didn't work either.
Please let me know if you get anywhere with this.
I also have the same problem. It just saying unable to mount /system_root (Invalid argument)
And the /system is read-only,
I need to modify the files on /system partition, what should I do?
I've tried 3.4.0.0 and 3.3.0.0 and 3.6.9.0-9-0 but all failed.
Thank you all!
the-blind-bandit said:
I think I'm having the same problem or at least a very similar one, I get the same errors in TWRP (started with ""fastboot boot twrp.img") saying unable to mount /system_root and /vendor but i am still told installation was successful anyway. Unfortunately, when I reboot to recovery, it seems to try and start TWRP but the phone restarts after the google boot logo and this will happen every time.
You can get the older verson of (temporary) TWRP Tulsadiver suggested using past the decrypting stage simply by removing your password/pin in settings > security > screen lock but using this version didn't help me at all.
I have tried going back to an earlier stock rom using google's images and trying to install TWRP again but this didn't work either.
Please let me know if you get anywhere with this.
Click to expand...
Click to collapse
I have this problem too. Pixel sailfish on Android 10, tried to install TWRP zip file using the TWRP temp boot, and it will say unable to mount system_root and vendor but still successful, but unable to boot to recovery (restarts after Google boot logo).
Any idea how to install TWRP on Pixel with Android 10?

TWRP shows internal storage folders named as random letters.

I have a Redmi note 8 with MIUI 12 installed. Bootloader is unlocked and the phone is rooted.
When I try to flash TWRP recovery in fastboot mode using my PC, it successfully flashes and boots into the TWRP recovery. TWRP does not ask for any password for decrypting the files, and when I go to install>sdcard then the storage is all in random letters, completely unrecognizable.
I have tried a lot of tutorials on youtube but none of them worked. I tried flashing the latest version of TWRP, didn't work. I tried formatting all data and rebooting back into recovery mode, didn't work. (if you reboot to system after installing TWRP, the phone automatically deletes TWRP and the next time you open recovery mode you just get the default MI recovery, and you have to flash TWRP again to open TWRP recovery.) I tried almost everything on the internet but none of it worked. Is there any way I can make it ask for the decryption password? or have my files decrypted? I just need the TWRP for a one-time-use to install a custom ROM. I don't need it to be installed permanently, but no problem even if it does get installed permanently. I just want my custom ROM.
Please help
does that work?:
Boot into twrp, then
Code:
adb shell
twrp decrypt myPassword
(myPassword is your user password)
User699 said:
does that work?:
Boot into twrp, then
Code:
adb shell
twrp decrypt myPassword
(myPassword is your user password)
Click to expand...
Click to collapse
It didnt work, "failed to decrypt data" i typed the right password
#JKTheBaskieBoy said:
It didnt work, "failed to decrypt data" i typed the right password
Click to expand...
Click to collapse
Okay, interessting. What's the exact error?
However, since you only want to use twrp to flash a custom OS, you could try to boot twrp (without flashing)
Code:
fastboot boot twrp.img
and then wipe data via twrp and then install your custom OS. You can use sideload which should be located under "advanced" I guess.
Code:
adb sideload myCustomOS.zip
EDIT: Don't boot out of twrp before sideloading, since your os should encrypt everything again after wiping which makes it unpossible for twrp to decrypt again (at least in your case, since it failed for some reason).
If you booted out of twrp, just wipe again and then sideload.
the correct and recommend way to install TWRP is
Flash TWRP
Erase userdata partition <~ it's important to do this as soon as possible since booting your device would just encrypt everything again
Format userdata partition
by doing this you would be able to access data partition files and folder would not be random letters.
User699 said:
Okay, interessting. What's the exact error?
However, since you only want to use twrp to flash a custom OS, you could try to boot twrp (without flashing)
Code:
fastboot boot twrp.img
and then wipe data via twrp and then install your custom OS. You can use sideload which should be located under "advanced" I guess.
Code:
adb sideload myCustomOS.zip
EDIT: Don't boot out of twrp before sideloading, since your os should encrypt everything again after wiping which makes it unpossible for twrp to decrypt again (at least in your case, since it failed for some reason).
If you booted out of twrp, just wipe again and then sideload.
Click to expand...
Click to collapse
Sorry for the late reply. Earlier i just gave up on installing the custom ROM and continued with my stock from. Today a tried again, installed TWRP and turns out it is not showing random letters now. its all regular storage. i didn't even do anything to decrypt it lol it just fixed itself. Now I will install the room myself. Thank you for your help though
Ah sh** here we go again. So i installed the custom rom successfully and everything worked fine, the TWRP too. but when I tried to flash a magisk patched image (the image that I used to root my phone in MIUI) then it got stuck in the boot screen. I had to flash the stock fastboot rom again.. And as expected from my piece of **** that xiaomi calls a phone, TWRP will show encrypted folders, and does not ask for a password. Same problem. Rooted my phone again, using the magisk root image, and it worked like usual, the phone rooted. Now i am stuck again in this bs. I guess I will wait for about 4-5 days and continue using the phone like normal. Maybe it will work again this time. I will try your method here first
User699 said:
Okay, interessting. What's the exact error?
However, since you only want to use twrp to flash a custom OS, you could try to boot twrp (without flashing)
Code:
fastboot boot twrp.img
and then wipe data via twrp and then install your custom OS. You can use sideload which should be located under "advanced" I guess.
Code:
adb sideload myCustomOS.zip
EDIT: Don't boot out of twrp before sideloading, since your os should encrypt everything again after wiping which makes it unpossible for twrp to decrypt again (at least in your case, since it failed for some reason).
If you booted out of twrp, just wipe again and then sideload.
Click to expand...
Click to collapse
Okay i tried wiping the data, cache and dalvik but it shows a huge essay of "error opening xxx/xxxx" in red text. Data wipe failed.
See you after like 4-5 days... hopefully
Update. I finally found a solution. It took literal hours of experimenting to find this.
-Flashed the fastboot ROM of the phone
-Rooted the phone by flashing magisk patched image
-Flashed Inception kernel via FK kernel manager
-Rebooting after flashing the kernel, It will get stuck in a black screen with no text whatsoever (probably a bootloop)
-Installed TWRP (This time TWRP does not show encrypted letters), Wiped all data, Transferred the custom ROM zip to the phone (while in TWRP) and flashing the rom
-The rom is flashed successfully. On the first reboot you get greeted with another bootloop. Fortunately the phone booted into TWRP. This time the folders are encrypted again.
-Successfully wiped the data (advanced>wipe data). No errors in data wiping this time.
-A fully working Corvus OS setup appears on rebooting.
I think the whole TWRP problem was fixed by the custom kernel. Anyways I am finally done with this now. You probably enjoyed seeing all this xD
#JKTheBaskieBoy said:
Update. I finally found a solution. It took literal hours of experimenting to find this.
-Flashed the fastboot ROM of the phone
-Rooted the phone by flashing magisk patched image
-Flashed Inception kernel via FK kernel manager
-Rebooting after flashing the kernel, It will get stuck in a black screen with no text whatsoever (probably a bootloop)
-Installed TWRP (This time TWRP does not show encrypted letters), Wiped all data, Transferred the custom ROM zip to the phone (while in TWRP) and flashing the rom
-The rom is flashed successfully. On the first reboot you get greeted with another bootloop. Fortunately the phone booted into TWRP. This time the folders are encrypted again.
-Successfully wiped the data (advanced>wipe data). No errors in data wiping this time.
-A fully working Corvus OS setup appears on rebooting.
I think the whole TWRP problem was fixed by the custom kernel. Anyways I am finally done with this now. You probably enjoyed seeing all this xD
Click to expand...
Click to collapse
I like that you keep trying and finding a solution, even though you had to invest hours to make it work!
Let's hope it will work if you update the OS though – I'd actually suggest a backup of all of your data before you do an update in the future, just to be safe!
#JKTheBaskieBoy said:
I have a Redmi note 8 with MIUI 12 installed. Bootloader is unlocked and the phone is rooted.
When I try to flash TWRP recovery in fastboot mode using my PC, it successfully flashes and boots into the TWRP recovery. TWRP does not ask for any password for decrypting the files, and when I go to install>sdcard then the storage is all in random letters, completely unrecognizable.
I have tried a lot of tutorials on youtube but none of them worked. I tried flashing the latest version of TWRP, didn't work. I tried formatting all data and rebooting back into recovery mode, didn't work. (if you reboot to system after installing TWRP, the phone automatically deletes TWRP and the next time you open recovery mode you just get the default MI recovery, and you have to flash TWRP again to open TWRP recovery.) I tried almost everything on the internet but none of it worked. Is there any way I can make it ask for the decryption password? or have my files decrypted? I just need the TWRP for a one-time-use to install a custom ROM. I don't need it to be installed permanently, but no problem even if it does get installed permanently. I just want my custom ROM.
Please help
Click to expand...
Click to collapse
tell me how to turn off a smartphone with a non-working sensor?
you can still use adb push command from pc to transfer files to your phone :
adb push "nameoffile" /sdcard
(place the file in your adb folder) I was able to root a phone that had this issue using this technique.
I think u should flash dm verity becoz when i flashed the rom and flashed dm verity it worked fine

Stuck on TWRP / Fastboot

Hello,
I'm stuck on TWRP, no way to load Android.
TWRP wasn't reading the partition so I tried to repair, pass to EXT2 and back to EXT4.
All got stuck on TWRP, I could only go to fastboot, at boot it goes back to TWRP automatically. The message on TWRP console is :
"Android Rescue Party trigger! Possible solutions?
Either :
1) Wipe caches, and/or
2) Format data, and/or
3) Clean - Flash your ROM
The reported problem is:
"init_user0_failed"
Unable to decrypt FBE device."
TWRP version 3.6.2_12-MI10Ultra_v3.7_A12
First ROM present on device: xiaomi.eu_multi_MI10Ultra_22.6.15_v13-12-fastboot.zip
Second time I tried to flash with fastboot and XiaomiFlash the same ROM, successfully installed, but I was still stuck in the loop.
Third time I flashed xiaomi.eu_multi_MI10Ultra_22.6.29_v13-12.zip with TWRP, successfully, but I'm still stuck on the same loop, Android won't load.
Please I need help, I use the phone for work and actually I've been without for a whole day.
How can i fix TWRP possibly without lose all my apps and data?
sergio-bodyweb said:
Hello,
I'm stuck on TWRP, no way to load Android.
TWRP wasn't reading the partition so I tried to repair, pass to EXT2 and back to EXT4.
All got stuck on TWRP, I could only go to fastboot, at boot it goes back to TWRP automatically. The message on TWRP console is :
"Android Rescue Party trigger! Possible solutions?
Either :
1) Wipe caches, and/or
2) Format data, and/or
3) Clean - Flash your ROM
The reported problem is:
"init_user0_failed"
Unable to decrypt FBE device."
TWRP version 3.6.2_12-MI10Ultra_v3.7_A12
First ROM present on device: xiaomi.eu_multi_MI10Ultra_22.6.15_v13-12-fastboot.zip
Second time I tried to flash with fastboot and XiaomiFlash the same ROM, successfully installed, but I was still stuck in the loop.
Third time I flashed xiaomi.eu_multi_MI10Ultra_22.6.29_v13-12.zip with TWRP, successfully, but I'm still stuck on the same loop, Android won't load.
Please I need help, I use the phone for work and actually I've been without for a whole day.
How can i fix TWRP possibly without lose all my apps and data?
Click to expand...
Click to collapse
Afternoon matey, not to sure if this is helpful or not, may not be even specific to your device, but the error is the same error, so may shine a little light on the error.
Unable to decrypt FBE device
Plz anybody help this out... I unlocked bootloader, then immediately flashed Pitchblack recovery, then booted into recovery. Initially console shows decrypted FBE device with default password. But Encryption status : Encryped So I went into wipe...
forum.xda-developers.com
plegdroid said:
Afternoon matey, not to sure if this is helpful or not, may not be even specific to your device, but the error is the same error, so may shine a little light on the error.
Unable to decrypt FBE device
Plz anybody help this out... I unlocked bootloader, then immediately flashed Pitchblack recovery, then booted into recovery. Initially console shows decrypted FBE device with default password. But Encryption status : Encryped So I went into wipe...
forum.xda-developers.com
Click to expand...
Click to collapse
Forgot to add, would recommend reading the whole thread, you can then judge what actually works or not before trying
plegdroid said:
Forgot to add, would recommend reading the whole thread, you can then judge what actually works or not before trying
Click to expand...
Click to collapse
Of course, thx.

Categories

Resources