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
Related
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.
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
SOLVED:
In TWRP I went WIPE > FORMAT DATA
The format failed with error 255 (with many more errors relating to encryption and mounting of /data) and /data would no longer mount
Noticed that the failed format had changed the file system of /data from ext4 to f2fs
Used WIPE > ADVANCED WIPE > REPAIR OR CHANGE FILE SYSTEM to change /data back to ext4
Bob's your uncle
Original issue:
Currently my device is fully functional except that in Android settings under "Security" it indicates that my phone is encrypted. When booting TWRP the console says:
Code:
Data successfully decrypted, new block device: '/dev/block/dm-0'
Updating partition details...
...done
Successfully decrypted with default password.
Updating partition details...
...done
Full SELinux support is present.
MTP Enabled
Here's how I got here:
-Device arrived yesterday with B29 installed
-Took official OTA to B15
-Unlocked bootloader using the Axon7Toolkit (flashes the unlock EDL file via MiFlash and issues a "fastboot oem unlock" command)
-Flashed TWRP 3.1.1-0 via "fastboot flash" command
-Flashed B19 bootstack and system from post #4 of this thread: https://forum.xda-developers.com/axon-7/development/bad-boyz-zte-axon-7-rom-m-magisk-root-t3543201 (in preparation for Bad Boyz ROM)
-TWRP reported that no OS was installed when attempting to reboot system. Tried to boot system anyways. No boot. Reflashed the above mentioned B19 system. Same as before, no boot.
-Flashed stock recovery
-Used the update.zip file provided by ZTE to flash B19 in stock recovery
-Tried to reboot to fastboot so I could flash TWRP. It just rebooted after selecting the fastboot option.
-Used the test adb and fastboot option in Axon7Toolkit. Toolkit told me that access to fastboot may be locked out due to an incorrect partition flag. It suggested that I use the bootloader unlock option. I followed the prompts again and used MiFlash to flash that EDL file that enables certain fastboot commands. Instead of continuing the bootloader unlock process in the Toolkit (which would have issued a 'fastboot oem unlock' command) I exited the toolkit after flashing the EDL file.
-Flashing that EDL file did enable me to boot to fastboot. However when I booted the system I was asked for a PIN to decrypt data. When I rebooted to TWRP I was asked for a PIN as well.
-Used the "Restore to stock" option in Axon7Toolkit (flashed the full B19 EDL via MiFlash)
-Device now boots both recovery and the system without asking for a PIN. However, as mentioned above, both Android and TWRP say the device is encrypted. (this is the current state of the device)
I'm not sure that this adversely effects me beyond not being able to actually encrypt my phone but I would still like to fix it. I'm might be returning this phone and I'd like to send it back the way I got it. Even if I keep it, leaving it pseudo-encrypted would bug me. How do I fix this please? I made sure that before I started installing things via recovery that I removed my fingerprint and PIN.
Doc Ames said:
Currently my device is fully functional except that in Android settings under "Security" it indicates that my phone is encrypted.
Click to expand...
Click to collapse
You could do a full backup in TWRP and wipe the data partition. After that you can restore the backup. If you have no PIN or gesture unlock enabled, then it should boot fine. Otherwise you should delete the locksettings.db* files in /system/data in TWRP.
Sent from my ZTE A2017U using Tapatalk
DaCashFlow said:
You could do a full backup in TWRP and wipe the data partition. After that you can restore the backup. If you have no PIN or gesture unlock enabled, then it should boot fine. Otherwise you should delete the locksettings.db* files in /system/data in TWRP.
Sent from my ZTE A2017U using Tapatalk
Click to expand...
Click to collapse
Thank you for the reply. I ended up having to format /data in TWRP. See above.
my security lock was pattern and there is no option when i flashed a rom to enter pattern.. it wants password.. how to fix it? Reset phone is not working..
Boot To Twrp , Then Find Format Data On "Wipe" , Click Format Data Then Type "yes" , do it on your system partition , if a is your system partition then format data on a
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?