4
4
adb devices
5
5
6
6
# User Interface
7
- opt=$( zenity --list --title=Fire-Tools --width=800 --height=500 --column=Option --column=Tool Debloat ' Removes Amazon Apps' \
8
- ' Google-Services' ' Installs Google services and Play Store' ' Change-Launcher' ' Disables fire launcher and replaces it with Nova or Lawnchair' \
7
+ opt=$( zenity --list --title=Fire-Tools --width=800 --height=500 --column=Option --column=Tool Debloat ' Removes Amazon apps' \
8
+ ' Undo-Debloat' ' Enables all Amazon apps' ' Google-Services' ' Installs Google services and Play Store' \
9
+ ' Change-Launcher' ' Disables fire launcher and replaces it with Nova or Lawnchair' \
9
10
' Disable-OTA' ' Disables OTA updates' ' Batch-Install' ' Put .apk files in Custom folder for batch install' )
10
11
11
12
# Options
12
- # Comment out any packages you don't want disabled
13
- if [ " $opt " = ' Debloat' ]
14
- then
15
- adb shell pm disable-user -k amazon.alexa.tablet
16
- adb shell pm disable-user -k com.amazon.device.backup
17
- adb shell pm disable-user -k com.amazon.device.backup.sdk.internal.library
18
- adb shell pm disable-user -k com.amazon.device.crashmanager
19
- adb shell pm disable-user -k com.amazon.device.logmanager
20
- adb shell pm disable-user -k com.amazon.device.sync
21
- adb shell pm disable-user -k com.amazon.device.sync.sdk.internal
22
- adb shell pm disable-user -k com.amazon.dp.contacts
23
- adb shell pm disable-user -k com.amazon.dp.fbcontacts
24
- adb shell pm disable-user -k com.amazon.dp.logger
25
- adb shell pm disable-user -k com.amazon.geo.client.maps
26
- adb shell pm disable-user -k com.amazon.geo.mapsv2
27
- adb shell pm disable-user -k com.amazon.geo.mapsv2.services
28
- adb shell pm disable-user -k com.amazon.goodreads.kindle
29
- adb shell pm disable-user -k com.amazon.h2settingsfortablet
30
- adb shell pm disable-user -k com.amazon.kcp.tutorial
31
- adb shell pm disable-user -k com.amazon.kindle
32
- adb shell pm disable-user -k com.amazon.kindle.cms
33
- adb shell pm disable-user -k com.amazon.kindle.devicecontrols
34
- adb shell pm disable-user -k com.amazon.kindle.kso
35
- adb shell pm disable-user -k com.amazon.kindle.otter.settings
36
- adb shell pm disable-user -k com.amazon.kindle.personal_video
37
- adb shell pm disable-user -k com.amazon.kindle.unifiedSearch
38
- adb shell pm disable-user -k com.amazon.legalsettings
39
- adb shell pm disable-user -k com.amazon.logan
40
- adb shell pm disable-user -k com.amazon.mp3
41
- adb shell pm disable-user -k com.amazon.ods.kindleconnect
42
- adb shell pm disable-user -k com.amazon.parentalcontrols
43
- adb shell pm disable-user -k com.amazon.photos
44
- adb shell pm disable-user -k com.amazon.photos.importer
45
- adb shell pm disable-user -k com.amazon.platform
46
- adb shell pm disable-user -k com.amazon.pm
47
- adb shell pm disable-user -k com.amazon.precog
48
- adb shell pm disable-user -k com.amazon.readynowcore
49
- adb shell pm disable-user -k com.amazon.recess
50
- adb shell pm disable-user -k com.amazon.socialplatform
51
- adb shell pm disable-user -k com.amazon.tahoe
52
- adb shell pm disable-user -k com.amazon.unifiedsharefacebook
53
- adb shell pm disable-user -k com.amazon.unifiedsharegoodreads
54
- adb shell pm disable-user -k com.amazon.unifiedsharesinaweibo
55
- adb shell pm disable-user -k com.amazon.unifiedsharetwitter
56
- adb shell pm disable-user -k com.amazon.vans.alexatabletshopping.app
57
- adb shell pm disable-user -k com.amazon.venezia
58
- adb shell pm disable-user -k com.amazon.webapp
59
- adb shell pm disable-user -k com.amazon.whisperlink.activityview.android
60
- adb shell pm disable-user -k com.amazon.whisperlink.core.android
61
- adb shell pm disable-user -k com.android.email
62
- adb shell pm disable-user -k com.amazon.whisperplay.contracts
63
- adb shell pm disable-user -k com.amazon.windowshop
64
- adb shell pm disable-user -k com.amazon.zico
65
- adb shell pm disable-user -k com.audible.application.kindle
66
- adb shell pm disable-user -k com.goodreads.kindle
67
- adb shell pm disable-user -k com.here.odnp.service
68
- adb shell pm disable-user -k com.kingsoft.office.amz
69
- adb shell pm disable-user -k org.mopria.printplugin
13
+ # Delete any packages from Debloat.txt that you don't want disabled
14
+ if [ " $opt " = ' Debloat' ]; then
15
+ xargs -l adb shell pm disable-user -k < Debloat.txt
70
16
zenity --notification --text=' Successfully Debloated Fire OS'
71
17
exec ./Fire-Tools.sh
72
18
19
+ elif [ " $opt " = ' Undo-Debloat' ]; then
20
+ xargs -l adb shell pm enable < Debloat.txt
21
+ zenity --notification --text=' Successfully Enabled Debloated Packages'
22
+ exec ./Fire-Tools.sh
23
+
73
24
# Google Services Installer (Download .apk files, push split .apks, launch and instruct SAI)
74
25
elif [ " $opt " = ' Google-Services' ]; then
75
26
for gapps in Gapps/* .apk
@@ -93,14 +44,14 @@ elif [ "$opt" = 'Change-Launcher' ]; then
93
44
94
45
# Disable OTA Updates
95
46
elif [ " $opt " = ' Disable-OTA' ]; then
96
- adb shell pm disable-user -k com.amazon.kindle.otter.oobe.forced.ota
97
47
adb shell pm disable-user -k com.amazon.device.software.ota
48
+ adb shell pm disable-user -k com.amazon.kindle.otter.oobe.forced.ota
98
49
zenity --notification --text=' Successfully Disabled OTA Updates'
99
50
exec ./Fire-Tools.sh
100
51
101
52
# Batch Install (Install all .apk files in /Custom folder)
102
53
elif [ " $opt " = ' Batch-Install' ]; then
103
- for custom in Custom/*
54
+ for custom in Custom/* .apk
104
55
do
105
56
adb install " $custom "
106
57
done
0 commit comments