Created
March 13, 2018 19:27
-
-
Save danpawlik/656770be7bf776e43f9bd36d592b3bad to your computer and use it in GitHub Desktop.
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
############ CRDROID ################ | |
mkdir -p ~/build | |
export USER=$(whoami) | |
git config --global user.name "Daniel P" | |
git config --global user.email "dduuch@gmail.com" | |
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo | |
chmod a+x ~/bin/repo | |
yes | repo init -u https://github.com/dduuch/crdroid-d855.git -b 8.1-d855 | |
cd .repo/manifests/ | |
git remote add crdroid https://github.com/crdroidandroid/android.git | |
git remote update | |
git pull crdroid 8.1 | |
cd ../../ | |
repo sync -c -j16 --force-sync --no-clone-bundle | |
source ~/build/build/envsetup.sh | |
export USER=$(whoami) | |
breakfast d855 | |
brunch d855 | |
###### LINEAGE OS ######## | |
mkdir -p /root/build | |
cd /root/build | |
export USER=$(whoami) | |
git config --global user.name "Daniel P" | |
git config --global user.email "dduuch@gmail.com" | |
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo | |
chmod a+x ~/bin/repo | |
yes | repo init -u https://github.com/LineageOS/android.git -b lineage-15.1 | |
cd /root/build/.repo/manifests/ | |
git remote update | |
git pull origin lineage-15.1 | |
cd ~/build | |
repo sync -c -j16 --force-sync --no-clone-bundle | |
source ~/build/build/envsetup.sh | |
breakfast d855 | |
cd vendor/ | |
git clone https://github.com/TheMuppets/proprietary_vendor_lge.git -b lineage-15.1 lge | |
cd lge | |
git pull | |
cd ~/build/ | |
brunch d855 | |
#### hybrid: LineageOS + CRdroid device config ##### | |
mkdir -p /root/build | |
cd /root/build | |
export USER=$(whoami) | |
git config --global user.name "Daniel P" | |
git config --global user.email "dduuch@gmail.com" | |
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo | |
chmod a+x ~/bin/repo | |
yes | repo init -u https://github.com/LineageOS/android.git -b lineage-15.1 | |
cd /root/build/.repo/manifests/ | |
git remote update | |
git pull origin lineage-15.1 | |
cd ~/build | |
repo sync -c -j16 --force-sync --no-clone-bundle | |
source ~/build/build/envsetup.sh | |
breakfast d855 | |
cd vendor/ | |
git clone https://github.com/TheMuppets/proprietary_vendor_lge.git -b lineage-15.1 lge | |
cd lge | |
git pull | |
cd ~/build/ | |
brunch d855 | |
cd ~/build/device/lge/d855/ | |
git remote add crdroid https://github.com/crdroidandroid/android_device_lge_d855.git | |
git remote update | |
git checkout -b 8.1 crdroid/8.1 | |
git pull crdroid 8.1 | |
cd ~/build/device/lge/g3-common/ | |
git remote add crdroid https://github.com/crdroidandroid/android_device_lge_g3-common.git | |
git remote update | |
git checkout -b 8.1 crdroid/8.1 | |
git pull crdroid 8.1 | |
cd ~/build/vendor/lge | |
git remote add crdroid https://github.com/crdroidandroid/proprietary_vendor_lge.git | |
git remote update | |
git checkout -b 8.1 crdroid/8.1 | |
git pull crdroid 8.1 | |
# Works well withoud cleaning-up ~/build dir. | |
# Before you start building new package, remove ~/build/out dir. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment