Related
Hello folks,
Well, we all know that the stock Moto G filesystem is F2FS. But surprisingly, the Moto G GPe has a native Ext4 support. Since F2FS is supposed to have about a 30% better performance, I decided to try out the convert to F2FS feature in Philz recovery. So I formatted my system and cache to F2FS (since it didn't give me an option to wipe data and data/media to convert) and flashed a ROM. Currently, I seem to be facing a bootloop.
Anyway, has anyone else tried something like this? If yes, then please share your experience here.
Cheers.
It would be great if that would be possible,then you could jump from retail stock to GPe more easly. I have an XT1032 stock rom and i'd really like GPe,but my concerns are that would i be able to stock XT1032 again from GPe? You know,for F2FS and if i wanted to flash custom roms again to have better support. Any thoughts on my question? And look the first post,this is really interesting since if you'd want custom roms and you are on GPe,you wouldnt need to flash stock ROM to avoid bugs with custom roms and GPe
TWRP also include a format to f2fs <-> ext4 option:
Add GUI option to change or repair file systems on individual partitions. The change is destructive so backup your data including internal sdcard first. This option should make it a little easier to migrate a device from ext4 -> f2fs, for instance. You will find this option under Wipe -> Advanced Wipe, then select only one partition and then press the Repair or Change File System button. If a developer has added f2fs support for your device and we don't have it in TWRP, please contact me via PM to arrange for it to be added.
Click to expand...
Click to collapse
http://teamw.in/project/twrp2
Wipe > Advanced Wipe > <Select Partition> > Repair or Change File System > Change File System
I will test this out tomorrow when I have some time.
U need a kernel support somewhat like this in nexus 5 for f2fs
http://forum.xda-developers.com/google-nexus-5/orig-development/nexus-5-f2fs-t2668486
Stock kernel supports f2fs, GPE kernel does not. Development of a GPE kernel that supported f2fs would be ideal, assuming the GPE stock ROM also functions correctly with a f2fs formated USERDATA partition.
Has anyone even tried to flash boot.img from stock,and then converting in philz?
DeHuMaNiZeD said:
Has anyone even tried to flash boot.img from stock,and then converting in philz?
Click to expand...
Click to collapse
/boot/ (kernel+ramdisk) does not need to be formatted. Flashing boot.img before or after wouldn't make any difference.
lost101 said:
/boot/ (kernel+ramdisk) does not need to be formatted. Flashing boot.img before or after wouldn't make any difference.
Click to expand...
Click to collapse
Well, I tried using TWRP, but it ended converting my phone back to dual sim.
Sent from my Moto G using XDA Premium 4 mobile app
Using TWRP to reformat 'data' from f2fs to ext4 wipes SDCARD and didn't even change the format. Right now it appears if you plan on moving between GPE and non-GPE and possibly back again, keep a full firmware image for both.
EDIT: Actually it appears TWRP did format correctly. But the GPE kernel can't get past the Bootloader. Perhaps there are other partition table differences.
After another try..the following works fine.
Migrate to GPE:
1) In TWRP, wipe, and format 'Data' from f2fs to ext4 (this will wipe internal storage.)
2) Sideload / adb push GPE ROM or flash ROM and Kernel via fastboot.
3) Reboot
Return to Motorola Stock:
1) In TWRP, wipe, and format 'Data' from ext4 to f2fs (this will wipe internal storage.)
2) Sideload / adb push Stock ROM or flash ROM and Kernel via fastboot.
3) Reboot
rudi_j7 said:
Well, I tried using TWRP, but it ended converting my phone back to dual sim.
Click to expand...
Click to collapse
I re-read your OP. The GPE Kernel expects the 'userdata' partition to be ext4. Unless someone develops a custom kernel to support it; you will never be able to run the GPE ROM with an f2fs 'userdata.'
Because you set all partitions to F2FS. Only need to change /data to F2FS. Leave system and cache ext4. You would need a ROM with a patched fstab and then a kernel supporting f2fs for system and cache to be in F2FS as well. Plus major benefit is in /data, not system and cache. I tested full F2FS on my N4 and it was more a pain with less gain. /data is all that should be F2FS.
Sent from my Moto G using Tapatalk
You can get it by deleting the partition / data and change it later by f2fs with TWRP fastboot erase boot partition and flash the boot.img from the stock 4.4.4 rom motorola everything from GPE and I have it so it shows more fluid
I am running an ALL-F2FS rom, XenonHD 5.0.2.
But, now I want to switch to CM 10.2.x which requires ext4.
How do I do that?
Anyone has procedure for this?
Thanks.
If you're using latest TWRP, goto Wipe menu
Advance Wipe
Tick System
Change file system-ext4
Repeat for all partitions
I'm not sure if latest twrp will work fine with cm10.x, keep an old version in handy
Update: i Fixed it by myself. Thanks
Hello! i am new here. i have samsung galaxy s3 neo i9300i. updated to android 4.4 with TWRP installed. i wanted to flash cm 12.1 rom by "Rox". but he wrote in order to flash one need to change the partition from ext4 to f2fs which i followed but didn't find in TWRP wipe>advanced>change partition there are others but not f2fs. because of this problem i have flashed the ROM & GApps & they both flashed successfully but when i rebooted the system, download mode appears. did rebooted several times but the problem was still there. plz help me. i want CM 12.1. THANKS
WTF.... Well, guy, you needn't to convert partitions, you only have to wipe data, dalvik and cache and flash ROM & Gapps.
If you want to convert, convert only data and cache... idk why you haven't this options... Well, I never converted this files, and CM12.1 is working fine.
not working
MarcusBS said:
WTF.... Well, guy, you needn't to convert partitions, you only have to wipe data, dalvik and cache and flash ROM & Gapps.
If you want to convert, convert only data and cache... idk why you haven't this options... Well, I never converted this files, and CM12.1 is working fine.
Click to expand...
Click to collapse
i tried but when i flashed, its stuck in the download mode. just like Rox wrote i did that. nothing more.
Did it by myself...
The problem with my phone was the TWRP 2.7.1.0, + due to root ota updates not worked, so i downloaded another rom 4.3, flashed it, updated to kitkat (ota), flashed TWRP 2.8.5, flashed the rom (cm 12.1 by rox), flashed the gApps... now it's working... Thanks...
I was trying to convert my system, data and cache to F2FS but after the conversion I can't use Data anymore (apparently it cannot mount data and system anymore).
Could be a problem LinkedIn to the grarak modded 3.0.2 I'm using for Exodus 6?
Any feedback is welcome!
Up
Most probably as the official one from twrp supports f2fs natively.
I would recommend to go back to official twrp convert to f2fs properly from there and then flash the modified one, do this if you are brave enough, i havent tried this method but it should work. If all fails stay on ext4 till garak or twrp updates their twrp versions.
Thanks for you answer... I thought the same... I'll try as the new phone will come and let you know...
IlD4nX said:
I was trying to convert my system, data and cache to F2FS but after the conversion I can't use Data anymore (apparently it cannot mount data and system anymore).
Could be a problem LinkedIn to the grarak modded 3.0.2 I'm using for Exodus 6?
Any feedback is welcome!
Click to expand...
Click to collapse
I got the same error for my Redmi Note 3 ... tried 3.0.0.0, 3.0.2.2, but nothing. then a guy suggested this:
https://www.androidfilehost.com/?fid=24591000424943818
and it worked. Now I can't boot on f2fs, just trying to make it work on 6.0.1 Mokee rom
Hi
i use this device with promethus kernel 1.3 that says it support f2fs but i'm unable to use it
it bootloop when i change file system from ext4 to f2fs.
thanks
same q, cant get it working on king rom v14 and latest promethus v1.9.
Had it working on an old version
its works only for DATA and CACHE partition as F2FS, for boot issues you HAVE TO install SuperSU SYSTEM MOD (http://forum.xda-developers.com/apps/supersu/v2-64-2-66-supersu-mode-t3286120)
its works for my with hydrarom(+hydrakernel)