Just unlocked my bootloader and flashed a ROM. Every time I reboot the phone it will ask you for a password first before it can boot.
I searched it on google and said its a data encryption for new android versions
Is there any way to decrypt o to remove the password everyboot?
You enabled that when setting up your pin/password.
Change it back to none or swipe and setup your password again, and make sure required on boot is not selected!
You basically enabled encryption. Go into your custom recovery -> formate data. I recommend flashing Magisk (so you disable forced encryption & dm verity) or you can flash lazy flasher (search it on github or google).
If you do so your device gets formatted as well
Also, make sure to backup everything before formatting because everything will be deleted.
Related
I have tried several ROMs (Genesys, Imperial, RR, CM, stock) and can not seem to be able to encrypt my phone. I have done the
Code:
su
pkill -KILL daemonsu
exit
thing and the phone reboots but does not encrypt. I have even gone as far as installing the unrooted stock ROM and setting it up, then encrypting it, THEN rooting it. However, I get tons of FC's and can not enter in the password to decrypt the device.
Does anyone have any ideas on getting encryption working with a rooted device? And no, running pure unrooted stock is not an option.
It can be tricky. Very tricky. Try disabling/freezing SuperSU. Also try going into safemode, then try. I've done it before, it just took a ton of trying. Hold the power off button until you get to the menu. Then press and hold the off option. You should see an option for safe mode in a second or two.
Since SuperSU is a system app, I believe it still starts in SAFE MODE. Also, I couldn't find SuperSU in Titanium Backup even when "System" apps were checked so I couldn't freeze it.
I think I might have succeeded. Here's how I did it:
Download Genisys 3.8 & Genisys Theme 3.6
Reboot to recovery
Wipe system, data, cache, and dalvik (3 times)
Flash Genisys 3.8
Boot up and sign in
*OPTIONAL* Reboot to recovery and flash Genisys Theme 3.6 and reboot system
Open SuperSU and under Settings ---> Full Unroot (should reboot automatically, if not reboot manually)
Encrypt phone ---> Full encryption ---> set pin (DO NOT set boot up pin/password, only unlock pin/password/knock/pattern)
Verify encryption by going to Settings --> Security ---> Encrypt Phone (Should say "Encrypted")
*OPTIONAL* Encrypt SD Card
Reboot to recovery and flash UPDATE-SuperSU-v2.46.zip.
Reboot System
No guarantees, but this worked for me. Remember, DO NOT set the boot up pin because there are tons of FC's preventing you from entering your pin/password on this screen. Just set the lockscreen pin/password/knock/pattern.
I'm on 7.1.2 (June 2017 update, N2G47W), rooted with SuperSU 2.82). I would like to make TWRP (3.1.1-0) backups from time to time. This forces me to run unencrypted because I can't get TWRP to decrypt /data. Here is what I tried:
- start unencrypted, flash update, let it encrypt
- start unencrypted, encrypt through Settings, set a PIN
- start unencrypted, encrypt through Settings, set a password
Whatever I try to feed TWRP when it asks for a password ("default_password" without the quotes, the PIN, the password), it always says that it cannot decrypt /data.
Ok so i have a OnePlus 3 and it has an apparent glitch, im running a custom ROM, (shouldnt have anything to do with it... I would think) and whenever i try booting my phone it keeps asking for my encryption password, and so I enter in the password, and it keeps saying wrong password...
now when i boot into my recovery, it will ask me for the encryption password, and so i enter the same exact password again, and it successfully decrypts my data, it works.
now why would that work in recovery and not for the bootup sequence...?
I tried using my lockscreen PIN, the decryption password, the default decryption password, and still keeps giving me wrong password.
Android 7.1.2
PureNexus Rom
OnePlus 3
please help, thanks
Follow this and it should sort it out
In twrp, head to Advanced > File Manager, and go to the /data/system folder. Scroll down and find the two files with the .key extension. Delete both of them (by tapping on the file and then tapping the “Delete” button). Then, delete all the files containing the word locksettings.
So on my Nexus 5X, for example, I deleted the following files:
password.key
pattern.key
locksettings.db
locksettings.db-shm
locksettings.db-wal'
Try this.
nope didnt work back to same screen on boot
however i can take screenshots... LOL
Had same thing today but twrp was also not accepting my password so did a full wipe ,lpst all my data and not not using any lockscreen and fp because of fear of this happening again , i think magisk ask this if i flash su per su i will not get these things
Did you try the default password of password?
go to twrp and open file mangaer - data - system - delete locksettings.db and reboot
yep tried the defaults, did not work :*(
this didnt work for me
Factory Reset in TWRP (format data) should work.
I could only fix this by wiping the entire phone. FYI, entering the wrong password numerous times did not automatically wipe the phone. Instead it told me I had -5 (etc.) tries remaining. I never found out why exactly this whole thing happened.
If I had this problem try to format everything and reinstall. Before Backing Up
Always make nandroid backup after removing Secuirty and ensure that storage is un-encrypted for maximum ease.
I had the same thing, you or someone else must have encrypted your phone. When i encrypted my phone i never had the option to choose a password, so the next time i tryied getting into recovery it would ask me for a encryption password (which i never knew). Anws the only way to remove this was by full clean wipe and flash a new rom. P.S always backup before doing anything ?
Hello,
My phone gets automatically encrypted which forces me to delete all the data and flash rom via sidelod,
Even after doing that on fresh install it gets encrypted.
I found a guide on youtube but it is for android N but i'm using OB25 Oreo
please help me to decrypt my phone. so that I can easily flash other roms
That is what we call force encryption. Magisk and SuperSU both disable this by default. But it really shouldn't be a problem to flash a rom while being encrypted. Are you on the latest Bluspark TWRP? When switching roms it is always recommended to fully clean install anyway.
Encryption is not a problem with custom roms: a data wipe from TWRP can't remove it because the recovery delete content instead of doing a format, like happens in other partitions (i.e. /cache).
Just to keep encryption.
In fact if you choose to require pattern at bootup, even after a clean installation that pattern will be required with every rom.
If you want to remove encryption the solution could be a fastboot format userdata command via PC, or going to TWRP > Wipe > Advanced Wipe > Repair or change filesystem.
But OOS forces encryption at first boot, so to solve it, you need to install OOS together with Magisk.
I suggest you to install Magisk v14.2 beta, because v14.0 has systemless hosts issues with OxygenOS.
As recovery, nowadays only TWRP blu_spark v47 and upper version is compatible with OB25.
Oxygen OS encrypts the phone.
On Settings > Security, allways show me <phone encrypted> , on my phone. Never got pin or pasword.. My phone works with no restriction.
I installed RessurectionRemix and i followed the process i will describe now:
I was on 8.7.5 developer.
Flash MIUI from Mi Flash Tool just click on option Clean All, Let it flash and boot up, after it boots reboot to fastboot since you did only clean all it'll not relock BL.
Then flash twrp in fastboot. Go to wipe> advance> select everything (data, system, cache, dalvik, internal, vendor) everything. And swipe right.
Now keep in mind do not touch the format data option at all.
Now go to reboot menu and reboot to recovery after it boots back to recovery transfer the ROM and other files, flash and reboot system and you'll have 100% encrypted device.
Flash the rom
Flash gapps
After that process everything worked fine and the phone was encrypted. Almost instantly (5-10secs) after I power the phone it asked for password.
But i installed magisk through TWRP and since then it asks for password when the phone boots completely and asks the password just to unlock the lockscreen.
Inside settings it says phone is encrypted but my guess is, that it isn't encrypted.
How can i fix that? What is wrong in the process i followed? What is the correct process?
Thank you!
I guess those steps were for lineage os. For others, you've to format data to disable encryption.
i want to have encryption enabled.
I dont want encryption disabled.
What are you asking exactly?
If you go to
Settings - Security & Privacy - Encryption & Credentials - Under Encryption
Are you been offered the choice to encrypt phone? If your not then it is already encrypted.
Is it requesting a password to boot and also to unlock the device?
If you need password to boot, then you selected that as an option when setting up password.
Can be removed by changing your password to swipe/none and setup your password again.
If TWRP, can not decrypt the device, make sure your using the latest.
Why didn't you post your query in RR thread?
corkiejp said:
What are you asking exactly?
If you go to
Settings - Security & Privacy - Encryption & Credentials - Under Encryption
Are you been offered the choice to encrypt phone? If your not then it is already encrypted.
Is it requesting a password to boot and also to unlock the device?
If you need password to boot, then you selected that as an option when setting up password.
Can be removed by changing your password to swipe/none and setup your password again.
If TWRP, can not decrypt the device, make sure your using the latest.
Why didn't you post your query in RR thread?
Click to expand...
Click to collapse
I didnt post in RR because, i tried Aospextended and the same thing happened.
Thank you very much for the solution you gave!! I disabled screen lock,re-enable it with password and now it asks for passwoed on boot and on TWRP.
Thank you again!