TWRP With F2Fs support - Moto G4 Plus Questions & Answers

Hi earlier in the month I installed the soak test and for some reason my data partition changed to ext4 now I understand that this may not be visible but if there's any dev out there working on our moto g4s could possibly compile a twrp recovery with F2Fs support thanks.

Related

My attempt to convert a XT1033 converted to GPe to F2FS.

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

Getting F2FS to work on the M8

Hi, so I recently stumbled upon the following thread: http://forum.xda-developers.com/showthread.php?t=2716306
Apparently it is possible to get F2FS working on the M8 GPE, however, the above rom is verizon only.
I wanted to see if anyone wants to join me in figuring out exactly how they managed to do so, by helping brainstorming and testing.
So far, there's already kernel and recovery support for F2FS for the regular M8, so our goal would be to figure out what changes need to be made rom-side.
Thanks for reading!
BlissPop works with F2FS. You just have to format /cache and /data to f2fs and flash the rom. Works out of the box.
As for /system, it stays with ext4.

TWRP version for F2FS on N7

Looking to put F2FS onto Nexus7 2012
Have TWRP already, but not sure if a different TWRP is needed for f2fs
I've seen mentioned: TWRP older than 2711 didn't completely support F2FS. If so and I change back to EXT-4, do I have to change TWRP back (first)?
There's:
openrecovery-twrp-2.7.0.0-grouper-AllF2FS.img for the N7, but version too old?
twrp-2.8.7.0-grouper.img for N7, but cannot see mention of F2FS support (though it does have change file system - f2fs button).
Thx

[Fixed] BOOTLOOP

Hello, Everyone...... I unlocked the bootloader of my Moto G4 plus, installed a custom recovery (TWRP 3.1.0 Shreps) and tried to flash lineage OS latest build with Open Gapps pico, All i get is a bootloop. The same happens with Omnirom and other roms... So far only RR and Invicta OS booted up successfully.... rest others give me a bootloop... why? Did i miss something? Please Help me
Also the cache partition and data partition are formatted in f2fs....can anyone tell me the default formats of these two partitions? Maybe f2fs is creating an issue here?
Amogh Thambi said:
Hello, Everyone...... I unlocked the bootloader of my Moto G4 plus, installed a custom recovery (TWRP 3.1.0 Shreps) and tried to flash lineage OS latest build with Open Gapps pico, All i get is a bootloop. The same happens with Omnirom and other roms... So far only RR and Invicta OS booted up successfully.... rest others give me a bootloop... why? Did i miss something? Please Help me
Also the cache partition and data partition are formatted in f2fs....can anyone tell me the default formats of these two partitions? Maybe f2fs is creating an issue here?
Click to expand...
Click to collapse
Are you clean flashing ROM? (Wiping /system /data /cache /delvik-cache )
Anything else you are flashed with ROM and Gapps?
Try without GApps.
As I understand it, Invicta and RR have f2fs support for cache built in, whereas other ROMs may not have the support (there's a particular commit, if I recall).
The normal formats for cache and system are ext4 whereas data appears to be f2fs. You may wish to attempt formatting cache as ext4 and seeing if your device can boot.
Yes, It worked. Formatted cache to ext4 and it works. Thanks Bros. Facing issues with VOLTE in Lineage, Omni and AOSP extended. I placed my jio sim in sim 1 and enabled 'enhanced LTE' but still no luck with VOLTE.
Amogh Thambi said:
Yes, It worked. Formatted cache to ext4 and it works. Thanks Bros. Facing issues with VOLTE in Lineage, Omni and AOSP extended. I placed my jio sim in sim 1 and enabled 'enhanced LTE' but still no luck with VOLTE.
Click to expand...
Click to collapse
VoLTE doesn't works on LineageOS, you can try Unofficial Builds which may support VoLTE or you can try RR OS which supports VoLTE Natively

[Experimental Plan] Repartitioning Lenovo A6000 to separate /vendor blobs for Treble?

I owned LG Fx0 years ago.. And I remembered that before I shift its OS from FireFox OS to CM11, I repartioned its EMMC to bind both userdata and internal storage (since its separated). Now how about repartitioning Lenovo A6000+/SE for adding custom vendor partition?. But the problem is.. What vendor blobs should we use if I can do it? stock ones or the latest custom ROMs? Boot IMG should be modified too for mounting vendor partition to be Mounted on boot.. But seems pretty hard to do since I can't have someone to discuss this experimental task.. Is Anyone here that can help me for this?
drop message to me on telegram @dev_harsh1998

Categories

Resources