yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5 Guides, News, & Discussion] 33bca:
Hi Guys, I guess you all know that Xiaomi has released an incompatible kernel source.

20.09.2016

But it is not nearly as broken as we thought it is. Thanks to Shaky (his Name in Telegram), we now know, that the bootloader has Secure Boot enabled (proof in the attachements).

This means we are not able to boot any other kernel than xiaomi's release.

We guess, there is something in the prebuilt zImage that allows the kernel to boot. Because all roms built with this zImage are booting.

21.09.2016

Its actually confirmed that the kernel that was released only works with Miui 7, so it will only boot with firmware and blobs from Miui 7.

23.09.2016

Shaky156 managed to boot a custom kernel on Miui 7.3.2 :fingers-crossed:

But WIFI is not working.

29.09.2016

Its actually confirmed that the kernel that was released only works with Miui 7, so it will only boot with firmware and blobs from Miui 7.

So today is the day :victory:

The "The Muppets" updated the blobs to work with the older bootloader. Github

Cyanogenmod updated the Device tree to build custom kernel right with the rom Github

01.10.2016

[MENTION=455439]bgcngm[/MENTION] is working hard to update the device-tree and kernel to get CM working. There is already a booting built with kernel built from source, so stay tuned. :o

02.10.2016

15.10.2016

First Custom Kernel released: Brand Kernel, but still with the same bugs like every other kernel built with the rom...

And the Kernel that is provided from Xiaomi works actually, after fixing some build problems. ;)

Now we just have to wait for the firs roms to come up with the kernel source and hopefully we can enjoy custom kernels in the near future :victory:

I will also update this Thread if there is something new.
[Xiaomi Mi 5 Guides, News, & Discussion] mrsachou:
Thanks for information !
[Xiaomi Mi 5 Guides, News, & Discussion] Ch0rus:
Qualcomm Secure Boot is enabled on all phones with snapdragon. (With a few rare exceptions)

It's used for i.e verifying the trustzone image, the modem image, and the kernel when the bootloader is locked

Since your bootloader is unlocked, Secure Boot is not causing your problems
[Xiaomi Mi 5 Guides, News, & Discussion] justplan:
Actually bgcngm said that everything works now and it's just the matter of time when we will get a custom kernel.
[Xiaomi Mi 5 Guides, News, & Discussion] 33bca:
Are you shure? Because this image was taken on a device with unlocked bootloader.
[Xiaomi Mi 5 Guides, News, & Discussion] Ch0rus:
Yes, Secure Boot is activated with blown fuses, and can not be disabled. It will be active even if the bootloader is unlocked, but it will not care about the kernel image when unlocked.
[Xiaomi Mi 5 Guides, News, & Discussion] 33bca:
Okay that's nice, i did not know that. ;)
[Xiaomi Mi 5 Guides, News, & Discussion] otonieru:
Its been confirmed that the issue is only with firmware,

only a matter of time until things is happening i guess

Lets hope, pray and donating to the dev!
[Xiaomi Mi 5 Guides, News, & Discussion] locolyric:
custom kernel can extand life of phone. I really hope xiaomi 5 will have custom kernel so i can make decision to choose mi5 than oneplus 3.
[Xiaomi Mi 5 Guides, News, & Discussion] Shaky156:
Kernels booting
[Xiaomi Mi 5 Guides, News, & Discussion] mrsachou:
:o
[Xiaomi Mi 5 Guides, News, & Discussion] j2002:
[emoji39] [emoji39] [emoji39]
[Xiaomi Mi 5 Guides, News, & Discussion] Harrynowl:
I can't even get the Kernel to compile :(

Thanks for your efforts :good:
[Xiaomi Mi 5 Guides, News, & Discussion] 33bca:
The kernel, how it is now, wont compile :D watch on mi5devs github or mine ;)

In mine i just fixed all the building errors, mi5devs fixed much more.;)
[Xiaomi Mi 5 Guides, News, & Discussion] Harrynowl:
I shall give the Mi5devs one a go. Thanks for the information :)
[Xiaomi Mi 5 Guides, News, & Discussion] Rmyaseen:
Wow nice kernel is booting , i just wanted to knw what are the issues in custom kernel beside wifi nt wrkng,?
[Xiaomi Mi 5 Guides, News, & Discussion] rcarkk:
Custom kernel CPU speed

If developers successfuly create this custom kernel that works flawlessly with Miui 8, will it be possible to change a standard Mi 5 32Gb that runs at 1.8Ghz/1.36Ghz, clocking at 2.15Ghz/1.59Ghz? This question is based on the factor that the 32Gb version is running an underclocked SD820. What do you guys think?
[Xiaomi Mi 5 Guides, News, & Discussion] Harrynowl:
Well if overclocking can be enabled on the msm8996 chipset with use of a custom kernel I do not see why not, assuming there are not weird perflocks :) although I expect the 820s found in the 32gb version may be low bin
[Xiaomi Mi 5 Guides, News, & Discussion] rcarkk:
My only doubt remains on the Ram clock. The lower clocked SD820 on the Mi 5 32Gb have the Ram clocked at 1333mhz instead of the 1833mhz. I believe the 64Gb SoC is the same as the 32Gb SoC, as they sport the same 3GB of Ram.
[Xiaomi Mi 5 Guides, News, & Discussion] PetaByteBoy:
[MENTION=4802595]Shaky156[/MENTION] how did you get the kernel running? With what sources? Can we have a picture for proof?

BTW congrats on your 1000th post!
[Xiaomi Mi 5 Guides, News, & Discussion] leledumbo:
Unfortunately, no. The 64GB variant RAM is clocked 1833 Mhz just as the Pro, not the Basic one.
[Xiaomi Mi 5 Guides, News, & Discussion] drleonzo:
OC is possible, Lenovo zuk z2 shipped with app that OCs to 2.3Ghz. I hope to see something similar for mi5.
[Xiaomi Mi 5 Guides, News, & Discussion] rcarkk:
Xiaomi released the source codes 2 weeks ago. They seem to be incomplete though.

---------- Post added at 11:31 AM ---------- Previous post was at 11:24 AM ----------

I have saw images in a Miui post that showed the same chip references on both 32Gb and 64Gb in the SoC. The only one that was diferent, was the 128Gb. In the post, they shown the 3 SoCs. Did you already tested the 32Gb running at 2.15/1.59Ghz and 1866mhz to support your opinion? I know that the stock speeds are 1.8/1.36Ghz and 1333mhz on the 32Gb version.
[Xiaomi Mi 5 Guides, News, & Discussion] PetaByteBoy:
Actually not. Quote from bgcngm:
[Xiaomi Mi 5 Guides, News, & Discussion] rcarkk:
I don´t know what to say then. Are you actually saying that the kernel is capable of running on Miui 7 on Mi 5?
[Xiaomi Mi 5 Guides, News, & Discussion] PetaByteBoy:
Yes, that should be the case. Also if you look 2 pages earlier [MENTION=4802595]Shaky156[/MENTION] told us he had the kernel booting.
[Xiaomi Mi 5 Guides, News, & Discussion] rcarkk:
With everything running perfectly? I would like to know if it´s possible to put the 32Gb version at 64Gb CPU/RAM/GPU clocks.
[Xiaomi Mi 5 Guides, News, & Discussion] PetaByteBoy:
I read wifi is not working. How about you reading the first post of this thread which pretty much answers all your questions.

About the CPU/RAM/GPU clocks I can't tell you anything..
[Xiaomi Mi 5 Guides, News, & Discussion] rcarkk:
You´re right. Sorry. :good:
[Xiaomi Mi 5 Guides, News, & Discussion] leledumbo:
I can't verify this myself as android lacks dmidecode which can be used to query such information, but I believe that Mi5devs has figured it out somehow: https://github.com/Mi5Devs/android_device_xiaomi_gemini
[Xiaomi Mi 5 Guides, News, & Discussion] 33bca:
Update in the firs post ;)
[Xiaomi Mi 5 Guides, News, & Discussion] justplan:
So since I can't write in the development thread and [MENTION=455439]bgcngm[/MENTION] doesn't give us too much technical details who can tell what exactly does this mean to us:

Does it mean that we won't have CM14 in the future or even a fully-charged CM13 for now or maybe not every Mi5 will have the ability to run it and how does MIUI's bootloader affect on the custom kernel for CM?
[Xiaomi Mi 5 Guides, News, & Discussion] rcarkk:
Great news. Do you think our 32Gb Mi 5´s will be able to run at the 64/128Gb CPU/GPU/RAM clocks with the custom kernels based on this source codes?
[Xiaomi Mi 5 Guides, News, & Discussion] DetourToNirvana:
No, no. That's not what it means. To answer your question, we can have all of the things u mentioned. Good, stable Cm13 (we'll have this soon) and cm14 (this will take time).

Now that the question is answered and I'm a lil bored, let's beat around the bush. Let's analyse what would be the impact of what Bruno/bgcngm mentioned (theoretically)...

See, first let's list the software components of our phones:

1. Bootloader

2. Kernel

3. Actual System image (Android OS) in the /system partition

4. Firmware for antenna, camera, mic, radio, wifi, etc (These are referred to as firmware blobs, since they are just binary/hex files with no source code). These are required by the kernel to control the corresponding physical components. So when you turn on your Bluetooth, the Android OS asks the kernel to do it. The kernel then uses the firmware to regulate the required signals to ur bluetooth hardware (antenna).

5. Recovery. This component isn't generally used during normal operation of the phone. Anyway, we already have twrp.

So now that the foundation is laid, let's look at what components we want to change:

1. The Kernel (custom, compiled from source)

2. The Android OS (aosp, cm, and all the other flavours)

3. Recovery. We already have twrp

What we are stuck with, and the possible consequences:

1. The bootloader: Now I'm no expert in this subject, but the bootloader is responsible for loading the other components and wiring them together. So we don't lose much by using an older bootloader that works for us. Except of course in case that the newer bootloader fixes any security vulnerabilities of the older bootloader.

2. The firmware: Building on our foundation, these firmware blobs are sometimes upgraded by the vendor/manufacturer to fix bugs, improve power efficiency, etc. So what do we lose from not having latest firmware? Maybe some firmware-related bugs will remain in our phones, which have been fixed in miui 8, but we can't reap these benefits. Also, if there have been any power efficiency improvements, we won't reap those benefits.

Plz note my frequent use of the word "if". These are the gaps in my practical knowledge. I hope devs who have more hands-on experience will be able to help fill these gaps.
[Xiaomi Mi 5 Guides, News, & Discussion] justplan:
Well THAT is the answer! Thank you very much!
[Xiaomi Mi 5 Guides, News, & Discussion] sydeu:
Aaand the kernel is out!! :D
[Xiaomi Mi 5 Guides, News, & Discussion] faby69:
Where?
[Xiaomi Mi 5 Guides, News, & Discussion] Harrynowl:
We have a cm 13 using a source built kernel in the development section, view the final post in the thread. It's not fully featured yet but it's a great start compared to the prebuilt kernel previously in use
[Xiaomi Mi 5 Guides, News, & Discussion] Shaky156:
I have managed to boot a custom kernel on miui8 with latest firmware, unfortunately internet issues have come up so its delayed the kernel but hopefully have something published asap
[Xiaomi Mi 5 Guides, News, & Discussion] Shaky156:
Miui 8 with custom kernel
[Xiaomi Mi 5 Guides, News, & Discussion] encore27:
Congrats!
[Xiaomi Mi 5 Guides, News, & Discussion] justplan:
What's the point in the custom kernel for MIUI? I always thought it's useful only for custom ROMs like CM.
[Xiaomi Mi 5 Guides, News, & Discussion] dukat0s:
Rofl...better battery life ,smoothness ,overclock etc
[Xiaomi Mi 5 Guides, News, & Discussion] sydeu:
Awesome man, great job! Are you talking with bruno about this, any more progress updates? :) So glad to see this!
[Xiaomi Mi 5 Guides, News, & Discussion] Rmyaseen:
bro can you tell me features of ur custom kernel, just want to knw nrthng else , anyways grt job congrats
[Xiaomi Mi 5 Guides, News, & Discussion] leledumbo:
Now that's lovely! Hope you can start tweaking and adding features soon!
[Xiaomi Mi 5 Guides, News, & Discussion] Shaky156:
The kernels more stable than earlier but there is a serious issue that im working on to fix it, also found something interesting on miui8
[Xiaomi Mi 5 Guides, News, & Discussion] Harrynowl:
Is your "fixed" MIUI8 source on github?
[Xiaomi Mi 5 Guides, News, & Discussion] rcarkk:
Can someone confirm if it´s possible to put the Mi 5 32Gb with the clocks 2.15/1.59Ghz for CPU, 1866mhz for the Ram and 624Mhz for the GPU that are on the the 64Gb version? These are the infos printed in the SoCs based on pictures from teardowns.

Mi5 128GB

SEC 537 K3RG2G2 OBMMGCJ 4GB LPDDR4

Mi5 64GB

SEC 543 K3RG4G4 OMMMGCJ 3GB LPDDR4

Mi5 32GB

SEC 549 K3RG4G4 OMMMGCJ 3GB LPDDR4

The only thing that is diferent between 32Gb and 64Gb is the 543 vs 549. I´m very curious if the Ram can handle the 64Gb speeds. I believe the CPU will handle the standard SD820 clocks easily.
[Xiaomi Mi 5 Guides, News, & Discussion] Shaky156:
It isnt, bad luck recently updated motherboard bios and motherboards not working.
[Xiaomi Mi 5 Guides, News, & Discussion] Harrynowl:
No dual flash ROM or USB unbrick function? :crying:
[Xiaomi Mi 5 Guides, News, & Discussion] Shaky156:
Unfortunately no, its an MSI motherboard, getting something sorted hopefully should be fixed by end of week
[Xiaomi Mi 5 Guides, News, & Discussion] Harrynowl:
I was able to gimp my 64GB to 32GB adreno speed. So hopefully apply in reverse and we get 624MHz on the 32GB devices :)
[Xiaomi Mi 5 Guides, News, & Discussion] Shaky156:
Thats good, but stabilising kernel on new firmware and binary blobs is important at the moment, features etc come later. Put another benchmark here once youve overclocked it
[Xiaomi Mi 5 Guides, News, & Discussion] Harrynowl:
For sure :) I just wanted to play around a bit as I'm not very experienced when it comes to dealing with HAL issues and other such problems

Can someone with a 32gb mi5 flash this boot IMG and see if kernel auditor allows for higher speed and also cpu-z window report

<remove link to broken file>
[Xiaomi Mi 5 Guides, News, & Discussion] contradriver:
What does it mean having MIUI 7 firmware? This CyanogenMod seems updated. What would the difference with the MIUI 8 firmware?

Enviado desde mi MI 5 mediante Tapatalk
[Xiaomi Mi 5 Guides, News, & Discussion] Harrynowl:
The kernel we had would only work with proprietary firmware blobs pulled from a MIUI 7 ROM
[Xiaomi Mi 5 Guides, News, & Discussion] razibrizal:
Does disable 1 or 2 core can make different change ini baterry life?
[Xiaomi Mi 5 Guides, News, & Discussion] rcarkk:
Interesting. I saw this video on youtube. Some guy post this on Miui foruns.

He says he as put the 32Gb at 2.15ghz speeds.
[Xiaomi Mi 5 Guides, News, & Discussion] Harrynowl:
It's possible :)

https://github.com/harrynowl/gemini_cpupatch/commit/ab61d5e621d3c910245a090c55eef5ef1f884faf

I've implemented it on my kernel, and another member as well.
[Xiaomi Mi 5 Guides, News, & Discussion] rcarkk:
It´s possible, because it´s the same exact SoC as the 64Gb. What about the ram? Is it possible to know if it´s running at 1333mhz or 1866mhz? The standard SD820 runs at 2.15Ghz/1.59Ghz and 1866mhz on the ram, while the underclocked Mi5 32Gb runs at 1.8/1.36Ghz and 1333mhz on the ram. Is it possible to know the ram speed? Any app?

---------- Post added at 12:24 PM ---------- Previous post was at 12:16 PM ----------

Are this voltages the same as the 64/128Gb version or are they higher?
[Xiaomi Mi 5 Guides, News, & Discussion] Harrynowl:
It is possible, it works :p

RAM is still slower than higher capacity.

The same.

See: https://github.com/harrynowl/gemini...arch/arm/boot/dts/qcom/msm8996-regulator.dtsi
[Xiaomi Mi 5 Guides, News, & Discussion] encore27:
Very nice job, [MENTION=7738209]Harrynowl[/MENTION]. So, as far as I can understand, it is possible to bump the RAM frequency to its "nominal" (the one of 64GB/128GB) value as well, right?
[Xiaomi Mi 5 Guides, News, & Discussion] Harrynowl:
I haven't looked into this, but playing with the RAM isn't as straightforward.

I suspect the RAM is of a significantly lower bin on 32GB PCBs.

Memory has a lot of things to consider like timing, rtl, tertiary and memory corruptions due to failed overclocking could lead to corrupting factory partitions.
[Xiaomi Mi 5 Guides, News, & Discussion] rcarkk:
Is it possible to clock the ram at something between 1333mhz and 1866mhz if 1866mhz is not achievable? Thanks for the great work.

---------- Post added at 02:18 PM ---------- Previous post was at 02:14 PM ----------

When you clock Mi5 32Gb CPU and GPU at standard( 2.15ghz/624mhz) SD820 speeds, does the ram remain at 1333mhz?

---------- Post added at 02:21 PM ---------- Previous post was at 02:18 PM ----------

If 1866mhz is not achievable, 1600mhz at least will be very easy to achieve if tweaking is possible. What do you think?

---------- Post added at 02:24 PM ---------- Previous post was at 02:21 PM ----------

Mi5 128GB

SEC 537 K3RG2G2 OBMMGCJ 4GB LPDDR4

Mi5 64GB

SEC 543 K3RG4G4 OMMMGCJ 3GB LPDDR4

Mi5 32GB

SEC 549 K3RG4G4 OMMMGCJ 3GB LPDDR4

Product reference code is practically the same between Mi5 32Gb and 64Gb. This was proven in teardowns.
[Xiaomi Mi 5 Guides, News, & Discussion] encore27:
Well, if it's really a low bin, then it will be difficult, yes. But then, it could be that all the affected (downclocked) components are low bin, and in the long run downside will come out. We hope it's not our case :)

Let's see what dev could do. I know things in theory, but I'm not practical with Android kernels :)
[Xiaomi Mi 5 Guides, News, & Discussion] Harrynowl:
We don't have bin codes sadly as far as I can tell. On "normal" samsung memory the typical layout is:

SEC XXX BIN

DENSITY/REVISION

e.g. K4B2G0846D means 2gbit revision D and it can be assigned a bin tag like HCH9, HYK0, HCK0 etc.

I can look into it, but it isn't priority for now :(
[Xiaomi Mi 5 Guides, News, & Discussion] encore27:
Yes, of course. Take your time and do your tests :)

I will keep in touch with your great work!
[Xiaomi Mi 5 Guides, News, & Discussion] rcarkk:
We are already very happy that it´s possible to clock the CPU and GPU at standard SD820 clocks. Take your time and thank you for your good work! Ram speed can wait! BTW. How is your Mi5 32Gb scoring on antutu and Geekbench at 2.15Ghz and 1333mhz ram clock?
[Xiaomi Mi 5 Guides, News, & Discussion] Harrynowl:
Mines a 64GB but

On the reduced speed (510mhz gpu) I lost about 10,000 3D and around 10000 on cpu I think. Scored about 115k overall
[Xiaomi Mi 5 Guides, News, & Discussion] rcarkk:
Oh ok. I thought you have a 32Gb and managed to clock it at 2.15ghz/624mhz but with ram at 1333mhz instead of 1866mhz. What are the clocks of CPU/GPU and RAM in your antutu print screen score?
[Xiaomi Mi 5 Guides, News, & Discussion] chhapil:
Can you upload the repo with your fixes?

Couple of questions

1. Did u managed to compile DTBs?

2. I guess you are using Developer ROM, kindly confirm.

3. Steps you followed to make the kernel bootable.

your help is immensely appreciated.
[Xiaomi Mi 5 Guides, News, & Discussion] chhapil:
got compiled dtb now

but now able to boot kernel :(
[Xiaomi Mi 5 Guides, News, & Discussion] msdx321:
There will be another customize kernel after I finish my quest on replying 10 post...
[Xiaomi Mi 5 Guides, News, & Discussion] chhapil:
thanks will be waiting for it.

any insights on how you were able to boot will help mate. thats where i;m struggling now
[Xiaomi Mi 5 Guides, News, & Discussion] chhapil:
Restless

off topic :(

Kind of restless to boot the kernel on MIUI 8

Pointers please?

Cheers

Chhapil
[Xiaomi Mi 5 Guides, News, & Discussion] Shaky156:
Still some issue with my computer but i have managed to release the kernel for testing under the telegram group
[Xiaomi Mi 5 Guides, News, & Discussion] chhapil:
What all things you had to do to make it bootable on miui 8?

I would like to test and contribute.

Can you pm me you telegram details?
[Xiaomi Mi 5 Guides, News, & Discussion] ak:
[MENTION=4802595]Shaky156[/MENTION]

Please, why is the reson you can't point users/developers to the right direction and so help you?
[Xiaomi Mi 5 Guides, News, & Discussion] Shaky156:
I already have, if people want to attempt to port it its based on LA.HB.1.3.2-22100-8x96.0, my pc has been broken for awhile but ive managed to get it running with some issues, and the source code needs cleaned before i can upload it, i wont be working on it anymore as i dont have time so itll be uploaded in a few days once its cleaned and it doesnt fully boot at the moment theres a few issues there.

Ive also dropped a boot.img for miui8 in telegram

http://D-h.st/CcEx
[Xiaomi Mi 5 Guides, News, & Discussion] ak:
Thanks a lot.
[Xiaomi Mi 5 Guides, News, & Discussion] Shaky156:
https://drive.google.com/file/d/0B_dL6rx9wnDUMHhHaFp1SEkyUVk/view?usp=sharing

Kernel source code for miui8, previously was booting on miui8, now it just tries loading OS but fails to load, keeps soft rebooting
[Xiaomi Mi 5 Guides, News, & Discussion] ak:
do you have merged on top miui changes on the official site?

we can debug if we can start adb shell and verify logs.

thanks
[Xiaomi Mi 5 Guides, News, & Discussion] Shaky156:
Adb works
[Xiaomi Mi 5 Guides, News, & Discussion] sydeu:
I'm very happy to see you here, ak-kernel is great! So you own a mi 5? :)
[Xiaomi Mi 5 Guides, News, & Discussion] ak:
Yes my friend .... But we need to create a thread on official miui forum for kernel source ... We need it.
[Xiaomi Mi 5 Guides, News, & Discussion] luxim:
As far I understand the official kernel source for MIUI 7 is only partially functional and cannot be used for MIUI 8 ROMs. Is It right?

So instead of wasting time trying to adjust this we should directly ask for a functioning MIUI 8 kernal source. Correct?

If so, i'll open the new thread or upvote and support everyone doing so.
[Xiaomi Mi 5 Guides, News, & Discussion] ak:
yes, right ... we need a source from miui ... holy words! :cool::cool:
[Xiaomi Mi 5 Guides, News, & Discussion] ak:
source uploaded:

https://github.com/anarkia1976/android_kernel_xiaomi_msm8996

no wifi, system server crash ,,, but it boot.
[Xiaomi Mi 5 Guides, News, & Discussion] Shaky156:
Hi i should have time to work on it tonight
[Xiaomi Mi 5 Guides, News, & Discussion] ak:
source fixed:

https://github.com/anarkia1976/android_kernel_xiaomi_msm8996/commits/ak

anykernel:

https://github.com/anarkia1976/AK-Gemini-AnyKernel2
[Xiaomi Mi 5 Guides, News, & Discussion] Shaky156:
How is the source fixed? Youve managed to boot it without issues??

If youre working to fix the kernel you can add my telegram: shaky156
[Xiaomi Mi 5 Guides, News, & Discussion] ak:
i have reupload source added build and anykernel.

no ... system crash is present, no time for now.
[Xiaomi Mi 5 Guides, News, & Discussion] Shaky156:
Nice work
[Xiaomi Mi 5 Guides, News, & Discussion] chhapil:
Is this based on Xiaomi source or caf source?
[Xiaomi Mi 5 Guides, News, & Discussion] pletpetplet:
So we will have miui8 fully worked kernel?
[Xiaomi Mi 5 Guides, News, & Discussion] Shaky156:
Based on caf not xiaomi
[Xiaomi Mi 5 Guides, News, & Discussion] ak:
No we need a lot of time for making a working kernel ... This is only for brave users ...

We wait an official update from xiaomi.
[Xiaomi Mi 5 Guides, News, & Discussion] ak:
https://github.com/Mi5Devs/android_kernel_xiaomi_msm8996/commits/shaky_LA.HB.1.3.2-22100-8x96.0
[Xiaomi Mi 5 Guides, News, & Discussion] Shaky156:
The new kernel boots on cm13 and twrp without issues, after extensive testing, theres an issue in MIUI that causes custom kernel bootloops, related to the system incapable of recognising and mounting the sdcard/filesystem amongst other issues.

I have finished development on the kernel and have contributed enough, i will be moving to CM once the new firmware and kernel is released there.
[Xiaomi Mi 5 Guides, News, & Discussion] ak:
good, thanks a lot for your effort ... great work as always. :good:
[Xiaomi Mi 5 Guides, News, & Discussion] Philb90:
Dear Slayer of Snapdragons.. Lord of kernels, I remember you from the OPO s days!!

It's amazing to have u here!
[Xiaomi Mi 5 Guides, News, & Discussion] ak:
Thanks man ... \m/
[Xiaomi Mi 5 Guides, News, & Discussion] Fortinho:
Tried with a petition, don't know if they'll listen..
[Xiaomi Mi 5 Guides, News, & Discussion] chhapil:
Does anybody has experience with debug cable?

Thinking of building one but not sure if uart will work via headphone jack or USB on MI5