FORUMS
Remove All Ads from XDA

[Kernel][grus] Okitavera's Kernel for Mi 9 SE - v7.2

325 posts
Thanks Meter: 530
 
Post Reply Email Thread
Disclaimer: don't expect anything about overclocked-SoC or high-score anchuchu benchmark

I just can't make a good banner like any other thread, so I think this is pretty good instead of nothing.

Introduction

Hello everyone, This is my custom kernel build for Mi 9 SE.
It's name is by no means related to fate/grand order world. its the author's name.
This kernel is primarily focus on following Linux Stable and CAF updates, and also enhancing UX performance and daily usages.
And also, it compiled using AOSP's prebuilt Clang with stock optimization because it's stable.

Features

Currently, this kernel incorporates :
  • Boosting mechanism from kerneltoast and RenderZenith (CPU Input Boost, Devfreq Boost, and Dynamic SchedTune boost)
  • BBR(default) and Westwood TCP congestion-avoidance algorithm
  • Exposure Adjustment (DC Dimming)
  • AVB and SafetyNet bypassed
  • KCAL, KLapse, Vibration control, and Sound control
  • and other improvement and fixes, you can inspect yourself at GitHub
  • TL;DR : The best custom karamel (arguable)


ROM Compatibility
  • Kernel version 7.0 and up
    - AOSP-based ROM ONLY
  • Kernel version 1.0-6.1 [EOL]
    - AOSP-based ROM
    - MIUI Stable (Global and Xiaomi.eu)
    - MIUI Developer (Xiaomi.eu, etc) [v9.8.8 Has a bug on Audio, so you can't use it anymore]

Downloads
Zach said this link should be bigger and as you can see he's right


Installation
  • Download kernel.zip file.
  • Boot to TWRP.
  • Backup your dtbo and boot partition.
  • Flash the kernel.zip file.
  • Reboot and done! just like that, your root will be preserved.

Credits
  • Linus, of course.
  • Xiaomi, Thanks for providing the kernel sources (even though it doesn't get updated for the past 4 month)
  • nathanchance
  • RenderBroken
  • kerneltoast
  • kdrag0n
  • flar2
  • arter97
  • franciscofranco
  • krasCGQ
  • faust93
  • pengus77
  • osm0sis for his awesome Anykernel installer (on v1.0-v5.4)
  • ... and other awesome kernel hackers for all of the good patches and fixes


XDA:DevDB Information
Okitavera's Kernel, Kernel for the Xiaomi Mi 9 SE

Contributors
yuneharuka
Source Code: https://github.com/okitavera/msm-4.9-grus-okita

Kernel Special Features: Family Friendly, no HyPeReXtreme-meme optimizations

Version Information
Status: Stable
Current Stable Version: 7.2
Stable Release Date: 2019-08-23

Created 2019-05-26
Last Updated 2019-08-23
The Following 31 Users Say Thank You to okitavera For This Useful Post: [ View ] Gift okitavera Ad-Free
 
 
26th May 2019, 10:17 PM |#2  
okitavera's Avatar
OP Senior Member
Flag Malang, Indonesia
Thanks Meter: 530
 
Donate to Me
More
FAQ (F*cking Asked Question)

Q : When kramel update xdd ?
A : This is just another my hobbies, so don't push me for ETA's okay.

Q : I can't see DTBO Partition on my TWRP, where is that ?
A : If you're using krasCGQ's TWRP, then the dtbo partition is automatically backupped when backing up boot partition. So just backup boot partition and you're good to go 🙂

Q : Can you add <something> ?
A : I made an blocked feature list at the bottom, you can look at that

Q : Can I request something other than that ?
A : You're free to request some features or patches that I can consider it later at Here, directly at this thread. PM will be ignored 🙂

Q : I like Magisk. should I flash it before or after installing this kernel ?
A : Starting from v2.5, you can flash magisk at anytime, it will be preserved

Q : What is your app recommendation for tuning this kernel ?
A : Myself are using EXKM, but also SmartPack and FKM is another good ones
(based on user report, SmartPack can't read the big cluster cpufreq table)

Q : I have an error, should I give you my system logs (dmesg/logcat) ?
A : Don't worry, if you don't know how to do that, you can just ask me nicely on this thread. But if you want to provide some logs, better to not throw a moon at me, I don't want to read your logcat it if it was a hundreds and more lines and you can't even filter what's the actual problem.

Q : I have too much money, do you have any p*ypal or something ?
A : I appreciate your kindness. I have, but you can give it to children's charity instead, it would be better. But it's up to you anyways, the yellow button are still in there.


Blocked Feature Requests (kakko kari)
  • Non-EAS CPU Scheduler
  • Simple LMK
  • DTS:X
  • Wireguard (don't ask me, ask Linus instead)
  • vdso32 (tell your game/app developers to remove 32bit library instead)
  • Adreno Idler (msm-adreno-tz is already have a good idling, I don't have a reason to add it anymore in 2019)
  • lzo-rle and zstd for Default zRAM Compression (I already bench those algorithm, and I pick lz4 for the best choice)
The Following 9 Users Say Thank You to okitavera For This Useful Post: [ View ] Gift okitavera Ad-Free
26th May 2019, 10:31 PM |#3  
Senior Member
Thanks Meter: 22
 
More
Thanks for your work.
It's compatible with xiaomi.eu rom?
The Following User Says Thank You to ale.giordano For This Useful Post: [ View ] Gift ale.giordano Ad-Free
26th May 2019, 10:36 PM |#4  
okitavera's Avatar
OP Senior Member
Flag Malang, Indonesia
Thanks Meter: 530
 
Donate to Me
More
Quote:
Originally Posted by ale.giordano

Thanks for your work.
It's compatible with xiaomi.eu rom?


Yes. in fact, currently I'm using Xiaomi.eu ROM


But also don't forget to backup your boot and dtbo partition just in case you want to restore it back,
since this kernel uses dtbo from global stable to match the kernel source from Xiaomi.
The Following 3 Users Say Thank You to okitavera For This Useful Post: [ View ] Gift okitavera Ad-Free
26th May 2019, 10:42 PM |#5  
Senior Member
Flag Teheran
Thanks Meter: 845
 
More
What is the kernel version? Thank you

---------- Post added at 11:42 PM ---------- Previous post was at 11:38 PM ----------

A question. I see this: Optional : Flash Magisk Installer zip file after flashing the kernel

I always seen the dev Franco to say that Magisk must be flashed before flashing the kernel because Magisk can mess with ramdisk, etc.. I have done alwys in this way with Pocophone and Franco kernel.
The Following User Says Thank You to denzel09 For This Useful Post: [ View ] Gift denzel09 Ad-Free
26th May 2019, 10:52 PM |#6  
okitavera's Avatar
OP Senior Member
Flag Malang, Indonesia
Thanks Meter: 530
 
Donate to Me
More
Quote:
Originally Posted by denzel09

What is the kernel version? Thank you

---------- Post added at 11:42 PM ---------- Previous post was at 11:38 PM ----------

A question. I see this: Optional : Flash Magisk Installer zip file after flashing the kernel

I always seen the dev Franco to say that Magisk must be flashed before flashing the kernel because Magisk can mess with ramdisk, etc.. I have done alwys in this way with Pocophone and Franco kernel.


it uses kernel 4.9.112 from MiCode with Merged CAF Tag LA.UM.7.8.r1-05600-SDM710.0


For the magisk situations,
I am using a customized AK2 installer for be able to flash kernel on a clean stock boot partition that doesn't have a ramdisk (yes, our boot partition doesn't have ramdisk on it) without needing to flash the magisk first.



So if you guys are not using magisk, just flash like a normal.
but if you're using Magisk, you can reflash magisk after installing or reinstalling the kernel
The Following User Says Thank You to okitavera For This Useful Post: [ View ] Gift okitavera Ad-Free
26th May 2019, 11:17 PM |#7  
PeppeCNN's Avatar
Senior Member
Thanks Meter: 228
 
More
why backup of dtbo n boot?
26th May 2019, 11:28 PM |#8  
bonbibonkers's Avatar
Member
Thanks Meter: 5
 
More
Many thanks )))(
26th May 2019, 11:32 PM |#9  
okitavera's Avatar
OP Senior Member
Flag Malang, Indonesia
Thanks Meter: 530
 
Donate to Me
More
Quote:
Originally Posted by PeppeCNN

why backup of dtbo n boot?


Just in case you want to restore it back to the default rom.

This kernel is using stock global stable dtbo.
And if you try to use dtbo from a custom rom like Xiaomi.eu, it will breaks the camera drivers since the dt aren't compatible with the camera source that are released by xiaomi in their github (well, typical xiaomi's behaviour)
The Following User Says Thank You to okitavera For This Useful Post: [ View ] Gift okitavera Ad-Free
26th May 2019, 11:39 PM |#10  
skyline91's Avatar
Senior Member
Thanks Meter: 59
 
More
Quote:
Originally Posted by yuneharuka

Just in case you want to restore it back to the default rom.

This kernel is using stock global stable dtbo.
And if you try to use dtbo from a custom rom like Xiaomi.eu, it will breaks the camera drivers since the dt aren't compatible with the camera source that are released by xiaomi in their github (well, typical xiaomi's behaviour)

can you flash it from stock img via fastboot? or need to backup?
26th May 2019, 11:43 PM |#11  
okitavera's Avatar
OP Senior Member
Flag Malang, Indonesia
Thanks Meter: 530
 
Donate to Me
More
Quote:
Originally Posted by skyline91

can you flash it from stock img via fastboot? or need to backup?


Yeah, if you have those file (boot.img and dtbo.img, maybe extracting the ROM zip file),
you can re-flash it via fastboot like usual.
The Following User Says Thank You to okitavera For This Useful Post: [ View ] Gift okitavera Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes