Can't get into Nexus 6 that has encryption - Nexus 6 Q&A, Help & Troubleshooting

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

Related

Password Encryption Lock Out

Few month ago found out there was a stock option for encrypting the data. After the process everything worked great. However, I decided to try out a different rom and rebooted to the phone into recovery mode. Come to find out it's also locked out by the encryption. First reaction was awesome, android got this on a lock down on all sides. Here comes the bad news. My normal encryption password does not work with the recovery encryption password. It keeps telling me I got the wrong password. It's seems I can't make any changes anymore.
I was wondering, what do you do in this case? I can use the phone as is for now but what if I want to update or sell my phone, what do I do? I can't even full wipe the phone for fresh new rom.

Possible intruder on my N6

I have recently purchased a used Nexus 6 and I have just noticed that my phone may be compromised. It took a while to set up the phone as i wasn't getting the original account info to complete the setup, but now that I have run the setup, and set up a 'group' on the home screen that I labelled 'Entertainment' which holds a couple games. I see now, that the label has been changed to 'D's Sacs Was DQ'. Why would this happen and or what can be done to secure my phone? Please help!
Thank you
FK
fkoulbot said:
I have recently purchased a used Nexus 6 and I have just noticed that my phone may be compromised. It took a while to set up the phone as i wasn't getting the original account info to complete the setup, but now that I have run the setup, and set up a 'group' on the home screen that I labelled 'Entertainment' which holds a couple games. I see now, that the label has been changed to 'D's Sacs Was DQ'. Why would this happen and or what can be done to secure my phone? Please help!
Thank you
FK
Click to expand...
Click to collapse
LMAO! Really?! Did you factory wipe it? Is it stock or boot loader unlocked? Is it rooted?
fkoulbot said:
I have recently purchased a used Nexus 6 and I have just noticed that my phone may be compromised. It took a while to set up the phone as i wasn't getting the original account info to complete the setup, but now that I have run the setup, and set up a 'group' on the home screen that I labelled 'Entertainment' which holds a couple games. I see now, that the label has been changed to 'D's Sacs Was DQ'. Why would this happen and or what can be done to secure my phone? Please help!
Thank you
FK
Click to expand...
Click to collapse
Flash userdata.img and erase and flash cache.img in fastboot (if you have a unlocked bootloader) and after that data factory reset in recovery and reboot. That all you can you do.
Flashing it to ensure it was wiped of anything on it prior to use, since it was used, should have been the first thing done to it (ensuring ti wasn't locked to an account or you would have issues afterwards).
gee2012 said:
Flash userdata.img and erase and flash cache.img in fastboot (if you have a unlocked bootloader) and after that data factory reset in recovery and reboot. That all you can you do.
Click to expand...
Click to collapse
How do i know if I have an unlocked bootloader? I'm worried if i do a factory reset I'd be locked out if their account is still considered the original.
fkoulbot said:
How do i know if I have an unlocked bootloader? I'm worried if i do a factory reset I'd be locked out if their account is still considered the original.
Click to expand...
Click to collapse
To get in booltoader/fastboot mode:
1. with adb, type in cmd: adb reboot bootloader
2. Manualy: power down the phone and press both volume up and down + power.
RW-1 said:
Flashing it to ensure it was wiped of anything on it prior to use, since it was used, should have been the first thing done to it (ensuring ti wasn't locked to an account or you would have issues afterwards).
Click to expand...
Click to collapse
That was an issue when I began. I needed their account info to log in during setup but then was able to add my info.
fkoulbot said:
That was an issue when I began. I needed their account info to log in during setup but then was able to add my info.
Click to expand...
Click to collapse
Try logging in and boot the phone with the original account, delete the account and then perform a data factory reset in recovery. Then boot up with your account and that should do it usualy.
fkoulbot said:
How do i know if I have an unlocked bootloader? I'm worried if i do a factory reset I'd be locked out if their account is still considered the original.
Click to expand...
Click to collapse
Or even easier... do you see a little icon of an unlocked lock at the bottom of the screen when you boot your phone?
Or, something much less nefarious...
I would think that it could be possible you may have placed the phone in a pocket with the home screen showing (or some similar action) and the folder got renamed with random presses that also triggered random words through autocomplete. Been there, done that.
It was me.. I hacked you.. But once I was in, I couldn't think of anything to do, so I renamed a folder. Was gonna key log your bank details but this was way better
I hack phones and change events in the calendar app. Because I like confusion and making people late.

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

Categories

Resources