yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Basically, Xiaomi is assembling Mi 5 with three different panels. Most commonly used is the one from JDI and rarely used are those from Sharp and LGD. That's probably because at some point in time they expected to have / had some stock shortage of hardware. I don't think it is related to the device variant because I have seen already JDI panels on 32GB and 128GB variants.

Actually it matters. It won't boot with MIUI 8.x firmware.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] andy356:
Thanks. And what about the code? Did I understand correctly that the kernel code is different because they use different technology to display?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] graw2:
Yeah, I noticed your criteria, that's way I edited my previous post....but I think nobody use MIUI7 on Mi5...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Different hardware, different timing settings and so on.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] deusxx:
Here's my info too:

View attachment 3904147

View attachment 3904148
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Are you referring to the build I published a few posts back? I just need feedback from that one.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] <bono>:
Second post

Twrp for lgd panel

With other build my touch doesn't work anymore

Inviato dal mio MI 5 utilizzando Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Okay, but I have released a new one for testing. Please check the last page, flash it and let me know if it works. I'm trying to get a universal version for all panels.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] <bono>:
Yes

Read some minutes ago (Sorry) .

Unfortunately i'm Amway from home and i can't flash with fastboot

Should i try with flashify or twrp manager ?

Sorry for bad english

Inviato dal mio MI 5 utilizzando Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] francyesco:
Not working on my SHARP panel, it simply won't start
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Yeah, try with TWRP manager or tomorrow with fastboot. Then report with good news. :fingers-crossed:
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Oh boy... Blame Xiaomi for all this mess. I wonder which recovery was working for you until now.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] francyesco:
From official site:

twrp-3.0.2-1-gemini.img Won't start

twrp-3.0.2-0-gemini.img Seems OK

From this topic

TWRP-recovery-gemini-test2.img OK (but no vibration during loading)

TWRP-recovery-gemini-test3.img OK

TWRP-recovery-gemini-test4.img Won't start

Let me know if you need more testing :)

---------- Post added at 09:53 PM ---------- Previous post was at 09:48 PM ----------

My panel (Settings > about phone > 5 tap on kernel info > 2. Check version info):
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] <bono>:
Ok

With flashify no luck

Flash ok but i can't boot recovery

Only fastboot or android...

Will try tomorrow with fastboot and report back

Inviato dal mio MI 5 utilizzando Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Are you guys running my CM ROM? This latest test version requires FW 7.x.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] francyesco:
Global Stable V8.0.5.0
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
That's why it doesn't work for you. The kernel soruce released by Xiaomi only boots with firmware 7.x. The purpose of my test is just to understand if it will work for all panels. Of course I won't release an official TWRP version that is not compatible with the latest firmware.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] <bono>:
I'm on MIUI 8 IT from 4 days

If help , tomorrow Will test again your cm :)

Inviato dal mio MI 5 utilizzando Tapatalk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] francyesco:
Yeah pretty stupid that a recovery needs a specific firmware installed [emoji53]

So why the others from second post works to me? (And why the official 3.0.2-1 not?!)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] graw2:
Just for you information, Android 7 (nougat) based official MIUI pre-alpha ROM has been released for internal testing. So, Android 7 base MIUI coming soon, then different TWRP build may will be necessary...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Every release until now included prebuilt kernels compatible with FW 8.x. Official TWRP 3.0.2-1 had issues with some devices. It booted just fine when I tested on mine so I released it, but soon realized it was broken for certain devices. The fix is here, but I did not release any new official version in the meanwhile because of all the uncertainty around the touch issues on different panels.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] chandgokul1:
latest version twrp not working in my mi5, anyone plz share the link of twrp 3.2.0.0 or 3.0.2.0.....thnks in advance

or any suggestions of woring twrp
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Expliciate:
Not sure if it has to do with my firmware, cause I just unlocked my bootloader with the latest China Dev rom.

I have the LGD panel

3.0.2-1 does not boot

3.0.2-0 boots but touch screen does not work.

Edit: Would like to point out that the TEMP build for LGD panel worked for me. Much thanks
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] francyesco:
https://dl.twrp.me/gemini/twrp-3.0.2-0-gemini.img
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
Read the second post.

sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Are you still running MIUI? If you are now running CM, can you please provide feedback to this?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Expliciate:
I am currently running on the CM with prebuilt kernel.

It fails to boot with my current setup.

I could try it later with the source built kernel. Though would I need to flash Fw 7.x from this thread prior to flashing the latest CM build? Or is it already inclusive?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Please try as soon as you can. I will appreciate your feedback. In case you install the CM build (the one from my thread), you don't need to flash the firmware.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Expliciate:
I flashed cm-13.0-20161001-UNOFFICIAL-gemini

Can confirm that TWRP-recovery-gemini-test4 works on LGD
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] graw2:
...and what about MIUI8 users? new common twrp version will be compatible with MIUI8 as well?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
From what I understood, it shouldn't until xiaomi updates (if ever) the source.

sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] francyesco:
Whats wrong in bundling with prebuild kernel compatibile with MIUI 8 like in 3.0.2-0?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
There are panel-related issues solvable only with source built kernel I think. Wait for bgcngm answer, anyway.

sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
I never said I would put MIUI8 users out of the game.

The thing is that for new stuff like support for F2FS filesystem, a source built kernel is required and so far it can only boot with MIUI 7.x firmware. Until there is a kernel that is able to boot with MIUI 8.x firmware, MIUI8 users will be stuck on TWRP releases compiled with prebuilt kernels.

To sum up, new TWRP releases with source built kernel will only benefit those that use custom ROMs and want to take advantage of all the potential.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] graw2:
Thx for your reply. That's great because xiaomi.eu MIUI ROMs are customs ROMs as well. Anyway if you want to tested any further TWRP release on xiaomi.eu builds then you can count on me...

Actually I am using your test3 TWRP build from second post with latest xiaomi.eu dev release...it works flawlessly.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Errr... although Xiaomi.eu ROMs are custom, I doubt they will ever support F2FS, for example. I was actually referring to source-built custom ROMs.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
I saw the commit, and I didn't understand if you are going to make F2FS the default filesystem.

sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
No, the default is whatever the user has. F2FS entries come first in the fstab, but there's a fallback to ext4 (stock filesystem). In order to use F2FS, you need to boot into TWRP (test4 release actually includes this support) and format data and cache as F2FS.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
Ok, thanks.

sent from my Mi5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Philb90:
[MENTION=455439]bgcngm[/MENTION]

there is definetly something wrong in TWRP with encryption! can u dig in plz?

i tried some command to disable but it didn t worked out.

https://android.stackexchange.com/questions/98228/removing-encryption-from-recovery
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
No, there is definitely not a problem with encryption. That was one of the first things that I have assured because I need my device to be encrypted. In order to disable encryption you must format data, that's all.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] FcukBloat:
dear sir, I have many problems too with encryption (i don't use it), I don't know why.

if I am on a rom WITHOUT encryption, then when entering twrp it anyway needs to decrypt the phone, and can't understand why. even after wiping data. I just use fingerprint unlock + pattern unlock.

is it possible these two security unlock modes enable a sort of security/encryption?

can't really understand... TIA!
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
If TWRP needs to decrpyt userdata, it means the device is encrypted. Read my reply above.

No.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] FcukBloat:
thanks, so I really don't understand what happens here... I am not encrypted and twrp don't ask to descrypt data. I flash some roms (custom or stock xiaomi) and never enable any encryption. then suddenly I flashed another global stock xiaomi rom, and it couldn't boot because it said the phone was encrypted (had to enter default_password but then it said data is too damaged and had to format data), how is that possible? can't understand..

plus I always wipe ALL when flashing a rom...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
What don't you understand? Stock MIUI ROMs force encryption. Going back and forth is causing you issues. When flashing custom ROMs, you need to make sure that you ***FORMAT*** userdata (wipe won't do the trick).
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] FcukBloat:
ahh, thanks now this explain things if miui force encryption!

btw I started always formatting data instead of just wiping it since some time but had anyway some problems... but I think I someway bricked my phone now, so probably won't be bothering you guys anymore... :silly::crying:

I am always stuck on bootanimation, I can't start any rom. I can't fastboot flash a miui system fastboot image on the phone as I get some errors with the size of the image or the partition, I don't know. I can't use miflash to fully fastboot flash a stock miui rom as it fails as well... I am afraid it is died.... :(
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Philb90:
I can't format data in two because I m encrypted... It ask for password, but when I press the numbers they won't appear on twrp.... While when I m wiping it's fine.... So please do u know some code lines to format data ? So I can enter them on twrp
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] FcukBloat:
fastboot format userdata !! i told you already... did you try it?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Of course the device is not dead. If you can reboot to bootloader, you are good to go. Just grab one of the fastboot packages from Xiaomi official website. You can also find there how to flash.

Just don't reinvent the well... When TWRP asks for decryption, just ignore it. TWRP will inform that userdata was not decrpyted, but you can format the partition anyway. After formatting userdata partition, reboot again into recovery mode.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Philb90:
There it's a command to disable encryption forever, I want to know that :)

Didn't see your answer
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] FcukBloat:
thanks mate, but I tried many ways I saw in xiaomi forum, none work...

miflash to install a full fastboot packages never work. manually fastbooting all partitions (cache, system, modem etc) fails at some point when I am flashing system image... other used to flash properly...

I am afraid I messed up the partition scheme someway with some fastboot commands... will try something more but..
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Philb90:
Dear dev, this problem occou when i try to flash AOSP, with CM it s fine, but i don t have a choice to ignore decryption. I put default_password and it says the password is correct but data is too damaged so a factory reset is needed. i tried both wiping all partitions manually in twrp and running always the same problem at boot.

TWRP is no able to format data, without manually wipe data; when i type password the numbers won t appear on screen.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
I am sure that if you say no when TWRP prompts for decryption, it will be fine. You can go ahead and format userdata. This is how encryption is removed.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
In the "Wipe" option there is "Advanced Wipe" and "Format Data". Are you doing it this way?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Philb90:
i find myself in the same situation, of course i m in advance wipe i press data as well... while on format data i can t go on.

when i try to boot aosp, it will prompt a message to formata data " i have no choice" . After i press format data the device it will reboot and show again the same message ('default_password' is accepted but it says data is too damaged so you need factory reset etc)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] andy356:
Could you try repeating these steps with official TWRP and bgcngm's CM13?

It could be a problem with test builds or that AOSP ROM or anything else.

Just flash the official TWRP from the TWRP website. Ignore the decryption message, advanced wipe everything, flash his (about to be official) CM13. Boot.

Use the CM13 from shade's website. The one with prebuilt kernel.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
That's likely a problem of the AOSP custom ROM. You don't need to try CM because it's the one I have (obviously, right?) and there are no crypto related problems.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] francyesco:
[MENTION=455439]bgcngm[/MENTION] what do you think about ZXC twrp? (http://en.miui.com/thread-364569-1-1.html) is there a possibility that we will get at least incremental OTA in the official one? Basically what is needed is a way to bypass the boot checksum, /system check will be passed if we install all systemless (and I hate that ZXC do a full backup of official /system on internal memory to pass the check)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
I don't have any idea how they do that and to be really honest, I don't really care. Supporting MIUI is out of my scope. Besides, their changes are applied over TWRP's core code.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] FcukBloat:
thanks guys for your consideration, I really appreciate. btw, can't do any more tests from now on, as my phone is definetively hard bricked now. no signs of life at all, not even a single light on when connected to the charger etc, so don't think we will see around for some time ;( probably most of my problems were due to a bugged device that was going to die soon...?! who knows... btw I read on the web this is a pretty common problem, many users had their mi5 died suddenly and apparently for no real reason...

really bad timing now that official cm nightlies are just behind the corner... what a pity would have enjoyed a lot.

well see you guys and good luck with this device and relevant development, especially [MENTION=455439]bgcngm[/MENTION], thanks for your work I was near to buy you a beer for all your efforts, really, will do eventually if I'll get my mi5 back repaired or a new mi5 and use your work... all the best! :good::)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Ramabi77:
Have you try chinese mi pc suite?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Philb90:
Didu flash anything? Since we had same problem, there is something I should avoid to do?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] _nahman:
del
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] FcukBloat:
it works even if the phone doesn't turn on at all? don't think so? I don't even see the red light when I connect the charger.... ;)

no I also had problems with phone stuck at bootlogo etc that you didn't have so don't worry... the problem about encryption should be fixable if you listen OP's and other's advices ;)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Ramabi77:
Is your device appear on device manager if you connecting it to a pc?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] FcukBloat:
no nothing ;)
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Ramabi77:
Well, send it to china then, :D
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
The test version that I have released some pages back already supports F2FS. Only userdata and cache can be formatted to F2FS, but you need to ensure the ROM also supports such filesystem.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] monkeydrufy:
Sorry guys,

is there a way to boot in TWRP without flashing it?

because I would like to root my Mi5 without losing OTA update

I've tried with fastboot boot twrp.img but the phone reboot into TWRP but this one is stuck on the lboot logo

thanks
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
That's the way to do it. Try official 3.0.2-0 or one of the test versions.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] monkeydrufy:
Ok, thanks, with the 3.0.2-0 worked

then I flashed the supersu.zip via TWrp and now the phone won't boot :D

is stuck on Mi logo
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] francyesco:
Seems there is no way, sign check is done by OTA incremental package on /boot and /system, and as long you do systemless patch (root) /system is ok, but /boot will be tampered in the moment of bootloader unlock

ZCX modded recovery Will move the check on a backupped (stock) boot.img and /system that will allow to flash the incremental package

Btw yes, fastboot boot twrp3.0.2-0.img is fully working to me
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] monkeydrufy:
So you mean, even if I didn't flash the TWrp but just boot into it, I flashed the supersu.zip, OTA will not work?

thanks
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] francyesco:
You should try but yes to me on Global stable didn't work also witouth flashing TWRP recovery.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
I don't think that's the issue. The problem is likely the SuperSU .zip that he tried that's causing a bootloop. Flashing recovery or fastboot boot'ing into it is the same.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] francyesco:
Sure, i was talking about OTA[emoji16]
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] _nahman:
Ok thanks, got it, flashed test4. Im going to use your (and mi5devs) OFFICIAL CM 13 ROM when it will realeased on offiical cm site, so will this ROM support SYSTEM partition formatted to F2FS?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
Yes, the official CM ROM already supports F2FS.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] andy356:
Okay, I've read around about F2FS and its benefits for eMMC. Will it have the same effect on UFS 2.0? And which partitions should be formatted as F2FS? I've read /data and /cache, but this user asked about /system.

Any downsides? I've read it might not be as stable?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] azazello22:
Lord Boeffla back at my s3 days suggested to not use f2fs. The speed benefits is not good enough to risk with its downsides (the main one, if I remember well, the increased probability to have memory loss than other filesystems).

sent from my MI5
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] andy356:
Yeah. Considering the super fast IO speeds UFS 2.0 gives, I don't see a need to change the file system. IO is the only benefit, from what I can see.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] graw2:
What is the benefit of F2FS file system on Mi5 where we have UFS2.0 storage? F2FS is the past, why we stepping backwards? I just try to understand...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] monkeydrufy:
and you were right

tofay I've got the notification of a new weekly, and I got error during the installation

so now, how can I update the phone?

thanks
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] francyesco:
The best way i've found:

-download full rom zip (the updater will download it on second retry or you should get it from the website)

-boot into twrp

-flash the full rom zip

-flash SuperSU/all system/systemless mods again

Probably the second retry from updater will also work but idk
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] andy356:
[MENTION=455439]bgcngm[/MENTION] I noticed that the mi.com boot logo vibration is gone in your CM ROM, but it still happens when booting to recovery. Is it in the pipeline?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] graw2:
Actually which TWRP version is the latest for MIUI8 dev releases? Still we should use second post and pick one of them?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] francyesco:
Yes
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] 4719:
Is OTG working in any TWRP?
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] graw2:
Yeah OTG is working with TWRP from second post. Tested.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] smeroni68:
Confirmed.

Instead the test4 posted by dev do not support OTG.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] graw2:
[MENTION=455439]bgcngm[/MENTION]:

nice to see the second post is extended with "Temp build for Mi 5 devices with any panel (only works with MIUI 7.x firmware)" TWRP build, but imo no one is uing MIUI7 already...
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] marcoly:
That's about firmware, not MIUI7 (as stock rom) in general.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] Vihru:
So newest official twrp dont work with my mi5..
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] kylemd:
If we're talking about the universal test build from Post #2 then I can confirm. Doesn't work for me either
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
I don't know what you're talking about. To my knowledge, the kernel source hasn't leaked, so it is only kept private inside MIUI team.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] TheUltrametricSpace:
yes it was not leaked but there are custom Roms and those are based on some kernel. the question concerned this home bew kernel and not a leaked / or official kernel source.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] bgcngm:
All those custom ROM's are using prebuilt kernels, but that's off-topic.

What I can say is that once kernel source is released, I'll update TWRP recovery to remove the mouse pointer and add additional features.
[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] DanielDEV:
Works amazing! Thank you!