FORUMS
Remove All Ads from XDA

[Q] Type password to decrypt storage

466 posts
Thanks Meter: 111
 
By techmatlock, Senior Member on 15th February 2013, 10:59 PM
Post Reply Subscribe to Thread Email Thread
I rarely use my Nexus 7, but today decided to update it to 4.2.2. I flashed everything from android sdk: bootloader, clockworkmod recovery, franco kernel, system, and userdata. Then I sideloaded the SuperSU zip to root the tablet before my first boot up. Now when it boots up, it asks me to type my password to decrypt the storage. I never set a password on the tablet and the other people that used the tablet in my home as far as I know, did not encrypt the storage. Now, I even wiped/factory reset the device from clockworkmod as well as reflashing system and userdata. Why is this occurring?
 
 
17th February 2013, 05:25 AM |#2  
OP Senior Member
Thanks Meter: 111
 
More
Bump.
17th February 2013, 09:38 AM |#3  
Senior Member
Thanks Meter: 2,243
 
More
Re: [Q] Type password to decrypt storage
Boot your device in the bootloader (fastboot) and type
Code:
fastboot format userdata
Or if this won't work you could format every partition and after formatting it you flash the images again

Sent from my Nexus 7 running Android 4.2.2
17th February 2013, 03:13 PM |#4  
Junior Member
Thanks Meter: 0
 
More
I woke up with the same problem. Tried to boot into recovery and got the "No Command" message. I ended up having to call Google Customer Care and they are sending me a new tablet for free. I just have to send the defective device back to them within days. May be helpful if you bought you device from the Google Play Store.
Last edited by Xavion2004; 17th February 2013 at 05:25 PM.
17th February 2013, 05:43 PM |#5  
Abhitha's Avatar
Junior Member
Flag Toronto
Thanks Meter: 9
 
More
Hi guys,
I woke up to the same thing too, but I'm afraid to call customer service because my tablet is unlocked..(but it's running stock android and this issue just showed up the day after I updated it to 4.2.2...
P.S: I bought it from the Play Store as well.
Thanks!
19th February 2013, 01:41 AM |#6  
OP Senior Member
Thanks Meter: 111
 
More
Quote:
Originally Posted by mihahn

Boot your device in the bootloader (fastboot) and type

Code:
fastboot format userdata
Or if this won't work you could format every partition and after formatting it you flash the images again

Sent from my Nexus 7 running Android 4.2.2

I tried that before and it didn't work. Thanks.

Quote:
Originally Posted by Xavion2004

I woke up with the same problem. Tried to boot into recovery and got the "No Command" message. I ended up having to call Google Customer Care and they are sending me a new tablet for free. I just have to send the defective device back to them within days. May be helpful if you bought you device from the Google Play Store.

I called up Nexus Support and they had setup for me to send it back to them; however, I fixed it after I got off the phone with them. Very strange bug; If I flash clockworkmod recovery, the tablet will boot into the type password to decrypt storage. The factory data reset on clockworkmod recovery doesn't fix it either. If I flash back to the stock recovery and factory data reset, the tablet works fine. I probably don't even need to factory data reset - it's stock recovery that fixes this. I didn't have the "No Command" message though which the Nexus Support guy thought I would have. So I guess I don't have to send my tablet back after all . I wanted to because it's an 8gb and I probably would of got upgraded to a 16gb since the 8gb model is no longer manufactured, haha.

Quote:
Originally Posted by Abhitha

Hi guys,
I woke up to the same thing too, but I'm afraid to call customer service because my tablet is unlocked..(but it's running stock android and this issue just showed up the day after I updated it to 4.2.2...
P.S: I bought it from the Play Store as well.
Thanks!

Download android sdk on your pc, go to platform-tools, open command prompt, boot tablet into the bootloader, type 'fastboot oem lock' to lock the tablet again.
The Following User Says Thank You to techmatlock For This Useful Post: [ View ] Gift techmatlock Ad-Free
19th February 2013, 09:06 PM |#7  
Abhitha's Avatar
Junior Member
Flag Toronto
Thanks Meter: 9
 
More
Quote:

Download android sdk on your pc, go to platform-tools, open command prompt, boot tablet into the bootloader, type 'fastboot oem lock' to lock the tablet again.

Thanks. I will try this when I get home today and post back after a call to customer support
Last edited by Abhitha; 19th February 2013 at 09:10 PM. Reason: Cleaning up the Post
20th February 2013, 04:10 PM |#8  
Abhitha's Avatar
Junior Member
Flag Toronto
Thanks Meter: 9
 
More
Quote:

Download android sdk on your pc, go to platform-tools, open command prompt, boot tablet into the bootloader, type 'fastboot oem lock' to lock the tablet again.

Hm I tried locking the tablet as per your instructions, and it succeeded (at least according to the command prompt), however the unlocked symbol is still there. I called support and they told me they can't RMA is till I relock it...

EDIT:
I followed instructions at another post on XDA to flash back the stock 4.2.2 rom as well as perform another oem lock, however the unlocked symbol is still there on the Google splash screen, not to mention the encryption message is still there.
Attached Thumbnails
Click image for larger version

Name:	Capture.jpg
Views:	267
Size:	7.0 KB
ID:	1746190  
Last edited by Abhitha; 20th February 2013 at 04:39 PM.
20th February 2013, 09:28 PM |#9  
Senior Member
Flag Toronto
Thanks Meter: 515
 
More
Re: [Q] Type password to decrypt storage
I just wanted to point out: in my experience, you can't sideload anything before first boot after reflashing userdata.img or doing a wipe from fastboot, because it doesn't initialize the data partition until you take it through a boot cycle into the ROM. This may be the cause of the erroneous encryption message in custom recovery.

If you boot the tablet, and then after boot and proper shutdown go into custom recovery, do you still get the same message?

Sent from my Nexus 7 using Tapatalk HD
22nd March 2013, 04:56 AM |#10  
Member
Thanks Meter: 2
 
More
Was there ever a resolution for this issue? I ran into the same thing today - I turned on my n7 after months of no use, and it asked for a decryption password which I never set.
22nd March 2013, 09:35 AM |#11  
Senior Member
Thanks Meter: 855
 
More
Quote:
Originally Posted by jmusso

Was there ever a resolution for this issue? I ran into the same thing today - I turned on my n7 after months of no use, and it asked for a decryption password which I never set.

Resolution, I don't know. I do have a a few more tidbits of information, though.

I could reproduce the "enter password" symptom by doing a "fastboot erase userdata" followed by a boot of the custom recovery. That is, by not having any filesystem at all, I could produce the symptom with TWRP - even though I have never encrypted the /data partition. So, at least certain versions (2.4.1.0?) of that custom recovery seems to regard a mount failure to mean that "your data paritition is encrypted" - that certainly is a "red herring".

iirc, there is supposed to be a "crypto footer" in the last 16k bytes of the partition which lives outside of the end of the ext4 filesystem. I suppose that if you knew the exact size of your data partition, you could write zeros (dd if=/dev/zero ...) using the custom recovery to the last 16k of that partition and see if that clears anything up. Search the (above) link near the places where it mentions the "crypto footer". If that last 16k were all zeros, I would think that would cause "vold" to realize that there is no valid keys, etc in there. (But that's a little bit of a guess).

None of it explains why a device can sit on a shelf for months and suddenly start behaving differently on it's next boot, though. That smells a lot like bit rot or hardware failure in the eMMC flash memory.

But if the alternative is to throw the tablet out, it can't hurt to do a factory reset (stock devices) or a "fastboot erase userdata ; fastboot format userdata" (unlocked device). Both of those will nuke all data (including what's on the psuedo-SD card).

Anyhow, there's two ideas.

good luck

Read More
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes