commit | d06e16d6a2292d0fa2fa83363d958776412ca32e | [log] [tgz] |
---|---|---|
author | Jackeagle <jackeagle102@gmail.com> | Fri Sep 21 04:31:53 2018 -0600 |
committer | Jackeagle <jackeagle102@gmail.com> | Fri Sep 21 04:31:53 2018 -0600 |
tree | 107ef3e815e3aae3451ce60dfa7d154b3912bc0b | |
parent | 1445deb061779e86353332049e8346d9e0087ba5 [diff] |
manifest: Sync commandline tools from LOS Change-Id: I92e5f0945be897e1d377bea1bbca2eb3d9b8c886 Signed-off-by: Jackeagle <jackeagle102@gmail.com>
Download the Bliss-ROM source code, based on AOSP, phhusson, skunkworx, & BlissRoms
Please read the AOSP building instructions before proceeding.
Latest Ubuntu LTS Releases https://www.ubuntu.com/download/server Decent CPU (Dual Core or better for a faster performance) 8GB RAM (16GB for Virtual Machine) 250GB Hard Drive (about 170GB for the Repo and then building space needed)
Installing Java 8
sudo add-apt-repository ppa:openjdk/ppa sudo apt-get update && upgrade sudo apt-get install openjdk-8-jdk update-alternatives --config java (make sure Java 8 is selected) update-alternatives --config javac (make sure Java 8 is selected) reboot
$ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip squashfs-tools python-mako libssl-dev ninja-build lunzip syslinux syslinux-utils gettext genisoimage gettext bc xorriso
Repo initialization :
## Releases Repo ## $ repo init -u https://github.com/BlissRoms/platform_manifest.git -b p9.0
sync repo :
$ repo sync --no-tags --no-clone-bundle
problems syncing? :
$ repo sync --no-tags --no-clone-bundle --force-sync
treble build options explained:
Usage: $ bash build-treble.sh options buildVariants blissBranch options: -c | --clean : Does make clean && make clobber and resets the treble device tree -r | --release : Builds a twrp zip of the rom (only for A partition) default creates system.img -s | --sync: Repo syncs the rom (clears out patches), then reapplies patches to needed repos buildVariants: arm64_a_stock | arm64_ab_stock : Vanilla Rom arm64_a_gapps | arm64_ab_gapps : Stock Rom with Gapps Built-in arm64_a_foss | arm64_ab_foss : Stock Rom with Foss arm64_a_go | arm64_ab_go : Stock Rom with Go-Gapps blissBranch: select which bliss branch to sync, default is p9.0 After the sync is finished $ bash build-treble.sh -s arm64_a_gapps (to build armA 64bit with gapps built in)
Celadon EFI (Android-IA) build options explained:
Usage: $ bash build-efi.sh options buildVariants blissBranch options: -c | --clean : Does make clean && make clobber and resets the efi device tree -s | --sync: Repo syncs the rom (clears out patches), then reapplies patches to needed repos buildVariants: user : Make user build userdebug |: Make userdebug build eng : Make eng build blissBranch: select which bliss branch to sync, default is p9.0 After the sync is finished $ bash build-efi.sh -s userdebug (to build the userdebug version)
emulator builds explained:
Precondition: android SDK must be installed in ~/Android/SDK $ lunch bliss_emulator-userdebug $ make if you want to run on the same host: $ bash vendor/bliss/utils/emulator/start_emulator_local.sh if you need to copy on a different host: $ vendor/bliss/utils/emulator/create_emulator_image.sh $ cp /tmp/bliss_emulator.zip to the device where you have installed android SDK (unzip into /tmp) $ bash /tmp/generic_x86/start_emulator_image.sh