Skip to content

whiskey-tryst/android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

945 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

H4K3ROM is a LineageOS based ROM Getting started mkdir H4K3ROM && cd H4K3ROM

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

/// Configure jack
Jack is the currently used Java toolchain for building LineageOS 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 80G

/// then do ///

$ repo sync --force-sync && . build/envsetup.sh && LLVM_ENABLE_THREADS=2 && brunch bonito

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published