Kernel Source available for Mi A1 - Xiaomi Mi A1 Guides, News, & Discussion

Hi all,
Xiaomi has finally released kernel sources for Mi A1 (tissot). You can find it on following official github page:
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/tissot-n-oss

thanks

So half a year later they release nougat source code
I dont know why it is no surprise coming from xiaomi

I was just about to make a thread lol sadly nougat sources not oreo hmm.
Still good thou roms/kernels will start devolpment

t0per666 said:
I was just about to make a thread lol sadly nougat sources not oreo hmm.
Still good thou roms/kernels will start devolpment
Click to expand...
Click to collapse
What's the point?
Now a good number of people are on Oreo and its pretty darn good. IMO, a custom kernel and Magisk should be enough for most people.
---------- Post added at 05:18 PM ---------- Previous post was at 05:16 PM ----------
t0per666 said:
I was just about to make a thread lol sadly nougat sources not oreo hmm.
Still good thou roms/kernels will start devolpment
Click to expand...
Click to collapse
Where'd you read that BTW? I mean, which document or file?

KalolParty said:
What's the point?
Now a good number of people are on Oreo and its pretty darn good. IMO, a custom kernel and Magisk should be enough for most people.
---------- Post added at 05:18 PM ---------- Previous post was at 05:16 PM ----------
Where'd you read that BTW? I mean, which document or file?
Click to expand...
Click to collapse
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/tissot-n-oss?files=1

Yep it's nougat sources, but still better than nothing.

t0per666 said:
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/tissot-n-oss?files=1
Click to expand...
Click to collapse
Yeah, I got you're on the tissot branch but which line in which file? I tried searching for Nougat or api25. Nothing turned up

Waiting for Los?????

Finally! :laugh:

KalolParty said:
Yeah, I got you're on the tissot branch but which line in which file? I tried searching for Nougat or api25. Nothing turned up
Click to expand...
Click to collapse
Look at the name of the branch. Its 'tissot-n-oss'. In that name, n stands for nougat. Xiaomi names their branches this way.

Gaurav Rathod said:
Look at the name of the branch. Its 'tissot-n-oss'. In that name, n stands for nougat. Xiaomi names their branches this way.
Click to expand...
Click to collapse
Got it! Cheers!

Any developer here who build miui rom (nougat based) for mi a1 by using this source code..

A$h!$h said:
Any developer here who build miui rom (nougat based) for mi a1 by using this source code..
Click to expand...
Click to collapse
lol it's been out for like 2 hours.. give it time, someone will come along and build miui, though i don't see why you would want it on this phone but im sure someone will build it.

t0per666 said:
I was just about to make a thread lol sadly nougat sources not oreo hmm.
Still good thou roms/kernels will start devolpment
Click to expand...
Click to collapse
Does it really matter?
I believe kernel sources are released once only and there are so many devices that get ROMs and Kernels made for them - years after their official development has stopped. For eg. - If sources are released for Lollipop (and not for Nougat), LOS is also there for Nougat.
Could you please clarify and how much time will it take for an Oreo kernel (tentatively in your opinion, obviously)?
@sooti could you pitch in?

we should be thankful that we got the second latest kernel source code. this is enough for the great developer gang to get the custom kernel and rom working for MIA1.

KalolParty said:
Does it really matter?
I believe kernel sources are released once only and there are so many devices that get ROMs and Kernels made for them - years after their official development has stopped. For eg. - If sources are released for Lollipop (and not for Nougat), LOS is also there for Nougat.
Could you please clarify and how much time will it take for an Oreo kernel (tentatively in your opinion, obviously)?
@sooti could you pitch in?
Click to expand...
Click to collapse
Generally speaking any new android version simply requires a few commits to support the latest features especially security, they are usually common across all devices with some devices needing some extra patches to bring it up to oreo (usually selinux related) but for the most part its not complicated, The complex part is setting up the device tree and vendor IMO, for custom roms that is. but i'm not a huge kernel dev so i don't know.

sooti said:
Generally speaking any new android version simply requires a few commits to support the latest features especially security, they are usually common across all devices with some devices needing some extra patches to bring it up to oreo (usually selinux related) but for the most part its not complicated, The complex part is setting up the device tree and vendor IMO, for custom roms that is. but i'm not a huge kernel dev so i don't know.
Click to expand...
Click to collapse
Thanks for clearing that up. Considering many devs have switched to from other devices running Oreo, I don't think it'll be an issue then.
I'm sure development for LOS will be up soon

Now can we get fast charging via custom rom?

goreprasad said:
Now can we get fast charging via custom rom?
Click to expand...
Click to collapse
Yes, we have it already.

Related

Request: may someone port NitrogenOS?

I'm having this on my Nexus4 and it's a great Nougat experience.
Unfortunately, i have zero knowledge on how to port this to OPO or any other device.
http://forum.xda-developers.com/nex...nitrogen-os-n-substratum-10-09-2016-t3459341/
Would help testing such ROM if a dev picks it up.
zagzag99 said:
I'm having this on my Nexus4 and it's a great Nougat experience.
Unfortunately, i have zero knowledge on how to port this to OPO or any other device.
http://forum.xda-developers.com/nex...nitrogen-os-n-substratum-10-09-2016-t3459341/
Would help testing such ROM if a dev picks it up.
Click to expand...
Click to collapse
it cannot be ported just aosp rom there are 7.0.0 rom for opo too
Dhairya said:
it cannot be ported just aosp rom there are 7.0.0 rom for opo too
Click to expand...
Click to collapse
Too bad, because it has a stable amount of customizations added to it.
zagzag99 said:
Too bad, because it has a stable amount of customizations added to it.
Click to expand...
Click to collapse
Well you tell me snapdragon s4 processor to 801 ? How that to 7.0
Dhairya said:
Well you tell me snapdragon s4 processor to 801 ? How that to 7.0
Click to expand...
Click to collapse
Obviously I'm not expecting one to one port of code.
But I'm guessing the NitrogenOS rom branches can be mixed with the OPO device branches so to make that rom ported.
Just like other ROMs, right?
Simply I never done that and none of the 'build yourself' guides i tried worked out for me.
zagzag99 said:
I'm having this on my Nexus4 and it's a great Nougat experience.
Unfortunately, i have zero knowledge on how to port this to OPO or any other device.
http://forum.xda-developers.com/nex...nitrogen-os-n-substratum-10-09-2016-t3459341/
Would help testing such ROM if a dev picks it up.
Click to expand...
Click to collapse
I'll try building it from source, should be easy enough lol
noahvt said:
I'll try building it from source, should be easy enough lol
Click to expand...
Click to collapse
With multirom supported script, please.
Bump.
Look they're already at 7.1
http://forum.xda-developers.com/nex...n-substratum-10-09-2016-t3459341/post69287502
No one with some experience can to try the build from source??
@noahvt, any progress?
zagzag99 said:
Bump.
Look they're already at 7.1
http://forum.xda-developers.com/nex...n-substratum-10-09-2016-t3459341/post69287502
No one with some experience can to try the build from source??
@noahvt, any progress?
Click to expand...
Click to collapse
I was able to build the rom for the one but it didn't boot (logcat said: "Slim services.jar not found") I contacted the dev but have not received a response yet. I will try syncing the 7.1 source to see if it works
noahvt said:
I was able to build the rom for the one but it didn't boot (logcat said: "Slim services.jar not found") I contacted the dev but have not received a response yet. I will try syncing the 7.1 source to see if it works
Click to expand...
Click to collapse
Thanks.
Would like very much to see the manifest and changes you've done to make it happen.
I tried some stuff myself but failed to get it to build for bacon.

Hi Everyone, I am a rom dev who just bought this device, just wanted to say hi

A little about me for those who don't know.
I have been building roms since the galaxy s2, I also built for Nexus 10, galaxy s5 and mainly the LG G3.
Once the kernel is released I will start to work on bringing roms, mainly CAF AOSP to our device plus some kernel improvements .
Anyway just wanted to introduce myself. Great phone so far!
sooti said:
A little about me for those who don't know.
I have been building roms since the galaxy s2, I also built for Nexus 10, galaxy s5 and mainly the LG G3.
Once the kernel is released I will start to work on bringing roms, mainly CAF AOSP to our device plus some kernel improvements .
Anyway just wanted to introduce myself. Great phone so far!
Click to expand...
Click to collapse
Hey man. Awesome! Looking forward to test your work.
Cheers
sooti said:
A little about me for those who don't know.
I have been building roms since the galaxy s2, I also built for Nexus 10, galaxy s5 and mainly the LG G3.
Once the kernel is released I will start to work on bringing roms, mainly CAF AOSP to our device plus some kernel improvements .
Anyway just wanted to introduce myself. Great phone so far!
Click to expand...
Click to collapse
Cool! Looking forward to seeing/using your builds! Is AOSP Extended CAF-based - really like those roms
antimatter.web said:
Cool! Looking forward to seeing/using your builds! Is AOSP Extended CAF-based - really like those roms
Click to expand...
Click to collapse
I was building pure CAF using the latest code from CAF for my chipset with minimum changes to keep it optimized, not sure ill go the AOSP-EX way.. we'l see
Right. I'll read up on CAF to see what it's about ^^
Just go for lineage os
It its stabled all works than
antimatter.web said:
Right. I'll read up on CAF to see what it's about ^^
Click to expand...
Click to collapse
Its pure AOSP with qualcomm's latest optimizations for each chipset
https://wiki.codeaurora.org/xwiki/bin/QAEP/release
sooti said:
Its pure AOSP with qualcomm's latest optimizations for each chipset
https://wiki.codeaurora.org/xwiki/bin/QAEP/release
Click to expand...
Click to collapse
Looking forward to testing it. Will additional features like night light, advanced reboot menu etc make the cut or are they not part of CAF-based roms?
antimatter.web said:
Looking forward to testing it. Will additional features like night light, advanced reboot menu etc make the cut or are they not part of CAF-based roms?
Click to expand...
Click to collapse
Night light is built in, advanced menu will be added. Not much more then that, the cleaner it is the easier to keep it maintained
sooti said:
Night light is built in, advanced menu will be added. Not much more then that, the cleaner it is the easier to keep it maintained
Click to expand...
Click to collapse
Im looking forward for your work. The minimum features are also my choice. Good luck with building the rom!
Welcome to the hood man hope ur work will be start soon gud luck
soylukral said:
Im looking forward for your work. The minimum features are also my choice. Good luck with building the rom!
Click to expand...
Click to collapse
Thanks! Let's just hope xiaomi don't take ages to release the kernel...
Welcome !
Dear Brother
.. hey brother!. Nice to meet you!. I am very appreciative that you are here!. I would be so appreciative if you could create a room for us, or even port lineage os?, I know a lot of other family members around here would be ever so grateful. I am so happy I bought the Mi A1, but also sad that I can't find even oNe rom for our beloved device.
@sooti could you try port MIUI to this device? I'm not sure if you need the kernel code or not. And before someone says "Oh, buy the Mi 5X" I can't find the phone in any market from my country.
vraciu' said:
@sooti could you try port MIUI to this device? I'm not sure if you need the kernel code or not. And before someone says "Oh, buy the Mi 5X" I can't find the phone in any market from my country.
Click to expand...
Click to collapse
But... why would you buy this device if you wanted MIUI? in any case, I'm sure someone will port miui, just not worth my time right now, sorry, i'm more interested in overclocking CPU and GPU and other features that can be added into kernel + qualcomm optimizations to stock android, not much more.
sooti said:
But... why would you buy this device if you wanted MIUI? in any case, I'm sure someone will port miui, just not worth my time right now, sorry, i'm more interested in overclocking CPU and GPU and other features that can be added into kernel + qualcomm optimizations to stock android, not much more.
Click to expand...
Click to collapse
Will the kernel also work on Stock ROM? Since CAF kernel normally dont since they're for CAF ROMs only.
MrPhilo said:
Will the kernel also work on Stock ROM? Since CAF kernel normally dont since they're for CAF ROMs only.
Click to expand...
Click to collapse
The kernel will be shipped with the ROM and is meant to be used with it. in any case, let's not get ahead of ourselves, first Xiaomi need to release the source code
sooti said:
The kernel will be shipped with the ROM and is meant to be used with it. in any case, let's not get ahead of ourselves, first Xiaomi need to release the source code
Click to expand...
Click to collapse
Bro Xiaomi will take another 2 months to release the source code and by that time Mi A1 will also get the Oreo update...though I'm not 100% sure about Oreo update, Xiaomi is always late about releasing the source code :crying::crying::crying:
talk2indrajit said:
Bro Xiaomi will take another 2 months to release the source code and by that time Mi A1 will also get the Oreo update...though I'm not 100% sure about Oreo update, Xiaomi is always late about releasing the source code :crying::crying::crying:
Click to expand...
Click to collapse
Then we'll just have to wait won't we

Is there a Android 8.0 Oreo ROM yet for the Tab 2?

Is there a Android 8.0 Oreo ROM yet for the Tab 2?
secretwolf98 said:
Is there a Android 8.0 Oreo ROM yet for the Tab 2?
Click to expand...
Click to collapse
not yet. maybe never.
smart-t78 said:
not yet. maybe never.
Click to expand...
Click to collapse
RIP. Is there a reason why?
secretwolf98 said:
RIP. Is there a reason why?
Click to expand...
Click to collapse
Because people keep asking for it
Android-Andi said:
Because people keep asking for it
Click to expand...
Click to collapse
Oh ok. I thought maybe the device structure just can't handle it with it kind of RAM.
secretwolf98 said:
Oh ok. I thought maybe the device structure just can't handle it with it kind of RAM.
Click to expand...
Click to collapse
OEMs would say that, yes.
Android-Andi said:
OEMs would say that, yes.
Click to expand...
Click to collapse
ahh ok
there is actually an oreo rom for our device here is the link
github(dot)com/Unlegacy-Android/android_device_samsung_espresso3g
github(dot)com/Unlegacy-Android/android_device_samsung_espresso
but it was not compiled and surely there is a lot of bugs
thanks to unlegacy android for making this
my internet was slow so i could not verify if this would work on our device (yet!)
ps. could not post url links yet srry
@ezrexl you are really funny, it's device source not a rom.
There's nothing changed for oreo on the source, we automatically created 8.0 branches for all our repos independent of Oreo support for the devices.
Android-Andi said:
@ezrexl you are really funny, it's device source not a rom.
There's nothing changed for oreo on the source, we automatically created 8.0 branches for all our repos independent of Oreo support for the devices.
Click to expand...
Click to collapse
So you are saying, if someone tries to compile it... It won't be real Oreo or what?
Android-Andi said:
@ezrexl you are really funny, it's device source not a rom.
There's nothing changed for oreo on the source, we automatically created 8.0 branches for all our repos independent of Oreo support for the devices.
Click to expand...
Click to collapse
Im sorry, I assumed it was a source ready to be compiled as a rom because Im really new to learning with these things, but I hope someone would make an oreo rom for galaxy tab 2 considering the fact that nougat was being patched right now.
secretwolf98 said:
So you are saying, if someone tries to compile it... It won't be real Oreo or what?
Click to expand...
Click to collapse
It can't compile, it has nothing changed to work on O and you will need a lot to change (and don't forget a massive kernel update you'll also need).
Have fun working on it, I am not and I won't in future
Android-Andi said:
It can't compile, it has nothing changed to work on O and you will need a lot to change (and don't forget a massive kernel update you'll also need).
Have fun working on it, I am not and I won't in future
Click to expand...
Click to collapse
I don't work on trees anymore. I got frustrated to try to change my GitHub LineageOS 15 for SM-T230NU degaswifi. From it saying HTML to Makefile. So I gave up.
I still love marshmallow rom it's enough for our tab 2 (stable rom ever)
anybody??
No oreo?
Thread closed at OP request.

Nokia 3 Kernel Source Now Availble

Kernel Sources for the Nokia 3 has been release. :fingers-crossed:
https://www.gsmarena.com/nokia_3_kernel_source_code_released-news-31109.php
Download Here:
https://www.nokia.com/en_int/phones/opensource
Oh yes I'm so happy now
Downloading...
WHAT A SURPRISE TRULY!!
Thanks Nokia aka HMD Global aka FIH way to go guys
Now we need to upload it on GitHub.
SkaboXD said:
Now we need to upload it on GitHub.
Click to expand...
Click to collapse
Already done.
Just trying to put together the Oreo device and vendor tree's before i push them to github too.
https://github.com/bigrammy/android_kernel_nokia_ne1
bigrammy said:
Already done.
Just trying to put together the Oreo device and vendor tree's before i push them to github too.
https://github.com/bigrammy/android_kernel_nokia_ne1
Click to expand...
Click to collapse
nice, it will be the best to upload 7.1.1 and eventually 7.0 kernel source too.
I'd love to do it but i never uploaded on github.
So I just need to upload, no modifing or changing settings?
SkaboXD said:
nice, it will be the best to upload 7.1.1 and eventually 7.0 kernel source too.
I'd love to do it but i never uploaded on github.
So I just need to upload, no modifing or changing settings?
Click to expand...
Click to collapse
I could push them later but don't really see much point as most people will want to go forward rather than backwards 8.0 > 8.1 > 9.0 etc etc
Even with the Kernel source It will still require a lot of work to get a fully working device and will likely require some assistance from one of the more experienced MediaTek Dev's who are used to working with source code
I agree, but some people don't like Oreo and want to use Nougat. We can make another thread asking people for help.
please compile an overclocked kernel ...
Riadh300 said:
please compile an overclocked kernel ...
Click to expand...
Click to collapse
we can overclock it from 1250mhz to 1300mhz, just a little difference. GPU can't be overclocked though.
@varun.chitre15 maybe your interested on this device?
Compiler Errors
Did anyone manage to successfully manage to compile the kernel using the Oreo Kernel source??
I keep getting compile errors but not sure if it's my set up (Arch Linux) or if the source is broken
did anyone have a working kernel ?
Riadh300 said:
did anyone have a working kernel ?
Click to expand...
Click to collapse
I think the Oreo Kernel source is broken/missing bits which is kind of annoying when you spend hours fixing one thing then something else further down the build fails to compile and it quits. :crying:
It could be me just not knowing what I am doing :silly: as I am new to actually compiling kernels so still lots to learn for me but I would like to know if ANYONE has had a successful build or not especially someone who is experienced.?? :fingers-crossed:
Which version of kernel that you have ?
SkaboXD said:
nice, it will be the best to upload 7.1.1 and eventually 7.0 kernel source too.
I'd love to do it but i never uploaded on github.
So I just need to upload, no modifing or changing settings?
Click to expand...
Click to collapse
Hey Here! Is the Nougat Kernel Source
https://github.com/ChalapathiRevanth/kernel_nokia_NE1
This Compiles Out Succesfully!Both Nougat and Oreo Kernel Compiled For Me Succesfully
---------- Post added at 07:22 AM ---------- Previous post was at 07:22 AM ----------
[/COLOR]
bigrammy said:
Did anyone manage to successfully manage to compile the kernel using the Oreo Kernel source??
I keep getting compile errors but not sure if it's my set up (Arch Linux) or if the source is broken
Click to expand...
Click to collapse
Hey Here! Is the Nougat Kernel Source
https://github.com/ChalapathiRevanth/kernel_nokia_NE1
This Compiles Out Succesfully!Both Nougat and Oreo Kernel Compiled For Me Succesfully
Now we need to build device tree, I never did that so i will look for guides on xda, youtube etc.
Is anybody compile the kernel ?
Checked that the Nokia 3 V5.180 Kernel Source can be complied successfully,
But Nokia 3 V5.220 kernel source is failed with file missing...
natsupeng said:
Checked that the Nokia 3 V5.180 Kernel Source can be complied successfully
Click to expand...
Click to collapse
How did you compile it? which toolchain and config files you used? I always get compile time errors, tried different toolchains and config files.

For developers kernel source code now available

https://www.xda-developers.com/xiaomi-mi-a2-mi-a2-lite-kernel-source-code/

			
				
Alright!!! Let's get some decent ROMs, Android One lacks a bunch of functionalities I got used to on my previous OPX with LineageOS
Is there any dev cooking for mia2 lite ?
official twrp is in the works, lineage should come soon after
Got any source that official lineageos support is being considerer? The phone is on my wishlist atm (with another lineage-os supported model) and that's the kind of information that would make me choose it!
Eth42 said:
Got any source that official lineageos support is being considerer? The phone is on my wishlist atm (with another lineage-os supported model) and that's the kind of information that would make me choose it!
Click to expand...
Click to collapse
best I can do is official twrp...lineage is a possibility
Still no custom ROM out !!! Or we have to wait official TWRP and Lineage !
foudroid said:
Still no custom ROM out !!! Or we have to wait official TWRP and Lineage !
Click to expand...
Click to collapse
lots of treble /ab partition roms here https://forum.xda-developers.com/project-treble/trebleenabled-device-development
LUNARIO said:
lots of treble /ab partition roms here https://forum.xda-developers.com/project-treble/trebleenabled-device-development
Click to expand...
Click to collapse
So we have to try witch is stable for daily drive for our device ???
all treble a/b ones should work with treble no need for custom roms for a specific device
LUNARIO said:
all treble a/b ones should work with treble no need for custom roms for a specific device
Click to expand...
Click to collapse
But are all of them notch friendly?
LUNARIO said:
all treble a/b ones should work with treble no need for custom roms for a specific device
Click to expand...
Click to collapse
"should", most if not all treble roms have some bugs (e.g. camera) and it is not compareable to a custom rom built and optimized for a device (in terms of battery life, sot, perf, device specific mods and kernel optimizations,xiaomi did not build into theyr stock kernel).
I'm currently trying to build kernel source from xiaomi (with uber 4.9 TC) but get the following error:
"include/trace/events/msm_cam.h:19:21: fatal error: msm_isp.h: no such file or directory" though msm_isp.h is in the correct include folder. Found other kernel sources (oneplus5) with same problem which was solved by building the kernel inline (with oneplus oss aosp). Xiaomi does however, not provide a rom source. If anyone with more experience than me (i'm noob, also i dont work anything related to informatics/programming) could help this would be great.
edit: Building seems to work by defining output directory (make O=out <command>)
d1ngh said:
official twrp is in the works, lineage should come soon after
Click to expand...
Click to collapse
wow, i cant wait!
i need working twrp to backup my current rom
just habit to have backup
i feel something missing when there's no twrp
About treble:
Unfortunately Havoc 9 gsi isn´t booting... Benzo works!
Voodoojonny said:
About treble:
Unfortunately Havoc 9 gsi isn´t booting... Benzo works!
Click to expand...
Click to collapse
Bugs on Benzo rom ???
---------- Post added at 12:58 PM ---------- Previous post was at 12:57 PM ----------
I'm waiting official TWRP, or simply a working TWRP build to try GSI.
foudroid said:
Bugs on Benzo rom ???
---------- Post added at 12:58 PM ---------- Previous post was at 12:57 PM ----------
I'm waiting official TWRP, or simply a working TWRP build to try GSI.
Click to expand...
Click to collapse
- Camera and flashlight -> can´t copy libs, since twrp´s not working...
- Wifi and hotspot working! And it seems everything else
- damn smooth but broken camera is a dealbreaker
Voodoojonny said:
- Camera and flashlight -> can´t copy libs, since twrp´s not working...
- Wifi and hotspot working! And it seems everything else
- damn smooth but broken camera is a dealbreaker
Click to expand...
Click to collapse
AEX and arrow are also good ROM.you can try them !
foudroid said:
AEX and arrow are also good ROM.you can try them !
Click to expand...
Click to collapse
Did you test any of them?
Now I firstly test RR O...
Sorry to kinda thread hijack the thread hijack, but I made a thread for Treble/GSI ROMs and people's experiences with them here: https://forum.xda-developers.com/mi-a2-lite/how-to/using-gsi-how-experiences-gsis-using-t3838186
I'm still on stock for now, but I'm hoping some others could contribute to that thread! I will take some time at a later date to format the original post and add links ROMs that people have tried, and disclose what they report works and what doesn't.
Thank you <3

Categories

Resources