Skip to content

kelvinvirani/Linux_manifest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Halium 9.0

Install Packages :

sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install -y 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 libgl1-mesa-dev libxml2-utils xsltproc unzip bc repo nano && sudo apt-get install -y git gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 x11proto-core-dev libx11-dev libgl1-mesa-dev libxml2-utils xsltproc unzip bc repo nano libssl-dev && sudo apt-get install -y openjdk-8-jdk android-tools-adb bc bison build-essential curl flex g++-multilib gcc-multilib gnupg gperf imagemagick 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 yasm zip zlib1g-dev && sudo apt-get install -y build-essential kernel-package libncurses5-dev bzip2 android-liblog android-libbacktrace libtinyxml2-6 android-libutils android-sdk-build-tools git-lfs libncurses5:i386 libncurses5 ccache build-essential p7zip-full git libgtk2.0-dev chrpath libncurses5-dev libdbus-1-dev ruby libgl1-mesa-dev "^libxcb.*" libx11-xcb-dev libxrender-dev libxi-dev flex bison gperf patchelf build-essential kernel-package libncurses5-dev bzip2 android-liblog android-libbacktrace libtinyxml2-6 android-libutils android-sdk-build-tools git-lfs libncurses5:i386 libncurses5 ccache

Repo Sync :

To initialize your local repository using the LineageOS trees, use a command like this:

repo init -u git://github.com/Linux-On-Whyred/Linux_manifest.git -b halium-9.0

Then to sync up:

repo sync -v -j$(nproc --all)

or :

repo sync -vc -j$(nproc --all)

or :

repo sync -vf -j$(nproc --all)

or :

repo sync -v -j$(nproc --all) --force-sync --no-clone-bundle --no-tags

or :

repo sync -vc -j$(nproc --all) --force-sync --no-clone-bundle --no-tags

or :

repo sync -vf -j$(nproc --all) --force-sync --no-clone-bundle --no-tags

or :

repo sync -vc -j$(nproc --all) --force-sync --no-clone-bundle --no-tags --depth=1

Patch Hybris : [ Only Halium 9.0 ]

hybris-patches/apply-patches.sh --mb

Start Compile System.img

source build/envsetup.sh
lunch lineage_whyred-userdebug
mka halium-boot -j$(nproc --all)
mka systemimage -j$(nproc --all)

or : => system.img , halium-boot.img :

source build/envsetup.sh && lunch lineage_whyred-userdebug && mka halium-boot -j$(nproc --all) && mka systemimage -j$(nproc --all)

or : => halium-boot.img :

source build/envsetup.sh && lunch lineage_whyred-userdebug && mka halium-boot -j$(nproc --all)

or : => system.img :

source build/envsetup.sh && lunch lineage_whyred-userdebug && mka systemimage -j$(nproc --all)

make vendor.img ( only ):

source build/envsetup.sh && lunch lineage_whyred-userdebug && mka vendorimage -j$(nproc --all)

Make Rootfs.img UbPorts : [ Only Halium 9.0 7.0 8.1 ]

clone halium Install : Create *.img only Legacy

git clone -b halium-9.0 https://github.com/Linux-On-Whyred/halium-install.git halium-install

Legacy + SAR

git clone -b flashable-9.0 https://github.com/Linux-On-Whyred/halium-install.git halium-install

Legacy Only

git clone -b flashable-9.0-legacy https://github.com/Linux-On-Whyred/halium-install.git halium-install

SAR Only

git clone -b flashable-9.0-sar https://github.com/Linux-On-Whyred/halium-install.git halium-install

=>

cd halium-install

=>

wget rootfs.tar.gz 

EX :

armhf :
wget https://ci.ubports.com/job/xenial-rootfs-armhf/lastSuccessfulBuild/artifact/out/ubports-touch.rootfs-xenial-armhf.tar.gz
arm64 :
wget https://ci.ubports.com/job/xenial-rootfs-arm64/lastSuccessfulBuild/artifact/out/ubports-touch.rootfs-xenial-arm64.tar.gz

or ( Rootfs TheKit ) / https://github.com/ubports-on-fxtec-pro1/rootfs-builder-debos-android9/releases :

wget https://github.com/ubports-on-fxtec-pro1/rootfs-builder-debos-android9/releases/download/2020-04-10/ubuntu-touch-android9-armhf-20200410.tar.gz

or ( Erfan ) :

armhf:
wget https://build.lolinet.com/file/halium/ubport/ubuntu-touch-android9-armhf.tar.gz
arm64
wget https://build.lolinet.com/file/halium/ubport/ubuntu-touch-android9-arm64.tar.gz

=>

. halium-install -p ut rootfs.tar.gz system.img

EX ( Rootfs With TheKit ) : and system.img ~/halium/out/target/product/whyred/system.img

armhf :
. halium-install -p ut ubuntu-touch-android9-armhf-20200410.tar.gz ~/halium/out/target/product/whyred/system.img
armhf SAR :
. halium-install --system-as-root ubuntu-touch-android9-armhf-20200410.tar.gz ~/halium/out/target/product/whyred/system.img

EX ( Rootfs With Erfan ) : and system.img ~/halium/out/target/product/whyred/system.img

armhf SAR Only:
. halium-install --system-as-root ubuntu-touch-android9-armhf.tar.gz ~/halium/out/target/product/whyred/system.img
arm64 SAR Only :
. halium-install --system-as-root ubuntu-touch-android9-arm64.tar.gz ~/halium/out/target/product/whyred/system.img

EX ( Rootfs With CI UbPorts ) : and system.img ~/halium/out/target/product/whyred/system.img

armhf :
. halium-install -p ut ubports-touch.rootfs-xenial-armhf.tar.gz ~/halium/out/target/product/whyred/system.img
arm64 :
. halium-install -p ut ubports-touch.rootfs-xenial-arm64.tar.gz ~/halium/out/target/product/whyred/system.img
armhf SAR :
. halium-install --system-as-root ubports-touch.rootfs-xenial-armhf.tar.gz ~/halium/out/target/product/whyred/system.img
arm64 SAR :
. halium-install --system-as-root ubports-touch.rootfs-xenial-arm64.tar.gz ~/halium/out/target/product/whyred/system.img

Check Folder Out from halium-install / is not halium

PlasmaOS Only Halium 7.1

About

How To Build Halium & Mer-hybris

Resources

Stars

Watchers

Forks

Packages

No packages published