-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapply.sh
More file actions
33 lines (27 loc) · 2.51 KB
/
apply.sh
File metadata and controls
33 lines (27 loc) · 2.51 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
echo "Applying Carrier Aggregation patches"
cd frameworks/base || exit 1
curl https://github.com/sarthakroy2002/frameworks_base/commit/d217c2c9f15175e0eff1e35f1cc26685b1959764.patch | git am -3
curl https://github.com/begonia-dev/android_frameworks_base/commit/2dd4ceaae6f0e21acc608bb9752b1ffe41d1217c.patch | git am -3
cd ../..
cd packages/apps/Settings || exit 1
curl https://github.com/begonia-dev/android_packages_apps_Settings/commit/a88066cb1451edb42e75eb66d3b6b8a3dbcba9a6.patch | git am -3
cd ../../..
echo "Applying Bluetooth Patches"
cd packages/apps/Bluetooth && git fetch https://github.com/SakthivelNadar/packages_modules_Bluetooth && git cherry-pick 37389ae84e45fd30599f09a0d36c1611ba1a637c && cd ../../..
cd frameworks/av && git fetch https://github.com/SakthivelNadar/frameworks_av && git cherry-pick 895d73bd0112b93d8c567b1c76c8d28eb5167825^..b7ebc7f07e48589400137c77f8bf5c8c594ec19b && cd ../..
echo "Apply MTK Enhancements"
cd frameworks/native || exit 1
git fetch https://review.arrowos.net/ArrowOS/android_frameworks_native refs/changes/51/18651/1 && git cherry-pick FETCH_HEAD
git fetch https://github.com/begonia-dev/android_frameworks_native && git cherry-pick 629aa1b40ceb83b57c8bd4803036013029586e11
cd ../..
echo "Applying patches for dead device"
cd frameworks/av || exit 1
git fetch https://review.arrowos.net/ArrowOS/android_frameworks_av refs/changes/55/18655/1 && git cherry-pick FETCH_HEAD
git fetch https://review.arrowos.net/ArrowOS/android_frameworks_av refs/changes/56/18656/1 && git cherry-pick FETCH_HEAD
git fetch https://review.arrowos.net/ArrowOS/android_frameworks_av refs/changes/57/18657/1 && git cherry-pick FETCH_HEAD
cd ../..
echo "Applying IMS Patches (Some ROMs may have it)"
cd frameworks/opt/net/ims && git fetch https://github.com/AOSP-13-RMX2020/frameworks_opt_net_ims && git cherry-pick 0e8a88ecdbf05509f84bd136c63d56791dbf78c3^..5c6179402cd8a5fc29dbd789e59a5ddf5546c1b3 && cd ../../../..
cd packages/modules/Wifi && git fetch https://github.com/AOSP-13-RMX2020/packages_modules_Wifi && git cherry-pick 1315ccb757bd2d7c63b4815ab77e04535d2b7750^..6b341eefeb1127a97dc3b77a853e30ed7630be30 && cd ../../..
cd frameworks/opt/telephony && git fetch https://github.com/AOSP-13-RMX2020/frameworks_opt_telephony && git cherry-pick 3d7ef06b1370b98fc9893693a23b2f350a8d912d && cd ../../..
cd frameworks/base && git fetch https://github.com/ArrowOS/android_frameworks_base arrow-13.0 && git cherry-pick f627e89f23690ebf10ee46a0a3cdc456562ccb02 && git cherry-pick f5ef95dbb73ce6d0167dd085cbca11049919b8a4 && cd ../..