[How-To] Block OTA Updates Without Root (or a router) on Fire OS 5 - Fire TV General

With the new Fire OS 5 update we can use the Debloater tool to disable APKs/services responsible for automatic updating. This was not previously possibly due to Fire OS 3 being built on Android 4.2.2 and the Debloater process needing Android 4.4.x+. No more worrying if your router is blocking everything properly. And of course... no root needed!
Disable Update w/o Root Steps:
1. Enable USB Debugging on your Fire TV (or TV Stick) (how-to here)
2. Setup adbFire on your computer and establish a connection to your Fire TV[Stick] (how-to here)
3. Setup Debloater tool (how-to here)
4A. In the Debloater tool, check off the APK below then hit the "Apply" button:
DeviceSoftwareOTA.apk (com.amazon.device.software.ota)
4B. Instead of using Debloater Tool you can just send the following ADB command:
Code:
adb shell pm hide com.amazon.device.software.ota
Unlike the pm disable command, hide disables the apk without root.
Click to expand...
Click to collapse
After hiding the apk your Amazon Fire TV or Fire TV Stick will no longer get OTA updates.
If you go into Settings > System > About you can no longer check for updates... yay.
To undo the block you can simply "unhide" each apk using the Debloater tool or run:
Code:
adb shell pm unhide com.amazon.device.software.ota
Click to expand...
Click to collapse
Be careful if you try to disable other system apps. If you disable something important and the device won't start up.. you'll have to perform a factory reset to fix the issue (not sure if possible with stick?). Have more apks to disable to reduce unneeded system processes? please share.
TL;DR
You gotta update to Fire OS 5.x in order to block updates without root (or router).
I know this defeats the purpose of blocking updates since you want to stay on old fw/sw... but science!
This may not work on all future Fire OS 5.x+ builds. Tested on FireTV Stick with Early Developer 5.0.3 build.

Thank you for this info.

Can anybody confirm this is working ? I have not received my AFTV2 yet.

Does this survive reboot?

Received my Firetv 2 and I can confirm it works, it even survives a reboot. To me this is the best method of blocking the Amazon updates.
Thanks mister LakituLives for writing this up

Does this work on the Firetv 1? Or only on the 4K fire TV. When I try to run debloater on the firetv 1 it keep saying unsupported. Thanks.

I assume you´re not running Fire OS 5 on the aTV 1. With Fire OS 3 this can´t be done this way.

slybas said:
Received my Firetv 2 and I can confirm it works, it even survives a reboot. To me this is the best method of blocking the Amazon updates.
Thanks mister LakituLives for writing this up
Click to expand...
Click to collapse
Can you run "pm list packages -d" from adb shell and paste the output? Does it do what @LakituLives describes which is give an error or otherwise not function as normal when you check for updates on the AFTV2?

I have done this and when i check for updates i get an error, don't know if it is working correctly.

zeroepoch said:
Can you run "pm list packages -d" from adb shell and paste the output? Does it do what @LakituLives describes which is give an error or otherwise not function as normal when you check for updates on the AFTV2?
Click to expand...
Click to collapse
Glad to help. The pm list packages -d (disabled packages) is empty because debloater hides the packages and not disables them.
Code:
[email protected]:/ $ pm list packages -d
pm list packages -d
[email protected]:/ $
There is nothing to see.
Code:
1|[email protected]:/ $ pm list packages | grep dcp
pm list packages | grep dcp
1|[email protected]:/ $ pm list packages | grep pico
pm list packages | grep pico
package:com.svox.pico
[email protected]:/ $
My version is now 5.0.3.1 because I unhid the packages and updated the machine, now the packages are hidden again and System --> About --> "installed Date" and "Last Checked" are both "Checking now......" and if I select Check for System Update I get an Update error. Perfect !

slybas said:
My version is now 5.0.3.1 because I unhide the packages and updated the machine, now the packages are hidden again and System --> About --> "installed Date" and "Last Checked" are both "Checking now......" and if I select Check for System Update I get an Update error. Perfect !
Click to expand...
Click to collapse
I get the same error now as well after running (as root):
Code:
pm disable com.amazon.device.software.ota
No idea if this actually blocks updates or just the checking. I guess we'll have to wait until the next update.

LakituLives said:
With the new Fire OS 5 update we can use the Debloater tool to disable APKs/services responsible for automatic updating. This was not previously possibly due to Fire OS 3 being built on Android 4.2.2 and the Debloater process needing Android 4.4.x+. No more worrying if your router is blocking everything properly. And of course... no root needed!
After hitting apply the Debloater tool should take a moment then show all apks "hidden" and your Amazon Fire TV or Fire TV Stick will no longer get OTA updates.
If you go into Settings > System > About you can no longer check for updates... yay.
You can simply "unhide" each apk using the Debloater tool if you should ever want to reverse this process.
Be careful if you try to disable other system apps. If you disable something important and the device won't start up.. you'll have to perform a factory reset to fix the issue (not sure if possible with stick?). Have more apks to disable to reduce unneeded system processes? please share.
TL;DR
You gotta update to block updates (without router or root).
I know this defeats the purpose of blocking updates since you want to stay on old fw/sw... but science!
And yes, Fire OS 5 makes the possibility of root even harder now that selinux is enabled.
Click to expand...
Click to collapse
Hi my firestick is running version 54.1.2.3_user_123067020 and it says it is not rooted and does not support block mode I have the latest version of deblocker and adbfire . windows 10

mifran said:
Hi my firestick is running version 54.1.2.3_user_123067020 and it says it is not rooted and does not support block mode I have the latest version of deblocker and adbfire . windows 10
Click to expand...
Click to collapse
You haven't updated to FireOS 5 which is required to use this.

Hmm, so fire tv stick didn't seem to get any root love other than soldering and man that stick is tiny for soldering. I'm debating if I want to let an update to latest then block. Anyone have any thoughts on if fire TV stick will ever get a software root?

Ludacrisvp said:
You haven't updated to FireOS 5 which is required to use this.
Click to expand...
Click to collapse
OK thanks I realised this now would updating to 5 mean re-installing kodi and firestarter and losing all the addons

Just chucked and there is no update for the UK version I have the latest installed
Sent from my Blade S6 using Tapatalk

mifran said:
OK thanks I realised this now would updating to 5 mean re-installing kodi and firestarter and losing all the addons
Click to expand...
Click to collapse
I didn't lose anything in my update from FireOS 3. If you revert from 5 to 3 then you have to lose everything.
mifran said:
Just chucked and there is no update for the UK version I have the latest installed
Click to expand...
Click to collapse
You have to opt-in for FireOS 5 from the Amazon developer account (free).

Thanks for the info will check it out
Sent from my Blade S6 using Tapatalk

I don't know if adbFire is connected, last night I was able to install FireStarter. This morning, I don't know if adbFire is connecting and Debloater isn't showing anything, or do I need to use USB to USB to do this?

Does this work on the Fire Stick? Also, what's the benefit of this method? I can't think of a reason to do this, unless you had a Fire TV on the old OS and hadn't a chance to root it yet?

Related

Update Awareness Thread

Just reply when you know the update is being sent in OTA so JCase can release root.
So if anyone intends on getting the update and not rooting,give us a heads up when you receive the update.
retroben said:
Just reply when you know the update is being sent in OTA so JCase can release root.
So if anyone intends on getting the update and not rooting,give us a heads up when you receive the update.
Click to expand...
Click to collapse
Root already released by GeoHot via towelroot.com
Thanks for using this thread.
I could have also said to reply if any form of root becomes available to Fire TV before the OTA update.
I am already rooted,and have already fixed up my hosts file for blocking the OTA links using a hosts editor app from google play..
I would imagine an update must be coming soon now that a root exploit has been made public. Better make sure you're DNS settings are solid and best to root and block updates sooner rather than later.
For those who have rooted, you can run this command in adb shell to completely disable the updater:
pm disable com.amazon.dcp
You can verify in the system -> about it says "Checking now" for "Last Checked" on the update.
I just did that,and it said killed.
I still see the last date it was checked.
When should I see "checking in "last checked" option?
So in the terminal app I use to sideload other apps on my Fire TV I type:
adb shell pm disable com.amazon.dcp
Is that right?
I would try just
adb shell
and then at the prompt type
pm disable com.amazon.dcp
You might need to reboot to get the menu to change.
rbox said:
I would try just
adb shell
and then at the prompt type
pm disable com.amazon.dcp
You might need to reboot to get the menu to change.
Click to expand...
Click to collapse
Does killing the updater survive a hard reboot, for example after a power cut?
If not, how could I set the command to run at boot ?
Thanks for all the work on this great device so far :good:
can't u just rename the updater apk to something else? btw what is the name of the apk?
Yes the pm disable is permanent.
Yes you can rename the apk, but why rename the apk when the pm disable is infinitly easier? The apk is /system/app/com.amazon.dcp.apk
I am using js terminal on my android tablet to sideload everything. How can I execute this command this way?
I tried adb shell but got an error. Thanks!
Nevermind, I found some directions for that!!!
rbox said:
I would try just
adb shell
and then at the prompt type
pm disable com.amazon.dcp
You might need to reboot to get the menu to change.
Click to expand...
Click to collapse
I plan to disable updates per the above instructions, but are these commands reversible as well? If Amazon releases an update that brings additional functionality down the road, I may reconsider my decision to update (and potentially re-root with another method).
vyktym said:
I plan to disable updates per the above instructions, but are these commands reversible as well? If Amazon releases an update that brings additional functionality down the road, I may reconsider my decision to update (and potentially re-root with another method).
Click to expand...
Click to collapse
pm enable com.amazon.dcp will, well, enable it again.
JPDeckers said:
pm enable com.amazon.dcp will, well, enable it again.
Click to expand...
Click to collapse
Thanks!!
JPDeckers said:
pm enable com.amazon.dcp will, well, enable it again.
Click to expand...
Click to collapse
This made me laugh :good:
Blocking URL's
Not ready to root until ClockWorksMod Recovery is available but want to be able to root when this is true.
http://forum.xda-developers.com/showthread.php?t=2760884
Found this thread about blocking URL's. Seems like this is what is needed if we don't root until more options and tools are available for rooted FTV..
I am using Linksys E4200 and using Access Restriction > Parental Controls option. Pasted the plain text copies of URLS's which were transferred to router version below. Since URL 1's translation was too long I had to manually paste cut off ".net" in URL 1. Set access to always.Target Devices > Restrict Internet Access need to add FTV device.
Block Specific Sites
amzdigitaldownloads.edges.net ****Edit: this should be **** amzdigitaldownloads.edgesuite.net ****
firs-ta-g7g.amazon.com
Schedule Block Internet Access
Always
Target Devices Restrict Internet Access
android-c770a088dec6570f
android-f28e25ac80891726
Android_A10000138BBBB8
Two questions. Not sure what FTV is listed as. Other devices showed up with name so I know not to add them. Guessed the three "android" names above that one was FTV. Does anyone know if this is correct and if correct which one is my FTV? If not correct what is is called?
For Block Specific Sites is the first URL necessary and does blocking it cause problems with some of the current FTV apps?
You are missing part of the digital downloads site.
It should be "edgesuite" not edges.
The amzdigitaldownloads link can cause services to fail,but services do not fail when only blocking the "firs-ta-g7g" page.
Even the PolarisGo app fails to work,but the website works fine.
retroben said:
You are missing part of the digital downloads site.
It should be "edgesuite" not edges.
The amzdigitaldownloads link can cause services to fail,but services do not fail when only blocking the "firs-ta-g7g" page.
Even the PolarisGo app fails to work,but the website works fine.
Click to expand...
Click to collapse
I switched to only blocking firs-ta-g7g.amazon.com. This should be ok, right? What people at thread were blocking.
Used my router to find FireTV was 192.168.1.126. Checked Status > Local Network > DHCP Client Table
Saw that android-f28e25ac80891726 was mapped to 192.168.1.126 which FireTV said it was using. Deleted other entries.
I just bought a fire TV from best buy for my dad I'm about to set it up for the first time then root has an update that kills root came out yet or am I good to go?
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
bradr00lzd00d1 said:
I just bought a fire TV from best buy for my dad I'm about to set it up for the first time then root has an update that kills root came out yet or am I good to go?
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I just bought a FTV last night from best buy as well. I booted it up and updated it prior to rooting it. Not sure if next week's update will patch this rooting method, but I do not want to make that mistake again. I updated my chromecast when they first came out like an idiot... and can't ever root those

[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]?

Disable OTA on the 2nd Gen Fire TV stick :

Update: It's been reported that the method works on FireOS up to and including 5.2.6.0, but does not work on 5.2.6.1
To catch a break, and avoid force fed OTA updates, run these commands from your ADB:
Code:
adb.exe uninstall -k --user 0 com.amazon.device.software.ota
adb.exe uninstall -k --user 0 com.amazon.device.software.ota.override
This will disable the OTA apps till the next factory reset. In case there is ever root, your system will be old enough to be rootable.
Once you do this, and go check for system updates, it'll generate a message "System update failed".
More details can be found in this thread.
this was patched on the tablets and if not already will likely be patched on the sticks soon as well.
krsmit0 said:
this was patched on the tablets and if not already will likely be patched on the sticks soon as well.
Click to expand...
Click to collapse
Sure, nothing lasts forever ... But even more reason to do this NOW !!!
At the moment, I have this version : Fire OS 5.2.4.1, ro.build.date=Fri Jun 9 23:01:51 UTC 2017, so not patched yet.
@bibikalka is there a way to reinstall an uninstalled APK for user 0 ?
rainman74 said:
@bibikalka is there a way to reinstall an uninstalled APK for user 0 ?
Click to expand...
Click to collapse
I don't know an easy one
But you can always do a factory reset! These operations don't actually delete anything, just flag it as unusable.
This should allow debloating the Fire TV sticks. Does anyone have a list with apps that you can safely remove? Maybe even replacing the stock launcher is possible. Although on the Fire HD 10 5th generation removing the stock launcher breaks the home button detection.
MWin123 said:
This should allow debloating the Fire TV sticks. Does anyone have a list with apps that you can safely remove? Maybe even replacing the stock launcher is possible. Although on the Fire HD 10 5th generation removing the stock launcher breaks the home button detection.
Click to expand...
Click to collapse
Yes, you can completely replace Fire Stick Launcher without root! But first ensure, that all settings are made, because you can not access certain settings anymore (again only after a factory reset).
And you must install another launcher first, e.g. AppStarter (https://github.com/sphinx02/AppStarter/releases)
1. Uninstall:
adb uninstall -k --user 0 com.amazon.device.software.ota
adb uninstall -k --user 0 com.amazon.device.software.ota.override
adb uninstall -k --user 0 com.amazon.tv.nimh
adb uninstall -k --user 0 com.amazon.tv.launcher
2. Access settings then via ADB without com.amazon.tv.launcher (Fire Stick "tank" on 5.2.4.1):
Controller:
Code:
adb shell am start -n com.amazon.tv.settings/.tv.controllers_bluetooth_devices.ControllersAndBluetoothActivity
App-Menu:
Code:
adb shell am start -n com.amazon.tv.settings/.tv.applications.ApplicationsActivity
Network:
Code:
adb shell am start -n com.amazon.tv.settings/.tv.network.NetworkActivity
Factory Reset:
Code:
adb shell am start -n com.amazon.tv.settings/.tv.FactoryResetActivity
rainman74 said:
But first ensure, that all settings are made, because you can not access certain settings anymore (again only after a factory reset).
Click to expand...
Click to collapse
Thanks! Do you know what settings are affected?
I can recommend Activity Launcher to open settings, it also allows you to open some hidden settings. See NO ROOT: Use 'Activity Launcher' to remove accounts, grant/revoke usage access.
MWin123 said:
Thanks! Do you know what settings are affected?
Click to expand...
Click to collapse
yes, because of we can't grant com.amazon.tv.permission.LAUNCHER_SETTINGS to com.amazon.tv.settings (adb -d shell pm grant com.amazon.tv.settings com.amazon.tv.permission.LAUNCHER_SETTINGS), you can't access the following settings anymore:
Account (but you'll in no way ever change your Amazon Account)
Display & Sound (so set each setting there to "automatic" before you uninstall com.amazon.tv.launcher)
Info/About (you'll not need that anyway)
Childlock (no need for that anyway, because you will not have Amazon Launcher)
Debug/ADB (so set ADB/USB to "yes" before you uninstall com.amazon.tv.launcher and you'll be fine)
MWin123 said:
I can recommend Activity Launcher to open settings, it also allows you to open some hidden settings. See NO ROOT: Use 'Activity Launcher' to remove accounts, grant/revoke usage access.
Click to expand...
Click to collapse
Thanks, I'll try that...
After installing modified "Android TV Settings" (https://forum.xda-developers.com/attachment.php?attachmentid=4255667&d=1503965469) with regular "adb install" you can access the following settings again if amazon.tv.launcher is disabled or uninstalled (non-root):
Sound (system sounds only)
Code:
com.android.tv.settings.device.sound.SoundActivity
Info/About
Code:
com.android.tv.settings.about.AboutActivity
Debug/ADB
Code:
com.android.tv.settings.system.DeveloperOptionsActivity
CEC/HDMI Control
Code:
com.android.tv.settings.system.InputsActivity
Bluetooth/Pairing
Code:
com.android.tv.settings.accessories.AddAccessoryActivity
Date/Time
Code:
com.android.tv.settings.system.DateTimeActivity
Device Name
Code:
com.android.tv.settings.name.DeviceNameSettingsActivity
Language
Code:
com.android.tv.settings.system.LanguageActivity
Do the ADB commands in post 1 work on the 2nd gen Amazon Fire TV please? (not the stick).
I have just acquired one which is non rooted and loaded with software v5.2.4.2 which I understand that I am unable to root.
Any advice greatly appreciated.
meohmy said:
Do the ADB commands in post 1 work on the 2nd gen Amazon Fire TV please? (not the stick).
I have just acquired one which is non rooted and loaded with software v5.2.4.2 which I understand that I am unable to root.
Any advice greatly appreciated.
Click to expand...
Click to collapse
Yes they do, I just tried it on mine and it worked flawlessly. Good luck!
Thanks for the prompt reply, I will have a go as soon as the wife goes out.
apologiez for hijacking your thread, these infors are very appreciated.
i 'accidently' uninstalled "com.amazon.tv.settings", any idea how i can force a factory reset? Installing the modfied "Android TV Settings" didnt help.
TV33 said:
apologiez for hijacking your thread, these infors are very appreciated.
i 'accidently' uninstalled "com.amazon.tv.settings", any idea how i can force a factory reset? Installing the modfied "Android TV Settings" didnt help.
Click to expand...
Click to collapse
this is probably not possible anymore then!
But you can try this method: http://www.aftvnews.com/how-to-unbrick-by-entering-recovery-mode-and-factory-reset-the-amazon-fire-tv/
Worked first time so thanks for all the info, now to get a vpn so I can start using it.
Hi, I need help
I have a Fire TV Stick2 (Tank), after trying Post #7 I have no choice to change the WIFI account.
Post #10 doesn't work.
Any Idea? Post #15 seems not possible for "tank"
Any advice greatly appreciated.
remoter3406 said:
Hi, I need help
I have a Fire TV Stick2 (Tank), after trying Post #7 I have no choice to change the WIFI account.
Click to expand...
Click to collapse
You will have access to wifi on Fire TV Stick2 ("tank") with this cmd as stated in post #7:
Code:
adb shell am start -n com.amazon.tv.settings/.tv.network.NetworkActivity
Post #10 doesn't work.
Click to expand...
Click to collapse
Did yo install the modified "Android TV Settings" first. The command definitely works then!
Any Idea? Post #15 seems not possible for "tank"
Any advice greatly appreciated.
Click to expand...
Click to collapse
It's possible with an Micro USB OTA adapter: https://www.amazon.de/gp/product/B00N2LSLKA/ref=oh_aui_search_detailpage?ie=UTF8&psc=1
You will have access to wifi on Fire TV Stick2 ("tank") with this cmd as stated in post #7:
Code:
adb shell am start -n com.amazon.tv.settings/.tv.network.NetworkActivity
Click to expand...
Click to collapse
First, sorry for my english. I mean WIFI is working with my WIFI repeater, but I want change it to my main WIFI router. How?
Did yo install the modified "Android TV Settings" first. The command definitely works then!
Click to expand...
Click to collapse
Yes, I installed the "apk" and it apears on TV, but no reaction. Is a adb command needed for activating?
It's possible with an Micro USB OTA adapter:
Click to expand...
Click to collapse
OK, this is the last try if I coudn't change the WIFI
Many Thanks for your quick response
remoter3406 said:
First, sorry for my english. I mean WIFI is working with my WIFI repeater, but I want change it to my main WIFI router. How?
Click to expand...
Click to collapse
I will show you a screenshot of that later this evening...
Yes, I installed the "apk" and it apears on TV, but no reaction. Is a adb command needed for activating?
Click to expand...
Click to collapse
You can't click the icon, you must access the settings of it via adb or the app "Activity Lauchner" mentioned in this thread:
Code:
adb shell am start -n com.android.tv.settings.about.AboutActivity
adb shell am start -n com.android.tv.settings.accessories.AddAccessoryActivity
adb shell am start -n com.android.tv.settings.device.sound.SoundActivity
adb shell am start -n com.android.tv.settings.name.DeviceNameSettingsActivity
adb shell am start -n com.android.tv.settings.system.DateTimeActivity
adb shell am start -n com.android.tv.settings.system.DeveloperOptionsActivity
adb shell am start -n com.android.tv.settings.system.InputsActivity
adb shell am start -n com.android.tv.settings.system.LanguageActivity

[Release] OneClick Script for Amazon Fire v5.3.2.1...v5.4.0.0 (Fire 7 / 7th gen)

Based on @savvytechwinner's work, on Wicki's work (Mod Edit - NO links to competing Forums) and on some experimentation of my own, I put together a new script to further ease the setup of an out-of-the-package Amazon Fire 7 / 7th gen and to clean up more throughly. This is a derivative / remix / improvement rather than something new. Thanks go to all the people this work is based on.
I already announced this in savvytechwinner's thread, but I figured setting up it's own thread is warranted.
What it does:
OTA Updates are blocked
Lockscreen ads are removed
Functional Google Play Store and Google Go search are installed
Bloatware is removed from the tablet
Functional Nova Launcher, Adblocker (DNS66) and light Youtube Client (NewPipe) are installed
Out-of-the-package instructions:
Have adb and Amazon Fire USB drivers installed on your PC.
Power on your Fire tablet, do the initial setup. DO NOT CONNECT TO WIFI. Instead, select any password protected wifi, then cancel, and initial setup will let you continue without internet.
Enter Settings -> Device options -> click Serial 7 times. A new menu entrypoint called Developer options will pop up.
In Developer options, enable ADB, then connect your tablet to your computer. Confirm the fingerprint. If that didn't work, look here for troubleshooting.
Now, extract the contents of this package somewhere on your computer and double click FireOneClick.bat.
You can watch how Amazon's apps vanish, but it is recommended not to do anything else with your tablet while the script does its work.
After it's finished, enter Settings -> Accessibility -> "enable To detect home button press". Then, open the LauncherHijack app and select Nova Launcher.
Open the DNS66 app and start it. This will run in background (at low memory consumption) and block ads.
Download the One Click Script from here.
Full readme, including credits and more info is found in my GitHub repo.
Just a heads up, I used this script on a fire 7 I had literally just opened, and it was successful in loading GApps and Blocking ads, but it did not debloat the amazon apps and it also did not block OTA updates...I woke up to a fire 7 that auto updated to 5.6.0. I'm not complaining here, since Nova Launcher is still installed and ads are nonexistent, just letting you know!
hiphopsded said:
Just a heads up, I used this script on a fire 7 I had literally just opened, and it was successful in loading GApps and Blocking ads, but it did not debloat the amazon apps and it also did not block OTA updates...I woke up to a fire 7 that auto updated to 5.6.0. I'm not complaining here, since Nova Launcher is still installed and ads are nonexistent, just letting you know!
Click to expand...
Click to collapse
Dammit... what version did you start on? Assuming it was 5.4.0.1?
Hi my 7" is on 5.4.0.
Does this just block the download or the update itself? Because I accidentally downloaded the OTA update but the tablet doesn't updated jet.
Is there a way to delete the update without root?
VottelTheTroll said:
Hi my 7" is on 5.4.0.
Does this just block the download or the update itself? Because I accidentally downloaded the OTA update but the tablet doesn't updated jet.
Is there a way to delete the update without root?
Click to expand...
Click to collapse
It blocks the update itself by disabling all apps that would apply it. I still recommend turning Wifi off and doing a factory reset, so the update data is gone for sure.
Blocking the update / debloating most likely did not work for @hiphopsded cause he started from 5.4.0.1. Blocking updates / removing ads / debloating is onlypossible on v5.4.0.0 and below. I am somewhat surprised he doesn't have ads on the lockscreen, but I think that is due to the DNS66 adblocker doing it's work properly.
EDIT: @hiphopsded - maybe there is still hope, but you'll have to do the research yourself.
https://forum.xda-developers.com/showpost.php?p=75167286&postcount=437
@k8500 I was on v5.4.0.0
I opened it brand new from sealed packaging, canceled connecting to a WiFi I did not have the password to, and was brought into the device home screen without ever connecting to WiFi to verify that I was on v5.4.0.0 and proceeded with installing the one click script.
Everything worked except debloating the tablet and OTA Updates being blocked. Not sure what went wrong. But having the launcher, google apps, and no ads is fine enough.
Another confirmation of this working on 5.4.0.0
Just received an Amazon Fire 7 - 7th gen. It ships with 5.4.0.1
I was able to downgrade from 5.4.0.1 to 5.4.0.0, then use this batch file to clean up the tablet.
Thanks!
already (well) used 7gen currently on 5.6.0.1
any idea when this will be updated to work on 5.6.0.1?
and next question does it actually root the tablet?
thanks in advance
markbnj said:
any idea when this will be updated to work on 5.6.0.1?
and next question does it actually root the tablet?
thanks in advance
Click to expand...
Click to collapse
Does not root and will not be updated for 5.6.x.x as Amazon disabled the underlying commands that perform the magic.
5.6.x.x update question
Davey126 said:
Does not root and will not be updated for 5.6.x.x as Amazon disabled the underlying commands that perform the magic.
Click to expand...
Click to collapse
ok. So, bottom line, I can either wipe the unit, and start over; or
try and root the fire tablet to get rid of ads, and install other stuff...)
any other ideas?
I've rooted lots of android, and would actually prefer a more android, rather then amazon centric tablet....
thanks in advance...
markbnj said:
ok. So, bottom line, I can either wipe the unit, and start over; or
try and root the fire tablet to get rid of ads, and install other stuff...)
any other ideas?
I've rooted lots of android, and would actually prefer a more android, rather then amazon centric tablet....
thanks in advance...
Click to expand...
Click to collapse
Can't root 7th gen Fire at present. Period. Can't load a different ROM w/o root. Try sketchy rollback/debloat techniques at your own peril. Contact Amazon to dump annoying lock screen ads. Install a VPN based firewall like AdGuard to dispense with in-app advertising. Possibly install a different launcher using non-root techniques. Pretty much it.
Maybe I'm a little late in opening this thread up again, but let me ask this:
I just got a Kindle 7 (7th generation) in the mail, to replace our son's old one (5th generation, though unfortunately never rooted) that started messing up (so presumably the new one is refurbished). We don't like all the amazon bloat, etc., and would prefer the different launcher or anything more android-like we can get. I would love to block the OTA updates. So your tool sounds great.
I opened it and turned it on but haven't set up the device yet. I see it's version 5.3.3.0 Does this one click script of yours work on the 5.3.3.0 ? Are there any other suggestions on the best way to use my new device (taking out amazon bloat and more like google) considering it's *not* the newest OS that Amazon makes? I.e. are there any options I have available to me currently that I want to be sure I don't lose out on by accidentally updating or something? Thanks for any help you can provide!
madagascaradam said:
Maybe I'm a little late in opening this thread up again, but let me ask this:
I just got a Kindle 7 (7th generation) in the mail, to replace our son's old one (5th generation, though unfortunately never rooted) that started messing up (so presumably the new one is refurbished). We don't like all the amazon bloat, etc., and would prefer the different launcher or anything more android-like we can get. I would love to block the OTA updates. So your tool sounds great.
I opened it and turned it on but haven't set up the device yet. I see it's version 5.3.3.0 Does this one click script of yours work on the 5.3.3.0 ? Are there any other suggestions on the best way to use my new device (taking out amazon bloat and more like google) considering it's *not* the newest OS that Amazon makes? I.e. are there any options I have available to me currently that I want to be sure I don't lose out on by accidentally updating or something? Thanks for any help you can provide!
Click to expand...
Click to collapse
Yes, it works with fire OS 5.3.3.0
Rortiz2 said:
Yes, it works with fire OS 5.3.3.0
Click to expand...
Click to collapse
Thanks for letting me know, but maybe I'm doing something wrong because I can't get it to work at all. To start with, I had already opened my fire tablet but skipped setup (also skipped signing into wifi because I knew that could give me an auto-update). So maybe that's what screwed it up? Maybe I should reset to factory and try again?
I had installed the fire drivers too but my fire never showed up in "portable devices" in device manager (in fact, I never saw such a category - but it did show up in devices as "MTP device").
The adb worked fine as I was able to get it to "show devices". However, the one-click never did anything. Usually I use powershell, but then I tried running through normal command prompt, but still no luck. I tried putting it in my adb fastboot folder (is that my problem? does it need the full adb and adb fastboot isn't enough?) and it still didn't work. So, maybe my first step was the problem or maybe a subsequent one, I don't know, but I couldn't get any of it to work.
uninstall apps
cannot uninstall applications , i downgrade to 5.4.0 but applications are only hiding , they are still in the system .
PROOF : you can check your free space before and after uninstalling, you will gain nothing important.
but for removing ads or blocking update , its working for 5.4.0 !!!
---------- Post added at 12:19 AM ---------- Previous post was at 12:17 AM ----------
avatarma said:
cannot uninstall applications , i downgrade to 5.4.0 but applications are only hiding , they are still in the system .
PROOF : you can check your free space before and after uninstalling, you will gain nothing important.
but for removing ads or blocking update , its working for 5.4.0 !!!
Click to expand...
Click to collapse
but for rooted devices we can uninstall applications with root uninstaller pro or similare application.

[GUIDE][NO ROOT][STICK 2] Playing With Matches v1

I thought I'd share my relatively less dangerous methods to turn a Fire TV Stick 2 into an Android TV clone.
First up follow my GApps/Google Services installation guide. This will provide the necessary backbone to install every other application.
You can either install Backdrop as below or ignore those instructions and use my newly ported Android TV settings app to select your screensaver! (no root required!).
Get it here: https://github.com/rockon999/TvSettingsOnFire/releases
Note this settings app requires addition permissions that must be granted via adb. They are listed on the releases page.
First let's install Backdrop (this provides a chromecast-like screen saver for your Fire TV).
Here is the APK link.
adb connect [IP of FTV]
adb install [APK PATH]
adb shell
settings put secure screensaver_components com.google.android.backdrop/.Backdrop
Now you have the Android TV screensaver! Look here for how to configure the timing of the screensaver/sleep.
Now let's install the Leanback launcher. Unfortunately the only Leanback launcher that will load on the Fire TV (without root) is one circa ~2015 and it is *buggy*. To aid this guide (and my sanity) I've taken the decompiled sources of LeanbackLauncher, stripped them of Google services, added features, improved stability, and added Fire TV specific features. You can find that here.
Now let's install Google's TV search app. I've found a working 2.x series version that is better looking, more stable, and much faster. You can get the APK here. Unfortunately the latest version is incompatible but an older version works surprisingly well. I've found version 1.0.6.2108324 to be the most stable. You can download the APK here.
UPDATE: I've figured out how to get Google's voice search working! (this only works w/ voice remotes not apps)
Running this command will disable global Alexa and allow Google to work (if you're on an old enough firmware): adb uninstall -k --user 0 com.amazon.vizzini
And there you go! Your Fire TV Stick is an almost-Android TV stick.
Stay tuned because this guide and Leanback on Fire is being continuously updated!
Very good work!
Thank you, this is what I've been looking for.
rockon999 said:
I thought I'd share my relatively less dangerous methods to turn a Fire TV Stick 2 into an Android TV clone.
Click to expand...
Click to collapse
Could you also include that activities in your launcher-mod ?
Code:
com.amazon.tv.settings/.tv.applications.ApplicationsActivity
And for a rooted version of your launcher (just as an idea):
Code:
com.android.tv.settings/.MainSettings
For com.android.tv.settings/.MainSettings you need to simply install TvSettings.apk with root and you will get almost all functions of the standard Android TV settings menu!
Code:
adb push TvSettings.apk /sdcard/
adb shell su -c mkdir /system/priv-app/TvSettings
adb shell su -c chmod 755 /system/priv-app/TvSettings
adb shell su -c cp /sdcard/TvSettings.apk /system/priv-app/TvSettings/TvSettings.apk
adb shell su -c chmod 644 /system/priv-app/TvSettings/TvSettings.apk
adb shell su -c chown root:root /system/priv-app/TvSettings/TvSettings.apk
adb shell su -c rm /sdcard/TvSettings.apk
rainman74 said:
Could you also include that activities in your launcher-mod ?
Code:
com.amazon.tv.settings/.tv.applications.ApplicationsActivity
And for a rooted version of your launcher (just as an idea):
Code:
com.android.tv.settings/.MainSettings
For com.android.tv.settings/.MainSettings you need to simply install TvSettings.apk with root and you will get almost all functions of the standard Android TV settings menu!
Code:
adb push TvSettings.apk /sdcard/
adb shell su -c mkdir /system/priv-app/TvSettings
adb shell su -c chmod 755 /system/priv-app/TvSettings
adb shell su -c cp /sdcard/TvSettings.apk /system/priv-app/TvSettings/TvSettings.apk
adb shell su -c chmod 644 /system/priv-app/TvSettings/TvSettings.apk
adb shell su -c chown root:root /system/priv-app/TvSettings/TvSettings.apk
adb shell su -c rm /sdcard/TvSettings.apk
Click to expand...
Click to collapse
For the first suggestion app settings are accessible by pressing menu while on a specific application and selecting "App Settings". I think that's what you're after, but if not correct me. The issue with launching the settings activity itself is that it will crash (at least on my FTV Stick 2). I have solved crashes before, though, so I'll look into it. As for your second suggestion I can simply look into re-adding the default ATV settings code (which should interface with this app well). Unfortunately, I'll have no way to test this (I only have an un-rootable FTV sticks) so it may take longer.
rockon999 said:
For the first suggestion app settings are accessible by pressing menu while on a specific application and selecting "App Settings". I think that's what you're after, but if not correct me. The issue with launching the settings activity itself is that it will crash (at least on my FTV Stick 2). I have solved crashes before, though, so I'll look into it.
Click to expand...
Click to collapse
No, I actually meant the global app menu. With me this doesn't crash when I start it directly via adb, but via Confireator I get a crash.
So it works without crash:
adb shell at the start -n com. amazon. tv. settings/. tv. applications. ApplicationsActivity
As for your second suggestion I can simply look into re-adding the default ATV settings code (which should interface with this app well). Unfortunately, I'll have no way to test this (I only have an un-rootable FTV sticks) so it may take longer.
Click to expand...
Click to collapse
That would be great!
I tried the microphone. I held the microphone button on my remote and talked. it worked. I don't think you intended it to work at all. So you should probably update about that. And it feels good to have leanback. Also is the recommendations thing impossible?
Pix12 said:
I tried the microphone. I held the microphone button on my remote and talked. it worked. I don't think you intended it to work at all. So you should probably update about that. And it feels good to have leanback. Also is the recommendations thing impossible?
Click to expand...
Click to collapse
The normal leanback recommendations system will either 1) crash or 2) display recommendations w/o their images (neither of those things are particularly pleasant). Together they mean you end up with a bunch of giant grey blocks (that never update) on your screen. So, essentially, the best way forward (I think) is to attempt to completely rewrite the recommendations code from scratch so that it can function in the user space. There is maybe a 50/50 chance that it will actually work though as recommendations operate over the notifications system and with Amazon's notification systems and Google's recommendations setup on the same machine they don't like to get along.
Side note, I'm surprised the microphone worked as Amazon coded it to always go to Alexa. I have some questions
1) Have you debloated? If so, what?
2) Are you rooted?
3) Any special mods?
Thanks!
rockon999 said:
Side note, I'm surprised the microphone worked as Amazon coded it to always go to Alexa. I have some questions
1) Have you debloated? If so, what?
2) Are you rooted?
3) Any special mods?
Thanks!
Click to expand...
Click to collapse
I debloated the FireTV, it's not rooted and I used Launcher Hijacker 3 to use as home screen. It might've been me using the
Code:
adb shell pm grant com.google.android.katniss android.permission.RECORD_AUDIO
command for the Google app to allow the microphone.
Pix12 said:
I debloated the FireTV, it's not rooted and I used Launcher Hijacker 3 to use as home screen. It might've been me using the
Code:
adb shell pm grant com.google.android.katniss android.permission.RECORD_AUDIO
command for the Google app to allow the microphone.
Click to expand...
Click to collapse
I'm guessing it's because your debloat removed the package that forces Alexa. Similar to how removing the launcher allows other launchers to work without modification apps. I'll poke around and see if I can replicate/find the package.
rockon999 said:
I'm guessing it's because your debloat removed the package that forces Alexa. Similar to how removing the launcher allows other launchers to work without modification apps. I'll poke around and see if I can replicate/find the package.
Click to expand...
Click to collapse
Yeah, I removed really everything Amazon. It showed the launcher menu.
Pix12 said:
Yeah, I removed really everything Amazon. It showed the launcher menu.
Click to expand...
Click to collapse
which is the package that forces Alexa?
is a new version of LeanbackLauncher coming soon?
rainman74 said:
is a new version of LeanbackLauncher coming soon?
Click to expand...
Click to collapse
I'm completely rewriting a lot of the database storage code (there are a lot of broken/missing database calls) and am close to done. I'm just trying to fix the favorites row at this point but moving apps elsewhere is working. I've also re-added the code to link to the native android tv settings app and I also ported the native android tv settings app to Fire TV (without root required!). In addition, I've gotten the leanback keyboard fully working! I'd say a day or two and I'll update the guide
rockon999 said:
I'm completely rewriting a lot of the database storage code (there are a lot of broken/missing database calls) and am close to done. I'm just trying to fix the favorites row at this point but moving apps elsewhere is working. I've also re-added the code to link to the native android tv settings app and I also ported the native android tv settings app to Fire TV (without root required!). In addition, I've gotten the leanback keyboard fully working! I'd say a day or two and I'll update the guide
Click to expand...
Click to collapse
WOW! :good::good::good:
rockon999 said:
I'm completely rewriting a lot of the database storage code (there are a lot of broken/missing database calls) and am close to done. I'm just trying to fix the favorites row at this point but moving apps elsewhere is working. I've also re-added the code to link to the native android tv settings app and I also ported the native android tv settings app to Fire TV (without root required!). In addition, I've gotten the leanback keyboard fully working! I'd say a day or two and I'll update the guide
Click to expand...
Click to collapse
Awesome work!
rockon999 said:
I'm completely rewriting a lot of the database storage code (there are a lot of broken/missing database calls) and am close to done. I'm just trying to fix the favorites row at this point but moving apps elsewhere is working. I've also re-added the code to link to the native android tv settings app and I also ported the native android tv settings app to Fire TV (without root required!). In addition, I've gotten the leanback keyboard fully working! I'd say a day or two and I'll update the guide
Click to expand...
Click to collapse
Awesomeeeee!!!!!!!!!:laugh::laugh::laugh:
UPDATE: I've figured out how to get Google's voice search working! (this only works w/ voice remotes not apps)
Running this command will disable global Alexa and allow Google to work (if you're on an old enough firmware): adb uninstall -k --user 0 com.amazon.vizzini
rockon999 said:
UPDATE: I've figured out how to get Google's voice search working! (this only works w/ voice remotes not apps)
Running this command will disable global Alexa and allow Google to work (if you're on an old enough firmware): adb uninstall -k --user 0 com.amazon.vizzini
Click to expand...
Click to collapse
working perfectly with the newer apk from OP
ALPHA 2 OF LEANBACK IS OUT AND ATV SETTINGS APP PORTED
https://github.com/rockon999/Leanbac...leases/tag/0.2
NOTE: You must completely remove Alpha 1 (and clear its storage - instructions on the release page) as Alpha 1 had database storage bugs that make Alpha 2 inoperable.
The first alpha of my port of Android TV's settings app, TvSettingsOnFire, is also available (note the permission requirements)! https://github.com/rockon999/TvSettingsOnFire/releases
Also, if you've ever actually wanted to see what your were editing while you were typing Leanback Keyboard works perfectly in conjunction with my TvSettings port! You can grab it here.

Categories

Resources