[CLOSED]Okitavera's Kernel for Mi 9 SE - v8.4

Status
Not open for further replies.
Search This thread

okitavera

Senior Member
Jan 6, 2016
436
812
Malang
okitavera.me
So its Kernel or Rom related with Audio issues?
Both.
1. ROMs gets updated by Xiaomi, but they don't update the source code.
2. Because of that, my kernel doesn't compatible anymore with it ?.

It just like any other MIUI weekly dev issues.
like the broken in-display fingerprint on miui 9.5.30
brightness bugs at miui 9.6.25.
and other things that happened before (and it was fixed).

For all,
Just calm the hell down.
If you have an GitHub account, you can upvote the issues at https://github.com/MiCode/Xiaomi_Kernel_OpenSource/issues/1123 :)
Probably Xiaomi will hear it, it's already been 4 months since the last kernel source release so no wonder if it's so buggy as hell :)

Or, just don't use MIUI Dev build.
It's clearly says that it is a "developers" version, which is used to be only for testing purposes.
 
Last edited:

lotrzyk0

Senior Member
Apr 4, 2015
86
7
What about use older Kernel versions? Incompatible too?

Wysłane z mojego Mi 9 SE przy użyciu Tapatalka
 

lotrzyk0

Senior Member
Apr 4, 2015
86
7
Audio issues are on newest Kernel. What if I will install your older Kernel for example v. 5.6 - wont work too?

Wysłane z mojego Mi 9 SE przy użyciu Tapatalka
 

okitavera

Senior Member
Jan 6, 2016
436
812
Malang
okitavera.me
Audio issues are on newest Kernel. What if I will install your older Kernel for example v. 5.6 - wont work too?

Wysłane z mojego Mi 9 SE przy użyciu Tapatalka
And, What do you think about that huh ?

Of course no, the bugs are from the newest MIUI Developer ROM.
The kernel is fine on older ROM and on other non-MIUI Developer ROM

Didn't you read the older post or not ?
 
Last edited:

davidben73

Senior Member
Oct 3, 2012
501
80
Hello again everyone, today we got an another updates, sorry if it was too quick.

Changelogs
- Merge Latest CAF Tag LA.UM.7.8.r1-06600-SDM710.0
- Greatly reduce zRAM limit to 1GB (better single-task performance like gaming)
- Bring several cgroups patches from aosp's kernel/common
- Bring Fixes from aosp that fix battery doesn't keeps full after charging overnight
- Several I/O and ext4 optimization (good for your storage)
[builder-related changes]
- Fix clang's warning when building camera modules
- Silent several warning from dtc
R2 Changelogs
- Fix Internal problem warning on non-MIUI systems

Downloads

And one more thing, I already add Magisk add-on on the download page.
It contains several minor tweaks for the kernel itself,
like additional schedutil tweaks, several selinux patches for camera departments, and memory management tweaks.
And of course, it's optional.
I think you don't need it if you're already mastering kernel tweaking on apps like FKM or EXKM ?

Hi there mr. Okita, what settings the magisk module brings if installed? Does it battery life or performance?
 

okitavera

Senior Member
Jan 6, 2016
436
812
Malang
okitavera.me
Hi there mr. Okita, what settings the magisk module brings if installed? Does it battery life or performance?
Hi
It does several things like :
- stopping unnecessary diagnostic services.
- tweaked memory management to make it slightly performant, especially on a non-miui ROM.
and on magisk addon v2.0
- it also correctly set the stock schedtune boost value to only boosted dynamically depends on the usages,
which means more efficient in terms of battery usage but still maintains the snappy-effect caused by dynamic-schedtune like before.

So that just a minor tweaks that I use daily, doesn't do too much battery-saving or performance boosted.
 

okitavera

Senior Member
Jan 6, 2016
436
812
Malang
okitavera.me
For magisk add-on users, I just want to mention that the magisk add-on is already updated.

Now the add-on has a CPU adjustment that mimics Pixel's schedutil configurations, it can give a slight performance improvement without sacrificed your battery.

Also, don't forget to remove other non device specific tweak tools like LKT/FDE if you use my add-on, since it will cause conflicts between the initscript configuration :)
 
Last edited:
  • Like
Reactions: bonbibonkers

danbrown162

Senior Member
Mar 12, 2010
360
40
For magisk add-on users, I just want to mention that the magisk add-on is already updated.

Now the add-on has a CPU adjustment that mimics Pixel's schedutil configurations, it can give a slight performance improvement without sacrificed your battery.

Also, don't forget to remove other non device specific tweak tools like LKT/FDE if you use my add-on, since it will cause conflicts between the initscript configuration :)

Works a treat! Thanks! :)
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 40

    eHjVLwZ.png


    Intro
    Okitavera's kernel is a custom kernel based on CAF Kernel with specific patches from Xiaomi.
    Aims to provide stability, security, and other benefits from having a regular patches from Linux Stable, CAF, and Google.

    Features
    • Merged patches from :
      • Linux Stable currently on: v4.9.197
      • Google's kernel common: android-4.9
      • CAF specific fork for for Snapdragon 71*, currently on: LA.UM.7.8.r1-07100-SDM710.0
    • Dynamic SchedTune boost
    • BBR and Westwood TCP congestion-avoidance algorithm (optional)
    • Exposure Adjustment (DC Dimming)
    • AVB and SafetyNet bypassed
    • KCAL, KLapse, Vibration control, and Sound control
    • Check GitHub commits for more
    • TL;DR : The best custom karamel (arguable)

    Compatibility (v8.4)
    • AOSP-based custom ROM (Pie)
    • MIUI 10 and 11 (Stable or Weekly. Pie, NOT THE Q)

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


    Installation
    • Backup your dtbo and boot partition.
    • Flash the kernel.zip file via twrp

    Credits and Thanks to
    • Linus, The Linux Foundation, Google, CodeAurora, Xiaomi
    • arter97
    • celtare21
    • faust93
    • flar2
    • franciscofranco
    • kdrag0n
    • kerneltoast
    • krasCGQ
    • nathanchance
    • osm0sis
    • pengus77
    • RenderBroken
    • ... and all of the contributors from commits and patches on my git


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

    Version Information
    Status: Stable
    Current Stable Version: 8.4
    Stable Release Date: 2019-10-19

    Created 2019-05-26
    Last Updated 2019-10-19
    15
    Good Bye :D

    Hello everyone!
    Unfortunately, I have to stop the development for Mi 9 SE due to device change
    smile.gif

    The kernel sources for this device still available at my GitHub page if you want to fork or even just looking around.

    Thanks for all the support given and see you later :)
    15
    Hello everyone!

    Here's the update notes for v4.0

    Changelogs

    - Add Sound Control for our Speaker
    - Fix overlapped call and notification values on haptic control
    - Cleanup debug bloat on Wi-Fi driver as much as possible
    - Cleanup some unused xiaomi changes on driver departments (camera and fragmention)
    - Removed schedutil_pixel (blu_schedutil and default schedutil is more than enough)
    - Adjust Dynamic Stune Boost default to 10%
    - Turned-down Performance cluster to 748MHz
    - Keeping boosted freq that based on touch input a litte bit longer
    - Enable workqueue power saving by default
    15
    Breaking news.

    Xiaomi already publish the Mi A3 (or Mi CC9, CC9 Meitu, whatever you named it, Xiaomi) Kernel source code.
    It basically uses the same base as ours, and after some hours of inspection,
    me and @pengus77 got a few things from Mi A3 and Mi 9 source code that can be ported to fix several issues on this device (like the brightness, fod, etc) :)
    14
    Hello everyone!

    Here's the update notes for v4.5

    Changelogs

    - Upstream kernel to 4.9.185 (android-linux-stable)
    - Allow enforcing deepest cluster idle state selection
    - Use power efficient workqueues on the vmstat and audio-kernel
    - hardcode dirty_expire_centisecs to 30s (https://android-review.googlesource.com/c/platform/system/core/+/938362)
    - Add IPA_RM12 and IPA_WS to the default block list (thanks to @pengus77 for more wakelock block list)
    - Updated Goodix GT9886 firmware from MIUI Dev
    - Cleaned-up unused touchscreen driver

    Notes
    I can't fix the short brightness bugs on MIUI Dev yet, so lmao yeah.