[Nexus 5X Android Development] ZawZaw:
​

TWRP 3.2.0 With F2FS Support​

Introduction

Hello...Everyone,

This is my TWRP build for Nexus 5X. Included the abaility to convert your /data and /cache partitions to F2FS Filesystem. I built TWRP from omni minimal TWRP source with my own kernel build ( PureZ Kernel ) for F2FS. Supported F2FS File System by TWRP's inline Kernel, and TWRP 3.2.0 features and added any features by me.

I hope you will love it.

What is F2FS?

Credit - [MENTION=723757]wikipedia[/MENTION]

F2FS (Flash-Friendly File System) is a flash file system initially developed by Samsung Electronics for the Linux 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.

F2FS was designed on a basis of a log-structured file system approach, which is adapted to newer forms of storage. Jaegeuk Kim, the principal F2FS author, has stated that it remedies some known issues[2] of the older log-structured file systems, such as the snowball effect of wandering trees and high cleaning overhead. In addition, since a NAND-based storage device shows different characteristics according to its internal geometry or flash memory management scheme (such as the Flash Translation Layer or FTL), it supports various parameters not only for configuring on-disk layout, but also for selecting allocation and cleaning algorithms.

Features

TWRP 3.2.0-0 Changelog and Features :

by Dees_Troy

- Allow restoring adb backups in the TWRP GUI (bigbiff)

- Fix gzip backup error in adb backups (bigbiff)

- Fix a bug in TWRP's backup routines that occasionally corrupted backup files (nkk71)

- Better support for installing Android 8.0 based zips due to legacy props (nkk71)

- Support vold decrypt with keymaster 3.0 in 8.0 firmwares (nkk71)

- Decrypt of synthetic passwords for Pixel 2 (Dees_Troy)

- Support newer ext4 FBE policies for backup and restore in libtar (Dees_Troy)

- v2 fstab support (Dees_Troy)

- Bring TWRP forward to android 8.0 AOSP base (Dees_Troy)

- Various other minor bugfixes and tweaks

Added Features :

by Me

- F2FS File System Support

- Convert /data and /cache partitions to F2FS

- Inline Kernel Build by PureZ Kernel

- Added F2FS and EXT4 dm blocks

- System partition never Mount on TWRP

- Default Brightness is 125 on TWRP

- Never Screen Timeout on TWRP

- Disable to install SuperSU Prompt

- and More.

Installation

- Download twrp.img

- Copy twrp file to your PC's fastboot Folder

- Reboot your Phone to fastboot Mode

- Type this command

fastboot flash recovery filename.img

- Then, Reboot to Recovery

- Done

*filename is your .img filename.

How to Convert to F2FS File System on TWRP

Read on Post #2,

How To Convert to F2FS Filesystem on TWRP

Download

twrp-3.2.0-bullhead-3.2-zawzaw.img

Sources

TWRP Recovery Main Source

https://github.com/omnirom/android_bootable_recovery/tree/android-8.0

Nexus 5X Kernel Tree ( PureZ Kernel )

https://github.com/zawzaww/purez-kernel-bullhead/

Nexus 5X Device Tree

https://github.com/zawzaww/twrp-device-bullhead

Thanks To

- [MENTION=324322]omni[/MENTION] Team for TWRP Minimal Source

- [MENTION=912474]Dees_Troy[/MENTION] for TWRP Project

- [MENTION=6842057]The Flash[/MENTION] for F2FS Commit

- [MENTION=464840]other xda-developers[/MENTION] for TWRP flags

XDA: Information

TWRP Recovery | TWRP 3.2.0 with F2FS Support, Recovery for the LG Nexus 5X

Contributors

ZawZaw

Source Code: https://github.com/zawzaww/twrp-device-bullhead

Version Information

Status: Stable

Current TWRP Version: 3.2.0-0

Current Build Version: 3.2

Stable Release Date: 2017-12-04

Created: 2017-06-09

Latest Updated: 2017-12-04