[Q] F2fS gets reverted to EXT4 - Galaxy S 4 Mini Q&A, Help & Troubleshooting

Hi!
I got twrp v2.8.6.0 on s4 mini gt-i9190, and wanna try f2fs on kitkat roms.
The problem is that i did format f2fs to system, cache, and data folders. But when i flash ANY rom (carbon, cm11 M12, slimkat, etc etc) the system folder gets reverted to EXT4.
Tried the "force f2fs format" option in settings (twrp 2.8.1.0) but its the same, after the rom flash, the partition gets reverted to EXT4.
No wondes whats happening, sure you guys can help.
Thanks in advance! And i apologize for my bad english...

Attached a screenshot where you can see

UP!
Any hint?

UP!

Related

F2FS System wide, questions...

Anyone here experienced with system partitions and dependancies?
Im trying to run my n7105 in f2fs system wide.
ive found a few small glitches that cause me greif.
1. if i format the cache to f2fs. twrp cant mount data afterwards.
installing roms works fine but you lose your modem/baseband. especially if its a pre 4.3 modem.
2. if i format my sdcards to f2fs, very difficult to mount them as MTP for pc file transfer.
is there something im doing wrong with cache file system?
maybe you just cant have it f2fs? ext4 works fine with the rest of the system being f2fs.
also. i just found out i can stock rom then restore backup and it formats partitions back to f2fs for me.
no more double flashing and formatting.. yay.
any other tips or tricks when dealing with system partitions would be great.
also. whats the deal with f2fs and encryption being a problem?

F2FS on a stock 5.1.1 rom (easy way)?

I see my favourite glitch kernel have f2fs support.
How can i convert stock 5.1.1 rom to f2fs?
Recovery?
Using F2FS for the system partition isn't really interesting imo, and as you encountered can be annoying if your rom installation script forces EXT4. I suggest you to try formatting DATA and CACHE partitions as F2FS (make sure to backup your whole internal storage if needed) using the latest TWRP recovery. Remember to reflash Glitch kernel after that (using MTP in recovery to get back your whole internal SD data) so your device can boot (as the kernel package will detect partitions at flash time). Good luck !
Tnx, will try.
On N7 2012 and 4.4 android this tool was good for me.
How did this work out? Is it worth doing?

Cannot apply f2fs on N7105

Hi all, I tried to search every posts in the thread of wilson3q's unofficial build cm12.1, to see if the rom supports f2fs since I really love this rom. But I only found 1 post asking without answer. So may I ask is this rom supports f2fs for system, cache, and data?
Below were what I have done before but failed.
1. Flash AGNi pureCM kernel and reboot back to TWRP 2.8.7.0
2. Flash zips provided in the thread of AGNi pureCM kernel to turn my N7105's system, data and cache from ext4 into f2fs
3. Flash latest build of wilson3q's unofficial build cm12.1, then wipe cache/davik cache
4. Flash AGNi pureCM kernel again, then wipe cache/davik cache
5. Flash Open Gapps, then wipe cache/davik cache
After all these, I noticed the System partition is back to ext4 again, is this means wilson3q's unofficial build cm12.1 doesn't support f2fs? In addition, the rom loops in CM boot logo if the Data and Cache continue to be f2fs. Everything gets fine again if I change all the partition back to ext4.
Can anyone help?
erictrixis said:
Hi all, I tried to search every posts in the thread of wilson3q's unofficial build cm12.1, to see if the rom supports f2fs since I really love this rom. But I only found 1 post asking without answer. So may I ask is this rom supports f2fs for system, cache, and data?
Below were what I have done before but failed.
1. Flash AGNi pureCM kernel and reboot back to TWRP 2.8.7.0
2. Flash zips provided in the thread of AGNi pureCM kernel to turn my N7105's system, data and cache from ext4 into f2fs
3. Flash latest build of wilson3q's unofficial build cm12.1, then wipe cache/davik cache
4. Flash AGNi pureCM kernel again, then wipe cache/davik cache
5. Flash Open Gapps, then wipe cache/davik cache
After all these, I noticed the System partition is back to ext4 again, is this means wilson3q's unofficial build cm12.1 doesn't support f2fs? In addition, the rom loops in CM boot logo if the Data and Cache continue to be f2fs. Everything gets fine again if I change all the partition back to ext4.
Can anyone help?
Click to expand...
Click to collapse
In TWRP there is a setting to use "rm -f" instead of formatting. If you make sure this is on before flashing the ROM it might work. I remember doing this some years ago.
Installing the ROM usually formats /system as ext4 but that setting just wipes all files (shouldn't be any as you formatted to f2fs) and so keeps the old file system (f2fs) rather than formats the new (ext4).
This worked for me on my N7100 using Agni kernel (had f2fs support). In the end I stopped using f2fs since my phone would have the "sleep of death" so I had to pull the battery. Eventually this lead to massive corruptions of the file system on /data and I lost everything.
I read somewhere that f2fs speed advantage is not that great on read only partitions such as /system.
Anyway, that's my experience, it's up to you what you do now. Hopefully my advice works in your N7105.
Sent from my GT-N7100 using Tapatalk
DarrenNewsgroup said:
In TWRP there is a setting to use "rm -f" instead of formatting. If you make sure this is on before flashing the ROM it might work. I remember doing this some years ago.
Installing the ROM usually formats /system as ext4 but that setting just wipes all files (shouldn't be any as you formatted to f2fs) and so keeps the old file system (f2fs) rather than formats the new (ext4).
This worked for me on my N7100 using Agni kernel (had f2fs support). In the end I stopped using f2fs since my phone would have the "sleep of death" so I had to pull the battery. Eventually this lead to massive corruptions of the file system on /data and I lost everything.
I read somewhere that f2fs speed advantage is not that great on read only partitions such as /system.
Anyway, that's my experience, it's up to you what you do now. Hopefully my advice works in your N7105.
Sent from my GT-N7100 using Tapatalk
Click to expand...
Click to collapse
Thank you so much! I will try that when I get back to home!

Modify partition Ext4 to F2FS File System

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.

F2FS/EXT4 - Data/System/Cache

Hello.
I tried Syberia 3 but had some bugs like frozen interface etc and had to reboot when it happened
Then I wanted to go back to a stable ROM, LineageOS 16.
However, I am so brain dead when it comes to F2FS or Ext4 and device encryption.
Can anyone explain me:
When does the device become encrypted?
When talking about F2FS, is it for all cache data and system or only one/some specific?
When you have the famous "encryption unsuccessfull, what should you do? Set file system to ext4? If yes, which one? System, data, cache? All 3?
Thanks in advance, my phone is softbricked ATM. Even the stock firmware trick didn't worked this time ?
Kicroy said:
Hello.
I tried Syberia 3 but had some bugs like frozen interface etc and had to reboot when it happened
Then I wanted to go back to a stable ROM, LineageOS 16.
However, I am so brain dead when it comes to F2FS or Ext4 and device encryption.
Can anyone explain me:
When does the device become encrypted?
When talking about F2FS, is it for all cache data and system or only one/some specific?
When you have the famous "encryption unsuccessfull, what should you do? Set file system to ext4? If yes, which one? System, data, cache? All 3?
Thanks in advance, my phone is softbricked ATM. Even the stock firmware trick didn't worked this time ?
Click to expand...
Click to collapse
If u want f2fs, then all will be on f2fs..if u want ext4, then only data pertition will be on ext4 and rest will be on f2fs

Categories

Resources