-
Notifications
You must be signed in to change notification settings - Fork 0
/
vendorsetup.sh
43 lines (30 loc) · 2.43 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
42
43
#Cloning Device Side trees and prebuilt kernel
git clone https://github.com/peridot-dev/proprietary_vendor_xiaomi_peridot -b fourteen vendor/xiaomi/peridot
git clone https://github.com/peridot-dev/android_device_xiaomi_peridot-prebuilt -b lineage-21.0 device/xiaomi/peridot-kernel
#Cloning Device Side Hals
rm -rf hardware/qcom-caf/common
git clone https://github.com/peridot-dev/android_hardware_qcom-caf_common hardware/qcom-caf/common
rm -rf hardware/qcom-caf/sm8650/audio/agm
git clone https://github.com/peridot-dev/android_vendor_qcom_opensource_agm -b lineage-21.0-caf-sm8650 hardware/qcom-caf/sm8650/audio/agm
rm -rf hardware/qcom-caf/sm8650/audio/pal
git clone https://github.com/peridot-dev/android_vendor_qcom_opensource_arpal-lx -b lineage-21.0-caf-sm8650 hardware/qcom-caf/sm8650/audio/pal
rm -rf hardware/qcom-caf/sm8650/audio/primary-hal
git clone https://github.com/peridot-dev/android_hardware_qcom_audio-ar -b lineage-21.0-caf-sm8650 hardware/qcom-caf/sm8650/audio/primary-hal
rm -rf hardware/qcom-caf/sm8650/data-ipa-cfg-mgr
git clone https://github.com/peridot-dev/android_vendor_qcom_opensource_data-ipa-cfg-mgr -b lineage-21.0-caf-sm8650 hardware/qcom-caf/sm8650/data-ipa-cfg-mgr
rm -rf hardware/qcom-caf/sm8650/dataipa
git clone https://github.com/peridot-dev/android_vendor_qcom_opensource_dataipa -b lineage-21.0-caf-sm8650 hardware/qcom-caf/sm8650/dataipa
rm -rf hardware/qcom-caf/sm8650/display
git clone https://github.com/peridot-dev/android_hardware_qcom_display -b lineage-21.0-caf-sm8650 hardware/qcom-caf/sm8650/display
rm -rf hardware/qcom-caf/sm8650/media
git clone https://github.com/peridot-dev/android_hardware_qcom_media -b lineage-21.0-caf-sm8650 hardware/qcom-caf/sm8650/media
rm -rf device/qcom/sepolicy_vndr/sm8650
git clone https://github.com/peridot-dev/android_device_qcom_sepolicy_vndr -b lineage-21.0-caf-sm8650 device/qcom/sepolicy_vndr/sm8650
rm -rf vendor/qcom/opensource/power
git clone https://github.com/peridot-dev/android_vendor_qcom_opensource_power vendor/qcom/opensource/power
rm -rf vendor/qcom/opensource/vibrator
git clone https://github.com/peridot-dev/android_vendor_qcom_opensource_vibrator vendor/qcom/opensource/vibrator
rm -rf hardware/xiaomi
git clone https://github.com/peridot-dev/android_hardware_xiaomi hardware/xiaomi
#Miuicamera
cat vendor/xiaomi/peridot/proprietary/system/priv-app/MiuiCamera/MiuiCamera.apk.part* > vendor/xiaomi/peridot/proprietary/system/priv-app/MiuiCamera/MiuiCamera.apk