Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at


hpr2244 :: building lineageOS

I try my hand at building lineageOS for my device

<< First, < Previous, , Latest >>

Thumbnail of brian
Hosted by brian on Thursday, 2017-03-09 is flagged as Explicit and is released under a CC-BY-SA license.
android, lineageos, cyanogenmod, compiling. (Be the first).
The show is available on the Internet Archive at: https://archive.org/details/hpr2244

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:19:40

general.

i am too ignorant to build for the device that i want.

i mention a dev from xda.

i am running debian sid... also mention arch and the importance of shownotes.

following lineage wiki, i merge the extra commands from a 14.1 device page.

install adb fastboot repo with package manager and you can ignore creating ~/bin, chmod command, and PATH update as these tools were installed by your package manager.

install list given on the wiki of packages...some will not exist... search to find out their names.

cd into the location for your project.

$ mkdir -p ./android/system
$ cd android/system
$ repo init -u https://github.com/LineageOS/android.git -b cm-14.1
$ repo sync
$ repo sync
$ repo sync

successful new 50G on my drive.

$ nano android/system/.repo/local_manifests/roomservice.xml

add the needed lines from the muppets and ignore extracting proprietary blobs.

$ repo sync
$ source build/envsetup.sh
$ breakfast spyder
$ export USE_CCACHE=1
$ prebuilts/misc/linux-x86/ccache/ccache -M 50G
$ export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G"
$ export WITH_SU=true
$ croot
$ brunch spyder

ran 99% and errored... xmllint command not found.

search for and install libxml2-utils.

rerun build and get an out of memory error... go to bed... try tomorrow... shutdown machine.

sift through old information as things have changed regarding file names and such.

$ nano ~/.jack-server/config.properties

change jack.server.max-service=4 to 2

start from envsetup.sh again.

$ cd $OUT

boot phone to recovery and install

$ adb sideload ./lineage-14.1-20170202-UNOFFICIAL-spyder.zip

i remove some apps and install fdroid.


Comments

Subscribe to the comments RSS feed.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the letter P in HPR stand for?
Are you a spammer?
Who is the host of this show?
What does HPR mean to you?