Thanks to visit codestin.com
Credit goes to github.com

Skip to content

IkeGilbert/android-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

768 Commits
 
 
 
 
 
 
 
 

Repository files navigation

H4K3ROM [LineageOS Source]

mkdir H4K3ROM && cd H4K3ROM

repo init -u git://github.com/H4K3ROM/android.git -b lineage-17.0


/// Configure jack \\\
Jack is the currently used Java toolchain for building LineageOS 14.1 and 15.1. It is known to run out of memory often if not configured correctly - a simple fix is to run this command:

$ export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G"
Adding that command to your ~/.bashrc file will automatically configure Jack to allocate a sufficient amount of memory (in this case, 4GB).

OPTIONAL: 
Turn on cache to speed up build
$ export USE_CCACHE=1
add that line to your ~/.bashrc file. Then, specify the max amount of disk space you want ccache:  
$ ccache -M 50G

then do:
repo sync --force-sync && . build/envsetup.sh && LLVM_ENABLE_THREADS=2 && brunch oneplus3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors