Triton-kernel [EAS] [Treble] [android-10^][4.9] [Redmi5A | Redmi4A]

Thago

Senior Member
Mar 1, 2019
94
39
28
Bangalore
thagoo.github.io
Triton-kernel for Redmi4a & Redmi 5a [Treble] [EAS/HMP]
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 ROM
 * 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.
 */
Triton-kernel is custom or stock kernel for redmi 4a. Based on CAF with stock device drivers and some additional features .Triton now supports linux v4.9 with the flavour named Triton-Storm. Triton kernel has both support for HMP and EAS scheds with different flavours. Triton-Atmosphere Indicates the stock verison of Triton a pure CAF kernel with HMP sched with some modifications for battery and performance and Triton-Ebella Indicates an other stock version kernel with EAS sched with some modifications for battery and performance. And the New Triton-Storm indicates that its based on 4.9 yes linux v4.9 .

Triton is focused on battery more than performance.
Toolchain - Proton-Clang-v12
* Link Time Optimization
* LLVM Polly Optimization
* ld lld support
* Stabilize charging for rolex
* add cpu EAS governor pixel_smurfutil
* Add anxiety i/o scheduler
* Enable more thermal governors
* Set read ahead kb value to 256
* Set low limits as default thermal governor
* TCP westwood is there and default
* Add state notifier driver used by the new cpu governor
* kernel: time: reduce ntp wakeups
* Added support for custom post_boot script adding some modifications by me like (T-Weaks)
* Enable some power saving features.
* Rebased kernel source
* Add blu-schedutil EAS governor and set as default
* Enforce EAS
* Enable Energy model
* Add bfq iosched and set as default for our potato
* Enable and set default tcp Westwood
* Add boefla wakelock blocker
* Improved lz4 and set as default zram compression algorithm
* Add kcal and k lapse
* Nuke sched_boost feature
If you are currently in ROM with 3.18 kernel You need yo flash 4.9-fixes.zip to fix some issues no need if your in 4.9 tree

DOWNLOAD


XDA:DevDB Information
Triton-kernel [EAS] [Treble] [android-10^][4.9] [Redmi5A | Redmi4A], Kernel for the Xiaomi Redmi 5A

Contributors
Thago, SunnyRaj84348
Source Code: https://github.com/Thagoo/platform_kernel_xiaomi_msm8917/tree/tr-4.9-rova

Kernel Special Features: Triton is based on linux v4.9 so it is default EAS based sched so you can expect some good battery backup and performance balance

Version Information
Status: Stable
Current Stable Version: Storm
Stable Release Date: 2020-10-30

Created 2020-10-30
Last Updated 2020-11-08
 
Last edited:

Thago

Senior Member
Mar 1, 2019
94
39
28
Bangalore
thagoo.github.io
Triton-Storm 4.9 Update Oct 30 2020
Changelog
* Merge linux stable v4.9.241
* Fix dt2w for goodix touchscreen users
* Fix gpu freq were not showing
* Fix offline leds
* Improvemens for stability
* Merge aosp common android-4.9-q
* Stabilize charging for rolex
* add cpu EAS governor pixel_smurfutil
* Add anxiety i/o scheduler
* Enable more thermal governors
* Set read ahead kb value to 256
* Set low limits as default thermal governor
* TCP westwood is there and default
* Add state notifier driver used by the new cpu governor
* kernel: time: reduce ntp wakeups
* Added support for custom post_boot script adding some modifications by me like (T-Weaks)
* Enable some power saving features.
* Rebased kernel source
* Add blu-schedutil EAS governor and set as default
* Enforce EAS
* Enable Energy model
* Add bfq iosched and set as default for our potato
* Enable and set default tcp Westwood
* Add boefla wakelock blocker
* Improved lz4 and set as default zram compression algorithm
* Add kcal and k lapse
* Nuke sched_boost feature
*******************************

Triton-Strom 4.9 Update Oct 31st 2020
Toolchain - Proton-Clang-v12
Changelog
* Fix LED light issue for Redmi 5a
* Undervolt min and max microvolt.
* Set GPU idle timeout to 64 ms
* Add back tps65132 regulator configurations
* mm: Disable readahead by default
* perf: Restrict perf event sampling CPU time to 5%
* sched: Do not use IPIs for remote wakeups if idle
* sched: Allow aggressive remote task interruptions
* sched: Handle remote wakeups on remote CPUs
* block: Queue requests on their origin CPU
 
Last edited:

Thago

Senior Member
Mar 1, 2019
94
39
28
Bangalore
thagoo.github.io
Triton-Strom 4.9 Update Oct 31st 2020
Toolchain - Proton-Clang-v12
Changelog
Quote:
* Fix LED light issue for Redmi 5a
* Undervolt min and max microvolt.
* Set GPU idle timeout to 64 ms
* Add back tps65132 regulator configurations
* mm: Disable readahead by default
* perf: Restrict perf event sampling CPU time to 5%
* sched: Do not use IPIs for remote wakeups if idle
* sched: Allow aggressive remote task interruptions
* sched: Handle remote wakeups on remote CPUs
* block: Queue requests on their origin CPU
 
Last edited:

Thago

Senior Member
Mar 1, 2019
94
39
28
Bangalore
thagoo.github.io
Triton-Storm Unified Rova

Update Nov 04 2020
Link updated

linux v4.9.241
toolchain -Proton-Clang

Changelog
* Updated thermal engine configuration by myself ( This is not a common configuration or not taken from devices like olive or santoni which are usually doesn't work lol. This is Updated according to msm8917, compatible with rolex and riva so credit before kang)
* Add back tps65132 regulator driver configurations of rova
* Improved Charging speed for rolex
* smb358-charger: Add thermal mitigation (exist in riva)
* dts/rolex: Add thermal-mitigation properties (exist in riva)
* dts/rolex: Set fastcharge current to 1800ma (average 1600)
* rolex : Fix up derped charging drivers
* Undervolt
* Set GPU idle timeout to 64 ms
* perf: Restrict perf event sampling CPU time to 5%
* sched: Do not use IPIs for remote wakeups if idle
* sched: Allow aggressive remote task interruptions
* sched: Handle remote wakeups on remote CPUs
* block: Queue requests on their origin CPU
* Add More T-Weaks
* Merge aosp common
DOWNLOAD
 
Last edited:

Thago

Senior Member
Mar 1, 2019
94
39
28
Bangalore
thagoo.github.io
Triton-Strom 4.9 Update Oct 31st 2020
Toolchain - Proton-Clang-v12
Changelog
* Fix LED light issue for Redmi 5a
* Undervolt min and max microvolt.
* Set GPU idle timeout to 64 ms
* Add back tps65132 regulator configurations
* mm: Disable readahead by default
* perf: Restrict perf event sampling CPU time to 5%
* sched: Do not use IPIs for remote wakeups if idle
* sched: Allow aggressive remote task interruptions
* sched: Handle remote wakeups on remote CPUs
* block: Queue requests on their origin CPU
*****************************************†**************

Triton-Storm
new update released

Nov 07 2020
Unified | Rolex | Riva
- linux v4.9.241
Compiler - Proton clang v12 with LTO, ld.lld and llvm polly optimizations

Changelogs
* Fix previous lags when gaming caused by gpu
* Fix IR blaster for rolex and riva
* Add gpu boost
* BACKPORT: cpuidle: lpm_levels: Wakeup biased cpu
* lpm-levels: Allow enforcing deepest cluster idle state selection
* cpuidle: Add cpuidle_use_deepest_state_mask() helper function
* UPSTREAM: cpufreq: schedutil: Make iowait boost more energy efficient
* cpufreq: schedutil: Use exponential frequency selection
* BACKPORT: mm: fix pageblock heuristic
* UPSTREAM: cpufreq: schedutil: Make iowait boost more energy efficient
 

Prof.HB-69

Member
Nov 8, 2019
20
3
13
Help.. after using this kernel for Syberia OS (Android 10) it makes laggy and stop responding some apps. send picture WhatsApp it only show black screen.
[/IMG]
 
Last edited:

Prof.HB-69

Member
Nov 8, 2019
20
3
13
hello please help,

I am using miui 11 with oreo EU rom with magisk

how to use, please guide.
you need ROM with android 10 and support linux 4.9 (for redmi 5a and redmi 4a)..
Install TWRP or whatever..
Install this zip..
and done.. (if you face any issue then read this forum and still face them it means you ROM doesn't support linux 4.9)