yashsingh1/xdaforums huggingface dataset:
[Fire TV General] torsti:
Got evey app installed, but the new launcher will not be starting.

If I try to start it via es file manager, then I get the message, that this app could not be started

Edit: after freezing the stock launcher, it shows up the new launcher, but I can't navigate in it with the remote
[Fire TV General] porosenok85:
Any idea about replace "amazon notifications" --> standart notifications listener service?

I turn on in settingsTV, but still working amazon popup.

---------- Post added at 07:24 AM ---------- Previous post was at 07:16 AM ----------

Some hint for notifications:

Xposed module "notifications manager" may set priority for select apps.

Amazon show only "high" and "max" priority. Simply set this options for select apps.
[Fire TV General] peleg:
All installed application don't have default Activity set in their AndroidManifest.xml (Amazon Launcher , Leanback Launcher , Android TvSettings etc..)

therefore you won't able to run it via ES Explorer .

If you can't navigate with remote try to downgrade the Leanback Launcher , I had this problem before.

you can find all versions in APKMirror site.
[Fire TV General] tdfsu:
Just checking to see if anyone else has this working and anymore progress? I have a rooted FTV1 with Nova. Ive never used the Android TV launcher. Benefits? What works with this setup and what doesnt work? Does the Play store stay usable and autoupdate apps? Do all the settings from the settings apk work? Screenshot of settings screen?

Thanks in advance.
[Fire TV General] peleg:
1. Play store only update apps that were installed by play store itself , and you can disable it .

2. Screenshots of the settings apk attached to the main post ...
[Fire TV General] Axecaster:
Is there an optimal xposed framework version for the fire stick, or whatever best matches the Android version?
[Fire TV General] dk1keith:
too bad AFTVNews can't do a step by step for this. I couldn't get it to work correctly even with the great guide that peleg posted. I didn't get the recommendations or settings on the home screen. Did get Google Play working though. I'm sure it was something I missed. I really liked the idea of having Android TV on my FireTV, just for a different user experience.
[Fire TV General] peleg:
Sorry to hear that you experience some issues regrading to making AndroidTV work ,

Lately I upgrade my FireTV Gen 2 to 5.2.4.0 and there is an issue viewing setting logo on launcher's main screen .

I will try to solve it and update for any progress, for now I pretty sure that version 5.2.1.1 works good both for Gen 1 & 2.

BTW , Do you able to view Leanback Launcher as your main launcher ?
[Fire TV General] dk1keith:
No Worries. Yes Leanback is the main launcher. Here are a couple pics of what the home screen looks like. Notice there is no Recommendations, or Settings tab.

Thanks for the reply.
[Fire TV General] peleg:
The Solution for the settings icon disappearance will be to make TvSettings.apk as system app ,

Remove the installation of your current setting apk

and try to do as follow :

adb push TvSettings.apk /sdcard/
adb shell
su
mount -o rw,remount /system
mkdir /system/priv-app/TvSettings
chmod 755 /system/priv-app/TvSettings
chown root:root /system/priv-app/TvSettings
mv /sdcard/TvSettings.apk /system/priv-app/TvSettings/
cd /system/priv-app/TvSettings/
chown root:root TvSettings.apk
chmod 644 TvSettings.apk
reboot

Regarding to Recommendation , will update you soon about the solution for that ;)
[Fire TV General] dk1keith:
Awesome, can't wait for news on Recommendations

Pretty sure I did make TvSettings a system app. What I didn't do is remove the Fire TV settings app. Will try it and report back.

Thanks much for the reply
[Fire TV General] peleg:
Try to make the leanback launcher as system app as well ,

That's worked for me.

See some screenshots attached.
[Fire TV General] Antieco:
Great job!! Will try

Enviado desde mi A0001 mediante Tapatalk
[Fire TV General] Wredal:
[MENTION=7825383]peleg[/MENTION]

The proper command to disable default Amazon TV launcher (and enable Leanback as default) is:

pm disable com.amazon.tv.launcher/.ui.HomeActivity_vNext

(tested and working on FireTV 2).
[Fire TV General] rpadula:
the tv settings wont run on my stick, what can i do to help?
[Fire TV General] peleg:
Did do you try to set it as system application? See above how to set it and let me know if it's worked for you
[Fire TV General] rpadula:
actually i've wiped my stick.

launcher leanback was working but play store wasn't

i tried to start play store bit nothing happens.

so i'm back to square one, just with firetv mods and hdxposed.

will backup and try to flash tv stock opengapps later.
[Fire TV General] Antieco:
Does the launcher feels smoother than stock one?

Enviado desde mi A0001 mediante Tapatalk
[Fire TV General] dk1keith:
I think the reason the TvSettings isn't working for me is because I'm not removing the Fire TV settings apk. What is the name of the Fire TV Settings and how do I remove it? Only system settings I see is Settings/Storage but I don't think that is the right one.

by making the Leanback Launcher a system app I did get Recommendations to show up. It didn't find any Recommendations but at least it shows on the home screen now and says No Recommendations found.

Thanks
[Fire TV General] dk1keith:
so no one knows the name and location of the Fire TV settings app?
[Fire TV General] Wredal:
It is part of the FireTV launcher. If you disable the launcher you will be able to use another settings app.
[Fire TV General] nijhawank@yahoo.com:
youtube android tv app cannot search

hi [MENTION=7825383]peleg[/MENTION],

thanks for your efforts on this project. i was able to follow the instructions and everything is working. the recommendations sometime work and sometime doesn't.

i have a question that for the youtube app, i can log-in with the google account but i cannot search. there's just no way to type anything, neither bluetooth keyboard, or on-screen keyboard. do you think u have any idea to make that work.

thanks.
[Fire TV General] peleg:
I have several questions regarding to your issue :

- Are you using leanback youtube app ?

- Do you installed the leanback keyboard ?

- Did you check search options in tv setting app ?

please attach logcat of your youtube app problem , that it can more informative.:confused:
[Fire TV General] nijhawank@yahoo.com:
Yes, I installed the leanback version of YouTube app as well as keyboard, the same versions available from very first post in this thread.

I did not check any search options in the settings app but will try once I'm in front of it, will also try location to see any logs.
[Fire TV General] dk1keith:
Gave this another try and I have managed to get Recommendations to show on the home screen. It still says No Recommendations available at this time but at least Recommendations is showing on the home screen. Still can't get TvSettings to show on home screen though. Tried setting TvSettings as system app, and even successfully ran the commands in this post, but still no TvSettings. I am really close and would appreciate any other suggestions as to how to get this to work.

thanks
[Fire TV General] nijhawank@yahoo.com:
Did you delete the side-loaded TvSettings app after you made it a System app. I have it in installed as a asystem app and not facing any issues.

Recommendations are on/off, I did see them few times but they have disappeared since.
[Fire TV General] dk1keith:
No I'm pretty sure I didn't delete the sideloaded TvSettings app after I made it a system app. Will try that.

thanks much for the reply.
[Fire TV General] dk1keith:
Major accomplishment! Got the TvSettings on the home screen, and Recommendations are showing up. Pretty awesome!

One issue I noticed is in settings, when i select Apps it just force closes the settings. Anyone else seen this?

thanks to everyone who helped me get to this point. Especially [MENTION=7825383]peleg[/MENTION].
[Fire TV General] peleg:
Yes , I got this issue one month ago , will give you soon the solution for that .
[Fire TV General] dk1keith:
Kool. Thanks for all your help. And, Great Work
[Fire TV General] nijhawank@yahoo.com:
Is there a solution for fixing recommendations? I get empty tiles when I turn on recommendations i.e. recommendations are there but there are missing pictures in the tiles.

Also, is there a way to bring google voice based search support?
[Fire TV General] peleg:
Try to install the following apk (TvSettings) , I added more info logs to application packages loader constructor.

Please search in logcat which of your apps is having null pointer to apk source file and try to reinstall it or to remove it .

This should solve the issue :good:
[Fire TV General] dk1keith:
Will give it a try. Thanks for the reply.
[Fire TV General] nijhawank@yahoo.com:
[MENTION=7825383]peleg[/MENTION] any updates on recommendations? I got then working again for TED but for Netflix and Youtube or HBOGO they are empty tiles.

Could it be because I have the Amazon version of Netflix and HBOGO? But YouTube is Android, then why it's not working?

Have you been able to make recommendations work for other than TED?

Also any word on using voice based search?
[Fire TV General] peleg:
Please attach logcat from your leanback launcher it seems that you don't have the right media provider.

Empty tiles indicate that launcher can't get posters images from apps

Regarding to google base voice search , still have a lot of work to do. If any of you have free time to handle the following code

and how it should fit to FireTV : https://android.googlesource.com/platform/packages/apps/QuickSearchBox/
[Fire TV General] nijhawank@yahoo.com:
I did not delete any amazon or other components, only installed google stuff (launcher, ime, google play service, framework etc.). So what does it mean that I may not have the right media providers.

Not sure if these contain the appropriate log lines but I had the logcat running when the recommendations were being prepared. Please go around the end.

http://pastebin.com/51weKgVe

Thanks in advance.
[Fire TV General] nijhawank@yahoo.com:
Hi [MENTION=7825383]peleg[/MENTION],

Sorry to bother you. Did you have the time to look at the Recommendations problem? I have everything working as you described just the recommendations are not working. I saw them sometimes displayed for TED but never for YouTube or Netflix or HBOGO. I do see the empty tiles and titles.

Did you find anything in my logs.

Regards.
[Fire TV General] peleg:
Will keep you update if something will pop out , no new finding for now ...
[Fire TV General] nijhawank@yahoo.com:
I was able to fix the issue but it wasn't easy. I figured out it was some amazon process/package that was stealing the notifications. I was able to narrow down to com.amazon.device.sale.service. After disabling this package and restarting I could see all recommendations properly. There are now pictures in the tiles but the background that fills the whole screen behind is still missing but I can live with that for some time. Recommendations are working for YouTube, NetFlix and HBOGO.

Just wanted to ask you, have you disabled any amazon packages other than ota updates and HomeActivity component of the Amazon launcher. I ask this because you reported your recommendations were working but your steps did not include to disable any other amazon packages.

Also, I had spoofed the device id to be the razer forge using XInstaller Xposed module. However, it made HBO GO stutter in the first 5-10 seconds of playing anything and then a halt (doesn't play stream any further). Pick another show and same behavior. I disabled the razer spoof and it fixed HBO GO. Do you have any experience like this?

Also, recommendations from YouTube are not as per Google account that I've signed in or any of my previous viewing experience. How is it for you?
[Fire TV General] peleg:
Good progress man ! Just to be align with your trials to bring back recommendation , I had installed only TED & YouTube on my FireTV .

TED recommendation always appears with tiles images , YouTube recommendation is not stable means sometimes appears and sometimes not :(

I don't have HBOGO so I can't help you with that ...

please share some screenshots :)

my amazon disable packages

package:com.amazon.precog
package:com.amazon.recess
package:com.amazon.whisperplay.contracts
package:com.amazon.bueller.photos
package:com.amazon.device.sync
package:com.amazon.webview
package:com.amazon.tv.csapp
package:com.amazon.videoads.app
package:com.amazon.kindle.cms
package:com.amazon.device.sale.service
package:com.svox.pico
package:com.amazon.tcomm.client
package:com.amazon.client.metrics
package:com.amazon.acos.providers.UnifiedSettingsProvider
package:amazon.jackson19
package:com.amazon.device.software.ota
package:com.amazon.ags.app
package:com.amazon.application.compatibility.enforcer
package:com.amazon.whisperplay.service.install
package:com.amazon.tv.launcher
package:com.amazon.device.software.ota.override
package:com.amazon.avod
package:com.amazon.communication.discovery
package:com.amazon.device.sync.sdk.internal
package:com.amazon.bueller.music
package:com.amazon.application.compatibility.enforcer.sdk.library

I still working on enabling voice search with FireTV remote and Leankback Launcher.

Thanks,

peleg.
[Fire TV General] maleclub:
to determine if some settings are correct

[MENTION=6230462]junior m[/MENTION]ember,My device is fir tv 2 (FireOs5.0.5-rooted ,has installed Xposed, HDXPosed )

According to your guide, I installed Leanback launcher, , XInstaller , and disable some amazon's packages.

There was an error reminder during the process,and I would like to determine if some settings are correct?

http://imgur.com/Pw9VRwj

http://imgur.com/YHekJxC

http://imgur.com/3b4eN5n

http://imgur.com/NhUtAnU
[Fire TV General] peleg:
Hi ,

The error indicate that you don't have com.amazon.device.sale.service package , that because you are using version 5.0.5 and not the latest 5.2.4.0

for FireTV gen 2 .

1. Can you please describe the result of the process ? did you succeeded to make Google Leanback as your default launcher ?

2. If not try to upgrade to 5.2.4.0 and retry disabling all mention packages.
[Fire TV General] Y314K:
Great work guys. Been following this thread for a while. But I am still not sure what is working or not working at this moment. So not sure if it's to soon for me to try.

Can you guys list the things that are working & not working at the moment. It seems the non working part that is most discussed is recommendations. What about the rest of the functionalities ?

[MENTION=7825383]peleg[/MENTION] Can you mod the OP to reflect what is working & not working & please keep it up to date. I plan to help with some testing in the near future once I update my last rooted FTV1 to the latest PreRooted FireOS 5.

Thanks again for the sharing this awesome work in progress mod.
[Fire TV General] peleg:
So I will summarize our progress so far :

1. Android TV launcher is default launcher after disabling Amazon TV launcher.

2. TV Setting is working after set it as system application.

3. Recommendation is working thanks to [MENTION=5747012]nijhawank@yahoo.com[/MENTION] , just disable com.amazon.device.sale.service package.

4. Google Store is also working well , need to make sure to install all required application for that. (mention in main post)

5. Supported and tested apps working in leanback mode : Youtube , Netflix , HBOGO , Nvidia Games Hub, Google Music , Google Movies , Google Games .

Some not working features that you can help with :

1. Google TV Casting :

Working well if you install Amazon's YouTube application , but I prefer not to use it.

Alternatively I have install Android cast receiver (MediaShell.apk) , disable amazon's default listener port 8008 package (WhisperplayCore.apk) ,

install android cast shared library : libcast_shell_android.so , but still have issue to set it as default listener to port 8008.

Therefore is not working , maybe I should try to install it as system app.

2. Google Voice search :

Minor progress so far , I noticed that default voice search engine use different record bandwidth for microphone driver

So I will need to change setting internally , but it is not so easy cause source code is not available by google.
[Fire TV General] maleclub:
Also installed TvSetting, Leanback keyboard, Google Account Manager, Backdrop Daydream Screensaver.

But the Google Play Store not work {ver. 10.2.98(arm64-v8a,armeabi-v7a)(213,320dpi) From apkmirror.com},

and the Leanback launcher is no Recommendations(youtube ted.......)

---------- Post added at 03:51 PM ---------- Previous post was at 03:42 PM ----------

[MENTION=7825383]peleg[/MENTION]，can you use TWRP recovery to Backup the FireTV2 partition mirror(It has been installed Commonly used apk and has been set up Leanback launcher ) ? thanks very much
[Fire TV General] peleg:
Google Play is working , did you install google play services ?

Recommendation for TED and YouTube are working will attach some pics to improve that.

hopefully sharing TWRP backup will resolve the issue for you...

Yes , I will do it once I get back home.
[Fire TV General] maleclub:
thank u
[Fire TV General] Y314K:
Wow, didn't know so many things where fully functional. Great job.

More pics would be great. Any chance you may make a video walk-thru of most of the interface ? (minus any personal info)

https://xdaforums.com/android/apps-games/app-apowersoft-screen-recorder-record-t3303579

That is a free fully loaded screen video recorder that should work & it's free on the playstore.

Are there any other parts not working ? Like if you install a VPN app or being able to install/update paid playstore apps or paid Amazon apps thru the Amazon App Store App that we can use on our phones, etc... ?

Can you clarify what "leanback mode" means ?

So "leanback mode" apps work with a remote-friendly interface. Which I guess it means it's a AndroidTV version of those apps. Which I guess it would also include AFTV apps. And it's not an actual setting in an app.
[Fire TV General] peleg:
Just added more pics in main post , a video will take me a while to record . hopefully it will be ready in the following days.

Leanback mode - means fully integrate and working with android TV launcher , all installed apps are not affect by the mod installation.

meaning what worked before should work exactly the same...
[Fire TV General] Y314K:
New pics look great. Will await the vid to get the full effect of the transformation. Take your time.

I guess as long as they are Android TV playstore apps they will come with the leanback mode baked in.

The reason I was wondering if apps like VPN services & other non Android TV apps aka regular playstore & Amazon/AFTV app store apps where working fine was because of how many of Amazon packages we would be disabling in the process of converting over. Wonder of any would get affected. Sense it is still a FireOS device on the back end.

Maybe the 2nd post can be changed to a more detail changelog of what is working not working. Plus info on how the installation differs depending on device & FireOS FW version (Mostly what specific packages need disabling). Everything else should be the same for all instances right?

Since the project is so far along. I hope you & [MENTION=5957312]AFTVnews.com[/MENTION] can get together & get a pic/video guide of the proper installation started soon.:cool:
[Fire TV General] nijhawank@yahoo.com:
Hi [MENTION=7825383]peleg[/MENTION],

To my understanding unpatched MediaShell.apk (and/or dependent library) is not supposed to work because there supposed to be some kind of certificate based authentication performed. Mac addresses of certified chromecast devices are supposedly certified and authenticated.

See this thread https://xdaforums.com/android-tv/chromecast/app-cast-receiver-app-android-t2900726

The guy did some patching of MediaShell (and the dependent library), not sure if the patching was related to specifically patch the google authentication checks or something required to make it work on non-ADT1 platforms. The guy also had to patch Google Play Services framework on the client side as Google added more security as per him.

You said earlier that google cast is working with some problems, was it really casting or DIAL which anyways work with OOB FireTv and yes (if I remember correctly) it opens the youtube web-app.

Can you provide more description, what is and what's not working.

---------- Post added at 02:47 PM ---------- Previous post was at 02:34 PM ----------

Other than the xposed mods that need to be installed, there aren't many modules that you need to disable. I, for example, have only the following modules disabled...

com.amazon.device.sale.service

com.amazon.device.software.ota

com.amazon.tv.launcher/.ui.HomeActivity

The first one causes conflicts with recommendations.

The second one prevents update to amazon stock firmware

The third one is needed to have the leanback launcher as the default one

Disabling additional packages would be only if we discover additional conflicts (for example WhisperplayCore port 8008 conflicts with Google Cast Receiver) but mainly for removing amazon bloat.
[Fire TV General] maleclub:
i was succeeded to make google leanback as my default launche,but Leanback launcher is no Recommendations(youtube ted.......)
[Fire TV General] dk1keith:
I just about have this working. Have the tvsettings installed and working (to a degree), I get some recommendations. Apps show up on the home screen etc. Some issues however may be specific to my setup or settings but some problems are:

1. in settings the Apps tab force closes the settings when selected.

2. The background seems to come and go. It goes from the standard Android TV background to a black screen.

3. And perhaps the most important is after a reboot of the fire tv the box gets stuck on the Signed in Screen and won't boot to the home screen.

like I said these things may be specific to my settings or the way I have installed the Leanback Launcher and or TVSettings. One thing I have found is that Xinstaller seems to cause the TVSettings to not work. May just be what I have enabled/disabled in that app though.

Couple of thoughts on improving this for people who may want to try this: Is there not a simpler way to get this installed? imho it is still really difficult to get this working. Is there not a script or bat file or something that can make install and setup easier. Also I haven't done the steps to completely disable the Amazon Launcher which may be causing some of my isssues. For people who have Amazon Prime and still want to use Prime Video is there a way to get that functionality back through like a third party Amazon Prime Video app. I know there are some out there that work pretty well. Great effort on the part of peleg and all others who are making this work. This is the closest I have been to actually having a working Leanback Launcher on my Fire TV 1.
[Fire TV General] peleg:
Try to update to latest 5.2.4.0 version on you Fire TV Gen 2 , and then disable com.amazon.device.sale.service package
[Fire TV General] peleg:
See previous comments about this issue , it is known bug of google not provide exception handler to a case that app

data still exist but apk is not installed any more. there is a debug apk of TvSetting which tell you which of packages cause to the issue , and you can uninstall

it properly.

I can make a special .zip file backup installation, back I prefer to do so after this project will be more stable with more working figures.
[Fire TV General] PhoenixMark:
This looks interesting. I've got a spare Fire TV 2 sitting around rooted on 5.0.5. I only use my Fire TVs for Kodi. I wouldn't mind writing up another guide.
[Fire TV General] peleg:
PhoenixMark , That will be very helpfully . really appreciate that ! you can contact me for more details about the process.