yashsingh1/xdaforums huggingface dataset:
[Fire TV General] SweenWolf:
Hey guys, been a long time.

So here are the two apps, both can be recompiled.

com.wolf.lm1 was directly compiled whereas com.amazon.launcherm was decompiled then edited and recompiled, so it (com.amazon.launcherm) will be triggered in VirusTotal, it was done just for checking.

For anyone wondering if I has add a signature verification to it, well it was actually a unfinished code. so that there will be two RSA fingerprints instead of one depending on the Signature itself. which is fixed in the following releases (these are in beta) and if resigned will created a RSA fingerprint of 7B:F1:86:17:09:EF:0A:B8:64:59:63:59:63:13:A7:7A:1A:2A instead of my main one.

Anyone is free to decompile and redistribute the app (please just don't add malware to it)

the overlay code has a bug so it is disabled, so the button will no do anything (well it shouldn't)

[EDIT] I have not checked any post in the forum for a long time. Gotta go now, bye.
[Fire TV General] Broman400:
Only the home button hijack method works still?
[Fire TV General] Barbuslex:
This one (com.amazon.launcherm) actually works on my Firestick ;)
[Fire TV General] wolfgang41:
hi all i had this package running on my firetv stick 4k max Launcher Manager 1.1.8 - NEW PACKAGE NAME.apk but as of today i cant start this anymore, whats the solution?

thanks
[Fire TV General] shaunoleary:
Hey guys,

I installed the new 1.1.9 Launcher Manager (com.amazon.launcherm) on my Fire TV 4K MAX today; I can confirm it is working at this time. I have the Launcher Manager activated to use Wolf Launcher, and it is working on startup and when pressing "Home" button on remote, Wolf Launcher will open and run. Thank you @SweenWolf for the update! Also using Wolf Launcher, as of now everything is working fine.

What I found before (on 1.1.8) was the patch would only work for about 24 hours, after which the Fire TV Stick would revert to the default Amazon launcher instead of Wolf Launcher.

It wasn't a major inconvenience, as most of the time I simply load Kodi to access my IPTV channels. But I really don't like the default Amazon Launcher due to the ads and often inappropriate "suggestions" it seems to think I'd love to see - no thanks.

Thanks again SweenWolf, I'll report back how it goes over the next few days.
[Fire TV General] cdub74:
Can you or anyone give us a guide on how we can decompile, change the package name and recompile LM 1.1.9, I have tried following some guides on YT using Android Studio, I have the latest version of Android Studio but don't have the option to rename as shown in the videos.
[Fire TV General] sauce rice:
You can easily change it using apktool M.
[Fire TV General] shaunoleary:
On Linux, there's an app called "APK Editor Studio" that can do this, and it's very easy and intuitive to use. in Arch, the package is called 'apk-editor-studio-bin'. I'm not sure about Windows or other Linux distros.
[Fire TV General] shyguy88:
It's probably something I did, but after trying the 1.1.9 Launcher Manager (com.amazon.launcherm version) on my fire cube 2nd gen, I can no longer access the stock launcher at all even after disabling ADB or turning off the home button hook, it seems it works almost "too" well. Unfortunately some settings are no longer accessible, like trying to change the language from the LM settings doesn't work, so going to have to factory reset I think.
[Fire TV General] SweenWolf:
You can open Stock launcher using a shortcut, or say "home" or "go home", LM just checks home button press
[Fire TV General] shyguy88:
Hey thank you for taking the time to read and get back to me! I tried this (using the voice command), unfortunately did not work, just took me back to the Wolf Launcher no matter where I was. Was worth a try! I seem to have completely removed the Amazon stock launcher somehow, but not being able to access some settings (location, etc) means I'm going to try and reset, otherwise this would be a perfect solution it seems, since I don't need any hook or ADB or anything to get to Wolf Launcher. Hopefully the stock launcher will come back after the reset.

PS: I was able to get language setting to work! But no option to change the location unfortunately.
[Fire TV General] cdub74:
Can you give me some idea how I can change the package name using apktool M
[Fire TV General] cdub74:
Can you give me some idea how to change the package name using apk editor studio.
[Fire TV General] sauce rice:
Quick edit
[Fire TV General] shaunoleary:
It's pretty simple.

install APK Editor Studio. I use Arch LInux, so I installed apk-editor-studio-bin from AUR.

Go to File -> Open APK, and select the Launcher Manager APK.

Once the APK is opened, go to Tools -> Clone APK.

Change the name of the APK in the requestor box. You can make it anything you like. I'd suggest using random characters, such as com.abc123.xyz890 - or whatever.

Go to File -> Save APK.

This will save a modified APK, then hook up to your Fire TV via ADB and install the new APK: adb install [filename].apk

Good luck!
[Fire TV General] Skel40:
@SweenWolf welcome back! I wanted to provide an update about Launcher Manager on the Fire TV Cube 3 (gazelle) with a possible category selection of the "Inputs" tab on the Fire TV Launcher. I've had difficulty trying to navigate it on your app and having to switch back to stock launcher to get it to work
[Fire TV General] linuxlad:
Is that a 1st or 2nd gen 4K? If it is 2nd, what version of launcher manager are you using?
[Fire TV General] officiallyme:
I am using Wolf Launcher on my Android TV but I cannot get widgets to work properly.

Whenever I try to add a widget that requires configuration in the respective app, the widget is simply not added to the home screen.

I have been trying to get Home Assistant widgets to work with Wolf Launcher.

Anybody know how I can make this work?

GitHub - home-assistant/android: :iphone: Home Assistant Companion for Android

:iphone: Home Assistant Companion for Android. Contribute to home-assistant/android development by creating an account on GitHub.

github.com
[Fire TV General] eXtremeDevil:
Sorry if not the right place to ask, but how could I put my Fire TV to sleep using ADB? I haven't found any direct command, so I figured I could emulate buttons, I got to "input keyevent --longpress HOME" but now I don't know the command to move right, to be able to select "Sleep".

Thanks!
[Fire TV General] shyguy88:
Hi again everyone,

A factory reset brought back the stock launcher for me, but have another issue now.

Wondering if someone has some advice or information that can help me. In short, I'm having trouble where LM stops working after opening an app and playing a video for a while like a 40 minute TV show. For example, if I open Plex and play a video and hit the home button, it takes me back to the stock amazon launcher and the hook to WF stops working until the device is rebooted. But if I just leave the device alone at idle without opening anything, it continues to work just fine.

Some details:

Fire Cube 2nd gen

OS 7.6.1.4 w/ updates blocked

ADB temp rooted with raven_shrinker and ran the commands as mentioned.

LM 1.1.9 with latest Wolf Launcher 0.1.9, running the loop script as shown here with setting "execute on boot" on, formatting double checked and verified for extra spaces etc, and it's the only script on the list.

Background Apps & Processes ver 1.3A12i, and have tried whitelisting LM and WL both as background apps.

Sleep set to 0 in LM

It would seem to me that LM is getting turned off in the background when another app is being focused on for a while, I'm not sure the exact timeframe but watching a 5 minute video on smarttube didn't close LM but watching a 40 minute show on Plex etc seems to close it. I can tell the script is running normally prior to closing in the background because if I use the shortcut to the stock launcher and let it idle there (before playing any videos), after 30 seconds LM is brought up automatically as it should. Re-opening LM after it has been closed in the background doesn't help, nor does manually executing the loop script, and the remote automatically defaults the home button back to the stock launcher until the device is rebooted.

Is there any other tip or trick to keep LM from closing in the background?

Thank you.
[Fire TV General] Vladomo:
Hi All, new to this forum but have been following this thread for a while as a guest user. A big thank you to everyone for putting so much time and effort into this ongoing 'cat & mouse' game with Amazon. It is greatly appreciated!

In one of the posts by Senior Member @Finnzz I read "that the ADB functions in LM do not work if the package name is changed"? I am currently running the script in a renamed and recompiled version of LM but as I understand it, that script does nothing then? The thing is, my home button hook does work so that would indicate that the ADB function in LM is working? Sorry, hope this makes sense and I am explaining myself clearly.

Thanks in advance for confirming and keep up the great work!
[Fire TV General] Finnzz:
@Vladomo That was when editing LM v1.1.8, the Home Button mapping would no longer work. Wolf fixed that problem in LM 1.1.9. The ADB commands section should be working too.

[APP][FIRETV][NOROOT] Launcher Manager (Change Launcher without Root)

LAUNCHER MANAGER (FOS 6+) BLOCKED BY AMAZON, USE LAUNCHER MANAGER (MINI) STEPS TO ENABLE CUSTOM LAUNCHER: Before installing version 1.1.8 uninstall any previous version. 1. Download Launcher Manager by clicking or by using short link and...

xdaforums.com

Now anyone can edit Launcher Manager to create their own working version that avoids the blacklist. It was mentioend a while back that the Amazon app blacklist IDing is based on the package hash, not the package name. Any edit at all to LM will result in a hash change.

@shyguy88 There are two options in Launcher Manager, the older method for devices that can disable the Amazon Launcher package, and the new method for devices that can't. You have root access, so you should be using the older method, which is faster and doesn't stop working.

@eXtremeDevil You can use the adb command: input keyevent KEYCODE_SLEEP
[Fire TV General] eXtremeDevil:
Awesome! Is there a deep sleep command?
[Fire TV General] Vladomo:
Brilliant @Finnzz! Thank you for taking the time to reply. I am running a few scripts now in the ADB section of a custom edited LM and all seems to be working well. Thanks for the input!
[Fire TV General] Finnzz:
I may be wrong but on the newer FireTV devices that have the ability to deep sleep, there is no 'regular' sleep? It's just the screensaver timer, and sleep timer, which goes straight to 'deep sleep'.

KEYCODE_SOFT_SLEEP is screensaver

KEYCODE_SLEEP is TV off and deep sleep if there is hardware support.
[Fire TV General] FireStickNoob:
Forgive me, I'm only just now learning about this stuff.

I have a 1st gen FireTV Stick 4K, running the latest OS it supports, which is currently FireOS 6.7.0.0.

Non rooted.

I'd like to get Launcher Manager/Wolf Launcher working properly again as like many others, Launcher Manager gets automatically uninstalled from my device on startup.

I've been following this thread a little bit, just a couple questions. If I follow @shaunoleary's instructions above, regarding renaming/recompiling the newest LM APK and then install via ADB, it should work on my stick? (For now).

Or do I also need to be on a different OS version, have updates blocked, etc.?

Thanks
[Fire TV General] shyguy88:
Thanks for the reply and suggestion, unfortunately the root is only temporary and via ADB. I tried clicking on the old method in LM and nothing happens, is there some way to do this via ADB while I have root access?
[Fire TV General] shaunoleary:
I didn't need to change my OS or anything else on my Firestick. All I did was patch the APK as I described, and then sideloaded the APK onto the Firestick with ADB (connect to the Firestick with ADB, then 'adb install [patchedapk.apk]. (Edit: 20-11-2023 just realised I had put 'adb sideload', it should have been 'adb install' - sorry for the error/confusion/end of the world!)

As of the time of writing, it still works. When first firing up the Firestick (sorry, couldn't resist the pun), wait until the default menu pops up, and press the Home button. At present, I'm using Launch on Boot to load Launcher Manager on boot, so the default Fire TV launcher still pops up. I just press the Home button on the remote, and Wolf Launcher comes up.

One thing I have done, which may or may not be helping (but certainly isn't causing any harm), was to block amazon.com on my router. This seems to also stop (or at least reduce) the ads in the stock launcher, which is a bonus, as for some reason ads for inappropriate (adult) shows and movies that I have no interest at all in watching starting to crop up in the default launcher. Not okay, Amazon!
[Fire TV General] Finnzz:
@shyguy88 sounds like LM can't disable Amazon Launcher because it's still protected. Temporary root is all you need to make it possible to disable any app. Try following the package protection removal instructions again from the raven_shrinker thread.
[Fire TV General] shyguy88:
Thank you again for trying to help me

So I went back and re-did it all, and no change when trying the old method in LM. But package protections seem to be removed, just not working from LM. They did work properly from ADB and also the debloat toolbox.

1|raven:/ $ pm list packages -d
package:com.amazon.recess
package:com.amazon.bueller.photos
package:com.android.nfc
package:com.amazon.tahoe
package:com.fireos.arcus.proxy
package:com.amazon.tv.forcedotaupdater.v2
package:com.amazon.imdb.tv.android.app
package:com.amazon.device.software.ota
package:com.amazon.kso.blackbird
package:com.amazon.shoptv.client
package:com.amazon.device.software.ota.override
package:com.amazon.alexashopping
package:com.amazon.cloud9
package:com.amazon.bueller.music

I tried both leaving the new method hook ON and also turning it OFF when trying to click on the old method in LM, but nothing happens either way, and when the hook is off the launcher reverts back to the stock and doesn't change.

What I did exactly was, in LM go to Launcher Options, try under Old Method to Enable Custom Launcher, nothing happened. I went down to LM Custom Launcher and Custom Launcher Options, changed LM handler status to Active (it was previously on disabled), made sure Active launcher was Wolf Launcher, then on the left pane of the screen it correctly showed current launcher as Wolf Launcher. But, pressing the home button after that just takes me to the stock launcher, until I enable the New Method home button hook, then it works (but will stop working once it gets closed in the background). I get the idea though is to enable and disable the stock launcher on the fly as needed, which I figure I should be able to do like it works in the debloat toolbox, but is not happening for some reason.

Am I doing something wrong by chance?
[Fire TV General] Finnzz:
@shyguy88 how about when you run this in adb, then press home on the remote?

pm disable-user com.amazon.tv.launcher

pm disable-user com.amazon.firehomestarter

Do you get any errors?
[Fire TV General] sauce rice:
Please refer to this

https://xdaforums.com/t/temp-root-firetv-3rd-gen-cube-gazelle-ps7652.4596733/post-88673747

However, you may need to be careful when entering Fire TV settings.
[Fire TV General] mv522:
My home button stopped working after many months. Repairing remote, unistalling mod apps and reinstall didnt work. Only long press home button would work. To fix the problem, I had to deregister my Amazon account and register (sign back in) again. The problem was fixed. Hope this helps anyone that encounters this bug.

1st-Gen Fire TV Stick 4K ( 2018)

Fire OS 6.2.8.0

Launch Manager 1.1.9

FireOS6 Deboat V4.1
[Fire TV General] shyguy88:
Thanks again. No errors per say, asks me to choose which launcher I want to use as default and was super slow until I rebooted it and then it was fine! It would be nice if I could quickly switch between enable and disable from LM though, but I guess I could make it a command from the ADB commands section in LM? Would that be a good idea you think?

THANK YOU!! That sounds exactly what I'm trying to do here, just get rid of the stock homepage but keep all the settings functions available.

I tried to run the commands, obviously they're for the 3rd gen, I get stuck here though

raven:/ # setenforce 0
raven:/ # pm disable com.amazon.tv.launcher/.ui.HomeActivity_vNext
cmd: Can't find service: package

Any ideas by chance what the equivalent would be on the 2nd gen?
[Fire TV General] eXtremeDevil:
No idea, I have the sleep button on the interface, and also the deep sleep option on developer menu. You mean sleep button is a screensaver and sleep option in developer menu is the real sleep and the one the command you mentioned actually performs? My device is a 4K Max.

Thanks in advance.
[Fire TV General] Finnzz:
@eXtremeDevil I don't have a Max to test. My guess is the quick menu sleep option is a faster convenient way to activate the deep sleep option under my FireTV.

@shyguy88 There must be some bad data or settings in your LM install since you can manually set the custom launcher. Try this, and check LM old method enable/disable launcher after each.

1) clear the LM app data

2) uninstall LM and install LM 1.1.6 from the op
[Fire TV General] Selocan20:
hey there, i‘ve a few questions for the Fire TV Series 4 (not the sticks).

Is it possible to unlock bootloader?

If not, (how) is it possible to deativate automatic Updates and install LM with Wolf Manager?
[Fire TV General] eXtremeDevil:
I'm not sure it's the same. When selecting deep sleep I get a message explaining the differences with the normal sleep.
[Fire TV General] shaunoleary:
To answer your qeustion about disabling updates, one thing I found worked was to block amazon.com on my router.

This seems to get rid of the ads and stuff on the stock launcher, and I've been running LM 1.1.9 and Wolf Launcher with no problem for a couple of weeks now. Previously with LM 1.1.8, the hook to run Wolf Launcher when pressing the Home button would work for about 24 hours, then force itself back to Amazon's launcher.
[Fire TV General] shyguy88:
Hey just wanted to follow up and say thank you for trying to help me, I did in the end find a perfect solution though thanks to @Pro-me3us here finding a way to disable the amazon launcher while keeping the settings menu intact and it works perfectly. Just wanted to leave this here in case somebody else has a similar problem with their cube turning off their custom launcher after watching a tv show or movie, there is a good solution here now.

Thank you for all your help Finnzz!
[Fire TV General] linuxlad:
Can anyone confirm if the latest versions of LM and WL works with the Firestick-4K (2023)?
[Fire TV General] Skel40:
It works on the Fire TV Stick 4K Max (Gen 2) (karat) on 8.1.0.1
[Fire TV General] barth2:
Firestick 4k MAX, OS 7.6.6.4

I just had an update which killed LM 1.1.18 from page 1. Pressing home goes back to stock launcher. LM no longer shows up in my apps screen. It shows in Settings > Applications but cannot be launched.

I figured it was blacklisted. Ok. So I had the dumb idea to decompile the LM apk and rename it. I was able to install and run the renamed LM but now trying to enable the Home hook I get:

Shell is busy. another device is using it. Disconnect the device and try again. Toggle adb debugging on and off

I've made sure I have nothing connected to adb shell. Also toggled adb debugging on and off. Still getting same error

If anyone has some ideas, please let me know. Thanks in advance
[Fire TV General] Finnzz:
@barth2 yes LM 1.1.8 is on Amazon's blacklist. Download LM 1.1.9:

[APP][FIRETV][NOROOT] Launcher Manager (Change Launcher without Root)

LAUNCHER MANAGER (FOS 6+) BLOCKED BY AMAZON, USE LAUNCHER MANAGER (MINI) STEPS TO ENABLE CUSTOM LAUNCHER: Before installing version 1.1.8 uninstall any previous version. 1. Download Launcher Manager by clicking or by using short link and...

xdaforums.com

LM 1.1.9 will be blacklisted too, but this version can be edited.
[Fire TV General] barth2:
Thank you!! For the benefit of those who just stumbled on this post. If your launcher manager LM 1.1.8 is dead, you need to do this

0) (optional) go ahead and uninstall the blacklisted LM. You can do this with

adb uninstall com.wolf.lm

or go into Settings > applications. Find launch manager and uninstall it.

1) download LM 1.1.9 from this post https://xdaforums.com/t/4176349/post-89132658

2) follow instructions in this post https://xdaforums.com/t/app-firetv-...er-without-root.4176349/page-93#post-89141452 to rename the package to something else and install it

good luck
[Fire TV General] canadave:
Sorry, I'm a little confused as to what to do after reading the last few pages. I have a new 4K Max Fire Stick. LM worked with Wolf launcher for some time on it (albeit with the known issue of LM app disappearing, but that was no big deal). And I had no problems even though I didn't block Amazon's normal OS updates to the device.

Today I had to factory reset my 4K Max. In restoring everything, I tried doing what I did last time--installing LM and Wolf launcher using the Downloader app and going to Troypoint's site. However, no matter whether I use the old method or new method to disable the stock launcher, the Home button on the remote goes to the stock launcher. If I try the old method, I get an error saying something about an "exception occurred with disable-user".

I've tried LM 1.1.9 and 1.1.8...both have the same error, which I never got before. I'm a little unsure, even after reading the previous few pages, what I need to do.
[Fire TV General] TheMovieMonk:
Hey guys, having quite a unique problem here. I have the FS4K, and the last time i checked this forum, someone had posted a solution by deleting / uninstalling the KFTV launcher app. When i did this, i had forgotten to block the updates on the firestick and now the device has been updated to OS 6.7.0.0. Now in 6.7.0.0 they have this AUTO-OFFLOAD feature which to my misery cannot be deactivated via LM 1.1.9. Would appreciate any advice as trying to solve this without a factory reset. Maybe an ADB solution?
[Fire TV General] TheMovieMonk:
Hey @canadave , after enabling the home button hook (NEW METHOD) you need to go back to the launcher manager and manually set the Wolf Launcher as your default launcher and make sure that the handle service is set to ACTIVE. Hope this helps! Cheers!
[Fire TV General] Finnzz:
@TheMovieMonk these instructions may disable it:

About Auto Offload on Fire TV - Amazon Customer Service

When your device is low on storage, the Auto Offload feature helps to free up storage by offloading infrequently used apps.

www.amazon.com
[Fire TV General] TheMovieMonk:
Hey @Finnzz , Thanks for the prompt reply buddy, but as i mentioned i cant get to the auto-offload settings as its unavailable via LM and apparently its only available on settings via stock launcher (which i deleted). Hence why i was wondering if anyones got a workaround to disable this via adb perhaps?
[Fire TV General] Finnzz:
@TheMovieMonk got it you're still relying on the old method. The Amazon launcher is still there, but if it was reactivated you'd never be able to use the old method again.

I don't have that feature on my Fire TV yet. Run this adb command, I think this is where it is.

am start -n com.amazon.tv.settings.v2/.tv.applications.ApplicationsActivity

Edit: in case that takes you to the regular applications list, run this command below, then the above command.

am force-stop com.amazon.tv.settings.v2
[Fire TV General] canadave:
I think I tried that and it didn't work (still got that exception error), but I'll try it again and report back tonight.
[Fire TV General] canadave:
OK, just tried this. Opened Launcher Manager 1.1.9, set the new method "Home Button Hook" to ON, set "Use ADB for Home" to ON. Then went to the LM Custom Launcher section, set Wolf Launcher as the current launcher, and made sure the Handler is set to ACTIVE. Then I pressed the Home button, and it went straight to the default stock Amazon home page--no luck :(