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

Status
Not open for further replies.
Search This thread

Marcia8246

Senior Member
Jul 14, 2019
177
52
Italy
Hi guys, 7.0 kernel is compatible with full treble CrDroid 5.7? I have flashed it but phone stuck on MI logo...
 

okitavera

Senior Member
Jan 6, 2016
436
812
Malang
okitavera.me
Hi guys, 7.0 kernel is compatible with full treble CrDroid 5.7? I have flashed it but phone stuck on MI logo...

I'm now on full-treble crDroid 5.7
The ROM sometimes are gets "confused" even though it's boot (in dmesg, the kernel and ROM is booting but doesn't get into the bootanimation).
You can try to reboot manual if you're stuck on the mi logo.
 
Last edited:
  • Like
Reactions: Marcia8246

okitavera

Senior Member
Jan 6, 2016
436
812
Malang
okitavera.me
I see good potential for XenonHD ROM. It's very fast and light. It's still experimental so there's no fingerprint and a few bugs (actually I've only found 1 so far, nothing important) but there are also features working out of the box (like SIM management) that don't work on crDroid. Now I'm trying to install a custom kernel. Kowalski is having issues. Let's try Okita and see how it goes.:)

---------- Post added at 07:24 PM ---------- Previous post was at 06:56 PM ----------

Yeah... both kernels are having issues with XenonHD for now. But I'm still keeping the ROM.

Currently I'm on crDroid, but I will try XenonHD tomorrow (already downloaded).
As far as I know, krasCGQ are using highly reworked kernel.
So definitely needs more adjustment on my side to get my kernel works on his ROM too :)


---------- edited -----------
So, XenonHD needs to read high brightness status to get their LiveDisplay to be working (unlike crDroid).
And unfortunately, my kernel don't have that feature, so I'll add that in the next release. :)

*going back to crDroid again XD*
 

Attachments

  • Screenshot_20190817-045918_Settings.png
    Screenshot_20190817-045918_Settings.png
    145.6 KB · Views: 374
Last edited:

elpaablo

Senior Member
Nov 18, 2017
291
114
Looking good. :good:

---------- Post added at 05:30 AM ---------- Previous post was at 05:26 AM ----------

Actually, I was having problems using ultra wide camera and those are gone now.
 
Last edited:

eagle*23*

Senior Member
Dec 27, 2009
257
17
Forgot that speaker is not working with new xiaomi.eu releases. Anybody now where to get the original Kernel or just have to flash rom again?
 

davidben73

Senior Member
Oct 3, 2012
501
80
Hi there, is there V6.1 has any problem with xiaomi.eu 9.8.15?
I still using 9.8.1 because last time using 9.8.8 no sound output.
 

elpaablo

Senior Member
Nov 18, 2017
291
114
I was struggling to find a working version of anx camera and even bsg was having issues with ultra wide mode, and I'm happy to say that, after installing okita kernel, all issues are gone. Now I can use both gcam and anx camera without any problem. :)
 
  • Like
Reactions: okitavera

okitavera

Senior Member
Jan 6, 2016
436
812
Malang
okitavera.me
Hello everyone. kernel has been updated to 7.1, and here's the changelogs :)

Changelog 7.1
- Updated Wi-Fi Driver to latest wlan-cld3.driver.lnx.2.0.3.r6-rel
- Follows google recommended kernel timing (HZ=300, better UI/UX performance with little-to-none power impact)
- Keep boosting time a little-bit longer on wake-up scenarios to get better unlocking performance.
- Tuned input boost value again to get better cpu efficiency.
- Properly set up/down ratelimit value on schedutil.
- Disable unused delay when updating backlight.
- Reduce more debugging feature and removed unused logging to reduce tiny overheads.

Download

Notes
I want to tell that Magisk Add-on is obsolete for now because it already merged into the kernel.zip as magisk service.
So, better to uninstall it to avoid conflicted kernel-parameters :)
 
Last edited:

davidben73

Senior Member
Oct 3, 2012
501
80
Hello everyone. kernel has been updated to 7.1, and here's the changelogs :)

Changelog 7.1
- Updated Wi-Fi Driver to latest wlan-cld3.driver.lnx.2.0.3.r6-rel
- Follows google recommended kernel timing (HZ=300, better UI/UX performance with little-to-none power impact)
- Keep boosting time a little-bit longer on wake-up scenarios to get better unlocking performance.
- Tuned input boost value again to get better cpu efficiency.
- Properly set up/down ratelimit value on schedutil.
- Disable unused delay when updating backlight.
- Reduce more debugging feature and removed unused logging to reduce tiny overheads.

Download

Notes
I want to tell that Magisk Add-on is obsolete for now because it already merged into the kernel.zip as magisk service.
So, better to uninstall it to avoid conflicted kernel-parameters :)

Can it be used on MIUI?
 

okitavera

Senior Member
Jan 6, 2016
436
812
Malang
okitavera.me
Hi everyone!
We got another important updates from CAF on the security departments and CPU improvement :eek:

Changelog 7.2
- Merge update from CAF (TAG: LA.UM.7.8.r1-06900-SDM710.0)
- re-Introduce Exposure Adjustment (kernel-level DC Dimming)

Download

Tunable sysfs paths for DC-Dimming
Code:
# Minimal exposure that will be added when exposure adjustment is active
/sys/devices/platform/soc/soc:qcom,dsi-display@18/msm_fb_ea_min

# Enable/disable exposure adjustment
/sys/devices/platform/soc/soc:qcom,dsi-display@18/msm_fb_ea_enable

# Maximum brightness threshold before exposure will be restored to the default state
/sys/devices/platform/soc/soc:qcom,dsi-display@18/msm_fb_ea_elvss_off_treshold
 
Last edited:

okitavera

Senior Member
Jan 6, 2016
436
812
Malang
okitavera.me
:crying: 2 kernels for aosp, 0 kernel for miui :rolleyes:
Yeah, unfortunately...

But what can we do anyways, xiaomi doesn't give a damn about the source code of this device anymore.
So better to move forwards instead just waiting and stuck in the past.

Besides, I don't use MIUI anymore since the first crDroid release, so it would be time consuming to switch back and forth between different system.
 

okitavera

Senior Member
Jan 6, 2016
436
812
Malang
okitavera.me
Hello everyone, just mentioning that kernel has been updated :eek:

Changelog 7.3

- Updated to linux-stable v4.9.190
- Merge latest blu_schedutil updates from engstk (blu_spark kernel)
- Reset CFQ to default io scheduler
- Re-apply aligned cost-data from the legacy kernel

Notes

You can still use maple if you want, I decide to choose CFQ as the default because I think it's enough for daily usage :eek:
Also, about cost-data, it already present before at the miui version, I just forget to add it back when re-base the kernel.
The difference between previous cost-data and the v7.3 is : reduced slight battery cost, but with little-to-none performance regression (tested on UIBench, still pretty good :eek: ).
 
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.