How To: Fix 'Wrong PIN' Errors After Restoring a NANDroid Backup

How To: Fix 'Wrong PIN' Errors After Restoring a NANDroid Backup
Making a NANDroid backup can save you from all sorts of flashing-related mishaps and accidents. Bootloops, SystemUI crashes, accidental wipes, bad ZIPs, or a dozen other possibilities—there's almost no condition in which a NANDroid is unable to correct problems with your device. However, recent changes to Android have created an almost paradoxical situation where restoring a NANDroid can actually lock you out of your phone.As a result of recent changes to Android, the process of restoring a NANDroid backup can now cause your phone to show a message that says "Wrong PIN" or "Try Again" when unlocking your device after restarting. Even if you remember your PIN and make sure to enter it correctly, your phone will still say that it's incorrect, effectively locking you out of your own device. Not to worry, though, there's an incredibly simple fix for this.Don't Miss: The Ultimate Guide to Using TWRP: The Only Custom Recovery You'll Ever Need
PrerequisitesTWRP installed on your device ADB and Fastboot installed Mac, Linux, or Windows computer USB data cable
Fixing All PIN ErrorsNo matter what PIN error you get after restoring a NANDroid, deleting locksettings.db from /data/system will correct all of the problems by removing the PIN from the lock screen. This technique will only remove the PIN, so if you have fingerprints set up, those will still be there.The problem with this is that the file manager in TWRP can easily get confusing to the average user, making it hard to find and delete the file in question. So to make things a lot easier, developer Primokorn has created a flashable ZIP file that deletes the locksettings.db for you, which means you can get things back up and running in no time.
A Note About Encrypted DevicesBefore you begin, note that this ZIP is not compatible with encrypted phones. Android's lock screen—be it PIN, pattern, or password—serves as the phone's decryption key, so removing the lock removes your ability to decrypt the storage and access the device's data. In other words, if your device is encrypted and you're experiencing the "Wrong PIN" error after restoring a NANDroid backup, your only option is to perform a full data wipe.
Step 1: Download the ZIPIf you haven't had the issue yet, simply tap the following link to save the flashable ZIP onto your device, and it'll be there for whenever you restore a NANDroid next.However, if you're currently stuck with a PIN issue, you'll want to download the ZIP file to your computer. Sideloading the ZIP via ADB is a must if you're unable to unlock your device, but it's a fairly simple process. We'll go over the steps below.Download the locksettings.db removal ZIP

Step 2: Get Your Phone & Computer ReadyBoot your phone into TWRP, then plug it into your computer with a USB data cable. From there, open a Command Prompt (Windows) or Terminal (Mac and Linux) window, depending on your operating system, then type in adb start-server to start the ADB server on your computer. For more help with this, don't miss our full ADB installation guide at the following link.Don't Miss: How to Install ADB & Fastboot on Windows, Mac, or Linux Next, tap the Advanced tab from TWRP's main menu on your phone. From there, tap on ADB Sideload, then swipe the slider to start the ADB connection.

Step 3: Sideload the ZIPType adb sideload into the command prompt, then hit your space bar once to add a single space. From there, locate the ZIP file you downloaded in Step 1, then click and drag the file into the Command Prompt or Terminal window, which will populate the file's location and name into the field. From there, just hit enter to begin the sideloading process. On your device, you'll see the ZIP do its work and remove the lock screen, which was preventing you from getting into your device. Once you see the Lockscreen removed text in TWRP, tap the "Reboot System" option to wrap things up. That's all there is to it! Sideloading and flashing the ZIP in TWRP should have helped you regain access to your device. That "Wrong PIN" or "Try Again" message should now be gone from your lock screen entirely—but remember, this ZIP disabled the lock screen security altogether, so make sure to head to the Security menu in Settings and set up a new PIN. And now that you can use your phone again, be sure to leave your thoughts in the comment section below.Follow Gadget Hacks on Facebook, Twitter, Google+, and YouTube Follow Android Hacks on Facebook, Twitter, and Pinterest Follow WonderHowTo on Facebook, Twitter, Pinterest, and Google+
Cover photo and screenshots by Kevin M./Gadget Hacks



Google changes its logo with another logo called doodle on some special days or occasions. If you are using the Google web browser, then you can replace the Google logo to any doodle of your like anytime you want. The Favorite Doodle extension for the Google Chrome browser makes this possible. You will still see the new doodles on special
Change Google Logo With Your Favorite Google Doodle in Chrome

Samsung Phones Aren't the Only Android Devices Vulnerable to


News, email and search are just the beginning. Discover more every day. Find your yodel.
Use Yelp Collections to Find New Places & Keep Your


In order to access any regional Netflix site you need to use a Proxy Provider to bypass country restrictions. We recommend Unblock-Us Smart VPN. The set up is easy and takes only minutes to configure your Router, TV, computer, and virtually any device you have.
How to Watch US Netflix in Canada - How to Watch


Your app might have the feature on it but if it isn't available for your account, you may not see it. Google says a user must have 'English' set as the local language on their phone in order to use Google Lens but that doesn't guarantee that you'll see it. Google Lens. Update the Google Photos app on your Android phone or iPhone.
How to Use Google Lens to Identify Objects Using Your


Have you tried using the Alarm clock on Samsung Galaxy S9 or Galaxy S9 Plus smartphone yet? In few steps, you can gain expertise on using this app to wake up on time and keep alerts for important events in your life.
How to Use Your Samsung Galaxy Tablet's Alarm Clock


Aug 17, 2014 · Google is probably logging your location, step by step, via Google Maps. Want to see what kind of data it has on you? Check out Google's own location history map, which lets you see the path you
What you need to know about your location history timeline


Once your Story has been created, you will see your profile image appear at the top of the news feed. Select it to access your creation at any time while it is live. Editing Instagram Stories. Once created, if you want to edit or add images or video to an existing Instagram Story, you can.
How to Add White Borders on Instagram Photos using Preview App


Ever wonder how to create an app? Learn how to make and build a mobile app in 12 easy steps. Build mobile apps for Android or the iPhone with this tutorial.
The 18 Best App Makers to Create Your Own Mobile App

3 Ways to Close Apps on a Samsung Galaxy - wikiHow


After upgrading to new iOS 11 many iPhone users are finding iOS 11 music player on lock screen. However some users don't find this valuable as they don't use music player much and want to see notification instead of it. ios 11 music controls on lock screen is taking space on the screen and taking up valuable space.
How do I remove the music player from the… - Apple Community

0 komentar:

Posting Komentar