[LineageOS building] source code organisation - LineageOS News & Discussion

Hello,
I'm looking for some help to understand better Lineage OS 14.1 source code organization...
For instance I'm looking for default settings, and after a few hours I can't find where parameters such as "display_temperature_night" are "stored" or generated at build time in the source code repository.
In running LineageOS, I could find them in /user_de/0/org.cyanogenmod.cmsettings/databases/cmsettings.db)
Is there anyone with sufficient knowledge who could help me?

leaglavud said:
Hello, I'm looking for some help to understand better Lineage OS 14.1 source code organization...
Click to expand...
Click to collapse
There's tons of Guides, Tutorials, etc... for building the LineageOS.
This is a few of them that you can refer to and ask for assistance with for your development.
https://forum.xda-developers.com/showthread.php?t=2814763
https://forum.xda-developers.com/showthread.php?t=3551484
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.
PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE

Well Done I hear lots of nice comments especially for the second buld ,but unfortunately I can only find the one dated september,any links please really eager to run it. Keep up your good work and Thanks.

Ibuprophen said:
There's tons of Guides, Tutorials, etc... for building the LineageOS.
This is a few of them that you can refer to and ask for assistance with for your development.
https://forum.xda-developers.com/showthread.php?t=2814763
https://forum.xda-developers.com/showthread.php?t=3551484
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.
PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Click to expand...
Click to collapse
There are many guides on how to build LineageOS with sources, but how about the people without sources? How are they supposed to build?
This question kind of targets me, because I never tried building and I have no devices that are supported officially and unofficially.

Related

LineageOS development [unofficial][To-Start]

Okay people, i know things do not look very good for this device, and yeah, we all are frustrated with the fact that no one is building any good rom(except this Resurrection Remix(on http://forum.le.com/in)) for this device.
I am thinking of trying to build the LineageOS for this device.
I am new to building roms, I have not developed any rom before, so this will be my very first experience.
I would very much appreciate any help that any of you may offer regarding any thing.
Be it any tutorial/guide, source codes, testers, or any thing else you have in mind.
I would be downloading the sources today and will look around for tutorials for porting roms with source code that i already have (thanks to that resurrection remix ROM dev 19wisnia89(on http://forum.le.com/in)).
I would also be contacting other devs of other devices for any help regarding the porting process and stuff.
If you know these stuff and would not mind helping me out, it would be very nice.
Please quote me on the reply here or PM me with anything here
Note: I would be needing testers because i don't quite own the device for myself, it's my mother's and i can't risk tempering with it, but I still want it to have a dev support.
All the best for the success, I also tried to compile the kernel and the source code is working completely fine without any modification but I was confused about the process of building the android So I will always help you whenever needs my help. and if you can guide me to building guide then i will also love to try that.
sscsps said:
Okay people, i know things do not look very good for this device, and yeah, we all are frustrated with the fact that no one is building any good rom(except this Resurrection Remix(on http://forum.le.com/in)) for this device.
I am thinking of trying to build the LineageOS for this device.
I am new to building roms, I have not developed any rom before, so this will be my very first experience.
I would very much appreciate any help that any of you may offer regarding any thing.
Be it any tutorial/guide, source codes, testers, or any thing else you have in mind.
I would be downloading the sources today and will look around for tutorials for porting roms with source code that i already have (thanks to that resurrection remix ROM dev 19wisnia89(on http://forum.le.com/in)).
I would also be contacting other devs of other devices for any help regarding the porting process and stuff.
If you know these stuff and would not mind helping me out, it would be very nice.
Please quote me on the reply here or PM me with anything here
Note: I would be needing testers because i don't quite own the device for myself, it's my mother's and i can't risk tempering with it, but I still want it to have a dev support.
Click to expand...
Click to collapse
all the best...we are here for testing!!
sscsps said:
Okay people, i know things do not look very good for this device, and yeah, we all are frustrated with the fact that no one is building any good rom(except this Resurrection Remix(on http://forum.le.com/in)) for this device.
I am thinking of trying to build the LineageOS for this device.
I am new to building roms, I have not developed any rom before, so this will be my very first experience.
I would very much appreciate any help that any of you may offer regarding any thing.
Be it any tutorial/guide, source codes, testers, or any thing else you have in mind.
I would be downloading the sources today and will look around for tutorials for porting roms with source code that i already have (thanks to that resurrection remix ROM dev 19wisnia89(on http://forum.le.com/in)).
I would also be contacting other devs of other devices for any help regarding the porting process and stuff.
If you know these stuff and would not mind helping me out, it would be very nice.
Please quote me on the reply here or PM me with anything here
Note: I would be needing testers because i don't quite own the device for myself, it's my mother's and i can't risk tempering with it, but I still want it to have a dev support.
Click to expand...
Click to collapse
If you are on Telegram(app)
you could join us few devs and testers in this group and ask for anything you need
here is invite & join link:
https://t.me/joinchat/AAAAAEEHPrwCrEYn3uf6BA
Abhi_ said:
hey i first want you to tell me what you know about building?
Because you have mentioned you will look around for porting roms,etc.
I hope you know how linux works.
That's it
if you have queries feel free to ask
If you are on Telegram(app)
you could join us few devs and testers in this group and ask for anything you need
here is invite & join link:
https://t.me/joinchat/AAAAAEEHPrwCrEYn3uf6BA
Click to expand...
Click to collapse
I have gone through the porting guide on CM wiki(through archive.org) a couple of times and a few more places, I have not downloaded the source code of Lineage os, but I have source code of cm13, so i'll build it first,

Request for senior members

Hi all,
Iam actually interested in building ROM's, porting rom's and features to contribute to the community. But one of the major hurdle is finding right resources and right testing methods. So I would like to request senior members with some experience in porting ROM, multi rom, TWRP etc., to please create a tutorial or even provide few sources where a newbie can learn about ROM development. If not a tutorial, please just publish the methods you followed during the developments you have made. This would help the community by easing the pressure on currently limited good developers. Thanks in advance.:good:
https://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763/page1
Heyyo, actually a good guide would be to check out OmniROM wiki. They have a guide to porting ROMs from other ROMs to theirs. Otherwise? Please check the commit history of any rom that the LeEco Le Max 2 has been ported to.
https://github.com/omnirom/Docs/blob/master/Porting_Omni_To_Your_Device.md
Of course, every ROM is different so for other ROMs hopefully they have a guide otherwise you'd have to check commit history of other devices and see what they had to change.
You can also find a lot of the recent work the Le Max 2 community has done on here for device, kernel and vendor.
https://github.com/x2-devel
ThE_MarD said:
Heyyo, actually a good guide would be to check out OmniROM wiki. They have a guide to porting ROMs from other ROMs to theirs. Otherwise? Please check the commit history of any rom that the LeEco Le Max 2 has been ported to.
https://github.com/omnirom/Docs/blob/master/Porting_Omni_To_Your_Device.md
Of course, every ROM is different so for other ROMs hopefully they have a guide otherwise you'd have to check commit history of other devices and see what they had to change.
You can also find a lot of the recent work the Le Max 2 community has done on here for device, kernel and vendor.
https://github.com/x2-devel
Click to expand...
Click to collapse
I can't recommend the omni way to build. It's harder for a newbie to build omni other then lineage. At least that's my opinion
---------- Post added at 03:13 PM ---------- Previous post was at 03:11 PM ----------
sarkars said:
Hi all,
Iam actually interested in building ROM's, porting rom's and features to contribute to the community. But one of the major hurdle is finding right resources and right testing methods. So I would like to request senior members with some experience in porting ROM, multi rom, TWRP etc., to please create a tutorial or even provide few sources where a newbie can learn about ROM development. If not a tutorial, please just publish the methods you followed during the developments you have made. This would help the community by easing the pressure on currently limited good developers. Thanks in advance.:good:
Click to expand...
Click to collapse
https://wiki.lineageos.org/devices/x2/build
Here's the link to build lineage specially for our device. If you have any problems, pm me. I can guide you through the whole process to build a rom. I started from nothing and learned how to build roms with help from great people so it's not that hard

Will Navigation bar/ hardware keys option come back in los 15.1?

i need this button remapper because i can't open TB menu (not preference)
jerryshaw12 said:
i need this button remapper because i can't open TB menu (not preference)
Click to expand...
Click to collapse
That's a great question!
If I were to inquire about any new features, for the LineageOS 15.1, i would probably ask one of 2 ways.
1) According to the following information, on the LineageOS Official site, the Lineage team does monitor IRC and Reddit and may answer your question there.
https://www.lineageos.org/community/
2) Try searching the forum for an Unofficial release of LineageOS 15.1 and ask this question in a more "General" way if you don't have that device. The following is just 1 out of many of them.
https://forum.xda-developers.com/showthread.php?t=3591152
There are a good portion of the Official LineageOS Developers that does monitor the XDA Forum but, not all of them since they don't have it announced on their website.
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.
PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Ibuprophen said:
That's a great question!
If I were to inquire about any new features, for the LineageOS 15.1, i would probably ask one of 2 ways.
1) According to the following information, on the LineageOS Official site, the Lineage team does monitor IRC and Reddit and may answer your question there.
https://www.lineageos.org/community/
2) Try searching the forum for an Unofficial release of LineageOS 15.1 and ask this question in a more "General" way if you don't have that device. The following is just 1 out of many of them.
https://forum.xda-developers.com/showthread.php?t=3591152
There are a good portion of the Official LineageOS Developers that does monitor the XDA Forum but, not all of them since they don't have it announced on their website.
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.
PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Click to expand...
Click to collapse
sadly, they wont approve feature request
Ibuprophen said:
That's a great question!
If I were to inquire about any new features, for the LineageOS 15.1, i would probably ask one of 2 ways.
1) According to the following information, on the LineageOS Official site, the Lineage team does monitor IRC and Reddit and may answer your question there.
https://www.lineageos.org/community/
2) Try searching the forum for an Unofficial release of LineageOS 15.1 and ask this question in a more "General" way if you don't have that device. The following is just 1 out of many of them.
https://forum.xda-developers.com/showthread.php?t=3591152
There are a good portion of the Official LineageOS Developers that does monitor the XDA Forum but, not all of them since they don't have it announced on their website.
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.
PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Click to expand...
Click to collapse
https://redd.it/7pki36
jerryshaw12 said:
sadly, they wont approve feature request
Click to expand...
Click to collapse
jerryshaw12 said:
https://redd.it/7pki36
Click to expand...
Click to collapse
I apologize then...
I was just providing some options for you in regards to getting a question asked regarding LineageOS features.
Most (not all) features can be accomplished via a traditional App, XPosed Module App or some other forms of tweaking a device.
I do wish you the best of luck!
~~~~~~~~~~~~~~~
I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.
PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Ibuprophen said:
I apologize then...
I was just providing some options for you in regards to getting a question asked regarding LineageOS features.
Most (not all) features can be accomplished via a traditional App, XPosed Module App or some other forms of tweaking a device.
I do wish you the best of luck!
~~~~~~~~~~~~~~~
I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.
PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
Click to expand...
Click to collapse
if only gravity box available for oreo (both 8.0 and 8.1) hmmm

Youtube slow down/audio desync with latest LOS 14.1 update

Hi there!
I have recently downloaded and flashed the latest iteration of Lineage OS 14.1 2018-01-25 for the klte version of the S5.
I am experiencing considerable slow downs and audio/video desync while watching Youtube videos.
I have tried forcing gpu rendering in the developer options and reinstalling Youtube without luck.
Any suggestions?
Cyanogengod said:
Hi there! I have recently downloaded and flashed the latest iteration of Lineage OS 14.1 2018-01-25 for the klte version of the S5. I am experiencing considerable slow downs and audio/video desync while watching Youtube videos. I have tried forcing gpu rendering in the developer options and reinstalling Youtube without luck. Any suggestions?
Click to expand...
Click to collapse
your best bet is to post this question within the following Official LineageOS thread for the klte.
https://forum.xda-developers.com/showthread.php?t=3476433
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
That area seems to be inactive, though.
Ibuprophen said:
your best bet is to post this question within the following Official LineageOS thread for the klte.
https://forum.xda-developers.com/showthread.php?t=3476433
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Click to expand...
Click to collapse
Thanks for the advice, I did.
Would you happen to have some general knowledge of this issue?
Cyanogengod said:
Thanks for the advice, I did. Would you happen to have some general knowledge of this issue?
Click to expand...
Click to collapse
I personally have not had this specific issue...
I'm not sure if this is tied specifically to LineageOS or something else.
If all else fails regarding no response from the LineageOS thread (i typically recommended waiting a week to 10 days but, this is only a recommendation), you can try posting your question within the following Q&A thread that's specific to your device.
https://forum.xda-developers.com/showthread.php?t=2700073
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Ibuprophen said:
I personally have not had this specific issue...
I'm not sure if this is tied specifically to LineageOS or something else.
If all else fails regarding no response from the LineageOS thread (i typically recommended waiting a week to 10 days but, this is only a recommendation), you can try posting your question within the following Q&A thread that's specific to your device.
https://forum.xda-developers.com/showthread.php?t=2700073
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Click to expand...
Click to collapse
I am chronically impatient so I decided to take drastic measures. I flashed a custom kernel, tweaked some settings and overclocked the CPU/GPU a bit. I am now testing whether the issue has been resolved.

Update problems N2awifi/Picassowifi

Hello there,
On my Samsung Galaxy Tab Pro 10.1 wifi runs Lineage OS, but unfortunately the build in updater does not work properly with latest TWRP version available for the device (3.1.1-0).
It's possible to download the update, but when I try to install the update, it says "installation error" and nothing happens.
Manual installation via recovery works fine, but it's stressful to update it manually every week.
Does anyone know how to solve this problem?
Have a nice day!
TobiPeter said:
Hello there, On my Samsung Galaxy Tab Pro 10.1 wifi runs Lineage OS, but unfortunately the build in updater does not work properly with latest TWRP version available for the device (3.1.1-0)...
Click to expand...
Click to collapse
I don't have this device but, the following thread may be helpful for obtaining some member guidance within it for your issue.
https://forum.xda-developers.com/showthread.php?t=3087451
It's not uncommon for either a LineageOS thread not to be posted or the OP Dev not to update a threads title from CyanogenMod to LineageOS...
The following thread is an official CyanogenMod thread that looks, to me, as continuing its discussion for the LineageOS for your device. Don't be afraid to ask for some member guidance within it too.
https://forum.xda-developers.com/showthread.php?t=3256093
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Ibuprophen said:
I don't have this device but, the following thread may be helpful for obtaining some member guidance within it for your issue.
https://forum.xda-developers.com/showthread.php?t=3087451
It's not uncommon for either a LineageOS thread not to be posted or the OP Dev not to update a threads title from CyanogenMod to LineageOS...
The following thread is an official CyanogenMod thread that looks, to me, as continuing its discussion for the LineageOS for your device. Don't be afraid to ask for some member guidance within it too.
https://forum.xda-developers.com/showthread.php?t=3256093
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Click to expand...
Click to collapse
Thank you very much!
TobiPeter said:
Thank you very much!
Click to expand...
Click to collapse
Not a problem at all!
Just remember that those threads i had provided are all located within the following area of the forum...
https://forum.xda-developers.com/galaxy-tab-pro-12-10-8
... but, that area is also inclusive for the Galaxy Tab Pro 12.2 & 8.4 as well.
Just be sure that you know that whatever it is you're doing is either specific or inclusive to your device.
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.

Categories

Resources