How to clone a kernel from CodeAurora? - Android Q&A, Help & Troubleshooting

CodeAurora lists lots of releases from Qualcomn in https://wiki.codeaurora.org/xwiki/bin/QAEP/release. `LA.UM.9.15.1.r1-05900-KAMORTA.0` or `bengal` is the codename used for the kernel in my Xiaomi Poco M3. However, how do I pick the kernel source for this release? Where is it? I cannot find it, I don't know how to clone it.
I tried compiling the official xiaomi kernel https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/lime-q-oss but it's broken. I applied some patches but there are lots of broken things, this kernel does not compile, and it's old.

Poco M3 is citrus
https://github.com/Uptownboys32/android_kernel_xiaomi_citrus
https://github.com/nathanchance/android-kernel-clang

aIecxs said:
Poco M3 is citrus
https://github.com/Uptownboys32/android_kernel_xiaomi_citrus
https://github.com/nathanchance/android-kernel-clang
Click to expand...
Click to collapse
yes but I don't want to clone a random kernel from some random place on github, I wanted one from codeaurora or xiaomi official repos

good luck fixing yourself - xiaomi always releases broken sources

Related

How to build Kernel from scratch

I want to build a kernel for Xiaomi Redmi 4A. But Xiaomi doesn't release the kernel source. It is an MSM8917 chipset device. Can anyone help me to build the kernel for this device?
Not without source. This is the reason developers and sites like xda condem and avoid this oem.

Need info about caf kernel please give about

Device Redmi note prime Gucci msm8916
Present Xiaomi has released kikat kernel
But android devs are less for this device present I am trying to build android n
But I have tried so many errors with kernel and my device is not booting
So present I have seen about caf kernel
But I don't have much information about caf kernel please tell how to use caf kernel sources
And please tell commits
Code Arora forums (caf) is the place where u can get drivers for the hardware. U can synchronise from its git same way u sync android sources

[Q] Will Xiaomi ever going to release Redmi 5 Plus Oreo Kernel Source soon?

Hello dear devs, i believe you have more experience than me about this stuff. Since i heard kernel source code i mean updated one requires for Pie based ROM's, do you think Xiaomi will ever release updated kernel sources soon? Please let us know since a lot of people wants to taste Pie ROMs..
We don't need oreo source for pie roms actually, but it would be a newer source, maybe better drivers n'stuff? it could be different for other devs, but for me it's just an update

[NEWS] Kernel Source Code for Mi8,Poco F1 and more -- Android P Released!

Xiaomi just relesed kernel sources for android pie for this devices: MIX2S, MIX3, MI 8, POCOPHONE F1, MI 8UD, MI 8 Explorer Edition
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/dipper-p-oss
This kernel is the same of MIX 3 Pie, but compatible with all xiaomi sdm845 devices
Could anyone compile a LOS, for example, from source using these kernel sources?
Thank you
kowakx said:
Xiaomi just relesed kernel sources for android pie for this devices: MIX2S, MIX3, MI 8, POCOPHONE F1, MI 8UD, MI 8 Explorer Edition
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/dipper-p-oss
This kernel is the same of MIX 3 Pie, but compatible with all xiaomi sdm845 devices
Click to expand...
Click to collapse
Does this mean there will be a universal Kernel for all phones or is this not possible?
makmak001 said:
Does this mean there will be a universal Kernel for all phones or is this not possible?
Click to expand...
Click to collapse
Maybe not now, each device uses different defconfig file and different devicetree(this include battery, camera sensor, screen configuration)
it does not mean Mi 8 cannot boot with a custom kernel compiled for Mi mix 3 , but something could be broken or doesn't work properly.
kowakx said:
Maybe not now, each device uses different defconfig file and different devicetree(this include battery, camera sensor, screen configuration)
it does not mean Mi 8 cannot boot with a custom kernel compiled for Mi mix 3 , but something could be broken or doesn't work properly.
Click to expand...
Click to collapse
yeah, but maybe it's not also hard to make PORTED versions now? Dunno, hope so, this would bring many developers together

Development [KERNEL][AOSP] Quantic Kernel [5.4.203][07/04/22]

Welcome to Quantic a Kernel built specially for Xiaomi Mi 11 Lite 5G codename: renoir
One of the most used kernel on Custom ROMS on Xiaomi Mi 9, Redmi K20 Pro, POCO F2 Pro, Mi 10T Pro, POCO F3, Galaxy Tab s7, chosen by developers , built from scratch with latest odin-r-oss source provided by Xiaomi MiCode team​
/* I'm not responsable for any damage on your device, for X or Y reason, also I'm not responsable if you loose your alarm and got fired and also the thermonuclear war, anything like that, installing this kernel you renounce to make me responsable of any unwanted behavior of your device */
/*Compatible with Android 11, Android 12/12.1, not tested on MIUI*/
Hi everyone, I want to introduce you my new kernel named Quantic-Kernel, this is my personal build kernel with my prefered features. Hope everyone enjoy it and I'll be maintaining it so people can used it (See details below)
FEATURES
Reduced logging events
Performance Improvements on scheduler
Optimized memory allocations
Reduced kernel weight
Optimized CAF CPU BOOST with my personal tweaks using Sultan's kthread affine API's
FIX CPU Capacity issues
Devfreq boost enabled and aligned with CAF sched_boost powerhal. Enjoy lag free UI experience with no frame drops.
Upstreamed to latest ACK v5.4.203 from A11 branch
Upstreamed to LA.UM.9.14.r1-19600-LAHAINA.QSSI13.0
Systemless kernel support currently on beta stage
Fixed dts derps commited by xiaomi
Removed lag UI when low battery
IMPORTANT NOTICE: This kernel tries to follow GKI scheme from google now QGKI thanks to QCOM, so flasheable zip comes with .ko modules that are pushed to /vendor/lib/modules, this means the kernel is not systemless as previous devices, like kona or msmnile platfroms. Fash at your own risk
INSTALLATION PROCEDURE
Make sure you are on any AOSP Recovery
Boot to recovery and go to apply update
Apply update from ADB
adb sideload Quantic.zip
Go back and reboot system
BUGS:
Fast Charge on some devices
DOWNLOAD HERE
https://github.com/Official-Ayrton990/android_kernel_xiaomi_renoir/releases/tag/r1.2.1
TELEGRAM CONTACT
https://t.me/AyrtonChat <-- Discussion group for support
Thanks List
To kdrag0n
To Kerneltoast
To ghostrider reborn @adithya-r
To Kazuki H @Kaz205
To Roxirp for testing
XDA:DevDB Information
Quantic Kernel for Xiaomi Mi 11 Lite 5G (renoir)
Contributors
Ayrton990
Source Code: Github from Ayrton990
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 20220703-1546-c2322996
Beta Release Date: 2022-07-03
Created 2022-07-03
Last Updated 2022-07-24
Update for 20220724-2342-77dbf920
Code:
HEAD: 3a9b36c490bda5723b4862039852a49f9892c94a
Changelog:
- Fixed fast charging
- Added dimlayer based DC-Dimming
- Fixed devfreq_boost stuck at max for some time
- Fine tune for performance
Support only for roms using A11 blobs (Not compatible with latest PE update).
MIUI is untested so not supported, flash at our own risk
Download: https://github.com/Official-Ayrton990/android_kernel_xiaomi_renoir/releases/tag/r1.2.1
Reserved 2
Ayrton990 said:
Welcome to Quantic a Kernel built specially for Xiaomi Mi 11 Lite 5G codename: renoir
One of the most used kernel on Custom ROMS on Xiaomi Mi 9, Redmi K20 Pro, POCO F2 Pro, Mi 10T Pro, POCO F3, Galaxy Tab s7, chosen by developers , built from scratch with latest odin-r-oss source provided by Xiaomi MiCode team​
Click to expand...
Click to collapse
Hi, many thanks for the work....
do you know if it's possible to flash this kernel on GSI?????
I will try it on pixel experience 12 plus and share details thx
rayman95 said:
Hi, many thanks for the work....
do you know if it's possible to flash this kernel on GSI?????
Click to expand...
Click to collapse
since it's miui base i don't think so, but if you try please share your feedback.
Attempted to flash on MIUI 12.5.9 didn't booted neither got into recovery. Backup your vendor_boot.img to flash back in case of messing up something.
good job.
Did someone tried on GSI rom?
Hi, I'm assuming you use this kernel in your latest Descendant build? I've been using MIUI for almost a year now and still miss the feel of a close to AOSP build. If I can find the time to reset all of the 2FA accounts I'll for sure give Descendant a try!
Descendant rom in use Quantic Kernel [5.4.203] Boot failure with installation
Booting after factory reset successful
Not completed during initial setup
13eauty said:
I will try it on pixel experience 12 plus and share details thx
Click to expand...
Click to collapse
Was it successful flashing it, and does it work on pixel?
razor_1911 said:
Was it successful flashing it, and does it work on pixel?
Click to expand...
Click to collapse
It won't work on latest PE
Ayrton990 said:
It won't work on latest PE
Click to expand...
Click to collapse
Will there be an update for the lastest version?
razor_1911 said:
Will there be an update for the lastest version?
Click to expand...
Click to collapse
Seconded
Message from the dev on telegram...
Xiaomi Mi 11 Lite 5G projects are stopped permanently. My device got bricked by unknown reason, and I will try to send to service to see if something can be done.
latest build with fingerprint bugs fixed is on 20220808
rayman95 said:
Message from the dev on telegram...
Xiaomi Mi 11 Lite 5G projects are stopped permanently. My device got bricked by unknown reason, and I will try to send to service to see if something can be done.
latest build with fingerprint bugs fixed is on 20220808
Click to expand...
Click to collapse
I saw that message on telegram. He was last person doing something for this phone after Patryk abandoned making PE. I hope service will fix his device and he will be back.
Hello does someone know if this kernel works with gsi roms?
sutysut said:
I saw that message on telegram. He was last person doing something for this phone after Patryk abandoned making PE. I hope service will fix his device and he will be back.
Click to expand...
Click to collapse
There is still a ROM for the Renoir, CorvusOS.
I just installed it, for the moment no problem. It is close to the PE ROM I think.
Thoiareg said:
There is still a ROM for the Renoir, CorvusOS.
I just installed it, for the moment no problem. It is close to the PE ROM I think.
Click to expand...
Click to collapse
Where did you find it? Maybe it's a gsi rom

Categories

Resources