[KERNEL][4.14.200] Dark Ages Tercero

blacksuan19

Recognized Developer
Aug 7, 2014
760
1,725
133
kuala Lumpur
blacksuan19.me



Designed to give better battery life without compromising performance or features


Features:
- Latest kernel tags
- Built with proton clang 11
- Built with O3 optimizations
- Use arm64 optimized functions
- Improved schedutil governor
- Use Power-efficient workqueue
- Use 300hz config
- USB fast charging
- GPU boost
- improved charging stability and speed
- use Maple IO scheduler by default
- use BBR TCP Congestion by default
- Dynamic stune boost v3
- Upstreamed and optimize CPU boost
- Disable readahead by default (improves power consumption and performance)
- CRC check toggle (disabled by default)
- Boeffla wakelock blocker
- Thermal profile control
- Kcal control
- Disable gentle fair sleepers
- Use LZ4 compression for zram by default
- Various memory, IO, and power optimizations

Installation:

- Reboot to recovery
- Backup your current kernel(boot.img)
- Go to install
- Flash kernel zip
- (reflashing magisk is not necessary)
- Reboot
- Enjoy!!

Downloads:
- Github Releases
- Builds Channel(bi-weekly builds)



Credit:
- all the people I cherry-picked from
- xda and google for having best tutorials/guides for everything

XDA:DevDB Information
Dark Ages, Kernel for the Xiaomi Poco X2

Contributors
blacksuan19
Source Code: https://github.com/Blacksuan19/kernel_dark_ages_phoenix

Kernel Special Features:

Version Information
Status: Testing
Current Stable Version: Segundo
Stable Release Date: 2020-06-27

Created 2020-05-21
Last Updated 2020-10-02
 

blacksuan19

Recognized Developer
Aug 7, 2014
760
1,725
133
kuala Lumpur
blacksuan19.me
Changelog:

Tercero 03/10
• Rebase to new sm6150-dev base
• Bring on features from old Segundo release
• Boots on Android 11
• Upstream to the latest Linux stable
• Upstream wireguard to latest version
• Fixed boot issues on other roms with new trees
• Fixed always on display (roms need to enable this to work)
• Fixed slow charging while using phone
• Improved charging stability
• Improved fingerprint stability
• Improved idle drain (almost 0% now overnight)
• Disable a bunch of useless logging configs
• Various power management enhancements
• Many more improvements and performance enhancements


Segundo 27/06
- Upstream to latest 4.14.186
- Built with O3 optimizations
- Update touchscreen driver
- Fix random bootloop issue
- Fix white screen issue
- Fix Fluctuation in power
- Fix Unbalanced power supply
- Various fixes and enhancements to thermal driver
- Enable kernel ultra low power mode
- Allow GPU to go to sleep
- Improve Walt scheduler
- Block more annoying wakelocks
- Optimize memcpy and memmove
- Use arm64 optimized memcmp
- Use high priority workqueue for kgsl and devfreq
- Disable unused temperature sensors
- Remove Dynamic Fsync
- Other fixes and performance improvements

Primero 22/05
- Fix high idle battery drain
- Fix device not going into deepsleep

Primero 20/05
• Initial release
 
Last edited:
  • Like
Reactions: coolcorner

coolcorner

Senior Member
Jan 27, 2012
132
21
0
Nice to see one more Kernel. I did test this https://github.com/Blacksuan19/kern...o-hot-fix/Dark-Ages-Primero-22052020-0313.zip

Here are my observations:
Pros:
1. Very smooth and fast (read more in cons), keeps the phone really cool
2. Good to see you have retained 300 Mhz minimum and I observed cores go to 300 Mhz very fast after tasks are done and stay there when idle
3. When the phone is idle CPU is at 300 Mhz also have seen current drain/draw is < 100 ma for 30% of times (and 40-50% of times its below 150 ma and some spikes around 200 ma - 250 ma at times) which is amazing, am sure we should get very good battery life with this.

Cons:
1. I saw few stutters at times, like freezes. I had to lock the phone n unlock it to release from those freezes (these are not due to any apps etc, faced on with this Kernel and when I went back to Optimus 10.5 (like 10.5 because it supports 300 Mhz min and not 10.6 :( ) I stopped seeing them, never saw any such things on optimus.
2. Even though cores go to 300 Mhz and stay there when idle, when phone is locked and nothing running in background, I saw 0% deep sleep, same settings/environment optimus sleeps like a baby :)

Please fix these two and this kernel is golden
 
Last edited:

blacksuan19

Recognized Developer
Aug 7, 2014
760
1,725
133
kuala Lumpur
blacksuan19.me
Nice to see one more Kernel. I did test this https://github.com/Blacksuan19/kern...o-hot-fix/Dark-Ages-Primero-22052020-0313.zip

Here are my observations:
Pros:
1. Very smooth and fast (read more in cons), keeps the phone really cool
2. Good to see you have retained 300 Mhz minimum and I observed cores go to 300 Mhz very fast after tasks are done and stay there when idle
3. When the phone is idle CPU is at 300 Mhz also have seen current drain/draw is < 100 ma for 30% of times (and 40-50% of times its below 150 ma and some spikes around 200 ma - 250 ma at times) which is amazing, am sure we should get very good battery life with this.

Cons:
1. I saw few stutters at times, like freezes. I had to lock the phone n unlock it to release from those freezes (these are not due to any apps etc, faced on with this Kernel and when I went back to Optimus 10.5 (like 10.5 because it supports 300 Mhz min and not 10.6 :( ) I stopped seeing them, never saw any such things on optimus.
2. Even though cores go to 300 Mhz and stay there when idle, when phone is locked and nothing running in background, I saw 0% deep sleep, same settings/environment optimus sleeps like a baby :)

Please fix these two and this kernel is golden
Logs would be a lot more helpful for both of us
 

jeetu93

Member
Apr 30, 2017
31
6
0
Thanks dev
I was very upset with the battery backup. But ever since I used this kernel, I am getting a very good battery backup. Please do not stop developing this kernel.