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.
Related
I was under the impression that device protection on lollipop for android one devices would work no different than nexus devices .it turned out to be untrue. I was using stock 5.1 lollipop (encrypted) with no changes to the bootloader or recovery. On downloading the 5.1.1 update I went to recovery amd factory reset the device and flashed it with OTA zip file 5.1.1 . I was then able to go through the setup screen on first boot without it asking me for me google credentials of the previous rom.
Thus proving even if your device is looked and encrypted it can be easily reused by flashing the rom.
that happened because you formatted data sir and do one thing re encrypt THE device and wipe data again see what happens
SENT FROM MY PIECE OF GLOWING GLASS MADE BY MICROMAX
HIT THANKS IF I HELPED
nap533 said:
that happened because you formatted data sir and do one thing re encrypt THE device and wipe data again see what happens
Click to expand...
Click to collapse
Thats the point.. thats exactly what a thief would do ie format the data and use the device again.Even after format it should have been locked to my google account.
You don't really get the point of the factory reset do you? The point of the factory reset is to wipe everything and set the phone to the factory conditions. That 'everything' also includes your google account. Name one device that keeps an account that it signed on to after a factory reset, I'll name a unsecure device. Even nexus devices don't do that.
Try not to lose you phone.
Dhamithl said:
You don't really get the point of the factory reset do you? The point of the factory reset is to wipe everything and set the phone to the factory conditions. That 'everything' also includes your google account. Name one device that keeps an account that it signed on to after a factory reset, I'll name a unsecure device. Even nexus devices don't do that.
Try not to lose you phone.
Click to expand...
Click to collapse
My dear friend let me explain the point to you. Device protection for lollipop devices acts as a deterrent for thieves. In case you loose your phone, for a thief it will be nothing more than a paper weight . If you read the first post . I forcefully cleared the phone from recovery just as a thief would do because he wouldn't know the unlock code. However on setting up the phone I should have it hit a dead end because the device should have been locked to the google account of the previous user.
Here read this article to know how it works..Hopefully then you will get the "point" http://www.greenbot.com/article/290...ow-about-device-protection-in-android-51.html
Besides device protection will not work on your phone as you have unlocked the bootloader and replaced the stock recovery which defeats the purpose
pardon my ignorance then...
apparently this feature is only working on N6 and N9.
http://www.androidpolice.com/2015/0...ature-and-how-do-i-use-it/#comment-1905342616
still if a thief knows how to do a factory reset, he's also able to flash a custom rom or reflash the stock rom without having to login in to the device. Which is really easy process with most phones out there.
Dhamithl said:
still if a thief knows how to do a factory reset, he's also able to flash a custom rom or reflash the stock rom without having to login in to the device. Which is really easy process with most phones out there.
Click to expand...
Click to collapse
This is where the locked bootloader comes into play, an average user wouldn't tinker with the bootloader or stock recovery. To install a new rom one has to unlock the bootloader . Now for a thief he wouldn't be able to unlock the bootloader because the stolen phone will be already locked with the pin even the usb cable won't work. So all he can do is factory reset the device ...had device protection been working as it should have he would have hit a dead end there as well.
Don't know why google didn't enable this feature for android one devices .
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 can no longer seem to be able to install custom roms,ive tried the resurrection remix rom and the cm13 rom but both are asking for a password after it installs and reboot(like when you encrypt the phone) so i cant access anything and my google password does nothing nor have i set another password
All i can do is the three finger recovery and reflash a full stock rom which does work.
I have checked the OEM unlock in developer options as well and full wiped before installing roms.
There shouldnt be any anti theft on the phone because afaik i have disabled all the anti theft options so there should be no reason why it asks for a password.
Does anyone have any idea why this is happening?
Does anyone know if doing a full factory reset through twrp instead of through the phone could be the reason why?
Good to see someone else is also having this ****ing stupid problem. I've been struggling with a way to fix this as well. I'm on the EVA-109 with a single SIM and its been giving me this problem no matter what I do. I read through one of posts on the CM 13 thread which stated you need to use Surdu's tweaked TWRP in order to not have the password booting problem. It'd be nice to get an official response from Surdu on this as he hasn't mentioned the need to use his version of TWRP.
Although, despite trying this I'm still having the password problem at boot but it might be worth a try if you do it. I'll pass you the link - Do let me know how it goes, though I wouldn't place all my faith in this. https://forum.xda-developers.com/p9/development/twrp-t3493979
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 ???
I recently upgraded my HTC M8 for an M9, I installed all stock updates bringing it to Android 7.0, flashed TWRP to recovery, encrypted the device and installed Magisk.
My device was encrypted (Asked for password at power on, TWRP requested a password to mount the partition) and had been rebooted a few times, every time asking for the decryption password, until Magisk updated about 10 days ago. I only noticed it a few days later, on a reboot that it didn't ask for a password. I did a full power off just to make sure there was no caching going on and again it no longer asked for the password. Going into TWRP I confirmed that the device is no longer encrypted and can be mounted and read without a decryption password.
Despite the phone now being decrypted, Android still believes it is and the encryption check box is ticked and greyed out (Because you can't turn it off when it's on....well usually anyhow).
Why did it decrypt with Magisk's update? How can I enable encryption again?
It's probably still encrypted, just that the password has been reset. There was a few reports like this when v16.0 dropped, no idea why.
Try reapplying the password at boot in Android security settings.
Didgeridoohan said:
It's probably still encrypted, just that the password has been reset. There was a few reports like this when v16.0 dropped, no idea why.
Try reapplying the password at boot in Android security settings.
Click to expand...
Click to collapse
Yeah that was it. I'm assuming it still was 'encrypted' because it didn't go through the hour long process encrypting the device, but it's kind of pointless having encryption that still gives you access to the contents of the device without any kind of security verification :laugh:
It was still prompting for a PIN as a screen lock (So I didn't think of resetting the PIN), but having an unlocked bootloader means it's trivial to bypass a screen lock for data access.
Anyhow, I set the PIN again and it prompted for enhanced security, I selected that and it's back to asking for a PIN to access the data so that's good
Thanks for your help!