NovaFusion / android_device_samsung_golden

Android 4.4+ device tree for i8190
37 stars 31 forks source link

encryption #48

Open th3d4rk opened 9 years ago

th3d4rk commented 9 years ago

phone encryption doesen't work

mjfwalsh commented 8 years ago

Phone: GT-i8190 ROM: cm11-20151017

Possibly the same issue.

I reformatted my data partition to f2fs. It worked well, but when I tried to encrypt the data partition it seemed to work but when the phone rebooted it rejected the correct password (I tried this several times.)

I reformatted as ext4 but it didn't get past the encryption splash screen. I checked logcat and found the following error:

E/Cryptfs ( 1890): Orig filesystem overlaps crypto footer region. Cannot encrypt in place.

I resized the ext4 volume using tune2fs and it works now, although TWRP (Novafusion's build v2.8.0.0 20140911) can't mount it.