Enable F2FS for USERDATA & CACHE

xZeeshan

Member
Mar 14, 2019
18
9
0
Hey. Im gonna be changing to f2fs. Wanted to know if i have to flash fstab before flashing a new update/new rom every time
Also are you still using mi6? Did you buy a new device?
Thanks.
 

voetbalremco

Inactive Recognized Developer
Jan 6, 2012
4,620
1,875
253
gelderland
Hey. Im gonna be changing to f2fs. Wanted to know if i have to flash fstab before flashing a new update/new rom every time
Also are you still using mi6? Did you buy a new device?
Thanks.
You don't.
Enable the setting in TWRP to use rm -f instead of formatting.
In this way wiping only removes the files in a partition, and it doesn't format the partition back to EXT4.
 

Diagrax

Senior Member
Mar 8, 2009
193
2
18
I understand the first post state "POCO lacks a proper encryption method on F2FS" but is it still the same now?
Have anyone tried F2FS with encryption?
 

mslezak

Senior Member
Dec 12, 2016
266
248
43
Houston
I made a Mi9 kernel with F2FS support and other stuff (Fsync off, GPU OC 830, CRC off if wanted). Yes it has F2FS encryption enabled in the build. Looking at what you do here I would need to use grep to mount the partition? I can format in TWRP to F2FS but TWRP can't mount it. Looks like you are bypassing TWRP with grep via Linux? Trying to figure out how to mount this and run F2FS you had luck on Poco F1 Mi9 same brand... Also /vendor/etc/fstab..qcom can be edited in a root browser and the changes stick.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone