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

Thago

Senior Member
Mar 1, 2019
67
30
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 .

Code:
Triton is focused on battery more than performance so it has very least features .
Toolchain - Proton-Clang v12
* Link Time Optimization
* LLVM Polly Optimization
* ld lld support
- Memory Optimizations
- QNS for better charging
- Schedutil governor
- optimized Interactive governer
- optimized cpufreq
- boefla wl blocker
- dts-eagle
- optimized zram
And many more which cant be listed here :)
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] [Redmi4A | Redmi5A], Kernel for the Xiaomi Redmi 4a

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

Kernel Special Features: EAS

Version Information
Status: Stable
Current Stable Version: 2.0
Stable Release Date: 2020-04-02

Created 2020-04-03
Last Updated 2020-11-08
 
Last edited:

Thago

Senior Member
Mar 1, 2019
67
30
28
Bangalore
thagoo.github.io
New update pushed for Triton-Atmosphere 08/06/2020 (DD/MM/YYYY)

Changelogs

  • Enable QNS Battery charging driver
  • Enable cpufreq as default gpu governor untill fix msm-adreno-tz(not using its maximum freq)
  • Implement optimised IP checksum helpers
  • Optimized Console FrameBuffer for upto 70% increase in Performance
  • Use optimized memcmp
Link updated Download " Triton-Atmosphere" above

**************************************

Triton-Storm 4.9 Update Oct 30 2020
Changelogs

  • * 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
*****************************************†**************

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
 
Last edited:

MaxisMan

Senior Member
Dec 9, 2014
590
250
93
Which one's best for our device? Based on what I've read so far it looks like EAS is the better one
 
Last edited:

Buvarz

Member
Nov 30, 2009
24
0
0
Just for info - tried with crDroid ROM and it does not work. Boots ok (no loop), but many apps stop responding. Nova launcher restarts continuously, making the phone unusable.
 

Thago

Senior Member
Mar 1, 2019
67
30
28
Bangalore
thagoo.github.io
Just for info - tried with crDroid ROM and it does not work. Boots ok (no loop), but many apps stop responding. Nova launcher restarts continuously, making the phone unusable.
Because you are not using the latest version please check whether you using latest version before posting issue with a logcat the latest version of Triton
 
Last edited:

Thago

Senior Member
Mar 1, 2019
67
30
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
DOWNLOAD