How can I convert a rom in f2fs without applying kt-tweaker? And how to format /sysem partition correctly because I0ve tryed to install CM12 after convert system but the instllation got errors and gapps fail to install
thanks in advance.
Related
Q&A for [HOW TO] CONVERT any ROM to F2FS format
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [HOW TO] CONVERT any ROM to F2FS format. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Hi I'm having trouble with the conversion to f2fs, I'm currently on TWRP version 2.8.4.0 on HLTE CAN with temasek cm12 rom and lean kernel. When I go to convert the filesystem to f2fs from EXT4 there is no option for F2FS only EXT234,FAT, and exFAT. Accoriding to this thread http://forum.xda-developers.com/showthread.php?t=2494245 HLTECAN does support F2FS since 2.8.1.2 . Any help is appreciated thanks!
PhoenixWrightEsq said:
Hi I'm having trouble with the conversion to f2fs, I'm currently on TWRP version 2.8.4.0 on HLTE CAN with temasek cm12 rom and lean kernel. When I go to convert the filesystem to f2fs from EXT4 there is no option for F2FS only EXT234,FAT, and exFAT. Accoriding to this thread http://forum.xda-developers.com/showthread.php?t=2494245 HLTECAN does support F2FS since 2.8.1.2 . Any help is appreciated thanks!
Click to expand...
Click to collapse
Could you please try rolling back to TWRP 2.8.30 ? Try and report whether the f2fs option is there
Unable to wipe data partition
Trying to convert phone to f2fs. I am able to format system and cache partitions. When I try data partition, I get:
E:Unable to wipe '/data'.
E:Unknown MTP message type:1
E:Error changing file system
Any help?
I am using TWRP 2.8.5.0 on a T-Mobile Note 3.
d3e1123 said:
Trying to convert phone to f2fs. I am able to format system and cache partitions. When I try data partition, I get:
E:Unable to wipe '/data'.
E:Unknown MTP message type:1
E:Error changing file system
Any help?
I am using TWRP 2.8.5.0 on a T-Mobile Note 3.
Click to expand...
Click to collapse
I'm having the same exact problem trying to convert a Nexus 7. Did you ever figure out a solution?
d3e1123 said:
Trying to convert phone to f2fs. I am able to format system and cache partitions. When I try data partition, I get:
E:Unable to wipe '/data'.
E:Unknown MTP message type:1
E:Error changing file system
Any help?
I am using TWRP 2.8.5.0 on a T-Mobile Note 3.
Click to expand...
Click to collapse
Same here. What I did to get around it was to flash back to 2.8.4.0, change the filesystem, then flash back to 2.8.5.0 to restore my nandroid i made with 2.8.5.0. Looks like f2fs for /data is broken in 2.8.5.0 for hltetmo.
I changed cash and system to f2fs, but Data was not Chang.
My antutu score decreased to 34500 from 35170 after I changed my system and cash.
My ROM is aryamod 5.1, with last Lean kernel.
1. Can I change my DATA.
2. how can convert internal memory to f2fs to use SYMLINK.
TNX
Thanks, i tried and this guide working fine on lollipop.
Previously on Oxygen OS 4.5.15 running your /data partition on F2FS had no problems.
However currently if you try running your /data partition with F2FS either you get an infinite boot loop or if you're decrypted you get an error message that says "Encryption unsuccessful" I'm assuming that's just the kernel being unable to mount the /data partition and just assuming it was a bad encryption or corrupted partition message.
Default partition layout for /data seems to be EXT4 and that works correctly just posting a new topic here to see if anyone else knows the status of F2FS was it removed form OxygenOS 5 kernel?
vortex-5 said:
Previously on Oxygen OS 4.5.15 running your /data partition on F2FS had no problems.
However currently if you try running your /data partition with F2FS either you get an infinite boot loop or if you're decrypted you get an error message that says "Encryption unsuccessful" I'm assuming that's just the kernel being unable to mount the /data partition and just assuming it was a bad encryption or corrupted partition message.
Default partition layout for /data seems to be EXT4 and that works correctly just posting a new topic here to see if anyone else knows the status of F2FS was it removed form OxygenOS 5 kernel?
Click to expand...
Click to collapse
By default, OxygenOS (OOS) comes with File Based Encryption (FBE) enabled. FBE, at present, is not compatible with F2FS and hence OnePlus has the /data partition defaulting to EXT4.
If you wish to use F2FS on /data, you'd need to be decrypted, a. and b. you'd need a kernel that supports booting with F2FS as well. Also, I'm not sure but I think the latest TWRPs for OP5 also don't have the necessary stuff to convert the filesystem to F2FS, but I haven't checked that myself, so can't say that with certainty.
i'm on latest open beta 7(8.1) on my oneplus 5. i just unlocked the bootloader and flashed the bluespark twrp then i tried to change the system partition file system as f2fs. it showing done but on next line it showing an error as failed to mount '/system'(no such device). i tried official twrp also and facing the same error. it changed to f2fs but after booting it was again changed to ext4(checked with diskinfo)
then i can't able to mount the system also
Please help to solve this error and to change the file system as f2fs.
i can't able to boot into system on ob7 with twrp. but can be booted with stock recovery. please help me thanks in advance.
Ragavendran 007 said:
i'm on latest open beta 7(8.1) on my oneplus 5. i just unlocked the bootloader and flashed the bluespark twrp then i tried to change the system partition file system as f2fs. it showing done but on next line it showing an error as failed to mount '/system'(no such device). i tried official twrp also and facing the same error. it changed to f2fs but after booting it was again changed to ext4(checked with diskinfo)
then i can't able to mount the system also
Please help to solve this error and to change the file system as f2fs.
i can't able to boot into system on ob7 with twrp. but can be booted with stock recovery. please help me thanks in advance.
Click to expand...
Click to collapse
You have to format data and then change system partition to ext4 and now you can flash the rom again.
Aarju said:
You have to format data and then change system partition to ext4 and now you can flash the rom again.
Click to expand...
Click to collapse
I formatted the data . Then only I tried to change the file system as f2fs. .. I want to change the filesystem as f2fs
Ragavendran 007 said:
I formatted the data . Then only I tried to change the file system as f2fs. .. I want to change the filesystem as f2fs
Click to expand...
Click to collapse
Ext4 is better than f2fs and also you have to first format again and then clean flash is required.
Aarju said:
Ext4 is better than f2fs and also you have to first format again and then clean flash is required.
Click to expand...
Click to collapse
F2fs has better writing speed. Then I may help to install the apps faster.. right?
https://medium.com/thecyberfibre/f2fs-versus-ext4-our-take-on-the-ongoing-battle-c0324f46d040
Ragavendran 007 said:
F2fs has better writing speed. Then I may help to install the apps faster.. right?
Click to expand...
Click to collapse
While faster, you may find yourself with compatibility issues in regard to your preferred ROM, etc.
Sticking with ext4 (for now) is simply the better option at the moment because it ensures that your reliability and compatibility. Also, there are apparently some issues with f2fs when it comes to device encryption.
Therefore: just wait. Maybe in the future f2fs will be the better option. As for now: I don't think that with an OP5 you need to worry about the installation time of apps taking too long.
Hi,
I'm trying convert Data and Cache partition from ext4 to f2fs.
I backup data and restore by TWRP after format data as f2fs.
But when I reboot it get bootloop after show homescreen.
I try other ROM/Kernel support f2fs and format data again but still got bootloop.
Does anyone know this problem?
Thanks
I've unlocked my new MI9T to install xiaomi.eu rom.
First of all, after unlock, i've installed the official TWRP and i've formatted (not wiped) the DATA partition.
I've noticed that TWRP logged that it was formatting the DATA partition with mkfs.f2fs ...... really strange...
So, i've rebooted to TWRP and changed the DATA partition type to EXT4 and formatted it... after a reboot i've tried to format it again and it was formatted again in F2FS (like F2FS was the default selection).
So i've tried to switch to OrangeFox recovery (i suspected a bug in TWRP)... but the same behaviour...seems that F2FS is the default partition type for my DATA partition.
I've installed the xiaomi.eu (the kernel in this rom is the official one, and i dont think that it supports F2FS) and the rom boot ok, without problems.
I've tried also to force ext4 on DATA, but with this partition type the rom never boot (it remains on the android bootanimation).
So right now, i see a f2fs partition type on my data partition, with original kernel.
I've tried also to change the cache partition to f2fs (by default this partition is formatted in ext4) but in this way, the rom boots, but i can't see the cache partition, seems that effectively the kernel can't mount the cache partition.
so i've unpacked the official miui_DAVINCIEEAGlobal_V11.0.4.0.QFJEUXM_5001481fbb_10.0 rom, and i've found that in the vendor partition, under (vendor)/etc/fstab.qcom there is this entry for DATA partition:
Code:
/dev/block/bootdevice/by-name/userdata /data [B]f2fs [/B]noatime,nosuid,nodev,nodiscard,fsync_mode=nobarrier,reserve_root=32768,resgid=1065 wait,check,fileencryption=ice,wrappedkey,quota,reservedsize=128M,latemount
So, this phone uses by default a F2FS partition type for DATA????
gulp79 said:
...so i've unpacked the official miui_DAVINCIEEAGlobal_V11.0.4.0.QFJEUXM_5001481fbb_10.0 rom, and i've found that in the vendor partition, under (vendor)/etc/fstab.qcom there is this entry for DATA partition:
So, this phone uses by default a F2FS partition type for DATA????
Click to expand...
Click to collapse
Yes - stock QFJEUXM 11.0.4, never formatted (or wiped) Data, see screenshot from /vendor/etc/fstab.qcom