Microsoft to Counter “OK Google” with Bing Torque

When Microsoft is making apps for Android, users should be aware that something … more

Google Confirms “Android Lollipop Day” for November 3rd

A little over a week ago, Google announced the latest iteration of … more

Get Your XDA 2015 Custom Avatar and Signature Images Here

As stated in our motto, XDA Developer is for developers, by developers. The … more

Pin Your Photos on Android Lollipop with Photo Pinner

In the last few weeks,we have been talking quite a bit about Android 5.0 Lollipop. This … more
Post Reply

[Q] CM11 daily - suddenly locked out with encrypted /data

OP auslander2012

9th June 2014, 06:48 PM   |  #1  
OP Junior Member
Thanks Meter: 0
 
8 posts
Join Date:Joined: Jan 2010
I have an HTC One M8, running the dailies of CM11. Yesterday sometime the phone locked itself, and now all I get is "Type a password to decrypt storage". I've done a factory reset with no luck, wiped and re-installed the ROM, etc, and I always just get this prompt when booting the phone.

I can get into recovery (PhilZ) but recovery is unable to mount or format /data, and I feel like I'm pretty boned here. Recovery takes a while to load, which is interesting. The phone is *NOT* stolen, this literally happened between when I got off a plane (phone was fine, I turned off airplane mode and put it back in my pocket) and when I got to my hotel. This was over the span of maybe 30 minutes... I have no clue how I could have done this, I certainly didn't explicitly decide to encrypt the phone.

Is there anything I can do? I am still able to connect adb, etc, when at the bootloader.
9th June 2014, 07:06 PM   |  #2  
GohanBurner's Avatar
Senior Member
Flag Waukesha, WI
Thanks Meter: 30
 
229 posts
Join Date:Joined: May 2011
Quote:
Originally Posted by auslander2012

I have an HTC One M8, running the dailies of CM11. Yesterday sometime the phone locked itself, and now all I get is "Type a password to decrypt storage". I've done a factory reset with no luck, wiped and re-installed the ROM, etc, and I always just get this prompt when booting the phone.

I can get into recovery (PhilZ) but recovery is unable to mount or format /data, and I feel like I'm pretty boned here. Recovery takes a while to load, which is interesting. The phone is *NOT* stolen, this literally happened between when I got off a plane (phone was fine, I turned off airplane mode and put it back in my pocket) and when I got to my hotel. This was over the span of maybe 30 minutes... I have no clue how I could have done this, I certainly didn't explicitly decide to encrypt the phone.

Is there anything I can do? I am still able to connect adb, etc, when at the bootloader.

Search before posting, this has happened to many people. You can either flash the RUU for your device or you can try this in this thread: http://forum.xda-developers.com/show....php?t=2773203
9th June 2014, 07:25 PM   |  #3  
OP Junior Member
Thanks Meter: 0
 
8 posts
Join Date:Joined: Jan 2010
Quote:
Originally Posted by GohanBurner

Search before posting, this has happened to many people. You can either flash the RUU for your device or you can try this in this thread: http://forum.xda-developers.com/show....php?t=2773203

Thanks -- I have been searching around. That device (e2fsck -f -y /dev/block/mmcblk0p47) is /cache actually, not /data.

Code:
~ # e2fsck -f -y /dev/block/mmcblk0p47
e2fsck 1.41.14 (22-Dec-2010)
e2fsck: Device or resource busy while trying to open /dev/block/mmcblk0p47
Filesystem mounted or opened exclusively by another program?
~ #
~ # df
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                   935720       128    935592   0% /dev
tmpfs                   935720        20    935700   0% /tmp
tmpfs                   935720         0    935720   0% /storage
tmpfs                   935720         0    935720   0% /mnt/secure
tmpfs                   935720         0    935720   0% /mnt/fuse
/dev/block/mmcblk0p47
                       1030828     17096   1013732   2% /cache
9th June 2014, 07:59 PM   |  #4  
OP Junior Member
Thanks Meter: 0
 
8 posts
Join Date:Joined: Jan 2010
Works! Notably, 47 is cache, 48 is user data.

This has solved it for me:

Code:
e2fsck -f -y /dev/block/mmcblk0p48
26th June 2014, 12:05 AM   |  #5  
Junior Member
Thanks Meter: 0
 
16 posts
Join Date:Joined: Feb 2011
I have this same problem and cannot reboot into recovery or fastboot. It always just goes to the screen that says "type password to decrypt storage"

Can someone please help.

Sent from my SAMSUNG-SM-N900A using XDA Free mobile app
1st September 2014, 02:33 PM   |  #6  
Junior Member
Thanks Meter: 1
 
25 posts
Join Date:Joined: Jan 2005
Quote:
Originally Posted by joe7966

I have this same problem and cannot reboot into recovery or fastboot. It always just goes to the screen that says "type password to decrypt storage"

Can someone please help.

Sent from my SAMSUNG-SM-N900A using XDA Free mobile app

I have exact same problem and appreciate if someone can help here
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in One (M8) Q&A, Help & Troubleshooting by ThreadRank