FORUMS

AOSP 5.1 Lollipop for Nexus Q

Google Nexus Q is an intriguing device released with Android 4.0 Ice Cream Sandwich. It was abandoned by … more

XDA Picks: Best Apps of the Week (Apr 17 – 24)

Apps are at the front and center of any smartphone experience, and with over a … more

Glimpse Notifications: Easier Lockscreen Notifications

Lollipop brought a revamp to the lockscreen, taking away custom widgets but … more

What Are the Best Looking Apps on Android?

As more developers are updating their apps with Material Design elements, we’re … more
Post Reply Subscribe to Thread Email Thread

Problem with encryption on CM11

6th May 2014, 10:15 AM |#1  
OP Junior Member
Thanks Meter: 3
 
More
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?
Last edited by Zero-V; 6th May 2014 at 02:10 PM.
The Following User Says Thank You to Zero-V For This Useful Post: [ View ]
 
 
6th May 2014, 01:36 PM |#2  
OP Junior Member
Thanks Meter: 3
 
More
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
7th May 2014, 10:47 AM |#3  
OP Junior Member
Thanks Meter: 3
 
More
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
Last edited by Zero-V; 7th May 2014 at 01:42 PM.
8th May 2014, 09:27 AM |#4  
OP Junior Member
Thanks Meter: 3
 
More
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.
8th May 2014, 08:10 PM |#5  
paper13579's Avatar
Senior Member
Flag dublin
Thanks Meter: 264
 
More
Quote:
Originally Posted by Zero-V

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
8th May 2014, 10:35 PM |#6  
OP Junior Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by paper13579

Why would you want to encrypt your phone?

Why would anyone don`t? In the world of security concerns and privacy invasions...
13th May 2014, 10:19 AM |#7  
OP Junior Member
Thanks Meter: 3
 
More
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: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes