Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,804,353 Members 40,462 Now Online
XDA Developers Android and Mobile Development Forum

Problems with /data and unintentional encryption

Tip us?
 
lightrapid
Old
(Last edited by lightrapid; 5th June 2014 at 12:00 PM.) Reason: slight errors and misspellings. added more details
#1  
lightrapid's Avatar
Junior Member - OP
Thanks Meter 0
Posts: 10
Join Date: Sep 2010
Default Problems with /data and unintentional encryption

Hey xda mates,

I'm having a huge problem at the moment with my HTC M8 (from T-Mobile if that may help). I may have accidentally "bricked" my phone because of an error of misclicking when trying to install a new ROM and restore my settings. Something weird must have occurred after trying to restore my Device ID using Titanium Backup. After doing a suggested reboot, my phone locked itself up and seemed to have encrypted the storage, asking me for a password to unencrypt the phone. I've tried factory resetting my phone however I have huge issues when trying to reset everything.

Despite going into PhilZ's Recovery and trying to clean up all the previous data, I cannot properly accomplish it because my /data partition seems to be locked or unavailable. When specifically trying to Format /data in Recovery, it gives me an error that it cannot be mounted or accessed. I've tried installing another ROM and formatting again but nothing seems to work. Does anyone have any idea on how to fix this issue?

I would really appreciate any help or tips you guys can give me!
 
killcake
Old
#2  
killcake's Avatar
Junior Member
Thanks Meter 4
Posts: 6
Join Date: Dec 2011
This happened to me yesterday running CM11. I followed the instructions in the below post and they allowed me to get my phone back to a functional state, albeit losing everything since my last backup.

http://forum.xda-developers.com/show...88268828464220

I ended up sideloading KANGAKAT and it's been great.

http://forum.xda-developers.com/show....php?t=2709097

Good luck!
The Following User Says Thank You to killcake For This Useful Post: [ Click to Expand ]
 
lightrapid
Old
(Last edited by lightrapid; 5th June 2014 at 03:14 PM.)
#3  
lightrapid's Avatar
Junior Member - OP
Thanks Meter 0
Posts: 10
Join Date: Sep 2010
Quote:
Originally Posted by killcake View Post
This happened to me yesterday running CM11. I followed the instructions in the below post and they allowed me to get my phone back to a functional state, albeit losing everything since my last backup.

http://forum.xda-developers.com/show...88268828464220

I ended up sideloading KANGAKAT and it's been great.

http://forum.xda-developers.com/show....php?t=2709097

Good luck!
Oh my goodness! Thank you so much! It has worked as directed, took me a bit longer because I didn't follow the directions as is. For those of you who may also face this problem I've copied the directions down below formatted a bit more cleanly.

[with credit to user pjim]
Use the HTC Tool Kit from here. You may already have it installed because this is how you likely rooted your phone.

1: Go into Recovery and Format system.
2: Still in recovery, go to "Install Zip" then choose "Install zip from sideload"
3: Use the Toolkit to flash a ROM that could be smaller than 900mb by going into the "ADB" button and then choosing a ROM from the File Path, then clicking "Sideload"
4: Once it's finished installing, let it boot, and let your phone boot into the password screen as well.
5: Power back down and then go back into Recovery.
6: Go to the "Mounts and Storage Menu," scroll down and then select "format /data and /data/media (/sdcard)"
7: Reboot into a new clean phone.

Extra note: Make sure you always back-up your data in case of problems that arise like this! Although I have a feeling that this may have also arisen as a result of having S-ON, so maybe doing S-OFF should prevent this, though I could be wrong.
 
BerndM14
Old
#4  
Senior Member
Thanks Meter 189
Posts: 588
Join Date: Apr 2014
Quote:
Originally Posted by lightrapid View Post
Oh my goodness! Thank you so much! It has worked as directed, took me a bit longer because I didn't follow the directions as is. For those of you who may also face this problem I've copied the directions down below formatted a bit more cleanly.

[with credit to user pjim]
Use the HTC Tool Kit from here. You may already have it installed because this is how you likely rooted your phone.

1: Go into Recovery and Format system.
2: Still in recovery, go to "Install Zip" then choose "Install zip from sideload"
3: Use the Toolkit to flash a ROM that could be smaller than 900mb by going into the "ADB" button and then choosing a ROM from the File Path, then clicking "Sideload"
4: Once it's finished installing, let it boot, and let your phone boot into the password screen as well.
5: Power back down and then go back into Recovery.
6: Go to the "Mounts and Storage Menu," scroll down and then select "format /data and /data/media (/sdcard)"
7: Reboot into a new clean phone.

Extra note: Make sure you always back-up your data in case of problems that arise like this! Although I have a feeling that this may have also arisen as a result of having S-ON, so maybe doing S-OFF should prevent this, though I could be wrong.
Just out of curiosity, did you flash an AOSP ROM when this encryption thing happened(As mentioned by you in first post) ? I know the second poster here did flash AOSP (Cyanogenmod)

Perhaps could have tried the suggestion in opening post here .

Oh well, good that your device works again anyways.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes