TWRP-2.7.0.0 with "All-F2FS" support
NOTE: I don't have a Nexus 5 to test this. It should work.
Please report back.
Please report back.
I have modified the standard TWRP recovery to work with F2FS partitions.
This is for "All-F2FS" that mean that /system, /cache and /data are formatted with F2FS.
Keep in mind that this can work only with a compatible kernel and ROM.
What is F2FS?
F2FS (Flash-Friendly File System) is a flash file system created by Kim Jaegeuk at Samsung for the Linux operating system kernel. The motive for F2FS was to build a file system that from the start takes into account the characteristics of NAND flash memory-based storage devices (such as solid-state disks, eMMC, and SD cards), which are widely used in computer systems ranging from mobile devices to servers.
Download:
Chagelogs:
- 10/05/14: Fix TWRP
- 08/05/14: Initial release
Here are some explanations. Read them
Recovery has the usual red back key to remember you that you are using a F2FS-recovery.
If wiping /system and /cache and making a factory reset from Wipe menu doesn't work, use FormatPartitions.zip. (<- READ THIS)
Instead wiping /data is fine within the wipe menu.
To switch your /system, /cache and /data partitions to F2FS follow instructions:
Keep in mind that you will lose all the files on the memory of your N5.
You need:
- Two files you can download above (img and FormatPartitions.zip)
- A ROM with "All-F2FS" support
(One way to make your ROM is with Convert To F2FS)
- GApps (i think you want PlayStore.) Usual GApps. Slim AiO work well.
- Copy a ROM with "All-F2FS" support to your N5
- Copy GApps to your N5
- Copy FormatPartitions.zip to your N5
- Reboot in bootloader
- Flash this recovery with Fastboot (Maybe Flashify works too)
- Reboot in new recovery
- Flash FormatPartitions.zip
- Reboot recovery (It's needed for some reasons..)
- Flash ROM
- Flash GApps
- Go to Wipe Menu and Format Data (Not a simple wipe)
- Reboot
- Done.
It's easier than it seems
To restore partitions to stock:
- Download a standard TWRP
- Download RestorePartitions.zip (It is named mako but work on N5 too)
- Flash RestorePartitions.zip (Untested)
- Flash standard Recovery
- Format Data in Wipe Menu
Enjoy.
Thanks for:
- dennes544 (All-F2FS Recovery is based on his Recovery)
(Required Commit)
(Source Here)
Last edited: