Cant unlock my device!! Help Needed - OnePlus 3 Questions & Answers

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.

Related

[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

Encryption password

hi,
i have recently encrypted my moto g5 and i use TWRP recovery, which now asks me for a password. it doesnt seem to be my pin code and also when i cancel, i cant get to the data directory within TWRP.
is there a default password?
ehmdjii said:
hi,
i have recently encrypted my moto g5 and i use TWRP recovery, which now asks me for a password. it doesnt seem to be my pin code and also when i cancel, i cant get to the data directory within TWRP.
is there a default password?
Click to expand...
Click to collapse
1.Boot into recovery
2.advanced
3.file manager
4.data
5.system
6. Delete the following files:
password.key
pattern.key
locksettings.db
locksettings.db-shm
locksettings.db-wal
7.reboot to system.
TheArtistSpud said:
1.Boot into recovery
2.advanced
3.file manager
4.data
5.system
6. Delete the following files:
password.key
pattern.key
locksettings.db
locksettings.db-shm
locksettings.db-wal
7.reboot to system.
Click to expand...
Click to collapse
thanks, but the problem is that i dont even see the contents of data in recovery since TWRP asks me for a password when it starts. this password doesnt seem to be something i picked nor the pin or pattern code.
ehmdjii said:
thanks, but the problem is that i dont even see the contents of data in recovery since TWRP asks me for a password when it starts. this password doesnt seem to be something i picked nor the pin or pattern code.
Click to expand...
Click to collapse
https://www.reddit.com/r/Nexus5/comments/2mskzu/twrp_is_asking_for_a_password
This could help you.
TheArtistSpud said:
https://www.reddit.com/r/Nexus5/comments/2mskzu/twrp_is_asking_for_a_password
This could help you.
Click to expand...
Click to collapse
thanks again, tried all those tips with various combinations of my pin, but none worked.
it really seems, that the official motog5 rom uses some modified version as the password for disk encryption.
ehmdjii said:
hi,
i have recently encrypted my moto g5 and i use TWRP recovery, which now asks me for a password. it doesnt seem to be my pin code and also when i cancel, i cant get to the data directory within TWRP.
is there a default password?
Click to expand...
Click to collapse
TWRP decryption for G5 is broken, and it's a pretty known issue. If you are rooted you can use a workaround:
1) Completely disable the lockscreen from settings.
2) Use flashfire (it's in the play store) to create a data backup on an memory stick connected through OTG. Don't use internal memory, because you will not see the backup in TWRP. The new backup in the memory stick will be decrypted.
3) Boot into TWRP, format data partition and restore the backup flashing the auto generated zip located in the Flashfire folder from the memory stick.
After that your restored data will be temporally
decrypted.
4) Do whatever you want to do in TWRP before reboot.
5) Disconnect your OTG and your external memory stick before to reboot onto system. Your device will not boot correctly if you don't do that.
After rebooting the data will be encrypted again automatically.
WARNING: Remember If you boot onto system it will encrypt data again automatically it can't be avoided. The first boot-up after this procedure will take some time because of the re-encryption process. Be patient and don't freak out, the device will stay 5-10 mins on the boot logo without a progress bar. Don't interrupt it, or your data will get corrupted and you will need to restore the backup and start over again.
WARNING 2: Your password will not work after restoring the backup. If you skipped the step 1) delete the .key And locksettings.db files in data/system before restarting onto system.
I strongly recommend disabling the password/pin/pattern before booting onto TWRP. It will prevent that your password gets corrupted (it happens easily).
By example if you format data from recovery without doing that, your password will not work anymore. If it happens, the only way back is format your data and restore your Flashfire backup if you have one.
Enviado desde mi Moto G (5) mediante Tapatalk

Moto Z enrcypted - Forgotten pin

Hi,
i don't know if it's the correct section but i need a big help.I rebooted my phone this morning but when it comes to write the system pin it says it's wrong.
I can't belive i forgot my pin or i wrote it uncorrect during the configuration.
Now my phone is unable to boot, unable to recovery because of the enrcyption end my pc can't find any device in fastboot, even with the last Motorola drivers.
It's running XPerience Beta 12.0.0.
What can i do if i can't wipe data in any way?
callaghandroid said:
Hi,
i don't know if it's the correct section but i need a big help.I rebooted my phone this morning but when it comes to write the system pin it says it's wrong.
I can't belive i forgot my pin or i wrote it uncorrect during the configuration.
Now my phone is unable to boot, unable to recovery because of the enrcyption end my pc can't find any device in fastboot, even with the last Motorola drivers.
It's running XPerience Beta 12.0.0.
What can i do if i can't wipe data in any way?
Click to expand...
Click to collapse
what were you using before? i mean pattern or pin?
callaghandroid said:
Hi,
i don't know if it's the correct section but i need a big help.I rebooted my phone this morning but when it comes to write the system pin it says it's wrong.
I can't belive i forgot my pin or i wrote it uncorrect during the configuration.
Now my phone is unable to boot, unable to recovery because of the enrcyption end my pc can't find any device in fastboot, even with the last Motorola drivers.
It's running XPerience Beta 12.0.0.
What can i do if i can't wipe data in any way?
Click to expand...
Click to collapse
If you installed experience you should have twrp. Boot to twrp, use file explorer -> /data/system delete locksettings.db
callaghandroid said:
Hi,
i don't know if it's the correct section but i need a big help.I rebooted my phone this morning but when it comes to write the system pin it says it's wrong.
I can't belive i forgot my pin or i wrote it uncorrect during the configuration.
Now my phone is unable to boot, unable to recovery because of the enrcyption end my pc can't find any device in fastboot, even with the last Motorola drivers.
It's running XPerience Beta 12.0.0.
What can i do if i can't wipe data in any way?
Click to expand...
Click to collapse
Why can't you boot into TWRP? If it asks for a password just click "cancel". Then, navigate to Wipe>Format Data and you should be fine.
catsruul said:
Why can't you boot into TWRP? If it asks for a password just click "cancel". Then, navigate to Wipe>Format Data and you should be fine.
Click to expand...
Click to collapse
I came to this solution like ten minutes after i poted this. Trust me that i treid everything. Thank you for the reply.

Forgot unlock pass, asked after a full wipe, any solution?

Hello all,
I realize this is probably not a device specific issue but here it is:
My wife forgot the unlock password to her Redmi Note 8T, since nothing to lose we wiped data from the recovery.
Problem is that the phone asks for old password at the following reboot. It happens on my phone as well, but I do remember my password everytime so I don't have any issue lol.
Any way to get past this? Obviously no data to lose anymore so any solution no matter how "wipy" will be very welcome!
Thanks
kipue said:
Hello all,
I realize this is probably not a device specific issue but here it is:
My wife forgot the unlock password to her Redmi Note 8T, since nothing to lose we wiped data from the recovery.
Problem is that the phone asks for old password at the following reboot. It happens on my phone as well, but I do remember my password everytime so I don't have any issue lol.
Any way to get past this? Obviously no data to lose anymore so any solution no matter how "wipy" will be very welcome!
Thanks
Click to expand...
Click to collapse
if you have a custom recovery like TWRP installed then it's possible to remove lockscreen password
in TWRP go to advanced > file manager
then go to /data/system folder..Here delete the locksettings.db file and you would be good to go...
If that still doesn't work then also delete the following files in /data/system folder
Code:
password.key
pattern.key
locksettings.db-shm
locksettings.db-wal
the_weird_aquarian said:
if you have a custom recovery like TWRP installed then it's possible to remove lockscreen password
in TWRP go to advanced > file manager
then go to /data/system folder..Here delete the locksettings.db file and you would be good to go...
If that still doesn't work then also delete the following files in /data/system folder
Code:
password.key
pattern.key
locksettings.db-shm
locksettings.db-wal
Click to expand...
Click to collapse
Yes, thanks, but unfortunately the phone is not rooted, and since I won't be able to get into the settings to unlock bootloader...
Might have to get in touch with Redmi then :crying:
kipue said:
Yes, thanks, but unfortunately the phone is not rooted, and since I won't be able to get into the settings to unlock bootloader...
Might have to get in touch with Redmi then :crying:
Click to expand...
Click to collapse
hi...you don't need root...just an unlocked bootloader with twrp or any custom recovery installed..

TWRP pin failed, but cannot remove pin in OS

Sadly my phone is corrupt and cant start anymore ... I want to use Newsflasher to rescue my Phone.
Before I want to use TWRP to make a backup. But I cannot enter TWRP.
As far as I understood TWRP cannot be installed on XZ2 compact, but it can be temporarily flashed (as I of course did to get my LineageOS Android 11).
But now when I flash it TWRP asks for a Password.
I just have my regular Screen Unlock Password - but if I type it in it tells me PASSWORD FAILED.
How can that be? Which other Password could it be? I dont know any ...
Obviously I would just remove the screen lock in Android. But it's corrupt x(
I want to do this before I have to do the wipe with Newflasher
If I ignore data encryption then it tells me when booting system that I have no OS installed ...
So then I will never be able to get my data back because encryption with password is still active and I cannot boot to turn it off?
And TWRP is bugged so it does not accept my real password? (How can that be omg ...)
Nothing can done now u have to flash flash a fastboot rom on your device without backup
That is
the_arxyn said:
Nothing can done now u have to flash flash a fastboot rom on your device without backup
Click to expand...
Click to collapse
That is what I was already thinking but yes let it be :/
I will use the old file that I used 2 years ago and also worked when I had to do the same.
For a strange reason it does not work when executing in the original created folder (by Xperifirm), but only if I push it on a external Hard Drive?
Otherwise it will tell FINISHED but it just took 3 seconds, which it will also do if it is played in any other folder ...
Anyways it asked me for a weird reason if I want to keep my userdata. I was thinking that there is no way to install a new OS but still keep the old data. I did it but then at the end of the Flashing it told the Sync did not work. I still booted up and it tells that it cant load the Android. So I dont know if this happened because I either left the user data intact or because that sync at the end did not work.
I'm just now scared to erase it when trying again, just in case that indeed I could safe my data.
So what is the story behind that *Erase User data Y / N*. Can I indeed keep my files this way?

Categories

Resources