FORUMS
Remove All Ads from XDA

✦✦✦ [GUIDE] Build LineageOS ✦ How To use Github ✦✦✦

3,021 posts
Thanks Meter: 3,988
 
By FSadino, Forum Moderator on 6th February 2017, 02:26 AM
Post Reply Email Thread
23rd February 2019, 05:56 PM |#431  
sinholueiro's Avatar
Senior Member
Thanks Meter: 21
 
More
I'm building LOS15.1 to Xiaomi Redmi 5 Plus (Vince). I'm getting this error: https://pastebin.com/XsEQaTeT saying that libinit_msm8953 is missing. If I set ALLOW_MISSING_DEPENDENCIES=true, I get this error: https://pastebin.com/4mukFF9z. Does anyone know how to solve it or has some guess?
 
 
7th April 2019, 03:11 PM |#432  
Member
Thanks Meter: 9
 
More
I followed this guide and this: https://youtu.be/cWNaMgyrVGM
I set Ubuntu 16.04 on Google Cloud Platform, and I downloaded all the packages to make LOS 15.1(Resurrection Remix Oreo) for leEco, every time I try to build a ROM, it keeps saying

Quote:

build/core/product_config.mk:238: *** Can not locate config makefile for product "lineage_s2". Stop.
Device s2 not found. Attempting to retrieve device repository from ResurrectionRemix-Devices Github (http://github.
com/ResurrectionRemix-Devices).
Repository for s2 not found in the ResurrectionRemix-Devices Github repository list.
If this is in error, you may need to manually add it to your .repo/local_manifests/roomservice.xml
build/core/product_config.mk:238: *** Can not locate config makefile for product "lineage_s2". Stop.
build/core/product_config.mk:238: *** Can not locate config makefile for product "lineage_s2". Stop.
** Don't have a product spec for: 'lineage_s2'
** Do you have the right repo manifest?

What should I do for this? Thank you for your advice.!
7th April 2019, 03:43 PM |#433  
zogthegreat's Avatar
Member
Flag Montreal
Thanks Meter: 31
 
More
Quote:
Originally Posted by kegang

I followed this guide and this: https://youtu.be/cWNaMgyrVGM
I set Ubuntu 16.04 on Google Cloud Platform, and I downloaded all the packages to make LOS 15.1(Resurrection Remix Oreo) for leEco, every time I try to build a ROM, it keeps saying



What should I do for this? Thank you for your advice.!

Hey kegang,

It looks like that you have the wrong sources listed in your .repo. That's why it's trying to build for the S2 and not LeEco. Try runnig the following commands to clean up your build directory and restart your build clean:

cd ~/rr // (Or whatever your working directory is)
make clobber
make clean

mkdir -p ~/bin
PATH=~/bin:$PATH

curl http://commondatastorage.googleapis....downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
cd ~/rr // (Or whatever your working directory is)
repo init -u https://github.com/ResurrectionRemix...m_manifest.git -b oreo
repo sync -f --force-sync --no-clone-bundle --no-tags -j8 -c

export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx60g" /// set your memory here. My build machine has 64gb of memory, so I set mine to 60gb. If your running 8gb, try setting it to around 6gb.
./prebuilts/sdk/tools/jack-admin start-server

. build/envsetup.sh
breakfast THE NAME CODE OF YOUR DEVICE HERE (there seems to be different code names for your device)
repo sync -f --force-sync -j8 -c
brunch THE NAME CODE OF YOUR DEVICE HERE

If your still having problems with your sources, let us know. You might have to add extra source repositories from github.

Good luck!
The Following 2 Users Say Thank You to zogthegreat For This Useful Post: [ View ] Gift zogthegreat Ad-Free
9th April 2019, 05:34 PM |#434  
Junior Member
Thanks Meter: 1
 
More
hey there, i'm pretty new to lineage os, but a quite good linux user. the device i'm using is a Samsung Galaxy A3 2016 (a3xelte) currently running with lineageos 15.1.
As i could find out, lineageos16 doesnt support my device anymore. what are the dependencies of "supporting" the device? im interested in building lineageos by myself.
i found this: github.com/Exynos7580/android_device_samsung_a3xeltexx
i assume that this repo wont work for lineageos 16, am i right? what would be necessary to change for making it work? do you know any lecture/guides i can read about this?
thank you in advance
The Following User Says Thank You to tobit_67 For This Useful Post: [ View ] Gift tobit_67 Ad-Free
11th April 2019, 03:19 PM |#435  
Senior Member
Thanks Meter: 15
 
More
Quote:
Originally Posted by tobit_67

hey there, i'm pretty new to lineage os, but a quite good linux user. the device i'm using is a Samsung Galaxy A3 2016 (a3xelte) currently running with lineageos 15.1.
As i could find out, lineageos16 doesnt support my device anymore. what are the dependencies of "supporting" the device? im interested in building lineageos by myself.
i found this: github.com/Exynos7580/android_device_samsung_a3xeltexx
i assume that this repo wont work for lineageos 16, am i right? what would be necessary to change for making it work? do you know any lecture/guides i can read about this?
thank you in advance

You have to rewrite the device tree
12th April 2019, 08:15 PM |#436  
Senior Member
Flag Castle Rock, Wa
Thanks Meter: 426
 
Donate to Me
More
Quote:
Originally Posted by tobit_67

hey there, i'm pretty new to lineage os, but a quite good linux user. the device i'm using is a Samsung Galaxy A3 2016 (a3xelte) currently running with lineageos 15.1.
As i could find out, lineageos16 doesnt support my device anymore. what are the dependencies of "supporting" the device? im interested in building lineageos by myself.
i found this: github.com/Exynos7580/android_device_samsung_a3xeltexx
i assume that this repo wont work for lineageos 16, am i right? what would be necessary to change for making it work? do you know any lecture/guides i can read about this?
thank you in advance

You need to do some digging. And found out why your device is not being supported. Was it ever official. If it was you might find the build info in the lineageos build tree at github.com/lineageos and switch the build to your own fork
The Following User Says Thank You to tripLr For This Useful Post: [ View ] Gift tripLr Ad-Free
15th April 2019, 12:37 PM |#437  
Senior Member
Flag Equestria
Thanks Meter: 534
 
More
I'm attempting to build LineageTWRP for my tablet and getting this error:
Code:
ninja: error: 'bionic/libc/zoneinfo/tzdata', needed by '/home/android-build/lineagetwrp/out/target/product/tb_8704x/recovery/root/system/usr/share/zoneinfo/tzdata', missing and no known rule to make it
anyone got any ideas?
28th May 2019, 03:36 PM |#438  
Junior Member
Flag Moscow
Thanks Meter: 4
 
More
Is there an option to build the image without connecting my device? The thing is, the server I have for building is quite not here and there's no usb cables couple thousands miles long available out there... 🤷*♂️
28th May 2019, 04:31 PM |#439  
FSadino's Avatar
OP Forum Moderator
Flag Blue River City!
Thanks Meter: 3,988
 
Donate to Me
More
Quote:
Originally Posted by ziatnine

Is there an option to build the image without connecting my device? The thing is, the server I have for building is quite not here and there's no usb cables couple thousands miles long available out there... 🤷*♂️

Yes, you can build without connecting your device. Search here for proprietary blobs and add it to your local manifest

https://github.com/TheMuppets
The Following 2 Users Say Thank You to FSadino For This Useful Post: [ View ] Gift FSadino Ad-Free
8th June 2019, 01:46 AM |#440  
Junior Member
Thanks Meter: 0
 
More
pastebin.com/NH4nbKRY Any help here is appreciated. No zip or img output in $out.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes