[NEWS] Kernel Source Code for Mi8,Poco F1 and more -- Android P Released! - Xiaomi Mi 8 Guides, News, & Discussion

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

Related

[Question] LineageOS for Redmi 5 Plus (vince)

Will there be a LineageOS for the Redmi 5 Plus soon? (Codename: Vince)
It got a snapdragon 625 so it shouldnt be that hard, isnt it? Or is something important missing so there will no custom roms soon?
If someone CAN build LineageOS for this device, but hasn't got enough resources for this, please contact me via PM. I'll able to set up a Server
(Just for Lineageos )
Good question - should be fairly straightforward in theory, but changes in displays, touch panels, cameras and fingerprint sensors will always present a unique set of challenges for an experienced dev considering there is no kernel source code yet. Redmi Note 4 development efforts will definitely help no doubt as certain blobs should be ported over without issue, but a bit of classic reverse engineering and testing will be needed to begin with. Building 7.1.2 shouldn't be too hard, but 8.0 will be a little trickier until codebases stabilise. Really hoping that MIUI 10 introduces treble support!
Will definitely be keen to test ROMs as they become available for the Redmi 5 plus though, seems like a decent successor to the Redmi Note 4 even if the lack of an SOC upgrade makes it a little boring as an upgrade - but they won't be selling the Redmi Note 4 forever.
stephendt0 said:
[...] considering there is no kernel source code yet. [...] Really hoping that MIUI 10 introduces treble support! [...]
Click to expand...
Click to collapse
Yea sure, no kernel source is a problem, and as it seems Xiaomi wont release any kernel sources soon anymore .. take a look at the Mi A1.
For my knowledge, treble will be ONLY available if the devices COMES with Android 8(.1)
Here: https://www.androidauthority.com/oneplus-android-8-1-oreo-project-treble-816708/
but thanks for your answer!
diedmaster said:
Yea sure, no kernel source is a problem, and as it seems Xiaomi wont release any kernel sources soon anymore .. take a look at the Mi A1.
For my knowledge, treble will be ONLY available if the devices COMES with Android 8(.1)
Here: https://www.androidauthority.com/oneplus-android-8-1-oreo-project-treble-816708/
but thanks for your answer!
Click to expand...
Click to collapse
There is treble support for Huawei mate 9. And it didn't come with Oreo 8.1
rhaspody said:
There is treble support for Huawei mate 9. And it didn't come with Oreo 8.1
Click to expand...
Click to collapse
did it come at least with 8.0?
Do we have information if the Lineage team is working on an official version? This seems like it will be a quite high volume phone.
LOS14: https://forum.xda-developers.com/an...-unofficial-lineageos-xiaomi-redmi-5-t3749076
I am planning to buy the redmi 5 plus ( aka Redmi note 5 in India), but i can't withstand miui. I hope there are developments regarding the custom roms for this device very soon. Currently on redmi 4x (Crdroid custom rom).
RR 5.8.5 for vince: http://en.miui.com/thread-1674896-1-1.html

Xiaomi Mi 9’s kernel source code is just available

Hi,
just after the release of the new Xiaomi Smartphone the source code were released from Xiaomi.
https://www.xda-developers.com/xiaomi-mi-9-kernel-source-code-available/
That paves the first way to TWRP and costum roms.
Best
good news, xiaomi seems to be quite fast. One reason more to consider this phone
Is it up to date and complete kernel sources ?
Do you think many Devs will buy this phone ?
SlyUK said:
Is it up to date and complete kernel sources ?
Do you think many Devs will buy this phone ?
Click to expand...
Click to collapse
I can say that The source is complete! anyway i have plans to make my eXtreme Kernel for MI 9
For Any News and Tests you can join in my Telegram Development Group for MI 9
https://t.me/eXtremekernel_mi9_Development
Alek Dev said:
I can say that The source is complete! anyway i have plans to make my eXtreme Kernel for MI 9
For Any News and Tests you can join in my Telegram Development Group for MI 9
https://t.me/eXtremekernel_mi9_Development
Click to expand...
Click to collapse
Will it be for MIUI users of the Mi 9 ?
SlyUK said:
Will it be for MIUI users of the Mi 9 ?
Click to expand...
Click to collapse
Yes the kernel will support Miui and Custom Roms!
Alek Dev said:
Yes the kernel will support Miui and Custom Roms!
Click to expand...
Click to collapse
Well i'm thinking of getting either Xiaomi Mi 9 or OnePlus 7 or waiting until October if I can for Xiaomi Mi Mix 4.
One of them will be my new smartphone this year
All the best with your kernel for Mi 9 though
SlyUK said:
Well i'm thinking of getting either Xiaomi Mi 9 or OnePlus 7 or waiting until October if I can for Xiaomi Mi Mix 4.
One of them will be my new smartphone this year
All the best with your kernel for Mi 9 though
Click to expand...
Click to collapse
Thanks also i plan this Year to get new phone so maybe Mi9 will be my next one, currently using Poco F1 ?
SlyUK said:
Well i'm thinking of getting either Xiaomi Mi 9 or OnePlus 7 or waiting until October if I can for Xiaomi Mi Mix 4.
One of them will be my new smartphone this year
All the best with your kernel for Mi 9 though
Click to expand...
Click to collapse
You're more patient than me. Waiting until October isn't even an option. I generally don't keep phones longer than 6 months.
jvs60 said:
You're more patient than me. Waiting until October isn't even an option. I generally don't keep phones longer than 6 months.
Click to expand...
Click to collapse
Whichever phone I get i'll keep for 3 years minimum

What device is Miatoll ?

Hello guys ! For some days or weeks, I see a new codename : Miatoll. I looked and search but I don't find what device is it. Can you helo me ? I wonder if I can flash my phone with a Miatoll Rom
_nKo_ said:
Hello guys ! For some days or weeks, I see a new codename : Miatoll. I looked and search but I don't find what device is it. Can you helo me ? I wonder if I can flash my phone with a Miatoll Rom
Click to expand...
Click to collapse
That's unified device tree for all Redmi Note 9 devices. 9S, Indian Pro, Global Pro (Curtana, Joyeuse, Excalibur)
Kollachi said:
That's unified device tree for all Redmi Note 9 devices. 9S, Indian Pro, Global Pro (Curtana, Joyeuse, Excalibur)
Click to expand...
Click to collapse
Thanx a lot. That means that I can flash it on my curtana
Do Miatoll roms need twrp-unified-mauronofrio custom recovery to flash? or I can flash them with any custom recoveries like pitchblack
I mean, is the miatoll device tree embedded in the rom file or need an especiall custom recovery like that I said ?
No need of any special custom recovery u can use pitchblack recovery
Miatoll is the codename of unified branches of Curtana, Joyeuse, Excalibur and Gram.
It means any ROMS and recovery for "Miatoll" should work across the four devices under it.
One curious query
Does it apply to poco m2 pro as well?
DarkHeart Z said:
Does it apply to poco m2 pro as well?
Click to expand...
Click to collapse
A big yesss..
Gram= poco m2 pro
abhi.s4u said:
A big yesss..
Gram= poco m2 pro
Click to expand...
Click to collapse
I already know that. but it looks like miui 12 is doing all the work for poco m2 pro. Nowadays other custom roms doesn't require much attention specially in the case of mi device. You see the developers eventually leaves the project.
DarkHeart Z said:
I already know that. but it looks like miui 12 is doing all the work for poco m2 pro. Nowadays other custom roms doesn't require much attention specially in the case of mi device. You see the developers eventually leaves the project.
Click to expand...
Click to collapse
I agree with u that miui 12 hv all things..but i think Devs are not leaving they are working on Android 11
To make it also MIATOLL from the start.. bcoz our device is probably going get the android 11 update from the 1st quarter of 2021 officially..
abhi.s4u said:
I agree with u that miui 12 hv all things..but i think Devs are not leaving they are working on Android 11
To make it also MIATOLL from the start.. bcoz our device is probably going get the android 11 update from the 1st quarter of 2021 officially..
Click to expand...
Click to collapse
Anex cam is giving me doubts regarding quality and all, and the gapps support is also questionable. As most devs recommend pico gapps while myself personally think aroma is a better option than that. That way we can choose for ourselves. But those things are preincluded in miui roms which is beneficial for a certain amount of time. And to be honest miui is packing most of the customisations in it that substratum, rr and others do. It's getting even better. And more stable than custom roms. As they are official and guarantees all features and optimisations.
Does it also apply to the Redmi Note 9? I indeed see it listed for PixelExperience as 9S, 9 Pro, Pro Max and POCO M2 Pro. But not specifically for the 9.
Can anyone confirm?
Edit: I already got an answer in the PE chat. It is a whole different device.
miatoll = curtana + excalibur + joyeuse + gram
Kollachi said:
That's unified device tree for all Redmi Note 9 devices. 9S, Indian Pro, Global Pro (Curtana, Joyeuse, Excalibur)
Click to expand...
Click to collapse
Not all.
Merlin is Redmi Note 9 and it is not "miatoll".
Merlin, does NOT shares the same kernel with Curtana, Joyeuse, Excalibur and Gram.
It shares the same kernel of Redmi 10X 4G, Redmi 9 and Redmi POCO M2.
activate2010 said:
Does it also apply to the Redmi Note 9? I indeed see it listed for PixelExperience as 9S, 9 Pro, Pro Max and POCO M2 Pro. But not specifically for the 9.
Can anyone confirm?
Edit: I already got an answer in the PE chat. It is a whole different device.
Click to expand...
Click to collapse
NO, it does NOT apply to Merlin.
VD171 said:
Not all.
Merlin is Redmi Note 9 and it is not "miatoll".
Merlin, does NOT shares the same kernel with Curtana, Joyeuse, Excalibur and Gram.
It shares the same kernel of Redmi 10X 4G, Redmi 9 and Redmi POCO M2.
Click to expand...
Click to collapse
Lol Dude... Did you see i have mentioned "merlin" or standard Redmi Note 9 somewhere?
This thread is for the Pro and S models with Snapdragon devices. The standard note 9 doesn't have a Snapdragon and doesn't even belongs here. That will confuse people only.
Kollachi said:
Lol Dude... Did you see i have mentioned "merlin" or standard Redmi Note 9 somewhere?
This thread is for the Pro and S models with Snapdragon devices. The standard note 9 doesn't have a Snapdragon and doesn't even belongs here. That will confuse people only.
Click to expand...
Click to collapse
What did you mean with "all Redmi Note 9 devices" ?
Do you mean MERLIN is not part of the "all Redmi Note 9 devices" ?
You are confusing people.
Be direct and explain what you say.
VD171 said:
What did you mean with "all Redmi Note 9 devices" ?
Do you mean MERLIN is not part of the "all Redmi Note 9 devices" ?
You are confusing people.
Be direct and explain what you say.
Click to expand...
Click to collapse
Dude just be quiet. This isn't the thread for "Merlin"! That's why I named all the device which I meant. Everybody got it except you!
Also I'm not interested to discuss with smart alecks.
I'm out here...
can anyone help me to clearn my doubts? Does Redmi Note 10 Lite comes under miatoll devices ? plz help me if someone can?
Sushrut1101 said:
miatoll = curtana + excalibur + joyeuse + gram
Click to expand...
Click to collapse
This confused me too... Curtana would be any device RN9s (global?) / RN9 Pro (indian?), correct?
... What devices are these: Excalibur, Joyeuse, Gram?
My device is the RN9s (global?)... I should use the procedures for the Curtana or Miatoll (all/anyone), correct?
Xiaomi POCO M2 Pro / Redmi Note 9S / Redmi Note 9 Pro / Redmi Note 9 Pro Max are miatoll. The procedure is the same for all these devices:
Redirecting…

Custom Kernel

We need a phone specific custom rom is this the same with custom kernel too? I have mi 8 light (platina) running evaluation x rom on it. Can I flash any kernel on it or I need to be limited with 2-3 kernels available for mi 8 light (platina)
dahalbigyan00 said:
We need a phone specific custom rom is this the same with custom kernel too? I have mi 8 light (platina) running evaluation x rom on it. Can I flash any kernel on it or I need to be limited with 2-3 kernels available for mi 8 light (platina)
Click to expand...
Click to collapse
You need to use a kernel that was built specifically for this phone and Android version. There seem to be many more kernels and ROMs available for Platina on Telegram rather than on XDA for some reason. ie You may get PixelExperience 11 and HavocOS 11 on the Telegram channel, but not here.
Thank you so much

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