Which filesystem is used for /data and /cache by latest OxygenOS (Nougat based)?
If I have formatted these 2 partitions as f2fs do I need to change them to ext4 before flashing latest Oxygen_4.1.3.zip in TWRP?
Just f2fs on data for OOS
rg_gapa said:
Which filesystem is used for /data and /cache by latest OxygenOS (Nougat based)?
If I have formatted these 2 partitions as f2fs do I need to change them to ext4 before flashing latest Oxygen_4.1.3.zip in TWRP?
Click to expand...
Click to collapse
I would stay on ext4 there is no real difference only in really big application. Also don't encrypt your device since it can take up to 10 minutes to boot in TWRP when encrypted on F2fs! Also it is not stable yet.
FYI: Currently I'm using data as f2fs and cache as ext4 - that's how OOS 4 works by default.
Related
For those who don't know what is f2fs, please search in the google.
After long time of testing, researching, etc, I managed to get my stock KK to use f2fs in /system and /cache partition.
But /data partition no matter what flags i tried to edit fstab.qcom to get it to use f2fs, device will get into bootloop.
So now the f2fs is not in its full potential.
I give up to make f2fs work in /data partition in stock KK.....very tired.
LG stock maybe have hardcoded some parameters about /data partition, so f2fs don't work.
This usage of f2fs in /system and /cache in stock KK, required to use my new F2FS kernel(which build-in a modified fstab.qcom and fstab.geefhd) and my new twrp(with the ability to format partition to f2fs).
But i am not sure if i will share them, as the benefits of using f2fs in /system and /cache is so little.
Who will want it actually?
Prerequisite is a device with stock KK with 4.1.2 bootloader.
Wing
mukwing said:
For those who don't know what is f2fs, please search in the google.
After long time of testing, researching, etc, I managed to get my stock KK to use f2fs in /system and /cache partition.
But /data partition no matter what flags i tried to edit fstab.qcom to get it to use f2fs, device will get into bootloop.
So now the f2fs is not in its full potential.
I give up to make f2fs work in /data partition in stock KK.....very tired.
LG stock maybe have hardcoded some parameters about /data partition, so f2fs don't work.
This usage of f2fs in /system and /cache in stock KK, required to use my new F2FS kernel(which build-in a modified fstab.qcom and fstab.geefhd) and my new twrp(with the ability to format partition to f2fs).
But i am not sure if i will share them, as the benefits of using f2fs in /system and /cache is so little.
Who will want it actually?
Prerequisite is a device with stock KK with 4.1.2 bootloader.
Wing
Click to expand...
Click to collapse
Hi,
I was looking around and saw someone mention that TWRP would format /data and skip /data/media could you check on that.
If it works please do tell.
How did you put the 4.1.2 bootloader on a KitKat F240L?
I had that until i got an update from LG OTA and it replaced my CWM with stock bootloader.
Forget about this old post.
I have successfully used f2fs on /system /cache and /data on cm rom with modified kernel and rom.
(I decided not to share it. Because i shift back to stock rom as the benefit of using f2fs is not much on our phone) )
Just not sucessfully use f2fs on stock rom.
For keeping 4.1.2 bootloader on KK, first, flash back to kdz version of 4.1.2(then your bootloader will be 4.1.2), then use flashable zip method to upgrade to KK, thus your 4.1.2 bootloader will not be touched. If using kdz method to upgrade to KK, you will be using KK bootloader, which is troublesome.
Btw, it is no way using f2fs on /data without format the /data/media also, they are on one partition!
Wing
Hey guys,
i thinking about using f2fs on Nokia X
I format /data and /cache as f2fs and changed values in fstab.qcom and its work and it 2x faster than ext4 !
But i have one question, can anyone port recovery like twrp, cwm and philz with f2fs support
because in philz recovery /data and /cache not accessible
Hello, I would like to know which are the correct partitions to change the file system to F2FS. Can I flash to cache, cache and dalvik, system, data, internal storage? Or could you please indicate me which the correct partitions to change the file system to F2FS. The rom stock are compatible with that F2FS file system? I think that from recovery (twrp latest version) it is possible to change the F2FS file system of the partition, thank for you help.
Note:my phone model is LG g3 d851
F2FS on stock requires a compatible kernel and modded ramdisk (fstab), btw you can format data and cache (correct partitions) to F2FS but your phone won't boot.
Loller79 said:
F2FS on stock requires a compatible kernel and modded ramdisk (fstab), btw you can format data and cache (correct partitions) to F2FS but your phone won't boot.
Click to expand...
Click to collapse
Hello,
Could you please tell me that I must modify of the ramdisk (fstab) to avoid problems of bootloop. I have read in several sites that brings advantages in writing data to modify the System and data partition. Thank for you answer.
I flashed data/system/cache to f2fs and the rom boots but gets stuck at the beginning, with all kinds of com.android.phone and system ui crashes.
Anyone know how to make f2fs work on cm13?
Skwerl23 said:
I flashed data/system/cache to f2fs and the rom boots but gets stuck at the beginning, with all kinds of com.android.phone and system ui crashes.
Anyone know how to make f2fs work on cm13?
Click to expand...
Click to collapse
You have to flash agni kernel it supports f2fs but i advise you stay away from f2fs as it corrupts data. Use f2fs only if you are sure.
Sent from my GT-N7100 using Tapatalk
Stick with original Format. Ext2
Sent from my Xiaomi Mi 5 using XDA Labs
harishdayanand said:
Stick with original Format. Ext2
Sent from my Xiaomi Mi 5 using XDA Labs
Click to expand...
Click to collapse
Ext2, No..... ext4 is better
Skwerl23 said:
I flashed data/system/cache to f2fs and the rom boots but gets stuck at the beginning, with all kinds of com.android.phone and system ui crashes.
Anyone know how to make f2fs work on cm13?
Click to expand...
Click to collapse
Else if you want to use f2fs, you must have a ROM who can boot with a good fstab to mount partition in f2fs format!!!!
I have made my rom with F2FS on cache partition (cannot format data ATM with my old recovery, it failed, i must update it).
Code:
#test f2fs
[B][I][COLOR="Red"]/dev/block/platform/dw_mmc/by-name/CACHE /cache f2fs noatime,nosuid,nodev wait[/COLOR][/I][/B]
#/dev/block/platform/dw_mmc/by-name/CACHE /cache ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check
#test f2fs
/dev/block/platform/dw_mmc/by-name/USERDATA /data f2fs noatime,nosuid,nodev wait
/dev/block/platform/dw_mmc/by-name/USERDATA /data ext4 noatime,nosuid,nodev,noauto_da_alloc,journal_async_commit,errors=panic wait,check
/dev/block/platform/dw_mmc/by-name/HIDDEN /preload ext4 noatime,nosuid,nodev,journal_async_commit wait
If you want i can share my rom for you to try.....?
Bizcuite
So, I have the AL10 variant of the phone, with Havoc android8 ROM + MORFUZ Custom kernel + Magisk v16.
I have formatted /data - not wipe , but formatted - and rebooted. Despite custom ROM+kernel+magisk I still have an encrypted /data partition.
What am I doing wrong?
Tweetytek said:
So, I have the AL10 variant of the phone, with Havoc android8 ROM + MORFUZ Custom kernel + Magisk v16.
I have formatted /data - not wipe , but formatted - and rebooted. Despite custom ROM+kernel+magisk I still have an encrypted /data partition.
What am I doing wrong?
Click to expand...
Click to collapse
Data is encrypted because the fstab file forces it to be .
Fstab file is in vendor partition.
This is good description on how to do it.
https://forum.xda-developers.com/showpost.php?p=76980317&postcount=3
sorted. thanks
mrmazak said:
Data is encrypted because the fstab file forces it to be .
Fstab file is in vendor partition.
This is good description on how to do it.
https://forum.xda-developers.com/showpost.php?p=76980317&postcount=3
Click to expand...
Click to collapse