FORUMS
Remove All Ads from XDA

[MOD][XPOSED] Fire TV Mods by rbox

1,590 posts
Thanks Meter: 1,970
 
By rbox, Recognized Developer on 18th June 2014, 06:45 AM
Post Reply Email Thread
This is a collection of Fire TV mods using Xposed. It requires that you are on software version 51.1.4.0 or newer. It currently contains:
  • AlternateLauncher: This will start an alternate launcher instead of the Amazon one. It will load when the Fire TV starts and anytime you push the home button. The way this is done is a little hokey and there is currently no way to turn it off or select which launcher you want, so if you have more than one, the one that gets started is it.
  • HideAmazonMenuItems: Gives a settings menu to select which menu items to show.
  • HideLauncherAds: Hide the ad at the top of the Home screen.
  • KeyBindings: Allows any key to start any app.
  • RecentsOnMenuLong: Bring up the recents dialog when long pressing the home button.
HideAmazonMenuItems:
In order to do this, I had to hijack an existing Settings item, so the Help option is gone and I put a 'Menu Items' option at the beginning of the settings list. You can turn on/off any item except Home and Settings. After making changes you must reboot to see the changes.

KeyBindings:
Someone requested this, but doing a UI for it would be too complicated, and I figured I'd put the feature out there for people to use, and eventually get around to making a UI for it. For now, you'll have to configure it manually. Create a file called key_bindings.xml and make it look like this:
Code:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<string name="KEYCODE_F1">org.chromium.content_shell_apk</string>
<string name="KEYCODE_F2_LONG">com.pandora.android.gtv</string>
</map>
You can have as many entries as you like. You can find the KEYCODE names listed here: http://developer.android.com/referen.../KeyEvent.html To set up a long press key put _LONG at the end of the key name. The other part is the package name you wish to start, org.chromium.content_shell_apk is Netflix. Then just adb push key_bindings.xml /sdcard/ and reboot. And it should start whatever app you specified when pressing that button. Do note that the button will not longer do whatever else it used to do. So if you bind ENTER to something, it will not longer function normally. By default, long press on home will launch the recents dialog. If you set up KEYCODE_HOME_LONG, it will override that behavior.

Starting with 51.1.5.0, Amazon provides a shortcut menu on home long press. If you would like to retain this functionality, you can use this key_bindings.xml file (Thanks to @Firef0xx819):
Code:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<string name="KEYCODE_HOME_LONG"></string>
</map>
Please let me know if you have any issues. One problem I know of is that it doesn't seem to show up in the list of applications, so if you want to uninstall it you need to use adb, ssh, or a terminal using the command pm uninstall rbox.xposed.firetvmods

Source code: https://github.com/androidrbox/RboxFireTvMods/

Changelog and Downloads:
  • 1.4: Added HideLauncherAds
  • 1.3: Fix HideAmazonMenuItems for 51.1.4.0.
  • 1.2: Allow KeyBindings to support long press keys
  • 1.1: Added HideAmazonMenuItems, KeyBindings, and RecentsOnMenuLong
  • 1.0: Initial version
The Following 42 Users Say Thank You to rbox For This Useful Post: [ View ]
 
 
19th June 2014, 05:32 PM |#2  
elmerohueso's Avatar
Senior Member
Flag Provo
Thanks Meter: 225
 
Donate to Me
More
Awesome. XBMC is now my launcher!
20th June 2014, 12:51 AM |#3  
Junior Member
Thanks Meter: 11
 
More
Quote:
Originally Posted by elmerohueso

Awesome. XBMC is now my launcher!

how? I have Xposed installed and have installed and activated the module ... how do I choose xbmc as the launcher?
20th June 2014, 03:54 AM |#4  
OP Recognized Developer
Thanks Meter: 1,970
 
Donate to Me
More
I assume it's because he repackaged or recompiled the apk to include the launcher intent.
20th June 2014, 06:55 PM |#5  
Junior Member
Thanks Meter: 8
 
More
I found a handy app on the Play Store that allows XBMC to act as a launcher without having to make any modifications to the XBMC .apk. I just sideloaded it after installing/activating the Xposed module, and now pressing the home button takes me to XBMC right away. Seems to work perfectly so far, although I haven't yet tested what happens when there is more than one launcher installed.

Play Store link for XBMC Launcher:
https://play.google.com/store/apps/d...n.xbmclauncher

Evozi APK Downloader link:
http://apps.evozi.com/apk-downloader...n.xbmclauncher
The Following 2 Users Say Thank You to essdee For This Useful Post: [ View ] Gift essdee Ad-Free
20th June 2014, 10:50 PM |#6  
Junior Member
Thanks Meter: 1
 
More
I've installed xposed, and the module. The module is activated, but I have no alternate launcher on bootup, or when I press home.
20th June 2014, 11:53 PM |#7  
Senior Member
Flag Fullerton
Thanks Meter: 40
 
More
Quote:
Originally Posted by treqie

I've installed xposed, and the module. The module is activated, but I have no alternate launcher on bootup, or when I press home.

I believe you need to launch that alternate launcher first.
21st June 2014, 12:58 AM |#8  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by Shinyhead

I believe you need to launch that alternate launcher first.

And where might that be, exactly? There's nothing in Applications, the module has been loaded and activated.. but there's nothing in xpose itself that points me to anything launchable.
21st June 2014, 01:12 AM |#9  
Senior Member
Flag Fullerton
Thanks Meter: 40
 
More
Quote:
Originally Posted by treqie

And where might that be, exactly? There's nothing in Applications, the module has been loaded and activated.. but there's nothing in xpose itself that points me to anything launchable.

I used FiredTV launcher as my alternate launcher. http://forum.xda-developers.com/show....php?t=2782307
21st June 2014, 02:58 AM |#10  
cstark27's Avatar
Senior Member
Kansas
Thanks Meter: 37
 
More
Quote:
Originally Posted by treqie

And where might that be, exactly? There's nothing in Applications, the module has been loaded and activated.. but there's nothing in xpose itself that points me to anything launchable.

You need to install another launcher, the xposed module isn't a launcher itself. Install the XBMC Launcher linked above by essdee. I just restarted my FireTV and it worked right away.
21st June 2014, 03:20 AM |#11  
Junior Member
Thanks Meter: 3
 
More
I get "sorry, cannot open" when I try to launch! What am I doing wrong? I've installed using ADB and shell. Both give me the same result when I try to launch.
Post Reply Subscribe to Thread

Tags
xposed

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

Advanced Search
Display Modes