arter97 kernel for Poco X2

Search This thread

arter97

Recognized Developer
Oct 14, 2012
3,822
34,326
25
Seoul
arter97.png

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
 

arter97

Recognized Developer
Oct 14, 2012
3,822
34,326
25
Seoul
/* 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.
 
Last edited:

tarunyad

Senior Member
Jul 24, 2008
191
50
Xiaomi Poco X2
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.
 

LEGACY710

Member
May 1, 2018
41
21
Burdwan
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 ?
 

CanNguyen

Member
Jul 27, 2016
12
6
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
 
  • Like
Reactions: mathurmatt

mathurmatt

Senior Member
May 2, 2013
276
83
Delhi
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

Yes this works.
 

LEGACY710

Member
May 1, 2018
41
21
Burdwan
Screen is a little laggish after installing this kernel, can't get that fluid response like before. Scrolling feels different as well and charge current seems to be lower than before
 

bongski09

Member
Apr 23, 2015
41
8
i have flashed this kernel on xiaomi eu beta, charging issues occured, slow charging or not charging at all. when screen is locked,i'm unable to unlocked it seems it powers off and i have to power it on again.
 

ttreddy2210

Senior Member
Mar 6, 2018
186
34
Redmi K20 Pro
Mod Edit : OP Quote Removed
Sir please don't leave POCO F1 behind I'm a big fan of your kernel. please please please sir
 
Last edited by a moderator:

osm0sis

Senior Recognized Developer / Contributor
Mar 14, 2012
15,311
34,664
Halifax
GT-i9250
Google Nexus 4
r1b2 is up.

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

Zip doesn't seem to work over stock rooted anymore. Just hangs at the bootlogo.

r1b1 zip flashed over stock rooted worked, so not sure what changed in between that would break it.

I also tried your .img and rooting in recovery after flashing, but it also results in a bootloop at the bootlogo.
 
Last edited:

Hard_Rock83

Recognized Developer
Apr 21, 2015
2,355
5,384
Chennai
Zip doesn't seem to work over stock rooted anymore. Just hangs at the bootlogo.

r1b1 zip flashed over stock rooted worked, so not sure what changed in between that would break it.

I also tried your .img and rooting in recovery after flashing, but it also results in a bootloop at the bootlogo.
already complained about this few days back.
No matter what we do , it didn't work
 

prabin__

Senior Member
Apr 7, 2017
75
17
FYI OP, the ur latest kernel R1B2 causes boot loop after flashed. Can u fix that ??????????
 

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    arter97.png

    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
    8
    /* 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.
    8
    He won't push any updates. He received the phone from Poco, but never pushed any updates after he released it. He basically has a phone free now.

    Life happens. I'm too busy to even work on the OnePlus 8 Pro.
    7
    More that I think of all his free phones he cares/thinks about this one less. I don't think the X2 is a big deal to have when you've also got a OnePlus 8 Pro, so the X2 got back burnered, perhaps indefinitely. I don't blame arter for this, it's just how limited time and mindshare works.
    5
    r1b2 is up.

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