-
Notifications
You must be signed in to change notification settings - Fork 8
/
patcher.sh
executable file
·76 lines (72 loc) · 1.89 KB
/
patcher.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/bin/bash
ROOT="${PWD}"
REPOSITORIES=(
'art'
'bionic'
'build/make'
'external/aac'
'external/chromium-libpac'
'external/dnsmasq'
'external/gptfdisk'
'external/libaom'
'external/libavc'
'external/libexif'
'external/okhttp'
'external/skia'
'external/sonivox'
'external/sqlite'
'external/tremolo'
'external/v8'
'external/wpa_supplicant_8'
'frameworks/av'
'frameworks/base'
'frameworks/hardware/interfaces'
'frameworks/minikin'
'frameworks/native'
'frameworks/opt/net/voip'
'frameworks/opt/net/wifi'
'frameworks/opt/telephony'
'hardware/interfaces'
'hardware/nxp/nfc'
'hardware/pa/interfaces'
'hardware/qcom/wlan'
'hardware/ril'
'libcore'
'packages/apps/Bluetooth'
'packages/apps/Car/Settings'
'packages/apps/CellBroadcastReceiver'
'packages/apps/Contacts'
'packages/apps/Dialer'
'packages/apps/FMRadio'
'packages/apps/KeyChain'
'packages/apps/ManagedProvisioning'
'packages/apps/Nfc'
'packages/apps/ParanoidLauncher'
'packages/apps/PermissionController'
'packages/apps/Snap'
'packages/apps/Settings'
'packages/modules/NetworkStack'
'packages/providers/CalendarProvider'
'packages/providers/ContactsProvider'
'packages/providers/MediaProvider'
'packages/services/Telecomm'
'packages/services/Telephony'
'system/bt'
'system/connectivity/wificond'
'system/libfmq'
'system/libhwbinder'
'system/nfc'
'system/netd'
'system/security'
'system/sepolicy'
'system/tools/hidl'
'vendor/pa'
# 'vendor/qcom/opensource/commonsys/packages/apps/Bluetooth'
'vendor/qcom/opensource/commonsys/system/bt'
'vendor/qcom/opensource/fm-commonsys'
)
for repository in "${REPOSITORIES[@]}"; do
cd "${ROOT}/${repository}"
git am --keep-cr "${ROOT}/patcher/aospa/${repository}"/*
cd "${ROOT}"
done