I have had an issue with Kodi either freezing or stop video play at random times.
In short, the quick fix is to use KingRoot's built-in unroot feature and unroot. SuperSU I could not get working properly on FireStick yet to test.
I usually root, disable Amazon bloatware, then unroot and install apps as normal. This method has worked for me and frees up around an extra 150MB+ of RAM on firestick.
Here is a screenshot of the max amount of memory that is free upon Kodi launch (its 265MB)!!!
My full Firestick Loader project files are here: https://github.com/esc0rtd3w/firestick-loader
Friday, July 8, 2016
Wednesday, July 6, 2016
Amazon FireStick/FireTV De-bloater Shell Script
Requires root access*
Busybox also recommended**
I have 6 different shell scripts available to get rid of Amazon Bloat.
They can all be found here: https://github.com/esc0rtd3w/firestick-loader/tree/master/scripts/debloat
bloat-disable.sh << Recommended To Use (Disabled Amazon Home + Retain Settings)
bloat-enable.sh << Restores All Disabled Packages and Services
bloat-hide.sh << Hides most packages (Amazon Menu still present)
bloat-remove.sh << Removes Directories (NOT FULLY TESTED! MAY REQUIRE RESTORE!!)
bloat-unhide.sh << Restores All Hidden Packages and Services
bloat-uninstall.sh <<Uninstalls Most Packages and Services (Amazon Menu still present)
Any of these scripts can be used like so:
From Windows/Linux Terminal:
adb shell push bloat-disable.sh /sdcard/
From Android Shell:
shell@montoya:/ $ su
From Root Android Shell:
root@montoya:/ # cp /sdcard/bloat-disable.sh /data/local/tmp/
root@montoya:/ # chmod 755 /data/local/tmp/bloat-disable.sh
root@montoya:/ # sh /data/local/tmp/bloat-disable.sh
Profit!
>8---SNIP---8<
bloat-disable.sh
Busybox also recommended**
I have 6 different shell scripts available to get rid of Amazon Bloat.
They can all be found here: https://github.com/esc0rtd3w/firestick-loader/tree/master/scripts/debloat
bloat-disable.sh << Recommended To Use (Disabled Amazon Home + Retain Settings)
bloat-enable.sh << Restores All Disabled Packages and Services
bloat-hide.sh << Hides most packages (Amazon Menu still present)
bloat-remove.sh << Removes Directories (NOT FULLY TESTED! MAY REQUIRE RESTORE!!)
bloat-unhide.sh << Restores All Hidden Packages and Services
bloat-uninstall.sh <<Uninstalls Most Packages and Services (Amazon Menu still present)
Any of these scripts can be used like so:
From Windows/Linux Terminal:
adb shell push bloat-disable.sh /sdcard/
From Android Shell:
shell@montoya:/ $ su
From Root Android Shell:
root@montoya:/ # cp /sdcard/bloat-disable.sh /data/local/tmp/
root@montoya:/ # chmod 755 /data/local/tmp/bloat-disable.sh
root@montoya:/ # sh /data/local/tmp/bloat-disable.sh
Profit!
>8---SNIP---8<
bloat-disable.sh
#!/system/bin/sh 
clear 
echo "Disabling Amazon Bloat...." 
echo "" 
echo "" 
pm disable amazon.jackson19 
pm disable android.amazon.perm 
pm disable com.amazon.acos.providers.UnifiedSettingsProvider 
pm disable com.amazon.ags.app 
pm disable com.amazon.android.marketplace 
pm disable com.amazon.android.service.networkmonitor 
pm disable com.amazon.application.compatibility.enforcer 
pm disable com.amazon.application.compatibility.enforcer.sdk.library 
pm disable com.amazon.avod 
pm disable com.amazon.awvflingreceiver 
pm disable com.amazon.bueller.music 
pm disable com.amazon.bueller.notification 
pm disable com.amazon.bueller.photos 
pm disable com.amazon.client.metrics 
pm disable com.amazon.client.metrics.api 
pm disable com.amazon.communication.discovery 
pm disable com.amazon.connectivitydiag 
pm disable com.amazon.cpl 
pm disable com.amazon.dcp 
pm disable com.amazon.dcp.contracts.framework.library 
pm disable com.amazon.dcp.contracts.library 
#pm disable com.amazon.device.bluetoothdfu 
#pm disable com.amazon.device.controllermanager 
pm disable com.amazon.device.crashmanager 
pm disable com.amazon.device.logmanager 
#pm disable com.amazon.device.lowstoragemanager 
pm disable com.amazon.device.messaging 
pm disable com.amazon.device.messaging.sdk.internal.library 
pm disable com.amazon.device.messaging.sdk.library 
pm disable com.amazon.device.settings 
pm disable com.amazon.device.settings.sdk.internal.library 
pm disable com.amazon.device.software.ota 
pm disable com.amazon.device.software.ota.override 
pm disable com.amazon.device.sync 
pm disable com.amazon.device.sync.sdk.internal 
pm disable com.amazon.devicecontrol 
pm disable com.amazon.dp.logger 
#pm disable com.amazon.fireinputdevices 
pm disable com.amazon.identity.auth.device.authorization 
pm disable com.amazon.imp 
pm disable com.amazon.kindle.cms 
pm disable com.amazon.kindle.devicecontrols 
#pm disable com.amazon.kindleautomatictimezone 
pm disable com.amazon.kso.blackbird 
pm disable com.amazon.metrics.api 
pm disable com.amazon.ods.kindleconnect 
pm disable com.amazon.parentalcontrols 
pm disable com.amazon.platform.fdrw 
pm disable com.amazon.precog 
pm disable com.amazon.providers 
pm disable com.amazon.providers.contentsupport 
pm disable com.amazon.recess 
pm disable com.amazon.securitysyncclient 
pm disable com.amazon.settings.systemupdates 
pm disable com.amazon.sharingservice.android.client.proxy 
pm disable com.amazon.shoptv.client 
pm disable com.amazon.shpm 
pm disable com.amazon.ssm 
pm disable com.amazon.storm.lightning.services 
pm disable com.amazon.storm.lightning.tutorial 
pm disable com.amazon.sync.provider.ipc 
pm disable com.amazon.sync.service 
pm disable com.amazon.tcomm 
pm disable com.amazon.tcomm.client 
pm disable com.amazon.tmm.tutorial 
pm disable com.amazon.tv.csapp 
pm disable com.amazon.tv.fw.metrics 
#pm disable com.amazon.tv.ime 
#pm disable com.amazon.tv.intentsupport 
#pm disable com.amazon.tv.launcher 
pm disable com.amazon.tv.legal.notices 
pm disable com.amazon.tv.oobe 
pm disable com.amazon.tv.parentalcontrols 
#pm disable com.amazon.tv.resolutioncycler 
#pm disable com.amazon.tv.settings 
pm disable com.amazon.tv.support 
pm disable com.amazon.tz.webcryptotzservice 
#pm disable com.amazon.unifiedshare.actionchooser 
pm disable com.amazon.venezia 
pm disable com.amazon.videoads.app 
pm disable com.amazon.visualonawv 
pm disable com.amazon.vizzini 
pm disable com.amazon.wcast.sink 
pm disable com.amazon.webview 
pm disable com.amazon.whisperlink.core.android 
pm disable com.amazon.whisperplay.contracts 
pm disable com.amazon.whisperplay.service.install 
pm disable com.svox.pico 
pm disable com.android.captiveportallogin 
# Home may kill enough by itself (untested) 
pm disable com.amazon.tv.launcher/.ui.HomeActivity 
pm disable com.amazon.tv.launcher/.ui.ItemLoadingActivity 
pm disable com.amazon.tv.launcher/.primefreetrial.PrimeFreeTrialActivity 
pm disable com.amazon.tv.launcher/.ui.purchase.OffDeviceSubscriptionActivity 
pm disable com.amazon.tv.launcher/.ui.Channel1DActivity 
pm disable com.amazon.tv.launcher/.ui.TVActivity 
pm disable com.amazon.tv.launcher/.ui.SearchMenuActivity 
pm disable com.amazon.tv.launcher/.ui.MoviesActivity 
pm disable com.amazon.tv.launcher/.ui.YoursToWatchActivity 
pm disable com.amazon.tv.launcher/.ui.ReleaseNotesActivity 
pm disable com.amazon.tv.launcher/.ui.purchase.VideoItemPurchaseActivity 
pm disable com.amazon.tv.launcher/.content.ComradeReceiver 
pm disable com.amazon.tv.launcher/.demo.DemoPackageAddedReceiver 
pm disable com.amazon.tv.launcher/.ads.AdRefreshReceiver 
pm disable com.amazon.tv.launcher/.util.CategorySearchReceiver 
pm disable com.amazon.tv.launcher/.util.LauncherPreloaderReceiver 
pm disable com.amazon.tv.launcher/.parentalcontrols.PCONPermissionsReceiver 
pm disable com.amazon.tv.launcher/com.amazon.tv.mediabrowse.service.MediaBrowseServiceImpl 
pm disable com.amazon.tv.settings/.blackcurtain.BlackCurtainActivity 
pm disable com.amazon.tv.settings/.blackcurtain.AdultContentPrefsActivity 
pm disable com.amazon.tv.settings/.tv.ThingsToTrySettingsActivity 
pm disable com.amazon.tv.settings/.tv.AmazonAccountSettingsActivity 
pm disable com.amazon.tv.settings/.tv.BuellerAccountSettingsActivity 
pm disable com.amazon.tv.settings/.tv.AlexaSettingsActivity 
pm disable com.amazon.tv.settings/.auth.BuellerSettingsMAPInformationProvider 
pm disable com.amazon.tv.settings/.PCONPermissionsReceiver 
# Disable Sleep Screen (Hold HOME Button) 
#pm disable com.amazon.tv.settings/.hud.HomeLongPressReceiver 
#pm disable com.amazon.tv.settings/.tv.usb.AppScanReceiver 
#pm disable com.amazon.tv.settings.tv.usb.PackageMovedLocation pm disable com.amazon.settings.systemupdates/.OTAEventReceiver
[FireStick] Performance Testing and Modifications
WHEEEW!!!
This firestick just got a speed boost!!!
OK after about 20 hours straight, I have finally completely disabled the stock Amazon Home menu and kept the settings in tact from the stock launcher.
This firestick just got a speed boost!!!
OK after about 20 hours straight, I have finally completely disabled the stock Amazon Home menu and kept the settings in tact from the stock launcher.
Here is a screenshot of 
Kodi, before RAM Available was around 80-90MB. It now boots at around 
236MB+ free and settles around 200MB.
I have also updated all the scripting so you can mirror these results. The scripts are shell and can be run directly on the stick with SU permissions
All scripting and tools available at https://github.com/esc0rtd3w/firestick-loader
Bloat Disable Shell Script Used: https://github.com/esc0rtd3w/firestick-loader/blob/master/scripts/debloat/bloat-disable.sh
I have also updated all the scripting so you can mirror these results. The scripts are shell and can be run directly on the stick with SU permissions
All scripting and tools available at https://github.com/esc0rtd3w/firestick-loader
Bloat Disable Shell Script Used: https://github.com/esc0rtd3w/firestick-loader/blob/master/scripts/debloat/bloat-disable.sh
Subscribe to:
Comments (Atom)

 
