Tutorial to change filesystem to F2FS? - ZenFone 2 Q&A, Help & Troubleshooting

Can someone help me to change my filesystem to f2fs from ext4?
im using stock rom and project t kernel ze550ml
i just done some random attempt and when i boot up my data corrupted .. so i had to revert back to ext4 .. can someone show me proper step by step guide?

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!

[Q] ROM Ext4 format ?

hi all,
i know how to format IN YOUR ROM to ext4 but i am building a ROM and i used the Stock Rom that is in Rfs FS , how do i format to ext4 ? i use PX-Kernel 3
thank you
EDIT: btw is it normal that when i exract the boot.img i dont get a Ramdisk ?
And again , no answer...
I suggest you tar the contents of the RFS /system partition, reboot into recovery, format /system to ext4 and extract the contents of your tarball.

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

[Q] How change file system on Lineage OS ROM?

Hi,
Once I read that using determinate file systems on the diferents partition cloud lead to some benefits (better performance/less degradation) and I want try to change the File System, but I ask before get a brick.
The idea is to get this:
/storage/emulated/0 formatted in esdfs
/data formatted in f2fs
I use TWRP and official Lineage OS 14. In TWRP there is an option to change file system but i dont know if after change FS is necessary to install again the ROM and if do this would revert the FS to Ext4.
Sorry for my English.
LLKS said:
Hi,
Once I read that using determinate file systems on the diferents partition cloud lead to some benefits (better performance/less degradation) and I want try to change the File System, but I ask before get a brick.
The idea is to get this:
/storage/emulated/0 formatted in esdfs
/data formatted in f2fs
I use TWRP and official Lineage OS 14. In TWRP there is an option to change file system but i dont know if after change FS is necessary to install again the ROM and if do this would revert the FS to Ext4.
Sorry for my English.
Click to expand...
Click to collapse
Full backup (in TWRP) - factoryreset + change FS (in TWRP of course) - restore backup. Make sure you have your backup put on the SD, and have a copy of the full SD somewhere safe. Normally, flashing new ROM's afterwards would keep the FS intact.
Cheers

I need help with the correct format please!!!

Could someone tell me the correct format? my phone only boot in recovery all the time. Help me please!!
System: Ext4 or F2FS?
Data: Ext4 or F2FS?
Cache: Ext4 or F2FS?
Vendor: Ext4 or F2FS?
:crying::crying::crying::crying:
Does your phone start normally if you put it into fastboot boot mode then select boot normally?
If so follow this
https://forum.xda-developers.com/g5/how-to/fix-phone-reboots-recovery-mode-started-t3705325
If not make sure you are flashing the rom correctly
To reformat data type
fastboot erase userdata
I don't have this device so I don't know what they are originally formatted as but there shouldn't be any reason why you would want to change them
it really work!!
ThankĀ“s it really work!! you are awesome!! :good :victory:

Categories

Resources