Kernel source for Xiaomi 5X is avalible now - Xiaomi Mi 5X Guides, News, & Discussion

Xiaomi has just released kernel sources for tiffany(Mi 5x ). the official github page is:
https://github.com/micode/xiaomi_kernel_opensource/tree/tiffany-n-oss

Just as on tissot N, Xiaomi have squashed all their changes and applied over wrong CAF tag.
I took the proper caf base (LA.UM.5.6.r1-06100-89xx.0) and applied Xiaomi changes over it with some cleanups here.
If any devs are interested in it: https://github.com/Flex1911/tiffany

bt4wang said:
Xiaomi has just released kernel sources for tiffany(Mi 5x ). the official github page is:
https://github.com/micode/xiaomi_kernel_opensource/tree/tiffany-n-oss
Click to expand...
Click to collapse
Good news

bt4wang said:
Xiaomi has just released kernel sources for tiffany(Mi 5x ). the official github page is:
https://github.com/micode/xiaomi_kernel_opensource/tree/tiffany-n-oss
Click to expand...
Click to collapse
hope to see LineageOS soon

I got a question
Will unofficial stuff like Lineage os or Twrp Recovery develop into Official builds? I mean Official builds are powered by individual maintainer right?

Related

[ROM][Lettuce][OFFICIAL][6.0.1] LineageOS 13.0 Nightlies

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.
IMPORTANT INFORMATION
Root is not included by default on LineageOS 13.0. You need to install an add-on via recovery. You only need to install this once. You can download the SU add-on here
After installation go to Settings>Developer Options>Root access and set to Apps only or Apps and ADB.
LineageOS comes with LineageOS Recovery by default, if you don't like it (like me ) you can flash alternative recoveries using IsoRec. You really need 1GB /system partition. The smallest build-configuration is larger than 512mb. You can use ODIN, but you can also use Lanchon's REPIT.
If you're interested in BLN, check this thread for a complete support of this feature.
If you're interested to go to emulated-storage, check this thread.
Official LineageOS Wiki: http://wiki.lineageos.org/
Changelog: https://www.lineageoslog.com/13.0/lettuce
LineageOS official nightly builds
https://download.lineageos.org/lettuce
XDAevDB Information
Lineage OS 13.0, ROM for the YU Yuphoria YU5010,YU5010A
Contributors
rINanDO, lysergic acid, serenitys
ROM OS Version: 6.x Marshmallow
ROM Kernel: Linux 3.0.x
Based On: LineageOS
Version Information
Status: Nightly
Created 2017-02-24 05:58:18 changeLog
Last Updated 2017-03-12 05:32:46
ChangeLog
Disclaimer:
This is official build rom for lineage OS 13.0 based on Android Marshmallow 6.0.1. I'm not responsible in development of this rom in any manner.
volte working?
Any patches for this rom?
kum512 said:
volte working?
Any patches for this rom?
Click to expand...
Click to collapse
This is official release so no volte.
You can try volte patch and give feedback.
VoLTE Patches
D3Venky said:
This is official release so no volte.
You can try volte patch and give feedback.
Click to expand...
Click to collapse
Can you please list some working VoLTE patches
ron4stoppable said:
Can you please list some working VoLTE patches
Click to expand...
Click to collapse
Link of Volte Patch
https://www.androidfilehost.com/?fid=24727369092694257
What is the difference in 13 & 14?

[ROM][8.1.0][THEA] Unofficial LineageOS 15.1 [ALPHA][UNIFIED]

WARNING: Broken RIL. THIS ROM IS NOT A DAILY DRIVER AND IS TOTALLY OBSOLETE. EMERGENCY CALLS ARE NOT POSSIBLE.
Use gothicVI's ROM which includes a working RIL and the latest O security patches.
If you want a daily driver Oreo ROM, flash LuK1337's LineageOS 15.1, which is the only alternative right now.
Because our thea deserves to be loved too!
LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (Oreo), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restores the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
This is an unofficial LineageOS 15.1 build made from LuK1337 et al's source trees for the Motorola Moto G 2014 LTE, synced to the latest Lineage codebase with some changes. I have to fix a lot of stuff to make it a stable ROM and therefore development help is wanted and welcome. This ROM is a work in progress and it's purpose is to serve as a reliable base to port over other ROMs to the device, or just to be a smooth daily driver for Lineage fans.
Working: Those features are stable.
Boot
Sensors
WiFi
Bluetooth
Media
Camera: Photos
Status & Flash LED
Touchscreen
Broken: Feedback is wanted.
Video Recording
RIL: telephone calls, SIM, SMS, VoLTE, mobile data, emergency calling.
SELinux is permissive for now.
How to report issues:
Please follow this template. If you don't follow this template you will be ignored. Also feedback MUST be posted here and not as private messages unless I explicitly say so. And don't report issues that already appear here.
Code:
What is your...
* Phone model (XT107*):
* ROM version (0x**):
* GApps version if you use them:
* Xposed or Magisk:
* Kernel:
logcat:
* Link to Pastebin or similar
dmesg:
* Link to Pastebin or similar
Download:
Get the ROM here
Changelog:
Code:
## 20180619: release 0x01 ##
* Initial release.
## 20180627: release 0x02 ##
* Built against OPM6.171019.030.B1
* Fixed vendor image mismatch errors
XDA:DevDB Information
LineageOS 15.1 for Moto G 2014 LTE , ROM for the Moto G 2014 LTE
Contributors
Wattsensi, the Moto G 2014 Dev Team
Source Code: http://github.com/motog2014devteam
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
ROM Firmware Required: Bootloader 0x4821 or higher, unlocked.
Based On: LineageOS
Version Information
Status: Alpha
Current Stable Version: 0x02
Created 2018-06-20
Last Updated 2018-06-28
Any progress?
Hi @Wattsensi how did you fix the vendor image mismatch? There was no push to the repo you list as sources.
---------- Post added at 18:39 ---------- Previous post was at 18:38 ----------
Hi @Wattsensi how did you fix the vendor image mismatch? There was no push to the repo you list as sources.
gothicVI said:
Hi @Wattsensi how did you fix the vendor image mismatch? There was no push to the repo you list as sources.
---------- Post added at 18:39 ---------- Previous post was at 18:38 ----------
Hi @Wattsensi how did you fix the vendor image mismatch? There was no push to the repo you list as sources.
Click to expand...
Click to collapse
Oh, hi there. I didn't know that there was somebody still interested in developing for this device. I switched to a Huawei P9 my father gave me, but I still have my Thea saved. That said I tried everything but I couldn't get the RIL to work.
I fixed the vendor image problems by getting the vendor image strings in a terminal emulator in the phone, then going back to my PC and changing the init_thea.cpp file in the init folder of the thea device tree. Check RenanQueiroz' titan device tree, go to init_titan.cpp and get a guidance. I made a dual_override() function too to save space.
I am not a ROM cook though. Just a builder.
Wattsensi said:
Oh, hi there. I didn't know that there was somebody still interested in developing for this device. I switched to a Huawei P9 my father gave me, but I still have my Thea saved. That said I tried everything but I couldn't get the RIL to work.
I fixed the vendor image problems by getting the vendor image strings in a terminal emulator in the phone, then going back to my PC and changing the init_thea.cpp file in the init folder of the thea device tree. Check RenanQueiroz' titan device tree, go to init_titan.cpp and get a guidance. I made a dual_override() function too to save space.
I am not a ROM cook though. Just a builder.
Click to expand...
Click to collapse
Would you mind sharing the file you changed?
I'm just building myself - not much experience in Android development (yet).
Gesendet von meinem Moto G (5) Plus mit Tapatalk
gothicVI said:
Would you mind sharing the file you changed?
I'm just building myself - not much experience in Android development (yet).
Gesendet von meinem Moto G (5) Plus mit Tapatalk
Click to expand...
Click to collapse
Please share with us a build with basic functions working
Eddy Stark said:
Please share with us a build with basic functions working
Click to expand...
Click to collapse
Here you go. Any feedback on what is working and what not would be highly appreciated!
This ROM is officially discontinued. Please close the thread mods.

Pie Kernel source released

Xiaomi released Pie Kernel source
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/daisy-p-oss?files=1
nice to see lineage os 16.0
irfaniphank2 said:
nice to see lineage os 16.0
Click to expand...
Click to collapse
Better not to expect anything soon, we don't even have a working 15.1 port.
Great news!! Hope someone makes a LineageOS 16 rom for our device, shouldn't be very difficult having sources and a classic 625

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

Vendor Blobs for Xiaomi 9 (Cattail)?

I seem to have stumbled across some vendor blobs for Xiaomi 9 (Cattail). I was wondering if this was usable to compile a workable kernel. if not, could anything be done with the source i am attaching?
GitHub - Vendor-Blobs/android_vendor_tree_xiaomi_cattail: Redmi 9/9 Activ (cattail) - Android 11 - Vendor Tree - V12.5.6.0.RCTINXM
Redmi 9/9 Activ (cattail) - Android 11 - Vendor Tree - V12.5.6.0.RCTINXM - GitHub - Vendor-Blobs/android_vendor_tree_xiaomi_cattail: Redmi 9/9 Activ (cattail) - Android 11 - Vendor Tree - V12.5.6.0...
github.com
Hopefully we could get something out of this
TheDuckWithAMonocle said:
I seem to have stumbled across some vendor blobs for Xiaomi 9 (Cattail). I was wondering if this was usable to compile a workable kernel. if not, could anything be done with the source i am attaching?
GitHub - Vendor-Blobs/android_vendor_tree_xiaomi_cattail: Redmi 9/9 Activ (cattail) - Android 11 - Vendor Tree - V12.5.6.0.RCTINXM
Redmi 9/9 Activ (cattail) - Android 11 - Vendor Tree - V12.5.6.0.RCTINXM - GitHub - Vendor-Blobs/android_vendor_tree_xiaomi_cattail: Redmi 9/9 Activ (cattail) - Android 11 - Vendor Tree - V12.5.6.0...
github.com
Hopefully we could get something out of this
Click to expand...
Click to collapse
Vendor blobs are part of what is needed to build custom ROMs. To build a kernel you need to find the kernel source code for your model number.
Would it be possible to use a similar but more popular device's build which has its source available, and modify it for my device?
I'm planning to do it as a hobby, so no rush
TheDuckWithAMonocle said:
Would it be possible to use a similar but more popular device's build which has its source available, and modify it for my device?
I'm planning to do it as a hobby, so no rush
Click to expand...
Click to collapse
From what i've seen in my research,there are quite a few people who are looking for 64 bit ROM's for cattail,but i suppose that this method might not be the most reliable since i've come across a lot of people reporting bricked devices cuz of it

Categories

Resources