[Fire TV 2 Kernel Module] Xbox One Controller Support

[Fire TV 2 Kernel Module] Xbox One Controller Support

This is the XPAD linux kernel module, built for the Fire TV 2. Kindly enough, Amazon built their kernel with module support, so we can load modules. We’ll have to wait until we get kexec before we can fully replace the kernel.

Note: I added modules for the Fire TV 1, but I don’t own a Fire TV 1 so they’re unsupported. I’ve had others tell me they work great though.

Demo Video

Prerequisites:
rooted amazon fire tv 2

Instructions:

  1. Download the Zip and extract the two modules
  2. Copy the modules to your fire tv wherever you like
  3. Open a shell.
  4. Type these commands, accept root permission on your FireTV if prompted:
    Code:
    su
    mount -o remount,rw /system
    cp /system/usr/keylayout/Vendor_045e_Product_0291.kl /system/usr/keylayout/Vendor_045e_Product_02d1.kl
    chmod 644 /system/usr/keylayout/Vendor_045e_Product_02d1.kl
    mount so remount,ro /system
    reboot
  5. When your FireTV comes back up, open a shell again.
  6. Type these commands, accept root permission on your FireTV if prompted:
    Code:
    su
    insmod <module location>/ff-memless.ko
    insmod <module location>/firepad.ko

Your controller should instantly work. Upon every reboot you’ll have to ‘insmod’ the modules again.

A nice way to deal with this is D4rKn3sSyS‘s Module Loader Apk from 2011.
You can find that here: http://forum.xda-developers.com/show….php?t=1228605
Basically, you need to give it permanent root access, add your modules in the list, save them, and go into the settings of the app to enable it on boot. (Use the Menu key on your remote to enter the settings)

Enjoy!

Use at your own risk!
Source can be found here:
https://gitlab.com/miketweaver/andro…_amazon_sloane

Thanks goes to:

  • zeroepoch – For root. You rock, my friend.
  • xpad developers – They coded the module. I just changes a few function names to make it work on the firetv2.

Download Mirrors:
Fire TV 1
Fire TV 2

Attached Files
File Type: zip firepad-aftv1.zip[Click for QR Code] (294.5 KB, 0 views)
File Type: zip firepad-aftv2.zip[Click for QR Code] (140.8 KB, 0 views)

truth863