[Realme X ROMs, Kernels, Recoveries, & Other Develo] arter97:
​

arter97 kernel for Realme X​

/* Details */

Latest CAF msm-4.9 kernel fully merged

Latest Linux 4.9 subversion merged

Memory management improved(from Pixel 2 & 3)

Pixel's lowmemorykiller used

Scheduler commits cherry-picked from Pixel 3

Timer optimizations

RTL8152/8153 USB LAN adapter support

Permissive SELinux

Built with -O3 speed optimizations

Built with latest GCC

Westwood as default TCP network congestion control

UFS optimizations

Entropy hook on storage removed

Latest mainline f2fs support with GC fixes

CFQ I/O scheduler backported from mainline

Systemless installation (the kernel itself doesn't touch /system or /vendor)

Modules support disabled for lighter kernel

WireGuard support

Removed RTB(interrupt) logging entirely

/* Support */

This kernel does not support stock ColorOS and has been only tested with LineageOS by SagarMakhar.

It is likely to work with different AOSP-flavored ROMs.

This kernel may not work properly with Android 10 based ROMs.

/* Development */

This has been horrible.

This is my first Realme device and it is easily the worst device I've ever dealt with.

I won't be touching any other Realme devices unless they address this:

https://twitter.com/arter97/status/1186595816292544512

I encourage people to keep bugging them to improve the situation.

/* f2fs */

This kernel fully supports f2fs for /data and I encourage everyone to use f2fs with my kernel for better performance.

See here as to why you might want f2fs.

To use f2fs, you should be using a version of TWRP that’s bundled with my kernel.

mauronofrio made a TWRP just for that, please visit his thread and use “Temporary TWRP with f2fs support by mauronofrio (with arter kernel)”.

Also, download f2fs_fstab.zip from http://arter97.com/browse/f2fs/encrypted/20190607/

Download f2fs_fstab.zip only. f2fs_tools_for_twrp or f2fs_optimize is unnecessary.

You must use encryption. Decrypting will break device security including fingerprint sensor and pattern lock.

Enter TWRP and flash f2fs_fstab.zip and reboot back to recovery.

After rebooting, do a f2fs conversion from “Wipe > Advanced Wipe > Data > Repair or Change File System > Change File System > F2FS”.

This will wipe your entire data!

After formatting, or flashing a new ROM or an OTA, /vendor’s fstab needs to be changed.

Flash f2fs_fstab.zip to convert fstab to f2fs again. This won’t format your /data partition.

/* Disclaimer */

Your warranty is now void.

I am not responsible for bricked devices, dead SD cards,

thermonuclear war, or you getting fired because the alarm app failed. Please

do some research if you have any concerns about features included in this kernel

before flashing it! YOU are choosing to make these modifications, and if

you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.

/* Instructions */

Simply flash the kernel zip file from the recovery.

This kernel does not use AnyKernel. You need to reinstall Magisk everytime when you update the kernel.

/* Downloads and links */

arter97.com

Kernel source

XDA:DevDB Information

arter97 kernel for Realme X, Kernel for the Realme X

Contributors

arter97

Kernel Special Features:

Version Information

Status: Stable

Created 2019-10-28

Last Updated 2020-02-25