commit | 1445deb061779e86353332049e8346d9e0087ba5 | [log] [tgz] |
---|---|---|
author | electrikjesus <electrikjesus@gmail.com> | Thu Sep 20 08:44:15 2018 +0530 |
committer | electrikjesus <electrikjesus@gmail.com> | Thu Sep 20 08:47:34 2018 +0530 |
tree | 0d6993107e1bca297f70df21346d3ea63c53e32d | |
parent | de20f58a11294ab047e4f6ccd55ec58304b829f9 [diff] |
Update the manifest readme to reflect correct treble & efi commands Change-Id: I6bb0780db03962dab344e484d8581f31b0f7bb15
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