-
Notifications
You must be signed in to change notification settings - Fork 0
/
join_split_files.sh
executable file
·42 lines (41 loc) · 3.13 KB
/
join_split_files.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
#!/bin/bash
cat vendor_boot.img.* 2>/dev/null >> vendor_boot.img
rm -f vendor_boot.img.* 2>/dev/null
cat product/priv-app/Velvet/Velvet.apk.* 2>/dev/null >> product/priv-app/Velvet/Velvet.apk
rm -f product/priv-app/Velvet/Velvet.apk.* 2>/dev/null
cat product/priv-app/GmsCore/GmsCore.apk.* 2>/dev/null >> product/priv-app/GmsCore/GmsCore.apk
rm -f product/priv-app/GmsCore/GmsCore.apk.* 2>/dev/null
cat product/app/Gmail2/Gmail2.apk.* 2>/dev/null >> product/app/Gmail2/Gmail2.apk
rm -f product/app/Gmail2/Gmail2.apk.* 2>/dev/null
cat product/app/Maps/Maps.apk.* 2>/dev/null >> product/app/Maps/Maps.apk
rm -f product/app/Maps/Maps.apk.* 2>/dev/null
cat product/app/Photos/Photos.apk.* 2>/dev/null >> product/app/Photos/Photos.apk
rm -f product/app/Photos/Photos.apk.* 2>/dev/null
cat product/app/LatinImeGoogle/LatinImeGoogle.apk.* 2>/dev/null >> product/app/LatinImeGoogle/LatinImeGoogle.apk
rm -f product/app/LatinImeGoogle/LatinImeGoogle.apk.* 2>/dev/null
cat product/app/YouTube/YouTube.apk.* 2>/dev/null >> product/app/YouTube/YouTube.apk
rm -f product/app/YouTube/YouTube.apk.* 2>/dev/null
cat product/app/WebViewGoogle/WebViewGoogle.apk.* 2>/dev/null >> product/app/WebViewGoogle/WebViewGoogle.apk
rm -f product/app/WebViewGoogle/WebViewGoogle.apk.* 2>/dev/null
cat product/app/Messages/Messages.apk.* 2>/dev/null >> product/app/Messages/Messages.apk
rm -f product/app/Messages/Messages.apk.* 2>/dev/null
cat vendor_bootimg/06_dtbdump_OgER.dtb.* 2>/dev/null >> vendor_bootimg/06_dtbdump_OgER.dtb
rm -f vendor_bootimg/06_dtbdump_OgER.dtb.* 2>/dev/null
cat system_ext/priv-app/OnePlusCamera/OnePlusCamera.apk.* 2>/dev/null >> system_ext/priv-app/OnePlusCamera/OnePlusCamera.apk
rm -f system_ext/priv-app/OnePlusCamera/OnePlusCamera.apk.* 2>/dev/null
cat system_ext/priv-app/OnePlusGallery/OnePlusGallery.apk.* 2>/dev/null >> system_ext/priv-app/OnePlusGallery/OnePlusGallery.apk
rm -f system_ext/priv-app/OnePlusGallery/OnePlusGallery.apk.* 2>/dev/null
cat system_ext/priv-app/Settings/Settings.apk.* 2>/dev/null >> system_ext/priv-app/Settings/Settings.apk
rm -f system_ext/priv-app/Settings/Settings.apk.* 2>/dev/null
cat system_ext/priv-app/OPAppCategoryProvider/OPAppCategoryProvider.apk.* 2>/dev/null >> system_ext/priv-app/OPAppCategoryProvider/OPAppCategoryProvider.apk
rm -f system_ext/priv-app/OPAppCategoryProvider/OPAppCategoryProvider.apk.* 2>/dev/null
cat system_ext/app/OPBreathMode/OPBreathMode.apk.* 2>/dev/null >> system_ext/app/OPBreathMode/OPBreathMode.apk
rm -f system_ext/app/OPBreathMode/OPBreathMode.apk.* 2>/dev/null
cat boot.img.* 2>/dev/null >> boot.img
rm -f boot.img.* 2>/dev/null
cat system/system/reserve/CanvasResources/CanvasResources.apk.* 2>/dev/null >> system/system/reserve/CanvasResources/CanvasResources.apk
rm -f system/system/reserve/CanvasResources/CanvasResources.apk.* 2>/dev/null
cat system/system/apex/com.android.art.release.apex.* 2>/dev/null >> system/system/apex/com.android.art.release.apex
rm -f system/system/apex/com.android.art.release.apex.* 2>/dev/null
cat system/system/apex/com.android.vndk.current.apex.* 2>/dev/null >> system/system/apex/com.android.vndk.current.apex
rm -f system/system/apex/com.android.vndk.current.apex.* 2>/dev/null