f2fs and encryption

ThunderThighs

Senior Member
Aug 7, 2015
305
112
63
Does anyone here know why the oneplus one completely poops itself when I attempt to encrypt an f2fs-formatted partition? Seems like it would only be a small issue. Or maybe it has to do with our drivers? Its always been a question of mine since I purchased this device.
 

ThunderThighs

Senior Member
Aug 7, 2015
305
112
63
The support for f2fs encryption for the 3.4y kernel has been dropped. If you are a coding genius you can get it working with a lot of time and effort.
Someone already has. Looks like it was a pretty simple solution too. F2FS on /data and /cache is working with full data encryption with an extra long custom boot password, on Tomom's 20190710 Linage Pie rom with Sultan's camera Hal. I thought it was too good to be true but it works, and it works great.