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

[08/11/'21][HMP][EAS][PIE][Q][R][S]Predator Stormbreaker Kernel-Fast & Battery-Friendly

Search This thread

JK7177

New member
Oct 12, 2021
1
0
Hello, I've MIUI by xiaomi.eu 12.5.3 Stable version installed with Android 10. Which kernel version would be best for RAM efficiency and overall performance? And do I've to patch it to make Cam and WiFi to work?
 

sohamsen

Senior Member
Mar 30, 2016
1,804
2,069
Kolkata

Predator Stormbreaker Kernel X4.8 Update is Up with Android S Support!​

 

jmguimaraes

New member
Sep 5, 2019
3
0
Hi,

I installed this kernel on my Note 7 along with PE. Version Number shows:
RQ3A.210905.001
PixelExperience_Plus_lavender-11.020210915.1722

Now my system is very laggy:

* I click a button, say do not disturb, and it takes up to ten seconds before enable/disable;
* I open an app, say Gmail, and the first couple of seconds it scrolls laggy, then become as fast as generally expected.
* The screen doesn`t light up with incoming calls;
* Even my alarm take some minutes to ring...

I suspect my problem is related to the new kernel because my battery is lasting tooo long.

What data do I need to post here?

BTW, everything else is running ok, and sometimes very fast, The phone is not rooted, doesn`t has Magisk. I fresh installed on october (clean install).

Edit:
FIXED:
I flashed the lastest firmware, global version, and now everything is running smooth and fast.
 
Last edited:

sohamsen

Senior Member
Mar 30, 2016
1,804
2,069
Kolkata
Hi,

I installed this kernel on my Note 7 along with PE. Version Number shows:
RQ3A.210905.001
PixelExperience_Plus_lavender-11.020210915.1722

Now my system is very laggy:

* I click a button, say do not disturb, and it takes up to ten seconds before enable/disable;
* I open an app, say Gmail, and the first couple of seconds it scrolls laggy, then become as fast as generally expected.
* The screen doesn`t light up with incoming calls;
* Even my alarm take some minutes to ring...

I suspect my problem is related to the new kernel because my battery is lasting tooo long.

What data do I need to post here?

BTW, everything else is running ok, and sometimes very fast, The phone is not rooted, doesn`t has Magisk. I fresh installed on october (clean install).

Edit:
FIXED:
I flashed the lastest firmware, global version, and now everything is running smooth and fast.
glad that you fixed,always use latest fw
 

sohamsen

Senior Member
Mar 30, 2016
1,804
2,069
Kolkata
New EAS X4.9 Update is UP!
 
  • Like
Reactions: jamesneutron24

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    New EAS X4.9 Update is UP!
  • 106
    [08/11/'21][HMP][EAS][PIE][Q][R][S]Predator Stormbreaker Kernel-Fast & Battery-Friendly


    Predator Stormbreaker Kernel - Fast, Battery-Friendly & Efficient!
    Code:
       * 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
    */


    Introduction

    • Predator Stormbreaker Kernel is for the device Xiaomi Redmi Note 7/7S and is one of the oldest kernel For this device. :D

    • Our aim is to Provide a Super Stable and Simple Kernel with an Improved Experience! Our Kernel is finely tuned to make your performance good and will make your battery last much longer. :)

    • Every version is Rigorously tested by a group of tester to ensure maximum stability and efficiency. :D

    • Always updated to latest patches and Added tested and stable tweaks which will make your experience optimum by improving both battery life as well as performance ;)



    √ Predator Stormbreaker Kernel is now available in both EAS and HMP variant. Please open desired section from below, If you want HMP variant , Please use the HMP section otherwise please use EAS section. For any queries or questions , Please ask in this thread. Thank you.



    √ Predator Stormbreaker Kernel Should be Flashed on Android 12 (S), Android 11 (R), Android 10(Q) Roms[For MIUI Q ,Patch is Needed to Make Cam and WiFi Work] and Android 9(Pie) Roms ! MIUI is also supported :fingers-crossed:

    HMP Version - Features , Instructions & Downloads

    Features :

    • CPU governors:
    =>Interactive[Default]
    =>Conservative
    => Performance
    • I/O schedulers:
    => CFQ [Default]
    => Noop
    => Deadline
    • Wireguard protocol implemented
    • Schedtune boost
    • Core control
    • GPU control
    • Haptic feedback control & sound control
    • Scheduler tuning & undervolted
    • TCP congestion algorithms:
    => cubic[Default]
    => Reno
    => Westwood
    • Heavily debloated & removed several unneeded configs.
    • KCAL Control & TTL Fixation Fix
    • Upstreamed with latest CAF tag & linux-stable merged.
    • Compiled using latest AOSP Clang 12.0.5
    • Backlight dimmer & power suspend implementation
    • NET / TCP Tweaks.
    • Panel Tweaks.
    • Dynamic memory allocation patches for performance.
    • System wide power efficient workqueues for better battery saving. • LZ4 zRam compression algorithm enabled by default.
    • Disabled Rx wakelocks.
    • Removed various high priority workqueue flags.
    • DriveDroid support implemented.
    • F2FS with rapid gc.
    • USB force fast charge Implemented.
    • XBOX, Nintendo , Playstation Controller Support.
    • USB OTG is fully supported

    Installation Instructions

    Use any of your favourite Recovery to install this Kernel. No need to format or wipe anything, Just normally flash this zip and reboot your device after successfully booting the kernel for first time. Also no need to reflash magisk, Magisk Survival Patch is included in the Kernel.



    Changelog:


    Code:
    Version : 9.9
    Changelog:
    • merged : latest linux-stable 4.4.281 upstream.
    • merged : latest wireguard 1.0.20210606 snapshot
    • merged : latest LA.UM.8.2.r2-04800-sdm660.0 caf tag.
    • arm : dts : disabled kpti

    Old Changelog:


    Code:
    Version : 9.7
    Changelog:
    • merged : latest linux 4.4.267 upstream.
    • fs : include sdfat driver & related configs.
    • pm/core : add support to skip power management.
    • kobject_uevent : allocate environment buffer on stack. 
    • proc : cmdline : don't patch flags in recovery mode.
    • input : goodix: Use proper function to cast a netlink message.
    • misc : fixes for better stability.
    Version : 9.6
    Changelog:
    • merged : Latest Linux 4.4.263 Upstream
    •  fix : reverted some changes which were causing heating and drain issues occasionally
    •  merged : wireguard update to 1.0.20210219 snapshot
    •  Misc changes for performance improvements.
    Version : 9.4
    • merged : Latest Linux 4.4.254 Upstream
    • merged : Latest Wireguard 1.0.20210124 snapshot. 
    • compiler : used latest proton clang 13
    • arm64: Tune clang for sdm660's CPU
    • arm64: select HAVE_MOVE_PMD for faster mremap
    • mm: speed up mremap by 20x on large regions
    • mm: change max readahead size to 128KB
    • treewide : remove VLA usage
    • string: Use faster alternatives when constant arguments are used
    • fix : LED fast blinking issue in some roms
    • zram_drv: override zram size to 2GB by default
    • ASoC: sdm660: Disable unneeded audio drivers
    • fs: Align file struct to 8 bytes
    
    Version : 9.3
    
    • Merged : Latest Linux 4.4.249 Upstream
    
    • Merged : Latest Wireguard 1.0.20201221 snapshot.
    
    • Fix : LED fast blinking issue in MIUI.
    
    • Fix : Games starts lagging after sometime for some users.
    
    Version : 9.2
    
    • Merged : Latest Linux 4.4.246 Upstream
    
    • Merged : Latest CAF LA.UM.8.2.r1-7500-sdm660.0
    
    • Merged : Latest Wireguard 1.0.20201112 snapshot.
    
    • WLAN : Merged LA.UM.7.2.r1-09400-sdm660.0 Qcacld Tag.
    
    • Merged : F2FS Patches.
    
    • Compiler : Switched to Proton Clang 12.
    
    • Misc Fixes to improve stability.
    Downloads

    Download Links Here:

    Predator-Stormbreaker-9.9-OLDCAM.zip (SourceForge Link)


    Predator-Stormbreaker-9.9-NEWCAM.zip(For Roms with latest Vendor Blobs and For MIUI) (SourceForge Link)

    Important: The variant NEWCAM kernel uses latest camera patch and it should be only flashed on Custom Roms which uses latest camera vendor blobs and on MIUI Pie (Example: LOS Official , Xperience Android 10 Rom etc). If camera doesn't work, that means the custom rom is using old blobs, in that case , flash OLDCAM kernel instead, camera will be fixed 100% sure. For MIUI Pie and MIUI Pie based Roms only flash NEWCAM kernel



    Note: Flash dt2w fix if double tap 2 wake doesn't work! You can find in attachment of XDA!



    If SourceForge Link is Slow Then Download From XDA!

    Zip File is Attached To This Post in Last! Please Scroll To End!



    EAS Version - Features , Instructions & Downloads

    Features

    • CPU governors:
    =>Schedutil[Default]
    => Performance
    • I/O schedulers:
    => CFQ [Default]
    => Noop
    => Deadline
    • Wireguard protocol implemented
    • Schedtune boost & WALT load tracking
    • Core control
    • GPU control
    • Haptic feedback control & sound control
    • Scheduler tuning & undervolted
    • TCP congestion algorithms:
    => cubic[Default]
    => Reno
    => Westwood
    • Heavily debloated & removed several unneeded configs.
    • KCAL Control & TTL Fixation Fix
    • Upstreamed with latest CAF tag & linux-stable merged.
    • Compiled using latest AOSP Clang 12.0.5
    • Backlight dimmer & power suspend implementation
    • NET / TCP Tweaks.
    • Panel Tweaks.
    • Dynamic memory allocation patches for performance.
    • System wide power efficient workqueues for better battery saving. • LZ4 zRam compression algorithm enabled by default.
    • Disabled Rx wakelocks.
    • Removed various high priority workqueue flags.
    • DriveDroid support implemented.
    • F2FS with rapid gc.
    • USB force fast charge Implemented.
    • XBOX, Nintendo , Playstation Controller Support.
    • USB OTG is fully supported


    Changelog:


    Code:
    Version : X4.10
    • Fixed : UI lags while using apps.
    • Fixed : Instagram / Facebook app crashing.
    Previous Changelog :
    Code:
    Version : X4.9
    • fixed : network traffic indicator not working in some use cases.
    
    • fixed : binder -22 spam due to android-s changes.
    
    • compiler : using latest aosp-13.0.3 clang.
    
    • merged : linux-4.4.291 latest upstream.
    
    • binder : import from linux-5.4-lts branch.
    
    • binder : backports & patches.
    
    • arm64/lib: add accelerated crc32 routines.
    
    • arm64/lib: improve CRC32 performance for deep pipelines.
    
    • arm64: Import latest version of Cortex Strings' memcmp.
    
    • bpf: Eliminate CONFIG_MODULES limitation from JIT for arm64.
    
    • mm: speed up mremap by 20x on large regions.
    
    • treewide : omit several unneeded debugging & tracing to reduce overhead.
    
    • msm_thermal: ignore sensor -19.
    Version : X4.2
    
    • Merged : Latest Linux 4.4.248 Upstream
    
    • Merged : CAF LA.UM.8.2.r1-7500-sdm660.0 Tag.
    
    • Merged : Latest Wireguard 1.0.20201112 snapshot.
    
    • WLAN : Merged LA.UM.7.2.r1-09400-sdm660.0 Qcacld Tag.
    
    • Fix : Hotspot not working with password in some roms.
    
    • EAS : scheduler tuning and fixes.
    
    • Compiler : Switched to Proton Clang 12
    Version : X4.1
    
    • Merged : Latest Linux v4.4.243 Upstream.
    
    • Merged : LA.UM.8.2.r1-07400-sdm660.0 CAF Tag.
    
    • EAS :  cleaned up sched patches.
    
    • msm_performance : remove frequency handling capabilities.
    
    • Fix : low vibration intensity issue patched up.
    
    • Fix : patch up panel tweaks to fix app launch lagging issue in weeb rom for some users.
    
    Version : X4.0
    
    • Merged Latest Linux v4.4.241 Upstream.
    
    • EAS : Reinterpolated busy cost data of energy model.
    
    • EAS :  disabled a  hmp specific function.
    
    • Debugging : disabled vidc debugging to reduce unnecessary overhead.
    
    • Audit : Disabled auditing to reduce unnecessary overhead.
    
    • EAS : cleaned up some sched backports.
    
    • Makefile : Used O3 Optimization.
    
    • Divers : input : Used O3 Optimization.
    
    • Crypto : Used O3 Optimization.
    
    • CPU Idle : Optimize PM_QoS notifier Callbacks.
    
    • msm_performance : checked out to 4.14
    
    Version : X3.9
    
    • Compiled Using Latest AOSP Clang 11.0.5
    
    • Merged Latest Linux Upstream V4.4.240
    
    • Schedutil : Tune using Pixel 4 Tunes.
    
    • CFQ : Tune using Pixel 4 Tunes.
    
    • CFQ : Upstream CFQ Scheduler.
    
    • Schedutil : Add proper init protection wrappers.
    
    • Debloat : Removed unneeded USB Drivers.
    
    • EAS : Scheduler : Used Pelt 16ms Half Life.
    
    • EAS : Further cleanup HMP Specific codes.
    
    • EAS : Further cleanup WALT Specific codes.
    
    • Debloat : Remove useless checks and debugging from Novtek Panels.
    
    • Power HAL: Restrict Power HAL from writing sched_boost.
    
    • Idle : Fix Debug FS Depencies from Idle Stats.
    
    • DebugFS : Remove DebugFS  Dependencies From Slimbus.
    
    • Schedtune : Hardcode TA boost to 5.
    
    • ZRam : Hardcode 2GB ZRam as Default.
    
    Version : X3.8
    
    • Added Android R Support.
    
    • Compiled Using Proton Clang 12.
    
    • Merged Latest Linux Upstream V4.4.237
    
    • TCP : Backported BBR Upstreams.
    
    • Upstreamed to Latest Wireguard.
    
    • Merged: Latest LA.UM.8.2.r2-02700-sdm660.0 CAF Tag.
    
    • Reverted some tweaks which were causing drain issue.
    
    • Fix : Compilation issues while inlining.
    
    • Removed some unneeded io schedulers.
    
    • Removed various uneeded configs
    
    • Misc Fixes for increased smoothness and better power saving
    
    Version : X3.7
    
    • Compiled with Latest GCC 10.2
    
    • Merged Latest CAF Tag and Linux Upstream V4.4.234
    
    • Various Scheduler Backports.
    
    • CPU Idle : Improvements for better power saving.
    
    • Memory Allocation Patches for Faster performance
    
    • Killed various unneeded boosting for better power saving.
    
    • Disabled several unneeded debugging to reduce overhead and increase power saving.
    
    • TCP Tweaks for faster internet
    
    •  Added TCP BBR and Upstreamed.
    
    • Arm64 Optimizations.
    
    • Neon Accelerated XOR Optimizations.
    
    • Memcap Optimizations.
    
    Misc Fixes for increased smoothness and better power saving.
    Downloads
    Download Links Here:
    Predator-Stormbreaker-EAS-X4.10-OldCam.zip (SourceForge Link)

    Predator-Stormbreaker-EAS-X4.10-NewCam.zip(For Roms with latest Vendor Blobs and For MIUI) (SourceForge Link)

    Predator-Stormbreaker-EAS-X4.10-QTI.zip(Roms with QTI Haptics) (SourceForge Link)
    Important: The variant NEWCAM uses latest camera patch and it should be only flashed on Custom Roms which uses latest camera vendor blobs and on MIUI Pie (Example: LOS Official, Xperience Rom etc). If camera doesn't work, that means the custom rom is using old blobs, in that case , flash OLDCAM instead, camera will be fixed 100% sure. For MIUI Pie and MIUI Pie based Roms only flash NEWCAM Kernel. The QTI version is for roms with QTI haptics, Such as Arrow os official and Xdroid rom official.

    Note: Flash dt2w fix if double tap 2 wake doesn't work! You can find in attachment of XDA!

    If SourceForge Link is Slow Then Download From XDA!

    Zip File is Attached To This Post in Last! Please Scroll To End!
    [/HIDE]

    WiFi + Cam Fix For MIUI Q

    How to Use:

    1. Flash Predator Stormbreaker OldCam Kernel. As this patch will only work on Oldcam Variant.

    2. Flash New Stable Miui Q Old Cam Patch For Wifi+ Cam

    3. Reboot.

    Download This => miui_q_oldcam_patch.zip (SourceForge Link)

    Flash this for Fix.

    Uninstaller : revert_miui_q_patch.zip (SourceForge Link)

    Note : Disable Hardware Acceleration if Amazon Prime or other video streaming apps stops working! It will work again.

    Note : Alternative Download Attached in XDA.

    Note: No need to flash again if Already Flashed Before.

    Support & Queries

    Join Predator Stormbreaker Kernel Official Telegram Support Group ==> https://t.me/predator_lavender

    For Latest News and Updates Join Predator Stormbreaker Kernel Telegram Channel ==>

    https://t.me/predator_kernel

    Join Stormbreaker Community ==>

    https://t.me/Stormbreakerofficial


    Important Notes

    OLDCAM Variant=> For Custom Roms which are using Old Vendor Blobs!(Most Common as 95% roms are still using old blobs. If after flashing OLDCAM, camera don't work , then flash NEWCAM Variant! Camera will work surely! 100% Tested!

    NEWCAM Variant=> For custom roms and For MIUI Pie which are using latest vendor blobs!(Currently ,very less amount of Roms are using latest blobs. Some Examples are LOS Official, Xperience Rom etc.) If after flashing NEWCAM, camera doesn't work, then flash OLDCAM variant.Camera will work 100% . Flash this version on MIUI Pie.

    CREDITs and Kernel Source

    Thanks to@Susan Dahal (Co-Maintainer)for helping me always !

    Thanks to @Nicklas373 for helping me and providing source!

    Thanks to @YasiR Siddiqui for helping me and providing source!

    Thanks to @rama982 for drivers imports and Magisk Survival Patch!

    Thanks to @z4nyx for Helping us a lot with rebasing and circle ci

    Thanks to @osm0sis for AnyKernel 3!

    Thanks to All the Beta Testers!



    GitHub Source:

    https://github.com/stormbreaker-project/android_kernel_xiaomi_lavender


    Hit Like If You Liked Our Work! This Encourage Us A Lot!
    12
    Reserved For Future Use #1
    11
    Reserved For Future Use #2
    11
    New Update ? Update Now ? Update ?
    Predator is Merged with Stormbreaker Project! To provide even better experience!
    Changelog:
    VERSION : 6.1
    1. Cleaned Code
    2. Latest Qualcomm CAF Patches
    3. Latest Linux Kernel 4.4.219
    4. Fast and Battery Friendly (Balanced)
    5. Completely Stable and Stock
    6. Necessary Battery and Performance Tweaks
    7. Optimizations and Bug fixes
    8. Disabled Loads of Logging and Debugging.
    9. GPU and CPU Optimisations.
    10. Latest Wireguard Patches.
    11. Various Upsteaming and Patches. Done.
    12. Reduced ZIP Size
    11
    Update ?
    Version : 7.1
    Changelog:

    • Merged Latest v4.4.224 Linux Kernel Upstream
    • Merged Latest CAF Tags.
    • Fixed abnormal heating sometimes.
    • Reverted Temp Fix( Now temps might show higher but in reality it will be less )
    • Fixed Cores Offline Bug
    • Recalculated and Redone Voltages for Optimum Performance and Battery
    • Little Cluster Unlocked Frequency => 300Mhz
    • Big Cluster Unlocked Frequency => 300 Mhz , 633 Mhz , 902 Mhz
    • Disabled Various Debugging and Logging For Performance and Reduced overhead
    • Disabled Adreno Snapshot, Crash Dump
    • Fixed Freezing for Some People
    • IOMMU Tweaks for Performance
    • Disabled Auditing
    • F2FS Implementation with Rapid GC

    and various other improvements for stability and battery.