Cannot decrypt encrypted partition when using TWRP or CWM

shockidelica

New member
Mar 21, 2008
3
1
0
West Dundee, IL
I unlocked and rooted my AT&T HTC One with the stock AT&T 4.3 image, installed TWRP 2.6.3.3 and rebooted into recovery. Due to restrictions from my company, I am required to have the partition encrypted. When I boot into TWRP, I enter the same password I use to decrypt the phone when I boot it from off. However, TWRP fails to accept the password and will not let me access the file system.

I have also tried using flashing the recovery to CWM 6.0.4.3 and using that only to have the same issue.

Ideally, I would like to be able to flash patches to remove both the AT&T bloatware and the 'Dial 611' check for tethering.

I have tried a few proposed solutions from XDA to the issue but still cannot get around it. If any has had success in getting around it, can you please post steps of what you did here for the sake of clarity?

Thank you!
 

roux.

Member
Jul 3, 2010
6
1
0
I unlocked and rooted my AT&T HTC One with the stock AT&T 4.3 image, installed TWRP 2.6.3.3 and rebooted into recovery. Due to restrictions from my company, I am required to have the partition encrypted. When I boot into TWRP, I enter the same password I use to decrypt the phone when I boot it from off. However, TWRP fails to accept the password and will not let me access the file system.
I have the same issues. Did you find a solution?
 

bjg222

Senior Member
Nov 9, 2009
183
29
0
Atlanta, GA
i only found this one: https://github.com/TeamWin/Team-Win-Recovery-Project/issues/247

and then i changed the Password with cryptfs.
But it doesn't work for me......
I was just searching for the same issue, and I stumbled upon that thread as well. Except there's now an additional post from mid-February with more details:

https://github.com/TeamWin/Team-Win-Recovery-Project/issues/247#issuecomment-34895111

Looks like HTC doesn't use the same encryption scheme as stock Android, but rather uses some specific HTC algorithm, so TWRP doesn't support it because it would be too much work to do so. Dissapointing, but also understandable. I've only just encrypted my device (in order to be able to check my Exchange email for work), and I didn't think about the TWRP no longer being able to access my data partition or the internal sdcard... Reading through some of the more recent comments, though, it's still possible future releases of TWRP (2.7+) may resolve the issue, though I just tried the most recent release (2.7.0.0) with no luck.
 
Last edited:

atrixboy

Senior Member
Apr 5, 2011
75
11
0
I've had this issue on mine as well. Simply decrypt storage within settings. Reboot in TWRP, flash patch, re-encrypt. Pain in the a$$ but it works for me.