Does XA2 support the f2fs file system? - Sony Xperia XA2 Questions & Answers

The command "cat /proc/filesystems" doesn't show f2fs. If I format the /data partition to f2fs through twrp, will the phone be able to read it?

In custom roms (custom cores it does), for example u can build LOS 15/16/17 or AOSP 8/9/10 and tuning core for f2fs... or another FS support.

Related

[(KERNEL)] A dumb question about EXT4

[(KERNEL)] A dumb question about EXT4
a)Flashed CWM Kernel + EXT4 tools app. Converted system to EXT4.
b)Flashed Speedmod Kernel K15H. Convert RFS to EXT4 via recovery
c)Flashed Talon Dev 0.2.2. Automatic Convert system partition to EXT4.
1)Are there various type of EXT4?
2)Do I need to convert system into EXT4 each time I flashed a kernel?
3)Why each kernel could not recognize the system already EXT4 converted?
How do I verify the system is in EXT4? CWM EXT4 tool could not recognize ETX4 if you flashed with others kernel.
Can someone explain? many thanks
1) Ext4 or Ext4nj (nj stands for non-journalized), using Ext4nj is only for non critical data.
2) No, the new Kernel must try to know if you're already in Ext4, if it doesn't, it's stupid.
3) use the "mount" command in a terminal or via adb, if you see Ext4 in line with /system, /data, etc. etc., you're under Ext4 Lagfix.
No, there is no different kind of ext4. If you flashed stock rom with odin between each kernel transition, know that this reformat the file system to RFS. Ususally, i use chainfire ext4 tool to know if my FS is in ext4. Also, you should not haveto worry about changing FS to ext4 again after changing as you only change the kernel and not the FS. Next time can you post your question in question & answer sub-forum plz.
.Slane. said:
1) Ext4 or Ext4nj (nj stands for non-journalized), using Ext4nj is only for non critical data.
2) No, the new Kernel must try to know if you're already in Ext4, if it doesn't, it's stupid.
3) use the "mount" command in a terminal or via adb, if you see Ext4 in line with /system, /data, etc. etc., you're under Ext4 Lagfix.
Click to expand...
Click to collapse
true that there is journalised and non-journalised, but both can be mount the same way and are seen the same way by the system.
.Slane. said:
1) Ext4 or Ext4nj (nj stands for non-journalized), using Ext4nj is only for non critical data.
2) No, the new Kernel must try to know if you're already in Ext4, if it doesn't, it's stupid.
3) use the "mount" command in a terminal or via adb, if you see Ext4 in line with /system, /data, etc. etc., you're under Ext4 Lagfix.
Click to expand...
Click to collapse
Thanks man. I would strongly agree that each kernel should try to reconize the EXT4. Somehow, this not the case.
chadouming said:
No, there is no different kind of ext4. If you flashed stock rom with odin between each kernel transition, know that this reformat the file system to RFS. Ususally, i use chainfire ext4 tool to know if my FS is in ext4. Also, you should not haveto worry about changing FS to ext4 again after changing as you only change the kernel and not the FS.
Click to expand...
Click to collapse
Hi. As i said. Once you flashed another kernel, chainfire ext4 would not able to identify wheather your system is in Ext4. I'm using custom rom not stock.
Just to add on, frequent converting from/to Ext4 would cause some app to be force close. You have to reinstall the apps. What the hack!

F2FS for stock KK status

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

[RECOVERY & KERNEL ][F2FS] Support for f2fs

Hey guys,
i modify recovery and kernel to work with f2fs
- Recovery is Philz recovery with NULL kernel
- Kernel have modified fstab to mount f2fs partitions
I don't own the kernel, Kernel has been compiled by mdfzhi.
I only changed mountpoints and some bugs to get it work.
But it have modified fstab:
- cache is mounted in /dev/block/mmcblk0p25 as F2FS
- preload is mounted in /dev/block/mmcblk0p19 as EXT4
- data is mounted in /dev/block/mmcblk0p22 as F2FS
I switched it because f2fs require at least 200MB partition and cache have only about 100MB and preload about 300MB. - It will boost performance
Requirements:
- Nokia X
- installed system (like CM11, PAC etc.)
Installation:
0, THIS WILL CLEAR YOUR USERDATA AND CACHE, not SDCARD
1, download zip and unpack it
2, flash kernel and recovery with fastboot dont use flashify it will brick your phone
3, boot into recovery, it will get some errors like /data and /cache wont mount - just ignore this, it will work later
4, connect your phone to pc
5, run formater.bat or formater.sh - we must format this from pc because is ext4, after this is complete you can format data and cache from recovery (f2fs)
6, reboot and enjoy
If you found any bugs, tell me
This mod work in custom rom based on android 4.1.2?
Burnmode said:
This mod work in custom rom based on android 4.1.2?
Click to expand...
Click to collapse
I havent tested it on 4.1.2, it may work, just try it

Stock kernel has F2FS built in! Possible to use it?

/proc/filesystems shows that the stock kernel of OOS has already the F2FS filesystem built in (by the way, also NTFS, which is useful for OTG...).
Now, the partitions are formatted with ext4... and F2FS has certain advantages (among them speed) over ext4...
So, would it be possible to format to F2FS in TWRP and then flash a stock ROM?

[HELP] F2FS On Stock Lenovo Vibe K5 Plus

I wanted to know if lenovo vibe k5 plus(A6020a46 3GB Model) supports f2fs on stock lollipop??
Also it would be great if anyone could tell me how to convert et4 to f2fs
My A6020a46 2GB model (stock ROM, stock kernel) doesn't even boot with the DATA partition formatted as F2FS so I think it's unsupported. The 3GB model uses the same ROM (I suppose) so it's the same there.
You might want to try custom kernels like Vegito Kernel and Extreme Kernel as they claim to support F2FS (sorry I haven't test them).
Regarding converting to F2FS, see some articles like [Guide] Formatting EXT4 to F2FS without losing internal storage & data and [GUIDE] Convert /data to f2fs with TWRP 2.8.+ [TF700T]. Basically, you use TWRP to backup data, change the filesystem to F2FS and then restore them back.
I recommend experimenting with the CACHE partition first to see if stuff works.

Categories

Resources