Tips & Tricks

[Tips] How to fix Pin errors after Restoring from TWRP Backup..

2017-07-17 10:02:17
1125 16
How to Fix PASSWORD Errors After Restoring from  Android Backups



Making TWRP Backups is a must if you’re going to be rooting,flashing custom and tweaking Android. But if your phone is encrypted, you may have some issues with your PIN or password lock after restoring from a backup. Here’s what’s going on.    If the backup you’re restoring uses the same PIN as your current system, everything should go swimmingly not always exception cases are there like mine i didnt set any pin after fastboot. However, if the system you’re restoring to uses a different PIN than the system you’re restoring from, you may run into some troubles. When you reboot your phone, it’ll ask you for a PIN, saying “PIN required when you restart device”. In some cases, you’ll have to enter your latest PIN when you boot, and your old PIN to get into your phone. In other cases, you may not be able to unlock your phone at all. But don’t panic: in both cases, this is easily fixable.


Here are the solutions,

If Your Device Is Stuck Using Two PINs or PasswordsAfter restoring from backup, you may find that your device accepts two PINs: your most recent PIN at boot, and your old PIN (from the backup you restored) for unlocking the device. This isn’t a huge problem, but can be confusing since you need to remember both PINs. Thankfully, the solution is simple: Just reset your PIN in  settings.Head to Settings app and go to Lock Screen & Password. From there, tap on Pattern ,PIN or Password to choose a new PIN or password to lock your phone.


If Your Device Won’t Unlock At AllHere’s where things get really dicey. In some rarer cases, your most recent PIN will work at boot, but no PIN will work to unlock the screen–meaning you can’t access anything on your phone. Thankfully, this is fixable too–it just takes a few more steps.First, boot back into TWRP’s recovery environment. It’ll likely ask you for a password–enter your most recent working PIN (the one you were using before you restored from backup). If you didn’t have a PIN, type in default_password. You’ll be greeted with the main TWRP window.

Then, 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 Redmi 2 Prime , for example, I deleted the following files:

password.key        
pattern.key         
locksettings.db     
locksettings.db-shmlocksettings.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”.You may be prompted for a PIN before your phone finishes booting. Once again, it should work with your most recent PIN–the one you were using before you restored from backup.Once Android starts, your lock screen should appear, with no PIN or password prompt. Unlock your phone (yay!) and head to  Settings. Scroll down and go to Lock Screen & Password. From there, you can choose a new PIN or password to lock your phone.

Follow me for more intresting threats...
2017-07-17 10:02:17
Favorites5 RateRate

Bunny Semi-pro

Tech Giant | from Redmi 4

#1

Nice information
2017-07-17 10:18:17

Bunny Master

aayush yogesh Mhetar | from Redmi Note 4

#2

Nice information
2017-07-17 10:21:30

Bunny Master

RAN VIJAY | from Redmi Note 4

#3

thnxxx for sharing..
2017-07-17 10:22:35

Bunny Avanzado

Amar Astagikar | from Redmi 3S

#4

thanks for sharing
2017-07-17 10:27:02

Bunny Novato

1698706089 | from Redmi Note 4

#5

nice information
2017-07-17 10:28:35

Bunny Novato

1657404445 | from Redmi 3S

#6

nice Information
2017-07-17 10:30:00

Bunny Pro

Venkatesh A | from Redmi Note 4

#7

little bit complicated
2017-07-17 11:17:00
Warm Regards,
Venkatesh

Read Only

Uddit Goyal | from app

#8

gooooooooooood
2017-07-17 11:44:51

Bunny Novato

1700225103 | from Redmi 4A

#9

apni gaand mai le le bhai panasonic .....
2017-07-17 11:54:31

Bunny Master

Luckyinsaan | from app

#10

thnx for sharing
2017-07-17 12:03:58
please sign in to reply.
Sign In Sign Up
  • Followers

    2

  • Threads

    50

  • Replies

    105

  • Points

3 Днів поспіль
7 Днів поспіль
21 Днів поспіль
40 Днів поспіль
70  Днів поспіль
100 Днів поспіль
more power more life
1st Anniversary

Mi Comm APP

Stay updated on Mi Products and MIUI

Copyright
Content Policty
Quick Reply To Top Return to the list