FORUMS
Remove All Ads from XDA
Honor CEO Thread

[APP][NO ROOT][ANDROID TV] Leanback Launcher for Fire TV

78 posts
Thanks Meter: 90
 
By rockon999, Member on 16th February 2018, 08:17 AM
Post Reply Email Thread
Leanback on Fire
Android TV Launcher Ported to Fire TV

Alpha 2 is out!

Source Code: https://github.com/rockon999/LeanbackLauncher/
Releases: https://github.com/rockon999/LeanbackLauncher/releases

Home

(More screenshots are attached)

Tested on:
- Fire TV Stick 2

Features:
- Can open Bluetooth and WiFi settings without the stock launcher installed.
- Opens notification center, notification settings, and displays the current amount of unread notifications.
- Can display Amazon-downloaded apps in the store for easy updating and management.
- Can open individual app's settings.
- Can sort applications by categories (video, music, favorites, etc)
- Stripped of all Google services (to prevent crashes!)

Limitations:
- Recommendations were removed (unfortunately they are too unstable and unworkable without root, though I am exploring a method of adding them back into the launcher in Alpha 3)
- As this is based on decompiled sources there are bugs that must be squashed
- The uninstall button in edit mode is broken via the traditional Android TV method. Instead use the Fire TV app menu.
- Also, the done button in edit mode is broken too. Simply use the back button on your remote

Basics:
- The menu button will open up an app menu.
- The edit favorites launcher in the settings row can be used to add apps you want easy access to. Press back to exit the selection screen.

Installation:
- Install like any other APK over ADB. (adb install [path])
- If you want the notification counter you need to execute the following command: "adb shell pm grant com.rockon999.android.leanbacklauncher android.permission.WRITE_SECURE_SETTINGS"
- If you are on firmware 5.2.6 or lower you can disable the stock launcher. See this thread for more information. I don't recommend disabling all amazon features. Only OTA and com.amazon.tv.launcher.
- You should install LauncherHijack v3 for a fully functioning home button.
- If you want Google Search you'll need to install a specific version. 've found a working 2.x series version that is better looking, more stable, and much faster than the previous 1.x version. You can get the APK here. Note: The current version of Leanback on Fire may crash if you try to use the "microphone" orb to interact with the 2.x version. Always use the keyboard orb.
A future version will remove the microphone orb. Unfortunately the latest version is incompatible but an older version works surprisingly well. I've found version 1.0.6.2108324 to be the most stable. You can download the APK here.

Notes:
-The notification counter is still in its infancy and may not always function exactly.
- The app must be restarted for WRITE_SECURE_SETTINGS permission to take effect.
- I'll be posted a full guide to the various Android TV APKs that function on Fire TV soon - The guide is posed in General
Attached Thumbnails
Click image for larger version

Name:	1.jpg
Views:	6476
Size:	106.0 KB
ID:	4421604   Click image for larger version

Name:	2.jpg
Views:	6524
Size:	104.2 KB
ID:	4421605   Click image for larger version

Name:	3.jpg
Views:	6488
Size:	103.4 KB
ID:	4421606   Click image for larger version

Name:	4.png
Views:	6238
Size:	46.6 KB
ID:	4421607   Click image for larger version

Name:	5.jpg
Views:	5970
Size:	74.7 KB
ID:	4421608   Click image for larger version

Name:	6.jpg
Views:	5792
Size:	66.1 KB
ID:	4421609  
The Following 19 Users Say Thank You to rockon999 For This Useful Post: [ View ] Gift rockon999 Ad-Free
 
 
16th February 2018, 01:13 PM |#2  
Senior Member
Thanks Meter: 45
 
More
Quote:
Originally Posted by rockon999

Leanback on Fire
Android TV Launcher Ported to Fire TV

Source Code: https://github.com/rockon999/LeanbackLauncher/
Releases: https://github.com/rockon999/LeanbackLauncher/releases

Home


(More screenshots are attached)

Tested on:
- Fire TV Stick 2

Features:
- Can open Bluetooth and WiFi settings without the stock launcher installed.
- Opens notification center, notification settings, and displays the current amount of unread notifications.
- Can display Amazon-downloaded apps in the store for easy updating and management.
- Can open individual app's settings.
- Favorites row
- Stripped of all Google services (to prevent crashes!)

Limitations:
- Recommendations were removed (unfortunately they are too unstable and unworkable without root, though I am exploring a method of adding them back into the launcher)
- As this is based on decompiled sources there are bugs that must be squashed
- Uninstall is broken via the traditional Android TV method. Instead use the Fire TV app menu.

Basics:
- The menu button will open up an app menu.
- The [+] tile in the favorites row can be used to add apps you want easy access to. Press back to exit the selection screen.

Installation:
- Install like any other APK over ADB. (adb install [path])
- If you want the notification counter you need to execute the following command: "adb shell pm grant com.rockon999.android.leanbacklauncher android.permission.WRITE_SECURE_SETTINGS"
- If you are on firmware 5.4.0 or lower you can disable the stock launcher. See this thread for more information. I don't recommend disabling all amazon features. Only OTA and com.amazon.tv.launcher.
- You should install LauncherHijack v3 for a fully functioning home button.
- If you want Google Search you'll need to install a specific version. Unfortunately the latest version is incompatible but an older version works surprisingly well. I've found version 1.0.6.2108324 to be the most stable. You can download the APK here.

Notes:
-The notification counter is still in its infancy and may not always function exactly.
- The app must be restarted for WRITE_SECURE_SETTINGS permission to take effect.
- I'll be posted a full guide to the various Android TV APKs that function on Fire TV soon

Wow thanks for this. This is pretty kool. Haven't tried it on m Fire TV 1 yet, but FYI it installed and works great on my M8S Android TV box. I installed it just to see if it would work and it seems to work as intended even on a non amazon device. Will let you know how it works on the Fire TV.
16th February 2018, 03:01 PM |#3  
Senior Member
Thanks Meter: 14
 
More
I tried it on my fire tv 3 with no luck. I can see the apps but when I try to open them they just flash for a second and don't open. Thanks for all you do.
16th February 2018, 07:12 PM |#4  
Quote:
Originally Posted by BRICK0044

I tried it on my fire tv 3 with no luck. I can see the apps but when I try to open them they just flash for a second and don't open. Thanks for all you do.

If you can send me the relevant logs (adb logcat | grep leanbacklauncher) I can try to add Fire TV 3 support
16th February 2018, 08:50 PM |#5  
Senior Member
Thanks Meter: 14
 
More
I have never used logcat but I tried to use it from adblink. Should I be tring to open the apps while it is logging and then find "grep leanbacklauncher"?
16th February 2018, 11:08 PM |#6  
Quote:
Originally Posted by BRICK0044

I have never used logcat but I tried to use it from adblink. Should I be tring to open the apps while it is logging and then find "grep leanbacklauncher"?

I was listing the command to get any log results from the launcher. If you're on a Mac/Linux run "adb logcat | grep leanbacklauncher" in your terminal. If you're on Windows you should be able to use the command "adb shell logcat | grep leanbacklauncher" instead. Once you've run the command attempt to open an app, hopefully an error will appear in your terminal.
17th February 2018, 02:49 AM |#7  
Senior Member
Thanks Meter: 14
 
More
Tried the command you listed and get 'grep' is not recognized as an internal or external command, operable program or batch file.
17th February 2018, 05:00 AM |#8  
Quote:
Originally Posted by BRICK0044

Tried the command you listed and get 'grep' is not recognized as an internal or external command, operable program or batch file.

Try executing "adb shell" and then running "logcat | grep leanback" in the adb shell that opens.
17th February 2018, 01:51 PM |#9  
Senior Member
Thanks Meter: 14
 
More
Quote:
Originally Posted by rockon999

Try executing "adb shell" and then running "logcat | grep leanback" in the adb shell that opens.

that worked. here is the logcat Thank you.
Attached Files
File Type: txt logcat firetv 3.txt - [Click for QR Code] (13.1 KB, 78 views)
17th February 2018, 03:14 PM |#10  
AFTVnews.com's Avatar
Senior Member
Thanks Meter: 356
 
Donate to Me
More
Awesome work! Let me know if there's any way I can help.
17th February 2018, 03:58 PM |#11  
Junior Member
Thanks Meter: 0
 
More
Thanks so far this is great hopefully we can get some improvments like the ability to line up apps the way we want and maybe even change the titles. Is there anyway I can send a small thank you
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes