lockscreen fingerprint and backup password problem - Sprint Galaxy Note 4 Q&A, Help & Troubleshooting

I was trying new roms this weekend. I did a full backup of my current rom. I tried 3 roms But decided to go back to my backup this evening.
I successfully completed the restore. Rebooted the phone and tried to swipe my thumb on the home button to unlock my phone as I usually do. It didn't work. Tried again and again. Finally entered my backup password and it unlocked my phone.
I figured I would simply go into lock screen settings and redo my fingerprint. NOPE. When I try to access the lockscreen secure options it tells me to swipe my fingerprint. My fingerprint doesn't work so I just tried to enter my backup password and it tells me wrong password. WTF!
So I can unlock my phone with backup password but when I use backup password to try to change security settings it tells me my password is incorrect.
OK, so i got it. here is how:
I deleted this: /data/validity/template.db (using root explorer) "Thanks freeza"
flashed this: LockScreen_Security_bypassV1.1.zip from this link: http://forum.xda-developers.com/note...d-pin-t2948336 "thanks dr.ketan"
Flashed this: registry.zip from page 4 post 36 from same link as above. "Thanks dr.ketan"
Rebooted phone and re-did fingerprint and it worked.
Be sure to click thanks button for the fellas that provided the above infomation and zip files!

Related

Cannot undo encryption on KitKat based rom

Ok, so I was on stock 4.3 rooted.
Installed resurrection rom, booted fine, google restored all my apps. everything was great. then I tried to install air watch mdm agent to get my work emails. it started the encruption process. I gave the password 1234 when it said "enter a password to decrypt device. encryption finished but Air watch mdm reported incompliant device so I could not get the work email setup. Now I tried to decrypt the device by doing factory reset from settings menu, it asks for my password, proceeds to reboot the phone, then it boots into team win recover and asks for my decrypt password but will not accept it. I cancel out, reboot using team win recovery reboot option and phone boots and asks for decrypt password, 1234, it takes it boots up but still says device is encrypted.
Since I can't get air watch mdm to work, I must go back to my stock using nandroid backup restore.
Do I need samsung recovery to decrypt? TWRP will not accept the password.
TWRP is 2.6.3.1
Baseband 1747UCUEMJB
How do I decrypt this phone now? please help.
Thanks in advance

Cant unlock my device!! Help Needed

Hello
My device is locked with my fingerprint. However, everytime I reboot, the first time I unlock my phone I need to draw a pattern.
The problem is I made a backup to try a different ROM. As I did't like the new ROM, I restored my backup, but now I can't unlock my device. I enter the correct pattern but my phone says it is incorrect!! What can I do??
Desperately needeng help!!
Salomao
http://forum.xda-developers.com/showpost.php?p=65256331&postcount=15
this could help
salomaoa said:
Hello
My device is locked with my fingerprint. However, everytime I reboot, the first time I unlock my phone I need to draw a pattern.
The problem is I made a backup to try a different ROM. As I did't like the new ROM, I restored my backup, but now I can't unlock my device. I enter the correct pattern but my phone says it is incorrect!! What can I do??
Desperately needeng help!!
Salomao
Click to expand...
Click to collapse
Boot to TWRP -> File Manager -> go to /data/system and delete locksettings.db and all named locksettings.db and some extension like shm and wal etc. Reboot.

[Q] TWRP Restore makes PIN error

I had this problem with all TWRP versions for this device:
When I completely restore all partitions with TWRP and I boot up it gives "Wrong PIN" but the PIN is right. Also tried 1234, 123456, 0000 and 000000. Cache/Dalvik format does not do anything.
Nothing works, so I'm not able to use my lovely P2 now...
Anyone can help me?
Sorry should have googled it:
Firstly you need to boot into TWRP and then follow these steps:
Go to Advanced > File Manager > data > system.
And then delete locksettings.db, gatekeeper.password.key and gatekeeper.pattern.key.
HOW TO FIX
------------------------
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!
^This. I was having a similar problem not able to unlock the phone after installing other rom via the dual boot app.
ilmervanhattem said:
I had this problem with all TWRP versions for this device:
When I completely restore all partitions with TWRP and I boot up it gives "Wrong PIN" but the PIN is right. Also tried 1234, 123456, 0000 and 000000. Cache/Dalvik format does not do anything.
Nothing works, so I'm not able to use my lovely P2 now...
Anyone can help me?
Click to expand...
Click to collapse
Yah it's bugs in twrp, try use and flash with my latest compile unofficial twrp-3.1.0-0 that already fix bugs for pin, pasword, or patern encryption decryption
ilmervanhattem said:
HOW TO FIX
------------------------
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!
Click to expand...
Click to collapse
After doing this screen lock is by passed but later not able to set new pin. Settings app crashing.
Thanks for this info but I too had this problem yesterday and after 2 hours trying to figure it out had to flash the rom from scratch. Hopefully it can be fixed.
PrasadD said:
After doing this screen lock is by passed but later not able to set new pin. Settings app crashing.
Click to expand...
Click to collapse
Thanks a lot.
I keep this zip on my phone and flash it after every TWRP recovery.
It deletes needed files automatically.
https://mega.nz/#!dYx3lYoQ!4K2swB24JNKihws2BHso0B6D5w-JM-pRlTWksILO2fE
ilmervanhattem said:
Sorry should have googled it:
Firstly you need to boot into TWRP and then follow these steps:
Go to Advanced > File Manager > data > system.
And then delete locksettings.db, gatekeeper.password.key and gatekeeper.pattern.key.
Click to expand...
Click to collapse
Thank you, just fixed my Zenfone 3 Laser pin error after twrp restore just by deleting these 3 files. Went back to settings and set another pin, restart, test, all good without errors. Much appreciated

My OP3 says wrong passwd on boot, but in twrp same decrypt passwd works... Help!?!

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 ?

Device PIN

Hi,
I use NitrogenOS and I want to go back Los15.1. I installed, and the start screen ask pin code. I thought lockscreen pis asked, but not yet, because after asked the lockscreen pin code. Now, cannot start Los or other rom, because asked Device Pin COde (message: re-enter device pic code to continue). But I dont now what is device pin code. I tried wipe everything in TWRP, but did not help, so I cannot use new rom. I have a complete twrp backup previous rom, and that is working. How can delete or re-add device id, and where?
Thanks,
When I restore twrp backup working now, but if I want to set the lockscreen pin, it will also ask for the device id
SOLVED: under TWRP delete lockscreen.db following path /data/system

Categories

Resources