yashsingh1/xdaforums huggingface dataset:
[Fire TV General] virtuacool:
Same over here! :(

Mine just turn off the television for 30 minutes, and when I turn it on the LM is gone.

The firestick is on permanent power (never turns off).

I think sleep mode can make LM disappear. :cautious:

Alguns aplicativos internos também podem, ou seja, algum aplicativo (lançador da Amazon?) Atualizar e restaurar o inicializador original.:incerto:

EDIT: I just noticed that the LM disappears after the firestick goes to sleep (I don't have any screensaver activated (pm disable com.amazon.ftv.screensaver), that is, it stays on until it goes to sleep (black screen).

Whenever I reactivate the firestick the LM no longer exists.
[Fire TV General] Finnzz:
Did you make sure RethinkDNS is active? I noticed that the newer version wouldn't auto-start on reboot.

It's already been extensively covered what is causing LM to be deleted

https://xdaforums.com/t/app-firetv-...er-without-root.4176349/page-80#post-88631971

Keeping the device from going to sleep might slow down how often LM is disabled, but it's not going to stop it.

EDIT: any edit to the LM APK breaks ADB shell function, sorry I should have tested it out first.
[Fire TV General] BigBrosMo:
Thanks for reply. Yes I made sure Rethink was active.

When I install the package you provided and try to run it it won't let me enable the Home button hook and reports that something else is using the ADB bridge. I've tried disabling and re-enabling ADB and restarting. Still says the ADB bridge is in use. Any suggestions?
[Fire TV General] Finnzz:
Sorry, I was lazy and didn't try it out first myself. I tried editing the APK a few different ways, but they all broke ADB in LM.

Getting Rethink working might be your best shot.

I think you only need to disable arcus-uswest.amazon.com and AdepFOS.

ArcusProxy was a dead end.

Keep softwareupdates.amazon.com disabled, and use that to test that Rethink is working. When you go to FireOS settings and click check for updates if you aren't getting an error Rethink isn't working.
[Fire TV General] virtuacool:
I currently have the same setup as BigBrosMo.

(RethinkDNS, Firestick 4K MAX, 7.6.4.6)

RethinkDNS does not start automatically after Firestick reboot.

It has to be activated manually after reboot.

However, after activated, it blocks updates (it gives an error when I force an update)

I have the domain "arcus-uswest.amazon.com" blocked, but it seems to me that it is not "fully blocked"...

RethinkDNS blocks most requests, but it seems to me that some requests are not blocked....

(the blocked domains have a red indication on the left side, but some do not have the red indication)

View attachment 5948043

Tell me if I'm doing something wrong!
[Fire TV General] Finnzz:
I don't use Rethink enough to say for sure, to me it looks like Rethink isn't able to determine the country for every ip address that arcus-west is resolving to, and that is why many flags are blank. The domain name should still be blocked in all instances.

The newer version of Rethink will not auto start on FireOS7. I know v0.5.3n will autostart.

Also if LM is already in the blocklist on your device, it might not even need to contact Amazon to disable LM. Try also clearing the app Blocklist

pm clear com.amazon.adep

Clearing AdepFOS data will remove any blocklists present, and blocking arcus-west should prevent the blocklist from being refilled.

EDIT: I missed @tp11075 post above. He was able to prevent losing LM by only blocking traffic for AdeptFOS in Rethink. I would pair that with a one time clear data command 'pm clear com.amazon.adep'
[Fire TV General] xnappo:
I really am trying hard not to post the obvious solution to y'all's problem, because I don't want Amazon to break it. *Cough* the thing that does tasks *cough*
[Fire TV General] Finnzz:
Yes using tasker is not a secret

There is a reason why LM is popular, it's free, simple, and nimble.

Even though tasker is reasonably fast, it's clunky and not as responsive.

We know that Amazon is using the app AdeptFOS through the arcus-west domain to disable LM. And that either can be blocked to use LM in peace, confirmed by @tp11075

Rethink is not the simplest app in the world, but it's way easier to use than Tasker, and you can also block updates and any other apps you want.
[Fire TV General] BigBrosMo:
Well I rechecked everything in Rethink and confirmed it was running etc and went to bed. This morning when I got up I turned the TV on and it went to Amazon launcher. FFS. So I reinstalled LM from stored files. Made sure Home went to Wolf and turned the TV off to go to work.

Then this evening I turned the TV on and it went to the Amazon launcher again. FFS!

But then when I manually launched Wolf Launcher, I saw that LM was still there! I went into it, checked that wolf launcher was enabled (it already was), and then pressed Home... It went to Wolf!

So it appears when the Firestick wakes from sleep it defaults to the Amazon launcher. How do I fix that?
[Fire TV General] Finnzz:
Could be that ADB connections are being closed when the 4k Max goes to deep sleep. LM needs that ADB connection to work. Try this, go into:

Launcher Manager | Other settings | Screensaver | Sleep Timeout = 0

This will prevent the stick from sleeping. Besides the 4k Max & 3rd gen Cube, I don't know if any of the other Fire devices have a real deep sleep feature.
[Fire TV General] virtuacool:
I tested RethinkDNS v0.5.3.n, and the autostart really works!

But, it didn't block the updates...

Also, blocking of individual domains is not available (only downloading lists and I ended up using the list that blocks Amazon services).

As it didn't block the updates, I went back to v0.5.4c, but I have to solve this problem...

Right now:

- Script Armageddon in the post #1,635

- NetGuard 2.305 (Autostart works)
[Fire TV General] Finnzz:
You don't need to block domains.

Block 'System Updates' & 'AdepFOS'. If those two apps can't reach the internet, updates will be blocked and LM won't get disabled.

If you want to use a newer version of Rethink with autostart working, you will have to report the problem to the Rethink developers on GitHub.
[Fire TV General] virtuacool:
Updated. THANKS!

In test. Then I give feedback!
[Fire TV General] xnappo:
It is just as fast now with just using adb commands directly. True, it isn't free, but surely all the time spent on this is worth $5.
[Fire TV General] Noter2017:
I searched the thread but couldn't find an instruction for Tasker.

Could you help me out with a link?

Edit: Found it on page 69
[Fire TV General] xnappo:
This thread has more info:

4K Max with Tasker to launch Wolf on Home button

Bascially this one is by xnappo but I had quite some problems to follow his guide here: https://xdaforums.com/t/app-firetv-noroot-launcher-manager-change-launcher-without-root.4176349/page-66#post-87928085 I wrote it again to make it a bit...

xdaforums.com

Termux isn't really needed anymore, see this post:

https://xdaforums.com/t/4k-max-with...f-on-home-button.4541521/page-4#post-88281517
[Fire TV General] virtuacool:
Hello!

I ended up changing RethingDNS v0.5.4c to Netguard 2.305 (https://netguard.me/ or https://github.com/M66B/NetGuard/releases).

As it is only for blocking applications, it works very well and autostarts after firestick reboot and blocks updates.

Was not comfortable with Rething without autostart...

Tests:

I verified that if I keep the television on, the LM does not disappear (I tested it for 12 hours straight)

If you turn off the television and turn it back on after 10 or 15 minutes, the LM is gone.

I turned off the HDMI-CEC (on the firestick side) because I thought it could be an HDMI-CEC command (from the television) telling the firestick that the television was off.

But it didn't help.

After 10 or 15 minutes, without HDMI-CEC, the LM is gone.

I turned off firetick's wifi.

With the television on, the LM remained active.

When I turn off the television, after 10 or 15 minutes the LM is gone.

I believe it is an internal application changing the state of the launcher.

It was interesting that LM had an internal routine that regularly checked the active Launcher and changed it and at the same time cleared the AdepFOS cache and updates.

Right now:

- Script Armageddon (descrito no post #1,635) Solved all my problems!

- NetGuard 2.305 (autostart works) - Works as a second layer to block updates if LM fails with the script)
[Fire TV General] Megazildjian:
Feature request for Launcher Manager:

Prepend 'am force-stop com.amazon.tv.launcher' to whatever ADB command is being issued when the home button is pressed. Or in case that line doesn't work on every device, could instead add the ability to prepend custom ADB commands when the home button is pressed. This would possibly add another tiny delay, but should at least create a cleaner experience of never having to look at KFTV Launcher again, while also knowing it's not running in the background and taking up resources.

I use 'ADB on Boot' apk to run 'am force-stop com.amazon.tv.launcher' and I can get away with not seeing the default launcher for ONE home button press since it was force stopped at boot. But of course that one home button press starts the KFTV Launcher in the background, and am forced to see it for 1 second during any subsequent home button presses. This is on 2 Firestick 4K's with FOS 6.2.9.7 (NS6297/4655), no root, and no ability to disable KFTV Launcher, because that ship had sailed by the time I'd had enough of the default launcher slowing down my experience, and started using Wolf Launcher.
[Fire TV General] virtuacool:
I already requested this feature, and my opinion this is the way.

Note that it is not enough to do 'am force-stop com.amazon.tv.launcher' once.

When you turn off the television for 15 minutes it will come back, so it would be necessary to kill it every 5 minutes to never come back or else a routine that checks if the service is active and then kills it.

Hope SweenWolf works on this or at least takes the idea and improves it as it would work with any launcher on firestick.

In the meantime I'm going to try "ADB on Boot" to try out a few things.
[Fire TV General] Finnzz:
I think you meant Wolf not me 😄. Only he makes changes to LM.

But I think there is a good idea lying there in what you are both talking about, maybe implemented a little differently.
[Fire TV General] virtuacool:
Update!
[Fire TV General] virtuacool:
Hi,

I ended up developing a small Script Shell, which completely solved the LM crashing problem.

Later I will post here how to install and run it.
[Fire TV General] officiallyme:
Hey everyone,

I'm a new user of this nice launcher and have two questions:

1. Is there a way to use 24 hour clock with English language?

2. Is there a way to remove the empty space above the apps section? I would quite like to be on the first app by default and not have such a large empty space above the first row of apps.

Thank you :)
[Fire TV General] virtuacool:
Armageddon Script

A small script that solves the problem of the LM disappearing.

You should already have Launcher Manager and Wolf (or another) installed.

The script has 2 loops (one inside the other)

The inner loop will clear the Amazon updates to prevent the updates file from entering your firestick, and it will also clear the blocklist in AdepFOS, this every 10 seconds until you do 30 loops (will equal 5 minutes)

At the end of those 5 minutes it will kill the Amazon launcher so it never comes back and goes back into the inner loop.

It will remain in this process indefinitely.

First, we disable firestick sleep:

Startup Manager | Other settings | screen protector | Sleep timeout = 0

So let's insert the scripts in:

Launcher Manager | Other settings | adb commands

Home ADB commands.

View attachment 5954763

Enter the script as described below.

View attachment 5954759

Code: while sleep 10; do ((++n%30)) || am force-stop com.amazon.tv.launcher; pm clear com.amazon.device.software.ota; pm clear com.amazon.adep; done

Observation:

1) Don't forget to enable "Execute on Boot"!

2) If you need to edit the script later, just select the script line and press the command's "select" button (round button) for 2 seconds.

You will look like this:

View attachment 5954761

Restart the Firestick to make sure it runs.

ALWAYS keep Launcher Manager running in the background. He is the one who keeps the script running.

DONE!

I use NetGuard 2.305 (it has autostart) as a second layer of protection for updates, only blocking OTA updates.

You can change and improve if you want!

Thanks to @Finnzz for all the help and input!

Enjoy it!
[Fire TV General] Finnzz:
@virtuacool a couple suggestions to make this WAY simpler 😄

Skip using 'ADB on Boot' and the .sh script.

Run this as one ADB command in LM:

LM | Other Settings | ADB Commands

Create a new command and Check run on boot

while true; do sleep 10; pm clear com.amazon.device.software.ota; pm clear com.amazon.adep; am force-stop com.amazon.tv.launcher; done

There's no purpose to killing/clearing these apps, so I'd skip them

com.amazon.device.software.ota.override

com.amazon.tv.forcedotaupdater.v2

com.amazon.firehomestarter

Running this on a 10sec loop seems excessive, and I wouldn't rely on a looped ADB command to block updates, it will fail/freeze/crash eventually.
[Fire TV General] virtuacool:
Thanks! UPDATE ! (I hadn't seen that option in LM!!! @SweenWolf is the man! 🏆)

Withdrawn!

Everything working perfectly!

For now I'm fine with 10 seconds. If there are problems, increase the time,
[Fire TV General] NeoNblu:
Fire OS 7.6.4.6

50” 4K TV Series 4

Just installed this easy ADB command. Restarted a couple of times and it seems to be working perfectly. Thank you so much!

I have now effectively blocked all updates and will not get modified intentionally by Amazon anymore.

P.S Still using NETGUARD just in case the command fails for some impossible reason 😎

In LM, how do we check the commands that have been saved? There does not seem to be a history or a list of active commands in LM.
[Fire TV General] virtuacool:
Go back to the Amazon Launcher. After 10 seconds it will go back to Wolf automatically as the Amazon launcher process is killed. That means the script is working.
[Fire TV General] Finnzz:
@virtuacool Looks good! If you only want to prevent LM from being disabled, 'pm clear com.amazon.adep' is enough. I tried that for 2-3days on a 1min loop and it was ok.

I agree that a DNS/firewall app could fail just like a looped shell command, and both options make me nervous. The safest and easiest way to go is to use a DNS server that blocks updates in the WiFi settings. If the DNS server were to ever go down, updates still wouldn't be able to download, you'd just lose the ability to resolve domain names.

Killing Amazon Launcher is ok if you want, but it does more that just be the homescreen. If you want to use any features that require the package, it might be annoying for eg when you are searching the app store and you have to time the search between the 10sec kills.
[Fire TV General] virtuacool:
What is your equipment?

Some report, like me, that after some time of television off the Amazon Launcher comes back.

That's why I also kill "com.amazon.tv.launcher"

As there is a diversity of FireOS and versions, it may not be the same for everyone.

I think each one should test their own and eliminate what is unnecessary.
[Fire TV General] Finnzz:
@virtuacool Firewalling an app with Netguard or Rethink is very different than clearing app data, which cripples the apps ability to work with other FireOS apps. Results from the two methods can't be directly compared.

It's not going to matter what Fire device is used, all use the same AdeptFOS APK, which downloads and stores the app blocklist. If there is no blocklist, Amazon Launcher can't do anything, even if (?) it is involved in triggering the process of blocking apps.

Of course everyone is free to do their own testing, and implement their own settings.
[Fire TV General] virtuacool:
@Finnzz OK.

My problem is Amazon Launcher resuscitation after TV turned off for 15 minutes.

I'm going to increase the sleep to 60 as it seems more reasonable.

Also, as a precaution, I blocked "softwareupdates.amazon.com" on NextDNS (I have an account) and it is the DNS I use on my router.

I'll probably go back to Netguard, because as I travel a lot and take my firestick with me, it will always be safe.

I want to get the most management applications out of my Firestick (I need space, but I don't want to add an external disk)

How do you have the script at this point?
[Fire TV General] Finnzz:
Ok that works if your main reasoning for killing Amazon Launcher is to avoid seeing it when waking the device.

Sorry I don't I understand? I only tried running a looped clear command on AdeptFOS, and that seemed to work ok.

All the clocks use the FireOS time setting. Go to

FireOS settings | Preferences | Time Zone | 24-Hour Time | ON

To get rid of the empty space (widgets row) go to

Wolf Launcher Menu | Launcher Settings | Sections | Manage Sections | Widgets | Show Section - uncheck
[Fire TV General] virtuacool:
I would like to know how is your loop. You changed the loop to 1 minute and you only have AdepFOS in the loop?

I checked that I'm fine with the 10 seconds.

I'll keep it that way (as I described in post #1,635).

I ended up reinstalling Netguard to have a second layer of security for updates.

I just block OTA with Netguard.

I verified that I can use any application without any problems (Amazon Store, Amazon Shop. etc).

Can you give an example of something that didn't work, with the 10 second loop?

When I increased Sleep to 60 (with Netguard disabled ), I verified that the download of updates started, and in the next 1 minute loop the script failed to stop the download until the end (maybe because the process is running).

Only when the download was complete, on the next cycle of the loop, was the cache cleared of "com.amazon.device.software.ota".

If firestick forces a reboot at the end of the download it will do the update.

I'm not comfortable with that.

In that sense I prefer the 10 second loop as the download never starts and I never have the update file saved on my firestick.

Also, I use NetGuard as a second layer to block updates, blocking Internet access from OTAs.

I realize that clearing an app's cache is not the same as using a firewall.

However, the 10 second loop prevents the download from being performed even though "com.amazon.device.software.ota" has access to the internet.
[Fire TV General] Finnzz:
@virtuacool yeah I only tried clearing AdepFOS on a loop.

If you are going to try to block updates too this way, use whatever timing makes sense for you.

Killing the Amazon Launcher will also close App store search, settings screens etc, it's not a big deal.
[Fire TV General] virtuacool:
@Finnzz you're right!

I couldn't stay in the settings and the App Store search also crashed after 10 seconds.

I solved the problem by changing the script to contain 2 loops.

I tested it and it works great!

I will update my post #1,635 with this information.

Thanks!
[Fire TV General] kalehrl:
Hi. I have a very restrictive fw on an Android 9 box without a Home button. The box is used for operator's IPTV service and I installed Launcher Manager together with Wolf Launcher and they work fine. However, there is no Home button. I checked Vendor_0001_Product_0001.kl and there is no Home key, just TV_HOME. The box doesn't even have accessibility services installed so I can't use Button Mapper. Can a Home button be enabled using LM? I don't recognise any od the trigger keys offered in LM settings.
[Fire TV General] NeoNblu:
Trying your new configuration, will report back if I have any issues. Thanks for the continuous updates, always improving…
[Fire TV General] virtuacool:
I made one last change. All in one line. (see post #1,635)

In the previous process it got stuck in the 1st loop and didn't jump to the 2nd.

Now it looks OK!

Report issues! 👍
[Fire TV General] NeoNblu:
No hiccups so far 😎. Will let her run many more hours and observe.
[Fire TV General] Finnzz:
@virtuacool You can shorten that with

while sleep 10; do ((++n%6)) || am force-stop com.amazon.tv.launcher; pm clear com.amazon.device.software.ota; pm clear com.amazon.adep; done
[Fire TV General] virtuacool:
Very good!

I saw that the launcher is killed every 1 minute. Wouldn't 5 or 10 minutes be better for the other applications (settings and store, for example)?

In what I did, it has 10 minutes to kill the launcher and it's very good, and Update and AdepFOS have 10 seconds, as it is in yours.
[Fire TV General] NeoNblu:
I should mention that occasionally, after having shut off the TV and turning it back on, I would get no response from pressing the Home button (only stock launcher). I then go into LM and disable it then turn it back on.

That makes the Home button functional again.

Do you see this behaviour too?

P.S. LM does NOT disappear anymore since using your script (any iteration so far)
[Fire TV General] Finnzz:
@virtuacool I leave the timing to you. It's a 10sec loop with a counter for Amazon Launcher. Multiply the counter by 10sec:

300sec: Only run every 30th loop

((++n%30))

600sec: Only run every 60th loop

((++n%60))
[Fire TV General] virtuacool:
I don't have that problem.

Have you disabled firestick sleep?

Startup Manager | Other settings | screen protector | sleep timeout = 0
[Fire TV General] NeoNblu:
Yes, sleep timeout in the Screensaver is set to zero.
[Fire TV General] virtuacool:
The home button, as the script uses the ABD as a "bridge" for execution.

I can't simulate your problem.

If you delete the script, does it go back to normal?
[Fire TV General] NeoNblu:
Hey virtuacool, thanks for asking. I don’t want to uninstall the script because LM disappears. My problem at this point is more inconvenient than anything else. Perhaps we are just not on the same firmware, you are on a fire stick 4kmax and I am on fire TV. Perhaps those differences can make a difference. I will continue to try different permutations on the script and see if that makes a difference, I will report back any changes. Thanks!
[Fire TV General] xnappo:
Probably it is that. On the Tasker thread we found that only the Firestick4K and FireCube will keep the adb debug on at reboot.
[Fire TV General] Noter2017:
The latest script works perfectly on my Fire Stick 4K and even survives a restart. I get a 3-4 second delay when pressing the home button but that's still better than the stock launcher. Thank you
[Fire TV General] NeoNblu:
Some good news!

Playing around with it I accidentally found the problem.

If I use any of the quick button shortcuts, there are 4 of them eg. Netflix, Disney etc, when I press one of them if they have been programmed, it opens the app but then when I press the home button, it only activates the Amazon launcher. Any of the shortcuts that were programmed will cause a problem.

in my case anyways, I have to disable:

shortcut Button Hook

Hook State : off

Tried it several times and always does it. I always assumed that that was not the problem.

So, for the moment I have to disable that feature and everything is good. The script is working in the background, and I also have the firewall (NETGUARD) as an added protection.

hope this helps someone…

using this script ATM.

while sleep 10; do ((++n%30)) || am force-stop com.amazon.tv.launcher; pm clear com.amazon.device.software.ota; pm clear com.amazon.adep; done
[Fire TV General] xnappo:
You shouldn't be getting that long a delay, make sure you are using the ADB launch method..
[Fire TV General] NeoNblu:
Fire OS 7.6.4.6

50” 4K TV Series 4

Some more updates.

Seems like this could be happening to me just the ADB connection gets dropped. It seems random so disabling the quick buttons helped but it’s still an ADB problem from what I can tell maybe at a later time Wolfie will look at it and figure it out. it’s totally usable but once in a while, I have to disable and then re-enable L M, Thanks for all the help guys.

I will keep an eye out on this thread for any possible fixes and upgrades.