FORUMS
Remove All Ads from XDA

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

3,074 posts
Thanks Meter: 4,045
 
Post Reply Email Thread
23rd November 2018, 03:23 PM |#421  
zogthegreat's Avatar
Member
Flag Montreal
Thanks Meter: 31
 
More
After building LineageOS Oreo, I made a new directory and I tried to compile LineageOS Pie. When I tried to start jack server, I encountered a java error:

[email protected]:~/work/pie$ export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx6g"
[email protected]:~/work/pie$ ./prebuilts/sdk/tools/jack-admin start-server
Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx6g -cp /home/zog/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
Jack server failed to (re)start, try 'jack-diagnose' or see Jack server log
[email protected]:~/work/pie$ ./prebuilts/sdk/tools/jack-diagnose
/home/zog/work/pie/prebuilts/jdk/jdk9/linux-x86/bin/java': Failed to parse version, please ensure you're running a supported java

[email protected]:~/work/pie$ java -version
openjdk version "9"
OpenJDK Runtime Environment (build 9+181-android4627429)
OpenJDK 64-Bit Server VM (build 9+181-android4627429, mixed mode)

Which version of java do I need for Android Pie?
 
 
23rd November 2018, 03:41 PM |#422  
Relentless Terminator's Avatar
OP Forum Moderator
Flag Skynet
Thanks Meter: 4,045
 
Donate to Me
More
Quote:
Originally Posted by zogthegreat

After building LineageOS Oreo, I made a new directory and I tried to compile LineageOS Pie. When I tried to start jack server, I encountered a java error:

[email protected]:~/work/pie$ export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx6g"
[email protected]:~/work/pie$ ./prebuilts/sdk/tools/jack-admin start-server
Launching Jack server java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx6g -cp /home/zog/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher
Jack server failed to (re)start, try 'jack-diagnose' or see Jack server log
[email protected]:~/work/pie$ ./prebuilts/sdk/tools/jack-diagnose
/home/zog/work/pie/prebuilts/jdk/jdk9/linux-x86/bin/java': Failed to parse version, please ensure you're running a supported java

[email protected]:~/work/pie$ java -version
openjdk version "9"
OpenJDK Runtime Environment (build 9+181-android4627429)
OpenJDK 64-Bit Server VM (build 9+181-android4627429, mixed mode)

Which version of java do I need for Android Pie?

Really don't know, try to update to latest stable
23rd November 2018, 06:40 PM |#423  
Senior Member
Flag Castle Rock, Wa
Thanks Meter: 459
 
Donate to Me
More
How do I add exfat SD card support for the Kernel?
23rd November 2018, 06:48 PM |#424  
Relentless Terminator's Avatar
OP Forum Moderator
Flag Skynet
Thanks Meter: 4,045
 
Donate to Me
More
Quote:
Originally Posted by tripLr

How do I add exfat SD card support for the Kernel?

Maybe this will help you: https://github.com/flar2/ElementalX-...9b775/fs/exfat
The Following User Says Thank You to Relentless Terminator For This Useful Post: [ View ] Gift Relentless Terminator Ad-Free
24th November 2018, 04:56 AM |#425  
Senior Member
Flag Castle Rock, Wa
Thanks Meter: 459
 
Donate to Me
More
Quote:
Originally Posted by FSadino

Maybe this will help you: https://github.com/flar2/ElementalX-...9b775/fs/exfat

Thanks @ripee and I thank you both. He Got a build working for the sm-t710 but its SD card is vfat only no other formats. Awesome
9th December 2018, 11:03 PM |#426  
Senior Member
Thanks Meter: 1,084
 
More
Quote:
Originally Posted by zogthegreat

tried to compile LineageOS Pie. When I tried to start jack server, I encountered a java error:

https://source.android.com/setup/build/jack
Quote:

Android 8.1 is the last release that uses Jack.

Quote:
Originally Posted by zogthegreat

Which version of java do I need for Android Pie?

Try openjdk-8.
https://source.android.com/setup/bui...ments.html#jdk mentions only Android up to Oreo
but Sony still suggests openjdk-8 for pie
https://developer.sony.com/develop/o...ndroid-p-9-0-0
The Following 2 Users Say Thank You to sevenrock For This Useful Post: [ View ] Gift sevenrock Ad-Free
20th December 2018, 12:55 PM |#427  
ADB100's Avatar
Senior Member
Thanks Meter: 104
 
More
Question ROM builds sucessfully but device has no audio or RIL?
I have been attempting to build Lineage 15.1 for samsung S6 edge (zeroltexx) and S6 (zerofltexx) for a couple of weeks on and off now and I am getting the same issues every time. I have two phones - a S6 and a S6 Edge. The S6 Edge has a cracked screen so this is the one I am testing with. The S6 is my daily phone so this is still running Official Lineage 14.1 downloaded from the official sources.
I have a couple of spare Dell PC's - an i7 machine with 24GB RAM and 2 * 1TB disks and a Core2 Quad with 16GB RAM and 2 * 640GB disks. I have wiped and installed Ubuntu 18.04, followed the procedure to the letter for configuring the environment, installing the prerequisites and downloading the repositories. This is the guide I have followed - https://wiki.lineageos.org/devices/zeroltexx/build

I changed the repo init command to download lineage-15.1 rather than cm-14.1 and I have added the zero.xml from here - https://github.com/Exynos7420/local_manifests to the /.repo/local_manifests/ folder. Everything seems to sync OK when I do a repo sync. The samsung bits get added to the /device/, /vendor/, /hardware/ & /kernel folders. The ROM seems to build OK, I transfer it to the zeroltexx, boot to TWRP, perform a full wipe and then install the ROM and OpenGApps. When the device boots there is no RIL (mobile network or data), no audio and no GPS. WiFi works, Bluetooth works, NFC works, screen works, vibration works, camera works, fingerprint sensor works and its a fairly smooth UI.

I have wiped and rebuilt the Ubuntu system and rebuilt the environment so many times I can't remember. I have also tried building within Windows 10 Insider Preview with WSL enabled using the guide on XDA. I have even just tried it within ESXi 6.0 and using Ubuntu 16.04, however the resulting ROMs all suffer from the same issue with RIL, Audio and GPS not working.

I am obviously missing something and its the same thing each time.

Any idea what I am doing wrong?
25th January 2019, 09:55 AM |#428  
waza123's Avatar
Member
Flag Network
Thanks Meter: 5
 
More
Hi, after i change something in .java code in LineageOS, how can I fast rebuild ? (I tried "make clean" && brunch jfltexx" but its full rebuild and its very long)
16th February 2019, 06:42 PM |#429  
Junior Member
Thanks Meter: 0
 
More
Learn how to modify the defconfig file to add VLAN support and much more.
Hello, I have already compiled the kernel and installed the boot.img file in my s4 mini. The repo I use is lineage-15.1
I have been modifying the samsung_serrano_defconfig file for several days to add otg support, vlan support and a fast 2.0 usb 2.0 ethernet adapter from the Edimax brand. The last thing I modified in the defconfig file was:
CONFIG_VLAN_8021Q = y
CONFIG_VETH = y
CONFIG_USB_OTG = y
CONFIG_AX88796 = y (in the manual the driver is called AX88772)
I get the boot.img file, but when I install it on my mobile, the wifi adapter does not work, it's off, I turn it on and off instantly.
Can you help me configure the defconfig file to get a functional boot.img file?
Thank you very much for the knowledge I am acquiring and the support you are giving me in this great forum.
A hug.
22nd February 2019, 01:44 AM |#430  
Junior Member
Thanks Meter: 0
 
More
How to view the changes relating to lineage android 7.1.2 r8? When I look under lineage/android github commits, it states a change from r2 to r8 but I can't find the code changes. Thanks
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?
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