-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.sh
More file actions
36 lines (25 loc) · 1.13 KB
/
main.sh
File metadata and controls
36 lines (25 loc) · 1.13 KB
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
#!/bin/bash
RED='\033[0;31m'
NC='\033[0m'
now=$(date +"%T")
echo "Script Executed at : $now"
#This makes sure we use key sopd hals and modules
#As we dont use sonyt interfaces this is needed
export ALLOW_MISSING_DEPENDENCIES=true
#Remove dir that sony will use in the future not currently or u will get conflicts
rm -rf external/exfat
rm -rf vendor/oss/interfaces/usb
rm -rf vendor/qcom/opensource/dataservices
git clone https://github.com/sonyxperiadev/vendor-qcom-opensource-dataservices vendor/qcom/opensource/dataservices
rm -rf hardware/qcom/gps
git clone https://github.com/SonyAosp/platform_hardware_qcom_sdm845_gps hardware/qcom/gps
#Nuke Json (Already declared)
rm -rf device/sony/common/hardware/json-c
rm -rf vendor/qcom/opensource/bluetooth
git clone https://github.com/sonyxperiadev/vendor-qcom-opensource-bluetooth vendor/qcom/opensource/bluetooth
rm -rf hardware/qcom/media
git clone https://github.com/SonyAosp/platform_hardware_qcom_media hardware/qcom/media
rm -rf hardware/qcom/audio
git clone https://github.com/SonyAosp/platform_hardware_qcom_audio hardware/qcom/audio
now=$(date +"%T")
echo "Script Finished at : $now"