yashsingh1/xdaforums huggingface dataset:
[Fire TV General] SweenWolf:
Talking about good news, i think i solved the problem with freezing but now the YouTube is also enabling VoiceView.

And I have to recode because git messed up my half application. :crying:
[Fire TV General] takui:
I've also noticed this behaviour, idk if it may help to address the issue:

While using the tv remote to navigate inside netflix, sadly no button is able to exit netflix app on it, so I've turned off tv (but not detached the stick). Turning tv off, the stick was on the amazon launcher and not wolf launcher, I wonder if it's normal? Tv remote still worked and tv stick remote still no, but what I've found weird is that turning tv off and on from netflix, it boot on Amazon launcher and not back to netflix as I've left it
[Fire TV General] SweenWolf:
Don't use that app now, i just made that to test the code (it was unpolished and thats why unstable).

I've made another one hopefully fixed everything, you will find 1 or 2 sec delay on launch home (on youtube prime and hulu),

but i think delay is worth it if we have to deal with voiceview.
[Fire TV General] takui:
The 1.0.1 on the op? It's enough to download it and run the apk or Ive to do something else? Now I'm running 0.1.5-fireTV version with firetv settings 1.0

Edit: looks like I've already downloaded the 1.0.1 in op because is present on the stick so... I think I'm already running it, sadly :/
[Fire TV General] SweenWolf:
Sorry if the version number confuses you, I reverted from git so the new version is older than old one.

Too many things wrong with Firestick 4k, it should have came with a 2W charger. I don't know if i should reset my firestick, cuz like yours mine is also not responding correctly. Few minutes ago it was good now behaving weirdly. Will have to check tomorrow
[Fire TV General] theGr8Emperor:
Home Button not stopping video

I am using Leanback Launcher with FTVLaunchX on my firestick 4k and I really like it but I have one suggestion for improvement. When playing a video from Youtube (or any other video) and the home button is pressed the fire tv goes back to the launcher home screen as expected but the video keeps playing in the background and you can still hear the video. Is it possible to stop the video an suspend the app if the home button is pressed like it does with the default Fire TV Launcher?
[Fire TV General] SweenWolf:
To fix VoiceView Problem in hulu, Netflix and YouTube, open adb shell and enter the commands.

pm disable-user com.svox.pico
pm disable-user com.ivona.orchestrator
pm disable-user com.ivona.tts.oem
pm disable-user com.amazon.logan

FireTV Settings v1.2 For Mantis (Can also work on 7.1.1 and later)

View attachment 4998341

For Launcher for FireTV and ShieldTV

go to this post.

https://xdaforums.com/showpost.php?p=82053271&postcount=167

Press :good: it makes me wanna help. :D ​
[Fire TV General] DaveCPA:
I have the FS plugged into the wall for power. So I put a smart switch on the wall plug to make it reboot overnight. Unfortunately that doesn’t appear to work, and it froze yesterday.
[Fire TV General] DaveCPA:
Updated my version to this one. Any idea what's been causing the freezes? Do you have a link where we can contribute to compensate you for your work here?
[Fire TV General] dcarvil:
I just installed the latest, and it is working great so far. Thanks much, I really appreciate your hard work.

If you do have to root and hardcode the launcher, I'll be happy to test for you.
[Fire TV General] 0815hoffi:
[MENTION=7352779]SweenWolf[/MENTION]

Please Hardcode the Launcher

and Implement my Settings:

https://xdaforums.com/fire-tv/general/firetv-settings-root-tank-mantis-amazon-t4082973

Then we can #rm -r AmazonLauncher

[MENTION=7352779]SweenWolf[/MENTION]

Can you share the code from WolfLauncher?
[Fire TV General] SweenWolf:
As much as I love to stay in power, I'm a die hard Samsung user and I know what happens when you root your device, no future updates. Which kinda sucks but as a dev i know we shouldn't use OTA after messing the system.

I would love to root my mantis but i love my things and don't want to open it(unless its unbearable).

I like what you have done, but it requires root and i don't think most people here will have that. I used my helper app to bypass that, but the adb on mantis is so unreliable most the times it offline my device. So irritating otherwise i would have pushed the app here.

About Wolf Launcher, sadly i don't have source for that, its just apk.

As a root user try using MicroG with spoofing to see if apps requiring play service don't show any errors.

Second, as a dev i think you have removed the Amazon launcher. So try to make a new project with same package name as Amazon launcher and then replace it in fs root. You can intent to a custom launcher from there. I know you replaced the launcher, but it could work with mantis.

I appreciate your work man, good job.

Keep trying, we can see our options increasing with more devs.
[Fire TV General] SweenWolf:
I think i found why it may be freezing, I have changed the code.

Hope it is fixed. (Now FS SHOULD not freeze, my app should kill itself.

Reopen the FireTV Settings to start it if it does kill itself.) Hopefully it does what it is intended to do.

---------- Post added at 07:11 AM ---------- Previous post was at 07:05 AM ----------

Its very unlikely to happen anytime soon.
[Fire TV General] 0815hoffi:
Ok Thanks.

You mean.

Maybe...

Rename

package="com.amazon.tv.leanbacklauncher">

To

package="com.amazon.tv.launcher">

In the Source Code and Compile.

Then replace the launcher in Root FS.

Correct?
[Fire TV General] SweenWolf:
You can, but I think you should create an app with package name as well as class name of the amazon launcher

Just because you can debug you project but not compiled app
[Fire TV General] 0815hoffi:
Ok Thanks.

I will try it ;)
[Fire TV General] SweenWolf:
So basically all you have to do is create a new Project

Set the package name as

com.amazon.tv.launcher

Create a "ui" directory

Then create a class named as "HomeActivity_vNext"

So the class should be like

/ui/HomeActivity_vNext.java

And there should be extras in the bundle.

You can also launch amazon hud,

Just add Package permission in your app manifest

#Let me see what can i launch without root
[Fire TV General] 0815hoffi:
com.amazon.tv.settings.v2/.tv.network.NetworkActivity

should be run without root, the other one needs root i think.

Ok, I'll try.

I don't really know about Android app creation.

I just play around with Android Studio.

Customize, Build and Try what happens ;)
[Fire TV General] SweenWolf:
I want to make something but i don't want to root

Anyway this app you have to create it.
[Fire TV General] clevergirl:
hey, i'm in a funny position right now, i have 2 old fire stick v1 with firestarter v3.2.3, amazon updates blocked for many years now via dns server, but my kodi version for example got a bit too old for me. i held out with any updating bec. i didn't want to lessen my chances to root the device some day

i would *really* love if there's any way to completely root the device, would prefer that overly, bec. i'd like to do some stuff like use direct cifs support from the linux kernel, and run a couple specialized applications like snapcast (multi-room audio receiver), and i don't think i have any chance for any of that on the fire stick unless i root it completely :)

but what do you guys recommend nowadays, should i update to newest OS (i think it would be 5.6.2.3 according to wikipedia, is that correct?), and you have enough newer tricks ready even on this version to get the amazon off my back? :)

or is there something more opportunistic than just upgrading right away and using this updated launcher?
[Fire TV General] SweenWolf:
Firestick v1 can be rooted with OS version 5.2.1.1 but cannot be rooted if you are on 5.2.1.2 and newer (according to a website). If you want features the you can root, after that uninstall the OTA app from root.After that you can rock any app which requires root. You can manually update kodi with apk.

Or you don't root your firestick, but then app requiring root will not work.

About setting kodi as default launcher, it can be done without rooting.

With that said its your choice, you will sort this out yourself. Cuz you are the [MENTION=2293245]clevergirl[/MENTION].
[Fire TV General] SweenWolf:
so my rooted tester,

download the attachment copy it to internal storage. (The app is for 7.1.1+)

backup your original system apk.

place this file in priv-app and set perm 644

and disable any hijack.

and this also requires wolf launcher to work.

as always (alpha build, be careful).

Tell me what happens.

(and also hope voiceview and freeze bug is fixed.)
[Fire TV General] 0815hoffi:
[MENTION=7352779]SweenWolf[/MENTION]

I have tested it, an it works ;) with my ATV Launcher.

Changed in your APK to

const-string v1, "ca.dstudio.atvlauncher.pro"

I have replaced the APK under /system/priv-app/com.amazon.tv.launcher/com.amazon.tv.launcher.apk

But it is also needed to delete the folder " /data/app/com.amazon.tv.launcher-1 "

There is a second one from an update.

Thanks Working create , also the Voice Input is working.

:)
[Fire TV General] dcarvil:
I assume the 7.1.1+ is the android version, and not the FireOS version. I have android version 7.1.2, FireOS version 6.2.6.8.

Do I need to remove the existing /system/priv-app/com.amazon.tv.launcher/com.amazon.tv.launcher.apk?

Executing pm path com.amazon.tv.launcher shows package:/data/app/com.amazon.tv.launcher-1/base.apk. Do I need to do anything with that apk?

Does your code include the settings code that was in the original com.amazon.tv.launcher? I believe that code is needed by Magisk, so if it is not included in your code I'd probably need https://xdaforums.com/fire-tv/general/firetv-settings-root-tank-mantis-amazon-t4082973 or a similar app.

I'm having a problem mounting /system rw.

mantis:/ # mount -o remount,rw /system

mount: '/dev/block/platform/soc/11230000.mmc/by-name/system'->'/system': Device or resource busy

I'm guessing that error has something to do with Magisk, and I might need to place the file in /sbin/.magisk/mirror/system/priv-app/, which is also read only. I haven't yet tried to remount .magisk, because I want to make sure I know what I am doing. I could also try to add your apk with TWRP, but I wanted to get your input and answers to the above questions first.

I imagine problems like this are why you did not want to do a root apk in the first place.

BTW, I have not encountered any problems with FireTV_Settings_1.2. Great job on it.

Thanks.

---------- Post added at 05:18 PM ---------- Previous post was at 05:14 PM ----------

Please read my post just below yours, and let me know what you think. My main problem is I can't remount /system rw. Are you rooted with Magisk, or another method?

Thanks.
[Fire TV General] SweenWolf:
You need to backup the app already present at /priv-app folder so you can revert back at any time.

7.1.1 is Minimum Android Version I used.

The app in /data you have to delete that, cache isn't necessary but if you want to you can delete that also. The launcher app in /system is what came with firmware and the app in /data (base.apk) downloaded with OTA updates, so you need to remove both. (Signature mismatch)

You can replace the app in TWRP if you want, remember to set permission to 644 or it can cause bootloop.

There's nothing in this app, because I don't code in bulk if i don't know my code is working or not.

Magisk Mounting problem, you should reflash your magisk Installation.

For settings you should use his app.
[Fire TV General] SweenWolf:
I knew you could do that, anyway.

Tell me some things than, I need to confirm.

Long press working? (IT SHOULD)

No other way to open settings without your app.(There are, but not for now)

Does the launcher started at boot?

And does pressing home stayed at launcher or it relaunched it?
[Fire TV General] 0815hoffi:
Long Pressing Home Menu works, and everything works, except the settings.

For Settings my App is needed. ( I think we could make one app out of my settings and your launcher ).

Yes it starts at boot.

I think it stays in the launcher because if you open the settings in the ATV Launcher and then press the Home Button ->> then you come back to the Settings of ATV.
[Fire TV General] SweenWolf:
Please Backup your launcher system app, if you do not have a working root, you cannot open the settings with his settings app. Back it up so you can restore later.

Yours SU seems to be working but back it up first.

---------- Post added at 10:22 PM ---------- Previous post was at 10:19 PM ----------

Ok, good to hear.
[Fire TV General] 0815hoffi:
That is the Problem why my settings App need root.

No idea why this is so.

Error:

mantis:/ $ am start -a com.amazon.device.settings.action.PREFERENCES -n com.amazon.tv.settings.v2/.tv.preferences.PreferencesActivity

.amazon.tv.settings.v2/.tv.preferences.PreferencesActivity <

Starting: Intent { act=com.amazon.device.settings.action.PREFERENCES cmp=com.amazon.tv.settings.v2/.tv.preferences.PreferencesActivity }

java.lang.SecurityException: Permission Denial: starting Intent { act=com.amazon.device.settings.action.PREFERENCES flg=0x10000000 cmp=com.amazon.tv.settings.v2/.tv.preferences.PreferencesActivity } from null (pid=9903, uid=2000) requires com.amazon.tv.permission.LAUNCHER_SETTINGS

at android.os.Parcel.readException(Parcel.java:1694)

at android.os.Parcel.readException(Parcel.java:1647)

at android.app.ActivityManagerProxy.startActivityAsUser(ActivityManagerNative.java:3137)

at com.android.commands.am.Am.runStart(Am.java:643)

at com.android.commands.am.Am.onRun(Am.java:394)

at com.android.internal.os.BaseCommand.run(BaseCommand.java:51)

at com.android.commands.am.Am.main(Am.java:124)

at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)

at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:262)

1|mantis:/ $

Starting fine

1|mantis:/ $ su -c am start -a com.amazon.device.settings.action.PREFERENCES -n com.amazon.tv.settings.v2/.tv.preferences.PreferencesActivity

S -n com.amazon.tv.settings.v2/.tv.preferences.PreferencesActivity <

Starting: Intent { act=com.amazon.device.settings.action.PREFERENCES cmp=com.amazon.tv.settings.v2/.tv.preferences.PreferencesActivity }

mantis:/ $
[Fire TV General] dcarvil:
Great, reflashing Magisk fixed the mount problem.

Yes the launcher started at boot.

**Edit

Long pressing select brings up an Application Menu on the right side of the screen. Is that what you meant? Long pressing home brings up a screen with a clock, "Apps", "Sleep", "Mirroring", and "Settings" options.

Pressing home stays at the launcher.

No screen reader problems with Hulu or Netflix.

Another great job. Thanks.
[Fire TV General] SweenWolf:
I'll fix it later.

---------- Post added at 10:48 PM ---------- Previous post was at 10:46 PM ----------

Good to hear everything is working perfectly fine, as intended.
[Fire TV General] 0815hoffi:
[MENTION=7352779]SweenWolf[/MENTION]

Other idea.

If we know what activity is startet by the Settings icon in long press home menu.

It should be possible to make one App with your launcher activity and my chooser activity.

Which be startet with the settings icon in long press home menu.

So to say one App that replace the Launcher and the Settings.

But this only a idea.

I Think if you can fix the root Problem, that this is the best solution.

I have attached the source code of my app to my settings thread.

Maybe you can customize it ;)
[Fire TV General] SweenWolf:
Actually I know what is called with the settings Icon and I Implemented that while back, i just removed it afterwards.

But what i have planned is,

Adding a settings page to change the launcher, as usual. I can do all icons in launcher, or One single page with all the items. (Its for later, I am chilling right now).

One more question, what happens when you press Android Settings in the ATV launcher

I have seen you code, its good, but i will not implement it because it uses SU. As long as people use SU in System, your app is good.

I know the fix, I'll test it later.

I can use a custom recovery but personally I don't use a rooted system
[Fire TV General] 0815hoffi:
If you replace or disable the Amazon Launcher.

Then the Point Android Settings in the ATV launcher is not visible.
[Fire TV General] SweenWolf:
Interesting

That also means you can not press settings in the Amazon Hud

According to the code, if you press the Settings button, you will launch the Launcher once again.

Confirm it.
[Fire TV General] 0815hoffi:
Yes.

if ipress the Settings button on the Long Press Home Menu i come back to the ATV Launcher.
[Fire TV General] dcarvil:
Personally, I prefer an uncluttered home screen, and don't like all the settings icons on the home page. The icons can be hidden in the launcher, though, so it's not really a big deal.
[Fire TV General] 0815hoffi:
So it look the setting icon try to launch a activity in com.amazon.tv.launcher which is currently not avail.

But this can be used for your/my settings maybe.
[Fire TV General] 0815hoffi:
[MENTION=7423542]dcarvil[/MENTION]

here a Version with only one Icon
[Fire TV General] SweenWolf:
I can also do one thing, which will save me lot of time. Just leave the settings to you. All the things with settings, you can handle.

To make it work for now.

Refactor your Main activity to SettingsActivity

com.Markus.FireTools.MainActivity

Into

com.markus.firetools.SettingsActivity
[Fire TV General] gray_wolf:
Can you make this thread more clear, what are the latest apk files to make your change the default launcher and are there any special instructions. Thanks
[Fire TV General] SweenWolf:
You need root, that's a special.

You have to replace the launcher apk in system, and you are good to go.

I haven't added settings page, so you cannot access settings.(only drawback)

For non-root the File is FireTVSettings 1.2

And for root the file is com.amazon.tv.launcher at https://xdaforums.com/showpost.php?p=82348025&postcount=240
[Fire TV General] gray_wolf:
I'm on FireTV 4K and not rooted, I have installed FireTVSettings 1.2 and I chose wolf launcher however it doesn't change my launcher. It's showing that accessibility services: Stoped and secure permissions: not granted.
[Fire TV General] SweenWolf:
You have to install the app using

adb install -g appname.apk

Or you have to give the permissions through adb shell.

Or you can use helper.apk to give that permission. Its up to you

https://xdaforums.com/showpost.php?p=82141375&postcount=192 download helper from here.

Enable usb debugging in settings.

Open the helper.

If it doesn't show usb debugging screen then close and reopen helper.

In most cases it doesn't work the first time. (I fixed that but didn't uploaded).

After granting debugging permission, wait for 5 to 10 sec to finish its work.

Open FireTV settings, it should write secure permissions granted, change the launcher and save, both the status will turn green
[Fire TV General] dcarvil:
The adb shell command is

adb shell pm grant com.wolf.firetvsettings android.permission.WRITE_SECURE_SETTINGS

The Helper.apk [MENTION=7352779]SweenWolf[/MENTION] mentioned is in this post:

https://xdaforums.com/fire-tv/gener...ncher-root-t4037397/post82141375#post82141375
[Fire TV General] 0815hoffi:
[MENTION=7352779]SweenWolf[/MENTION]

what is the advantage for SettingsActivity ??

it is so correct ???
[Fire TV General] bart77:
OK, now how do I remove this and go back to stock?
[Fire TV General] SweenWolf:
(IF YOU ARE ASKING ABOUT ROOTING ONE)

Delete my app from /priv-app

Copy the original system app into /priv-app which I told to backup prior of doing this.

Set the permission to 644

Delete the folder /data/data/com.amazon.tv.launcher

And cache also

Reboot

(IF YOU WERE ASKING ABOUT NON-ROOTED ONE)

Just Uninstall, the app will handle everything.

---------- Post added at 06:53 AM ---------- Previous post was at 06:44 AM ----------

Add

<category android:name="android.intent.category.LAUNCHER"/>

above

<category android:name="android.intent.category.LEANBACK_LAUNCHER"/>

Other than that its good.
[Fire TV General] SweenWolf:
Download latest KFTV Alternate launcher (version 1.1) from attached files.

Download the Settings.apk from https://xdaforums.com/showpost.php?p=82355353&postcount=265

(if you are unable to install his settings apk,

use

adb install -t settings.apk

to install.)

Install his app to access settings.

Install the update (you know how, just replace, no need to remove anything from /data).

long press home button, click on settings,

tell me the output.
[Fire TV General] 0815hoffi:
Short testing -> click in settings opens my settings app.

At First i have installed your new apk without wolf.launcher, the i get a message "Wolf launcher not found or so"

Then i have customized it to launch atv and anything is working :)

Only one Problem.

If i start the settings and then i press the back key, i get the message from Screenshot and it goes not back to launcher. To get back to launcher i must press the homebutton.

Now i must go working now, i will test more later.

[MENTION=7352779]SweenWolf[/MENTION]

Perfect Work from you :good:
[Fire TV General] dcarvil:
Long press home and click on settings takes me to 0815hoffi's Fire TV Settings screen. Good work. Thanks.

**EDIT

I get the same - "If i start the settings and then i press the back key, i get the message from Screenshot and it goes not back to launcher. To get back to launcher i must press the homebutton."

---------- Post added at 05:27 PM ---------- Previous post was at 04:42 PM ----------

I'm having a problem with settings, probably due to the way I installed it. Whenever I press any option in the settings menu, it just goes back to the home screen. (I did get Network settings once, but after that just back to home.)

I had my usual problem with mounting system read/write, so I used TWRP terminal to remove /data/app/com.Markus.FireTools and /data/data/com.Markus.FireTools. I installed the new FireTV-Settings.apk by copying it to /system/app.

Everything seemed to work, until I tried the settings options. When the settings options didn't work, I tried uninstalling and reinstalling via ADB. That gives the following errors:

[dcarvil@XFX firestick]$ adb uninstall FireTV-Settings.apk

Exception occurred while dumping:

java.lang.IllegalArgumentException: Unknown package: FireTV-Settings.apk

[dcarvil@XFX firestick]$ adb install FireTV-Settings.apk

Performing Streamed Install

adb: failed to install FireTV-Settings.apk: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]

My next step will be to delete /system/app/FireTV-Settings.apk and install it from the TWRP file manager, but I thought I'd better get your advice before I make the problem worse. To install it via adb, I would have to boot without a settings apk, and I don't know if that will cause more problems.

Thanks.
[Fire TV General] 0815hoffi:
[MENTION=7423542]dcarvil[/MENTION]

try this version, i have no Problems to install.

You have my app under /system/app ?

Then it is a System App , you must delete the APK.

A System APP can not be uninstalled by adb command i Think.

D:\Firetv\FireTV4K>adb install FireTV-Settings.apk

9976 KB/s (2393633 bytes in 0.234s)

Success

D:\Firetv\FireTV4K>

The first time you start from one of my options in the my settings app, you must allow root access in Magisk.

If you don't give my app root access, you just come back to the launcher.

If you skipped it, you can simply allow it in Magisk Manager.