Ad Code

Responsive Advertisement

[KERNEL][mido] KudKernel r37 - AOSP 8.1/9



Hi,
You might have known me from Redmi 3, Zenfone 2, or Galaxy S4 GT-I9500 subforums, where I'm wandering around or published my works for these devices. I decided to bring KudKernel for Xiaomi Redmi Note 4/4X, Snapdragon variant because I really wanted to run a kernel that doesn't have excess bloats. My goal is simplicity.

Disclaimer:

Code:
/*
* 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.
*/
My main principle with KudKernel is simple:
  • (Always) up-to-date with latest android-linux-stable, CAF, and/or Linux kernel changes.
  • Only necessary features will be added upon my needs.
  • No feature requests. Re-read my goal above.
    Suggestions are still welcome, however.

Not-a-features-list-sheet:

  • CAF LA.UM.6.6.r1-09800-89xx.0 release tag.
  • Linux 3.18.123 merged in.
  • Powered by osm0sis' AnyKernel2!
  • Compiled using clang 8.0 built from source with local init sanitizer, assembled and linked with GNU-A.
  • Upstreamed binder, SDcardFS, FUSE, and uid_sys_stats from Google common kernel.
  • Compat vDSO from Pixel XL kernel.
  • ext4 file system patches from Google common kernel.
  • F2FS v4.19-rc1 with rapid GC patches from arter97
  • sdFAT file system from Samsung for vfat and exFAT (modified & backported by LineageOS: cryptomilkjavelinanddart)
  • Power efficient workqueues enabled by default.
  • Maximum CPU frequency after boot is set to 1804 MHz by default (still user configurable).
  • Initial GPU frequency is set to 133 MHz.
  • westwood enabled and set as default TCP congestion algorithm.
  • SafetyNet bypass code by Sultanxda
  • Boeffla Wakelock Blocker (Lord Boeffla)
  • KCAL Color Control (savoca, tbalden)
  • CPUFreq governors: performance, interactive, clarity.
  • I/O schedulers: noop, deadline, CFQ, BFQ v8r12.
  • Enabled Yama for increased security. Default to NO_TRACE.
  • Software CRC check exposed to userspace and disabled by default.
  • Few MM tweaks (swappiness=1vfs_cache_pressure=75, etc?)
  • Excluded all debugging symbols for kernel size reduction.
  • Other small improvements that aren't worth to be listed here.
  • ...maybe I forget more? Check sources. It speaks for itself.

Compatibility:
r1+: 8.1.x Oreo non-Treble ROMs.
r3+ should support newer OV13855 camera blobs.
r4+ should support EBBG display and Goodix GT9xx touch panel.
r11+: 8.1.x Oreo, both Treble and non-Treble ROMs.
r26+ should support installation on P Semi-GSI with AOSP 8.1 vendor AOSP 9.0 for convenience, but remains unsupported on my side until proper source is out (lol).
r37+ won't support Pie ROMs with extremely weird Android versioning (9.0.009.0.0, etc.) as osm0sis doesn't support it.
Future releases: Who knows?

How-to-install:
Just flash it using your favourite recovery (TWRP, RedWolf...). All zips are signed with Android test-keys.
Switching from another custom kernel requires re-flashing of original boot image, or when explicitly notified to do so.

Starting with r11, AnyKernel2 backend has been configured to detect ROM's ro.treble.enabled prop and use appropriate DTB during kernel installation.

Downloads:


Credits:

  • The Linux Foundation, CAF
  • abhishek987, highwaystar_ru
  • nathanchance
  • franciscofranco
  • All mido developers (well, not you, buildbots!)
  • All others who have their commits or contributions picked.

Post a Comment

0 Comments

Ad Code

Responsive Advertisement