[Android] Wireguard on the Amazon FireTV stick

Christophe-Marie Duquesne chmd at chmd.fr
Tue Jan 8 11:26:06 CET 2019


Hi there,

I tried to run Wireguard on the FireTV stick. The only other relevant
reference I found for doing this was on reddit [1], where people
recommended to use TunSafe. TunSafe is unfortunately still closed-souce
(AFAIK), and the wireguard developers have already expressed negative
opinions against it [2], so I would rather use the official app instead. I
am reporting here so that people interested in doing the same thing find
this thread and know what has been attempted.

Here is what worked do so far:
- Install the app
- Load a configuration for an interface

Here is what I still cannot do:
- Start the interface
- Automatically start it at boot

How to reproduce:
- Install the app:
  - On the FireTV:
    - activate the relevant developer options on the FireTV stick (adb and
external sources)
  - On a workstation:
    - visit F-Droid [3] and download the apk
    adb start-server
    adb connect <ip-address-of-firetv>
    adb install com.wireguard.android_445.apk
- Load a configuration:
  - On a workstation:
    adb push wg0.conf /sdcard
  - On the FireTV:
    - navigated the menu to create a configuration from file, selected the
file I pushed

Here is where I am stuck:
The FireTV stick can only be navigated with their remote control, which has
a very basic keypad allowing to move from button to button with <up>,
<left>, <down>, <right>. Unfortunately, once an interface is configured, I
do not manage to navigate to the button to enable it.

And here are questions to the Wireguard Android devs:
- Could you let me know which Intent is sent when one enables the
interface? I would like to try to enable the interface from adb.
- In case Wireguard turns out to run on the FireTV, would you consider
adding code to make the UI navigable?

Cheers,
Christophe-Marie

[1]:
https://www.reddit.com/r/WireGuard/comments/9zmzgv/wireguard_on_a_fire_tv_stick/
[2]: https://lists.zx2c4.com/pipermail/wireguard/2018-March/002448.html
[3]: https://f-droid.org/en/packages/com.wireguard.android/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20190108/5d0b84c6/attachment.html>


More information about the WireGuard mailing list