[Asus ZenFone Max Pro M1  ROMs, Kernels, Recoveries] Subinsmani:
Big Changes for Our Device

? Changelog :-

======================

17-02-2019​

======================

Source Upstream

Improved Headphone audio

Added F2FS support

======================

BUG​

======================

1. SelinuxPermessive

======================

So What is F2FS

F2FS (Flash-Friendly File System) is a flash file system initially developed by Samsung Electronics for the Linux kernel.[2]

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 wasn't popular before because of its shortcomings, which Google fixed in pixel 3 and now it ships both pixel 3 and 3xl with F2fs. We have mainline F2fs being used here too

Currently, Our Device is running with ext4, Where the 30-40 MB/s as Random Read with 8449.53 IOPS and 5-10 MB/s for Random Writes with 2527.79 IOPS.

But After Enabling the f2fs(flash-friendly filesystem), We have seen that the 40-50 MB/s for Random Read with 10500.12 IOPS and 110-120 MB/s for Random Wite with 28037.69 IOPS.

Yes, this not the best READ and Write speed for f2fs, but this is the current best rate for our device. And we will improve it more in the future. But Ya it is faster than current ext4 which all users are using now.

So the main question is what is the benefit of this new file system F2FS

1. U will see better performance in day to day usage such as app opening time, copying paste, restore and app installing speed will increase.

2. Some gaming, you will get good FPS also.

3. Obviously battery life will get improve.

4. As we are custom rom flasher, So f2fs will help to extend the life of our storage (EMMC).

So it Looks Good yeh? but every technology has bad thing also with good feature, so ya here it is.

1. To change from EXT4 to F2FS need formate on out /data and cache partition and with a clean flash

2. If u change to f2fs and want to use ur favorite kernel, u have to check whether kernel support f2fs or not.

3. If the rom have bad f2fs configuration u will not see any difference between ext4 and f2fs.

4. If u come back to ur stock ext4, then again need to clean whole data.

Ahhh So much lecture done. So here is the Flashing Procedure if u want to taste the beauty of f2fs, flashig procedure written by [MENTION=482086]ujjwal[/MENTION]20

1. First Backup all You Stuff to Your Memory card or to ur PC

2. Boot ur device to TWRP (Note U must flash Latest Twrp by [MENTION=6589753]krasCGQ[/MENTION] Download Link (https://t.me/ASUSX00TD/207848)also will post in OP

3. Select Wipe

4. Tick Data > Advanced Wipe

5. Select Change FS

6. Select F2FS and swipe

7. Repeat step 4-6 with Cache

8. Reboot

OPTIONAL

9. Flash a f2fs supported kernel if you want.

10. Flash a root solution.

And for Those who don't want to use f2fs, flash the rom normally as u are doing earlier.

Still If not clear u can post it here or join our sweet community https://t.me/ASUSX00TD and ask here, u will get a quality answer from here regards F2FS. Because We investigated lots of details from the past 1-2 months. So we can help your all query.

And Heartfully Thanks To MPSB [MENTION=9146206]mraman[/MENTION]Singh and [MENTION=5847556]tejasv[/MENTION]p to test our Test build and if you don't like Stock Kernel u can use azure kernel to which is also did all optimization for f2fs support.

So Ya thank You And Happy Flashing Stay Resurrected.

======================