• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

arter97 kernel for Poco X2

Search This thread
Aug 1, 2020
19
0
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
can you pls add ralink rt5370 usb driver support in here????
 

osm0sis

Senior Recognized Developer / Contributor
Mar 14, 2012
14,807
33,466
Halifax
GT-i9250
Nexus 7 (2013)
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.
 
Last edited:

whalesplaho

Senior Member
Feb 1, 2012
10,683
2,666
Treasure Island
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.

yes yhu are right sir especially in tha case of having time. 1+8 definitely supercedes our low range X2. buh with his skills & talent sir, we wont mind having some of his mods here too just for us to standout amongst our peer cos we got tha best devs!
 

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