Unable to mount encrypted data partition when booting to TWRP recovery - X Play Q&A, Help & Troubleshooting

I have LineageOS 17 on Moto X Play. My phone is rooted with magisk and encrypted. My screen is locked with pattern, but when i boot to TWRP recovery and enter the pattern to decrypt and mount the encrypted data partition i get: `Pattern failed, please try again!`, even if i enter the correct pattern. Why is this happening? I tried couple of times and i am sure i am entering the correct pattern.

Peter770 said:
I have LineageOS 17 on Moto X Play. My phone is rooted with magisk and encrypted. My screen is locked with pattern, but when i boot to TWRP recovery and enter the pattern to decrypt and mount the encrypted data partition i get: `Pattern failed, please try again!`, even if i enter the correct pattern. Why is this happening? I tried couple of times and i am sure i am entering the correct pattern.
Click to expand...
Click to collapse
If you have set a pin as security try putting that in.
If you haven't then you can do "password" or "default_password" (without quotes)

I changed the security lock to PIN and that worked, thanks.
Why this problem appear only for pattern lock?

Related

twrp 3.0 question

Hey Guys,
Not a total noob here, but its been awhile since i had a nexus and im clearly missing a step when, but i cant figure out what.
Got the nexus 6p, unlocked bootloader, and set the phone up (fingerprint, accounts, etc)
Decided i wanted to install twrp, so booted into bootloader and ran command: fastboot flash recovery twrp.img
rebooted phone, and tried to go into recovery, its asking for pattern to decrypt phone. i enter pattern, and its unable to decrpyt.
i try booting back to OS, changing from pattern to pin, and still have the same issue. now twrp asks for a pin, but its still unable to decrypt.
so i try to start over, flash factory images (MHC19I), and try again. same issue. im sure im missing something simple, your help would be much appreciated.
just read up that its the march security update thats causing this issue with twrp for those folks that are having the same issue.
TWRP just needs an update
Check here for an update
http://forum.xda-developers.com/nexus-6p/general/fyi-mhc19i-update-disables-data-t3333117

PIN to boot TWRP ask for password - encrypted phone?

Need help with this one:
Flash the latest RR Rom yesterday, with the latest OpenGapps, all fine. In the setup I decide to put a PIN on start, so to boot the phone I need to enter a PIN. When reboot the phone a window come up and ask for the code but... theres no keyboard or way to insert the code to boot the phone.
Decide then to reflasg the rom, so reboot the phone to recovery and in TWRP a window come up and ask for a password. Insert the PIN to boot the phone but says that the password was invalid. Hit cancel and go to the recovery but I can't acess to any internal storage, when try to Wipe anything an error apear: unable to mount storage".
I think the phone is encrypted. To solved this a need to format userdata and I will be allright?
I cant use the phone now. Sorry for my english.
_Drifter_ said:
Need help with this one:
Flash the latest RR Rom yesterday, with the latest OpenGapps, all fine. In the setup I decide to put a PIN on start, so to boot the phone I need to enter a PIN. When reboot the phone a window come up and ask for the code but... theres no keyboard or way to insert the code to boot the phone.
Decide then to reflasg the rom, so reboot the phone to recovery and in TWRP a window come up and ask for a password. Insert the PIN to boot the phone but says that the password was invalid. Hit cancel and go to the recovery but I can't acess to any internal storage, when try to Wipe anything an error apear: unable to mount storage".
I think the phone is encrypted. To solved this a need to format userdata and I will be allright?
I cant use the phone now. Sorry for my english.
Click to expand...
Click to collapse
Yeah it would appear that your phone has encrypted your internal storage. If you can still boot into the ROM, try setting another PIN, password or pattern and also check in Settings > Security > Encryption to see if it is indeed encrypted. If you changed the lockscreen security, try booting into TWRP again and try out your new password.
Otherwise, yes you will need to format userdata to remove encryption and make sure the ROM does not have it set to encrypt by default. (I thought that RR doesn't do that).
Problem solved, format userdata and reflash the all rom.

TWRP encrypt password???

I wanted to flash a ROM, so I wiped system etc, then flashed a TWRP img and after I reboot to TWRP it asks me to enter a encrpytion password , but I haven't set any!!! please help
The password is your PIN/password on Android.
If you have a pattern, you can switch to a PIN or password to decrypt the storage on TWRP, or you can type the password in this order:
-1 2 3-
-4 5 6-
-7 8 9-
For example, if my pattern is a "L", I would type on TWRP: 14789
EvilHowl said:
The password is your PIN/password on Android.
If you have a pattern, you can switch to a PIN or password to decrypt the storage on TWRP, or you can type the password in this order:
-1 2 3-
-4 5 6-
-7 8 9-
For example, if my pattern is a "L", I would type on TWRP: 14789
Click to expand...
Click to collapse
I tried this without success but thanks for the help.
I fixed it by flashing fulmics ROM. I got some errors while flashing but it booted and my files are still there
Hi, i have the same problem, i've just unlocked bootloader, (forgot to remove screen lock pin+imprint), installed TWRP. and keeps ask about password. The partition is encrypted in recovery.
I've tried to erase userdata from fastboot, wipe data and format data from twrp.
Any help how can i get rid of the encryption?
Should i lock and unlock the bootloader again?
After i've unlocked the bootloader i didn't boot normally in android and wanted to install twrp.
i come from Nexus devices and it's way more easier there!
erasing partition from fastboot make it have no filesystem or whatsoever and twrp sees that as encrypted filesystem . just press cancel or skip button at twrp encryption screen and it should show up twrp main menu. from there format data partition with ext4 and reboot. at least that's how I solved the problem. I highly recommend doing backup of your data first like photos , music etc. before messing with anything

Recover files from phone not booting, bootloader locked, no recovery installed

Is it possible to rescue data from an encrypted phone (copperheados installed) that won't boot?
I don't really know why it stopped booting other than the OS was complaining about 'low on space' on the SD card. Apps then started crashing and I simply tried a reboot. Which left me in a position with locked bootloader. Phone boots to encryption unlock which succeeds after providing the pin code but is then stuck on the copperheados boot-logo.
Can I recover my data (mainly photos) in any way?
I can get to copperheados recovery and the only available option is "adb sideload". But where can I find a copperheados image nowadays??? I'm guessing that is my only option?
Adb can't find the phone while on the pin code screen or in the bootloader screen. Only fastboot and I'm guessing unlocking it will make file recovery impossible??
I seem to manage to get into "sideload" in copperheados recovery. Maybe if there was an ota image I could download and sideload? None seem available though
Ofcourse I don't know what is actually stopping my device from booting.

Can't mount/decrypt data from TWRP

There was an update to EdXposed that has bricked my phone and put it into a boot loop, I'm trying to remove it. In order to do that, /data has to be decrypted and mounted from what I understand. I can boot into recovery (TWRP) but /data isn't being decrypted/mounted. I don't even see where to decrypt it.
I also tried "twrp decrypt" command from the shell but it's not accepting my password, which I figured out from here https://twrp.me/faq/openrecoveryscript.html because I have a pattern unlock. I get "Failed to decrypt data"
Got it working using Shreps recovery, which supports encryption
https://forum.xda-developers.com/mo...covery-twrp-3-0-2-r3-moto-g4-g4-plus-t3494337

Categories

Resources