├── Ubuntu commands ├── flash-script.txt ├── git.sh ├── raven.sh ├── gahs-b4s4.sh ├── bootleg-b4s4.sh ├── DU-build.sh ├── bliss-sargo.sh ├── aicp.sh ├── Pixel 6 Notes ├── bliss-bonito.sh ├── havoc-b4s4.sh ├── lineage.sh └── bliss-raven.sh /Ubuntu commands: -------------------------------------------------------------------------------- 1 | sudo apt install -f --reinstall python3-minimal 2 | 3 | -------------------------------------------------------------------------------- /flash-script.txt: -------------------------------------------------------------------------------- 1 | fastboot flash boot boot.img && fastboot flash dtbo dtbo.img && fastboot flash vbmeta vbmeta.img && fastboot reboot fastboot && fastboot flash system system.img && fastboot flash vendor vendor.img && fastboot flash product product.img && fastboot -w && fastboot reboot 2 | -------------------------------------------------------------------------------- /git.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | echo "This script should be ran from the root directory of your ROM's source. This script will clone the necessary repositories for building a ROM for the Pixel 3a (Sargo) and Pixel 3a XL (Bonito). The only repo that should need modified is the device tree which needs edited for your ROM's source. Hope this helps!" 4 | 5 | rm -rf device/google/bonito 6 | rm -rf device/google/bonito-kernel 7 | rm -rf device/google/sargo 8 | rm -rf device/google/bonito-sepolicy 9 | rm -rf kernel/google/bonito 10 | rm -rf vendor/google 11 | rm -rf vendor/images 12 | rm -rf vendor/gapps 13 | rm -rf hardware/qcom/sdm845/display 14 | 15 | git clone https://github.com/stebomurkn420/Bonito -b q device/google/bonito 16 | git clone https://android.googlesource.com/device/sample device/sample 17 | git clone https://github.com/shagbag913/android_vendor_google -b lineage-17.1 vendor/google 18 | git clone https://github.com/stebomurkn420/kernel_google_b4s4 -b q kernel/google/b4s4 19 | git clone https://gitlab.com/shagbag913/vendor_gapps -b ten vendor/gapps 20 | git clone https://github.com/LineageOS/android_hardware_qcom_sdm845_display hardware/qcom/sdm845/display 21 | -------------------------------------------------------------------------------- /raven.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | rm -rf device/google/raviole 4 | rm -rf device/google/gs101 5 | rm -rf device/google/gs101-sepolicy 6 | rm -rf device/google/raviole-kernel 7 | rm -rf kernel/google 8 | rm -rf vendor/gms 9 | rm -rf vendor/gapps 10 | rm -rf vendor/google 11 | 12 | 13 | git clone https://github.com/StatiXOS/android_device_google_raviole -b sc-v2 device/google/raviole 14 | git clone https://github.com/StatiXOS/android_device_google_raviole-kernel -b sc-v2 device/google/raviole-kernel 15 | git clone https://github.com/StatiXOS/android_kernel_google_raviole -b sc-v2 kernel/google/raviole/raven 16 | git clone https://gitlab.com/anayw2001/vendor_google_oriole -b sc-v2 vendor/google/oriole 17 | git clone https://gitlab.com/anayw2001/vendor_google_raven -b sc-v2 vendor/google/raven 18 | git clone https://gitlab.com/statixos/android_vendor_google_gms -b sc-v2 vendor/gms 19 | git clone https://github.com/StatiXOS/android_device_google_gs101 -b sc-v2 device/google/gs101 20 | git clone https://github.com/StatiXOS/android_device_google_gs101-sepolicy -b sc-v2 device/google/gs101-sepolicy 21 | git clone https://github.com/StatiXOS/android_vendor_google_interfaces -b sc-v2 vendor/google/interfaces 22 | git clone https://gitlab.com/statixos/android_vendor_google_pixelparts -b sc-v2 vendor/google/pixelparts 23 | -------------------------------------------------------------------------------- /gahs-b4s4.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | cd 4 | 5 | echo "Installing build tools..." 6 | 7 | sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev libncurses5 git repo openjdk-8-jdk adb fastboot 8 | 9 | #git config --global user.email 10 | #git config --global user.name 11 | 12 | mkdir -p ~/bin 13 | 14 | curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo 15 | 16 | chmod a+x ~/bin/repo 17 | 18 | mkdir gahs 19 | 20 | cd $HOME/gahs 21 | 22 | repo init -u https://github.com/GahsROM/platform_manifest.git -b ten 23 | 24 | repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags 25 | 26 | echo "Sit back and smoke a joint! Repo syncing..." 27 | 28 | git clone https://github.com/GahsROM/device_google_bonito device/google/bonito 29 | git clone https://github.com/GahsROM/vendor_google vendor/google 30 | git clone https://github.com/GahsROM/device_google_bonito-kernel device/google/bonito-kernel 31 | git clone https://gitlab.com/shagbag913/vendor_gapps.git vendor/gapps 32 | 33 | . build/envsetup.sh 34 | 35 | lunch gahs_bonito-user 36 | 37 | make otapackage -j16 |& tee /tmp/build.log 38 | -------------------------------------------------------------------------------- /bootleg-b4s4.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | cd 4 | 5 | sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev libncurses5 git repo openjdk-8-jdk adb fastboot 6 | 7 | #git config --global user.email 8 | #git config --global user.name 9 | #export USE_CCACHE=1 10 | #export CCACHE_COMPRESS=1 11 | #export CCACHE_EXEC=/usr/bin/ccache 12 | 13 | mkdir bootleg 14 | 15 | mkdir -p ~/bin 16 | 17 | curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo 18 | 19 | chmod a+x ~/bin/repo 20 | 21 | cd $HOME/bootleg 22 | 23 | #rm -rf device/google/bonito 24 | rm -rf device/google/bonito-kernel 25 | #rm -rf device/google/sargo 26 | rm -rf device/google/bonito-sepolicy 27 | rm -rf kernel/google/bonito 28 | #rm -rf vendor/google 29 | rm -rf vendor/images 30 | #rm -rf vendor/gapps 31 | 32 | repo init -u https://github.com/BootleggersROM/manifest.git -b queso 33 | 34 | repo sync --current-branch --force-sync --no-clone-bundle --no-tags --optimized-fetch --prune -j32 35 | 36 | git clone https://github.com/stebomurkn420/Bonito -b queso device/google/bonito 37 | git clone https://android.googlesource.com/device/sample device/sample 38 | git clone https://github.com/stebomurkn420/kernel_google_b4s4 kernel/google/b4s4 39 | git clone https://github.com/BlissRoms-Devices/proprietary_android_vendor_google vendor/google 40 | git clone https://gitlab.com/shagbag913/vendor_gapps.git vendor/gapps 41 | 42 | . build/envsetup.sh 43 | 44 | lunch bootleg_bonito-userdebug 45 | 46 | mka bootleg |& tee /tmp/build.log 47 | -------------------------------------------------------------------------------- /DU-build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | cd 4 | 5 | echo "Installing build tools..." 6 | 7 | sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev libncurses5 git repo openjdk-8-jdk adb fastboot 8 | 9 | #git config --global user.email 10 | #git config --global user.name 11 | 12 | mkdir -p ~/bin 13 | 14 | curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo 15 | 16 | chmod a+x ~/bin/repo 17 | 18 | mkdir DU 19 | 20 | cd $HOME/DU 21 | 22 | repo init -u https://github.com/DirtyUnicorns/android_manifest.git -b q10x 23 | 24 | repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags 25 | 26 | echo "Sit back and smoke a joint!" 27 | 28 | rm -rf device/google/bonito 29 | rm -rf device/google/bonito-kernel 30 | rm -rf device/google/sargo 31 | rm -rf device/google/bonito-sepolicy 32 | rm -rf hardware/qcom/sdm710 33 | rm -rf kernel/google/bonito 34 | rm -rf vendor/google 35 | rm -rf vendor/images 36 | rm -rf vendor/gapps 37 | 38 | git clone https://github.com/DirtyUnicorns/android_kernel_google_bluecross kernel/google/bluecross 39 | git clone https://github.com/DirtyUnicorns/android_vendor_google vendor/google 40 | git clone https://github.com/DirtyUnicorns/android_device_google_bonito device/google/bonito 41 | git clone https://gitlab.com/DirtyUnicorns/android_vendor_pixelgapps.git vendor/pixelgapps 42 | git clone https://gitlab.com/DirtyUnicorns/android_vendor_images vendor/images 43 | git clone https://github.com/DirtyUnicorns/android_device_google_bonito-sepolicy device/google/bonito-sepolicy 44 | git clone https://github.com/DirtyUnicorns/android_device_google_sargo device/google/sargo 45 | 46 | echo "Sit back and smoke a joint! Starting the ROM build!" 47 | 48 | . build/envsetup.sh 49 | 50 | export USE_CCACHE=1 51 | export CCACHE_COMPRESS=1 52 | export CCACHE_EXEC=/usr/bin/ccache 53 | 54 | lunch du_bonito-userdebug 55 | 56 | make bacon -j16 |& tee /tmp/build.log 57 | 58 | lunch du_sargo-userdebug 59 | 60 | make bacon -j16 |& tee /tmp/build.log 61 | -------------------------------------------------------------------------------- /bliss-sargo.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | cd 4 | 5 | echo "Installing build tools to compile the ROM" 6 | sleep 5 7 | 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 gnupg python libncurses5 8 | echo "Installing build tools COMPLETED" 9 | sleep 5 10 | 11 | sudo sed -i '/cdrom/d' /etc/apt/sources.list 12 | 13 | mkdir bliss 14 | echo "Created bliss directory" 15 | sleep 5 16 | 17 | mkdir -p ~/.bin 18 | PATH="${HOME}/.bin:${PATH}" 19 | curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo 20 | chmod a+rx ~/.bin/repo 21 | 22 | sudo ln -fs /usr/bin/python2.7 /usr/bin/python3 23 | 24 | cd $HOME/bliss 25 | echo "CD into Home/bliss" 26 | 27 | echo "Initiating manifest. You may need to select Y/N here or git config --global user.email and git config --global user.name" 28 | repo init -u https://github.com/BlissRoms/platform_manifest.git -b r 29 | sleep 5 30 | 31 | echo "The project will now sync all of the repositories needed to compile the ROM. Depending on your connection this could take a while! You can expect a 1 hour sync time on a connection of 100mb/s Download speed." 32 | sleep 7 33 | 34 | repo sync --current-branch --force-sync --no-clone-bundle --no-tags --optimized-fetch --prune -j32 35 | echo "Repo syncing is complete" 36 | sleep 5 37 | 38 | echo "Removed any lingering dogshit" 39 | sleep 5 40 | 41 | echo "Now cloning the appropriate trees for Bonito" 42 | sleep 5 43 | 44 | git clone https://github.com/stevn4127/Bonito device/google/bonito 45 | echo "Cloning device tree for Bonito" 46 | git clone https://github.com/LineageOS/android_kernel_google_msm-4.9 kernel/google/msm-4.9 47 | echo "Cloning Dank kernel" 48 | git clone https://github.com/TheMuppets/proprietary_vendor_google vendor/google 49 | echo "Cloning proprietary vendor blobs" 50 | 51 | echo "Now starting the build. Lets roll another joint!" 52 | sleep 5 53 | 54 | echo "Initializing build enviroment" 55 | . build/envsetup.sh 56 | sleep 5 57 | 58 | echo "Starting the build with mka blissify" 59 | blissify sargo |& tee /tmp/build.log 60 | 61 | -------------------------------------------------------------------------------- /aicp.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | cd 4 | 5 | echo "Installing build tools to compile the ROM" 6 | sleep 5 7 | 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 gnupg python libncurses5 8 | echo "Installing build tools COMPLETED" 9 | sleep 5 10 | 11 | mkdir aicp 12 | echo "Created bliss directory" 13 | sleep 5 14 | 15 | mkdir -p ~/.bin 16 | PATH="${HOME}/.bin:${PATH}" 17 | curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo 18 | chmod a+rx ~/.bin/repo 19 | 20 | sudo ln -fs /usr/bin/python2.7 /usr/bin/python3 21 | 22 | cd $HOME/aicp 23 | echo "CD into Home/bliss" 24 | 25 | echo "Initiating manifest. You may need to select Y/N here or git config --global user.email and git config --global user.name" 26 | repo init -u https://github.com/AICP/platform_manifest.git -b r11.1 27 | sleep 5 28 | 29 | echo "The project will now sync all of the repositories needed to compile the ROM. Depending on your connection this could take a while! You can expect a 1 hour sync time on a connection of 100mb/s Download speed." 30 | sleep 7 31 | 32 | repo sync --current-branch --force-sync --no-clone-bundle --no-tags --optimized-fetch --prune -j32 33 | echo "Repo syncing is complete" 34 | sleep 5 35 | 36 | echo "Removed any lingering dogshit" 37 | sleep 5 38 | 39 | echo "Now cloning the appropriate trees for Bonito" 40 | sleep 5 41 | 42 | git clone https://github.com/stevn4127/Bonito -b aicp device/google/bonito 43 | echo "Cloning device tree for Bonito" 44 | git clone https://github.com/LineageOS/android_kernel_google_msm-4.9 kernel/google/msm-4.9 45 | echo "Cloning Dank kernel" 46 | git clone https://github.com/TheMuppets/proprietary_vendor_google vendor/google 47 | echo "Cloning proprietary vendor blobs" 48 | 49 | echo "Now starting the build. Lets roll another joint!" 50 | sleep 5 51 | 52 | echo "Initializing build enviroment" 53 | . build/envsetup.sh 54 | sleep 5 55 | 56 | echo "Running lunch command" 57 | lunch aicp_bonito-userdebug 58 | 59 | echo "Starting the build with mka blissify" 60 | mka bacon |& tee /tmp/build.log 61 | 62 | -------------------------------------------------------------------------------- /Pixel 6 Notes: -------------------------------------------------------------------------------- 1 | Commits need for Bliss: 2 | 3 | Add Vendorbootconfig 4 | https://github.com/Albinoman887/android_build/commit/b486e94eb2f59d188397fe17f8aaf05cca0a7b28 5 | 6 | FOD 7 | https://github.com/Albinoman887/android_frameworks_base/commit/94b5cd382c347a23fbd01fd606f0e435b8e1e260 8 | https://github.com/Albinoman887/android_frameworks_base/commit/72aa1d76f58fbb4d55a9af0c53bb1f147a266fda 9 | https://github.com/Albinoman887/android_frameworks_base/commit/0306aae308647d54e8a4b4218c84df7c37091cd8 10 | https://github.com/Albinoman887/android_frameworks_base/commit/96b1ffa30c24c6be86ccc20b6326f8530868e9a1 11 | 12 | Device tree: https://github.com/stevn4127/device_google_raviole 13 | Device Common tree: https://github.com/stevn4127/android_device_google_gs101 14 | Device sepolicy: https://github.com/stevn4127/android_device_google_gs101-sepolicy 15 | Kernel: https://android.googlesource.com/device/google/raviole-kernel 16 | vendor: https://gitlab.com/stebomurkn420/vendor_google 17 | 18 | 19 | #BlissROM #raven 20 | Bliss ROM 15.1 | 12 Arcadia 21 | For Google Pixel 6 Pro 22 | By stebomurkn420 23 | 24 | Download: https://mega.nz/folder/b2QhVISK#LE-tdm-iw_XHw90fdz07JQ 25 | 26 | Changelog: Way to many changes to explain and I did not document all my work properly. This should be a great base to start from now! 27 | * Lawnchair added 28 | * duplicate AOSP apps removed 29 | * HBM fixed thanks to Albinoman887 30 | * New super minimal Gapps built inline 31 | * specify CccDkTimeService as presigned which fixes the constant spamming in previous logs thank to anayw2001 32 | 33 | Follow 👉🏻 Bliss unofficial Channel https://t.me/nugrelease 34 | Join 👉🏻 Bliss Support Group https://t.me/NugTowersHQ 35 | Join 👉🏻 Device specific chat https://t.me/NugTowersHQ 36 | 37 | 38 | #BlissROM #oriole 39 | Bliss ROM 15.1 | 12 Arcadia 40 | For Google Pixel 6 41 | By stebomurkn420 42 | 43 | Download: https://mega.nz/folder/SiQXxazZ#ov6EqH783qxfKMzbODfR2A 44 | 45 | Changelog: Way to many changes to explain and I did not document all my work properly. This should be a great base to start from now! 46 | * Lawnchair added 47 | * duplicate AOSP apps removed 48 | * HBM fixed thanks to Albinoman887 (raven) 49 | * New super minimal Gapps built inline 50 | * specify CccDkTimeService as presigned which fixes the constant spamming in previous logs thank to anayw2001 (raven) 51 | 52 | Follow 👉🏻 Bliss unofficial Channel https://t.me/nugrelease 53 | Join 👉🏻 Bliss Support Group https://t.me/NugTowersHQ 54 | Join 👉🏻 Device specific chat https://t.me/NugTowersHQ 55 | 56 | -------------------------------------------------------------------------------- /bliss-bonito.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | cd 4 | 5 | sudo apt update 6 | sudo apt upgrade 7 | 8 | echo "Installing build tools to compile the ROM" 9 | sleep 5 10 | 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 11 | echo "Installing build tools COMPLETED" 12 | sleep 5 13 | 14 | #sudo sed -i '/cdrom/d' /etc/apt/sources.list 15 | 16 | mkdir bliss 17 | echo "Created bliss directory" 18 | sleep 5 19 | 20 | sudo wget 'https://storage.googleapis.com/git-repo-downloads/repo' -P /usr/local/sbin/ 21 | sudo chmod +x /usr/local/sbin/repo 22 | 23 | cd bliss 24 | echo "CD into Home/bliss" 25 | 26 | echo "Initiating manifest. You may need to select Y/N here or git config --global user.email and git config --global user.name" 27 | 28 | #git config --global user.email 29 | #git config --global user.name 30 | 31 | sleep 5 32 | 33 | repo init -u https://github.com/BlissRoms/platform_manifest.git -b arcadia 34 | echo "The project will now sync all of the repositories needed to compile the ROM. Depending on your connection this could take a while! You can expect a 1 hour sync time on a connection of 100mb/s Download speed." 35 | sleep 5 36 | 37 | repo sync -c --force-sync --no-tags --no-clone-bundle -j$(nproc --all) --optimized-fetch --prune 38 | echo "Repo syncing is complete" 39 | sleep 5 40 | 41 | rm -rf hardware/qcom/wlan 42 | echo "Removed any lingering dogshit" 43 | sleep 5 44 | 45 | echo "Now cloning the appropriate repos for Bonito" 46 | sleep 5 47 | 48 | git clone https://github.com/BlissRoms-Devices/android_device_google_bonito -b arcadia device/google/bonito 49 | echo "Cloning device tree for Bonito" 50 | git clone https://github.com/LineageOS/android_kernel_google_msm-4.9 -b lineage-19.0 kernel/google/msm-4.9 51 | echo "Cloning Dank kernel" 52 | git clone https://github.com/TheMuppets/proprietary_vendor_google -b lineage-19.0 vendor/google 53 | echo "Cloning proprietary vendor blobs" 54 | git clone https://github.com/LineageOS/android_hardware_qcom_wlan -b lineage-19.0 hardware/qcom/wlan 55 | echo "Replacing hardware/qcom/wlan with LineageOS repo" 56 | 57 | echo "Now starting the build. Lets roll another joint!" 58 | sleep 5 59 | 60 | echo "Initializing build enviroment" 61 | . build/envsetup.sh 62 | sleep 5 63 | 64 | echo "Starting the build with mka blissify" 65 | blissify bonito |& tee /tmp/build.log 66 | 67 | -------------------------------------------------------------------------------- /havoc-b4s4.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | cd 4 | 5 | echo "Installing build tools to compile the ROM" 6 | sleep 5 7 | sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev libncurses5 git repo openjdk-8-jdk adb fastboot 8 | echo "Installing build tools COMPLETED" 9 | sleep 5 10 | 11 | mkdir havoc 12 | echo "Created havoc directory" 13 | sleep 5 14 | 15 | mkdir -p ~/bin 16 | echo "Running... mkdir -p ~/bin" 17 | sleep 5 18 | 19 | curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo 20 | echo "Running... curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo" 21 | 22 | chmod a+x ~/bin/repo 23 | echo "Running... a+x ~/bin/repo" 24 | sleep 5 25 | 26 | cd $HOME/havoc 27 | echo "CD into Home/havoc" 28 | 29 | echo "Initiating manifest. You may need to select Y/N here or git config --global user.email and git config --global user.name" 30 | repo init -u https://github.com/Havoc-OS/android_manifest.git -b ten 31 | sleep 5 32 | 33 | echo "The project will now sync all of the repositories needed to compile the ROM. Depending on your connection this could take a while! You can expect a 1 hour sync time on a connection of 100mb/s Download speed." 34 | sleep 7 35 | 36 | repo sync --current-branch --force-sync --no-clone-bundle --no-tags --optimized-fetch --prune -j32 37 | echo "Repo syncing is complete" 38 | sleep 5 39 | 40 | rm -rf device/google/bonito 41 | rm -rf device/google/bonito-kernel 42 | rm -rf device/google/sargo 43 | rm -rf device/google/bonito-sepolicy 44 | rm -rf kernel/google/bonito 45 | rm -rf vendor/google 46 | rm -rf vendor/images 47 | rm -rf vendor/gapps 48 | echo "Removed any lingering dogshit" 49 | sleep 5 50 | 51 | echo "Now cloning the appropriate trees for Bonito" 52 | sleep 5 53 | 54 | git clone https://github.com/stebomurkn420/Bonito -b havoc device/google/bonito 55 | echo "Cloning device tree for Bonito" 56 | git clone https://github.com/BlissRoms-Devices/android_kernel_google_b4s4 kernel/google/b4s4 57 | echo "Cloning Dank kernel" 58 | git clone https://github.com/BlissRoms-Devices/proprietary_vendor_google vendor/google 59 | echo "Cloning proprietary vendor blobs" 60 | git clone https://gitlab.com/stebomurkn420/gapps.git -b havoc vendor/gapps 61 | echo "Cloning Gapps" 62 | git clone https://android.googlesource.com/device/sample device/sample 63 | 64 | echo "Now starting the build. Lets roll another joint!" 65 | sleep 5 66 | 67 | echo "Initializing build enviroment" 68 | . build/envsetup.sh 69 | sleep 5 70 | 71 | echo "Running lunch command" 72 | lunch havoc_bonito-userdebug 73 | 74 | echo "Starting the build with mka blissify" 75 | sleep 5 76 | mka bacon |& tee /tmp/build.log 77 | -------------------------------------------------------------------------------- /lineage.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | cd 4 | 5 | sudo apt update 6 | 7 | sudo apt upgrade -y 8 | 9 | echo "Installing build tools to compile the ROM" 10 | sleep 5 11 | sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev libncurses5 git repo openjdk-8-jdk adb fastboot 12 | echo "Installing build tools COMPLETED" 13 | sleep 5 14 | 15 | mkdir los 16 | echo "Created los (LineageOS) directory" 17 | sleep 5 18 | 19 | mkdir -p ~/bin 20 | echo "Running... mkdir -p ~/bin" 21 | sleep 5 22 | 23 | curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo 24 | echo "Running... curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo" 25 | 26 | chmod a+x ~/bin/repo 27 | echo "Running... a+x ~/bin/repo" 28 | sleep 5 29 | 30 | cd $HOME/los 31 | echo "CD into Home/los" 32 | 33 | rm -rf frameworks/base 34 | 35 | echo "Initiating manifest. You may need to select Y/N here or git config --global user.email and git config --global user.name" 36 | repo init -u git://github.com/LineageOS/android.git -b lineage-17.1 37 | sleep 5 38 | 39 | echo "The project will now sync all of the repositories needed to compile the ROM. Depending on your connection this could take a while! You can expect a 1 hour sync time on a connection of 100mb/s Download speed." 40 | sleep 7 41 | 42 | repo sync --current-branch --force-sync --no-clone-bundle --no-tags --optimized-fetch --prune -j32 43 | echo "Repo syncing is complete" 44 | sleep 5 45 | 46 | rm -rf device/google/bonito 47 | rm -rf device/google/bonito-kernel 48 | rm -rf device/google/sargo 49 | rm -rf device/google/bonito-sepolicy 50 | rm -rf kernel/google/bonito 51 | rm -rf kernel/google/b4s4 52 | rm -rf vendor/google 53 | rm -rf vendor/images 54 | rm -rf packages/apps/Trebuchet 55 | rm -rf packages/apps/Launcher3 56 | rm -rf vendor/gapps 57 | echo "Remove any lingering dogshit" 58 | sleep 5 59 | 60 | echo "Now cloning the appropriate trees for Bonito" 61 | sleep 5 62 | 63 | git clone https://github.com/stevn4127/Bonito -b lineage device/google/bonito 64 | echo "Cloning device tree for Bonito" 65 | git clone https://github.com/BlissRoms-Devices/android_kernel_google_b4s4 kernel/google/b4s4 66 | echo "Cloning Dank kernel" 67 | git clone https://github.com/BlissRoms-Devices/proprietary_vendor_google vendor/google 68 | echo "Cloning proprietary vendor blobs" 69 | git clone https://gitlab.com/stebomurkn420/gapps.git -b los vendor/gapps 70 | echo "Cloning Gapps" 71 | git clone https://github.com/BlissRoms/platform_packages_apps_Launcher3 packages/apps/Launcher3 72 | echo "Cloning Bliss launcher" 73 | 74 | echo "Now starting the build. Lets roll another joint!" 75 | sleep 5 76 | 77 | echo "Initializing build enviroment" 78 | . build/envsetup.sh 79 | sleep 5 80 | 81 | make clean 82 | echo "Cleaning build enviroment" 83 | sleep 3 84 | 85 | echo "Running lunch command" 86 | lunch lineage_bonito-userdebug 87 | 88 | echo "Starting the build with mka bacon" 89 | make bacon -j16 90 | -------------------------------------------------------------------------------- /bliss-raven.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | cd 4 | 5 | sudo apt update 6 | sudo apt upgrade 7 | 8 | echo "Installing build tools to compile the ROM" 9 | sleep 5 10 | 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 11 | echo "Installing build tools COMPLETED" 12 | sleep 5 13 | 14 | #sudo sed -i '/cdrom/d' /etc/apt/sources.list 15 | 16 | mkdir bliss 17 | echo "Created bliss directory" 18 | sleep 5 19 | 20 | sudo wget 'https://storage.googleapis.com/git-repo-downloads/repo' -P /usr/local/sbin/ 21 | sudo chmod +x /usr/local/sbin/repo 22 | 23 | cd bliss 24 | echo "CD into Home/bliss" 25 | 26 | echo "Initiating manifest. You may need to select Y/N here or git config --global user.email and git config --global user.name and restart script" 27 | 28 | #git config --global user.email 29 | #git config --global user.name 30 | 31 | sleep 5 32 | 33 | repo init -u https://github.com/BlissRoms/platform_manifest.git -b arcadia 34 | echo "The project will now sync all of the repositories needed to compile the ROM. Depending on your connection this could take a while! You can expect a 1 hour sync time on a connection of 100mb/s Download speed." 35 | sleep 5 36 | 37 | repo sync -c --force-sync --no-tags --no-clone-bundle -j$(nproc --all) --optimized-fetch --prune 38 | echo "Repo syncing is complete" 39 | sleep 5 40 | 41 | rm -rf frameworks/base 42 | rm -rf build/make 43 | rm -rf build/soong 44 | rm -rf hardware/google/pixel-sepolicy 45 | rm -rf vendor/google 46 | rm -rf vendor/gms 47 | echo "Removed repos that need patches" 48 | sleep 5 49 | 50 | echo "Now cloning the appropriate repos for Raven" 51 | sleep 5 52 | 53 | git clone https://github.com/stevn4127/platform_frameworks_base -b arcadia frameworks/base 54 | echo "Cloning patched FWB for FOD" 55 | git clone https://github.com/stevn4127/platform_build_make -b arcadia build/make 56 | echo "Cloning patched build/make" 57 | git clone https://github.com/stevn4127/platform_vendor_bliss -b arcadia vendor/bliss 58 | echo "Cloning patched vendor/bliss" 59 | git clone https://github.com/stevn4127/platform_build_soong -b arcadia build/soong 60 | echo "Cloning patched build/soong" 61 | git clone https://github.com/stevn4127/device_google_raviole -b arcadia device/google/raviole 62 | echo "Cloning device tree for Raven" 63 | git clone https://github.com/stevn4127/android_device_google_gs101 -b arcadia device/google/gs101 64 | echo "Cloning gs101" 65 | git clone https://github.com/stevn4127/android_device_google_gs101-sepolicy -b arcadia device/google/gs101-sepolicy 66 | echo "Cloning gs101-sepolicy" 67 | git clone https://android.googlesource.com/device/google/raviole-kernel -b android-12.0.0_r32 device/google/raviole-kernel 68 | echo "Cloning AOSP kernel" 69 | git clone https://gitlab.com/stebomurkn420/vendor_google -b arcadia vendor/google 70 | echo "Cloning proprietary vendor blobs" 71 | git clone https://github.com/stevn4127/hardware_google_pixel-sepolicy -b arcadia hardware/google/pixel-sepolicy 72 | #git clone https://gitlab.com/stebomurkn420/platform_vendor_gms -b arcadia vendor/gms 73 | #echo "Cloning gapps" 74 | 75 | 76 | echo "Now starting the build. Lets roll another joint!" 77 | sleep 5 78 | 79 | echo "Initializing build enviroment" 80 | . build/envsetup.sh 81 | sleep 5 82 | 83 | echo "Starting the build with mka blissify" 84 | lunch bliss_raven-userdebug 85 | 86 | blissify raven |& tee /tmp/build.log 87 | 88 | --------------------------------------------------------------------------------