yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Gingernut78:
I have been using Miui and your kernel without any screen brightness problems for weeks, the only bug for me is the led brightness.

No problem, I understand to fix it you have to wait for Xiaomi to push the code.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] phenkk:
Syberia + Canting so smooth

Thank you for amazing kernel
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Release 1.7

New build is up. I added support for Ursa build, at this point there is no Ursa sub forum so i'll stick this device support alongside with the dipper.

Changelogs :

Add support for Ursa

Linux 4.9.179

Merge tag LA.UM.7.3.r1-07800-sdm845.0

Upstream with Google Common 4.9

Set readahead back to 128KB

Download link in the OP, enjoy it :)b
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] peppercute:
good kernel for "MEMEU" =) thanks OP
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Release 1.8

New build is up

Changelogs :

Linux 4.9.180

Upstream with Google Common 4.9

Upstream with f2fs-stable/linux-4.9.y

Update Wireguard to 0.0.20190531

Update K-LAPSE to v5.0

Set zRam to 1GB

Set ZRAM_DEFAULT_COMP_ALGORITHM to lz4

Set BFQ as default I/O Scheduler in the first boot, then replace it with CFQ after boot completed

Download link in the OP, enjoy it :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] trahzebuck:
I'm testing this kernel on Syberia 2.5 - awesome! Thank you very much for this masterpiece!
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] denzel09:
Is it possible to add support also for equulus? Mi 8 Pro. Thanks.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
If you wanna test it, just ping me in telegram.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Release 1.9

New build is up

Changelogs :

Linux 4.9.181

Upstream with Google Common 4.9

Update Wireguard to 0.0.20190601

Minor fixup with K-LAPSE

ramdisk: Properly enable zRam configs

Download link in the OP, enjoy it :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Murik01:
any news about dc dimming support?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Ask xiaomeme to release the codes :rolleyes:
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] TeeHoang:
Flashed with Syberia right now ??

Will report if any problems come up ✌️
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] nfsmw_gr:
Can we actually ask Xiaomi somehow?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
I can't, but maybe Trump can do that.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] natheux:
[MENTION=5123347]khusika[/MENTION]

Which rom are you using on your MI 8? I'm a bit curious. ?

And which is your favorite ?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] TeeHoang:
Not directed towards me but I'll answer too löl

Currently running Syberia. CAF based, smooth as fuuuccc. The smoothness is on another level higher than Pixel Experience. The customisation options are just enough to not crash the System UI (Edit: Hi Havoc
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] dosimple12:
where is syberia CAF Based?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] jigs4wkiller:
Syberia is always caf based
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] TeeHoang:
In the forum. It's not as popular as other ROM but it's perfect & smooth for me.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] natheux:
I agree, Syberia is really smooth.. Even on my Redmi 4X! Also I'm thinking to flash it on my mi 8
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Aysllan Ruan:
Kernel mi 8 explorer edition - miui.eu

Does it work on MIUI.EU?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] tilexss:
Best kernel for me
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Release 2.0

Removed,

read post #115 for more information.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] dasklney:
I tried to install on MIUI 10 9.6.20 (Mi 8) and it was booting into fastboot, tried on dirty flash and clean flash :D 1.9 is working fine.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Agimax:
I'm running on Global 9.6.20 including Magisk root, running fine....

My mistake: The latest downloaded was 4.9.1.9, no 4.9.2 available in the Gdrive links.... I must have re-downloaded the 1.9 by mistake.

Update:

I used download link for 4.9.2 from Github, same experience as dsklney -reboots to Fastboot mode.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
This probably happens in the MIUI based rom, can you try to repack the zip and remove the "ramdisk" folder then flash it again?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] dasklney:
Thank you for your suggestion. I tried to remove ramdisk folder, re-flash and still got the same problem, phone booted into fastboot mode :D

Re-flash v1.9 worked fine all of the time :D
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] phenkk:
I am on PE CAF got same problem
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] trung335:
im flash kernel 2.0 for Pixel Experience rom CAF .and reboot into fastmode
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
If there anyone having trouble with the latest build, please test this build and let me know.

Click me
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] trung335:
it work fine. :D tks dev

Rom : Pixel pixel experience CAF
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Agimax:
9.6.20 Global Beta, the Test 4.9.183-2.0-Test build boots and runs perfectly now! Thank you!
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Release 2.0

News!

Re-build release 2.0 with switch back to the built in lowmemorykiller.

Please re-download the latest version.

lmkd in userspace need to be modified from the ROM side too, i'm trying to backport this into kernel tree.

Changelogs :

Rebuild with Clang 9.0.4 based on Google r353983d

Linux 4.9.183

Upstream with Google Common 4.9

Improve Clang fixup

Disable IOSCHED_DEADLINE

Enable zram writeback

Enable both BFQ & CFQ GROUP_IOSCHED

ramdisk: Set LMKD Parameters
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] OjSg:
Thanks you
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] TeeHoang:
Was this version in the Google drive folder? :o

Edit: just flashed, yes ^^

Thank you :D
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Davin.Baru:
Great as always
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] TeeHoang:
Is the new build in development?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] nighthawk696969:
Hi, about to flash this kernel on MemeUi.

Are there any recommended settings to set with a kernel manager(e.g kernel auditor), or does it come already preconfigured?

Also, any recommended wakelocks to block with boeffla ?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] kenny.lam:
Hello Dev, I have tested the last Rom Havoc 2.6 with Revolution Kernel, and the new one (2.7 with Canting 2.0 Kernel), as you can see, the new one look better and stable, no reboot as Revolution

Thanks for your hard work :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] TeeHoang:
Is there development on the 4.9.184 based version?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
I skipped those version release. There is only one patch in .184 and no major fixup in it. Next version will be update alongside with .185 (still in RC state).
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] xxxfuq:
Can you fix 898000.qcom,qup_uart wakelock?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Release 2.1

New build is up

Changelogs :

Rebuild with Clang 9.0.5 based on Google r353983e

Linux 4.9.185

Upstream with Google Common 4.9

Uptream with LineageOS

Merge CAF tag LA.UM.7.3.r1-07900-sdm845.0

Update Wireguard to 0.0.20190702

Download link in the OP, enjoy it :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] kenny.lam:
Thanks dev for your hard work, awesome !!
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] kenny.lam:
Hi all,

I have made a test on Canting Kernel 2.1 to see how speed of CPU core vs current Havoc kernel, and you guys can see, the Canting 2.1 kernel is much better and faster, battery look good, running without any problem (highly suggest as my opinion) :good::good::good:
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] phenkk:
PE + Canting :svetius:
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Release 2.2

New build is up

Changelogs :

Linux 4.9.186

Upstream with Google Common 4.9

AnyKernel3: 958b2c8

Download link in the OP, enjoy it :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] kenny.lam:
Much thanks for the Update, awesome dev team !!!! :fingers-crossed: :fingers-crossed:
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] MegaBabu:
Good kernel for good battery :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] gulp79:
On China Beta MIUI 10.5 - 9.7.25 customs kernel goes to FastBoot... Also Canting 2.2.

I attach logcat log (hope this is the correct log to help).
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] Displayer:
i agree, every kernels goes to fastboot or bootloop with last Miui beta
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] slovoblydie:
Not only china beta, also global beta... ((
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] trung335:
miui MS 9.25.7 flash kernel and load fastboot :(
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
First of all i'm not using MIUI as daily driver in dipper, its too complicated to match up Lineage trees with MIUI. I might drop support for 9.25.7 and later.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Release 2.3

New build is up

Changelogs :

Linux 4.9.190

Upstream with Google Common 4.9

Merge tag 'LA.UM.7.3.r1-08200-sdm845.0' into canting-4.9

Upstream with f2fs-stable/linux-4.9.y

Add more kernel hardening from GrapheneOS

AnyKernel3: abc56fc

Download link in the OP, enjoy it :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] UltramarineBlue:
I'm using Miroom 9.8.15 with magisk but I'm not able to use canting 2.3 on this build. First, it goes boot stage and after some seconds it reboots and goes fastboot.

I restored stock kernel and tried another custom kernel and it worked. I don't know what is causing this but really want to try canting.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] peppercute:
thx dev, but not booting on last miui beta (revert to fastboot)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] nighthawk696969:
Plz Dev implement the fix for the fastboot on latest miui roms. I think this kernel is the best and I want to continue using it on miui.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Well, i'm not in MIUI and never. So i won't take care of it for now.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] cola127:
what rom are you using ?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
LineageOS as daily driver
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] vampsoft:
works fine on Miui
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Release 2.4

New build is up

Changelogs :

Linux 4.9.192

Upstream with Google Common 4.9

Update Wireguard to 0.0.20190905

Update novatek touch firmware from 10.3.7.0

AnyKernel3: 98b1ac6

Download link in the OP, enjoy it :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] chinoxda6:
Great :) is it compatible with android 10 Roms?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Not for now.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] chinoxda6:
Oh OK :) I'll wait, thank you for all the effort and work you make :good::good::good:
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] nighthawk696969:
Hi, is the miui patch implemented for the latest betas?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] ermacwins:
Any plans for GPU overclocking?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
No and never;
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] vampsoft:
Yes, its very smoth
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] huytoan9882:
Using lastest with July PE make me lost D2TW
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Fine here in LOS, attach the logs please.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] darkwader18701:
bro how's your sot with lineage im combination with your nice kernel and which version you using? which gapps? which vendor/firmware etc...
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] harnkalkn:
Canting 2.4 is the best dude. I using PE plus+canting 2.4 and i love that. I cleaned yesterday and flashed on my dipper and today i tested. Best kernel for me. You can see on the pictures.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Release 2.5

New build is up

Changelogs :

Re-build with Clang 9.0.0-rc6 based on r371969

Re-based with the CAF releases for Q kernel.lnx.4.9.r25-rel

Linux 4.9.194

Update Wireguard to 0.0.20190913

Cleanup harmful patch

Drop DynamicSchedtune boost

Download link in the OP, enjoy it :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] huytoan9882:
Can i use this with Android 10 PE?
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Why not
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] huytoan9882:
Cause you just update the changelog so i just wanted to make sure then. Will review it later after 1-2 days
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] ozka1903:
hi

Is it possible to do this for mi8se? microphone level control is very important for me. I'm using 10.3.2 rom
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
You cannot use this kernel for Mi 8SE, as it has different SoC with Mi-845 families.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] tsongming:
Edit: responded to wrong person.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Release 2.6

New build is up

Changelogs :

Linux 4.9.195

Upstream with Google Common 4.9-q

Merge tag 'LA.UM.8.3.r1-06100-sdm845.0'

Allow owner & qtaguid to co-exist for Android

Hard-code initial device count based on Android version

ramdisk: Add CPU configuration for Mi-845

Download link in the OP, enjoy it :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Release 2.7

New build is up

Changelogs :

Linux 4.9.196

Enable TTL target support

Disable PM_AUTOSLEEP

Remove TCP tunable for Q and later

Merge f2fs-stable/linux-4.9.y

Switch sdFAT to exFAT

ramdisk: Set input boost freq to 748Mhz

ramdisk: disable pl for both cluster

Download link in the OP, enjoy it :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] peppercute:
ver 2.7 works good on eu 9.10.11

thx author!
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] angel495:
on mi8 with eu 9.10.11 has gone sound in loudspeaker and held network speed icon on zero.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] peppercute:
this is ROM issue, not kernel
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] angel495:
on stock kernel all good.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Release 2.8

New build is up

Changelogs :

Linux 4.9.197

Re-build with Clang 9.0.1 based on r372188

Update Wireguard to 0.0.20191012

fs: sync: set proper permission for fysnc_enabled

init: Override default Android version for inline ROM builds

Update exFAT driver to 2.2.0-2arter97

Enable NETFILTER_XT_MATCH_OWNER required by Q

Enable IP_SCTP required for Network Signal Guru

Enable support for USB-connected xplay, DS3/4, and other generic USB controllers

AnyKernel3: cdabdbf

ramdisk: Delay for 10s before execute bash script

Download link in the OP, enjoy it :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] skorpioneMM:
Hi, no audio on MIUI EU 9.10.17 after install the kernel...

EDIT: Also broke Magisk 20 saying its not installed
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
I will ignore bug from MIUI 11 till Xiaomi bring kernel release for Q.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] skorpioneMM:
Np, thanks for your hard work
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Marked this as magisboot issues in all Q releases. Magisk wont preserve init skip overide. Temporary re-flash the magisk 19.3.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Minor Changes

As of there is a problem with magisk preservation with the kernel in Android 10, i re-uploaded the file with magisk preservation check for Android 9 only. Because of that, you need to re-flash the Magisk after kernel has been installed in Android 10.

Please, re-download the latest release of Canting kernel to avoid with those minor problem
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] skorpioneMM:
Thanks, rolled back to 18/08/19 unnoficial lineageos + canting 2.4 (best combo out there) till MIUI 11/Android 10 get more estable.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
This is related to the magisk init script which wont passed with skip_overide with patching the init or hexpatch with the magisk boot in Android 10. And also there are no specific issues with the kernel it self. And it is better to flash the latest Canting version.
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] arpharazonn:
Thanks for your efforts dev. Is xbox or another controller work with this kernel?

Edit: Im on official los
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] khusika:
Release 2.9

New build is up

Changelogs :

Linux 4.9.198

Upstream with Google Common 4.9-q

Merge tag 'LA.UM.8.3.r1-06300-sdm845.0' into canting-4.9-q

Add missing configs required by Q

Update exFAT driver to 2.2.0-3arter97

Fixed deep sleep issues

Download link in the OP, enjoy it :)
[Xiaomi Mi 8 ROMs, Kernels, Recoveries, & Other Dev] andrewwdai:
The latest kernel doesn't support data usage count.