Amazon blocked adb hiding of system apps - Fire HD 8 and HD 10 Q&A, Help & Troubleshooting

Amazon seems to have blocked hiding apps with the "adb shell pm hide" I have tried to hide things like the built in calendar email app and the ota update apps, I then rebooted and the apps where still there.
Seems the only way to stop ota updates is to block the amazon servers via router.

You can use "adb shell pm disable" or "adb shell pm uninstall"

Related

[How To] Disable System Apps and Services (includes OTA, launcher, Appstore, ads)

Here's how to disable the most troublesome system apps and services.
I use the pm disable command throughout, but unless otherwise noted OS 4 can use "pm block"
To re-enable an app, run the same command replacing "disable" with "enable" (or block with unblock)
See end of post about how to run the commands.
OTA updatesRooted
OS4
pm block com.amazon.otaverifier
Rename /system/priv-app/DeviceSoftwareOTA.apk to DeviceSoftware OTA.apk_
0S5
pm disable com.amazon.otaverifier
Rename /system/priv-app/DeviceSoftwareOTA/DeviceSoftwareOTA.apk to DeviceSoftware OTA.apk_
Unrooted
Run these with: adb shell pm . . .
OS4
pm block com.amazon.otaverifier
pm block com.amazon.dcp
OS5 (below 5.1.1)
pm hide com.amazon.otaverifier
pm hide com.amazon.device.software.ota
OS5 (5.1.1 and above) - OTA can't be prevented on unrooted devices at this time​Amazon launcher
> "pm disable" (or block) the stock launcher to make your custom launcher the default (credit: Powerpoint45).
> "am start" the stock launcher (after re-enabling) to run the Amazon UI.
. . See bibikalka's post about using enable and start in a script to switch launchers with one tap.OS 4 - pm block com.amazon.kindle.otter
am start -n com.amazon.kindle.otter/com.amazon.kindle.otter.Launcher
OS 5 thru July 2015 - pm disable com.android.launcher
am start -n com.android.launcher/com.android.launcher2.Launcher
OS 5 Sept. 2015 and later - pm disable com.amazon.firelauncher
am start -n com.amazon.firelauncher/.Launcher​Amazon appstore
> Stop the prompt to open appstore when you press an in-app link to Play Store.
. . Handy in scripts with the launcher commands. Reminder: When disabled, the system sees the Appstore as uninstalled.
. . > Some apps (es file explorer) will prompt to delete data. Say no!
. . > If you try to open Appstore while disabled, the system throws a freak-out error. Just re-enable it.pm disable com.amazon.venezia​Lockscreen ads
> Replace lockscreen ads with Amazon's stock wallpapers. OS 5
pm disable com.amazon.kindle.kso
OS 4
> Note: The OS 5 command may cause bootloop on tablets using Freetime.
. . JMZ's Fire tool makes perm changes and you get a message with each reboot. This command avoids both issues.
Code:
pm disable com.amazon.kindle.kso/com.amazon.kindle.kso.lockscreen.LockscreenUpdateService
Wifi off (or on)
> "Disable" (or "enable") is required in all versions.
> OS 4 note: Some apps may not run or could go wonky with wifi off; just re-enable if things get weird.svc wifi disable​------------------------------------------------------------------
How to Run the Commands
The OTA verifier, stock launcher and appstore can be disabled/frozen with whatever app you use for that.
If you disable/enable regularly (to use the Appstore, for example), it's easier to do with scripts and launcher shortcuts.
From Fire HD:
Shortcut on launcher (fast and easy for any command) - See bibikalka's post for switching launchers and my post below it.
Terminal emulator app:
su
command
From computer:
GatesJunior's Debloater tool (fast and easy for OTA, launcher, appstore)
Manually with adb: Not all commands require root but most do, so . . .
adb shell
su
command
I was only able to pm enable/disable after going > adb shell > su, but it works. When I had it disabled I couldn't register the device with Amazon until I disabled it again. I'm working with Kindle Fire HD 6 Kids Edition Fire OS 5.2.2, HDXposed enabled, working GAPPS and rooted with Go Launcher EX launcher
---------- Post added at 06:10 PM ---------- Previous post was at 05:54 PM ----------
I did the pm disable com.amazon.venezia and went into Applications > ALL and the App Store (Amazon) didn't show up at all. I enabled it and it's there again. Just wanted to share since I want to use the Amazon App Store and know now that I have this option. I also disabled com.amazon.otaverifier and can use the App Store no problem. Thank you!
I'm running fire HD6 devpreview 5.2.0 +root
Disabled ota verifier
Renamed DevicesoftwareOTA.ask
Automatic update is disabled in Amazon app store.
Still they managed to send and install Washington post app in my device. it was not there earlier.
I'm doubt about how to prevent Amazon altering my device.
Sent from my KFARWI using Tapatalk
llranga said:
I'm running fire HD6 devpreview 5.2.0 +root
Disabled ota verifier
Renamed DevicesoftwareOTA.ask
Automatic update is disabled in Amazon app store.
Still they managed to send and install Washington post app in my device. it was not there earlier.
I'm doubt about how to prevent Amazon altering my device.
Click to expand...
Click to collapse
Changes you made for ota verifier and DevicesoftwareOTA prevent Amazon from forcing an updated OS onto device, which would "break" root. Assuming you're still rooted, this didn't happen and you're seeing the Wash post that got installed when you installed/upgraded Lollipop. You can uninstall it and it will stay gone. If you did get updated, you didn't block OTA before turning on wifi and Amazon installed 5.2.2--build date July 2015 in Device settings--and you're no longer rooted. Better check!
build date is june 13, 2015.
still i have root access.
however i did uninstall it again. let me check if it may get installed again or not.
thanks a lot
Updated for 5.2.2u2, which I'm calling OS 5.0.1, September 2015 release.
Is there anyway to disable the lockscreen itself? I want to use the lockscreen from smart launcher 3 but I need to first disable the system lockscreen first for it to work properly.
rlattin24 said:
Is there anyway to disable the lockscreen itself? I want to use the lockscreen from smart launcher 3 but I need to first disable the system lockscreen first for it to work properly.
Click to expand...
Click to collapse
Nope.
DoLooper said:
Nope.
Click to expand...
Click to collapse
Well that's a bummer . Oh well I'll just to get over dealing with Amazon's random selection of wallpspers lol thanks for the reply
Updated! :good:
HELP ME!!!!!!
Im on KindleFire HD 6, i just updated to OS 5.1.1 newest Fire OS. Whenever i try to do the command pm block com.amazon.fire launcher it says Error: java.lang.SecurityExemption. Someone please tell me how to fix it. I wil include a screenshot to show you what is happeing.
cbcava said:
Im on KindleFire HD 6, i just updated to OS 5.1.1 newest Fire OS. Whenever i try to do the command pm block com.amazon.fire launcher it says Error: java.lang.SecurityExemption. Someone please tell me how to fix it. I wil include a screenshot to show you what is happeing.
Click to expand...
Click to collapse
Please relax!!!
Look at the bottom of the post for instructions on running the commands. You need to be in su. You're rooted, right?
adb shell
su
pm disable com.amazon.firelauncher
If not rooted, try: adb shell pm hide com.amazon.firelauncher
Not working!
I did what you said to do, dolooper, but the launcher isnt disabled. Am I still doing something wrong, I really want to disable the terrible fire launcher.
cbcava said:
I did what you said to do, dolooper, but the launcher isnt disabled. Am I still doing something wrong, I really want to disable the terrible fire launcher.
Click to expand...
Click to collapse
Press the Home key, choose Nova and tap Always. Reboot.
But it doesn't show the option to choose it as default!!
cbcava said:
But it doesn't show the option to choose it as default!!
Click to expand...
Click to collapse
Tap Nova in firelauncher app drawer to go to Nova. Now tap home key. If it takes you back to firelauncher, idk the problem because idk what you did. How about you post whether you're rooted or not, the exact commands you entered, and what the output was.
Dolooper, I don't have root
The command that I entered was pm hide com.amazon.firelauncher.
adb shell pm hide com.amazon.firelauncher
I feel stupid asking this so please forgive my ignorance but I searched around and could find the answer.
Can someone please tell me the command to check the status of a service?
For example, I'd like to be able to check and see if a command I ran like one of the ones above, worked or not. Or to check on a different service. I'd like to be able to run a command that shows a list of services and their status or a single service and check its status.
Would it be something like pm status [process name]?

5.0.5.1 - App Blocking

I've recently been digging in to what is causing launchers from being disabled and wanted to share my findings.
The culprit here is
Code:
/system/priv-app/com.amazon.tv.settings.apk
The service name is
Code:
com.amazon.tv.settings.tv.AppDisableService
There are currently two blacklisted apps in the 5.0.5.1 release:
Code:
com.altusapps.firedtvlauncher
de.belu.firestarter
If you are on 5.0.5.1, you can poke around the system partition by running on your computer:
Code:
adb pull /system
Looks like we have a cat-and-mouse game on our hands...
jkchr1s said:
I've recently been digging in to what is causing launchers from being disabled and wanted to share my findings.
The culprit here is
Code:
/system/priv-app/com.amazon.tv.settings.apk
The service name is
Code:
com.amazon.tv.settings.tv.AppDisableService
There are currently two blacklisted apps in the 5.0.5.1 release:
Code:
com.altusapps.firedtvlauncher
de.belu.firestarter
If you are on 5.0.5.1, you can poke around the system partition by running on your computer:
Code:
adb pull /system
Looks like we have a cat-and-mouse game on our hands...
Click to expand...
Click to collapse
Wow. Those sneaky bastards. I think there is a way to disable individual services.
rbox said:
Wow. Those sneaky bastards. I think there is a way to disable individual services.
Click to expand...
Click to collapse
I was thinking the same thing. I don't have the update so I can't test. But can't we do:
Code:
pm hide com.amazon.tv.settings.tv.AppDisableService
without root, and
Code:
pm disable com.amazon.tv.settings.tv.AppDisableService
with?
wouldn't hurt to try, would it?
rbox said:
Wow. Those sneaky bastards. I think there is a way to disable individual services.
Click to expand...
Click to collapse
Unfortunately the 'pm hide' command doesn't work to disable the service because it's for packages only, so non-rooted owners are out of luck. And yes, I did actually try it anyway. I expect the 'pm disable' command will work with root because it differentiates between packages and components.
Also, it doesn't look like they're doing anything special when disabling the two apps, so once we have a pre-rooted ROM, all we'll have to do is:
Code:
adb shell
su
pm disable com.amazon.tv.settings.tv.AppDisableService
pm enable com.altusapps.firedtvlauncher
pm enable de.belu.firestarter
AFTVnews.com said:
Unfortunately the 'pm hide' command doesn't work to disable the service because it's for packages only, so non-rooted owners are out of luck. And yes, I did actually try it anyway. I expect the 'pm disable' command will work with root because it differentiates between packages and components.
Also, it doesn't look like they're doing anything special when disabling the two apps, so once we have a pre-rooted ROM, all we'll have to do is:
Code:
adb shell
su
pm disable com.amazon.tv.settings.tv.AppDisableService
Click to expand...
Click to collapse
Did you verifiy with:
Code:
pm list packages -d
?
AFTVnews.com said:
Unfortunately the 'pm hide' command doesn't work to disable the service because it's for packages only, so non-rooted owners are out of luck. And yes, I did actually try it anyway. I expect the 'pm disable' command will work with root because it differentiates between packages and components.
Also, it doesn't look like they're doing anything special when disabling the two apps, so once we have a pre-rooted ROM, all we'll have to do is:
Code:
adb shell
su
pm disable com.amazon.tv.settings.tv.AppDisableService
pm enable com.altusapps.firedtvlauncher
pm enable de.belu.firestarter
Click to expand...
Click to collapse
It *IS* a cat and mouse game... but really all that has to happen is the authors of those programs just need to change the name of the package.
I was close. The command to disable the blacklist service is:
Code:
pm disable com.amazon.tv.settings/com.amazon.tv.settings.tv.AppDisableService
It survives a reboot. Here is my detailed guide for those who need it.
I've been playing with this on an unrooted box and found that I can crash the AppDisableService by sending an intent, followed by a force-stop of com.amazon.tv.settings:
Code:
am broadcast -a android.content.action.PERMISSION_RESPONSE_RECEIVED
am force-stop com.amazon.tv.settings
This *seems* to stop the AppDisableService since it never spins back up (since it never receives the BOOT_COMPLETED after it crashes), but this still leaves us with the problem of packages being disabled at boot and no way to enable them.
So, this led me to the idea that you could uninstall the apk and preserve the files, then simply reinstall it after the crash.
I tried to uninstall FireStarter and preserve data:
Code:
pm uninstall -k de.belu.firestarter
but on reinstall, it's still disabled (I'm guessing it preserves the disabled state with -k).
So I guess that's sort-of progress...
jkchr1s said:
I've been playing with this on an unrooted box and found that I can crash the AppDisableService by sending an intent, followed by a force-stop of com.amazon.tv.settings:
Code:
am broadcast -a android.content.action.PERMISSION_RESPONSE_RECEIVED
am force-stop com.amazon.tv.settings
This *seems* to stop the AppDisableService since it never spins back up (since it never receives the BOOT_COMPLETED after it crashes), but this still leaves us with the problem of packages being disabled at boot and no way to enable them.
So, this led me to the idea that you could uninstall the apk and preserve the files, then simply reinstall it after the crash.
I tried to uninstall FireStarter and preserve data:
Code:
pm uninstall -k de.belu.firestarter
but on reinstall, it's still disabled (I'm guessing it preserves the disabled state with -k).
So I guess that's sort-of progress...
Click to expand...
Click to collapse
I wonder what would happen if a device reset was done and your tweak were done?
king200 said:
I wonder what would happen if a device reset was done and your tweak were done?
Click to expand...
Click to collapse
Unfortunately a device reset would restart the AppDisableService. Causing the crash only stops it after you initiate the crash (meaning it would start up on next reboot). That's the problem with this approach...
My thought was to run a process to uninstall the disabled app(s), have a copy of the APK on the filesystem to re-install, and write an app that would initiate the crash and reinstall the apk on BOOT_COMPLETED. This approach is only good for keeping the app during a booted session, it would have to be re-run if the device was rebooted, and all app settings would be lost when the uninstall occurred.
Without initiating the crash, it appears they run an alarm task that essentially does a check every so often to disable any newly installed apps.
So it looks like they do the check on boot, then again at scheduled intervals. Initiating the crash causes the scheduled interval checks to not run, but a reboot means the app becomes disabled.
how about rename the app??? sorry if too stupid...
htchd2fix said:
how about rename the app??? sorry if too stupid...
Click to expand...
Click to collapse
Renaming the app works, but requires the source to be recompiled. Not easily done on device.
on the atvnews(dot)com website is a renamed version from firestarter for downlaod.
CU ulli01

Is there a way to completely disable OTA Updates on Rooted Fire HD 10?

A few days ago, I rooted my Amazon Fire HD 10 OS 5.6.0.0 with kingoroot. I've customized my tablet and removed a lot of the unnecessary Amazon apps. I really like how my Amazon Fire HD 10 looks right now and don't want to see it get messed up because of an update.
Is there any sure way to stop the Amazon Fire HD 10 from updating? I removed the DeviceSoftwareOTA.apk from the device already, but I've read elsewhere that simply removing the DeviceSoftwareOTA won't stop the updates from happening. Is there anything else I can do?
Yes, you also need to remove ForcedOTA (com.amazon.kindle.otter.oobe.forced.ota). With both of these removed, no updates are possible.
From my experience on HD8 (7th Gen) on OS 5.3.3.0 since September :
Even though I could not root HD8, I was able to "pm uninstall" both com.amazon.device.software.ota and com.amazon.kindle.otter.oobe.forced.ota
Since then, with WiFi connected everyday, it had never updated to a new version of Fire OS.
Since it is rooted, use ES File Explorer (change settings to give it root permission and show hidden files) and rename the file /system/etc/security/otacerts.zip. It uses this file to verify the updates. While you are at it, I need a copy of the otacerts.zip file if you don't mind. I am trying to restore mine and lost it during a factory restore.
Dan_firehd said:
From my experience on HD8 (7th Gen) on OS 5.3.3.0 since September :
Even though I could not root HD8, I was able to "pm uninstall" both com.amazon.device.software.ota and com.amazon.kindle.otter.oobe.forced.ota
Since then, with WiFi connected everyday, it had never updated to a new version of Fire OS.
Click to expand...
Click to collapse
what did you set user as I ran this command pm uninstall -k --user 0 com.amazon.otter.oobe.forced.ota and got user not found
ecwebster31 said:
what did you set user as I ran this command pm uninstall -k --user 0 com.amazon.otter.oobe.forced.ota and got user not found
Click to expand...
Click to collapse
I am not sure what you are asking. I did not "set user".
The following were what I typed:
pm uninstall -k --user 0 com.amazon.device.software.ota
pm uninstall -k --user 0 com.amazon.kindle.otter.oobe.forced.ota
69ragtop said:
Since it is rooted, use ES File Explorer (change settings to give it root permission and show hidden files) and rename the file /system/etc/security/otacerts.zip. It uses this file to verify the updates. While you are at it, I need a copy of the otacerts.zip file if you don't mind. I am trying to restore mine and lost it during a factory restore.
Click to expand...
Click to collapse
ES File Explorer has become crapware. Try Amaze file manager... simple, compact, all you need without the unnecessary junk ES tries to foist on you now.
ecwebster31 said:
what did you set user as I ran this command pm uninstall -k --user 0 com.amazon.otter.oobe.forced.ota and got user not found
Click to expand...
Click to collapse
try replacing 0 with current so: -k --user current
pm uninstall -k --user 0 com.amazon.device.software.ota
pm uninstall -k --user 0 com.amazon.kindle.otter.oobe.forced.ota
I tried these two commands and I get a "failed to delete" message which I assume is because I have not rooted the tablet. There is an app called "Settings Database Editor". Does anyone have any experience with that? I used it to successfully disable the lock screen without rooting, but it looks like I'm going to have to take the plunge and root in order to block the OTA updates. (first time working with an android device)
ironlion37 said:
pm uninstall -k --user 0 com.amazon.device.software.ota
pm uninstall -k --user 0 com.amazon.kindle.otter.oobe.forced.ota
I tried these two commands and I get a "failed to delete" message which I assume is because I have not rooted the tablet. There is an app called "Settings Database Editor". Does anyone have any experience with that? I used it to successfully disable the lock screen without rooting, but it looks like I'm going to have to take the plunge and root in order to block the OTA updates. (first time working with an android device)
Click to expand...
Click to collapse
Most of the ability to disable system apps has been patched already. The command you posted above has long been patched. Settings Database Editor is great and powerful. You're lucky you got the lock.disable to work. 9 times out of 10 it doesn't.
So you are correct. Unless you got any of the known tools to work, the only way to truly stop OTA is to destroy the application that handles them. My HD 8 has been on 5.4.0.0 or less for 2 almost 3 years because the commands you posted above, totally disabled the app.
Sent from my Galaxy S4 using XDA Labs
ironlion37 said:
pm uninstall -k --user 0 com.amazon.device.software.ota
pm uninstall -k --user 0 com.amazon.kindle.otter.oobe.forced.ota
Click to expand...
Click to collapse
DragonFire1024 said:
My HD 8 has been on 5.4.0.0 or less for 2 almost 3 years because the commands you posted above, totally disabled the app.
Click to expand...
Click to collapse
Good to know that these two commands is all what's needed. I was just able to successfully execute them on a mtk-su rooted Fire HD 10 "suez" running 5.6.4.0.
Just out of curiosity,
1. Does anybody know what "otter" and "oobe" are supposed to mean, i.e. what com.amazon.kindle.otter.oobe.forced.ota is supposed to do?
2. Some people also recommend to get rid of com.amazon.device.software.ota.override — what does this do?
3. Why do some people also remove com.amazon.settings.systemupdates — this is helpful for checking the current OS version, right?
Thank you very much for all your work @DragonFire1024!
anon/droid said:
Good to know that these two commands is all what's needed. I was just able to successfully execute them on a mtk-su rooted Fire HD 10 "suez" running 5.6.4.0.
Just out of curiosity,
1. Does anybody know what "otter" and "oobe" are supposed to mean, i.e. what com.amazon.kindle.otter.oobe.forced.ota is supposed to do?
2. Some people also recommend to get rid of com.amazon.device.software.ota.override — what does this do?
3. Why do some people also remove com.amazon.settings.systemupdates — this is helpful for checking the current OS version, right?
Thank you very much for all your work @DragonFire1024!
Click to expand...
Click to collapse
The first and second one are applications that grabbed OTA updates sent by Amazon to update the system of your device.vI would assume if one application shuts down the other one takes over. But like most things you need one to work in order for the other to work. If you simply disabled the second one no OTA updates will be sent to your device that will upgrade or change Amazon system like giving you a new version of fire OS.
Removing the third one just disables your ability to tap on the system updates page in the settings application. it will not actually stop any update from taking place on the device if it's disabled. It just removes your ability to get anywhere near the update section or your ability to visually see what's going on there.

HD10 (2019,Maverick) Multi-user, stuck at "register your fire"

I am attempting to set up multiple users on a Fire HD10 (7.3.1.0).
While the Android9 GUI method appears disabled, it I was able to create a new user "adb shell pm create-user USER"
Unfortunately, every time I switch to that user, it is stuck in a "Register Your Fire" app that doesn't seem to be have a bypass.
Is there some way to disable the app from 'adb' ?
I've tried 'am switch-user 10', but can't seem to disable what I suspect is the problem ("com.amazon.kindle.otter.oobe")
dirtminer said:
I am attempting to set up multiple users on a Fire HD10 (7.3.1.0).
While the Android9 GUI method appears disabled, it I was able to create a new user "adb shell pm create-user USER"
Unfortunately, every time I switch to that user, it is stuck in a "Register Your Fire" app that doesn't seem to be have a bypass.
Is there some way to disable the app from 'adb' ?
I've tried 'am switch-user 10', but can't seem to disable what I suspect is the problem ("com.amazon.kindle.otter.oobe")
Click to expand...
Click to collapse
Try it to reset your Fire tablet and disable this package called Device Setup, package name is com.amazon.kindle.otter.oobe
Code:
adb shell
pm disable-user --user 0 com.amazon.kindle.otter.oobe

[Fire HD 10 2019 rooted 7.3.1.0] Restore deleted Amazon apps

Hi,
I deleted almost all the Amazon apps on my HD 10 2019(7.3.1.0). But now I need to use the prime video app and Kindle app. I can install Kindle app from Play store but after installing and logging in nothing works. The app doesn't go beyond syncing account.
PHP:
When I try to install prime video from Play store, it fails to install.
What can I do to fix this
Thanks.
tbrar said:
Hi,
I deleted almost all the Amazon apps on my HD 10 2019(7.3.1.0). But now I need to use the prime video app and Kindle app. I can install Kindle app from Play store but after installing and logging in nothing works. The app doesn't go beyond syncing account.
PHP:
When I try to install prime video from Play store, it fails to install.
What can I do to fix this
Thanks.
Click to expand...
Click to collapse
You can do over ADB
Code:
adb shell pm enable <package-name>
//Example
adb shell pm enable com.amazon.avod
AmznUser444 Dev said:
You can do over ADB
Code:
adb shell pm enable <package-name>
//Example
adb shell pm enable com.amazon.avod
Click to expand...
Click to collapse
I tried both
Code:
adb shell pm enable com.amazon.avod
adb shell pm enable --user 0 com.amazon.avod
and in both cases I get
Code:
Package com.amazon.avod new state: enabled
But the application is still missing
Play store version of Amazon app is different from the one for Fire OS so it will not work. as for using adb commands, there may be more than 1 package that needs to be re-enabled for Prime Video or Kindle to work.
before u can re-enable any app, did u delete or only disable those Amazon apps? if u have deleted them, u cannot re-enable them of cus. it will a pain to hunt down those packages. OS version 7.3.1.0 is never published n quickly replaced by 7.3.1.1 n newer ones. those are all patched to prevent root access via mtk-su.
if u dont care about root, the easiest way to get back Prime Video and Kindle app is to download and install the current OS from here: https://www.amazon.com/gp/help/customer/display.html?nodeId=G2JXLC4L34GX73TE

Categories

Resources