Hello,
So I upgraded from 5.9.020s to 5.9.026s (official rom), and now I have an issue with the lock pin code.
My fingerprints works fine, but the pin password doesn't work anymore (I type my password, it says it's the wrong password).
Now I cannot add or remove fingerprint anymore, how can I reinitialize this pin password?
Ok, I found the solution.
Reboot to TWRP, go into File Manager in folder /data/system, and delete those files:
* gatekeeper.password.key
* gatekeeper.pattern.key
* locksettings.db-wal
* locksettings.db-shm
* locksettings.db
Reboot, and then there is no pin code anymore, you can just swipe to unlock. Go to setting and set it up again.
Related
Since, I am rooted and I have several wifi password connected with it but later when I tried to see the pass from several wifi password apps and from the ES file explorer- data/misc/wifi- WPA_supplicant.conf it shows the long digit as password. Its in encrypted form and Now I am unable to read it out and connect to another device. Plz help me to decrypt or fix this issue!! Currently I am in Android 4.4.2 kitkat baseband XXUGNH6. -Thank you!!
I think it is impossible to decrypt passwords that are already stored in the wpa_supplicant.conf file. But you can edit your build.prop file (located in system folder) and change
Code:
ro.securestorage.support=true
to
Code:
ro.securestorage.support=false
Then reboot your device. By doing this, all stored passwords will be cleared and you will have to connect to Wi-Fi networks again. Therefore, you will be able to see passwords decrypted in your wpa_supplicant.conf file.
No sir! It didn't worked.. the password still SHOWING= 7a141b181315013c8684cbacfe71362d :'(
I tried it too. It didnt work.i have a galaxy j5 prime.
Recently when i restored my data using TWRP i faced a problem at lock screen.
I was not able to unlock my phone with the pin i set Earlier..So after so many attempts i was able to find a solution for that problem.(works with pattern,pin etc)
Requirements
-----------------
1. A phone That cant be unlocked witha your Pin/Pattern
2.Any custom recovery installed(TWRP i will say)..Get TWRP from https://twrp.me/Devices/
Steps
-------
1.Once You installed twrp boot into recovery mode.
2.Go to advanced>filemanager to acces the files in your phone.
3.Ggo 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.
password.key
pattern.key
locksettings.db
locksettings.db-shm
locksettings.db-wal
Once you�ve deleted all the key and locksettings files, reboot your system. If it asks you to install SuperSU, choose �Do Not Install�.
Once Android starts, your lock screen should appear, with no PIN or password prompt. Unlock your phone (yay!) and head to Android�s Settings. Scroll down and go to Security > Screen Lock. From there, you can choose a new PIN or password to lock your phone.
Hope this helped you..Hot Thanks if this was helpful
I have created recovery flashable zip for this issue.
SG3 said:
I have created recovery flashable zip for this issue.
Click to expand...
Click to collapse
Well done bro ?
Thanks dude, you save my data with very simple trick....
no TRW installed
I am not sure whether TRW is installed in my phone. It's in locked state now. What else can be done ? I do not want to lose the data (photos). Some important photos are there. I have Redmi Y2 phone and it's pattern locked. I forgot the pattern. please help.
Well in my case, the file i deleted named "locksetting.db" in /data/system
thank you so so much its so helpful
I am also facing same issue. Did you get any solution ?
Thanks
LABM said:
I am not sure whether TRW is installed in my phone. It's in locked state now. What else can be done ? I do not want to lose the data (photos). Some important photos are there. I have Redmi Y2 phone and it's pattern locked. I forgot the pattern. please help.
Click to expand...
Click to collapse
I had changed my password today on my January patch Oreo device with Magisk installed, and it had encrypted my device. After the reboot, my device had gone into a bootloop, and now after flashing the stock system image, it shows "Decryption failed" stating that although my password was correct, the data was corrupted. However, it does not ask me for a password when booting, unlike TWRP, which allowed my to access my data after entering my PIN.
As this is my primary phone and a lot of data such as 2FA keys are stored on it, is there a possibility of recovering my system without erasing the data?
Checking back in to say that I've managed to fix the phone with little to no loss of data.
For reference to those who might also have a similar problem, here's what I did:
1) Boot into TWRP.
2) Backed up data partition in TWRP, and copied backup to computer.
3) Backed up
Code:
/sdcard/
by copying every file manually to computer.
4) Ran
Code:
fastboot format userdata
. WARNING: THIS WILL DELETE YOUR DATA.
5) Boot into system, an "ERASING" screen should show for a second, then boot into system initial setup.
6) Reboot into TWRP.
7) Restore data partition backup.
8) Copy files back to
Code:
/sdcard/
.
9) Reboot into system.
Note: Phone did not accept my PIN, needed to remove password through TWRP like so:
1) Boot into TWRP.
2) Head to Advanced, then File Manager.
3) Go to
Code:
/data/system
4) Remove
Code:
gatekeeper.password.key
,
Code:
gatekeeper.pattern.key
,
Code:
locksettings.db
,
Code:
locksettings.db-shm
, and
Code:
locksettings.db-wal
.
5) Reboot back into system, everything should work as usual.
Also, I give up on formatting this..
decrption unsuccessful on mia1
I have an issue on my MiA1...my screen shows as" Decryption unsuccessful..The password you entered was correct but the data is corrupted."..please anyone help me out as i have my most imp documents inside and dont have any backup..please.!
One of the biggest enemies for people who frequently switch ROMs is the encryption system, many times we end up wiping the entire device.
OnePlus 5 and 5T had a method to decrypt the device and not having to worry about accidental wipes ( NO-Verify.zip)
Has anyone tried the same method on our 6T?
Well i tried it on my 6T and it worked, but with one problem.
After decrypting permanently when i locked device with any password or pattern, it didn't accepted the password i set it up with.
So moved back to encryption
You should not have to do that. I recommend you read this thread all the way through; I think your answer is here, under the How to create a Nandroid Backup.
https://forum.xda-developers.com/oneplus-6t/how-to/guide-oneplus-6t-unlock-bootloader-t3851789
"Boot into TWRP
Use the TWRP File Manager and Navigate to /data/sytem/ and delete the following files:
locksettings.db
locksettings.db-shm
locksettings.db-wal.
gatekeeper.password.key
gatekeeper.pattern.key
You may or may not have all the above files so delete the ones you have.
Reboot the phone and (if you've set a PIN) enter it to decrypt the storage one more time. After that you can simply unlock your phone with a swipe."
hithekillswitch said:
You should not have to do that. I recommend you read this thread all the way through; I think your answer is here, under the How to create a Nandroid Backup.
https://forum.xda-developers.com/oneplus-6t/how-to/guide-oneplus-6t-unlock-bootloader-t3851789
"Boot into TWRP
Use the TWRP File Manager and Navigate to /data/sytem/ and delete the following files:
locksettings.db
locksettings.db-shm
locksettings.db-wal.
gatekeeper.password.key
gatekeeper.pattern.key
You may or may not have all the above files so delete the ones you have.
Reboot the phone and (if you've set a PIN) enter it to decrypt the storage one more time. After that you can simply unlock your phone with a swipe."
Click to expand...
Click to collapse
In case I delete these files do I need to set a pin or if I reboot to TWRP next time it will not ask me for it ? I am asking because I have lost my internal storage thrice before trying to only install OOS.
My understanding is this will only remove your password. I would read the whole thread above, and always make a backup with TWRP and titanium or the like, and save those backups to a PC as well as the phone storage. Encryption is tricky, but you know that already. Good luck!
hithekillswitch said:
You should not have to do that. I recommend you read this thread all the way through; I think your answer is here, under the How to create a Nandroid Backup.
https://forum.xda-developers.com/oneplus-6t/how-to/guide-oneplus-6t-unlock-bootloader-t3851789
"Boot into TWRP
Use the TWRP File Manager and Navigate to /data/sytem/ and delete the following files:
locksettings.db
locksettings.db-shm
locksettings.db-wal.
gatekeeper.password.key
gatekeeper.pattern.key
You may or may not have all the above files so delete the ones you have.
Reboot the phone and (if you've set a PIN) enter it to decrypt the storage one more time. After that you can simply unlock your phone with a swipe."
Click to expand...
Click to collapse
This doesn't work any longer starting with pie. At least both times I tried it. Last i got it to go was with Oreo on my shamu and essential. Also, no verity and anything disabling encryption, disables any phone security until u restore with msm.
Dear Dev's plz help me.
Patterns connects only 2 dots and remaining two dots connect separately one by one.
Then I've to delete data/system/lock screen file from twrp. Any solution without restoring modem ? Or any other solution you have? Please share here.
Thanksgiving
Simply boot into TWRP and enter your PIN (if you've set one) to decrypt the stroage. If you don't have TWRP (for whatever reason) you can do so via ADB too but ONLY if you've connected your phone to your PC beforehand and also accepted it's fingerprint on the phone itself.
Delete (or rename) the following files inside /data/system (note that probably not all of them exist for you, simply delete those you can find):
password.key
pattern.key
locksettings.db-wal
locksettings.db-shm
locksettings.db
Reboot the phone and (if you've set a PIN) enter it to decrypt the storage one more time. After that you can simply unlock your phone with a swipe.
Go into Settings > Security and set your preferred unlock method again, Android will ask you if you want to set a boot-time code too. Select whatever you want here, it's a nice security addition but can be annoying sometimes.
Enjoy your phone again!