How to connect a USB Keyboard or Mouse to a rooted Fire TV Stick with an OTG Cable


Since the Amazon Fire TV Stick only has a single micro USB port that’s used for power, Amazon chose to disable the On-The-Go (OTG) capabilities of the device. OTG is a specification that allows you to connect USB peripherals, like keyboards and mice, to a micro USB port that is also used for power. Now that the Fire TV Stick is rootable, it’s possible to enable the device’s OTG feature. While rbox was working on getting TWRP custom recovery working on his new Fire TV Stick, he figured out how to enable OTG, so here’s how to do it.

You’re going to need a micro USB OTG cable with power. Here is the exact one I have which I can confirm works with the Fire TV Stick. I was able to connect the Logitech K400 Keyboard and both the keyboard and touchpad worked. I was also able to connect a separate USB keyboard and USB mouse using a USB hub just fine.

I was unable to mount any kind of external storage. I tried StickMount and several OTG “helper” apps with no luck. Also, enabling OTG support does not survive a reboot, so you’ll need to perform these steps again if you reboot your Fire TV Stick.

  1. Connect your OTG cable to the Fire TV Stick and then connect power to the OTG cable.
  2. Once the Fire TV Stick has fully booted, connect to it via ADB.
  3. Run the command: adb shell
  4. Run the command: su
  5. Run the command: echo 1 > /sys/devices/platform/bcmpmu_otg_xceiv/host
  6. Run the command: exit
  7. Run the command: exit
  8. You can now connect a USB peripheral to your OTG cable and it should work. Remember, rebooting your Fire TV Stick will disable OTG capabilities, so you’ll have to follow these steps again to re-enable OTG capabilities after rebooting.


  1. Schwifty says:

    Maybe it will with Flirc also. Awesome thanks for the info

  2. tech3475 says:

    Did you try mounting it manually?

    In theory, could we also create a shell script which runs the usb otg commands on boot? I know you could in earlier versions of Android through init.d but not later ones without a third party app.

    • AFTVnews says:

      I have not tried mounting it manually. Once rbox releases pre-rooted ROMs with SuperSU installed, it will be trivial to write a script that enables OTG on boot because SuperSU has a feature that runs any script on boot. I’m sure there are other ways to do it without SuperSU as well.

  3. dontje says:

    it will be more useful if USB external storage is functional
    since 8G internal fire stick storage might be limited.

  4. Darren says:

    Did you try a USB ethernet adapter?

  5. ImCoKeMaN says:

    Nice work, looks like this could be put in an init type script and run on boot. Wonder if that could also be baked into recovery.

    As for the Flirc comment, it does act like a keyboard and that’s how I manage recovery on my AFTV1 now (unlocked bootloader type). This could be another option on firetv stick if the OTG bit can be started right away.

  6. rp says:

    I have rom tool box light and I used scripter to launch the premade script to do this using simple remote clicks easily. I’ll worry about launch at boot when I’m done testing with it.

    I connected an ihome non-powered 3port usb hub and a mouse to it. worked great. I then connect a low power usb ethernet adapter from monoprice and networking went from “wifi ssid” to “wired” but it did not get an ip address. I also tried it without hub same results. perhaps another command similar to enableling otb to do the same for wired or I just dont have a compatible driver. it might be missing a file we can just pilfer from the ftv. awesome mod.

    • rp says:

      works with k400 and k700 keyboards (with 3port hub and additional mouse at same time)

      • rp says:

        usb ethernet works. I went to system\about\network and it did not show any mac for ethernet adapter nor dhcp address info.

        I ran terminal from romtoolbox and su, “busybox ifconfig” and saw eth0 was given a lease. I tested network connection and it was fine. altthough I could connect to eth0 via adb I could not run “adb shell” so to answer does usb-ethernet work…yes.

        • eric jiang says:

          hi rp,can you use usb ethernet adapter with ftv stick stable? when i used it with ftv stick , it will reboot after 4m/s (network speed) every time! sorry about my poor english!

  7. dontje says:

    Happen to know that somebody in XDA has difficulty to make stickmount working
    By disable USB debugging then work?

  8. Brian says:

    Can the Chromecast power/ethernet adapter work with otg enabled?
    That and some extra USB storage would be great.

  9. rp says:

    I was hesitant to enable the script to run at boot using rom tool box scripter but I tried it and it worked fine here is the script I used.

    filename: EnableOTG
    —script begins below do not include this line—-
    echo 1 > /sys/devices/platform/bcmpmu_otg_xceiv/host
    —script ends here do not include this line—–

    also this is the usb ethernet adapter that worked for me. I’m sure many others work also. but keep in mind a low power ethernet may be a plus when using a hub.

  10. xnamkcor says:

    On a similar note, The Chromecast is in a similar situation, but Google did not disable OTG. Though I’ve only ever got an Ethernet adapter to work.

  11. H1k1 says:

    I’d be grateful if anyone with a working OTG cable for the Stick could measure the resistance between pins 4 & 5 on the micro end and post it.

    Many OTGs have 68k or 100k ohms (or even 0!). Some devices expect resistance in a certain range.

  12. Aarav says:

    Do you have to be rooted in order to do this?

  13. u2pop says:

    hello, i bought this usb otg cable didnt worked with my mouse/keyboard my mouse get light red but nothing move and the keyboard nothing write into amazon firestick display… any idea why there recomend this one if didnt tested it before? im able if somebody have any idea for fix it? thanks.

  14. J conlin says:

    Here is my Fire Stick running Flash drive and a Hard drive.
    They only seem to work in Es File Explorer.

  15. Raffaello says:

    I have a Fire Stick running OS version which I ubderstand from AFTV News is not rootable. Therefore I guess the procedure above cannot be implemented. Is there another way to attach a keyboard to the Fire TV Stick

Leave a Reply

Your email address will not be published. Required fields are marked *