• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[Kernel][10.0] Acrux Kernel [Platina][AOSP][EAS]

nysascape

Senior Member
Jan 24, 2016
408
544
0

Introduction:
Acrux kernel is a v4.4 CAF based, cleanly imported (from Xiaomi), EAS kernel with HMP stuff removed (thanks to Joshuous), updated to the latest CAF tag and upstreamed with mainline Linux, aiming to give a balance of performance to battery life.

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, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */
Supports:
- Any custom AOSP ROMs on Android Ten (10.x)
- Maybe MIUI (can't always support this)

Reporting bugs:
- If you want to report any bugs, please post a logcat and kernel log - I recommend syslog to give all the logs I need.
If this information is not provided, I cannot - and will not - help.

Features:
This is based off 12-3-20, r1-ten. Might not be up to date - check GitHub for more details.
- Rebase on Q CAF tag
- Cleaned a lot of unused Xiaomi crap
- Upstream to 4.4.216
- Redo EAS, remove HMP and import CAF 4.14 energy model
- Import PELT backports and scheduler improvements
- Fix stuck GCam HDR processing/speed it up
- Cleanup qcacld-3.0 drivers (less Wi-Fi debug, etc)
- Remove unneeded drivers from the kernel (e.g. test drivers, unused touchscreen drivers, Adreno 3xx/4xx)
- Optimise CFQ/blk
- Optimise kgsl/adreno drivers (remove POPP, relax idle spin loop etc)
- Compiled with GCC 9.2
- Fix treewide inconsistent mutex spinlocking
- Omit useless DTBs from the kernel

Downloads:
Version: Acrux r1-ten
All releases go under this format: Acrux-[revision, ex. r1]-[codename]
Google Drive //
GitHub Releases //

Telegram Channel: nysa's development channel
Telegram Chat: Acrux kernel chat

Paypal if you wish to donate: paypal.me/nysascape

Flashing Instructions:
- Just simply flash the kernel in recovery! Make sure you flash Magisk after!

Credits and thanks:
@Lunarixus (as always) for his support, friendship and hard work, as well as working alongside me for the EAS bringup. Thank you
@uvera00 for his constant support and amazing knowledge into kernel development, and the SDM660 - also, for putting up with me in PMs.
@tytydraco for his awesome EAS work!
@hypeartist for his support in our chats and suggestions, and access to his repositories
@kdrag0n for his energy model and CPU input boost commits, as well as helping me in the sdm660 chat
@kerneltoast for his persistence with dealing with me lul as well as some amazing work

And everyone else that helped me and worked with me on the kernel! PM me if I missed anyone :)

Sauce code: Pasta with some tomato sauce // Pasta with some pesto mixed in (staging repository)


XDA:DevDB Information
[Kernel] Acrux Kernel for the Mi 8 Lite, ROM for the Xiaomi Mi 8 Lite

Contributors
nysadev, nysadev
Source Code: https://github.com/nysascape/kernel_xiaomi_acrux

ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: MIUI Global Stable
Based On: AOSP

Version Information
Status: Stable

Created 2019-05-06
Last Updated 2020-03-12
 
Last edited:

Yom

Elite Member
May 4, 2006
1,336
161
0
Cancun
1.3 booting EU latest weekly beta just fine and dandy, sir!
Thank you!

UPDATE: reported too soon... My 256gb exfat SD Card does not mount, and it is getting file system corruption.
 
Last edited:

nysascape

Senior Member
Jan 24, 2016
408
544
0
Lyra kernel - v1.3:
Changelog:
- Developer beta fix:
- This now means anyone, anywhere, on any ROM, MIUI or otherwise, can use Lyra. Enjoy:)
- Any AOSP ROM
- Any MIUI ROM (both global and stable(
- Add DT2W (THIS WON'T WORK UNTIL I RELEASE CUSTOM ROMS)
- Set GPU idle timeout to 64ms
- Optimize sync
- Reduce display panel latency
- Relax cpu latency requriements to save power
- Switch to Simple Low Memory Killer (better than Android's)
- Omit the 633Mhz step on little cores
- Remove that ****ty boot error message
- Pool MSM thermal every 200ms
- Optimize EXT4 sync
- Optimize VDSO32

Good luck! Report to me how it is on MIUI too.
 

nysascape

Senior Member
Jan 24, 2016
408
544
0
1.3 booting EU latest weekly beta just fine and dandy, sir!
Thank you!

UPDATE: reported too soon... My 256gb exfat SD Card does not mount, and it is getting file system corruption.
I probably accidentally missed the SDFat driver... ?*♂ I'll fix soon
 
  • Like
Reactions: obvious

ncandroid84

Senior Member
Sep 21, 2014
93
51
0
Buenos Aires
Hello @nysadev !!
installed in xiaomi.eu MIUI weekly 9.4.25. To avoid falling into bootlop followed by installing the kernel you must install magisk !!!! Another thing I do not have audio after installing the kernel version 1.3, the phone slows down!

I will be testing all the versions I take, and I will inform you if everything is ok or there is something to repair !! Very grateful with your work!
 

nysascape

Senior Member
Jan 24, 2016
408
544
0
Lyra 1.4 - Stable & Developer kernels
Changelog:
- Move to two seperate builds. You will need to know yourself which kernel you want to use. MIUI developer versions will of course use the developer firmware builds, my ROMs and most other AOSP ROMs are stable too. You'll need to know.
- Switch to a new, adapted energy model
- Fix SD cards breaking on MIUI
- Some other optimizations

Downloads in main post