How Lineage OS build is possible without the kernel? - Xiaomi Mi 6 Questions & Answers

I'm quite new to Snapdragon SoC's and coming from a MediaTek one, having some trouble to understand the concept of kernel in Lineage OS build.
ASAIK, Mi6 isn't a supported device (yet )
As Xiaomi also hasn't released the kernel source, how is the unofficial Lineage OS build made?
Also from where @xiaobai112220 got this kernel source?
https://github.com/thune-xiaobai/android_device_xiaomi_sagit
Thanks for any help in this regard.

i think its a "generic"

jamius19 said:
I'm quite new to Snapdragon SoC's and coming from a MediaTek one, having some trouble to understand the concept of kernel in Lineage OS build.
ASAIK, Mi6 isn't a supported device (yet )
As Xiaomi also hasn't released the kernel source, how is the unofficial Lineage OS build made?
Also from where @xiaobai112220 got this kernel source?
https://github.com/thune-xiaobai/android_device_xiaomi_sagit
Thanks for any help in this regard.
Click to expand...
Click to collapse
No, Xiaomi released the kernel sources for Mi6 few days ago.

Related

LineageOS FAQ

LineageOS FAQ​
Why did Cyanogenmod end?
This statement from the CyanogenMod team explains where the company is headed from here. As far as why they has to discontinue Cyanogenmod:
The company is downsizing and will focus on a new project (the “Cyanogen Modular OS” program), and they are merely cutting off services that they believe they can no longer maintain. As a part of their consolidation, the company announced that many of their employees, including Cyanogen (Steve Kondik) himself, would part ways with the company.
Click to expand...
Click to collapse
-Mishaal Rahman
What about nightlies?
As of 12.13.16 all cyanogen nightlies will no longer be supported.
As part of the ongoing consolidation of Cyanogen, all services and Cyanogen-supported nightly builds will be discontinued no later than 12/31/16. The open source project and source code will remain available for anyone who wants to build CyanogenMod personally.
Click to expand...
Click to collapse
What is LineageOS?
LineageOS is the successor to the popular CyanogenMod ROM. With an emphasis on openness, community development, and improvement of the stock Android experience, CyanogenMod supported dozens of devices officially with nightly updates, and unofficially, by the efforts of developers in the community, dozens more devices. LineageOS intends to pick up where CyanogenMod left off, but with a redoubled focus on being a grassroots community-focused development effort.
Where can I find LineageOS Builds?
We have not started doing official builds yet. One of the benefits of this being an open source project is that anyone can build it, but please be careful flashing builds you’ve downloaded from other sources. We will have some more information on when weeklies (or possibly nightlies) will be starting soon.
Click to expand...
Click to collapse
When builds of LineageOS start to show up, you can expect them to pick up right where Cyanogenmod left off and be nearly identical to the latest CM builds.
How can I participate?
LineageOS is looking for people to build slaves and build mirrors. If you have hosting resources that meet these requirements, then you can contact them here.
I will be updating this FAQ as more information comes out about LineageOS.
I loved cyanogenmod, i hope lineageOS keeps up cheers ! waiting for a build for Oneplus 3
So this may sound terrible dumb but I didn't find a clear answer around here, is Lineage based on 7.0?
toy203 said:
So this may sound terrible dumb but I didn't find a clear answer around here, is Lineage based on 7.0?
Click to expand...
Click to collapse
There is one based on 6.0.1 and one based on 7.1.1
What Lineage Os could do for CAF roms? Without cyanogen inc, CAF support will die, isn't?
Inviato dal mio LG-H850 utilizzando Tapatalk
Is lineageOs OFFICIAL rom released?
zeitdroid said:
What Lineage Os could do for CAF roms? Without cyanogen inc, CAF support will die, isn't?
Inviato dal mio LG-H850 utilizzando Tapatalk
Click to expand...
Click to collapse
CAF ROMs have nothing to do with Cyanogen Inc. Anyone can build their own ROM using CAF (Code Aurora Forum) which is led by Qualcomm.
---------- Post added at 15:21 ---------- Previous post was at 15:19 ----------
Akila.Kuku said:
Is lineageOs OFFICIAL rom released?
Click to expand...
Click to collapse
Not yet, but it will be sooner or later. Mostly waiting for proper infrastructure for build servers.
toy203 said:
So this may sound terrible dumb but I didn't find a clear answer around here, is Lineage based on 7.0?
Click to expand...
Click to collapse
It's based on 7.1.1 actually.
not released at time.
1. Did anyone offer servers for Lineage? (XDA)
2.With devices will have official support?
dj_chapz said:
CAF ROMs have nothing to do with Cyanogen Inc. Anyone can build their own ROM using CAF (Code Aurora Forum) which is led by Qualcomm.
---------- Post added at 15:21 ---------- Previous post was at 15:19 ----------
Not yet, but it will be sooner or later. Mostly waiting for proper infrastructure for build servers.
Click to expand...
Click to collapse
Well :good:
there are so many unofficial lineageOS and cm, so which UNOFFICIAL lineageOS can we use among them as official rom?
i'm disappointed because the redmi 2 and the redmi 1 have roms before de mi3 i mean.... come on..
also still the same ui as cm14 the only new is the logo. well like shibba quote me in the lineage page.
I understand this disappointment which is because of too much of expectation from LineageOS. You need to understand that hundreds and thousands of developers are working on LineageOS to make it up and running even compromising their Christmas and New year celebration for this year just to make all of us happy.
Rebranding CyanogenMod to LineageOS is important. At this point of time it is necessary to make the infrastructure stable and hence most of them will be concentrating on that part while other individual developers contributing to the device tree they support which is eventually slowing the overall development process of LineageOS as a whole.
For now yes it will be no different to CyanogenMod but eventually you will get new features added to it. I hope you understand the complete picture.
Click to expand...
Click to collapse
What are the special different between cm13 official and lineageOs 14.1 unofficial?
Akila.Kuku said:
What are the special different between cm13 official and lineageOs 14.1 unofficial?
Click to expand...
Click to collapse
You have to read more I guess.
CyanogenMod 13 Official = Android 6 rom supported by cyanogenmod (Lineage now) and receiving nightly via ota,directly from them.
LineageOS 14.1 Unofficial= Android 7.1.1. supporting by developers here in XDA merget by the code same as official versions.
Theres two different versions of android.It's unofficial when its not realised by lineageOS team.Anyway a lot of devs here making unofficial builds which are very stable as daily drive.When come official builds again u will be able to recive them over OTA.
mefistoreyon said:
You have to read more I guess.
CyanogenMod 13 Official = Android 6 rom supported by cyanogenmod (Lineage now) and receiving nightly via ota,directly from them.
LineageOS 14.1 Unofficial= Android 7.1.1. supporting by developers here in XDA merget by the code same as official versions.
Theres two different versions of android.It's unofficial when its not realised by lineageOS team.Anyway a lot of devs here making unofficial builds which are very stable as daily drive.When come official builds again u will be able to recive them over OTA.
Click to expand...
Click to collapse
got it.
https://www.androidfilehost.com/?fid=457095661767124569 is this one be better than cm13 official one?
Akila.Kuku said:
https://www.androidfilehost.com/?fid=457095661767124569 is this one be better than cm13 official one?
Click to expand...
Click to collapse
I can't try as preformance, battery drive because is probably for not my device BUT. I would say yes, for me personally CM/LineageOS official or unofficial is much better than cm 13. Better battery life and preformance. Yeah, well Facebook is little bit buggy but I guess need time to be optimized for Android 7.
mefistoreyon said:
I can't try as preformance, battery drive because is probably for not my device BUT. I would say yes, for me personally CM/LineageOS official or unofficial is much better than cm 13. Better battery life and preformance. Yeah, well Facebook is little bit buggy but I guess need time to be optimized for Android 7.
Click to expand...
Click to collapse
Well :good: understood. I am testing it properly. I think so it will be better.
Thanks for helping
Cyanogenmod14 vs lineageOS14 (both of them are UNOFFICIAL builds)
Wich one is better than other one between those?
Or are both of them 100% similar?
Bugs are normal in testing roms
Sent from my Moto G4 Play using XDA Labs

Official lineage os 16 for mi 6?

@demon000 lineage os 15.1 is a very good rom but now with pie have been mergen lots of patches, useful features and more...
there is already an unofficial build but it could be better official supported builds weekly with eas and f2fs merged
hope in your answer
if there are any ready developers to build official 16, it will be amazing :good:
there is (almost) no difference between official and unoffical. what do you expect from official los?
according to your forum posting history, you change your rom almost everyday - give your new rom a chance - make at least a one-week test run!
Axendo said:
there is (almost) no difference between official and unoffical. what do you expect from official los?
according to your forum posting history, you change your rom almost everyday - give your new rom a chance - make at least a one-week test run!
Click to expand...
Click to collapse
its hard to find the perfect rom for mi 6
im looking for best smoothness and gaming. i like ios smoothness but iphone is to much secure and cant be rooted/jailbreaked easly
Alessandro999 said:
@demon000 lineage os 15.1 is a very good rom but now with pie have been mergen lots of patches, useful features and more...
there is already an unofficial build but it could be better official supported builds weekly with eas and f2fs merged
hope in your answer
if there are any ready developers to build official 16, it will be amazing :good:
Click to expand...
Click to collapse
Well, i guess i can tell that xiaomi msm8998 is pretty close to it's official lineage 16.0 release. You shouldn't expect that it somehow runs better then the unofficial variant obviously. Stay tuned

Why there is no Oxygen OS unnoficial rom for our OP3T ?

Hello guys,
There is a lot of customs roms for our OP3T but why there is no Oxygen OS roms unnoficial (based on the latest OOS build) for our OP3T, since OOS is a very good os, i don't understand.
It's not possible ?
Thanks guys
There are OOS based ROMs such as theOne3OS, Experience etc. They have mostly been debloated versions of the official ROM with some baked-in enhancements like Magisk modules. There are no OOS ROMs based on Android 10 AFAIK. Not sure how difficult it is to port stable official Android 10 ROMs from other OnePlus devices.
Nixeus2 said:
Hello guys,
There is a lot of customs roms for our OP3T but why there is no Oxygen OS roms unnoficial (based on the latest OOS build) for our OP3T, since OOS is a very good os, i don't understand.
It's not possible ?
Thanks guys
Click to expand...
Click to collapse
OOS is closed source - nobody (but OnePlus) has source code for. The non-OOS custom roms are source build (aosp and caf open source based). The OOS based roms are just repacks of the original OOS. OOS is no longer supported for op3/t - after OOS 9.0.6 there is nothing to repack.
Like the others said repacks are availible, if you want to try to run a newer oxygen os version than is officially availible you have the biggest chance with the unofficial gsi support route and a oxygenos gsi rom. But i don't expect it to work well so only do it if you enjoy tinkering with your phone and are an experienced flasher who has the neccesary backups.
OneUi is closed source too.
Why have old galaxy phones OneUi-costum rom from new galaxy Devices?
Keyvannn said:
OneUi is closed source too.
Why have old galaxy phones OneUi-costum rom from new galaxy Devices?
Click to expand...
Click to collapse
Hard to say on this general basis. Maybe gsi.
I suggest you read the threads of such roms and ask the dev if those threads doesn't answer your question.
Then you can do the same for oos. I'm sure many people will appriciate your work.

Confused: Why 32bit only OS on Moto G5 64bit hardware?

Hi!
If I understand things correctly, my Moto G5 phone is born with an Android OS version that only accepts 32bit code, although the hardware is 64bit?
Why did Moto do that? It sounds like selling a car with a 6 or 8 cylinders engine, and only use 4 of them...?!
And on top of that, I discovered they stopped updating that (primitive 32bit) Android 8.1.0 OS in February 2019...
Should I switch to a custom 64bit ROM? NB!: Stability and robustness is more important to me than fancy new features...!
I found 2 lists of 'Best ROMs for Moto G5'. The shortest recommends 8 here:
https://romsx.com/best-custom-roms-for-moto-g5/
So which should I choose?
NB: Moto G5 only has 16 GB.
Hero002 said:
Hi!
If I understand things correctly, my Moto G5 phone is born with an Android OS version that only accepts 32bit code, although the hardware is 64bit?
Why did Moto do that? It sounds like selling a car with a 6 or 8 cylinders engine, and only use 4 of them...?!
And on top of that, I discovered they stopped updating that (primitive 32bit) Android 8.1.0 OS in February 2019...
Should I switch to a custom 64bit ROM? NB!: Stability and robustness is more important to me than fancy new features...!
I found 2 lists of 'Best ROMs for Moto G5'. The shortest recommends 8 here:
https://romsx.com/best-custom-roms-for-moto-g5/
So which should I choose?
NB: Moto G5 only has 16 GB.
Click to expand...
Click to collapse
You will have to ask Motorola for the answer to the first part
As for custom 64bit roms:
Lineage 17.1
Lineage mint (based on lineage 17.1)
ASOP android 10
Are the latest custom roms for this device (see dev section)
All will have the same issue with regards to camera/video recording not working fully
TheFixItMan said:
You will have to ask Motorola for the answer to the first part
As for custom 64bit roms:
Lineage 17.1
Lineage mint (based on lineage 17.1)
ASOP android 10
Are the latest custom roms for this device (see dev section)
All will have the same issue with regards to camera/video recording not working fully
Click to expand...
Click to collapse
Thank you for your reply!
But what about ROMs that have been more tested in real life, where camera and video etc. work?
Yes - it is Motorola that should answer my first questions. I don't expect any answer from them... But others might have a comment...
Hero002 said:
Thank you for your reply!
But what about ROMs that have been more tested in real life, where camera and video etc. work?
Yes - it is Motorola that should answer my first questions. I don't expect any answer from them... But others might have a comment...
Click to expand...
Click to collapse
All 64bit roms will have the camera issue as Motorola have not released updated camera libs
The roms I listed above are the latest roms which will have the camera bug minimised but you will still experience issues in some apps like only being able to take a certain amount of photos before the app freezes, camera not working in low light, green tint, video not recording/saving and so on. You can use various other apps but nothing is perfect and you may still experience issues
The only fully functioning custom rom with no bugs will be the 32bit lineage 14.1
TheFixItMan said:
All 64bit roms will have the camera issue as Motorola have not released updated camera libs
The roms I listed above are the latest roms which will have the camera bug minimised but you will still experience issues in some apps like only being able to take a certain amount of photos before the app freezes, camera not working in low light, green tint, video not recording/saving and so on. You can use various other apps but nothing is perfect and you may still experience issues
The only fully functioning custom rom with no bugs will be the 32bit lineage 14.1
Click to expand...
Click to collapse
That is the most useful information I have yet seen about custom ROMs - thank you!
But according to https://forum.xda-developers.com/g5/development/7-1-x-lineageos-14-1-moto-g5-t3611973 LineageOS 14.1 for Moto G5 is:
ROM OS Version: 7.1.x Nougat
Last Updated 2018-03-18
And the 'stock' OS on my Moto G5 is Android 8.1.0 updated in February 2019.
My intention was to UPgrade my OS, not DOWNgrade it... !
So THAT LineageOS 14.1 doesn't really seem relevant.
And on https://download.lineageos.org/ there doesn't seem to be a version for Moto G5(?) There are versions for G4 and G6, but not G5. (Neither under Lenovo - the actual producer.)
But thanks anyway!
Hero002 said:
That is the most useful information I have yet seen about custom ROMs - thank you!
But according to https://forum.xda-developers.com/g5/development/7-1-x-lineageos-14-1-moto-g5-t3611973 LineageOS 14.1 for Moto G5 is:
ROM OS Version: 7.1.x Nougat
Last Updated 2018-03-18
And the 'stock' OS on my Moto G5 is Android 8.1.0 updated in February 2019.
My intention was to UPgrade my OS, not DOWNgrade it... !
So THAT LineageOS 14.1 doesn't really seem relevant.
And on https://download.lineageos.org/ there doesn't seem to be a version for Moto G5(?) There are versions for G4 and G6, but not G5. (Neither under Lenovo - the actual producer.)
But thanks anyway!
Click to expand...
Click to collapse
Only official versions will be on the lineageos website
There is no difference between an official and unofficial version except the official versions are built on the lineage servers every week with any lineage side changes (not device side unless merged by maintainer)
However official versions have to meet certain criteria in terms of everything that works in stock rom must work in the unofficial lineage build submitted to become official.
As the camera doesn't work as it does in stock in lineage 17.1 it will never become official in its current state
They are listed under Motorola because that is the company that makes the phones
Lenovo is the parent company that owns Motorola
TheFixItMan said:
Only official versions will be on the lineageos website
There is no difference between an official and unofficial version except the official versions are built on the lineage servers every week with any lineage side changes (not device side unless merged by maintainer)
However official versions have to meet certain criteria in terms of everything that works in stock rom must work in the unofficial lineage build submitted to become official.
As the camera doesn't work as it does in stock in lineage 17.1 it will never become official in its current state
They are listed under Motorola because that is the company that makes the phones
Lenovo is the parent company that owns Motorola
Click to expand...
Click to collapse
Thank you.
But I am not 100% sure about whether you are confirming that the stock ROM on Moto G5 is the newest available Android OS version where everything works?
Hero002 said:
Thank you.
But I am not 100% sure about whether you are confirming that the stock ROM on Moto G5 is the newest available Android OS version where everything works?
Click to expand...
Click to collapse
Stock rom will be the latest os version where everything works 100%
All 64bit custom roms have camera issues due to no updated propriety sources
TheFixItMan said:
Stock rom will be the latest os version where everything works 100%
All 64bit custom roms have camera issues due to no updated proprietary sources
Click to expand...
Click to collapse
That's sad.
So when I want to buy a phone in the future:
Which other smart phone brands will probably not leave their customers with 'a choice between plague or cholera'...?
Hero002 said:
That's sad.
So when I want to buy a phone in the future:
Which other smart phone brands will probably not leave their customers with 'a choice between plague or cholera'...?
Click to expand...
Click to collapse
Samsung will have the most community support as they are the most popular phones
Google pixel will obviously have longevity
Xiaomi might be the best budget choice other than later Motorola models

Question Why we still don't have LineageOS 19?

Why we still don't have LineageOS 19?
What is missing ?
I asked luk and he told me build quality is not enough good in his opinion (that was month ago)
A couple Asus and Pixels got it so far, according to this post.
https://www.xda-developers.com/lineageos-19-android-12/
Kernel source is here but, judging by the performance of the stock rom, it's probably not great as a stable base :
GitHub - OnePlusOSS/android_kernel_oneplus_sm8350 at oneplus/SM8350_S_12.0_9Pro
Contribute to OnePlusOSS/android_kernel_oneplus_sm8350 development by creating an account on GitHub.
github.com
OnePlus themselves seem to have been pushing 12.1 to earlier models and are probably just going to go for a better Android 13 experience for the 9/10 models.
Even Google has made a mess of Android 12 on their own Pixels.
You can always check the OnePlus github at the url above and search for the chipset which you can confirm using the GSMArena page for the phone :
OnePlus 9 Pro - Full phone specifications
www.gsmarena.com
When you do, you'll see the latest revisions pushed by OnePlus along with the Android base, SM8350_S_12.0 in the above case. If you don't see the current version then there's no kernel source pushed by OnePlus which means custom rom modders need to try using previous kernel source. That's why all the Android 12 roms have been using the Android 11 kernel and why the phone had to have OxygenOS 11 before flashing
djsubterrain said:
Kernel source is here but, judging by the performance of the stock rom, it's probably not great as a stable base :
GitHub - OnePlusOSS/android_kernel_oneplus_sm8350 at oneplus/SM8350_S_12.0_9Pro
Contribute to OnePlusOSS/android_kernel_oneplus_sm8350 development by creating an account on GitHub.
github.com
OnePlus themselves seem to have been pushing 12.1 to earlier models and are probably just going to go for a better Android 13 experience for the 9/10 models.
Even Google has made a mess of Android 12 on their own Pixels.
You can always check the OnePlus github at the url above and search for the chipset which you can confirm using the GSMArena page for the phone :
OnePlus 9 Pro - Full phone specifications
www.gsmarena.com
When you do, you'll see the latest revisions pushed by OnePlus along with the Android base, SM8350_S_12.0 in the above case. If you don't see the current version then there's no kernel source pushed by OnePlus which means custom rom modders need to try using previous kernel source. That's why all the Android 12 roms have been using the Android 11 kernel and why the phone had to have OxygenOS 11 before flashing
Click to expand...
Click to collapse
thats why custom A12 roms, still need stock A11 firmware ?
GabrielSousa said:
thats why custom A12 roms, still need stock A11 firmware ?
Click to expand...
Click to collapse
Until now yes but judging by what was said above, even the A12 kernel isn't up to scratch for custom roms.

Categories

Resources