blob: 5904d328bf1d1fac79e9089fbf30648d59bd17df [file] [log] [blame]
Jackeagleba270982025-03-18 02:35:26 -04001<img src="banner.png">
2<p align="center">
3<a href="https://blissroms.org">Website</a> |
4<a href="https://downloads.blissroms.org">Download</a> |
5<a href="https://www.paypal.com/donate/?hosted_button_id=J5SLZ7MQNCT24">Donate</a> |
6<a href="https://docs.blissroms.org">Documentation</a> |
7<a href="https://www.instagram.com/blissroms">Instagram</a> |
8<a href="https://t.me/BlissROM_Updates">Telegram</a>
Chris Soyars878bc022011-11-14 21:41:03 -05009
Jackeagleba270982025-03-18 02:35:26 -040010## BlissRoms
Chris Soyars878bc022011-11-14 21:41:03 -050011
Jackeagleba270982025-03-18 02:35:26 -040012Download the BlissRoms source code, based on [AOSP](https://android.googlesource.com) & [LineageOS](https://github.com/LineageOS/android)
Chris Soyars878bc022011-11-14 21:41:03 -050013
Jackeagleba270982025-03-18 02:35:26 -040014---------------------------------------------------
15
16Please read the [AOSP building instructions](http://source.android.com/source/index.html) before proceeding.
17
18-----------------------
19## What you need to build [BlissRoms](https://github.com/BlissROMs/platform_manifest)
20
21
22 Latest Ubuntu LTS Releases https://www.ubuntu.com/download/server
23 Decent CPU (Dual Core or better for a faster performance)
24 8GB RAM (16GB for Virtual Machine)
25 250GB Hard Drive (about 170GB for the Repo and then building space needed)
26
27-----------------------
28
29Installing Java 8
30
31 sudo add-apt-repository ppa:openjdk/ppa
32 sudo apt-get update && upgrade
33 sudo apt-get install openjdk-8-jdk
34 update-alternatives --config java (make sure Java 8 is selected)
35 update-alternatives --config javac (make sure Java 8 is selected)
36 reboot
37
38-----------------------
39
40## Grabbing Dependencies
41
42 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 xmlstarlet git-lfs
43
44## Initializing Repository
45
46**Repo initialization**
47
48 repo init -u https://github.com/BlissRoms/platform_manifest.git -b voyager-qpr2 --git-lfs
49
50**Sync repo**
51
52 repo sync -c --force-sync --no-tags --no-clone-bundle -j10 --optimized-fetch --prune
53
54## Options
55
56 BLISS_BUILD_VARIANT - (vanilla, foss, microg) - We currently use this to specify what type of extra apps and services to include in the build.
57***Note: Default BLISS_BUILD_VARIANT is VANILLA.***
58
59## Building
60
61 . build/envsetup.sh
62 blissify options deviceCodename
63
64
65**Options:**
Bruno Martins23b40d02018-07-24 12:14:36 +010066```
Jackeagleba270982025-03-18 02:35:26 -040067-h | --help: Shows the help dialog
68-c | --clean: Clean up before running the build
69-d | --devclean: Clean up device only before running the build
70-v | --vanilla: Build with no added app store solution **default option**
71-f | --foss: build with FOSS (arm64-v8a) app store solutions added **requires vendor/foss**
72-m | --microg: Build with MicroG
Bruno Martins23b40d02018-07-24 12:14:36 +010073```
Jackeagleba270982025-03-18 02:35:26 -040074
75**Examples:**
76
77- **To build with FOSS**
Bruno Martins23b40d02018-07-24 12:14:36 +010078```
Jackeagleba270982025-03-18 02:35:26 -040079 blissify -f deviceCodename
Bruno Martins23b40d02018-07-24 12:14:36 +010080```
Chris Soyars878bc022011-11-14 21:41:03 -050081
Jackeagleba270982025-03-18 02:35:26 -040082- **To build deviceclean**
83```
84 blissify -d deviceCodename
85```
Chris Soyars878bc022011-11-14 21:41:03 -050086
Jackeagleba270982025-03-18 02:35:26 -040087**This method is also backwards compatible with the legacy blissify command also**
88```
89 blissify deviceCodename
90```
91## Report build issues
92- You can reach us via [Telegram (BlissRoms Build Support)](https://t.me/Team_Bliss_Build_Support)