Bliss-ROM

Download the Bliss-ROM source code, based on AOSP, phhusson, skunkworx, & BlissRoms


Please read the AOSP building instructions before proceeding.


What you need to build Bliss-ROM

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

Grabbing Dependencies

$ 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

Initializing Repository

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

Building

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 o8.1-los

After the sync is finished

$ bash build-treble.sh -s arm64_a_gapps (to build armA 64bit with gapps built in)