Hello XDA users and Fire TV users, Amazon now blocked the adb shell pm disable-user command permanently. You can no longer block update packages 7.2.7.3/6.2.8.7 and higher. If you just updated your device without applying the system components updates, it should still work so avoid those incremental updates if you can while it lasts.
I'm currently running a Fire TV Stick Lite [TWRP Unlocked] (sheldon) on firmware 7.2.4.2 (PS7242/3515)
The pm disable-user is as follows from adb prompt:
pm disable-user com.amazon.device.software.ota
Security exception: cannot disable a protected package: com.amazon.device.software.ota
Yes mate, newer versions affect custom launchers being permanent too. https://www.aftvnews.com/amazon-blocks-custom-home-launchers-with-latest-fire-tv-software-update/
Skel40 said:
The pm disable-user is as follows from adb prompt:
pm disable-user com.amazon.device.software.ota
Security exception: cannot disable a protected package: com.amazon.device.software.ota
Click to expand...
Click to collapse
The command for unlocked/rooted devices is
pm disable com.amazon.device.software.ota
I guess you know that already, isn't it?
And this would be the command for the locked devices... which is blocked on the latest?
pm disable-user --user 0 com.amazon.device.software.ota
Sus_i said:
The command for unlocked/rooted devices is
pm disable com.amazon.device.software.ota
I guess you know that already, isn't it?
And this would be the command for the locked devices... which is blocked on the latest?
pm disable-user --user 0 com.amazon.device.software.ota
Click to expand...
Click to collapse
Yes which still works with root installed. The command is blocked on latest with system components installed for locked devices. It won't work. Maybe eventually it'll be rolled out as a system update so I wouldn't update if you use the custom launchers and want updates blocked. If they can permanently block launchers they can block update blocker tools from working anymore and it'll continue with newer methods. If anyone has a Fire TV Stick Lite and wants to unlock it. Now would be your best bet before it's patched.
I've enabled adb on rooted FTV2 sloane and launched adb shell (as administrator) but when I run pm disable com.amazon.device.software.ota I get an Error: java.lang.SecurityException: Permission Denial: attempt to change component state from pid=9891, uid=2000, package uid=32011
I was able to run pm clear com.amazon.device.software.ota with success
How do I overcome the permissions denial
hafren said:
I've enabled adb on rooted FTV2 sloane and launched adb shell (as administrator) but when I run pm disable com.amazon.device.software.ota I get an Error: java.lang.SecurityException: Permission Denial: attempt to change component state from pid=9891, uid=2000, package uid=32011
I was able to run pm clear com.amazon.device.software.ota with success
How do I overcome the permissions denial
Click to expand...
Click to collapse
You need to spawn a root shell before running the pm disable cmd. In order to do so, run 'su'.
Rortiz2 said:
run 'su'.
Click to expand...
Click to collapse
When I run su nothing happens, and I cant enter the pm disable command as it seems the adb shell is frozen
Code:
C:\adb>adb shell
[email protected]:/ $ su
Ok so I changed my usb a-a cable I retried su - this time I do get a flashing cursor so entered the commands but still received no feedback from device (its a ftv2 sloane rooted twrp via amonet)
Code:
C:\adb>adb devices -l
List of devices attached
G070GV146247023P device product:full_sloane model:AFTS device:sloane transport_id:1
C:\adb>adb shell
[email protected]:/ $ su
pm disable com.amazon.device.software.ota
pm disable com.amazon.device.software.ota.override
pm disable com.amazon.tv.forcedotaupdater
pm disable com.amazon.tv.forcedotaupdater.v2
exit
exit
pm clear com.amazon.device.software.ota
[email protected]:/ $ su
Should result in
[email protected]:/ #
The '$' turning to a '#' indicates you now have root privileges. It looks like your device is hanging on the su command, with no confirmation the request was granted.
Finnzz said:
[email protected]:/ $ su
Should result in
[email protected]:/ #
The '$' turning to a '#' indicates you now have root privileges. It looks like your device is hanging on the su command, with no confirmation the request was granted.
Click to expand...
Click to collapse
Thanks that's really helpfull to learn. I think I have an issue with magisk so will reinstall from twrp.
OK solved it - magsik had not fully loaded to allow root selection. Now working- Really appreciate learning the '$' turning to a '#' indicates you now have root privileges
hafren said:
I've enabled adb on rooted FTV2 sloane and launched adb shell (as administrator) but when I run pm disable com.amazon.device.software.ota I get an Error: java.lang.SecurityException: Permission Denial: attempt to change component state from pid=9891, uid=2000, package uid=32011
I was able to run pm clear com.amazon.device.software.ota with success
How do I overcome the permissions denial
Click to expand...
Click to collapse
Extremely hard to currently override their malicious updates .
the problem is for most Amazon recent devices , the firmware updates have been slowly
Removing user control away from the device owner , and little by little giving more and more control to Amazon by them hitting your device with malicious updates that change how your device originally worked.
For anyone with a locked device , try an alternative method using no root firewall
or check out teckdoctoruk On YouTube and search his channel for vpn app to
block Amazon updates . either or works , firewall app like no root firewall or
a vpn app that blacklists updates.
Check his page out because he simplifies the process.
Just remember , mileage will vary depending on what malicious updates you already got
From Amazon that changed your device already.
Using a firewall or VPN app to block updates only prevents further Amazon updates from
hitting your box , so it can't remove updates that already changed thing's.
Related
I wanted to find out how much of Amazon can be stripped out from the Fire 7 without having root access. Bearing in mind that my Fire 7 is currently connected via OTG Ethernet and I have not joined Amazon and associated my device. Basically a standalone device only with OTA Update disabled via ADB Shell. Considering we do not have root yet available we are limited in options and please bear in mind that this example is for my own personal preference.
PLEASE remember that my Fire 7 is a standalone device and has NOT been registered with Amazon. Changing these settings may have an effect with regards to this. Please proceed at your own risk.
I now have a Fire 7 with the Amazon footprint removed as much as possible with the exception of services that cannot safely be hidden and the dreaded Fire Launcher. Everything else I have hidden via ADB Shell. Please see first screenshot of my stripped down Fire 7. Key essential services/programs for me such as Google Play, Google Calendar, Fire 7 Settings all work smoothly after I removed the others.
I do not need the following on the Fire 7 as I will either install my own program from Google Play or remove the service completely. The following have been hidden [Amazon Email client, Calender, Camera, Help Files, Silk Browser, Amazon Video, Amazon Music, Amazon WEather etc]
For ADB Shell commands
https://developer.android.com/tools/help/shell.html
I used the following command for this task to hide adb shell pm hide [process name]
and to unhide adb shell pm unhide [process name]
if it hides you will get an acknowledgement as TRUE and obviously FALSE if you unhide the process
In the XDA Develpers Fire HD 6 & & Forum I came across a list of safe com.amazon processes that can be stopped on the Fire HD6 & 7 tablet. So I thought I would give them a go plus a few of my own attempts as well.
http://forum.xda-developers.com/fire-hd/help/safe-pm-block-list-t3009492
com.amazon.kindle.otter
com.amazon.kindle
com.audible.application.kindle
com.amazon.kindle.kso
com.amazon.tahoe
com.amazon.kindle.otter.oobe
com.amazon.client.metrics
com.amazon.device.backup
com.amazon.platform
com.amazon.photos
com.nuance.edr.androidservice.service
com.amazon.whisperlink.core.android
com.goodreads.kindle
com.amazon.camera Camera App
com.amazon.csapp Help App
com.amazon.legalsettings Legal Settings App
com.amazon.venezia Amazon App Store
com.amazon.h2settingsfortablet Profiles & Family Library App
com.amazon.weather Weather App
com.goodreads.kindle Goodreads App
com.android.calendar Calendar App
com.amazon.kindle.kso Special Offers setting
com.android.email Email App
com.amazon.kindle.personal_video Video App
com.amazon.avod Video App
com.amazon.contacts Contacts App
com.amazon.windowshop Amazon Windowshop
com.amazon.cloud9 Silk Browser App
com.amazon.ags.app Amazon Game Circle App
com.amazon.kindle.otter.settings Amazon Registration Service
Big thanks to Rivethead 23 for the below System OTA update processes
com.amazon.device.software.ota OTA Updates
com.amazon.settings.systemupdates OTA Updates
com.amazon.device.software.ota OTA Updates
I then proceeded to highlight specific services such as the Calendar, Email Client and other associated Amazon services that I do not require. I used XDA Developers and Google as a reference as to what is actually safe to hide, made a note of the actual system process name and then hid them via ADB Shell and went from there.
UPDATE 1: After removing all the services if I go to: [Settings-Apps&Games-Amazon Application Settings] there are now only two options left. [Home Screen Settings] & [Special Offers]. All Amazon related settings & options have been removed
UPDATE 2: Please look at 3rd attached image. The Fire 7 definitely has some form of error checking / recovery process going on as, 3 new items have appeared. Downloads & Music as default Android app and not Amazon's. The 3rd one is Kindle CDA Diagnostics and it is flapping over all the services I have hidden. Just to confirm everything is working the way it should on the device - but the CDA tool has obviously appeared due to my tinkering.
UPDATE 3: I would like to be able to have the Kindle App working via Play and not Amazon. Even though I had stopped the Kindle app via Adb, I tried a sideload the latest Kindle apk. It has not only broken my play store but also I am getting lots of errors trying to download apps from the play store. I have reinstalled Google APKs etc and no joy. Might have to reset at this rate. All other apps on my device working A+
Got it working again - date & time stamp was causing the RFC error on Google Play. Re-enabled network time protocol. Gave it a while and Google play working A+ again
What's the ADB command to hide all the services you have listed?
Apologies I have edited the post with the correct commands.
I used the following command for this task to hide adb shell pm hide [process name]
and to unhide adb shell pm unhide [process name]
if it hides you will get an acknowledgement as TRUE and obviously FALSE if you unhide the process
The contacts app is com.andoid.contacts not com.amazon.contacts.
Thank you for correcting my typo
I can hide everything but the music app...is there a missing command?
Do a pm list packages and then search and guess for the app to hide.
Have you noticed any performance boost or batter battery life after disabling all those amazon processes?
Or does this just hides the apps from the app drawer?
Hi,
Here is the result of the adb shell pm list packages on my Fire 7 for example :
package:com.amazon.platform
package:com.amazon.photos
package:com.amazon.precog
package:com.amazon.dp.contacts
package:com.amazon.unifiedsharegoodreads
package:com.amazon.recess
package:com.amazon.platform.fdrw
package:com.android.providers.calendar
package:com.amazon.whisperplay.contracts
package:com.android.providers.media
package:com.amazon.venezia
package:com.amazon.webapp
package:com.amazon.dcp.contracts.library
package:com.android.wallpapercropper
package:com.amazon.device.sync
package:com.amazon.device.logmanager
package:com.android.documentsui
package:com.android.externalstorage
package:com.android.htmlviewer
package:com.amazon.firelauncher
package:com.amazon.alta.h2clientservice
package:com.android.providers.downloads
package:com.amazon.socialplatform
package:com.amazon.dp.fbcontacts
package:com.amazon.h2settingsfortablet
package:com.amazon.calculator
package:com.amazon.cloud9.systembrowserprovider
package:com.amazon.kindle.otter.settings
package:com.amazon.dp.logger
package:com.amazon.ods.kindleconnect
package:com.android.inputmethod.pinyin
package:com.android.defcontainer
package:com.amazon.accessorynotifier
package:com.android.providers.downloads.ui
package:com.android.vending
package:com.android.pacprocessor
package:com.amazon.sharingservice.android.client.proxy
package:com.amazon.weather
package:com.amazon.webview
package:com.amazon.android.marketplace
package:com.android.certinstaller
package:com.amazon.device.backup.sdk.internal.library
package:android
package:com.amazon.client.metrics.api
package:com.amazon.dcp
package:com.amazon.imp
package:com.amazon.mp3
package:com.amazon.unifiedsharesinaweibo
package:com.amazon.sync.service
package:com.amazon.fireinputdevices
package:com.android.backupconfirm
package:com.amazon.csapp
package:com.amazon.logan
package:com.amazon.tahoe
package:com.amazon.tcomm
package:com.amazon.kindle.personal_video
package:com.amazon.identity.auth.device.authorization
package:com.amazon.kcp.tutorial
package:com.amazon.kindle.cms
package:com.amazon.kindle.kso
package:com.android.providers.settings
package:com.amazon.kindleautomatictimezone
package:com.android.sharedstoragebackup
package:com.android.printspooler
package:com.amazon.otaverifier
package:com.amazon.device.backup
package:com.amazon.geo.mapsv2.services
package:com.android.webview
packagerg.mopria.printplugin
package:com.amazon.securitysyncclient
package:com.amazon.unifiedshare.actionchooser
package:com.amazon.whisperlink.activityview.android
package:com.amazon.device.messaging
package:com.amazon.digital.asset.ownership.app
package:com.amazon.devicecontrol
package:com.amazon.device.messaging.sdk.internal.library
package:com.amazon.providers
package:com.amazon.kindle.otter.oobe
package:com.amazon.photos.importer
package:com.amazon.settings.systemupdates
package:com.android.onetimeinitializer
package:com.amazon.geo.mapsv2
package:com.android.keychain
package:com.amazon.unifiedsharetwitter
package:com.google.android.gms
package:com.google.android.gsf
package:com.android.packageinstaller
package:com.svox.pico
package:com.amazon.tcomm.client
package:com.amazon.client.metrics
package:com.amazon.device.settings.sdk.internal.library
package:com.android.proxyhandler
package:com.amazon.acos.providers.UnifiedSettingsProvider
package:com.amazon.firepowersettings
package:com.android.inputmethod.latin
package:amazon.jackson19
package:com.audible.application.kindle
package:com.android.managedprovisioning
package:com.amazon.device.software.ota
package:com.amazon.pm
package:com.mediatek.thermalmanager
package:com.amazon.wifilocker
package:com.amazon.dcp.contracts.framework.library
package:com.amazon.device.bluetoothdfu
package:com.google.android.gsf.login
package:com.amazon.whisperlink.core.android
package:com.amazon.kor.demo
package:com.amazon.device.messaging.sdk.library
package:jp.co.omronsoft.iwnnime.mlaz
package:com.amazon.ags.app
package:com.amazon.kindle.unifiedSearch
package:com.amazon.sync.provider.ipc
package:com.android.settings
package:android.amazon.perm
package:com.goodreads.kindle
package:com.amazon.providers.contentsupport
package:com.amazon.platformsettings
package:com.android.vpndialogs
package:com.kingsoft.office.amz
package:com.amazon.device.crashmanager
package:com.amazon.application.compatibility.enforcer
package:com.android.email
package:com.ivona.tts.oem
package:com.android.music
package:com.android.shell
package:com.android.providers.userdictionary
package:com.amazon.kindle.rdmdeviceadmin
package:com.amazon.parentalcontrols
package:com.android.location.fused
package:com.android.deskclock
package:com.android.systemui
package:com.here.odnp.service
package:com.amazon.avod
package:com.amazon.shpm
package:com.amazon.zico
package:com.amazon.communication.discovery
package:com.amazon.legalsettings
package:com.amazon.camera
package:com.amazon.device.settings
package:com.amazon.cloud9
package:com.amazon.device.sync.sdk.internal
package:com.amazon.unifiedsharefacebook
package:com.amazon.connectivitydiag
package:com.amazon.dynamicupdationservice
package:com.android.bluetooth
package:com.android.providers.contacts
package:com.android.captiveportallogin
package:com.amazon.kindle.devicecontrols
package:com.amazon.kindle
package:com.amazon.application.compatibility.enforcer.sdk.library
Now, trying to hide anything that isn't necessary for my usage (this tablet is for my son, to play some games or educative apps (maybe watching animes and listening music). I'll edit this post when done.
EDIT1 : the command for hiding Music app is : adb shell pm hide com.amazon.mp3
EDIT2 : Finally, this is what i've done. Now closed to what i want, just needs to hide the Play Store now but it's already disabled (but showed on Fire Launcher) if you hide Google settings panel.
APPS
adb shell pm hide com.amazon.kindle.otter
adb shell pm hide com.amazon.kindle.otter.oobe
adb shell pm hide com.amazon.kindle
adb shell pm hide com.audible.application.kindle
adb shell pm hide com.amazon.tahoe
adb shell pm hide com.amazon.client.metrics
adb shell pm hide com.amazon.device.backup
adb shell pm hide com.amazon.platform
adb shell pm hide com.amazon.photos
adb shell pm hide com.nuance.edr.androidservice.service
adb shell pm hide com.amazon.whisperlink.core.android
adb shell pm hide com.goodreads.kindle
adb shell pm hide com.amazon.csapp
adb shell pm hide com.amazon.venezia
adb shell pm hide com.amazon.h2settingsfortablet
adb shell pm hide com.amazon.weather
adb shell pm hide com.amazon.kindle.personal_video
adb shell pm hide com.amazon.avod
adb shell pm hide com.amazon.windowshop
adb shell pm hide com.amazon.cloud9
adb shell pm hide com.amazon.ags.app
adb shell pm hide com.amazon.mp3
adb shell pm hide com.amazon.photos.importer
adb shell pm hide com.amazon.zico
adb shell pm hide com.amazon.calculator
adb shell pm hide com.android.calendar
adb shell pm hide com.android.email
adb shell pm hide com.android.contacts
adb shell pm hide com.amazon.camera
OTA UPDATES
adb shell pm hide com.amazon.otaverifier
adb shell pm hide com.amazon.settings.systemupdates
adb shell pm hide com.amazon.device.software.ota
SETTINGS PANELS (BE CAREFULL, UNHIDE WHEN NEEDED)
Remove Settings on Fire Launcher
adb shell pm hide com.android.settings
Remove Google Settings from Fire Launcher if you have installed Google Play Services and Play Store
adb shell pm hide com.google.android.gms
EDIT3 : Now i've done all i want but i still have Books and Recent tabs on Fire Launcher that i don't want... Still searching a way to disable it.
EDIT: so I got this for my grandma blocked some apps but don't know what are app names for newstand and how do you guys get rid of when you scroll on launcher books section audiobooks etc..? it looks like I will have to teach her how to browse using docs app to read books or simply send via email method.
You can simply avoid some apps i have listed and then simply install Kindle app separately. You'll see an icon for Kindle app and then can launch your books from there.
But, i currently don't know how to remove the "Books" tab from the launcher...
Khyinn said:
You can simply avoid some apps i have listed and then simply install Kindle app separately. You'll see an icon for Kindle app and then can launch your books from there.
But, i currently don't know how to remove the "Books" tab from the launcher...
Click to expand...
Click to collapse
I found a solution because the books app wouldn't display books I read you have to convert them in calibre and then they will show up in there much better solution.
OK, nice. Your problem is gone, but not mine
I'll ask again, will doing this improve performance and battery life at all?
xT29c said:
I'll ask again, will doing this improve performance and battery life at all?
Click to expand...
Click to collapse
It does. At least, I disabled the Amazon app store, all the media apps by them and some other services and the scrolling lag I experienced has gone away. Battery life is more or less the same.
Enviado desde mi KFFOWI mediante Tapatalk
Any has run this commands with 5.0.1 and google playa working?
Yes, i have 5.0.1 and Play Store works.
com.amazon.mp3 Music App
com.amazon.zico Docs App
com.audible.application.kindle Audiobooks
Has anyone tried this with a registered fire 7? I'm reluctant to try it out w/out knowing if it's possible...
Yes, i have an amazon on it and all is fine.
Here is a script I have been working on for a while, and have tested on multiple Fire 2015 models. *This is ONLY for the new 2015 Fire tablet, not any Kindle variant. This is for the 5.0.1 firmware. It will work on the 5.0.0 for all functions but the Google Plays Store, 5.0.0 is incompatible with the Google Play Store at this time.
Credits go to alot of the members of this forum for parts of it, including @sd_shadow, @K3Llogs, and @Rivethread to name a few. I'm just wrapping up all the knowledge in a nice package, and cleaning up the code.
DOWNLOAD> https://www.dropbox.com/s/jseeolrqfb1uvdy/FSS.zip?dl=0<DOWNLOAD
This script is meant to be run on the first boot of a Fire, after choosing your language, cancelling the initial setup, and turning on USB debugging. It is a requirement to have the ADB drivers working correctly on your PC before running the script as well. (ADB Drivers available here, require manual device manager loading - http://koush.com/post/universal-adb-driver)
What it does:
-Disable packages to block OTA updates.
-Disable packages to block lock screen adverts
-Remove all of the Amazon bloatware
-Install the FOSS App Store F-Droid
-Install the Google Play Store, and associated framework
The script keeps a log file of all its activities, and reboots your tablet when it is done. It can be run as many times as you want, if you believe a step failed or you made a mistake and need to run it again, go ahead.
When it is done, you will have the Amazon AppStore, Google Play Store, F-Droid App Market, and the Clock app. That's it, 4 things. You can then build it up the way you want to, using whichever store you wish, however you would like. Here are some recommendations to get started:
-Google Camera (The built in camera app tied to Amazon Cloud services, so you'll need a camera app)
-VLC (The built in music and video apps tie into Amazon services as well, so you need a media player app)
-ES File Explorer (The built in picture app is tied to Amazon services, so you need something to look at your pictures)
--I recommend installing OneDrive or DropBox to help manage and backup your pictures as well.
NOTES:
Currently in 5.0.1, you cannot redirect the home button to use a different launcher other than Amazon's Fire Launcher (without a lot of complicated 3rd party overlays). You will be using the Fire Launcher, but with such a blank base to start from, and it's folder ability, I find it quite clean and easy.
Widgets do not work. Even if you get a 3rd party launcher working, they cannot be applied because the core Android framework is not installed. This may not be able to be fixed until the device is rooted.
Performing the process to root your fire, and install a alternative launcher, works great along with this script. It shouldn't matter but I recommend doing this script first, and then the root/launcher fixes second.
ADDITIONAL FEATURES:
If you wish to have one of the Amazon service based apps back, you can simply modify my script and run it again. Go to the 4th section marked [Using Package Manger (pm) to hide Amazon bloatware]. In this section, find the app I chose to hide that you want back, and change the word hide to unhide. Example, if you want the Amazon cloud photos and the Fire camera apps back, find the lines for com.amazon.photos and com.amazon.camera, change hide to unhide, and run the script. Those apps will be back after the reboot.
It works the other way too if you want to hide more of the Amazon stuff you can add more lines to the 4th section. For example, to completely remove the Amazon AppStore and it's framework (gets rid of some of the tabs on home screen), and just use Google/FDroid, add these lines to section 4.
adb shell pm hide com.amazon.platform
adb shell pm hide com.amazon.venezia
Good job putting it all together into one package.
Nice work. I have a new Fire that I haven't opened yet. I am assuming it still comes with 5.0.0. Should I complete the setup and let it update to 5.0.1 before running this script?
natedawg187 said:
Nice work. I have a new Fire that I haven't opened yet. I am assuming it still comes with 5.0.0. Should I complete the setup and let it update to 5.0.1 before running this script?
Click to expand...
Click to collapse
You can do it either way. If you run it on 5.0, you wont get the Play Store but you can use a custom launcher. If you do it on 5.0.1, you will get the Play Store, but have to use Amazon Launcher. Personally, I don't find the Amazon launcher bad once all the bloatware is out of it, and I need the Play store, so I go to 5.0.1 first, then factory reset, then run this.
tufkal said:
You can do it either way. If you run it on 5.0, you wont get the Play Store but you can use a custom launcher. If you do it on 5.0.1, you will get the Play Store, but have to use Amazon Launcher. Personally, I don't find the Amazon launcher bad once all the bloatware is out of it, and I need the Play store, so I go to 5.0.1 first, then factory reset, then run this.
Click to expand...
Click to collapse
Yeah, I would want the Play Store, so I'll go this route. Thanks for the reply.
can you add what each service does here or maybe in the file ?
these are all i could find info on
from another post
k3ll0gs said:
com.amazon.camera. - Camera App
com.amazon.csapp - Help App
com.amazon.legalsettings - Legal Settings App
com.amazon.venezia - Amazon App Store
com.amazon.h2settingsfortablet - Profiles & Family Library App
com.amazon.weather - Weather App
com.goodreads.kindle - Goodreads App
com.android.calendar - Calendar App
com.amazon.kindle.kso - Special Offers setting
com.android.email - Email App
com.amazon.kindle.personal_video - Video App
com.amazon.avod - Video App
com.amazon.contacts - Contacts App
com.amazon.windowshop - Amazon Windowshop
com.amazon.cloud9 - Silk Browser App
com.amazon.ags.app - Amazon Game Circle App
com.amazon.kindle.otter.settings - Amazon Registration Service
Big thanks to Rivethead 23 for the below System OTA update processes
com.amazon.device.software.ota - OTA Updates
com.amazon.settings.systemupdates - OTA Updates
com.amazon.device.software.ota - OTA Updates
Click to expand...
Click to collapse
Mac version
just fyi - I quickly converted the script to run on a Mac. The 'adb' commands are all the same - just modified some echo/prompt commands that didn't work.
I ended up running it twice since 1 of the commands failed the first time:
>> adb shell pm uninstall com.android.vending
>> Failure [DELETE_FAILED_INTERNAL_ERROR]
I also removed the >>lot.txt stuff but you can run it like this to view and save the output:
"run.sh | tee log.txt"
Code:
echo "Starting the Android Debug Bridge (ADB)"
adb kill-server
adb start-server
echo "--------------------------------------------------------------------------------"
echo Communicating with your Fire Tablet from your PC requires 2 things:
echo -The ADB debugging option is enabled on the tablet
echo -The ADB drivers are installed on your machine
echo Make sure you have both of these requirements met before continuing!
echo ...if you need help, see the XDA forums.
echo "--------------------------------------------------------------------------------"
read n
adb wait-for-devices
echo "Using Package Manger (pm) to block OTA updates"
adb shell pm hide com.amazon.otaverifier
adb shell pm hide com.amazon.device.software.ota
adb shell pm hide com.amazon.settings.systemupdates
echo "--------------------------------------------------------------------------------"
echo "Using Package Manger (pm) to block adverts on lock screen"
adb shell pm hide com.amazon.kindle.kso
echo "--------------------------------------------------------------------------------"
echo "Using Package Manger (pm) to hide Amazon bloatware"
adb shell pm hide com.amazon.kindle.personal_music
adb shell pm hide com.amazon.kindle.personal_video
adb shell pm hide com.amazon.photos.importer
adb shell pm hide com.amazon.calculator
adb shell pm hide com.amazon.photos
adb shell pm hide com.amazon.mp3
adb shell pm hide com.amazon.windowshop
adb shell pm hide com.amazon.avod
adb shell pm hide com.amazon.cloud9
adb shell pm hide com.amazon.ags.app
adb shell pm hide com.amazon.csapp
adb shell pm hide com.amazon.weather
adb shell pm hide com.amazon.kindle.otter
adb shell pm hide com.amazon.kindle.otter.oobe
adb shell pm hide com.amazon.kindle
adb shell pm hide com.amazon.whisperlink.core.android
adb shell pm hide com.amazon.zico
adb shell pm hide com.amazon.client.metrics
adb shell pm hide com.amazon.device.backup
adb shell pm hide com.amazon.tahoe
adb shell pm hide com.amazon.webapp
adb shell pm hide com.amazon.camera
adb shell pm hide com.android.calendar
adb shell pm hide com.android.email
adb shell pm hide com.android.contacts
adb shell pm hide com.audible.application.store
adb shell pm hide com.audible.application.kindle
adb shell pm hide com.goodreads.kindle
adb shell pm hide com.nuance.edr.androidservice.service
echo "--------------------------------------------------------------------------------"
echo "Installing additional packages"
adb install FDroid.apk
echo "--------------------------------------------------------------------------------"
echo "Installing Google Play Framework"
adb install com.google.android.gms-6.6.03_\(1681564-036\)-6603036-minAPI9.apk
adb install GoogleLoginService.apk
adb install GoogleServicesFramework.apk
adb shell pm grant com.google.android.gms android.permission.INTERACT_ACROSS_USERS
adb shell pm uninstall com.android.vending
adb install com.android.vending-5.9.12-80391200-minAPI9.apk
echo "--------------------------------------------------------------------------------"
echo Done. Press any key to reboot device.
read n
adb reboot
adb kill-server
Can someone give me some advice on how to do this via Ubuntu?
edjca said:
Can someone give me some advice on how to do this via Ubuntu?
Click to expand...
Click to collapse
use adb to hide apps from system
http://forum.xda-developers.com/showthread.php?p=63216347
Adb Shell Pm Hide as much bloat and amazon as you can
and look at these
[SIZE=+1]Can ADB/Fastboot be used on Linux and Mac?[/SIZE] Yes see
The Easiest Way to Install Android's ADB and Fastboot Tools on Any OS
[GUIDE] Set up ADB and Fastboot on a Mac easily (With Screenshots!) by AshtonTS
[Guide] How To Setup And Use Fastboot by demkantor
Sent from my KFFOWI using Tapatalk
Thank you for putting this all together.
With the 'Black Friday' deal on these (down to £35 in the UK), I'd predict this thread is going to get more interest
Just a quick question though; should it be required to send the Fire7 tablet back, does a factory reset revert all this good stuff?
Thank you
Ubuntu
edjca said:
Can someone give me some advice on how to do this via Ubuntu?
Click to expand...
Click to collapse
Yup, sd_shadow's reply is spot on
OK I didn't use the script.... instead I did it line by line, but got one this afternoon... within minutes of unboxing my fire is happily ticking along without bloat and with Playstore..... damn ,u just gotta love XDA :good:
edjca said:
Can someone give me some advice on how to do this via Ubuntu?
Click to expand...
Click to collapse
If the Fire tablet complains about requiring adb 1.0.32 or higher:
Check your adb version
Code:
adb version
It will likely say Android Debug Bridge version 1.0.31, that seems to be the newest one in the software repository.
You can grab adb 1.0.32 from google:
Code:
wget -O - https://skia.googlesource.com/skia/+archive/cd048d18e0b81338c1a04b9749a00444597df394/platform_tools/android/bin/linux.tar.gz | tar -zxvf - adb
This will place adb 1.0.32 in your home directory. To use it type: ./adb (dot slash adb). You can copy the new adb over old one in /usr/bin but I'd recommend just keeping it in your home directory & just add the ./ (dot slash) to any adb commands.
Code:
./adb version
Android Debug Bridge version 1.0.32
Weird issues here, it won't let me change my time zone because of 'parental controls', and I am unable to change the wallpaper, it just spins and then goes back to the settings screen. Don't know if I'm doing something wrong or if these are parts of the blocked system apps. Everything else seems to work fine.
Edit: I used the script in the link below to change the launcher and that fixed the issue for me.
http://forum.xda-developers.com/amazon-fire/general/alternative-launcher-one-click-script-t3239966
Thanks so much for this, it worked perfectly! I added the lines below to remove the extra tabs from the home screen, but does anyone know how to get rid of the books, audiobooks and newsstand tabs? I keep getting parental controls errors on them and I'd like to just remove them. Thanks!
adb shell pm hide com.amazon.platform
adb shell pm hide com.amazon.venezia
Can anyone give me a general idea of how long this process takes? I've factory reset my kindle to 5.0.1, I've got ADB debug setup on the kindle, got the adb file from the post installed, and I've run the .bat file and hit enter to continue. It's been quite a while now (15 min) and I haven't seen the Kindle reboot.
theusualuser said:
Can anyone give me a general idea of how long this process takes? I've factory reset my kindle to 5.0.1, I've got ADB debug setup on the kindle, got the adb file from the post installed, and I've run the .bat file and hit enter to continue. It's been quite a while now (15 min) and I haven't seen the Kindle reboot.
Click to expand...
Click to collapse
should only take about 2 mins, likely drivers are not correct
Sent from my KFFOWI using Tapatalk
sd_shadow said:
should only take about 2 mins, likely drivers are not correct
Sent from my KFFOWI using Tapatalk
Click to expand...
Click to collapse
I'm on Windows 10. What drivers do I need. Don't I just need the universal adb one in the first post? If not, could you please point me in the right direction. Got this as a birthday gift for my daughter and I need to get the Playstore on it asap.
theusualuser said:
I'm on Windows 10. What drivers do I need. Don't I just need the universal adb one in the first post? If not, could you please point me in the right direction. Got this as a birthday gift for my daughter and I need to get the Playstore on it asap.
Click to expand...
Click to collapse
+90% of the time you need to manually select drivers in Device manager
After using the driver installer
Sent from my KFFOWI using Tapatalk
---------- Post added at 10:54 PM ---------- Previous post was at 10:46 PM ----------
manually select drivers
Open device manager Settings>Devices>Device Manager
Connect Fire to pc
Enable USB debugging
(If Fire is not listed as Android>Android Composite ADB interface)
select Other Devices>Fire
Right Click>Update Driver Software
Browse my computer for Driver Software
Let me pick from a list of drivers on my computer
select Android or Android Phone (or ADB Interface or Android Device)
Select Android Composite ADB interface for Stock rom or recovery/adb sideload
Select Android ADB interface for Fastboot mode
or Android Composite ADB interface
next
you may have to reboot pc
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my KFFOWI using Tapatalk
this was so easy to do, thankyou for all your hard work
For those looking to replace Amazon launcher:
Search on YouTube: How to Root the Amazon Fire 5th Gen 7in tablet and remove fire launcher (Rootjunky.com)
You need to root your device in order for this to work AND ANOTHER LAUNCHER ALREADY INSTALLED. Basically, you just delete the Fire launcher from /system/priv-apps/. When you reboot your Fire, it will automatically use the other launcher (or ask you to choose, if you have more than one installed).
See video for more info.
Hi -
Can I successfully block Amazon updates to my new HD8 (2016) using this OpenDNS method: http://www.aftvnews.com/how-to-bloc...-the-amazon-fire-tv-or-fire-tv-stick/#opendns ?
OK, since I didn't hear back from anyone, I decided to give this a shot on my own.
It worked fine for my new v5.3.1.0 HD 8 (2016) - the update failed when I manually requested a update.
I tried the original Fire 7" method (prior to RootJunky) to disable the OTA Updates. I'm on Fire OS 5.3.1.1, Fire HD 8 (6th Gen, 2016)
https://forum.xda-developers.com/fire-tv/general/block-ota-updates-root-fire-os-5-t3183134
Originally you connected via ADB and entered the SHELL
then:
pm hide com.amazon.otaverifier
pm hide com.amazon.device.software.ota
pm hide com.amazon.settings.systemupdates
I got this result when I tried the this on the HD 8":
C:\Users\XXX\Desktop\Fire\Fire 7in\AmazonFire5thGenSuperTooljune16\files>adb shell
[email protected]:/ $ pm hide com.amazon.otaverifier
1|[email protected]:/ $ pm hide com.amazon.device.software.ota
1|[email protected]:/ $ pm hide amazon.settings.systemupdates
Package amazon.settings.systemupdates new hidden state: true
[email protected]:/ $
So only the 3rd command succeeded.
I used ES File Explorer and searched the root directory for "OTA" - I found folders named almost exactly the same and used to hide command to make them inaccessible as follows:
C:\Users\XXX\Desktop\Fire\Fire 7in\AmazonFire5thGenSuperTooljune16\files>adb shell
[email protected]:/ $ pm hide otaverifier
Package otaverifier new hidden state: true
[email protected]:/ $ pm hide DeviceSoftwareOTA
Package DeviceSoftwareOTA new hidden state: true
[email protected]:/ $
I think this should do it.
Well, nice try but no gold ring. The tablet forced an update to 5.3.2.0
Maybe this does work. Someone with a brand new Fire HD 8 running either 5.3.1.1 or 5.3.2.0 will need to give it a try. Mine is currently running 5.3.2.1. So there are no more updates currently.
See Post https://forum.xda-developers.com/showpost.php?p=70365050&postcount=151 Specifically the part about need to emphasize exiting shell and rebooting via adb.
I did not do that. Thus my changes hiding OTA processes never took effect.
I used opendns and so far so good.
My 7" will be allowed to roam free while the 8" will be home-bound as a result.
Hi. I get this notification every time I press the bixby key "To use Bixby Voice, tap SETTINGS, then allow the permissions and try again".
This problem started after updating to bixby voice 2.0, it says unavailable in your country and reverting back shows the notification.
I tried everything to fix it. Install, uninstall, clean cache, clean all data, back to factory setting to all bixby apps. But*none of it worked.
View attachment 4587572
SM-G950F cihazımdan Tapatalk kullanılarak gönderildi
Got the exact same issue. I guess that is the drawback of installing apps not yet released for country of origin...
I am not using Bixby much so I gues I will wait for an official update for my Country
jabberwock said:
Got the exact same issue. I guess that is the drawback of installing apps not yet released for country of origin...
I am not using Bixby much so I gues I will wait for an official update for my Country
Click to expand...
Click to collapse
I can't use bxactions app
SM-G950F cihazımdan Tapatalk kullanılarak gönderildi
Same on my Galaxy S8+
I dumped all Bixby permissions with ADB: can anybody try the same on a working Bixby so that I can see the differences?
Thank you very much!!!
Code:
dream2lte:/ $ pm list permissions |grep bixby
permission:com.samsung.android.bixby.agent.permission.READ_PERMISSION
permission:com.samsung.android.bixby.plmsync.WRITE_DATABASE
permission:com.samsung.android.bixby.bridge.provision.READ_PERMISSION
permission:com.samsung.android.bixby.agent.permission.BIXBY_SERVICE_AVAILABLE_CHANGE
permission:com.samsung.android.bixbyvision.hostsdk.DUMMY_ACTIVITY
permission:com.samsung.android.bixby.permission.BIXBY_DICTATION
permission:com.samsung.android.bixby.bridge.provision.integrated.READ_PERMISSION
permission:com.samsung.android.bixby.bridge.provision.WRITE_PERMISSION
permission:com.samsung.android.bixby.ACCESS_SERVICE
permission:com.samsung.android.bixby.integratedprovision.mainprovisionservice.PERMISSION
permission:com.samsung.android.bixby.agent.permission.BIXBY_AGENT
permission:com.samsung.android.bixby.agent.permission.BIXBY_ALARM
permission:com.samsung.android.bixby.agent.permission.READ_APPCHOOSER
permission:com.samsung.android.bixby.permission.WAKEUP_SUGGEST_SENSITIVE
permission:com.samsung.android.bixby.agent.permission.WRITE_APPCHOOSER
permission:com.samsung.android.bixby.voiceinput.ACCESS_LANGUAGE_PROVIDER
permission:com.samsung.android.bixby.agent.permission.READ_LEARNING
permission:com.samsung.android.bixby.agent.permission.ACCESS_SETTING
permission:com.samsung.android.bixby.agent.permission.BIND_AGENT
permission:com.samsung.android.bixby.agent.permission.GET_SERVICE_ID
permission:com.samsung.android.bixby.permission.WAKEUP_LAUNCH_BIXBY
permission:com.samsung.android.bixby.agent.permission.READ_LANGUAGE
permission:com.samsung.android.bixby.agent.permission.WRITE_LEARNING
permission:com.samsung.android.bixby.integratedprovision.SERVICECHANGED_PERMISSION
permission:com.samsung.android.bixby.agent.permission.RECEIVE_BIXBY_VIEW_STATE
permission:com.samsung.android.bixby.agent.permission.BIXBY_SIMULATOR
permission:com.samsung.android.bixby.plmsync.ACCESS_SERVICE
permission:com.samsung.android.bixby.apphome.READ_PERMISSION
permission:com.samsung.android.bixby.voiceinput.ACCESS_IME_SERVICE
permission:com.samsung.android.bixby.agent.permission.TEXT_TEST
permission:com.samsung.android.bixby.apphome.permission.CONTENT_SYNC
permission:com.samsung.android.bixby.agent.permission.WRITE_LANGUAGE
permission:com.samsung.android.bixby.apphome.permission.VIEW
permission:com.samsung.android.bixby.plmsync.READ_DATABASE
permission:com.samsung.android.bixby.apphome.WRITE_PERMISSION
permission:com.samsung.android.bixby.agent.permission.LAUNCH_BIXBY_VOICE
permission:com.samsung.android.bixby.agent.permission.APP_SERVICE
So I foolishly installed an update to Bixby for APKMirror and found myself in this sticky situation. Since nobody anywhere seems to have a better answer than a factory reset, which I REALLY didn't want to do. I used Logcat Reader to see what permissions it was complaining about one by one. I was able to get it working again with the changes below. I'm using a Note 8 so YMMV on other models. Hope this is useful to someone.
Code:
adb shell pm grant com.samsung.android.bixby.agent android.permission.READ_CONTACTS
adb shell pm grant com.samsung.android.bixby.agent android.permission.WRITE_CONTACTS
adb shell pm grant com.samsung.android.bixby.agent android.permission.READ_CALL_LOG
adb shell pm grant com.samsung.android.bixby.agent com.android.voicemail.permission.ADD_VOICEMAIL
adb shell pm grant com.samsung.android.bixby.agent android.permission.WRITE_EXTERNAL_STORAGE
The problem is solved for me after receiving OTA update for my mobile
Solved it for me:
Quoting User: pdario
@ https://us.community.samsung.com/t5...age/board-id/BixbyQandA/thread-id/4458/page/7
Re: Bixby Voice Permissions Notification
These seems to work:
adb shell pm grant com.samsung.android.bixby.agent android.permission.READ_CONTACTS
adb shell pm grant com.samsung.android.bixby.agent android.permission.WRITE_CONTACTS
adb shell pm grant com.samsung.android.bixby.agent android.permission.READ_CALL_LOG
adb shell pm grant com.samsung.android.bixby.agent com.android.voicemail.permission.ADD_VOICEMAIL
adb shell pm grant com.samsung.android.bixby.agent android.permission.WRITE_EXTERNAL_STORAGE
Really, I'm just trying to get my Fire 10 to be more like stock android. I was able to root it using Kingoroot but I'm unsure where to go from here as far as installing a custom rom like LineageOS, or if that's not possible, disabling as much of the Fire-related stuff and running a custom launcher. Can anyone point me in the right direction? Thank you!
Squirrlz said:
Really, I'm just trying to get my Fire 10 to be more like stock android. I was able to root it using Kingoroot but I'm unsure where to go from here as far as installing a custom rom like LineageOS, or if that's not possible, disabling as much of the Fire-related stuff and running a custom launcher. Can anyone point me in the right direction? Thank you!
Click to expand...
Click to collapse
Unlock and root using exploit package (follow the steps carefully):
https://forum.xda-developers.com/hd8-hd10/orig-development/unlock-fire-hd-10-2017-suez-t3913639
Custom ROM (can you install via TWRP):
5.1 Lollipop: https://forum.xda-developers.com/hd8-hd10/orig-development/rom-lineage-12-1-t3953677
7.1 Nougat: https://forum.xda-developers.com/hd8-hd10/orig-development/rom-lineage-14-1-t3973703
Disable Amazon launcher and OTA via ADB (You have an another launcher installed on it):
Code:
//Amazon launcher
adb shell pm disable-user --user 0 com.amazon.firelauncher
//OTA apps
adb shell pm disable-user --user 0 com.amazon.device.software.ota
adb shell pm disable-user --user 0 com.amazon.device.software.ota.override
adb shell pm disable-user --user 0 com.amazon.settings.systemupdates
adb shell pm disable-user --user 0 com.amazon.kindle.otter.oobe.forced.ota
//Others
adb shell pm disable-user--user 0 com.amazon.dcp.contracts.library
AmznUser444 Dev said:
Unlock and root using exploit package (follow the steps carefully):
https://forum.xda-developers.com/hd8-hd10/orig-development/unlock-fire-hd-10-2017-suez-t3913639
Custom ROM (can you install via TWRP):
5.1 Lollipop: https://forum.xda-developers.com/hd8-hd10/orig-development/rom-lineage-12-1-t3953677
7.1 Nougat: https://forum.xda-developers.com/hd8-hd10/orig-development/rom-lineage-14-1-t3973703
Disable Amazon launcher and OTA via ADB (You have an another launcher installed on it):
Click to expand...
Click to collapse
After installation of Lineage OS, is it still necessary to go through the disable OTA steps (or would all the amazon OTA stuff have been overwritten)?
AmznUser444 Dev said:
Unlock and root using exploit package (follow the steps carefully):
https://forum.xda-developers.com/hd8-hd10/orig-development/unlock-fire-hd-10-2017-suez-t3913639
Custom ROM (can you install via TWRP):
5.1 Lollipop: https://forum.xda-developers.com/hd8-hd10/orig-development/rom-lineage-12-1-t3953677
7.1 Nougat: https://forum.xda-developers.com/hd8-hd10/orig-development/rom-lineage-14-1-t3973703
Disable Amazon launcher and OTA via ADB (You have an another launcher installed on it):
Code:
//Amazon launcher
adb shell pm disable-user --user 0 com.amazon.firelauncher
//OTA apps
adb shell pm disable-user --user 0 com.amazon.device.software.ota
adb shell pm disable-user --user 0 com.amazon.device.software.ota.override
adb shell pm disable-user --user 0 com.amazon.settings.systemupdates
adb shell pm disable-user --user 0 com.amazon.kindle.otter.oobe.forced.ota
//Others
adb shell pm disable-user--user 0 com.amazon.dcp.contracts.library
Click to expand...
Click to collapse
Is it actually still possible to follow that procedure for installing a custom rom through TWRP since I am on the latest FW OTA update (5.3.7.0)? Is it still possible to do the downgrade step?
Once rooted and in custom rom, can a kid still use Freetime app as a standalone app?
greenlndr said:
Once rooted and in custom rom, can a kid still use Freetime app as a standalone app?
Click to expand...
Click to collapse
I have not tried it, but it is available in the playstore to install as a stand alone app. I dont see any reason why it wouldn't work.
AmznUser444 Dev said:
Unlock and root using exploit package (follow the steps carefully):
https://forum.xda-developers.com/hd8-hd10/orig-development/unlock-fire-hd-10-2017-suez-t3913639
Click to expand...
Click to collapse
I don't think this works with 5.3.7? Or I'm missing something? It fails on the step-1.sh script due to incompatibility with the mtk-su script? Is there a work-around?
~~
epeace said:
I don't think this works with 5.3.7? Or I'm missing something? It fails on the step-1.sh script due to incompatibility with the mtk-su script? Is there a work-around?
~~
Click to expand...
Click to collapse
Should be ok... Or you can do the shorting method... Confirmed on 5.3.7.0
Post #1065
https://forum.xda-developers.com/hd.../unlock-fire-hd-10-2017-suez-t3913639/page107
Oh, wow, thanks. How did this not come up in searching? I think I'm rooted now. Thanks again.