Pattern unlock bypass - Nexus 6P Q&A, Help & Troubleshooting

I've been using the knock code for ages and with the new update it wanted me to clear the data, with that done and after an restart off course it wants me to put in my pattern unlock and i just can't remember it tried like 40 times and now i can try a new every 2 min but that is just to frustating, i really dont wanna erase my phone is there another way??????

If you have a custom recovery you can use that to delete a file in the system which removes all the lock codes.
There is also a way to do this with the android device manager

brichardson1991 said:
If you have a custom recovery you can use that to delete a file in the system which removes all the lock codes.
There is also a way to do this with the android device manager
Click to expand...
Click to collapse
Thanks for the reply, i went on and did a wipe from the device manager as i could not change the way i would unlock the phone from device manager when a pattern unlock is applied. So there were really nothing else to do, titanium backup had done a backup a couple of days ago so it were just the time consumed which were annoying. Really dont get why one can't reset the pattern when a pattern is drawed wrong multiple times with the use of your google account.
regards

Related

TWRP Restore Problem with Fingerprint security

I have a nexus 6P running rooted stock rom and I wanted to try out a new rom. Before flashing the new rom, I made a nandroid backup via TWRP. Now, the rom that I was backing up had fingerprint security setup with backup passcode for unlocking the phone.
So I tried new rom and it didn't work (read-too many issues and too many crashes). Decided to revert back to my original setup. Went back into TWRP and restored the backup.
After booting the phone up, I can't log in to my phone anymore. As you know after every reboot, fingerprint sensor doesn't work unless you enter the backup passcode. So I am entering my passcode and its not accepted. I have tried entering passcode many times but to no avail. I know my passcode so possibility of me forgetting it is not valid.
Has anybody else seen or ran into this issue yet?
The step folks are missing is Prior to installing a backup you Must Change security to None before you even start a backup This clears password, pin and saved finger prints. I believe once security is changed it is safe to backup and then install backup. You will need to reenter Pin and Fingerprints.
Born<ICs said:
The step folks ...
... is changed it is safe to install backup.
Click to expand...
Click to collapse
You mean clear the security before making a backup ... right?
if not, how would I change security on a backup file of rom that had security enabled.
I have never used lock screen security before so never ran into this issue.
No, dig through this forum for tech details. But my understanding is anytime you make/install a backup or reflash rom or go back to stock you must reset you Security options in settings to None. You have security now, probably Fingerprints, and the required Lockscreen Pin.
If you try to install backup or Rom or whatever without doing so you get what you experienced. There is a path out of it if you read further.
Pin or Pattern on boot after restoring Nandroid
Born<ICs said:
No, dig through this forum for tech details. But my understanding is anytime you make/install a backup or reflash rom or go back to stock you must reset you Security options in settings to None. You have security now, probably Fingerprints, and the required Lockscreen Pin.
If you try to install backup or Rom or whatever without doing so you get what you experienced. There is a path out of it if you read further.
Click to expand...
Click to collapse
The interesting thing is, I intentionally chose to enter pattern/pin on rebooting. The strange (actually may not be strange .....but strange to me) thing is that even when I move on to different Roms, that initial choice is remembered and embedded since even after choosing not to require pin/pattern when rebooting, I get prompted. Also the pin/pattern works during recovery, it also works on the initial startup after restoring a backup but then fails after successful fingerprint use (it will actually say "wrong pin" or "wrong pattern") at the end of the booting process. The thing is, I have only used one pin and at other times one password ever with this device. Eventually I had to do a factory reset to solve this issue (thank goodness I was able to back up my internal storage to my computer in TWRP recovery mode).

TWRP data backup didn't backup lock pattern, can't get into phone

I reflashed all the factory images to my Nexus 6P (except userdata), and then restored a TWRP backup of the data partition. This worked, my phone boots up and obviously has my installed apps, etc. But... on the Nexus 6P when you restart the phone you have to enter your lock pattern or PIN. My phone was previously configured with a pattern. It seems the TWRP data backup didn't backup the lock pattern, because it doesn't recognize my pattern. My fingerprint is recognized, but on the Nexus 6P you still have to enter the lock pattern or PIN when you first reboot. So, I have no way to get into the phone. I tried setting a new lock screen password with Android Device Manager, but it doesn't work. I still get the screen asking for the lock pattern. Is there any way I can get into my phone without blowing away all the data?
I found this in a different thread:
Boot into recovery and put in your ROM password/PIN or the default which is "default_password." Go to advanced>file manager then /data/system and delete the 2 *key files and the 3 locksettings files. Boot into ROM and you should be able reset everything
corywf said:
I found this in a different thread:
Boot into recovery and put in your ROM password/PIN or the default which is "default_password." Go to advanced>file manager then /data/system and delete the 2 *key files and the 3 locksettings files. Boot into ROM and you should be able reset everything
Click to expand...
Click to collapse
That worked. Thank you!
So one thing I noticed, after doing this, is that "Smart Lock" is completely missing as an option from the Security menu.
dprecourt said:
So one thing I noticed, after doing this, is that "Smart Lock" is completely missing as an option from the Security menu.
Click to expand...
Click to collapse
Go to into the Trust agents sub-menu and re-select Smart Lock.
corywf said:
I found this in a different thread:
Boot into recovery and put in your ROM password/PIN or the default which is "default_password." Go to advanced>file manager then /data/system and delete the 2 *key files and the 3 locksettings files. Boot into ROM and you should be able reset everything
Click to expand...
Click to collapse
The deletion of the two *key files was all that's required. Locksettings files I did not touch and I don't know what that "default_password" business is all about. Thank you very much for providing this valuable info!

Forgot screen pattern on Moto X Style/Pure, but Smart Lock lets me in.

Hello all,
So in an absent minded spell I changed my screen pattern to a complicated one just to be more 'safe'. It hit me when i tried to unlock the phone seconds later that I had already forgotten the patter. . I know it is very stupid to **** around like that.
But silver lining is when the phone is paired with my Bluetooth headset the phone unlocks itself and I am able to go inside. This is due to Smart Lock feature which assumes my phone is safe when paired with Bluetooth headset.
But the main thing is I am not able to change the pattern itself as it asks for older pattern. I have read a lot of posts on how the pattern can be disabled by deleting gesture.key. It turns out getting super user permission to do that is very complicated. I have failed to change or disable the pattern so far.
Guys help!
kajang said:
Hello all,
So in an absent minded spell I changed my screen pattern to a complicated one just to be more 'safe'. It hit me when i tried to unlock the phone seconds later that I had already forgotten the patter. . I know it is very stupid to **** around like that.
But silver lining is when the phone is paired with my Bluetooth headset the phone unlocks itself and I am able to go inside. This is due to Smart Lock feature which assumes my phone is safe when paired with Bluetooth headset.
But the main thing is I am not able to change the pattern itself as it asks for older pattern. I have read a lot of posts on how the pattern can be disabled by deleting gesture.key. It turns out getting super user permission to do that is very complicated. I have failed to change or disable the pattern so far.
Guys help!
Click to expand...
Click to collapse
Its the only way to do it, the other way is to do a backup and then factory reset
PS: What made it difficult for you?
if you have a custom recovery, it is easy to pick up any zip file that is, for example, a mod, decompresses and only removes the metainfo file and create a zip that file and flashing, ready will restart without lock pattern without losing anything
Deleting gesture.key
ExCuTioN said:
Its the only way to do it, the other way is to do a backup and then factory reset
PS: What made it difficult for you?
Click to expand...
Click to collapse
Hi
I am able to go to adb shell and execute some commands. But not commands like delete which require Super user permissions. I am having hard time getting that. I am not well versed with command line.
Customer recovery
browcantor said:
if you have a custom recovery, it is easy to pick up any zip file that is, for example, a mod, decompresses and only removes the metainfo file and create a zip that file and flashing, ready will restart without lock pattern without losing anything
Click to expand...
Click to collapse
I have tried installing Twrp recovery, but it gives an error while installing. I am forgetting the exact error. I could not follow rest of what you are saying. I am relatively inexperienced. What is metainfo? Are talking about flashing new ROM?
I strongly suggest that you factory reset your device. It'll be simpler for you that don't have all the knowledge to do other way. Beside, doing so demands a rooted device. Also beside, with the Google account sync it's very easy to setup the device again.
https://drive.google.com/file/d/0B7C0PrsBvY69NU9JM0hJeEdQd2c/view?usp=drivesdk
Flashing

Encryption Boot Pattern is Broken

I'm running Carbon rom on my 6P, after getting around to flashing the flashabling zip for supersu, my pattern I use to boot into android(not the lockscreen pattern) no longer works.
It still asks for my pattern to start android, but when I put it in, it says it's not right. I've tried my pattern several times and a couple random ones to see if it just messed it up.
Is there something I can do in twrp to fix this? Or will I have to lose everything off my phone?
There's a sticky in the general section:
Https://forum.xda-developers.com/nexus-6p/general/psa-twrp-backups-lockscreen-security-t3245070
drnizeguy said:
There's a sticky in the general section:
Https://forum.xda-developers.com/nexus-6p/general/psa-twrp-backups-lockscreen-security-t3245070
Click to expand...
Click to collapse
I just had another person point me to that thread a few minutes ago. Deletion of the locksettings does nothing. I still have it asking for a pattern to start android.
xBr4v3x said:
...Is there something I can do in twrp to fix this? Or will I have to lose everything off my phone?
Click to expand...
Click to collapse
Nothing to do. Yes, you have already lost everything. Factory reset and start over. Most of the time this happens to people who have been running unencrypted, screw up, and then end up encrypted. NOT saying this is you because you seem to have at one time been encrypted and HAD a working boot PIN. One of the features of a true encrypted system is that once you lose the keys, nobody can help you. I usually keep a TiBu of all my non-market apps on the PC. Between Google's restore of market apps and Ti-Bu, anyone can be up and running the way they were within one hour. Sucks but there it is.

[Help] Decrypt storage, locked out from device

Hi everyone,
so in my immense stupidity, I actually managed to set my phone password wrongly, and now I can't get in. Spent a day trying passwords to find the typo but that was unsuccessful.
I have crDroid Android 11, bootloader unlocked, rooted with magisk, and TWRP 3.5.0.
How can get my phone back? I would love to save the internal storage since I have important stuff, but you know, if wiping it is the only way I have to go for it.
Thanks in advance.
Use this method. I have seen many people online suggesting it works.
Remove /Bypass Lockscreen With Recovery
Recently when i restored my data using TWRP i faced a problem at lock screen. I was not able to unlock my phone with the pin i set Earlier..So after so many attempts i was able to find a solution for that problem.(works with pattern,pin etc)...
forum.xda-developers.com
You are essentially removing lockscreen settings completely and should work as you still have TWRP access.
madman said:
Use this method. I have seen many people online suggesting it works.
Remove /Bypass Lockscreen With Recovery
Recently when i restored my data using TWRP i faced a problem at lock screen. I was not able to unlock my phone with the pin i set Earlier..So after so many attempts i was able to find a solution for that problem.(works with pattern,pin etc)...
forum.xda-developers.com
You are essentially removing lockscreen settings completely and should work as you still have TWRP access.
Click to expand...
Click to collapse
Thanks for the responce, but unfortunately that didn't work.
I deleted the files as explained in the thread you linked but now the lockscreen doesn't work at all, it's just a black screen. The power menu appears if I hold the power button, but nothing else. I tried swiping in some direction on the black screen but it doesn't unlock.
Also tried to sideload the rom again (dirty and clean flash), and magisk, still no luck.
Read the entire thread but nothing helpful.
DarkLudo77 said:
Thanks for the responce, but unfortunately that didn't work.
I deleted the files as explained in the thread you linked but now the lockscreen doesn't work at all, it's just a black screen. The power menu appears if I hold the power button, but nothing else. I tried swiping in some direction on the black screen but it doesn't unlock.
Also tried to sideload the rom again (dirty and clean flash), and magisk, still no luck.
Read the entire thread but nothing helpful.
Click to expand...
Click to collapse
Is TWRP able to decrypt the data? I'm guessing that's a no as the password is not accepted by the lockscreen. If TWRP was magically OK with the password, you could have adb pulled the files.
But apart from reseting the lockscreen using TWRP, I don't know a way to fetch the files.
madman said:
Is TWRP able to decrypt the data? I'm guessing that's a no as the password is not accepted by the lockscreen. If TWRP was magically OK with the password, you could have adb pulled the files.
But apart from reseting the lockscreen using TWRP, I don't know a way to fetch the files.
Click to expand...
Click to collapse
TWRP can decrypt if the correct passoword is provided. Tried pulling with adb the files anyway, even if they are encrypted, but the phone doesn't allow that either.
Thanks anyway

Categories

Resources