I have kept my phone from locking for a day because I Forgot the lockscreeen passsword while changing it on LGK20+, I'm roooted is there any way to disable/delete the lockscreeen pin using twrp? I read an article online that says I can delete a few files ending in .key and i willl be able to set a new passsword can any1 confirm that or have an easier way to disable my lockscreeen pin ( i've prevented it from locking so far),,,...
Pitchblack Recovery, which you can download from a thread on our K20plus forum, has an option within advanced tools with several useful scripts one of which is removing Fingerprint/PIN passwords. It deletes some specific files but I'm not sure of the full extent of these scripts.
Related
Hello,
N910C, COJ5, noroot. Suddenly my phone stopped to use fingerprint sensor and backup password I am providing is not being acceptable.
Short list:
- notifications, network, sms and incoming calls are working, BUT nothing else
- after restarts, removing battery, tries to use ODIN(3.07 & 3.10) or TWRP or kernel with permissive - not working (blocked by R/L) - I wanted to use root privileges to remove files in /data/system responsible for fingerprints and backup password.
- ADB is working
- I want to recover data before wipe - some free soft like Android Recovery Tool or sthg like this ?
Any ideas?
Thanks in advance!
--
Szymon
I see three ways:
-Try to unlock with the fingerprint, it will give you the option to enter a secondary password. Put a random pass 5 times until the device blocks you to keep entering wrong passwords. After that, a new button saying "Unlock with your google account" should appear. Touch it, put your email and password and wait for a couple of seconds. The device will unlock and will set the lockscreen to "Swipe".
-If that doesn't work (rare), try this, it shoud work: http://forum.xda-developers.com/not...ass-lock-screen-pattern-password-pin-t2948336 (since your device is locked you can't access to the MTP functions. You have to put the zip file in a external sd card and flash it with TWRP.
-If that doesn't work either (dafuq?), make a data backup in TWRP ("Backup" option, then select data only), wipe your device, flash a rom and then flash the backup again.
Also remember: "Wipe data" option in TWRP erases all ylur apps and configs, but your pesonal info like photos, documents, downloads, etc will still be at there.
galaxynote2 said:
I see three ways:
[...]
Click to expand...
Click to collapse
I see that you did not read my post
All of these 3 options you mentioned are not possible.
Any other ideas?
I just copied via adb in shell all important files from internal memory and now after I wiped it out I got strange info that "This device is locked because of an abnormal factory reset"
I am not using Find My Mobile Samsung service so WTF ?! Why is it asking me for something that I am not using and it will be not working ???
Regards,
add-on: there was a Find My Mobile by Samsung block, but I used some mystery account I forgot about Now everything is up and running
PIN doesn't work, although Fingerprint is OK, so either I input it wrong or one of us forgot. Is there anyway to rest the PIN w/o a Factory Reset? Thanks
Hmmmmm, the plot thickens . .. . .. . I attempted to use Android Device Manager to have Google lock the phone and provide a new passcode (PIN). ADM located the phone OK and tbe phone reflected that it had locked the phone with a new passcode. However the new passcode PIN did not function, the old PIN still did not work, but fortunately Fingerprint is still OK.
It appears that PIN may not function & I need to enter PIN to attempt to change it!
amphi66 said:
Hmmmmm, the plot thickens . .. . .. . I attempted to use Android Device Manager to have Google lock the phone and provide a new passcode (PIN). ADM located the phone OK and tbe phone reflected that it had locked the phone with a new passcode. However the new passcode PIN did not function, the old PIN still did not work, but fortunately Fingerprint is still OK.
It appears that PIN may not function & I need to enter PIN to attempt to change it!
Click to expand...
Click to collapse
you have TWRP install?
DrakenFX said:
you have TWRP install?
Click to expand...
Click to collapse
Yes. TWRP, rooted & ROM is ZAD Mix7 rev .2 with some minor mods. I recall the PIN working yesterday (I think). I certainly needed (& used it ) it to set the Fingerprint
Using TWRP or Any file explorer with root access and do the following:
- Go to file explorer then go to :
- data > system > locksettings.db (Delete that file)
- reboot and setup your pin or whatever you want.
DrakenFX said:
Using TWRP or Any file explorer with root access and do the following:
- Go to file explorer then go to :
- data > system > locksettings.db (Delete that file)
- reboot and setup your pin or whatever you want.
Click to expand...
Click to collapse
Haha, I want to thank you for this. I've had this issue since upgrading from B20 to B29, but I just lived with it since I could unlock using my fingerprints.
I am on stock marshmallow, rooted.
My phone is unlocking with Swipe right now and i would like to set up a pattern/password, but I can't access "Screen lock type" because it requires me to enter a password. WHAT PASSWORD? It says "enter current password"......i have no clue...
please help me out with this problem...
PS:
I have no encription
I have no SD card
I have no Device Administrators on
"Clear credentials(Remove all certificates)" option is GREYED OUT
I have no VPN accounts
Thanks!
simple. just download some 3rd party lockscreen apps if you dont want to factory reset your phone just to set up a password
note: i still suggest not to use 3rd party lockscreen apps since most of them are bloat. but if you dont want to reset your phone, this is the only choice
Well hell yeah..i dont wanna install a 3rd party app for lockscreen
So you're telling me that the only reasonable solution is to flash stock again?
Damn, i hate flashing stock because it only works and wont give me a bootloop if i follow these steps: 1. Reflash 5.1.1 first // 2. Flash 6.0.1 ....... flashing 6.0.1 1st will give me bootloop
Ok, so i would suggest you to go in twrp mode(if you have one), then mount the system/go to twrp's file manager/ data/system find :
password.key
pattern.key
locksettings.db
locksettings.db-shm
locksettings.db-wal
and delete them, reboot, set up the lockscreen. Not sure if it will work for you , though it worked for me.
Ok. Thanks
So i tried your method. I only found the "locksettings" files. I deleted the files.
Now i can enter the menu to select my lockscreen method, BUT it seems none of the options are effective. I set a pattern/password/pin but my lockscreen is still on swipe....
Any idea?
PS: maybe i might have deleted some necessary files/apks when i debloated my phone. my phone is very light now . I only have a few necessary apps
Lawr3nce said:
Ok. Thanks
So i tried your method. I only found the "locksettings" files. I deleted the files.
Now i can enter the menu to select my lockscreen method, BUT it seems none of the options are effective. I set a pattern/password/pin but my lockscreen is still on swipe....
Any idea?
PS: maybe i might have deleted some necessary files/apks when i debloated my phone. my phone is very light now . I only have a few necessary apps
Click to expand...
Click to collapse
I missed a word, that's why you didn't find the other files, the right name should be 'gesture.password.key' and 'gesture.pattern.key' , try deleting these 2 followed by the other 3 you deleted earlier.
Since this method didn't work you either deleted a necessary file manually, or the script you used for debloating deleted that file.
No other idea though, but you might trying flashing the system.img file using odin( if the trick above doesn't do the job, or if you are too lazy to flash the whole firmware) ?
Hello,
I remember when i set up A1 in firstboot, it asked if i want to be prompted with a password before booting android, to which i said no.
So this in effect, must have encrypted with the default password on first boot. This lets the system boot, and core services started, if the device gets rebooted
without my knowledge(so that i recieve calls and sms) VS, if it asks password before booting(uses my pin as password instead of default password), the core services arent available untill i put my pin in.
This issue was supposed to get solved through Nougat's FBE.
So my question is that, does Mi A1 uses FBE, so that even if i had opted for my pin as password before booting, i would not be blocked of using core services like phone and sms, with OS waiting at pin prompt?
Thanks.
as i have researched more, A1 does not support FBE.
read this excellent writup
In the above article, it shows how to convert to file based encryption. This option in the developer settings is missing from A1.
this is the first major disappointment with A1. Was shocked on system setup to see this. Didn't expect this from a phone expected to receive updates upto P.
ashjas said:
as i have researched more, A1 does not support FBE.
read this excellent writup
In the above article, it shows how to convert to file based encryption. This option in the developer settings is missing from A1.
Click to expand...
Click to collapse
Why do you think ? What encryption does it use ?
It uses FDE. This can be seen when you reboot the device - the black background and basic keyboard. This is FDE.
FBE would boot the device in an intermediary state with wallpaper, full keyboard.
Now if you ask me FDE seems a bit more secure - you can be sure that everything on the device's data partition is encrypted and the only available function is emergency call.
FBE encrypts certain folders but more code is running at startup so you can in theory receive notifications and stuff for certain apps. I certainly don't need stuff running before i authenticate.
gradinaruvasile said:
It uses FDE. This can be seen when you reboot the device - the black background and basic keyboard. This is FDE.
FBE would boot the device in an intermediary state with wallpaper, full keyboard.
Now if you ask me FDE seems a bit more secure - you can be sure that everything on the device's data partition is encrypted and the only available function is emergency call.
FBE encrypts certain folders but more code is running at startup so you can in theory receive notifications and stuff for certain apps. I certainly don't need stuff running before i authenticate.
Click to expand...
Click to collapse
So when the phone was set up in a way, where there was no password asked during (in the middle of) the boot process, how easy would it be for thiefes to access data stored on a A1 ? And how much would it help them if bootlocker was unlocked ?
When you reboot the phone, and you do not have a FDE password set up, the phone still asks for a PIN aftrer booting, with the text "Unlock for all features and data". This sounds like FBE to me.
- PIN is probably from the SIM card. My A1 never asked anything until i set up a password. But mine came with Android 7.1.1 so it is a possibility that some to come with later versions (that have FBE?)?
- FDE is usually enabled anyway on Android 7.1+ but it has a default password set ("default_password" AFAIR). So if you run TWRP for example, even without installing it,it will acces your data because it knows this default password. If you specify a custom password the disk will not be unlocked without it.
- A locked bootloader brings additional security. The idea behind it is to have a verified boot chain - if someone gets hold of your phone to not be able to flash custom system apps on it.
The partitions are checksummed and verified via dm-verity. So at boot time any unauthorized alterations (done, say, with booted TWRP, installed Magist and root then re-locked bootloader afterwards) will trigger a "System Destroyed" message.
The above will be all disabled if you unlock the bootloader and install TWRP. As for now TWRP (or any other loader) cannot ensure system consistency. It is possible to flash stuff on your device by restarting it and launching TWRP. If you have a strong encryption password set up your data partition will still be inaccesible to them but if you get your phone back and start it up the malware will start and do nasty stuff like siphoning all your data, passwords etc (because you can flash system apps that can see everything on the device).
After restart, it asked me for a PIN and then for SIM PIN, (even when draw pattern was my configured way for unlock). It never again asked me for PIN, only right after reboot. Why else would I be asked for a PIN only after reboot, if not because of FBE?
Hello. Many people wonder if they can use fingerprint without keeping any lock on phone. Answer is YES!
HOW TO DO?
1. Setup any lock (pattern or pin) and your fingerprint too ofcourse
2. Reboot into recovery or use any root browser.
3. Go to data/system folder.
4. If you have setup pattern lock then delete pattern.key file and if you have setup pin lock them delete pin/password.key file (Don't worry this won't harm your phone) and restart your phone.
5. Congratulations! Now you can unlock with fingerprint without any lock on your phone
Note: This is just a small trick and many may find this useful while many already know this. This is applicable on all android devices and mostly all versions too. Enjoy!
Thanks
Could you make an instruction also for Oreo ROMS?
Thank you in advance.
harshjain00 said:
Hello. Many people wonder if they can use fingerprint without keeping any lock on phone. Answer is YES! ....
Thanks
Click to expand...
Click to collapse
Thanks for the nice tutorial. I was using the "Lockscreen Disabler" Xposed module for this. If you select "No lockscreen", then you can unlock with fingerprint and there is no lock. If you change your mind, just select "Deactivate this mod" and it will be stock. That's without any reboot.