Predator Stormbreaker Kernel - Fast, Battery-Friendly & Efficient!
* 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 */
Predator Stormbreaker Kernel is for the device Xiaomi Redmi Note 7/7S.
Our aim is to Provide a Stable Kernel with an Improved Experience! Our Kernel has tweaks which will make your performance good and will make your battery last longer.
We have merged with Stormbreaker Project to Provide a Even more Better Experience!
Predator Kernel is based on Efficient Heterogeneous Multi-Processing Algorithm!
Predator Kernel Should be Flashed on Android 10(Q) Roms[For MIUI Q Patch Needed] and Android 9(Pie) Roms !
MIUI Pie and Pie Roms are Supported and Android 10 Roms are supported!
[Note: Flash MIUI Q Fix patch to fix wifi and cam issues.]
1. CPU Governors:
2. I/O Schedulers:
=> CFQ [Default]
=>(Other Schedulers->NO-OP,Deadline,Test-I/O sched)
3. Wireguard Protocol Implemented
4. Schedtune Boost
5. Core Control
6. GPU Control
7. Faster File Operation Speed Tweaks
8. Swap On & Haptic Feedback Control
9. Scheduler Tuning & Undevolted
10. TCP Congestion Algorithm [ Unlocked All TCP ]
12. Implemented DTS Sound Modification Enhancements
13. KCAL Control & TTL Fixation Fix
14. Sound Control & Sound Boost
15. Upstreamed and Latest 4.4.229 Kernel
16. Compiled using Proton Clang
17. Various Optimizations and Enhancements For Battery & Performance
18. Backlight Dimmer & Power suspend Implementation
19. NET / TCP Tweaks for speed improvements.
20. CRC Check Disabled For Performance Boost
21.. Apps Battery Optimizations
22. FSync Toggle(Enabled by Default)
23. Panel Battery Tweaks
24. GPU Power Optimizations For Battery
25. Memory Optimisations For Peformance
26. System wide power efficient workqueues for better battery saving
27. Mic Gain Control and Boost
28. Implemented LZ4 Super Fast ZRam compression algorithm
29. Disabled Rx and other rogue Wakelocks for Better Battery saving
30. Removed various High Priority Workqueue Flags For Battery and Performance
31. Removed unnecessary debugging and logging For Battery and Performance.
32. DriveDroid Support Implementation.
33. Miscellaneous Bug Fixes and Security Enhancements
34. F2FS Fully Supported and Stable.
35. Various Clang Compiler Optimizations For Peformance Gain.
36. USB Force Fast Charge Implementation
37. Boeffla Wakelock Blocker Implementation
38. CRC Check Toggle Added
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.
Version : 7.8 1. Full support for XBox & PlayStation Controller. 2. Fix : Bluetooth enabled gamepad was not working. 3. Merged Latest Linux Kernel Upstream v4.4.229 4. Separate polling support from LMH Lite to reduce polling overhead. 5. Removed Debug event logging. 6. TCP tweaks for Faster internet. 7. TCP Upstream Patches. 8. Rate limit cpu clock rate for better power saving. 9. Cpu idle improvement for better power saving. 10. Memory allocation patches for improved performance. 11. Fix: Memory leak in dma_engine , potential buffer overflow in mdss & Uninitialised usage during invalid irq. 12. Fix: Too high brightness in Automatic Brightness
Version : 7.7 1. Clear Sound Quality , Reverted Earlier sound boost 2. Removed some unused drivers from defconfig 3. Force Disable Adaptive LMK. 4. Lock Adaptive LMK as Disabled For Improved Multi tasking. 5. treewide: Kill debugfs failure warnings. 6. Fix : Debugfs dependency issues. 7. Upstreamed to Latest 4.4.228 Kernel 8. Upstreamed to Latest Wireguard. 9. Goodix Fix Version: 7.6 1. Merged Latest Q CAF Tag 2. Merged Latest Pie Qcacld Tag 3. Queue some workqueue on power efficient workqueue. 4. Improved Multi tasking. 5. treewide: disabled various debug dependency and Debugging 6. Removed some unneeded configs from defconfig. 7. Fixed unusual drains happening to some users due to some tweaks. 8. Fixed Internet issue with some ISP Providers. Misc Fixes for Stability Improvements. Version : 7.5 1. Merged Latest 4.4.227 Linux Upstream. 2. Compiled using Latest GCC 10.1 3. Fixed Lineage OS Fingerprint Bug. 4. Fixed Low brightness issue. 5. Fixed Haptics Vibrations. 6. Fixed Irregular LED notification light in some roms. 7. Removed some conflicting commits. 8. Removed some unneeded drivers. 9. Idle Improvements and Drain Improvements 10. Removed network Tweaks to avoid any network related issues. 11. Fixed LOS Selinux Error. 12. Performance improvements. Misc Fixes. Version: 7.4 Changelog: 1. Merged Latest 4.4.226 Linux Upstream. 2. CFQ Upstreams. 3. Removed some frequencies which were inefficient. 4. Reverted some patches which were causing internet instability for some people. 5. Added Live display CABC driver for LOS Official support. 6. Disabled some stuffs to reduce overhead Various improvements under the hood. Version: 7.3 Changelog: 1. Revert 270 Kcal Saturation. 2. Backlight dimmer implementation For More Battery Saving. 3. Powersuspend Implementation 4. CFQ Upstream Patches. 5. TCP/Net Tweaks / Upstream Patches. 6. TCP window size increased for speed improvements. 7. Re edited UVs for better bb and performance. 8. Removed Some commits which were causing issue . and Misc Improvements. Version : 7.2_r1 1. Fixed WiFi Speed Issues 2. Upstreamed to Latest 4.4.225 Linux Kernel 3. Removed some commits which were causing issue with charging for some people. 4. Reverted some logging related changes. and other misc fixes for stability. Version : 7.2 Changelog: 1. Update Wireguard 2. Removed some drivers which was unnecessary 3. Removed some Debugging 4. Removed some logging / log spams. 5. Default 270 Kcal saturation for more vibrant colors 6. Eliminate ESD checks for Tianma, shenchao and Boe 7. Disabled CABC to fix washed out colors in display for some users 8. Adjust UV values 9. Add Drive Droid Support 10. Mic Gain / Boost added 11. Fixed broken LED in some roms 12. Fixed dt2w broken in some roms Credits : @psndna881 For led/dt2w fix Version: 7.1 • 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. Version - 7.0 1. Fixed MIUI / OOS Brightness Issue 2. Removed Mic Control to Make sound control easier and Fix potential bug of low mic/ sound volume in games while using mic. 3. Reduced unnecessary log spams and logging 4. Reduced some unnecessary debugging 5. Rebased again with Driver Imports 6. Fixed SU Vulnerabilities 7. Disabled Unnecessary Drivers 8. Fix 2% Battery Drop occurence 9. Wireguard Version Upstreamed to May 10. Latest 4.4.223 Linux Kernel 11. GPU tweaks to avoid unnecessary boosting 12. KLaspe Color Control Nuked 13. Removed SLMK to Mitigate App Closing issue 14. Fixed KCAL 15. OTG Fix( Should Work) 16. Built with Proton Clang 11 17. Reduced time to go into deep sleep. 18. Fixed Offline Charging and Bunch of Improvements for stability and battery.. Version: 6.9 Changelog: 1. Rebased to Latest CAF Tag 2. Dynamic FPS Implemented 3. Simple LMK Implementation 4. USB Force Fast Charge Added [ Users Request] 5. Boeffla Wakelock Blocker Added Again [ Users Request] 6. Latest Wireguard Upstream 7. CRC Check Toggle Added 8. Unlocked All TCP Algorithms 9. Disabled many debugging and logging to reduce overhead 10. Charging Bug Fixed 11. OTG Fix Added Version : 6.8 Changelog: 1. Do not compile unused drivers. 2. Disable snapshot crash dump by default 3. Always perform a regular reboot upon panic 4. Implemented Powersuspend 5. Added Timeout to wakelocks 6. Fix redundant wakelocks 7. Relax timer wakelocks 8. Eliminate ESD Checks 9. Remove early suspend support and disabled some logging 10. Reduced git describe and commit hash lengths 11. CPU Idle improvements 12. Upstreamed to Latest 4.4.222 13. Latest Wireguard Support 14. Hooked Battery Sensor to Quiet Therm ( Credits : @uvera) but it will follow else statement ( without -3). 15. Fixed Wifi Disconnection Frequently Bug! Version: 6.7 Stable: Changelog: 1. Merged Latest Android Linux Stable 4.4.221 2. Merged Q CAF Tag "LA.UM.8.2.r1-06500-sdm660.0" 3. Merged Pie Qcacld 3.0 CAF Tag "LA.UM.7.2.r1-8700-sdm660.0" 4. Revert "usb: dwc3-msm: Remove indefinite wakeup" 5. Revert "msm : mdss : fb : fix panel reconfiguration check for format change" 6. Compiled with Stormbreaker Clang 11 Version 6.6 : 1. Fixed Charging Bug! 2. Merged Latest Android Linux Stable. 3. TTL Fixation Now Works For New Cam! 4. Reverted to Old CAF Tag. 5. Changed Base to Version 6.3 6. Some wakelocks fixing commits added. Version 6.5 : 1. Latest CAF Upsteaming 2. Fixed Some Wakelocks 3. Reduced Wakeups 4. Reduced time to enter into deep sleep 5. Disabled logging which were causing overheads 6. Fixed CAF Offline Charging Bug in Upstream 7. Optimized Size , It is reduced Now 8. TTL Fixation is working and much more! Changelog: Version: 6.4 1. Merged Latest 4.4.220 Android Linux Stable. 2. Disable GPU wakeup on touch event for battery saving. 3. CPU & GPU Undervolted for more battery. 4. Fixed Battery Drain. 5. Enabled BCL for better battery life. 6. Disabled some logging and debugging for more peformance. Changelog: Version: 6.3 1. Battery tweaks added 2. Battery calculation fix , partially 3. Battery drain issue solved 4. Some peformance Optimizations done 5. Temperature is reduced, Phone should be cool a lot. VERSION : 6.2 1. Fixed Some Wakelocks 2. Fixed Deep Sleep Issues 3. Removed Various Logging to increase performance 4. Panel Tweaks for better battery saving 5. Enabled -O3 Optimizations for performance 6. Some optimisation for Battery and Performance 7. Disabled Various Debugging. 8. No Bloat, Completely Stable. 9. Further Reduced ZIP Size 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 # More Clean #More Smoother #More Battery #More Faster Version 6.0: 1. Cleaned all conflicting governors. 2. Cleaned Hotplugs. 3. Removed Adreno Idler. 4. System Wide Power Efficient Workqueues. 5. Removed various Wakelocks. 6. Removed various debugging and logging. 7. -80mV undervolting. 8. Removed high priority workqueue flags. 9. Bunch of Upstreaming . 10. Internet Tweaks. 11. Optimizations for Battery and Performance. Version 5.9: 1. Introducing New Alucard Hotplugging Solution! 2. Merged Latest CAF Q Tag LA.UM.8.2.r2-01100-sdm660.0 3. Merged Latest CAF Pie Tag LA.UM.7.2.r3-00700-sdm660.0 4. Upstreamed to Latest 4.4.218 Linux Kernel 5. Charging Current Optimizations 6. Power efficient workques for better battery saving 7. Upstreamed Wireguard to Latest 1.0.20200330 version Version 5.8: 1. Upstreamed to Latest 4.4.217 Kernel 2. Mic Gain Control and Mic Boost Implemented 3. Sound Control Bug Fix Patches 4. Implemented Super Fast LZ4 ZRam Compression Algorithm 5. Misc Optimizations and Security Enhancements Changelog: Version 5.7 1. Upstreamed to Latest 4.4.216 2. Implemented KLAPSE Color Control and Enhancer. 3. Implemented Boeffla Wakelock Blocker. 4. Misc Drivers Enabled. 5. Misc Optimizations and Other Fixes. Version 5.6: 1. GPU Power Optimizations 2. Disabled CRC Check for 30% performance Boost 3. App power Optimizations 4. HDR Support for Tianma Display 5. New Governors=> ZZMoove, Blu_Active, Nightmare , DarknessV5, Alucard 5. New I/O Schedulers=> BFQ, MAPLE, ANXIETY 6. Unlocked High-Speed TCP Algo 7. Memory Optimizations 8. Scheduling Optimizations 9. Battery Optimizations 10. Upstreamed to latest 4.4.215 Kernel 11. Upstreamed to Latest CAF Tag 12. Special Gamepad HID Drivers unlocked ( Steel series, STEAM , SONY, Microsoft etc ) Version 5.5: 1. Removed conflicting governors. 2. Removed Conflicting i/o sched. 3.-20mV undervolting implemented 4. Fixed freezing Version 5.4: Changelog: 1. Introducing new govenors (zzmove,blu_active,darknessv5,alucard). 2. Introducing new i/o Schedulers( sio and fiops) 3. Upstreamed to latest 4.4.214 linux kernel 4. Implemented power efficient workques 5. Nuked wakelocks 6. I/O Optimizations 7. Disabled CRC for 30% performance boost 8. Much more fine tuned Optimizations for battery and performance. Version 5.3_r2: Changelog: 1. Fixed mic issues for some roms! 2. Fixed default governor was performance for some roms! 3. Fixed defconfig issues! 4. Fixed Miui cam bug in miui version! 5. Mic gain control removed due to bugs! Version 5.3 : 1. Merged Latest Linux 4.4.213 2. Merged Latest CAF Q Drivers 3. Merged Latest CAF Pie Drivers 4. Completely cleaned the entire source code, Now kernel is close to stock with some useful features. It will ensure good battery backup and stock stability! 5. Added various new TCP congestion algorithms! 6. Added mic gain control along with sound control! 7. Optimizations for battery and performance! 8. Added wireguard protocol support! Version 5.2 1.Upstreamed to Latest 4.4.212 Kernel 2.Disabled wakelocks which were causing battery drain. 3.Added BFQ I/O Scheduler. 4.Upated CFQ I/O Scheduler. 5.Reduced idle drain. 6.Enabled power efficient workques system wide. 7.Disabled debugging and logging for icreased performance. 8.Disabled CRC Check for faster file operation. 9.Optimized arm64 architecture for faster operation. 10.Disabled unnecessary overheads for increased performace. 11.Fixed mako hotplug warnings. 12. Added FSYNC Toggle and by default it is enabled. 13. Various optimzation for smoothness and battery. Version 5.1 => MiUi Camera Bug Fixed(Still need to flash camfix) => Upstreamed to Latest 4.4.211 Kernel => Increased Read-ahead (File operations will be faster) => Battery Tweaks are added => More Accurate Battery Calculation => Panel tweaks for battery saving => Panel analog dimming => More efficient scheduling => Removed unnecessary wakeups => Prevent abnormal battery usage by apps => Introducing Westwood TCP and it is also default now! => Introducing Adreno Idler for better GPU efficiency and power saving => Introducing powersuspend in kernel => Introducing Mako Hotplugging Solution => Introducing USB Force Fast Charge Version 5.0 --> Wifi Speed Enhancements! and wifi speed bugs fixed ! --> Upstreamed to latest 4.4.210 Kernel --> Fixed some bugs and optimization --> Security Enhancements Version 4.0 --> Introduced Nebula Governor! --> Introduced DTS Sound Mod! Version 3.0 --> Latest Patches Merged! --> Latest Upstreamed 4.4.209 Kernel --> Bugs Fixed --> Sound Control Added --> More Stability & Security Version 2.0 -->Latest Patches Merged! -->Latest Upstreamed 4.4.208 Kernel -->Security Enhancements -->Stock Stability -->Tweaks & Optimization For Stability, Performance & Battery -->Magisk Patch is added and Ui Print is now more easy to understand! -->Removed the dirty plus sign from local kernel version Version 1.0 -->New Governors -->New Io-schedulers -->Mods and tweaks added -->Upstreamed & Updated
Download Links Here:
Predator-Stormbreaker-7.8-OLDCAM.zip (SourceForge Link)
Predator-Stormbreaker-7.8-NEWCAM.zip(For Roms with latest Vendor Blobs and For MIUI) (SourceForge Link)
Important: The variant Predator-Stormbreaker-7.8-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, POSP By Amulya X , Xperience Android 10 Rom etc). If camera doesn't work, that means the custom rom is using old blobs, in that case , flash Predator-Stormbreaker-7.8-OLDCAM instead, camera will be fixed 100% sure. For MIUI Pie and MIUI Pie based Roms only flash Predator-Stormbreaker-7.8-NEWCAM.zip
Note: Reboot if deep sleep is not working!
It will fix Deep Sleep
If SourceForge Link is Slow Then Download From XDA!
Zip File is Attached To This Post in Last! Please Scroll To End!
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
Download This => miui_q_oldcam_patch.zip (SourceForge Link)
Flash this for Fix.
Uninstaller : revert_miui_q_patch.zip (SourceForge Link)
Update: Now everything works in New version !
Note : Alternative Download Attached in XDA.
Note: No need to flash again if Already Flashed Before.
Predator-Stormbreaker-7.8-OLDCAM=> For Custom Roms which are using Old Vendor Blobs!(Most Common as 95% roms are still using old blobs. If after flashing Predator-Stormbreaker-7.8-OLDCAM, camera don't work , then flash Predator-Stormbreaker-7.8-NEWCAM Variant! Camera will work surely! 100% Tested!
Predator-Stormbreaker-7.8-NEWCAM => 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:POSP by Amulya X,LOS Official, Xperience Android 10 Rom etc.) If after flashing Predator-Stormbreaker-7.8-NEWCAM, camera doesn't work, then flash Predator-Stormbreaker-7.8-OLDCAM.Camera will work 100% . Flash this version on MIUI Pie.
Thanks [email protected]Susan Dahal (Co-Maintainer)for porting and introducing new governors and 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!