[Q] Can't unlock my phone - Nexus One Q&A, Help & Troubleshooting

Tonight I decided to root my N1 using the 1 click root app that I read about on these forums. Everything went fine, and I installed CM6 onto my phone. I read that after doing a Titanium Backup I had to reboot my phone in order for my contacts to be backed up, so that's what I did. When my phone started up again, the password that I had set did not work. Now I can't get into my phone. How do I fix this?

Enter your unlock pattern incorrectly 5 times within 30 seconds... You will then get the option to click on "forgot your code" at which time it will let you login using your gmail credentials.

rossy_k said:
Enter your unlock pattern incorrectly 5 times within 30 seconds... You will then get the option to click on "forgot your code" at which time it will let you login using your gmail credentials.
Click to expand...
Click to collapse
same thing happened to me too, I tried to enter my password many consecutive times, after 5 times it just says "you put the incorrect password many times, wait 30 seconds to try again"

I would nand back to the previous ROM, take out the password and flash cyanogen again.

Related

Can't get into Nexus 6 that has encryption

So I am a developer, making a lockscreen app. Part of the app allows it to set a system lock for double protection. Upon doing this, it set PIN needed for phone to start up. The pin I had set wouldn't work so I entered it in too many times and it wiped my device. The weird thing is, the default password "0" worked in TWRP but NOT to boot Android. Now, after it wiped my device, it boots up to the Android screen, and tells me to enter my PIN again.. It still doesn't work, but tells me in -1 attempts my device will be wiped. How can I just get this all to go away and start again? I have root and TWRP installed. Is there anything I can do?
I can't even boot into Android because it asks for the PIN, even though it already wiped it. I can't use my phone at all.
Flash factory images?
Sent from my Nexus 6 using Tapatalk
Will this mess up TWRP?
DRatJr said:
Will this mess up TWRP?
Click to expand...
Click to collapse
does it matter? it takes 10-15 seconds to flash twrp, or reflash. but anyways i have a feeling that itll ask again, i hope not.
Yea. I would fastboot erase and reflash everything. If bootloader is locked you are hosed.
DRatJr said:
So I am a developer, making a lockscreen app. Part of the app allows it to set a system lock for double protection. Upon doing this, it set PIN needed for phone to start up. The pin I had set wouldn't work so I entered it in too many times and it wiped my device. The weird thing is, the default password "0" worked in TWRP but NOT to boot Android. Now, after it wiped my device, it boots up to the Android screen, and tells me to enter my PIN again.. It still doesn't work, but tells me in -1 attempts my device will be wiped. How can I just get this all to go away and start again? I have root and TWRP installed. Is there anything I can do?
I can't even boot into Android because it asks for the PIN, even though it already wiped it. I can't use my phone at all.
Click to expand...
Click to collapse
Contact the previous owner for his unlocking gesture or code/pin and Gmail account, then factory reset and login with his account and when done delete this accoubt in /settings/accounts/. Then data factory reset again and it should be fixed imo. Or send your phone to the prev. owner so he can do it himself. Look here too http://forum.xda-developers.com/nexus-6/general/guide-properly-prepare-nexus-6-resale-t3104504.
I've had this phone since it came out haha. I haven't stolen it or anything. The problem came because I was solely testing on Samsung devices. Here, I set a backup PASSWORD in case you couldn't unlock your phone. My app was a device admin so it had the ability to set phone lock and lock the phone. What happened was when I tested it on my Nexus, between making the password and setting the password there is the option of "require at boot", which mysteriously, my app automatically selected. Now the issue comes in when I rebooted my phone and Google did NOT let me put a PASSWORD it, but required a PIN. This was an impossible scenario because the android lock screen was set with a PASSWORD, not a PIN.
The even weirder thing was that my app automatically sets the backup android pin to "0" if no backup password is set. When I tried 0 at boot it wouldn't work. BUT when I tried it in TWRP 0 was the only thing that decrypted the phone. I am still not sure why this whole thing happened (Google not letting me put a PASSWORD instead of a PIN if the device is encrypted. My app automatically selecting require PIN at boot, and the backup "0" working in TWRP when it wouldn't work to boot Android).
So @gee2012 I know it may seem like another thread where someone stole a Nexus and wanted to break in to use it. But I assure you I am the only one to ever own this phone. This was just a weird scenario that hopefully won't happen again.
But for the sake of the question:
Flashing factory images worked! Thanks @HolyAngel
DRatJr said:
I've had this phone since it came out haha. I haven't stolen it or anything. The problem came because I was solely testing on Samsung devices. Here, I set a backup PASSWORD in case you couldn't unlock your phone. My app was a device admin so it had the ability to set phone lock and lock the phone. What happened was when I tested it on my Nexus, between making the password and setting the password there is the option of "require at boot", which mysteriously, my app automatically selected. Now the issue comes in when I rebooted my phone and Google did NOT let me put a PASSWORD it, but required a PIN. This was an impossible scenario because the android lock screen was set with a PASSWORD, not a PIN.
The even weirder thing was that my app automatically sets the backup android pin to "0" if no backup password is set. When I tried 0 at boot it wouldn't work. BUT when I tried it in TWRP 0 was the only thing that decrypted the phone. I am still not sure why this whole thing happened (Google not letting me put a PASSWORD instead of a PIN if the device is encrypted. My app automatically selecting require PIN at boot, and the backup "0" working in TWRP when it wouldn't work to boot Android).
So @gee2012 I know it may seem like another thread where someone stole a Nexus and wanted to break in to use it. But I assure you I am the only one to ever own this phone. This was just a weird scenario that hopefully won't happen again.
But for the sake of the question:
Flashing factory images worked! Thanks @HolyAngel
Click to expand...
Click to collapse
Who talked about stolen devices mate, I surely didn`t! I thought that you bought a used Nexus 6 mate, and the previous owner didn`t delete his account :silly:
gee2012 said:
Who talked about stolen devices mate, I surely didn`t! I thought that you bought a used Nexus 6 mate, and the previous owner didn`t delete his account :silly:
Click to expand...
Click to collapse
Oh sorry :/ haha. Wasn't sure if it seemed that way. But nah this has been my baby since unboxing lol

I am an idiot

Today a scenario popped up and I quickly set up a 4 digit PIN code and pressed enter. As is on stock Lollipop 5.1, I'm required to enter password twice to confirm. So I did (and as far as I could tell, it was four digits, from a quick glance), but then when I wanted to unlock, it wouldn't, typing in the same passcode that I thought I'd typed in (and the one I used previously when it had a screen lock, disabled it in June). I've tried to brute force my way through, up to almost 300 attempts, but no luck. There's no forgot password option, at least not in plain sight, and Android device manager was no help (it locked the phone, but I could press home and I'd just be back at the lock screen). ADB is disabled. PC doesn't recognize phone. Does anyone know of secret tricks or programs that can brute force through for me? Thanks!
Do you have your bootloader unlocked and a custom recovery? As long as you didn't enable encryption with this code, you should be able to use recovery to backup files from your phone... However there is no way for you to get into your phone without the code. So after backing up, you would need to factory reset it. As far as brute forcing goes there is no way for you to do it. You would have to enter every combinaton that exists manually. That would take forever... So factory reset is your best option.
Sent from my XT1095 using Tapatalk
AGISCI said:
Do you have your bootloader unlocked and a custom recovery? As long as you didn't enable encryption with this code, you should be able to use recovery to backup files from your phone... However there is no way for you to get into your phone without the code. So after backing up, you would need to factory reset it. As far as brute forcing goes there is no way for you to do it. You would have to enter every combinaton that exists manually. That would take forever... So factory reset is your best option.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
No custom recovery. Encryption isn't on. Is there an app or hidden Google solution for this? (I'm in denial right now, ha)
AB__CD said:
No custom recovery. Encryption isn't on. Is there an app or hidden Google solution for this? (I'm in denial right now, ha)
Click to expand...
Click to collapse
You said no custom recovery... but you didn't say if your bootloader is unlocked or not. If it's unlocked, you are in luck and can flash a custom recovery, then backup your files. If it's locked... No choice but to factory reset.
Sent from my XT1095 using Tapatalk
AB__CD said:
Today a scenario popped up and I quickly set up a 4 digit PIN code and pressed enter. As is on stock Lollipop 5.1, I'm required to enter password twice to confirm. So I did (and as far as I could tell, it was four digits, from a quick glance), but then when I wanted to unlock, it wouldn't, typing in the same passcode that I thought I'd typed in (and the one I used previously when it had a screen lock, disabled it in June). I've tried to brute force my way through, up to almost 300 attempts, but no luck. There's no forgot password option, at least not in plain sight, and Android device manager was no help (it locked the phone, but I could press home and I'd just be back at the lock screen). ADB is disabled. PC doesn't recognize phone. Does anyone know of secret tricks or programs that can brute force through for me? Thanks!
Click to expand...
Click to collapse
Sounds suspicious... You did enter the 4 digit pin, but cant get it unlocked with those code? Is that your own phone or others? Sorry, but your case is very strange...
Sent from my XT1095 using Tapatalk
bimasakti85 said:
Sounds suspicious... You did enter the 4 digit pin, but cant get it unlocked with those code? Is that your own phone or others? Sorry, but your case is very strange...
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
Absolutely is my phone. I entered it so quickly i may have mistyped it. And no, bootloader is locked.
Normally there is an option to put in your Google email and password if you forget your password
chapelfreak said:
Normally there is an option to put in your Google email and password if you forget your password
Click to expand...
Click to collapse
Not there in Lollipop. Apparently they took it out. Because it only shows emergency call, below the numbers where it used to be in KitKat, and the dialog box that prompts you every 5 failures will only warn you and have an OK button.
AB__CD said:
Not there in Lollipop. Apparently they took it out. Because it only shows emergency call, below the numbers where it used to be in KitKat, and the dialog box that prompts you every 5 failures will only warn you and have an OK button.
Click to expand...
Click to collapse
That's stupid of Google to do that. I guess I would do a nandroid backup and factory reset if I forgot mine.
chapelfreak said:
That's stupid of Google to do that. I guess I would do a nandroid backup and factory reset if I forgot mine.
Click to expand...
Click to collapse
Yeah it's absolutely idiotic. Wish they'd do something about it.
Sent from my XT1092 using Tapatalk

help need passeord to open phone

I am on 6.1 and I went to reset my phone it is locked I havent done any modding to it. it went into recovery and said erasing for about 10 minutes so I went to restart the phone and now it says i need a password to start it. But I never had a password. Any way to get this thing back up and running. It is oem locked
After a reset you need to enter the password for the Google account you used on the phone prior to the reset. This is to verify that it's your phone...
At some point a password was set. The only way you would be prompted to enter a password is if you had set one at some point in the past by setting up a Google account.
You need to know that password, as it's the only way to get back into the device. If you don't know it for whatever reason, you're screwed.

Forgot PiN, fingerprint not work after restart

Dear All,
I have a friend with Huawei P9 Plus with this Firmware VIE-L29C636B103, i don't know what is in his mind on that time but unfortunately after restarting the phone he forgot his PIN to unlocked the phone and the fingerprint was not working. As far as i know, the only solution is by Factory Reset the phone, but he did not want to loose his data. Is there any way to solve this problem?
Thank You
mardiatmo said:
Dear All,
I have a friend with Huawei P9 Plus with this Firmware VIE-L29C636B103, i don't know what is in his mind on that time but unfortunately after restarting the phone he forgot his PIN to unlocked the phone and the fingerprint was not working. As far as i know, the only solution is by Factory Reset the phone, but he did not want to loose his data. Is there any way to solve this problem?
Thank You
Click to expand...
Click to collapse
has his phone root and is there a custom recovery?
Fed2x said:
has his phone root and is there a custom recovery?
Click to expand...
Click to collapse
No still original without custom recovery. Can i use TWRP to backup first the data ?
The problem is that you not unlock and then root yet. You basically can't use TWRP. If unlock bootloader, the phone will be immediately wipe data.
mardiatmo said:
No still original without custom recovery. Can i use TWRP to backup first the data ?
Click to expand...
Click to collapse
mardiatmo said:
No still original without custom recovery. Can i use TWRP to backup first the data ?
Click to expand...
Click to collapse
He or you could've used it to delete ". key" -files through adb. But that is only useful to have access to the data. You can't set new fingerprints or delete any of them because he must know his forgotten password for it. So it would only be a temporary solution.
Unlocking the bootloader never erased my data. It couldn't cause of some failure appeared at let's say 30%. But I'm not certain that the failure appears also on his phone. Which leads to my suggested solution:
He should try to remember the password and include any typos(yes, typos. My pin was 85320 but it also happened that i typed two times the false pin. The outcome was 85350. Huawei's layout was kinda bull**** and vulnerable for that type of failures. At least to me.) As I know it must be a PIN, not a password. If that fails get rid of the data and make a factory reset.
Thank you all,
Today i connect the P9 Plus Phone USB to HiSuite in Windows 10, i just leave this around 5 minutes and suddenly it connected to HiSuite automatically. Now i'm still backing up the data pictures, etc. Still wondering why in windows 10 it can connected automatically than in windows 7 After backup finished i'm gonna factory reset the phone.
My mistake on comments on unlocking bootloader will erase date since I mixed up the process. Now I remembered that after unlock, if you proceed further to root the phone, the phone will have to erase the data immediately. No option for you to choose not to erase data during rooting process if not mistaken. That's why I dare not to root again the phone.
Fed2x said:
He or you could've used it to delete ". key" -files through adb. But that is only useful to have access to the data. You can't set new fingerprints or delete any of them because he must know his forgotten password for it. So it would only be a temporary solution.
Unlocking the bootloader never erased my data. It couldn't cause of some failure appeared at let's say 30%. But I'm not certain that the failure appears also on his phone. Which leads to my suggested solution:
He should try to remember the password and include any typos(yes, typos. My pin was 85320 but it also happened that i typed two times the false pin. The outcome was 85350. Huawei's layout was kinda bull**** and vulnerable for that type of failures. At least to me.) As I know it must be a PIN, not a password. If that fails get rid of the data and make a factory reset.
Click to expand...
Click to collapse
How to use adb ???

Help please!!! Locked out of op3t after flashing kernel, then reverting to backup!!!!

Hi all. I tried flashing a kernel, didn't like it, reverted to backup but it seems that backup had pin also saved. Restarted phone, now it asks for pin but doesn't recognise pin I put in :/ please help as my Mrs is gonna kill me if I've knackered the phone!!
forcedairinduction said:
Hi all. I tried flashing a kernel, didn't like it, reverted to backup but it seems that backup had pin also saved. Restarted phone, now it asks for pin but doesn't recognise pin I put in :/ please help as my Mrs is gonna kill me if I've knackered the phone!!
Click to expand...
Click to collapse
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
basically any .key file in that folder
Using TWRP file manager (its under advanced)
Thanks man. Problem is, I could only see my device on PC if phone was started via twrp. If not, device shows on PC when plugged in but won't show any files.
I have booted phone into recovery, seems that it will let me do that. Is that any help?. Mrs has just come back from work.... Gulp!
Ohhhhh maaaaan. You are the don!!!!!. I'm in now, you sir are a star!. How can I now get the phone back to having password?. Have I buggered it as I deleted the files??
forcedairinduction said:
Ohhhhh maaaaan. You are the don!!!!!. I'm in now, you sir are a star!. How can I now get the phone back to having password?. Have I buggered it as I deleted the files??
Click to expand...
Click to collapse
nope just open settings, security and choose a new lock method. might be a bit buggy, if it asks you for an existing pin whilst setting the new lock screen either enter anything or leave it blank. then set your pin hit thanks if i helped
manor7777 said:
nope just open settings, security and choose a new lock method. might be a bit buggy, if it asks you for an existing pin whilst setting the new lock screen either enter anything or leave it blank. then set your pin hit thanks if i helped
Click to expand...
Click to collapse
Hmm. Not going so well now. I'm doing the following:
Security> screen lock. 'Confirm pin'. I enter a pin, then either a) press 'OK'... Screen goes back to 'security & fingerprint' screen. Shows 'screenlock none'. Or, if I try to previous then press forward arrow on keypad (rather than pressing OK), it goes to blank screen with left facing arrow at top of screen saying 'choose screen lock'?.
I've also noticed that in security & screenlock screen, it shows 'finger 1' under fingerprint list. Like it still has a fingerprint saved.
forcedairinduction said:
Hmm. Not going so well now. I'm doing the following:
Security> screen lock. 'Confirm pin'. I enter a pin, then either a) press 'OK'... Screen goes back to 'security & fingerprint' screen. Shows 'screenlock none'. Or, if I try to previous then press forward arrow on keypad (rather than pressing OK), it goes to blank screen with left facing arrow at top of screen saying 'choose screen lock'?.
I've also noticed that in security & screenlock screen, it shows 'finger 1' under fingerprint list. Like it still has a fingerprint saved.
Click to expand...
Click to collapse
Yeah the fingerprint will be saved, i cant remember exactly how i did it (i'm not doing it on my phone as my bank already hate me for being rooted and registering android pay like 20 times a month) - if i remember i enter a pin, then choose either pin again or none, and after none go back to pin. I think that worked, but don't hold me to it - it's easy to recover i just dont have a device in that state to try. I could teamviewer your phone if you want me to and sort it haha. Just have a mess around to see what happens, one combination of that should work. Basically android still thinks you have a pin, but it's physically not there.
manor7777 said:
Yeah the fingerprint will be saved, i cant remember exactly how i did it (i'm not doing it on my phone as my bank already hate me for being rooted and registering android pay like 20 times a month) - if i remember i enter a pin, then choose either pin again or none, and after none go back to pin. I think that worked, but don't hold me to it - it's easy to recover i just dont have a device in that state to try. I could teamviewer your phone if you want me to and sort it haha. Just have a mess around to see what happens, one combination of that should work. Basically android still thinks you have a pin, but it's physically not there.
Click to expand...
Click to collapse
Haha, ta bud. I'll have a fiddle with it
Tried every combination of fiddling that I can. Wondered, if I dirty flash copy of OOS 4.02 over current ROM, would it sort it?. Would I lose root & unlocked bootloader etc if I do this?
forcedairinduction said:
Tried every combination of fiddling that I can. Wondered, if I dirty flash copy of OOS 4.02 over current ROM, would it sort it?. Would I lose root & unlocked bootloader etc if I do this?
Click to expand...
Click to collapse
You would need to reflash supersu (or whatever root solution.) - i just followed something like this last time i needed it.
http://www.howtogeek.com/240657/how-to-fix-pin-errors-after-restoring-from-twrp-android-backups/
Hope that can help dude
manor7777 said:
You would need to reflash supersu (or whatever root solution.) - i just followed something like this last time i needed it.
http://www.howtogeek.com/240657/how-to-fix-pin-errors-after-restoring-from-twrp-android-backups/
Hope that can help dude
Click to expand...
Click to collapse
Ta bud. I've gone back into system file and deleted the other two lock files. I'll try the pin reset again...
forcedairinduction said:
Ta bud. I've gone back into system file and deleted the other two lock files. I'll try the pin reset again...
Click to expand...
Click to collapse
Ahha!. Looks like those last two files were causing the prob. Deleted them, now its let me choose options. Reset pin, redone fingerprint and all is good again. I reaaly appreciate the help bud
forcedairinduction said:
Ahha!. Looks like those last two files were causing the prob. Deleted them, now its let me choose options. Reset pin, redone fingerprint and all is good again. I reaaly appreciate the help bud
Click to expand...
Click to collapse
Not a problem dude, glad i could help!
manor7777 said:
Not a problem dude, glad i could help!
Click to expand...
Click to collapse
I'll shoot you a pm if I run into more probs in my quest to pimp the phone . Its all a learning game lol. Opo3t is certainly blowing away my modded n6 so far lol and I'm still only using the standard ROM. Can't wait for some of the nexus devs to make it over to the one+ with uber quick ROMs/kernels
manor7777 said:
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
basically any .key file in that folder
Using TWRP file manager (its under advanced)
Click to expand...
Click to collapse
Is it possible for me to get to those files if i haven't done anything with my phone, i just got drunk and forgot my pattern lock, the fingerprint and everything works perfectly. I tried connecting it to my pc but it doesn't pop up anywhere and just starts charging ;( , pls help

Categories

Resources