Problem with encryption on CM11

Search This thread

Zero-V

Member
Apr 21, 2014
27
4
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:
  • Like
Reactions: Bonoboo

Zero-V

Member
Apr 21, 2014
27
4
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! :mad:
I`m out of ideas
 

Zero-V

Member
Apr 21, 2014
27
4
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
xdaforums.com/showthread.php?t=2584956
 
Last edited:

Zero-V

Member
Apr 21, 2014
27
4
Ok, I continue my monologue FWIW :eek:

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

Senior Member
Oct 11, 2013
710
271
26
dublin
Xiaomi Poco F2 Pro (Redmi K30 Pro)
Ok, I continue my monologue FWIW :eek:

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
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    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?
    1
    Ok, FXP319 doesn`t fix issue. Also I checked FXP316 and FXP309 - the first with Xperia M support.