FORUMS

arter97 kernel for Poco X2

3,722 posts
Thanks Meter: 33,555
 
Post Reply Email Thread

arter97 kernel for Poco X2


/* Features */

Latest CAF msm-4.14 kernel fully merged
This kernel contains more cutting-edge changes from Qualcomm than the regular tag
Using zswap + vbswap to replace zram
- Ditched conventional zram swap approach for more efficient memory operations
- Backported zsmalloc memory allocator from mainline
- Backported zswap compressed page cache from mainline
- Samsung's Galaxy S9 memory modifications merged for better swapping efficiency tuned for Android
Use CONFIG_HZ = 300
Optimized interrupt configuration
Uses Sultan's Simple LMK
BBR as the default TCP network congestion control
vDSO 32 patches to improve 32-bit performance
vmalloc backported from mainline to improve memory allocation performance
Latest Linux 4.14 subversion merged
DM-verity fully disabled (you can remount /vendor to R/W properly)
Timer optimizations
Additional power savings applied to the display panel
RTL8152/8153 USB LAN adapter support
Permissive SELinux
Passes SafetyNet
Built with -O3 speed optimizations
Built with latest GCC
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 doesn't touch /system or /vendor)
Modules support disabled for lighter kernel
WireGuard support
Removed RTB(interrupt) logging entirely
No VLAs(info)
A whole lot more...

/* Details */

- Latest CAF msm-4.14 kernel fully merged -

This kernel is also constantly merging the latest Qualcomm Android 4.14 kernel. This tag contains more up-to-date changes from Qualcomm than the regular tag.

- Use CONFIG_HZ = 300 -

This changes the context switching interval from 10ms to 3.33ms. Pixel used this for years and Google recommends other vendors to do the same for less jitter.

This is even more important on displays with higher refresh rates.

- Optimized interrupt configuration -

Stock firmware doesn't use IRQ balancing. This kernel enables it with Snapdragon 730G specific configuration.
This will balance out core loads and provide better power efficiency and less lags.

- BBR as the default TCP network congestion control -

BBR is a (relatively)new TCP congestion control developed by Google, and it’s regarded as one of the best things you could do to your network configuration. You can find its benefits easily just by Googling BBR. I’ve been personally running BBR for months on various Linux machines including the server running arter97.com and it’s been great.

Now that our Android kernel is running v4.14, I’ve enabled BBR and backported other BBR changes from mainline.

/* Disclaimer */

This kernel is tested only on the Poco X2.
Redmi K30/K20 is untested.

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.

/* Thanks to */

TheCrazyLex
xboxfanj
kdrag0n
nathanchance - for android-linux-stable

/* Instructions */

1. Read the above. Please.
2. Since a proper TWRP isn't available, flashing via FK Kernel Manager is recommended.
EXKM is unsupported and reported to brick the device due to installation failures.

/* Downloads and links */

arter97.com
Kernel source
FK Kernel Manager

XDA:DevDB Information
arter97 kernel for Poco X2, Kernel for the Xiaomi Poco X2

Contributors
arter97
Kernel Special Features:

Version Information
Status: Beta

Created 2020-03-23
Last Updated 2020-03-23
The Following 18 Users Say Thank You to arter97 For This Useful Post: [ View ]
24th March 2020, 01:04 AM |#2  
arter97's Avatar
OP Recognized Developer
Flag Seoul
Thanks Meter: 33,555
 
Donate to Me
More
/* Changelog */

r1b2
Fixed fastboot installation issues
Fixed screen stuck issues
Removed unused RmNet extension

r1b1
Initial beta release
This release picks up everything from my OnePlus 7's r54 kernel, and should be stable.
Since a lot has changed from the stock kernel despite being the first release, I'm marking it a beta.
The Following 8 Users Say Thank You to arter97 For This Useful Post: [ View ]
24th March 2020, 01:05 AM |#3  
arter97's Avatar
OP Recognized Developer
Flag Seoul
Thanks Meter: 33,555
 
Donate to Me
More
Reserved 2
The Following 2 Users Say Thank You to arter97 For This Useful Post: [ View ]
24th March 2020, 01:05 AM |#4  
arter97's Avatar
OP Recognized Developer
Flag Seoul
Thanks Meter: 33,555
 
Donate to Me
More
Reserved 3
The Following 2 Users Say Thank You to arter97 For This Useful Post: [ View ]
24th March 2020, 05:00 AM |#5  
Quote:
Originally Posted by arter97

/* Changelog */

r1b1
Initial beta release
This release picks up everything from my OnePlus 7's r54 kernel, and should be stable.
Since a lot has changed from the stock kernel despite being the first release, I'm marking it a beta.

Thanks, will try right now
24th March 2020, 07:13 AM |#6  
Quote:
Originally Posted by mathurmatt

Thanks, will try right now

have a Poco x2 flashed cn fastboot rom and then eu now its a k30 flashed the kernel and straight to fastboot.
24th March 2020, 01:52 PM |#7  
Hard_Rock83's Avatar
Senior Member
Flag Chennai
Thanks Meter: 5,011
 
Donate to Me
More
Yeah , it's not working..kernel zip after flash go straight to fastboot.. I was on stock rom 11.0.6
24th March 2020, 02:48 PM |#8  
Senior Member
Thanks Meter: 49
 
More
same .. using 11.0.6 goes straight to fastboot

---------- Post added at 01:48 PM ---------- Previous post was at 12:56 PM ----------

ok after flashing stock recovery its wrking fine.
25th March 2020, 08:36 AM |#9  
Member
Thanks Meter: 5
 
More
Quote:
Originally Posted by tarunyad

same .. using 11.0.6 goes straight to fastboot

---------- Post added at 01:48 PM ---------- Previous post was at 12:56 PM ----------

ok after flashing stock recovery its wrking fine.

you flashed the kernel and it went to fastboot, then you flashed stock recovery and it booted up ? how did you flash the stock revovery ? did you wipe the device ?
25th March 2020, 01:17 PM |#10  
Senior Member
Flag India
Thanks Meter: 102
 
More
Thanks a lot, going to flash.
26th March 2020, 12:02 AM |#11  
Junior Member
Thanks Meter: 6
 
More
Error report
Automatically restart when playing games on mobile network when in standby mode for a while, it will hang, hot must force the machine to restart by pressing and holding the power key for 10 seconds .
gpu doesn't seem to handle it as well as the stock kernel

---------- Post added at 11:02 PM ---------- Previous post was at 10:57 PM ----------

Flash instruction for k30 .
1 unroot or flash new rom.
2 download the kernel zip to boot into twrp normal flash and root.
You will not be suspended fastboot
The Following User Says Thank You to CanNguyen For This Useful Post: [ View ] Gift CanNguyen Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes