PIN to boot TWRP ask for password - encrypted phone? - Nexus 6P Q&A, Help & Troubleshooting

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.

Related

Enter password to decrypt storage. Help

Hello
After uploading new soft problem occurred. The phone prompts you to enter your password to decrypt storage. Never password is not typed and the phone does not encrypt. Help.
if you are using twrp , flash the stock recovery according to your software (lollipop/marshmallow) and format data then it shall work
diabolo24 said:
Hello
After uploading new soft problem occurred. The phone prompts you to enter your password to decrypt storage. Never password is not typed and the phone does not encrypt. Help.
Click to expand...
Click to collapse
If you have TWRP.....In wipe section there is an option format data
......Open that.....It will promot you to type "yes"
Type it and it will wipe your internal storage with removing encryption

Remove device encryption

Hi everybody, i would like to remove the devices encription under Security-Encryption
Under Encrypt device i've got Encrypted.
I've tried to restore to factory default, from recovery, from fastboot using format userdata, but, no way.
How i can remove the encryption?
My device is ZE552KL
Thanks
swet90 said:
Hi everybody, i would like to remove the devices encription under Security-Encryption
Under Encrypt device i've got Encrypted.
I've tried to restore to factory default, from recovery, from fastboot using format userdata, but, no way.
How i can remove the encryption?
My device is ZE552KL
Thanks
Click to expand...
Click to collapse
I had a same issue with this device, but I had some experiment.
If your device is unlocked, you can flash TWRP, boot to recovery, wipe, format data.
Backup your data first! It will erase all of your data (Very noob answer)
Totally careful, don't do this if you didn't want a unexpected things. Or something...
The ASUS Zenfone 3 comes shipped encrypted by default. This is required by Google's Play Services agreement for phone OEMs. You cannot remove decryption on the Zenfone 3 without using a custom ROM.
sensi277 said:
The ASUS Zenfone 3 comes shipped encrypted by default. This is required by Google's Play Services agreement for phone OEMs. You cannot remove decryption on the Zenfone 3 without using a custom ROM.
Click to expand...
Click to collapse
Thanks!
TWRP isn't allowing me to Mount my Storage because it's asking for a password I don't know.
ZeldaLinkAaron said:
TWRP isn't allowing me to Mount my Storage because it's asking for a password I don't know.
Click to expand...
Click to collapse
I'm having the same issue. I just got my daughter this phone (the 552KL?), downloaded the official Asus bootloader unlocker APK and ran it, then rebooted to the bootloader to flash TWRP.
TWRP installed, but wants a password to unlock it. Before the bootloader unlock, I did put her Google account on the phone, but the tool said it would completely wipe the phone. Either way, I tried her google account password, but it just says wrong password. Same thing when I tried to boot to system.
Any tips?
@Flapjack
Format through twrp
wang1chung said:
@Flapjack
Format through twrp
Click to expand...
Click to collapse
That's what I ended up doing. I got some help on another thread. The problem I'm having now is that I can't format /cache. It's really weird. If I do a full wipe on the phone, it says it can't format it. I even tried formatting it through fastboot ("fastboot erase cache" then "fastboot format cache"), which says "OKAY finished", but doesn't fix the issue when trying to wipe cache inside of TWRP.
This phone is flat out weird compared to other phones. I don't get the bootloader unlock screen. It doesn't seem to want to boot system... it just keeps going to TWRP. On the few times I have gotten to boot into system (after flashing Carbon 6.1 unofficial), it ends up hanging on a blank screen. Windows makes a sound that a new device is connected, so I'm guessing it's connecting in EDL mode or something (no devices show with a "fastboot devices" or a "adb devices").
I really don't know where to go from here. I'm used to working with Axons, Motorolas, and OnePlus phones. They just work.
@Flapjack
The cache issue is a glitch with the build of twrp, it's not a big deal. There's a workaround posted somewhere, can't remember. Just use the file browser and delete the files on it. I think there's only one file that isn't 0 bytes.
Have you flashed magisk?
Sometimes a full wipe (system/data) and then flashing the raw firmware helps. Try magisk first.
wang1chung said:
@Flapjack
The cache issue is a glitch with the build of twrp, it's not a big deal. There's a workaround posted somewhere, can't remember. Just use the file browser and delete the files on it. I think there's only one file that isn't 0 bytes.
Click to expand...
Click to collapse
So you're saying it doesn't need to be actually wiped, I just need to go into cache and delete all the files in there? How about getting it to boot to system? It just keeps booting to recovery. Not sure when it started that, as after the first time I flashed the ROM, I was able to get it to boot to system by pressing the power button when the "bootloader unlocked" screen came up. That isn't working now.
Have you flashed magisk?
Sometimes a full wipe (system/data) and then flashing the raw firmware helps. Try magisk first.
Click to expand...
Click to collapse
For my first non-stock ROM flash, I flashed the Oreo modem, Carbon 6.1 unofficial ROM, ARM64 Gapps nano, and Magisk 16.0... all at once. I tried booting and it looked like it was setting up... but as I mentioned, it just went to a blank screen. After trying a full wipe and seeing the "couldn't wipe cache" message, I figured that was why.
How will flashing Magisk help me with wiping the cache partition or getting the thing to boot right? Sorry for my ignorance.
Flapjack said:
So you're saying it doesn't need to be actually wiped, I just need to go into cache and delete all the files in there?
Click to expand...
Click to collapse
wiping/formatting cache is the same as deleting all the files. Wiping is easier but as I said, doesn't work at the moment.
Flapjack said:
How will flashing Magisk help me with wiping the cache partition or getting the thing to boot right? Sorry for my ignorance.
Click to expand...
Click to collapse
magisk won't help with cache, but it will remove the verity flag that is tripped from having twrp. From my experience, if I don't flash magisk, it'll bootloop.
Yeah.... absolutely nothing I do will get it to boot to system now. I've flashed the ROM and Magisk, but no matter what, it keeps booting to recovery.
There were two folders under /cache... "Lost&Found" and "recovery". I deleted both, but that didn't help.
---------- Post added 5th July 2018 at 12:40 AM ---------- Previous post was 4th July 2018 at 11:44 PM ----------
wang1chung said:
wiping/formatting cache is the same as deleting all the files. Wiping is easier but as I said, doesn't work at the moment.
Click to expand...
Click to collapse
So I take it I did it right? I would say it's "pretty much" the same. Formatting a partition is different than deleting files/folders in an existing partition. Still, if deleting the files/folders is good enough, then that rules out why the system wouldn't boot after the first ROM install attempt. It would also explain why "fastboot erase cache" seems to work, but TWRP still throws an error. Fastboot erase is probably working just fine.
magisk won't help with cache, but it will remove the verity flag that is tripped from having twrp. From my experience, if I don't flash magisk, it'll bootloop.
Click to expand...
Click to collapse
Is there a custom version of Magisk for this phone? I'm just installing the usual magisk 16.0 zip file you can get on their site, but it doesn't seem to be helping with the phone continuously booting into recovery. Is there a way to remove that verity flag via adb?
@Flapjack
Magisk modifies one of the partitions to get around the flag (I believe), not doable through adb.
Standard magisk off their site is fine
Try this:
Format system/data
Flash custom Rom
Flash magisk
"Wipe" cache and davlik
Reboot
OR
Flash the raw firmware
Flash twrp
Flash whichever custom Rom & gapps where needed
Flash magisk
Factory reset and "Wipe" cache and dalvik
Reboot
wang1chung said:
@Flapjack
Magisk modifies one of the partitions to get around the flag (I believe), not doable through adb.
Standard magisk off their site is fine
Try this:
Format system/data
Flash custom Rom
Flash magisk
"Wipe" cache and davlik
Reboot
Click to expand...
Click to collapse
No go. Still just boots into recovery. Here's what the boot screen looks like (then the Asus logo pops up, then recovery loads)
Code:
< More information :
Dm-Verity in EIO mode
Your device software can't be
checked for corruption. Please
lock the bootloader.
Visit this link on another device:
g.co/ABHg.co/placeholder
Your device will shutdown in 10 seconds
I can press the power button to boot immediately, or wait the 10 seconds... which just boots anyway (doesn't shut down). If I press the volume buttons, I get the following options menu:
Power off
Restart
Recovery
Fastboot
Back to previous page
Flash the raw firmware
Flash twrp
Flash whichever custom Rom & gapps where needed
Flash magisk
Factory reset and "Wipe" cache and dalvik
Reboot
Click to expand...
Click to collapse
I haven't tried this yet. Would this be the best guide to follow?
HOW-TO: Go back to Stock Rom on ZE552KL/ZE520KL
https://forum.xda-developers.com/zenfone-3/how-to/how-to-to-stock-rom-recovery-zenfone-3-t3666223
@Flapjack
That is the correct screen for an unlocked bootloader.
Try this guide for the raw firmware instead, and verify it boots to the OS. Then flash twrp and the rom again.
wang1chung said:
@Flapjack
That is the correct screen for an unlocked bootloader.
Try this guide for the raw firmware instead, and verify it boots to the OS. Then flash twrp and the rom again.
Click to expand...
Click to collapse
Grrr... no matter what I do, it won't flash. The guide says to put it in fastboot mode, but the flash tool won't detect it (even though "fastboot devices" shows it just fine). If I boot it to recovery, it'll show up in the tool, but never actually flashes (see screenshot).
Flapjack said:
Grrr... no matter what I do, it won't flash. The guide says to put it in fastboot mode, but the flash tool won't detect it (even though "fastboot devices" shows it just fine). If I boot it to recovery, it'll show up in the tool, but never actually flashes (see screenshot).
Click to expand...
Click to collapse
This is why I stopped using Windows. Maybe try disabling "driver signature verification"? Swap USB ports? My computer has some high power and low power USB ports, certain devices won't work properly in the low power ones. A couple of guides mentioned unplugging and re-plugging the USB.
wang1chung said:
This is why I stopped using Windows. Maybe try disabling "driver signature verification"? Swap USB ports? My computer has some high power and low power USB ports, certain devices won't work properly in the low power ones. A couple of guides mentioned unplugging and re-plugging the USB.
Click to expand...
Click to collapse
That's a good idea. I'm going through a powered hub right now, but who knows...
I'll try that as soon as I get home.
Ok, different computer. This is my laptop I normally use to flash.
This time, I can get it it to start to flash, but with a second or two, it throws an error (see attached).
Flapjack said:
Ok, different computer. This is my laptop I normally use to flash.
This time, I can get it it to start to flash, but with a second or two, it throws an error (see attached).
Click to expand...
Click to collapse
are you running ASUS flash tool with admin privileges?

How do I get TWRP to decrypt data?

I have a US996, which I unlocked via the official method through LG.
I tried setting a 4 digit PIN (including secure boot) and then entered that into TWRP, but it still couldn't decrypt data. How do I get this to work?
And if there's no way to get it to work, how do I disable forced encryption? Note that I didn't use DirtySanta.
push cancel when it asks a password and go to wipe then format data(not factory reset) then type yes.
me2151 said:
push cancel when it asks a password and go to wipe then format data(not factory reset) then type yes.
Click to expand...
Click to collapse
There's no need to disable dm-verity first?
dm verity get disabled when you install supersu afterward to root.
If you don't want to format data which will erase everything you can just flash the no dm verify zip

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

Unable to mount encrypted data partition when booting to TWRP recovery

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?

Categories

Resources