[Samsung Galaxy Nexus] poo706:
This is a simple script that will convert almost any Galaxy Nexus EXT4 ROM to F2FS. The script will simply swap out the kernel (unless you plan to use an AnyKernel kernel) and edit the updater-script to replace EXT4-specific lines with F2FS-specific lines (unless you have /system formatted as EXT4, in which case the line that formats /system will be left as is). The included boot.img may be replaced with any gnex F2FS boot.img.

Also, for Windows only, [MENTION=4815527]sergialess[/MENTION] created a GUI conversion tool. It allows you to choose the ROM zip from any location, choose an alternate boot.img from any location, or even choose a flashable kernel zip from any location in order to extract the boot.img. It's pretty slick, so if you like it, show him some love! As of 7/7/14, the GUI has an option for APK deletion like the three script-based tools, but it's the only one that goes one step further and allow you to select which APKs to delete.

NOTE: If you have not reformatted your device for F2FS, you're not ready to use this tool yet. This tool will make a ROM F2FS-compatible, it will not convert your device to F2FS. To reformat your device to F2FS, start with posts #1 and #2 here: http://xdaforums.com/galaxy-nexus/development/kernel-dirtyv-6-9-14-t2613655

Mediafire downloads: http://www.mediafire.com/?m501v8um8nd1y

Google Drive mirror: https://drive.google.com/folderview?id=0B_Yk7pLJ4-VhVUt0QmFwUVFwYk0&usp=sharing

Changelog:

9/18/14: Windows GUI updated - Velvet is no longer purged, AnyKernel support, and EXT4 /system partition support.

9/15/14: Android version supports AnyKernel kernels and EXT4 /system partitions. Be sure to read steps 8 and 9 in the instructions.

9/14/14: Windows & Linux/Mac versions support AnyKernel kernels and EXT4 /system partitions. Window GUI has NOT been updated yet.

8/18/14: Velvet is no longer purged. All versions now include Fancy r54. Window GUI has NOT been updated yet.

7/15/14: Changed method of reading ROM ZIP name in Linux/Mac version. All versions now include Fancy r51.

7/11/14: Very minor change to Linux tool to make it compatible with the Mac terminal.

7/7/14: Windows (including GUI), Linux, & Android tools handle /data mounting (for SlimKat) and have option to purge unneeded APKs (for Shiny).

7/2/14: Added Windows GUI tool.

7/1/14: Spaces in the path are no longer a problem in the Windows version, added Linux and Android versions, included boot.img is SmittyV 6/28/14

6/25/14: Initial release, included boot.img is DirtyV 6/9/14.

Credits:

[MENTION=4608636]bsmitty83[/MENTION], [MENTION=4544860]osm0sis[/MENTION], [MENTION=4328678]metalspring[/MENTION], and everyone else in the DirtyV thread who made F2FS possible: http://xdaforums.com/galaxy-nexus/development/kernel-dirtyv-6-9-14-t2613655

[MENTION=4668017]NABENDU1[/MENTION] for the grouper F2FS ROM conversion tool that inspired this: http://xdaforums.com/show....php?t=2731666

[MENTION=4815527]sergialess[/MENTION] for the Windows GUI tool.

[MENTION=4615478]boype[/MENTION] for his Fancy kernel: http://xdaforums.com/galaxy-nexus/development/kernel-fancy-kernel-r50-t2115590

[MENTION=5902796]latenightchameleon[/MENTION] for the idea to purge unneeded APKs from large ROM zips like Shiny.

[MENTION=4111908]johansenmo[/MENTION] for the assistance in making the Linux tool Mac compatible.

[poo]