All versions of the Amazon Fire TV will download and install software updates automatically. There is no option to disable or reject software updates. Whether you have a rooted Fire TV or not, this guide will show you all the methods for blocking software updates on Fire TV devices.
Contents
Method 1: Block on Fire TV (Requires Root)
This method disables the service running on the Fire TV which checks for updates. Your Fire TV must be rooted to use this method. If your Fire TV is rooted, this is the recommended method, but it’s always a good idea to also use Method 3 to block updates via your router in case the update service gets re-enabled, which happens after a factory reset.
Pros
- Does not require router or DNS setting changes.
- Updates remain blocked when using Fire TV outside of your home network.
- Disables updates on the device itself.
Cons
- Requires Root.
- Updates will be re-enabled after a factory reset.
Method 2: Block on Fire TV (Without Root)
This method requires Fire OS 5.0.0 thru 5.0.5.1 to be installed on your Fire TV or Fire TV Stick to work. The only way to block updates on version 5.2.1.0 and up is to either be rooted and use method 1, or use method 3 or 4 to block updates externally. If your device is rooted, you should follow method 1 instead of this method. This method ‘hides’ the update service on the device, which prevents updates, whereas method 1 disables it. It’s always a good idea to also use Method 3 or 4 to externaly block updates in case the update service gets re-enabled, which happens after a factory reset.
Pros
- Does not require router or DNS setting changes.
- Updates remain blocked when using Fire TV outside of your home network.
- Disables updates on the device itself.
Cons
- Updates will be re-enabled after a factory reset.
Method 3: Block updates via Router
This method uses your router’s parental controls to block the domains that the Fire TV accesses when downloading updates. Even if you used method 1 on a rooted device or method 2 on an unrooted device, it’s still a good idea to also use this method. For this method to work, your router MUST be able to block both HTTP and HTTPS requests. Many routers cannot block HTTPS requests.
Pros
- Does not require Root.
Cons
- Depends on router's settings and abilities
- Will not work for many routers do to inability to block HTTPS requests.
- Updates will not be blocked if Fire TV is connected to a different network.
Method 4: Block updates via OpenDNS
This method is your last resort if you don’t have access to your router’s settings, or your router is incapable of reliably blocking updates using method 3. This method routes your Fire TV’s web traffic through a service called OpenDNS which can block the domains the Fire TV needs to access in order to update.
Pros
- Does not require Root.
- Does not require router setting changes.
Cons
- Relies on a 3rd-party service that may not stay free.
- Requires DNS changes.
- Updates will not be blocked if your home IP changes.
- Updates will not be blocked if Fire TV is connected to a different network.
Method 5: Block on Fire TV by setting a Custom Software Version Number (Requires Root)
This method blocks software updates by setting a custom OS version number so the device does not know which update to download. This should be done in addition to method 1 as a backup. The added advantage of this method is that it can be done within TWRP custom recovery. That means, you can have updates blocked on the device itself BEFORE completing the initial setup process. If you are factory reseting a rooted Fire TV, it is highly recommended that you implement this blocking method so that you don’t install an OTA update during the initial setup process.
Pros
- Does not require router or DNS setting changes.
- Updates remain blocked when using Fire TV outside of your home network.
- Disables updates on the device itself.
- Will block updates BEFORE starting the initial setup process. (Only method that can do this.)
- Survives a factory reset.
Cons
- Requires Root.
- Updates will be re-enabled after installing any ROM. This must be redone every time you install a new ROM.
I’ve heard mixed things on how the dev preview will react to the OS 5 public roll out. Some say it will automatically updated to public, some say it will not. I’ve seen that some dev preview devices are getting dev preview updates (this was days ago) however my dev preview stick is still on the original 5.0 dev preview and won’t see 5.0.3 dev preview update. Does anyone outside of the new AFTV2 currently have the public version? Just overall a little confused.
Same with me – my Fire TV Stick is still with the first dev version.
Need help have 2nd generation and block update but when I try to start my box it says unable to update amazon fire tv and will not let me continue past this screen it lets me go back but then it try to update and get same screen
Hi did you manage to resolve this? Mine has just done the same.
Same issue, would be nice if someone could get back to us on this. I block them 4 domains on my router and I can’t access my home menu on my firestick, I’ve also tried just blocking the two required domains and still no luck. Please update as method 3 and 4 now seems obsolete.
So if you’re 5.0.5.1+ and not rooted I’m guessing you can’t disable updates???
have you manage to start the stick? i.m still stuck on the first start up with the update
Thank you for useful information and i followed same for my device. keep up the good work
if you plug the stick into the tv’s usb, there’s not enough power to update. A message comes up asking you to plug it into mains power to update
New 2016 updates are pushed regardless of usb power.
Do NOT block the software patch. The patch may include security fix ( eg, Hardbleed , Stagefright 2.0 , etc… ).
You don’t want your device to get infected.
If you are talking about a normal computer, used for a wide variety of things, then I completely agree about not blocking updates. But a FireTV? It’s really more of an appliance focused on TV viewing and games. The FireTV sits behind a router, so nothing scanning your home Internet connection is going to hit it. You have a better chance of getting a virus by side-loading something on it. I’m actually hoping that at least the first versions of the new OS are vulnerable something that allows a jailbreak, so people can jailbreak FireTV 2’s.
AFTV is a very small box but consider powerful Quad core and enough RAM to transform botnet node. I’m sure you heard about home routers reputation on security front ( Netgear router just happened to be on the news yesterday but other brands are no different in my opinion).
IoT Android/Linux appliances are on the hot seats nowadays according security researchers.
Ref:
http://www.bbc.com/news/technology-34491583
http://www.zdnet.com/article/critical-security-flaws-leave-connected-home-devices-vulnerable/
Neither of those links refer to Android security. Can you elaborate?
I’m happy to block updates as I want to keep KODI running ;)
An update won’t block Kodi.
My fire tv and tv stick just auto updated yesterday and to my surprise amazon has partially block kodi. When you click on the application on both devices it opens kodi and it runs for a couple of seconds maybe 15 to 25 sec and after that it goes out of kodi automatically. My advice to anyone running kodi on fire tv and fire stick is to try any of the methods described above so you can avoid re installing and factory resetting which it is what i have to do now.
Just go down to apps on your home screen.. Kodi is in the apps library… All you to do to still get Kodi is go there… Still on home screen still winning..
Seriously that method works? If so its not a big deal has anyone else tried this?
how dide you block ad thanks need help to stop popup & ad THANKS
So does anyone know if the new FireTVs are rootable?
Is this possible:
http://forum.xda-developers.com/fire-tv/general/emmc-hack-to-enable-adb-connect-adapter-t3228090
I really need to bypass updates but fritz.box makes problesm!
Really need help. My eemc adapter is actually on the boasrd and i have access but how to disable updates without adb?
I have an asus router and the “t” at the end can not fit. The picture seems to have the same problem too! What should I do?
amzdigitaldownloads.edgesuite.ne <—— missing "t"
Can you use * Wildcards? i.e. blocking anything from “amzdigitaldownloads.edgesuite.*”?
You don’t have to print the whole address. If you write “amzdigitaldownloads” it will block all addresses containing “amzdigitaldownloads”.
Use Google url shortener to give u a short link like I just made this link as a eg:original http://www.aftvnews.com/fire-tv-update-5-2-4-1-causing-poor-24p-video-playback-in-mrmc-kodi-and-spmc/ shortened into: https://goo.gl/TtXUhv
using this google url shortener LINK: https://goo.gl/
Just as pictured the ASUS CANT BLOCK UPDATES from router! What shoukd I do!
Just go to a url shortener and type the url and get a short one, go’s to same place as we know
I bought a Fire TV w/voice and plugged it in before understanding what was needed to “jailbreak” it. I’m pretty sure the software updated immediately. Now that I’ve read what is needed to jailbreak one, they are all saying to jailbreak it first, before the update.
Will a factory reset wipe out the update and allow me to jailbreak it???
Is it possible to block system updates but not amazon app downloads/updates using opendns?
****** Block OTA Updates Without Root on Fire OS 5
With adb shell command:
adb shell pm unhide com.amazon.device.software.ota
Complete How-To:
http://forum.xda-developers.com/fire-tv/general/block-ota-updates-root-fire-os-5-t3183134
Sorry, correct command is:
adb shell pm hide com.amazon.device.software.ota
To check it, just try to check for new updates. It will fail.
Thanks for this. I blocked the required URL on my router but my Fire Stick still automatically updated to 5.0.5. I wanted the updated but it proved the block didn’t work.
Same here. (In fact the comtrend screen shot above is mine.) A couple days when the stick started up, new features such as alexa was now available…
That seems to be just working for me. I blocked further updates after getting OS5 update today to keep my chances to root my first gen fire tv root.
Do we need to add http:// or https:// to the urls? I blocked amzdigitaldownloads.edgesuite.net on my router but my Fire Stick still updated.
no matter if i use method 2 (parental control) or method 3 (opendns), i can always ping amzdigitaldownloads.edgesuite.net
Please suggest.
Yes you can ping the site…check to see if your router is doingbuts job by trying to open the url with a browser.
Hey there,
You should definitely add the block method with adbfire connection. After Fire OS 5.0.5 update we are able to block the update via ADB connection and just hide the necessary OTA Update package and apk’s.
I have hidden these files with the command “adb shell pm hide” :
com.amazon.device.software.ota
DeviceSoftwareOTA.apk
DeviceSoftwareOTAIdleOverride.apk
DeviceSoftwareOTAContracts.apk
It works just fine as I can see. Maybe you can also try and let us know if it is safe or not :)
Detailed info can be found on XDA:
http://forum.xda-developers.com/fire-tv/general/block-ota-updates-root-fire-os-5-t3183134
Nice addition of the non-root non-router block method. Makes me feel better taking my stick to a friends house while waiting for a root and recovery method.
Hi Elias,guys
I am trying to block software updates on my firetv (without root) as you have suggested in your last post and run into a problem. I open adb shell and type the command you’ve shown but here what it says:
shell@bueller:/ $ adb shell pm hide com.amazon.device.software.ota
error: device not found
Weird as my device is shown as connected and I can install apk. Any idea where it could come from ?
Many thanks for your hard working
Mex
Okay sorry to have bother for nothing I found my problem, sometimes mistakes are so much in front your face that you don’t see them !
Had to run it without “adb shell” in front off as I was in adb shell terminal already.
Cheers
Maybe they closed this down. As soon as i try to block those adresses from accessing it through my router, firetv and fire tv stick both immediately loose network connection completely. If i remove that filter, it all runs fine again (i used method 3 on a avm router.)
Method 3 won’t work on DD-WRT. IPTables will not filter HTTPS. But you can use DNSMasq instead :-)
Follow on how to use DNSMasq on DD-WRT: https://www.youtube.com/watch?v=YgfInxSbLX0
In “Additional DNSMasq Options” use:
address=/amzdigital-a.akamaihd.net/127.0.0.1
address=/amzdigitaldownloads.edgesuite.net/127.0.0.1
address=/softwareupdates.amazon.com/127.0.0.1
address=/updates.amazon.com/127.0.0.1
You are my Hero! Too bad aftv is giving wrong information about how to block on DD-WRT, too good that you commented the proper settings! Thanks! :-)
you are likely to be happier using pfSense instead of DD-wrt
How do I block a NEW FireStick from updates when I first plug it in? Method 3 (router) is not working for me as my router does not block https sites. The other 3 methods require me to register the box first. How do I proceed?
Thanks in advance.
Method 4 does not require the box to be registered first. After you setup OpenDNS to block the domains, you just need to enter the OpenDNS IP in the advanced settings when you connect the Stick to your WiFi network.
I shall do that then. Thanks!
well then can you make a guide on how to do this then because your guide on this says that you need to get values in the settings menu to set up open DNS but we can’t get into setting menu now can we
we cant do your “optional”
step 3 , in your setting up DNS guide because we can’t get into the settings menu yet
and we cant do steps 7 and 9 either because we can not do the “optional” step 3 so how do we get those values then when we can;t even get into setting menu?
remove WAN connection from router first
I bought a new Fire-tv 2 4k and used method 3 and 4 to block OTA updates before trying to set it up. It checks for updates, tries to download(which fails) and leaves me at the screen saying it was unable to update so it never let’s me get to the registration screen. How do I get past this?
complain to amazon
Did you manage to resolve your issue? Mine has done the same thing.
FYI…I completed block option via router, and when I copy/past domains into my url bar and hit go, I get a banner that says site is blocked by Netgear. However, I can still download your “test” file…
FireStarter is pretty much dead now with new Amazon update. This isn’t good considering that people now cannot update the current Kodi versions manually. (without a computer)
I went to “manage applications” and FireStarter was nowhere to be seen anymore. I reloaded it and it said “filtering installed apps” and once again FireStarter was nowhere to manually start. Right now, the Kodi icon is on Amazons home screen. (no more FireStarter)
This is NOT good considering Amazon is one step away from now blocking Kodi all together.
Amazon is blocking the rooting. I’m not liking what I see now.
Use firestopper app exactly the same as firestarter but it works,then you can update kodi with out needing a computer,just google firestopper.apk dload the file,then google adbfire and down load the app,go on youtube to see how to set it up, pretty easy to follow,once installed use just the same as firestarter :)
use apk-dl.com
paste play store url
download apk without evil google account
Tried the method 2 for 3 Fire TVs – and it works very well – thanks for that!
But then i tried it with my fire stick – and there i get the following error message:
Error: unknown command ‘hide’
Why is that?
Hi guys, when I run the command
adb shell pm hide com.amazon.device.software.ota
from my ADBFire connected to my FireTV all I get is an error
-bash: adb: command not found
Any ideas?
Thank you
Yes. Since you already You’re getting that error because you already have the adb shell open. Just remove “adb shell” from that command and run it again. It should work this time.
Yes. You’re getting that error because you already have the adb shell open. Just remove “adb shell” from that command and run it again. It should work this time.
For those getting the unknown command error, what I had to do on one of my fire sticks is toggle dev adb mode in my fire tv settings off/on about four times and then retry and it worked. Also, this method 2 only works on OS5 and above.
Method 2 worked for me. One of my fire boxes is still the previous version 5.0.5 prior to Alexa. And after method 2,it will not update and gets errors when checking for updates. Exactly what I wanted. Should this be update proof now as long as its not factory reset? Also, if one did need to factory reset, could I redo method 2 before allowing it to connect to the Internet, which it immediately does after reset to look for updates. Does anyone have any strategy for this?
” Does anyone have any strategy for this?”
Remove WAN connection to router
Hello ive blocked updates on my fire tv via method 2 non-root and method 4 open dns. If i was to root my device in the future would i have to block updates again? Thanks
subjunctive should be: “If I were to root”
correct: “would I need to block”
Hi,
I am not tech savvy. Is there the easiest way to block updates oh my fire tv?
yes
Hello
Using ADBFire I connected to my FTV and opened Console
“C:\adbFire>adb shell pm hide com.amazon.device.software.ota
Package com.amazon.device.software.ota new hidden state: true”
This is what I got returned. Is this correct? I had used the Method 3 awhile back thinking I was good but my router failed me :(
When I try to click on ADB Shell I get this output
shell@bueller:/ $ pm hide com.amazon.device.software.ota
pm hide com.amazon.device.software.ota
Package com.amazon.device.software.ota new hidden state: true
shell@bueller:/ $
really want to make sure no more updates :)
did u resolve it?
if i even “unhide” com.amazon.device.software.ota it still states “new hidden state: true”
Hummm Just received 5 new sticks today and none of them would get past intial software update. Says unpplug and try again later… Anyone else??
Just to confirm: com.amazon.dcp should stay enabled on FireOS 5?
Yes
It appears that you can’t block future updates on 5.2.1.0 using Method 2 from Elias. Anyone know of a workaround?
Yes
I can’t block updating using Method 2
It was working before the last AFTV update
did you get it to work?
I have used method 3 on my linksys router which does block both http and https. The parental controls are per device connected to the router so I’ve naturally set them on the fire tv connection. However the latest software update still got installed. I copy and pasted the addresses so there are no typos and this time I remembered to actually turn parental controls on! It’s not been connected to a different network. Any ideas?
Mine did same…
Download is blocked…
But I didn’t set optional URL’s – just amzdigital*
Downloaded latest from 5.0.5.1 to 5.2.1.0
Hello, just a heads up.
I have updates blocked via machine, and opendns
Very familiar with opendns…
anyhow, unblocked updates on machine via adb.
and it updated to os 5 even with open dns block.
maybe ill post for the podcast if ?
if?
ALEXA block updates :)
Thanks for this guide.
I had to use Method 4 as I did a factory reset and can’t get access to the unit until it’s set up (oh and my router doesn’t block https). However, now that I’ve done that my screen is just hanging at “checking for updates”. Anyone else experienced this or knows why it could be happening?
Method No. 3 causes network error messages and the start screen can’t be loaded.
Actually the start screen is not such a big deal for me but the error messages lead to a shut down of kodi after the auto start by fire starter.
is there a way to deactivate these error messages?
Hi, I used method 2. After entering the command I just got the next command line. No error message and no confirmation. So I am not really sure the “hide” command worked. Is there a way to check that?
I have 5.2** installed and it looks like
adb shell pm hide com.amazon.device.software.ota fails to do anything now
Just tried myself on latest 9/6 release for FTV1 and got an error:
Error: java.lang.IllegalArgumentException: Unknown package: com.amazon.device.software.ota
Correcting my post, it works. I had to force close Firestarter and then cycle through adb on and off several times. Apparently Firestarter was causing issues with connect to shell and I didn’t notice.
as soon as i block https requests in my router, the firetv cant be used anymore. it says network error. seems that not an option anymore.
add your voice to request the WHITELIST of addresses.
Block ALL
Allow list
there is more than one service with OTA in the name.
https://exploitee.rs/index.php/Amazon_FireTV
Method 5 pfSense
retask an older PC, add two good NICs
all your base are belong to you
Be sure to add Conversations app to join us in this millennia
also block
a1896.g.akamai.net
fun fact IP address in common with
http://www.keesler.af.mil.edgesuite.net
not per se
http://www.keesler.af.mil/
Is there a way that you can manually install fire TV’s latest update without affecting a rooted box.
I used option 3 on my ddwrt router. Blocked all 4 addresses. Tested to ensure they were blocked. Came home from work and the thing still updated itself and I lost root. Ugh….
I blocked with OpenDNS which I test frequently. Both new Stick2’s updated in the last week. Testing still shows all addresses blocked
@AFTVnews
I cannot download media apps (hbo, netflix, et al) with this blocklist:
firs-ta-g7g.amazon.com
amzdigitaldownloads.edgesuite.net
softwareupdates.amazon.com
updates.amazon.com
atv-ext.amazon.com
a1910.d.akamai.net
amzdigital-a.akamaihd.net
amzdigital-b.akamaihd.net
amzdigital.akamaihd.net
which ones ought be removed?
Yet another datapoint with a FTV2. 4 domains blocked at router with http and https, FTV2 connected with ethernet cable. I had no success in getting past the Checking for updates… screen with any variety of pulling network cable out, tried it 10 times? Finally removed the “optional” two domains from the blocklist and it worked the first time. So those 2 definitely cause probs with the new FTV2 when blocked. Thanks for all the info!
Dont feel bad its not worth the effort. I supposedly had updates blocked on the box had followed the guides exactly. Also had updates blocked on the router. Router went bad and put in another forgetting about the blocking. Figured I was fine cuz had updates blocked on box but it updated anyway. Using a Nexus Player now and so much better cuz its open not locked down firetv garbage with its garbage ui. Would recommend a mi box nowadays though.
Where can you find a Nexus player? I’m done with Amazon. I have a refurbished gen 1 stick. I’ve had it about 4 yrs now. Not playing trying to block anything.
I think blocking via a alternate version number doesn’t work. I can go through the process and modify the build.prop file and change the version number, then use terminal to confirm I installed the file correctly (even chmodding 775) and when I go in to Settings to check for updates, it checks for them anyway.
It’s not until I use the pm disable command that the check for updates gives an error message.
That is because the prop file Method uses the version number to make the device think you are on much newer FW. It doesn’t do anything to the checking for updates process itself.
I seemed to have blocked updates on my Firestick2 by side-loading Grey Shirts NoRoot Firewall 3.0.1 from APKMirror. Navigation is a bit difficult with the remote but on the Pending Request menu, while focus is on the menu bar, clicking right, right will eventually drop to the top pending request allowing me to select Allow or Deny. I allowed every request except the “com.amazon.device.software.ota.override.deviceSoftwareOTA” I’m only at day 2 but I’ve restarted and everything seems OK and the updates are failing. Don’t forget to tick the Run at Startup.
I wanted to mention I also Denied the “Not in my house” service, as it is supposed to block unwanted software from being used.
I know it’s a little late but did this work out for you? I noticed I could still check for updates and wondered if doing this stopped updates from installing?
There are too many characters in this domain url.
amzdigitaldownloads.edgesuite.net
My router’s firewall url filter will only allow me to type
amzdigitaldownloads.edgesuite.ne
Same in my ASUS RT-AC32000 with Merlin software.
it’s not letting me block updates :-(
My Fire TV Stick 2 updated today despite having blocked updates using OpenDNS method….
Maybe it checked for updates in the period of time between my WAN ip address changed and it was updated in dnsomatic….
https://forum.xda-developers.com/fire-tv/general/disable-ota-fire-stick-t3667978
Possible replacement option for Method 2.
ANYONE NEEDING TO SHORTEN URL to fit for blocking etc here is tool and eg:
Use Google url shortener to give u a short link like I just made this link as a eg:original http://www.aftvnews.com/fire-tv-update-5-2-4-1-causing-poor-24p-video-playback-in-mrmc-kodi-and-spmc/ shortened into: https://goo.gl/TtXUhv
using this google url shortener LINK: https://goo.gl/
My router doesn’t allow / in the url to filter.
:-(
Hacking Technique – Install Srivatsa into Alekhya…..and then its hacked….
Looks hairy
Regarding Method 5:
Sideload ‘Prop-Editor’ from the Play Store.
https://play.google.com/store/apps/details?id=com.jowi81.propeditor
Edit the ro.build.version.number to 987654321, select Done, then hit the menu button and then save. Reboot and profit. Takes 30 seconds. Much easier and works with the remote.
Guys, in some limted testing, with asus router, just adding a portion of the url gets it blocked.
so use “edgesuite.net” in you asus-merlin router.
I also tried “google” and it blocked google.com
Yeah but doesn’t work on ALL routers or more specifically ALL firmware versions, you should specify what you used so people won’t be confused when it doesn’t work for them
Anyone have luck blocking OTA updates on v5.2.6.7?
This is what I did, on my router I ssh into it and added these lines to host file:
127.0.0.1 d1s31zyz7dcc2d.cloudfront.net
127.0.0.1 amzdigital-a.akamaihd.net
127.0.0.1 amzdigitaldownloads.edgesuite.net
127.0.0.1 softwareupdates.amazon.com
127.0.0.1 updates.amazon.com
the host file is located on /jffs/configs/hosts.add
create file if doesn’t exist then restart the services with this command:
service restart_dnsmasq
I have a RT-N66U Asus router running asuswrt-merlin firmware, is not as easy as some of the methods listed but with a simple google search on how to SSH and adding those lines to a file using command line, is working
let me tell all of you idiots something. that fire tv stick breaks into all the computers hooked up to the router. and can install anything it wants on any pc in your home especially drivers anything attached to the isp through a url to your pc without consent. without no security popping up at all. unless you physically search for it. at anytime. even ethernet only are vulnerable .. now think key loggers. it bypasses your isp and whatever o.s. you use. never flagged or permission request.
Bite me, idiot.
If you have a Ubiquiti Unifi setup and want to do this, go to settings and search for “Traffic Management”. Under “Rules” click on “Create New Rule”. Within the Create New Rule page select Action of “Block” and Category of “Domain Name”. Under Domain Name, click on Batch Add and then add:
d1s31zyz7dcc2d.cloudfront.net:80,443-445
amzdigital-a.akamaihd.net:80,443-445
amzdigitaldownloads.edgesuite.net:80,443-445
softwareupdates.amazon.com:80,443-445
updates.amazon.com:80,443-445
Next, for Target you can either set it to “All Devices” or just your specific device you would like to block. Finally enter a Description and click on “Add Rule”.
Security exception: Neither user 2000 nor current process has android.permission.MANAGE_USERS.
java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS.
at android.app.ContextImpl.enforce(ContextImpl.java:1861)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1889)
at com.android.server.pm.PackageManagerService.setApplicationHiddenSettingAsUser(PackageManagerService.java:14100)
at com.android.server.pm.PackageManagerShellCommand.runSetHiddenSetting(PackageManagerShellCommand.java:1644)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:216)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21668)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2796)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3975)
at android.os.Binder.execTransact(Binder.java:731)