• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

nysascape

Senior Member
Jan 24, 2016
408
549
68747470733a2f2f74656c656772612e70682f66696c652f6431646230623033353037663731306164633863372e706e67

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:

cidxtc

Senior Member
Mar 31, 2016
784
294
Xiaomi Mi Mix 2S
Installed 1.3 version on china dev 9.4.25. Will report any issues but so far everything seems to work.
 

Attachments

  • Screenshot_2019-05-08-18-47-59-767_com.android.settings.png
    Screenshot_2019-05-08-18-47-59-767_com.android.settings.png
    140.1 KB · Views: 3,346

Yom

Senior Member
May 4, 2006
1,336
161
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
549
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.
 

ncandroid84

Senior Member
Sep 21, 2014
93
51
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
549
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
 

Top Liked Posts

  • There are no posts matching your filters.
  • 32
    68747470733a2f2f74656c656772612e70682f66696c652f6431646230623033353037663731306164633863372e706e67

    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
    6
    Lyra 1.6:
    - iommu rewritten and cleaned
    - Use analog dimming for the screen
    - Use a default power level on the GPU of 5 (160MHz)
    - Remove HUGE amounts of logging in binder (really helps in battery I think)
    - Update CPU Input Boost and like actually disable the ****ty inbuilt one
    - Add a new, interpolated energy model
    - Update LMK (simple low memory killer)
    - Boost RCU
    - CPUIdle more inline with Wahoo
    - Remove a lot of high priority workflags for actual queuing
    - Remove a lot of Qcacld-3.0 mess
    - Fixed af SDcards

    Lyra 2.0:
    - Sched brickported (+400 commits, smooth af)
    - Add devfreq boosting
    - Optimised devfreq
    - Update to latest CAF tag
    - Update CPU boost driver
    - Improve camera consumption
    - Fixup libperf (hopefully gets rid of errors in log)
    - rcu/rcutorture backported and improved
    - Readded kdragon's energy model (nice af)
    - CPUIdle more inline with Wahoo
    - char: mem: Link /dev/random to /dev/urandom
    - Added "-developer" to kernel version on Developer build

    Downloads
    6
    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
    5
    Acrux - v1.0.1
    Features:
    - 4.4.180
    - Latest CAF tag
    - Clean imported
    - DT2W implementation
    - Energy Aware Scheduling, backported and updated
    - tytydraco's energy model
    - Huge rework, written from the base up. New EAS base with a **** ton of changes to sched/* that make it very battery friendly and smooth asf.
    - Introduce cpu_input_boost driver and devfreq (GPU) boosting
    - Disable CPU boost in favour of cpu input boosting
    - Boost CPU and DDR during new frames
    - Enabled and set CPU masks
    - Patchup kgsl
    - Fixup devfreq performance
    - Add cfq brickports
    - Tweak TCP
    - Enabled advanced TCP
    - Cleanup mm
    - Make CPUIdle close to wahoo
    - Switch back to 100Hz
    - Removed qcacld debugging
    - Simple Low Memory Killer
    - MSM thermal simple
    - Remove selinux auditing
    - Add stuff for new powerhal
    - Loads of mmc/FS backports
    - Cleanup CPU input boosting and devfreq
    - Cleanup jump label
    - Update schedutil to Google's standard
    - Update RCU
    - Implement new msm-thermal-simple solution
    - Add new checks for superuser exploits
    - Cleanup cputimes
    - Configure cpumasks
    - Adjust haptics
    - Improve camera consumption
    - Use analog dimming
    - Use an initial GPU level of 160MHz
    - F2FS enabled and optimized
    - Sched brickported (+400 commits, smooth af)
    - Optimize EXT4 sync
    - VDSO32
    - Set minimum frequently of the little cores to 902MHz for efficiency

    Find the download in the main post:)