[ILLYRIAN KERNEL] | MIUI | AOSP | Shqipe

Search This thread

QuantumShqipe

Recognized Developer
Nov 2, 2017
801
771
London
PcDEKZI.png
Hello there! I've been working on a new kernel for the Redmi Note 9s that I think our community will enjoy. I hope to bring a new viewpoint to kernel development that hasn't been seen previously in the dev community.

MUST CLEAN FLASH ROM THEN FLASH KERNEL TO PREVENT LAGGINESS

Philosophy
I just wanted to start off with the goal of my kernel. Illyrian Kernel which is based off of draco kernel isn't a feature-rich kernel, nor is it a performance-bias or power-bias kernel. Illyrian Kernel includes a collection of innovative commits, designed to improve the efficiency of the device. Ideally, I will keep Illyrian kernel up-to-date.

Problems?
-Weird manufacturer error on bootup, only pops up once after every restart (miui only) - FIXED

Upstreaming?
Has been upstreamed to the latest v4.14.183 linux kernel stable

Basic Features
Code:
- Minimal debugging and tracing
- No messy upstreams / backports that might cause issues down the line
- Latency focused
- Anxiety I/O scheduler
- Scheduler tweaks and hacks
- CPU governor adjustments
- ZERO in-kernel boosting while maintaining a smooth userspace

Advanced Features

This is just from the first official beta, so this list may change in the future.

Code:
- Remove AVB checks
- Disable SECCOMP (faster syscalls)
- Disable Audit (expensive in Android)
- Use non-blocking random pool
- Target small cluster in Makefile
- Disable IRQ debugging
- Don't use high-priority workqueue for usb policy_engine
- Disable profiling (kdrag0n)
- Anxiety I/O scheduler (sync read priority)
- Schedule last-woken task for better cache locality
- Reduce cache pressure to keep cache valid for longer
- Increase vmstat interval to reduce intermittent jitter
- Adjust dirty ratios to writeback dirty pages later rather than sooner
- Do not collect I/O stats from block subsystem
- Don't dump oom_killed tasks
- Do not use UFS for randomness
- Disable ASLR fully by default (performance not benchmarked)
- Disable JTAG debugging by default
- Inform kcompact of fragmentation moreso than full RAM usage
- Do not compile HIGHMEM (unused by our system)
- Awaken kswapd at 1% (80mb free left) instead of 0.1% (8mb free left)
- Do not compile watchdog (reduces jitter)
- BFP JIT (better networking performance)
- Force block requests to execute on their origin cpu (better cache locality)
- Increase haptic strength
- Allow GPU to sleep / nap
- Do not compile zRAM (unnecessary for this kernels MM settings)
- Do not perform readahead (proven to improve power and performance by 70%)
- Align scheduler timeslices with jiffies
- Overcommit memory for faster Android start times
- Remove a bunch of debug and tracing that is unnecessary for the kernel
- Remove schedutil hispeed boosting
- Remove iowait boosting (saves a large amount of battery)
- Do not expedite RCU
- Halve round-robin timeslices
- Expedite wakelock garbage collection
- Lower I/O request limit for lower latency
- More that I forgot


Telegram
https://t.me/illyriankernel - join here for missing files and past kernels :)

Downloads
https://mega.nz/file/H1pTWaRA#mHsukZRWm0oKkHZmC3VBQSbzOe4FrioZoazT4xVRhfg
GitHub (no sign in): https://github.com/QuantumShqipe/illyrian_redmi_curtana

If experiencing any problems in terms of flashing on global or freezing on eu:
Use this for eu fix: https://drive.google.com/file/d/1EV88RGWwMgAdDgMNKRnJmHEeWRMOdlz4/view?usp=sharing
Use this for global fix: https://drive.google.com/file/d/1b6D_eLfvCbHumwqRQqTl-7xQAP7PEmEM/view?usp=sharing

Contact
I love user feedback; it helps me improve my work for the better.

Donations
Feel free to donate if you like my work :)
https://www.paypal.me/drtechlc

Meta
- Toolchain: Clang r365631c (subject to updates)
- Toolchain (companion): GCC 4.9
- Main branch: Android-10.0
- Kernel Version: 4.14.187+
 
Last edited:

keiner99

Senior Member
Jan 12, 2017
55
3
can someone send me the original kernel? is it possible to flash the original kernel via twrp? I tried your kernel but now the phone is extremely slow and unsuable..
EDIT: flashed the original boot.img again -> problem solved
 
Last edited:

SkiPbR

Member
Mar 18, 2017
6
4
I like it when we meet someone who loves what they do! The kernel is perfect, using miui.eu, dirty flash, without choking or something, just one question is this kernel focused on being balanced?
 
  • Like
Reactions: QuantumShqipe

N.ORMs

Member
Apr 26, 2017
32
6
7th Cloud
Dirty flashed it. Xiaomi.eu 11.0.8. Works great

UI responsiveness is better compared to stock kernel. no lagging.
Nothing breaks. Wifi, bluetooth, in call audio all working as it should.
GPS? not tested as i rarely use gps.

Keep up the good work OP and thanks. ;);)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    PcDEKZI.png
    Hello there! I've been working on a new kernel for the Redmi Note 9s that I think our community will enjoy. I hope to bring a new viewpoint to kernel development that hasn't been seen previously in the dev community.

    MUST CLEAN FLASH ROM THEN FLASH KERNEL TO PREVENT LAGGINESS

    Philosophy
    I just wanted to start off with the goal of my kernel. Illyrian Kernel which is based off of draco kernel isn't a feature-rich kernel, nor is it a performance-bias or power-bias kernel. Illyrian Kernel includes a collection of innovative commits, designed to improve the efficiency of the device. Ideally, I will keep Illyrian kernel up-to-date.

    Problems?
    -Weird manufacturer error on bootup, only pops up once after every restart (miui only) - FIXED

    Upstreaming?
    Has been upstreamed to the latest v4.14.183 linux kernel stable

    Basic Features
    Code:
    - Minimal debugging and tracing
    - No messy upstreams / backports that might cause issues down the line
    - Latency focused
    - Anxiety I/O scheduler
    - Scheduler tweaks and hacks
    - CPU governor adjustments
    - ZERO in-kernel boosting while maintaining a smooth userspace

    Advanced Features

    This is just from the first official beta, so this list may change in the future.

    Code:
    - Remove AVB checks
    - Disable SECCOMP (faster syscalls)
    - Disable Audit (expensive in Android)
    - Use non-blocking random pool
    - Target small cluster in Makefile
    - Disable IRQ debugging
    - Don't use high-priority workqueue for usb policy_engine
    - Disable profiling (kdrag0n)
    - Anxiety I/O scheduler (sync read priority)
    - Schedule last-woken task for better cache locality
    - Reduce cache pressure to keep cache valid for longer
    - Increase vmstat interval to reduce intermittent jitter
    - Adjust dirty ratios to writeback dirty pages later rather than sooner
    - Do not collect I/O stats from block subsystem
    - Don't dump oom_killed tasks
    - Do not use UFS for randomness
    - Disable ASLR fully by default (performance not benchmarked)
    - Disable JTAG debugging by default
    - Inform kcompact of fragmentation moreso than full RAM usage
    - Do not compile HIGHMEM (unused by our system)
    - Awaken kswapd at 1% (80mb free left) instead of 0.1% (8mb free left)
    - Do not compile watchdog (reduces jitter)
    - BFP JIT (better networking performance)
    - Force block requests to execute on their origin cpu (better cache locality)
    - Increase haptic strength
    - Allow GPU to sleep / nap
    - Do not compile zRAM (unnecessary for this kernels MM settings)
    - Do not perform readahead (proven to improve power and performance by 70%)
    - Align scheduler timeslices with jiffies
    - Overcommit memory for faster Android start times
    - Remove a bunch of debug and tracing that is unnecessary for the kernel
    - Remove schedutil hispeed boosting
    - Remove iowait boosting (saves a large amount of battery)
    - Do not expedite RCU
    - Halve round-robin timeslices
    - Expedite wakelock garbage collection
    - Lower I/O request limit for lower latency
    - More that I forgot


    Telegram
    https://t.me/illyriankernel - join here for missing files and past kernels :)

    Downloads
    https://mega.nz/file/H1pTWaRA#mHsukZRWm0oKkHZmC3VBQSbzOe4FrioZoazT4xVRhfg
    GitHub (no sign in): https://github.com/QuantumShqipe/illyrian_redmi_curtana

    If experiencing any problems in terms of flashing on global or freezing on eu:
    Use this for eu fix: https://drive.google.com/file/d/1EV88RGWwMgAdDgMNKRnJmHEeWRMOdlz4/view?usp=sharing
    Use this for global fix: https://drive.google.com/file/d/1b6D_eLfvCbHumwqRQqTl-7xQAP7PEmEM/view?usp=sharing

    Contact
    I love user feedback; it helps me improve my work for the better.

    Donations
    Feel free to donate if you like my work :)
    https://www.paypal.me/drtechlc

    Meta
    - Toolchain: Clang r365631c (subject to updates)
    - Toolchain (companion): GCC 4.9
    - Main branch: Android-10.0
    - Kernel Version: 4.14.187+
    4
    • Kernel upstreamed to v4.14.187
    • Using pure PELT
    • Added BBR TCP congestion control
    • Added wireguard support
    • Added kmem patches
    • Added UserSpace lmk from coral
    • Fixed battery drain issues
    • Bluetooth fully functioning now
    • Other bug fixes and improvements
    • Much cooler device

    https://drive.google.com/file/d/1RjqiYrWgEG5isjn-JWY_XXnczG2DVWqd/view?usp=sharing

    Feel free to donate if you like my work ;) https://paypal.me/drtechlc
    3
    IMPORTANT READ
    Sorry guys i am discontinuing all my work - and no longer will be developing for this device, it's taking up too much of my time nor do i have the money to sustain my work tools to a working level, so you as a community have two options:
    You can either donate to me so i can replace my parts and i can happily continue (however no one should be forced it's my fault i don't have enough money for these things)
    Or you can just forget about me and wait for some one else to bring official roms

    Furthermore i will be leaving the forum open to allow others to discuss

    Many thanks to all donations and everyone else who has been a great support - but i cannot continue with the help from this community - thanks again!
    3
    Download: 14/06/2020
    https://drive.google.com/file/d/1TKcdP9MSPm0bRqNgsPxhpfz-mFFPnvn1/view?usp=sharing

    *No more lag or stuttering in eu rom
    *PM / suspend: Default to suspend-to-idle instead of deep suspend
    *qos: Don't allow userspace to impose restrictions on CPU idle levels
    *proc: task_mmu: Make reclaim_pte_range non-static
    3
    New kernel build up 13/06/2020:

    *Added lots of powersaving commits etc
    *fake system calls on seccomp to succeed
    *A few commits with ram/storage/performance optimizations etc

    No more lagging or stuttering :)

    Download: https://drive.google.com/file/d/1rXtIN4-j4wsN6gkeGfmuqi0MNR8IQ4XV/view?usp=sharing
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone