forked from furuycom/MIUI-Debloater
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
130 lines (125 loc) · 3.55 KB
/
install.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
SKIPMOUNT=false
PROPFILE=false
POSTFSDATA=false
LATESTARTSERVICE=false
print_modname() {
ui_print " *************************"
ui_print " MIUI DEBLOATER"
ui_print " *************************"
}
REPLACE="
/system/app/AnalyticsCore
/system/app/BookmarkProvider
/system/app/BuiltInPrintService
/system/app/Calculator
/system/app/CarrierDefaultApp
/system/app/Cit
/system/app/CloudService
/system/app/com.miui.qr
/system/app/EasterEgg
/system/app/facebook-appmanager
/system/app/FidoAuthen
/system/app/FidoClient
/system/app/FileExplorerGlobal
/system/app/GooglePrintRecommendationService
/system/app/Health
/system/app/HybridAccessory
/system/app/HybridPlatform
/system/app/IdMipay
/system/app/InMipay
/system/app/Joyose
/system/app/Lens
/system/app/mi_connect_service
/system/app/MiCloudSync
/system/app/MiGalleryLockscreen
/system/app/MiLinkService2
/system/app/MiPicks
/system/app/MiPlayClient
/system/app/MiRadio
/system/app/MiuiBugReport
/system/app/MiuiCompass
/system/app/MiuiDaemon
/system/app/MiuiVideoPlayer
/system/app/MiuiScreenRecorder
/system/app/MSA-Global
/system/app/Netflix_activation
/system/app/Notes
/system/app/OsuLogin
/system/app/PartnerBookmarksProvider
/system/app/PaymentService
/system/app/PlayAutoInstallStubApp
/system/app/Stk
/system/app/TouchAssistant
/system/app/Traceur
/system/app/VsimCore
/system/app/wps_lite
/system/app/WAPPushManager
/system/app/XMSFKeeper
/system/app/XiaomiSimActivateService
/system/data/app/android.autoinstalls.config.Xiaomi.qssi-5NKLAXthPp3xU6ucgGl2Ag==
/system/data/app/com.google.android.ims-zFXerSRh5hdqjerjDEJGyQ==
/system/priv-app/Browser
/system/priv-app/Calendar
/system/priv-app/CleanMaster
/system/priv-app/CloudBackup
/system/priv-app/CloudServiceSysbase
/system/priv-app/GameCenterGlobal
/system/priv-app/GoogleTTS
/system/priv-app/GlobalMinusScreen
/system/priv-app/MiBrowserGlobal
/system/priv-app/MiCalendarGlobal
/system/priv-app/MiDrop
/system/priv-app/MiService
/system/priv-app/MiShare
/system/priv-app/MiuiBrowserGlobal
/system/priv-app/MiuiGallery
/system/priv-app/MiuiMusicGlobal
/system/priv-app/MiuiScanner
/system/priv-app/ONS
/system/priv-app/ProxyHandler
/system/priv-app/SoundRecorder
/system/priv-app/Stk1
/system/priv-app/Tag
/system/priv-app/UserDictionaryProvider
/system/priv-app/YellowPage
/system/priv-app/Weather
/system/priv-app/facebook-installer
/system/priv-app/facebook-services
/system/product/app/Chrome
/system/product/app/Gmail2
/system/product/app/GoogleOne
/system/product/app/Maps
/system/product/app/remoteSimLockAuthentication
/system/product/app/FM
/system/product/app/GoogleTTS
/system/product/app/YouTube
/system/product/app/uimremoteclient
/system/product/app/uimremoteserver
/system/product/priv-app/AndroidAutoStub
/system/product/priv-app/HotwordEnrollmentOKGoogleCORTEXM4
/system/product/priv-app/HotwordEnrollmentXGoogleCORTEXM4
/system/product/priv-app/Wellbeing
/system/product/priv-app/Velvet
/system/product/priv-app/EmergencyInfo
/system/product/priv-app/GoogleAssistant
/system/product/priv-app/SetupWizard
/system/product/priv-app/ims
/system/vendor/app/SoterService
/data/app/android.autoinstalls.config.Xiaomi.begonia-qReVd01fGz2adoFNLXNDew==
/data/app/com.miui.analytics-JEa_Zu6x4mDKRv-IsGDPAA==
/vendor/data/app/Drive
/vendor/data/app/Duo
/vendor/data/app/GlobalFashiongallery
/vendor/data/app/Music2
/vendor/data/app/Photos
/vendor/data/app/Videos
/vendor/data/app/wps_lite
/vendor/data/app/XMRemoteController
"
on_install() {
ui_print " Extracting module files... "
unzip -o "$ZIPFILE" 'system/*' -d $MODPATH >&2
}
set_permissions() {
set_perm_recursive $MODPATH 0 0 0755 0644
}