F2FS and Encryption

cold0ero

Member
Oct 13, 2010
43
1
0
South Florida
I've been trying to figure out if f2fs encryption is actually supported in android 5.0+ according to this website:

https://source.android.com/security/encryption/

Every time I try to encrypt my phone and the data partition is f2fs, the encryption process fails and android cries about me removing all data and starting over. Is there some sort of condition that I'm missing for encryption to work or is there a method outside the normal procedures that needs to be done in order to achieve success? I have no issues using adb to issue the commands if need be and I'm familiar with basic linux commands to get the job done (I am currently using Arch Linux as I'm typing this up). Is this something that the kernel has to support or is it on an OS level? According to Google, it should already be supported and I believe that document implies that the Qualcomm chip should also be used for speed with the file system.

Thanks for any help that can be given on this quest of frustration.
 

Aavion

Senior Member
Jun 30, 2010
322
207
0
30
Mönchengladbach
I'm actually using f2fs and encryption (official COS12.1.1 fastboot factory image's data and cache are f2fs formatted) without any problems... no idea what's wrong on your side :/

Gesendet von meinem A0001 mit Tapatalk
 
  • Like
Reactions: IvanCristina

ThunderThighs

Senior Member
Aug 7, 2015
305
112
63
What about kernel 3.10? There are 3.10 kernels for OPO. Wondering if they will work. Apologize for not trying out myself because of my inconvenience.

Downloads could be found in @idprophecy 's profile page. Thanks to his great work!
I doubt it would work with erorcun's 3.10 kernel because he never got encryption working even with ext4 and ended up abandoning everything and getting another phone. Is this kernel developer actively improving the 3.10 kernel for our device? Because there just seems to be a lot of sadly abandoned/out of date projects for the opo these days
 

codgician

Senior Member
Aug 13, 2013
123
62
58
Chengdu
codgician.me
I doubt it would work with erorcun's 3.10 kernel because he never got encryption working even with ext4 and ended up abandoning everything and getting another phone. Is this kernel developer actively improving the 3.10 kernel for our device? Because there just seems to be a lot of sadly abandoned/out of date projects for the opo these days
Well it seems to be updated quite frequently. Check out his MEGA FOLDER in his profile page. The latest one was compiled on Nov 28 and it is said to support both CM13 and CM14.1.