-
Notifications
You must be signed in to change notification settings - Fork 1
/
vendorsetup.sh
41 lines (29 loc) · 1.83 KB
/
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
echo 'Starting to clone stuffs needed to build for cheetah'
# Device common
echo 'Cloning common device tree'
git clone https://github.com/kenway214/device_google_gs201.git -b aosp-14 device/google/gs201
git clone https://github.com/kenway214/device_google_gs101.git -b aosp-14 device/google/gs101
git clone https://github.com/kenway214/device_google_gs-common.git -b derp-14 device/google/gs-common
# Kernel
echo 'Cloning kernel tree'
git clone --depth=1 --recursive https://github.com/kenway214/kernel_google_gs201.git -b poponix-ksu kernel/google/gs201/private/gs-google
# Vendor
echo 'Cloning vendor tree'
git clone https://github.com/kenway214/proprietary_vendor_google_cheetah.git -b aosp-14 vendor/google/cheetah
# pixel_parts
echo 'Cloning pixelparts'
git clone https://github.com/Evolution-X-Devices/packages_apps_PixelParts.git -b udc packages/apps/PixelParts
# BCR
echo 'Cloning bcr'
git clone --depth=1 https://github.com/Evolution-X/vendor_bcr.git -b udc vendor/bcr
# VoNR
echo 'Enabling VoNR by default'
cd frameworks/base
wget https://raw.githubusercontent.com/xiaomi-haydn-devs/Patch-Haydn/14/VoNR/0001-Enable-VoNR-by-default.patch
patch -p1 <0001-Enable-VoNR-by-default.patch
cd ../..
rm -rf hardware/google/pixel && git clone https://github.com/LineageOS/android_hardware_google_pixel -b lineage-21.0 hardware/google/pixel
rm -rf hardware/google/graphics/common && git clone https://github.com/LineageOS/android_hardware_google_graphics_common -b lineage-21.0 hardware/google/graphics/common
rm -rf hardware/google/pixel-sepolicy && git clone https://github.com/LineageOS/android_hardware_google_pixel-sepolicy -b lineage-21.0 hardware/google/pixel-sepolicy
rm -rf hardware/google/gchips && git clone https://github.com/LineageOS/android_hardware_google_gchips -b lineage-21.0 hardware/google/gchips
rm -rf device/google/pantah/vendorsetup.sh