-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Bliss OS v15.x build instructions
- Loading branch information
1 parent
a5cc849
commit 20bf0de
Showing
1 changed file
with
129 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
<img src="https://i.ibb.co/0VWm25C/Colors-2-OS.png"> | ||
<p align="center"> | ||
<a href="https://https://blissos.org">Website</a> | | ||
<a href="https://sourceforge.net/projects/blissos-x86">Download</a> | | ||
<a href="https://www.paypal.com/donate/?hosted_button_id=J5SLZ7MQNCT24">Donate</a> | | ||
<a href="https://docs.blissos.org/">Documentation</a> | | ||
<a href="https://t.me/blissx86">Telegram</a> | ||
|
||
## BlissOS | ||
|
||
Download the BlissOS source code, based on [AOSP](https://android.googlesource.com) & [Android-x86](http://android-x86.org/) | ||
|
||
<div align="center"> | ||
<strong><i>Modified for PC build using Android-Generic Project</i></strong> | ||
<br> | ||
<img src="https://i.ibb.co/rf2rv3M/Yep1l4L.png"> | ||
<br> | ||
</div> | ||
|
||
--------------------------------------------------- | ||
|
||
Please read the [AOSP building instructions](http://source.android.com/source/index.html) before proceeding. | ||
|
||
----------------------- | ||
## What you need to build [BlissOS](https://github.com/BlissRoms-x86/manifest) | ||
|
||
|
||
Latest Ubuntu LTS Releases https://www.ubuntu.com/download/server | ||
Decent CPU (16 Cores or better for a faster performance) | ||
16GB RAM (32GB for Virtual Machine) | ||
350GB Hard Drive (about 170GB for the Repo and then building space needed) | ||
|
||
Time to compile: | ||
Laptop: 6-8 hours | ||
Desktop/Workstation: 4-6 hours | ||
Server: 1-2 hours | ||
|
||
----------------------- | ||
|
||
## 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 python3-mako libssl-dev ninja-build lunzip syslinux syslinux-utils gettext genisoimage gettext bc xorriso xmlstarlet meson glslang-tools git-lfs libncurses5 libncurses5:i386 libelf-dev aapt zstd rdfind nasm rustc bindgen | ||
|
||
## Initializing Repository | ||
|
||
**Repo initialization** | ||
|
||
repo init -u https://github.com/BlissRoms-x86/manifest.git -b arcadia-x86 --git-lfs | ||
|
||
**Sync repo** | ||
|
||
repo sync -c --force-sync --no-tags --no-clone-bundle -j$(nproc --all) --optimized-fetch --prune | ||
|
||
## Options | ||
|
||
BLISS_BUILD_VARIANT - (vanilla, gapps, foss) - We currently use this to specify what type of extra apps and services to include in the build. | ||
***Note: Default BLISS_BUILD_VARIANT is VANILLA.*** | ||
|
||
BLISS_SPECIAL_VARIANT - This can be custom set if you wanna build a version for a specific device | ||
for example `-jupiter` for Steam Deck or `-surface` for Microsoft Surface series | ||
|
||
## Setup FOSS apps (if you choose to build FOSS) | ||
---------------------------- | ||
|
||
- If you want to build with FOSS (this will include microG Services & some extra apps), go to vendor/foss and then type | ||
``` | ||
./update.sh | ||
``` | ||
And then choose 1 (x86/x86_64) to fetch all the apps. If you want to include Bromite Webview in, type this instead | ||
``` | ||
./update.sh "" bromite | ||
``` | ||
## Building | ||
|
||
$ . build/envsetup.sh | ||
$ lunch bliss_x86_64-userdebug | ||
$ make iso_img | ||
***Adding build options*** | ||
|
||
Before running `lunch`, you can add variables into the build to integrate more stuff into the image. | ||
Note that you can put different variables into the build. | ||
|
||
- **To build with FOSS** | ||
``` | ||
export BLISS_BUILD_VARIANT=foss | ||
``` | ||
|
||
- **To build with [MindTheGapps](https://gitlab.com/MindTheGapps/vendor_gapps)** | ||
``` | ||
export BLISS_BUILD_VARIANT=gapps | ||
``` | ||
- **To add a custom label into a device-specific build** | ||
``` | ||
export BLISS_SPECIAL_VARIANT=-Jupiter | ||
``` | ||
|
||
- **To build the special "surface" variant which include kernel with patches from linux-surface and the iptsd userspace touchscreen daemon** | ||
``` | ||
export BOARD_IS_SURFACE_BUILD=true | ||
``` | ||
|
||
- **To build the special "go" variant for BlissOS Go** | ||
``` | ||
export BOARD_IS_GO_BUILD=true | ||
``` | ||
|
||
|
||
**More build options will be in Extras part including proprietary native-bridge/widevine libraries** | ||
|
||
## Extras | ||
------- | ||
|
||
We do offer some extra libraries that can be compiled into the build. These include : | ||
|
||
***Prebuilt Widevine from Windows Subsystem for Android*** | ||
|
||
https://github.com/supremegamers/vendor_google_proprietary_widevine-prebuilt | ||
|
||
Clone to `vendor/google/proprietary/widevine-prebuilt`, The variable to activate this is `USE_WIDEVINE=true` | ||
|
||
***Windows Subsystem for Android's libhoudini*** | ||
|
||
https://github.com/supremegamers/vendor_intel_proprietary_houdini | ||
|
||
Clone to `vendor/intel/proprietary/houdini`, The variable to activate this is `ANDROID_USE_INTEL_HOUDINI=true` | ||
## Report build issues | ||
- You can reach us via [Telegram (Android™-Generic (x86 PC) Community Development)](https://t.me/androidgenericpc) | ||
|