TWRP-2.8.7.0 with "All-F2FS" support
I have modified the standard TWRP recovery to work with F2FS partitions.
This is different from the previous recoveries that i published.
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.
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:
Zeus-Kernel.zip (CM12.1) - Here
Zeus-Kernel-MM.zip ( MM ) - Here
recovery-sprout-F2FS-All.img - Here
Changelogs:
-29/10/15: Initial Release
To switch your /system, /cache and /data partitions to F2FS follow instructions:
You need:
-Two files you can download above.
-A Android One (Sprout4) device obviously.
-Patience and Time.
Steps:
- Flash this recovery with Fastboot (Maybe Flashify, Your wish)
- Reboot in new recovery
- Backup your /system , /data
- (a) Go to Wipe, then Advanced Wipe, Select /System.
- (b) Click on "Repair or Change File System"
- (c) Click on "Change File System" option
- (d) Select F2FS then Swipe to Change.
- Repeat steps (a) to (d) with /data and /cache as you did with /system.
- Now come back to main screen and go to "Settings"
- Select "Use rm -rf instead of formatting."
- Go to Restore menu and restore your previously backed up data.
- Now Flash the Kernel zip provided above.
- Reboot.
- Done.
It's easier than it seems.
To restore partitions to stock:
- Backup /system and /data
- Change File System to EXT4.
- Go to Restore menu and restore /system and /data again.
Hope there's no error in this thread. I've personally tested this procedure.
Enjoy.
XDA:DevDB Information
[RECOVERY][All-F2FS] TWRP-2.8.7.0 with All-F2FS support, Tool/Utility for the OEM Cross Device Development
Contributors
Swapnil Solanki
Source Code: https://github.com/Swapnil133609
Version Information
Status: Stable
Current Stable Version: 2.8.7.0
Stable Release Date: 2015-10-30
Created 2015-10-30
Last Updated 2015-10-30