Forgot unlock pass, asked after a full wipe, any solution? - Redmi Note 8 Questions & Answers

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..

Related

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

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

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 ?

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.

Categories

Resources