@@ -11,75 +11,94 @@ DOCUMENTATION
1111
1212# com.asus.ia.asusapp (MyAsus) | com.asus.dm (FotaService)
1313
14- # com.miui.player
15- # com.miui.videoplayer
16- # com.xiaomi.glgm
17- # com.xiaomi.mipicks
18- # com.mi.globalbrowser
19- # com.google.android.apps.youtube.music
20- # com.google.android.apps.tachyon
21- # com.google.android.apps.docs
22- # com.google.android.apps.maps
23- # com.google.android.videos
24- # com.mi.globalminusscreen
14+ product_brand=$( adb shell getprop ro.product.brand)
15+
16+ echo -e " Your product is: ${product_brand} \n"
2517
2618apps=(
27- com.netflix.mediaclient
28- com.netflix.partner.activation
29- com.asus.dm
30- com.asus.ia.asusapp
31- com.asus.weathertime
32- com.asus.filemanager
33- com.opera.max.oem
34- com.samsung.android.scloud
35- com.sec.android.app.samsungapps
36- com.facebook.orca
37- com.facebook.katana
38- com.facebook.system
39- com.facebook.services
40- com.facebook.appmanager
41- com.google.ar.lens
42- com.android.chrome
43- com.google.android.gm
44- com.android.htmlviewer
45- com.google.android.tts
46- com.google.android.talk
47- com.google.android.music
48- com.google.android.videos
49- com.google.android.youtube
50- com.google.android.calendar
51- com.android.bookmarkprovider
19+ # Xiaomi Optional
20+ com.mi.global.shop
21+ com.miui.player
22+ com.miui.videoplayer
23+ com.xiaomi.glgm
24+ com.xiaomi.mipicks
25+ com.mi.globalbrowser
26+ com.mi.android.globalFileexplorer
27+ com.mi.globalminusscreen
28+ # Ads:
29+ com.miui.msa.global
30+ com.google.android.adservices.api
31+ # Google Optional
32+ com.google.android.apps.youtube.music
33+ com.google.android.apps.tachyon
34+ com.google.android.apps.books
5235 com.google.android.apps.docs
5336 com.google.android.apps.maps
54- com.google.android.apps.plus
37+ com.google.android.youtube
38+ com.google.android.videos
39+ com.google.android.music
40+ com.android.chrome
41+ com.google.android.apps.subscriptions.red
42+ com.google.android.apps.wellbeing
5543 com.google.android.apps.turbo
44+ com.google.android.apps.plus
5645 com.google.android.play.games
57- com.google.android.apps.books
46+ # Android Optional
47+ com.google.ar.lens
48+ com.google.android.gm
5849 com.google.android.apps.photos
59- com.google.android.apps.tachyon
6050 com.google.android.apps.magazines
61- com.google.android.apps.wellbeing
62- com.google.android.marvin.talkback
6351 com.google.android.apps.walletnfcrel
64- com.google.android.apps.youtube.music
6552 com.google.android.projection.gearhead
53+ # IA:
54+ com.google.android.apps.bard
55+ com.google.android.gms.supervision
56+ com.android.hotwordenrollment.xgoogle
57+ com.android.hotwordenrollment.okgoogle
6658 com.google.android.googlequicksearchbox
67- com.google.android.apps.googleassistant
59+ # Trash:
60+ com.tiktok.manager
61+ com.facebook.orca
62+ com.facebook.katana
63+ com.facebook.system
64+ com.facebook.services
65+ com.facebook.appmanager
66+ com.netflix.mediaclient
67+ com.netflix.partner.activation
68+ # Asus Optional
69+ com.asus.dm
70+ com.asus.ia.asusapp
71+ com.asus.weathertime
72+ com.asus.filemanager
73+ # Samsung Optional
74+ com.samsung.android.scloud
75+ com.sec.android.app.samsungapps
76+ com.opera.max.oem
6877)
6978
70- # com.android.egg
71- # com.android.bips
72- # de.telekom.tsc
73- # com.motorola.demo
74- # com.motorola.help
75- # com.motorola.genie
76- # com.motorola.brapps
77- # com.motorola.ccc.ota
78- # com.motorola.demo.env
79- # com.motorola.ccc.notification
80- # com.motorola.timeweatherwidget
81- # com.google.android.apps.nbu.files
82- # com.motorola.motosignature.app
79+
80+ apps_warning=(
81+ com.google.android.marvin.talkback
82+ com.android.htmlviewer
83+ com.google.android.tts
84+ com.google.android.talk
85+ com.google.android.calendar
86+ com.android.bookmarkprovider
87+ com.google.android.apps.googleassistant
88+ # com.android.egg
89+ # com.android.bips
90+ # de.telekom.tsc
91+ # com.motorola.demo
92+ # com.motorola.help
93+ # com.motorola.genie
94+ # com.motorola.brapps
95+ # com.motorola.ccc.ota
96+ # com.motorola.demo.env
97+ # com.motorola.ccc.notification
98+ # com.motorola.timeweatherwidget
99+ # com.google.android.apps.nbu.files
100+ # com.motorola.motosignature.app
101+ )
83102
84103# Check the list of connected devices
85104if ! adb devices | grep -w " device" ; then
@@ -92,4 +111,15 @@ for i in "${apps[@]}"; do
92111 adb shell pm uninstall --user 0 " $i "
93112 uninstall_pid=$!
94113 wait $uninstall_pid
95- done
114+ done
115+
116+
117+ echo -e " \n\e[1;31mDo not remove these apps:\n\n${apps_warning[*]} \n\nif you want to remove them use: WARNING=WARNING ${0##*/ } \e[0m"
118+ if [[ " ${WARNING} " == " WARNING" ]]; then
119+ for i in " ${apps_warning[@]} " ; do
120+ echo -e " \nIt has been removed ${i} ?:"
121+ adb shell pm uninstall --user 0 " $i "
122+ uninstall_pid=$!
123+ wait $uninstall_pid
124+ done
125+ fi
0 commit comments