[xiaomi] [mi3] *all kernel* [publish kernel here] - Mi 3 Q&A, Help & Troubleshooting

I want to open this thread to collect here all the kernels available on Xiaomi Mi3.
I hope you will published here your kernel :good:

http://forum.xda-developers.com/xiaomi-mi-3/general/extremely-useful-flashable-zips-t3080860
There's already a thread which has the kernels listed in it.

Related

Signing petition for santoni kernel sources.

Guys sign the below link for petition for santoni kernel sources must be released https://www.change.org/p/xiaomi-dev...m_medium=copylink&utm_campaign=share_petition
Plz sign the petition if you guys want that the kernel sources must be released.
If kernel sources aren't released yet, how is it possible that there are some custom ROMs already out there?
BubuXP said:
If kernel sources aren't released yet, how is it possible that there are some custom ROMs already out there?
Click to expand...
Click to collapse
Dude without kernel sources the devs cannot build or modify custom kernels. Else it has nothing to do with roms as the rom sources are ported from lineage or aosp sources and modified accordingly. without kernel sources there isn't much room for kernel optimisation and modification for better performance or battery as the devs have to use the stock kernel of the device.
So those custom ROMs are using the stock kernel, copied from the original MIUI ROMs?
BubuXP said:
So those custom ROMs are using the stock kernel, copied from the original MIUI ROMs?
Click to expand...
Click to collapse
Yeah with few optimizations and changes.
Xiaomi / every android manufacturer has to release the kernel sources anyway, right? Is there an ETA, or how long does it usually take for a xiaomi device for the sources being released? I am considering buying this phone.
2nd question: rooting or unlocking bootloader goes with the manufacturer's page right? I checked it out and it was in chinese, me as an english user, will i manage to get the phone unlocked?
Petition is signed anyway. I also contacted the global service through mail asking about the REDMI4X32_GLB_BLK kernel source release. Will keep you updated if I get a response
Edit: I just ordered a moto g5 but will keep u updated if I should get any info from xiaomi support.
Edit2: Reply from the Xiaomi team:
Greetings from Xiaomi!
Thank you for writing us. I will be glad to assist you.
I understand that you wish to know regarding the release of Kernel source. I would like to inform you that as of now we do not have any such update and provisions regarding the launch of Kernel source for the Redmi 4X, so we would not be able to guide you regarding the same and the reason behind its non-release. You may refer our Official Website http://www.mi.com/en/ and Facebook page https://www.facebook.com/xiaomiglobal for more information.
Should you have any further queries, feel free to write back to us. We'll be glad to assist you further.
Thank you for being a valued customer. Have a great day ahead!
Click to expand...
Click to collapse
SeviStein said:
Xiaomi / every android manufacturer has to release the kernel sources anyway, right? Is there an ETA, or how long does it usually take for a xiaomi device for the sources being released? I am considering buying this phone.
2nd question: rooting or unlocking bootloader goes with the manufacturer's page right? I checked it out and it was in chinese, me as an english user, will i manage to get the phone unlocked?
Petition is signed anyway. I also contacted the global service through mail asking about the REDMI4X32_GLB_BLK kernel source release. Will keep you updated if I get a response
Edit: I just ordered a moto g5 but will keep u updated if I should get any info from xiaomi support.
Edit2: Reply from the Xiaomi team:
Click to expand...
Click to collapse
Still no response?

[EOL] Stock-Kernel GCC-7.x/8.x builds for LOS-14.1/15.1 [v10]-[kltexxx]

This project is now "End-of-Life" (EOL). Thanks to all of you for the kind support...
/* Introduction */
I built all these kernels with an aim to simply experience and compare the advantages (and sometimes the issues) of higher GCC versions (7 and above) with that of stock kernel (typically built using Google’s stock GCC-4.9.x tool-chain) as well as my own SmartPack-Kernel (built using stock as well as various custom tool-chains). All the credits goes to haggertk and all the others developers associated to Lineage-OS (especially the klte team) as I simply build from their source using latest tool-chains (Of-course, it requires significant modifications on the source code. For more details, please visit GitHub source).
/* DISCLAIMER!! */
Code:
I am not responsible for any damage to your device. Everything you are doing on your device is on your own risk.
I only own kltelgt (Korean variant). Hence, kernels under the category 'kltekor' are only tested by myself.
Please note that flashing any custom Kernel including mine will void your warranty.
/* What is Stock-Kernel and how it is different from official LOS Kernel? */
As the name itself says, these are simply stock Kernels build from official Lineage-OS kernel source code, however, using custom tool-chains of higher GCC version such as GCC-7.x/8.x. If you want to know more about Kernel’s in general, I suggest you to read this in-depth guide by @Saber. You may probably use these web-links to know more about Linaro, UBERTC and Bleeding Edge Toolchain.
/* What is included */
Separate GCC-7.x/8.x builds for the supported devices. You guys can freely test, compare and stay with the one you like more.
/* What you can expect */
Much better performance/SOT, and also some bugs in the worst case.
/* Supported devices */
klte: SM-G900F, SM-G900V, SM-S902L
kltekor: SM-G900K/L/S​
/* Compatibility */
This kernel is only meant to work on Lineage-OS 14.1 and nothing else. However, it may work on other LOS-14.1 (and AOSP) based Nougat ROMs (Please try at your own risk).
This kernel will NOT work in Samsung Stock and other TW ROMs.
/* How-to-Install */
1. Download and copy Kernel into your phone
2. Go to recovery (TWRP recommend)
3. Flash Kernel
4. Reboot and Enjoy​
/* What I can offer */
Regular updates with each LOS release.
Try to keep the tool-chains as up-to-date as possible.
/* What I can’t offer */
I may (and mostly will) not add new features. Because, my intention is simply not that for this Kernel. For those who are looking for a more feature rich Kernel, I advised you to try other existing good kernels including my own SmartPack-Kernel.
I never attempt to fix bugs in the LOS kernel source that are really difficult or very much time consuming.
/* Features */
Build from latest Lineage OS source code.
Build using Linaro 7.3 (GCC-7.3.1)/Bleeding Edge Toolchain 8.2 (GCC-8.2) tool-chain.
Anykernel concept for compatibility with maximum devices and ROMs.
Features: All the features available in the stock LOS Kernel (neither removed nor added).
For advanced kernel tweaking, you may use Offical Kernel Auditor.​
/* Downloads */
GitHub release page
/* Acknowledgements */
@haggertk
@nathanchance
@ZaneZam
@Saber
@osm0sis
@Grarak
Many other XDA developers
XDA:DevDB Information
Stock-Kernel, Kernel for the Samsung Galaxy S5
Contributors
sunilpaulmathew
Source Code: https://github.com/SmartPack
Kernel Special Features: Built using GCC-7.x/8.x
Version Information
Status: Nightly
Created 2017-11-18
Last Updated 2018-11-01
Frequently Asked Questions
Q1: Is this kernel compatible with ROM(s) a/b/c?
Ans: I do not know. All of my kernels are based off and tested only on Lineage-OS. However, if your ROM(s) a/b/c are based on Lineage-OS (and uses the same kernel source code), it will most probably work.
Q2: Which version of kernel should I use?
Ans: I recommend to use the latest if you are on the latest Lineage-OS. For other ROMs with an old built dates, you probably need to find an old version of my kernel with a comparable build date (though you are advised to stay with the latest, if possible).
Q3: How about performance/SOT?
Ans: Since SOT, performance etc. are largely based on several factors such as ROM, installed apps etc. No one else can exactly predict the performance/SOT of your mobile. So, you should test and find out that by yourself.
Q4: Can you tell me the best settings for performance/SOT?
Ans:Again, that depends on several factors. I can only say my favorite settings that gives me best results in my favorite ROM.
Q5: Which are the best CPUfreq gov/CPU hotplug/IOScheduler/TCP congestion algorithm for battery life/performance etc?
Ans:Again you need to find out those things yourself. To get more idea, I suggest you to read this awesome guide by @saber.
Q6: Could you add feature x and y to this kernel?
Ans: Mostly No. Because, my intention is simply not that for this Kernel. For those who are looking for a more feature rich Kernel, I advised you to try other existing good kernels including my own "SmartPack-Kernel".
Q7: When will you release a new version of this kernel?
Ans: New updates will arrived with each LOS release with some changes in the kernel source code.
Q8: I found a bug, what do I do?
Ans: Please provide as much information as possible (such as what feature, what didn\'t work, screen-shots or logcat if possible) and post in this thread.
Change-logs
Lineage-OS 14.1
Thank you Sunil.
Your stock kernel (ubertc-8) is working very smoothly on Crdroid 3.8.2...
Nice job.:good:
Drhedphuk said:
Thank you Sunil.
Click to expand...
Click to collapse
itsclarence63 said:
Your stock kernel (ubertc-8) is working very smoothly on Crdroid 3.8.2...
Nice job.:good:
Click to expand...
Click to collapse
Thank you very much guys... Enjoy...
Thanks it's great and stable I flashed linaro
Great stuff bro. I was looking for this. Thanks again!
seprator said:
Thanks it's great and stable I flashed linaro
Click to expand...
Click to collapse
airidosas252 said:
Great stuff bro. I was looking for this. Thanks again!
Click to expand...
Click to collapse
Thank you very much friends for testing as well as for the nice words
I tried both toolchains but ubertc doesn't overheat my device like linaro so I stick with ubertc from now
New builds (v2)
New builds are uploaded and can be found in the GitHub release page...
Enjoy...
For g900d please
I have been running your Kernel Built using Linaro-GCC-7.x/UBERTC-8.x for the last few days on my g900v with resurrection remix 7.1.2 and I have noticed that my battery seems to be lasting longer. I am liking the overall smoothness of this kernel as well. Thanks Buddy, keep up the good work!
joey118 said:
For g900d please
Click to expand...
Click to collapse
Extremely sorry friend. I do not want to add one more device as it requires a lot of time from my side (1 device=2 build). Further, I do not think that many klteduos users will use my Kernel (so it will be ultimately waste of energy and time). However, any one can easily build klteduos or any other variant that are officially supported by Lineage-OS from my fully up-to-date source (sources of both Kernel and toolchain can be found here).
swiftbones74 said:
I have been running your Kernel Built using Linaro-GCC-7.x/UBERTC-8.x for the last few days on my g900v with resurrection remix 7.1.2 and I have noticed that my battery seems to be lasting longer. I am liking the overall smoothness of this kernel as well. Thanks Buddy, keep up the good work!
Click to expand...
Click to collapse
Thanks for the nice words and happy to know that you guys like it... cheers...
New builds (v3)...
New builds are uploaded and can be found in the GitHub release page.
Cheers...
New builds (v4)...
New builds (v4) are uploaded and can be (along with change-logs) found in the GitHub release page.
Enjoy...
sunilpaulmathew said:
New builds (v4) are uploaded and can be (along with change-logs) found in the GitHub release page.
Enjoy...
Click to expand...
Click to collapse
what is the difference between the 2(of each) in your v4 release (first time about to test) one is 6.56mb the other 6.26mb?
EDIT: nvm stupid me i dint see the other ones were kltekor...sry about that.
Good evening, I would like to change my galaxy s5 sm-g900f. I linkageos 14 + g-app stock I uninstall because the autonomy is very reduced and the device heats. I would like to test UBERTC-8.x, I read on the site that the autonomy is better and also the overheating. But how do I have to reinstall the all lineageos + g-app or install only UBERTC-8.x + g-app. Of course by doing everything wipe.
thank you in advance
MaCaLuBi said:
Good evening, I would like to change my galaxy s5 sm-g900f. I linkageos 14 + g-app stock I uninstall because the autonomy is very reduced and the device heats. I would like to test UBERTC-8.x, I read on the site that the autonomy is better and also the overheating. But how do I have to reinstall the all lineageos + g-app or install only UBERTC-8.x + g-app. Of course by doing everything wipe.
thank you in advance
Click to expand...
Click to collapse
If you are already using Lineage-OS, simply go to TWRP and flash this Kernel and all done.
If you are on a stock TW based ROM do the following
1. Go to TWRP
2. Wipe system and data
3. Flash Lineage-OS-14.1
4. Flash Gapps
5. Flash this Kernel (UBERTC or Linaro)
6. Flash magisk/ modules/su-addons, or any other stuff you like
7. Wipe cache/dalvik cache
8. Reboot and enjoy...​
New (v5) builds...
New builds (v5) are uploaded and can be (along with change-logs) found in the GitHub release page.
Enjoy...

Kernel sources released for santoni

https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/santoni-n-oss/
Finally Kernel Source Released for Santoni !
Finally my prayers are answered lol
Very nice news for redmi 4x developers
having bug succesfully compiled but can't make modules with in kernel image
Thread closed as this has already been posted
Please continue discussions here
https://forum.xda-developers.com/xi...icial-xiaomi-redmi-4x-santoni-kernel-t3755327

[LINUX STABLE KERNEL][Mi-A1] 3.18.108

Hi Guys!
This thread is dedicated to latest Linux Stable Kernel version based of recently released Oreo Kernel for Mi A1.
In simple words it is "Android kernel trees with linux-stable merged into them".
https://github.com/android-linux-stable/tissot
You can compile it and flash it using "AnyKernel" or build it into your own ROM.
Current Version: 3.18.103
XDA:DevDB Information
[LINUX STABLE KERNEL][Mi-A1] 3.18.103, ROM for the Xiaomi Mi A1
Contributors
pvineeth97, nathanchance
Source Code: https://github.com/android-linux-stable/tissot
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
Version Information
Status: Stable
Current Stable Version: 3.18.103
Stable Release Date: 2018-04-09
Created 2018-03-25
Last Updated 2018-05-10
Great
Thanks for making this thread :good: I've subscribed so if there are any issues, I can address them.
EDIT: I also have a Telegram chat for support: https://t.me/joinchat/C1UAJ1EMSX31PCFdwLnOSg
hi great work. appreciated.
After browsing around a little bit, I have noticed two things:
1. There aren't many (if any) kernels based purely on Xiaomi's stock source, which is what this tree is based on.
2. There are several kernel bases for custom ROMs.
As a result, this tree probably won't be of much use to developers and it's not really easy for me to make a custom branch like I have done for the other trees. As a result, I am offering to merge in the android-linux-stable/msm-3.18 tree which most kernels seem to be downstream from so you have a clean way to update for the future if you don't feel comfortable doing the full merges yourself.
Alternatively, if your tree is almost up to date anyways (3.18.100 or 3.18.101 seem to be common), you can just git merge the latest tag in (v3.18.102 at the time of writing this) and watch the conflict notes for the ones that pop up in the msm-3.18 tree. I'm accessible via this thread or the Telegram group linked above if you have any questions or concerns!
nathanchance said:
Thanks for making this thread :good: I've subscribed so if there are any issues, I can address them.
EDIT: I also have a Telegram chat for support: https://t.me/joinchat/C1UAJ1EMSX31PCFdwLnOSg
Click to expand...
Click to collapse
Thanks. Great work. :good:
Edit :
How to flash this Kernel ?
What's the benefit using this Kernel.
I will try to compile later kernel
nathanchance said:
Thanks for making this thread :good: I've subscribed so if there are any issues, I can address them.
EDIT: I also have a Telegram chat for support: https://t.me/joinchat/C1UAJ1EMSX31PCFdwLnOSg
Click to expand...
Click to collapse
Your presence here is an inspiration!
I'm trying to port omni to mi a1 (keyword: trying... I'm starting to learn the whole process from scratch so, not there quite yet.)
And I hope this kernel will be useful.
Does this mean WireGuard is supported by default?
gusbalaa said:
How to flash this Kernel ?
What's the benefit using this Kernel.
Click to expand...
Click to collapse
This is just a reference for kernel developers. You need to compile a build and make flashable of it.
radogost said:
Does this mean WireGuard is supported by default?
Click to expand...
Click to collapse
No, this is just stock kernel with Linux kernel stable changes merged.
Sent from my Redmi Note 4 using XDA Labs
krasCGQ said:
This is just a reference for kernel developers. You need to compile a build and make flashable of it.
No, this is just stock kernel with Linux kernel stable changes merged.
Click to expand...
Click to collapse
I need to compile it self ?
to make it able to flash, i don't expert about Kernel / ROM.
Thanks.
RELEASED: 3.18.103
https://github.com/android-linux-stable/tissot

Device Sources for Asus Zenfone Max M2 [X01AD]

Hello guys,
I'm Rohan (aka erikkkkk & rohanpls), I maintain DotOS and Revenge OS (CAF edition) for Zenfone Max Pro M2.
As you all have been enlightened that I was working on building ROM for this device (from telegram group). I don't own this device but I figured a way to bring device tree and vendor sources for this device. Current status is that I couldn't make the kernel work (it's hard especially if you don't own the device).
I have stopped working on this for now because I am busy with exams, so I planned to make them public because if experienced kernel developer could take interest in making kernel work in the meantime then ROM would be ready. I will start working for device again once I am free. Device tree and vendor source is already ready, they just need to sync and build.
I brought TWRP for this device, and it will be OFFICIAL too.
Here are the sources:
Device tree: https://github.com/rohanpls/android_device_asus_X01AD
Vendor Source: https://github.com/rohanpls/vendor_asus_X01AD
For kernel devs to get started, Asus provided kernel source can be found at: https://www.asus.com/in/Phone/Zenfone-Max-M2-ZB632KL/HelpDesk_Download/
If any developer wants to contact me then pm me via telegram: Mod edit - Removed
Cheers!
EDIT: Credits to ashu7073 for helping me by testing few stuff on his device.
NOTE to interested devs: Please explore branches for device tree! I suggest not to use pie branch.
Thanks a lot dev... I am waiting for your work.. all the best for your exam... Happy to see a thread regards max m2... Hope somebody will build a rom... Eagerly waiting for the custom ROM...
rohanpls said:
Hello guys,
I'm Rohan (aka erikkkkk & rohanpls), I maintain DotOS and Revenge OS (CAF edition) for Zenfone Max Pro M2.
As you all have been enlightened that I was working on building ROM for this device (from telegram group). I don't own this device but I figured a way to bring device tree and vendor sources for this device. Current status is that I couldn't make the kernel work (it's hard especially if you don't own the device).
I have stopped working on this for now because I am busy with exams, so I planned to make them public because if experienced kernel developer could take interest in making kernel work in the meantime then ROM would be ready. I will start working for device again once I am free. Device tree and vendor source is already ready, they just need to sync and build.
I brought TWRP for this device, and it will be OFFICIAL too.
Here are the sources:
Device tree: https://github.com/rohanpls/android_device_asus_X01AD
Vendor Source: https://github.com/rohanpls/vendor_asus_X01AD
For kernel devs to get started, Asus provided kernel source can be found at: https://www.asus.com/in/Phone/Zenfone-Max-M2-ZB632KL/HelpDesk_Download/
If any developer wants to contact me then pm me via telegram: @erikkkkk
Cheers!
EDIT: Credits to ashu7073 for helping me by testing few stuff on his device.
Click to expand...
Click to collapse
Those sources are really, really bad. I suggest interested developers to make trees from scratch instead (as your's are full of mistakes).
When are you getting back into it? I really need a custom rom!
Any custom rom bro
Can you please make for Zenfone Max M1 (msm8937)
We have booted kernel source
Decrypted file link no file is there please reuplod

Categories

Resources