-
Notifications
You must be signed in to change notification settings - Fork 5
/
debloat-realmeui.sh
55 lines (50 loc) · 1.34 KB
/
debloat-realmeui.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
#!/bin/bash
# List of package names to uninstall
packagesToUninstall=(
android.autoinstalls.config.oppo
com.coloros.activation
com.coloros.assistantscreen
com.coloros.healthcheck
com.coloros.securepay
com.debug.loggerui
com.facebook.appmanager
com.facebook.services
com.facebook.system
com.finshell.fin
com.glance.internet
com.google.android.feedback
com.google.android.onetimeinitializer
com.google.android.setupwizard
com.heytap.cloud
com.heytap.music
com.heytap.pictorial
com.heytap.usercenter
com.oplus.account
com.oplus.logkit
com.oplus.ocloud
com.oplus.omoji
com.oplus.onet
com.oplus.pay
com.oplus.statistics.rom
com.oplus.synergy
com.oplus.themestore
com.oppo.quicksearchbox
com.redteamobile.roaming
com.tencent.soter.soterserver
com.android.email.partnerprovider
)
packagesToUninstallGlobally=(
com.finshell.fin
com.heytap.browser
com.heytap.pictorial
)
# Loop through the list and uninstall each package
for package in "${packagesToUninstall[@]}"; do
echo "Uninstalling package: $package"
adb shell pm uninstall -k --user 0 "$package"
done
for package in "${packagesToUninstallGlobally[@]}"; do
echo "Uninstalling package: $package"
adb shell pm uninstall -k "$package"
done
echo "Uninstallation complete"