-
Notifications
You must be signed in to change notification settings - Fork 1
/
join_split_files.sh
executable file
·60 lines (59 loc) · 5 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/bin/bash
cat bootRE/boot.elf.* 2>/dev/null >> bootRE/boot.elf
rm -f bootRE/boot.elf.* 2>/dev/null
cat system/system/framework/framework-res.apk.* 2>/dev/null >> system/system/framework/framework-res.apk
rm -f system/system/framework/framework-res.apk.* 2>/dev/null
cat system/system/framework/oat/arm64/services.odex.* 2>/dev/null >> system/system/framework/oat/arm64/services.odex
rm -f system/system/framework/oat/arm64/services.odex.* 2>/dev/null
cat system/system/system_ext/apex/com.android.vndk.v30.apex.* 2>/dev/null >> system/system/system_ext/apex/com.android.vndk.v30.apex
rm -f system/system/system_ext/apex/com.android.vndk.v30.apex.* 2>/dev/null
cat system/system/priv-app/AvatarEmojiSticker/AvatarEmojiSticker.apk.* 2>/dev/null >> system/system/priv-app/AvatarEmojiSticker/AvatarEmojiSticker.apk
rm -f system/system/priv-app/AvatarEmojiSticker/AvatarEmojiSticker.apk.* 2>/dev/null
cat system/system/priv-app/SamsungCoreServices/SamsungCoreServices.apk.* 2>/dev/null >> system/system/priv-app/SamsungCoreServices/SamsungCoreServices.apk
rm -f system/system/priv-app/SamsungCoreServices/SamsungCoreServices.apk.* 2>/dev/null
cat system/system/priv-app/YourPhone_P1_5/YourPhone_P1_5.apk.* 2>/dev/null >> system/system/priv-app/YourPhone_P1_5/YourPhone_P1_5.apk
rm -f system/system/priv-app/YourPhone_P1_5/YourPhone_P1_5.apk.* 2>/dev/null
cat system/system/priv-app/OneDrive_Samsung_v3/OneDrive_Samsung_v3.apk.* 2>/dev/null >> system/system/priv-app/OneDrive_Samsung_v3/OneDrive_Samsung_v3.apk
rm -f system/system/priv-app/OneDrive_Samsung_v3/OneDrive_Samsung_v3.apk.* 2>/dev/null
cat system/system/priv-app/wallpaper-res/wallpaper-res.apk.* 2>/dev/null >> system/system/priv-app/wallpaper-res/wallpaper-res.apk
rm -f system/system/priv-app/wallpaper-res/wallpaper-res.apk.* 2>/dev/null
cat system/system/priv-app/AREmojiEditor/AREmojiEditor.apk.* 2>/dev/null >> system/system/priv-app/AREmojiEditor/AREmojiEditor.apk
rm -f system/system/priv-app/AREmojiEditor/AREmojiEditor.apk.* 2>/dev/null
cat system/system/priv-app/SecSettings/SecSettings.apk.* 2>/dev/null >> system/system/priv-app/SecSettings/SecSettings.apk
rm -f system/system/priv-app/SecSettings/SecSettings.apk.* 2>/dev/null
cat system/system/priv-app/SumeNNService/SumeNNService.apk.* 2>/dev/null >> system/system/priv-app/SumeNNService/SumeNNService.apk
rm -f system/system/priv-app/SumeNNService/SumeNNService.apk.* 2>/dev/null
cat system/system/priv-app/AREmoji/AREmoji.apk.* 2>/dev/null >> system/system/priv-app/AREmoji/AREmoji.apk
rm -f system/system/priv-app/AREmoji/AREmoji.apk.* 2>/dev/null
cat system/system/priv-app/DualOutFocusViewer_S/DualOutFocusViewer_S.apk.* 2>/dev/null >> system/system/priv-app/DualOutFocusViewer_S/DualOutFocusViewer_S.apk
rm -f system/system/priv-app/DualOutFocusViewer_S/DualOutFocusViewer_S.apk.* 2>/dev/null
cat system/system/app/OCRDataProvider/OCRDataProvider.apk.* 2>/dev/null >> system/system/app/OCRDataProvider/OCRDataProvider.apk
rm -f system/system/app/OCRDataProvider/OCRDataProvider.apk.* 2>/dev/null
cat system/system/app/HoneyBoard/HoneyBoard.apk.* 2>/dev/null >> system/system/app/HoneyBoard/HoneyBoard.apk
rm -f system/system/app/HoneyBoard/HoneyBoard.apk.* 2>/dev/null
cat boot.img.* 2>/dev/null >> boot.img
rm -f 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/Messages/Messages.apk.* 2>/dev/null >> product/priv-app/Messages/Messages.apk
rm -f product/priv-app/Messages/Messages.apk.* 2>/dev/null
cat product/priv-app/Phonesky/Phonesky.apk.* 2>/dev/null >> product/priv-app/Phonesky/Phonesky.apk
rm -f product/priv-app/Phonesky/Phonesky.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/WebViewGoogle/WebViewGoogle.apk.* 2>/dev/null >> product/app/WebViewGoogle/WebViewGoogle.apk
rm -f product/app/WebViewGoogle/WebViewGoogle.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/YouTube/YouTube.apk.* 2>/dev/null >> product/app/YouTube/YouTube.apk
rm -f product/app/YouTube/YouTube.apk.* 2>/dev/null
cat product/app/TrichromeLibrary/TrichromeLibrary.apk.* 2>/dev/null >> product/app/TrichromeLibrary/TrichromeLibrary.apk
rm -f product/app/TrichromeLibrary/TrichromeLibrary.apk.* 2>/dev/null
cat product/app/SpeechServicesByGoogle/SpeechServicesByGoogle.apk.* 2>/dev/null >> product/app/SpeechServicesByGoogle/SpeechServicesByGoogle.apk
rm -f product/app/SpeechServicesByGoogle/SpeechServicesByGoogle.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 vendor/etc/saiv/aisolution_1.0/PAPAYA_0731.nnc.* 2>/dev/null >> vendor/etc/saiv/aisolution_1.0/PAPAYA_0731.nnc
rm -f vendor/etc/saiv/aisolution_1.0/PAPAYA_0731.nnc.* 2>/dev/null
cat recovery.img.* 2>/dev/null >> recovery.img
rm -f recovery.img.* 2>/dev/null