[Redmi Note 9S / Note 9 Pro (Indian Model) ROMs, Ke] ColdIllyrian:
​

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

- 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.

- 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+