[Q] Kernel sources our for Mi4 - Xiaomi Mi 4

Since the kernel sources are out where is the dev support for the Mi4 on XDA? I don't see any activity or attempts to make new rom

http://forum.xda-developers.com/xiaomi-mi-3/development
http://forum.xda-developers.com/xiaomi-mi-3/orig-development
Mi3 and Mi4 use same cancro roms and kernels, dev threads are in Mi3 section.

Related

[Moderators! Important!]New devie support! (Redmi 1S)

I have already posted this request in the "Support for new device" thread several times but no result
I just want to say why no forum is made for Xiaomi Redmi 1S? Some say due to lack of kernel source and development...
Well, Redmi 1S have a working CM11, Mokee and newly compiled AOSPA too!!
Talking about kernel source,
I agree we dont have kernel source now, but in future it will get it, and its for sure..
And if you are not making Xiaomi Redmi 1S's forum due to kernel sources, then there are other phones too which don't have kernel sources, yet, they have a forum on XDA (Many MTK chipset devices and also Xiaomi Mi3 and Mi4!)
I hope XDA mods see this request and get it worked..
Yes this is so true...
AGREED
Up this post for admin to see

[Completed] Creating a kernel source for Karbonn Titanium S5 Plus (MT6582)

I, on behalf of the owners of the Karbonn Titanium S5 Plus device, based on the Mediatek MT6582 chipset, need some help in building a kernel source (not a kernel from source) for this device. I have a few fully working custom ROMs, a Github Account, some forked repositories of other devices having the same chipset but minorly-different hardware, and some time. What do I have to do to get to building a kernel source for this device?
It is a dual-sim device, based on the Mediatek MT6582 SoC, having a prebuilt kernel version 3.4.5, with no kernel sources even for its clone, running Android Jelly Bean 4.2.2 . @superdragonpt had created some new kernels for some devices(eg. the Wiko Darkmoon, MT6582, he created a new kernel source and a new kernel) having no previous kernel sources, how can I do the same for my device?
The Android One devices (Indian) are based on the same chipset, and have the same features. But, the difference is that they have a smaller 5MP rear camera and a locked bootloader, while ours has a 8MP rear camera and an unlocked bootloader. Can their sources be used for my device?
Also, after creating a Kernel source, how can I create an AOSP source for this device? Please help me out with this.
Hi there,
All things about your device is in this thread:
[ROMs and Recoveries] Karbonn Titanium S5 Plus/ S5 + - All Things And Dev.
Take a close look there and see if you find an answer there.
Good luck
I know, I started that thread.
It contains many Roms for my device, but there are no updates for them because it does not have a kernel source. There are no new kernels for the device because a kernel source was not released by the company. So, I asked it here.
I forked the kernel source from another device having the same soc, but I wanted to know how to create one specifically for my device.
One more thing. How do you build a kernel from a kernel source? Please help me out. Thanks in advance.
You can learn more about kernel development here:
[GUIDE] Build Your Own Android Kernel{Easiest and Fastest Way] [Using The NDK]
[TUTORIAL][VIDEO]Build your own Android kernel
I suggest reading a couple of the relevant kernel tutorials found here: http://forum.xda-developers.com/chef-central/android
Good luck
Thread closed

How to Build Custom ROM from CM or AOSP Builds for LG G PRO 2

Hi All,
I started this thread , just to get enough knowledge / guidance on - How to build a Custom ROM from CM or AOSP ROMs for our beolved G PRO 2(D838).
Those , who are well aware of this process like @xenius9 , @anirudhks , etc ....Please share your knowledge , So that more people like me can contribute & consequently we will be having newer ROMs for D838.

Do you think any developer make ROM for Redmi S2....

Do you think any developer make ROM for Redmi S2....
we wont get any roms unless the kernal source is shared by peak
I believe that's available now here: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/ysl-o-oss

General Xiaomi 12 / Xiaomi 12 Pro OSS Kernel Sources

After reading about the fast kernel source release for the Xiaomi 12 and Xiaomi 12 Pro one could think that xiaomi did a good job at complying with the GPL v2 license and providing useful sources for developers of custom kernels. But appearances are deceiving: The provided kernel sources are incomplete and partially broken.
The most important issues are that xiaomi pushed incomplete devicetree sources which are neither provided by qualcomm anymore unfortunately and the touchscreen drivers are really out of date which leads to broken double tap to wake and under display fingerprint sensor. Additionally building the kernel isn't as trivial as it sounds anymore since many kernel modules are built outside of the kernel tree now.
During the past days i have spent some time on getting a source built kernel including modules and devicetree running on Xiaomi 12.
I have sucessfully booted the kernel and uploaded this work to github.com/xiaomi-sm8450-kernel.
Using this manifest one is able to compile the OSS kernel for Xiaomi 12 and Xiaomi 12 Pro.
I hope that this can help other developers working on the Xiaomi 12 and Xiaomi 12 Pro!
For instructions to build the kernel and more details about missing sources please refer to the manifest on github.
Note that double tap to wake and fingerprint sensor don't work as is on the stock ROM.
Also note that the OSS display-devictree for Xiaomi 12 Pro is missing the configurations for some referesh rates which were supported on MIUI. This could be dumped and included from the stock dtbo.img with some effort.
If you encounter issues with this OSS kernel feel free to ask me and i will give my best to help.
To finish this thread i want to draw further attention to the fact that this is not a one-time issue with the OSS kernels for Xiaomi devices and the situation seems to get even worse. The newer Redmi K50 gaming got kernel sources which don't include any external respositories, as in no techpack drivers and no devicetree sources at all. The new Xiaomi 12S series still has not seen any open source kernel release.
I hope this project helps to set a better starting point than the xiaomi oss release to other developers for the Xiaomi 12 and Xiaomi 12 Pro.
Thanks for thus clarification Arian. Sad story....To be continued... Quo Vadis Xiaomi?
ti think the xiaomi 12 has suffered a performance squeeze... this is not because of the heat.... i have tried thermal unlocking and overclocking the CPU GPU and updating the driver 617 the result shows the real performance is vastly different many
Can you tell me which version of clang can be used to build the kernel from the sources for lineageos 20? And which commands to use? I would like to build a kernel for Kali Nethunter, but when using any of the defconfig I get compilation errors
Can you explain how to flash built kernel..? I built the kernel and I get the kenrel image but I don't know how to flash it to the device...
Would you know if this is also the case for Mi11 Ultra tree?
The OSS for the 12S and 12S Pro has just been released recently if anyone is interested in looking at it:
GitHub - MiCode/Xiaomi_Kernel_OpenSource at mayfly-s-oss
Xiaomi Mobile Phone Kernel OpenSource. Contribute to MiCode/Xiaomi_Kernel_OpenSource development by creating an account on GitHub.
github.com
I would be interested to hear if the kernel source for the 12S family is also incomplete, like the regular Xiaomi 12 series
pj_ said:
Can you explain how to flash built kernel..? I built the kernel and I get the kenrel image but I don't know how to flash it to the device...
Click to expand...
Click to collapse
You need to pack the boot, vendor_boot, vendor_dlkm and dtbo images, the easiest way is to do that within the LineageOS tree.
KeepingKeyes said:
The OSS for the 12S and 12S Pro has just been released recently if anyone is interested in looking at it:
GitHub - MiCode/Xiaomi_Kernel_OpenSource at mayfly-s-oss
Xiaomi Mobile Phone Kernel OpenSource. Contribute to MiCode/Xiaomi_Kernel_OpenSource development by creating an account on GitHub.
github.com
I would be interested to hear if the kernel source for the 12S family is also incomplete, like the regular Xiaomi 12 series
Click to expand...
Click to collapse
Yes, unfortunately this devices source situation is even worse. On all the recent releases xiaomi did not release the audio, display and camera drivers. The released touchscreen driver does not compile either, though i fixed that by guessing and the driver works now: https://github.com/xiaomi-sm8450-ke...3b9d0f69ecd2ba01674a0dc29cfdc86782bb7c9d6c3da

Categories

Resources