-
Notifications
You must be signed in to change notification settings - Fork 0
/
vendorsetup.sh
23 lines (17 loc) · 956 Bytes
/
vendorsetup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
echo 'Starting to clone stuffs needed to build for garnet'
# Vendor
echo 'Cloning vendor tree'
git clone https://github.com/aosp-garnet/android_vendor_xiaomi_garnet.git -b derp-14 vendor/xiaomi/garnet
# Kernel
echo 'Cloning kernel tree'
git clone https://github.com/aosp-garnet/android_device_xiaomi_garnet-kernel.git -b lineage-21 device/xiaomi/garnet-kernel
# Hardware Xiaomi
echo 'Cloning hardware xiaomi'
rm -rf hardware/xiaomi && git clone https://github.com/aosp-garnet/hardware_xiaomi.git -b lineage-21 hardware/xiaomi
# MiuiCamera
echo 'Cloning miuicamera tree'
git clone https://gitlab.com/unmoved21/vendor_xiaomi_garnet-miuicamera -b 14 vendor/xiaomi/garnet-miuicamera
# Display Hals
echo 'Cloning display hals'
rm -rf hardware/qcom-caf/sm8450/display && git clone https://github.com/aosp-garnet/hardware_qcom-caf_sm8450_display.git -b lineage-21 hardware/qcom-caf/sm8450/display
echo 'Cloning process is completed, now its time for lunch'