-
Notifications
You must be signed in to change notification settings - Fork 2
/
debloat.nu
executable file
·50 lines (44 loc) · 2.17 KB
/
debloat.nu
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
#!/usr/bin/env nu
#xiaomi
##remove
adb shell pm uninstall -k --user 0 com.facebook.appmanager
adb shell pm uninstall -k --user 0 com.facebook.services
adb shell pm uninstall -k --user 0 com.facebook.system
##disable
###safe
adb shell pm disable-user --user 0 com.miui.analytics
adb shell pm disable-user --user 0 com.miui.cloudbackup
adb shell pm disable-user --user 0 com.miui.backup
adb shell pm disable-user --user 0 com.miui.micloudsync
adb shell pm disable-user --user 0 com.miui.cloudservice
adb shell pm disable-user --user 0 com.miui.notes
adb shell pm disable-user --user 0 com.miui.touchassistant
adb shell pm disable-user --user 0 com.miui.yellowpage
adb shell pm disable-user --user 0 com.miui.weather2
adb shell pm disable-user --user 0 com.miui.cleaner
adb shell pm disable-user --user 0 com.miui.player
adb shell pm disable-user --user 0 com.miui.videoplayer
###supossedly safe
adb shell pm disable-user --user 0 com.google.android.feedback
adb shell pm disable-user --user 0 com.xiaomi.joyose
adb shell pm disable-user --user 0 com.xiaomi.micloud.sdk
adb shell pm disable-user --user 0 com.xiaomi.midrop
adb shell pm disable-user --user 0 com.miui.mishare.connectivity
adb shell pm disable-user --user 0 com.miui.daemon
adb shell pm disable-user --user 0 com.miui.msa.global
adb shell pm disable-user --user 0 com.mi.android.globalFileexplorer
adb shell pm disable-user --user 0 com.xiaomi.payment
adb shell pm disable-user --user 0 com.google.android.marvin.talkback
adb shell pm disable-user --user 0 com.xiaomi.xmsfkeeper
adb shell pm disable-user --user 0 com.xiaomi.discover
adb shell pm disable-user --user 0 com.mi.globalbrowser
adb shell pm disable-user --user 0 com.mi.globalminusscreen
adb shell pm disable-user --user 0 com.xiaomi.calendar
adb shell pm disable-user --user 0 com.xiaomi.mipicks
adb shell pm disable-user --user 0 com.miui.miservice
###not sure
# adb shell pm disable-user --user 0 com.android.bookmarkprovider
# adb shell pm disable-user --user 0 android.autoinstalls.config.Xiaomi.qssi
# adb shell pm disable-user --user 0 com.miui.audiomonitor
# adb shell pm disable-user --user 0 com.xiaomi.xmsf
# adb shell pm disable-user --user 0 com.android.providers.partnerbookmarks