Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,733,293 Members 38,634 Now Online
XDA Developers Android and Mobile Development Forum

Problem with encryption on CM11

Tip us?
 
Zero-V
Old
(Last edited by Zero-V; 6th May 2014 at 02:10 PM.)
#1  
Junior Member - OP
Thanks Meter 3
Posts: 14
Join Date: Apr 2014
Default Problem with encryption on CM11

Hi, installed FXP318 on Xperia M and cannot encrypt phone, logcat says:
"Orig filesystem overlaps crypto footer region. Cannot encrypt in place."

Found this topic while googling
forum.cyanogenmod.com/topic/82292-cm102-encryption-does-not-start-stuck-at-splash-screen/

Formatting /data from recovery doesn`t fix issue so far.

I assume it is a bug, how can I address it to developers?
The Following User Says Thank You to Zero-V For This Useful Post: [ Click to Expand ]
 
Zero-V
Old
#2  
Junior Member - OP
Thanks Meter 3
Posts: 14
Join Date: Apr 2014
Something is terribly wrong with encryption on FXP318 imho. So, according to link above and other sources, "It needs to make sure the filesystem doesn't extend into the last 16 Kbytes of the partition where the crypto footer is kept." I boot to recovery and formatted /data:
Code:
# mke2fs -T ext4 -L userdata /dev/block/mmcblk0p27 2133871
I made 512kb, 32kb give the exact error.

Next, encryption didn`t start either and phone just rebooted, logcat showed "unmounting /data failed" before reboot. Google lead here
code.google.com/p/android/issues/detail?id=58073

Script
Code:
# while true; do lsof | grep /data; sleep 0.2; done
showed that sensord is not allowing unmounting. So I did
Code:
# killall sensord
before final click to "Encrypt storage".
Finally, encrypting began and completed successfully (I thought so).

After reboot, phone is asking for passphrase and when I type it, green "decrypting" robot appears for a second and then black screen and phone is totally hanged and unresponsive, only removing battery helps.

#$ck!
I`m out of ideas
 
Zero-V
Old
(Last edited by Zero-V; 7th May 2014 at 01:42 PM.)
#3  
Junior Member - OP
Thanks Meter 3
Posts: 14
Join Date: Apr 2014
Anyone? There is no user with encryption enabled??

Could please someone point this thread to PecanCM or in dev thread, as I cannot write there
forum.xda-developers.com/showthread.php?t=2584956
 
Zero-V
Old
#4  
Junior Member - OP
Thanks Meter 3
Posts: 14
Join Date: Apr 2014
Ok, I continue my monologue FWIW

Encryption in stock firmware works as it should, w/o problem. Updating to CM11 lead to "Unsuccessful encryption" and phone resetting. I could encrypt with killing sensord though, but decrypting is still lead to unresponsive phone.
 
paper13579
Old
#5  
paper13579's Avatar
Senior Member
Thanks Meter 237
Posts: 682
Join Date: Oct 2013
Location: dublin
Quote:
Originally Posted by Zero-V View Post
Ok, I continue my monologue FWIW

Encryption in stock firmware works as it should, w/o problem. Updating to CM11 lead to "Unsuccessful encryption" and phone resetting. I could encrypt with killing sensord though, but decrypting is still lead to unresponsive phone.
Why would you want to encrypt your phone?

Sent from my C2004 using XDA Free mobile app
Press Thanks If I Helped

 
Zero-V
Old
#6  
Junior Member - OP
Thanks Meter 3
Posts: 14
Join Date: Apr 2014
Quote:
Originally Posted by paper13579 View Post
Why would you want to encrypt your phone?
Why would anyone don`t? In the world of security concerns and privacy invasions...
 
Zero-V
Old
#7  
Junior Member - OP
Thanks Meter 3
Posts: 14
Join Date: Apr 2014
Ok, FXP319 doesn`t fix issue. Also I checked FXP316 and FXP309 - the first with Xperia M support.

The Following User Says Thank You to Zero-V For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

LG G Watch Tool is a Toolkit all Owners Need

The LG G Watch is one of the first two devices hitting the market rocking the highly anticipated … more

Benchmark Your CPU Performance with Mini CPU Integer Script

When it comes to device testing, there are two types of people on XDA. The first … more

Rid Yourself of Charging Annoyances with No Wake on Charge Xposed Module

Almost every OEM has skinned and otherwise modifiedAndroid to suit … more