[How To] Http Proxy on Amazon Fire TV Stick (non root)

Search This thread

N4b0

Member
Dec 18, 2014
12
9
Hi,

I just had the problem of being behind a Http/Https proxy and there is currently no option available to set this on the fire TV Stick.
Android offers this option at least since version 4 by default but they must have deactivatetd this feature intenionaly (region rights and such things).

But it is still possible.

1. Setup your AFTVS on a normal Wifi with internet connection ( if not already done)

2. Activate Apps from unkown sources and ADB
Settings --> System --> Developersoptions

3. Make sure your are connected to the same network as your pc.

4. Sideload following app:
Code:
AndroidProxySetter:
github.com/jpkrause/AndroidProxySetter/releases

How To sideload:
aftvnews.com/sideload/#more-7959

5. Start the App over adb on your pc:
Code:
//connect to device
adb connect 192.168.1.184:5555
//check the connection 
adb -s 192.168.1.184:5555 get-state
//start app
adb -s 192.168.1.184:5555 shell am start -n tk.elevenk.proxysetter/.MainActivity -e host 192.168.56.1 -e port 8080 -e ssid PrivateWifi -e key Passw0rd

Where u would replace the device ip, host, port, ssid and key with the settings of your network.
Please mind that ur on a linux based system and everything is case sensitiv.
For more options look here:
Code:
github.com/jpkrause/AndroidProxySetter

5. Now, if everything is fine some little popups will be displayed and at last it should say connected.

6. Going back to the home screen and Done.

Known issues: After some major updates you will need to set the proxy again, so just repeat step 4

It should also run on the normal AFTV but i got none so i can't test it.

All Credit goes to JPKrause who wrote that little app, I just happend to find it :)
 
Last edited:

N4b0

Member
Dec 18, 2014
12
9
Update 21.06.2016:
With Fire Os 5.2.1.0 it seems like you cant start adb on the device itself so you have to start the proxysetter over adb on your pc.
This "new" way doesnt require to install the terminal emulator anymore and its actually more comfortable.

best regards N4b0
 
  • Like
Reactions: zcrself

zcrself

New member
Sep 10, 2016
1
0
how to setting up proxy using pac file?

Update 21.06.2016:
With Fire Os 5.2.1.0 it seems like you cant start adb on the device itself so you have to start the proxysetter over adb on your pc.
This "new" way doesnt require to install the terminal emulator anymore and its actually more comfortable.

best regards N4b0



how to setting up proxy using pac file?
 

N4b0

Member
Dec 18, 2014
12
9
zcrself said:
how to setting up proxy using pac file?

Hi,

well I guess the AndroidProxySetter doesn't cover any way to use PAC files.
But you can actually open your pac file with an editor of your choise and extract your proxy settings from the containing functions.

bg N4b0
 

mastodonian

New member
Jul 2, 2014
4
0
Hello, I have this working on a Fire Stick, I ran the commands on a Fire TV and is not working. Anyone has this working on a AFT (no stick)?
Any help is appreciated.
Thanks.

edit: it not working anymore on my fire tv stick, I see the connection going to the proxy but in the screen it says invalid_geo_ip, somehow they manage to get my original ip. My gf is american, and we are abroad, this was the only way to watch amazon content. Sad. I'll try to get a vpn instead, but this proxy setting was easy configuration.
 
Last edited:

N4b0

Member
Dec 18, 2014
12
9
Hi mastodonian,
in my case it still works like a charm on the AFTVS. I just tried it over a vpn that my home server provides, but the tv stick then says something about geo restriction even though its a german vpn. I suppose they are doing some kind of deep packet inspection or they got an ip blacklist.
Can't say but eventually the proxy you are tring to connect uses internally a vpn or is on a blacklist.

Cheers n4b0
 

gjhech

New member
Jan 19, 2017
1
0
can someone help me with this one im a bit slow on following instructions especially codes like these :(
 

TheFixItMan

Senior Member
Jul 8, 2012
7,851
4,040
London
can someone help me with this one im a bit slow on following instructions especially codes like these :(

its pretty simple just do the following

Download adblock plus and install it on your firestick - use the power of google or an app store on your fire stick to get it

Download this app to your pc - https://github.com/jpkrause/Android...d/v0.1.3-alpha/proxy-setter-release-0.1.3.apk
Adb this app to your firestick by (assuming you have adb installed if not google howto)
enable adb on the fire stick in dev options if not already done so
adb connect 192.168.1.1 (change the ip address to your firesticks)
adb devices (you should see a list of devices connected if adb is working with your firestick ip address and port number)
adb install (then drag and drop the apk file into the command window - This will auto complete the path of the apk to save you entering it manually)

once the apk is installed
Code:
adb -s 192.168.1.1:5555 shell am start -n tk.elevenk.proxysetter/.MainActivity -e host localhost -e port 2020 -e ssid MyWifiName -e key MyWifiKey
Starting: Intent { cmp=tk.elevenk.proxysetter/.MainActivity (has extras) }

Change the ip address in the above code to your firestick ip address - the numbers after the : is the port address - it should match what you saw when you typed adb devices
Change the ssid to your wifi name and key to your wifi password

you will get some pop up windows on the firestick telling you if it has succeeded or you have errors

next open adblock plus and enable adblocking
restart the firestick
open adblock plus again and you shouldnt see the warning about it cannot manually set the proxy at the top of the screen

load up an adblock test website to test its working
 

Lav64

Member
Jun 10, 2017
32
9
Thank you for making this method clear and easy. However, even though I get the successful messages and the proxy chnages to localhost and the Port to 2020, Ad Block Plus still shows the "please configure manually" message after reboot.

Testing on some apps, the ads are most definitely not blocked!

Any suggestions?
 

xbarsasy

Senior Member
Jun 15, 2014
58
34
Marburg
Thanks for malking this app , I just have a problem , netflix connects directly and not through the proxy , any idea how to force connecting through proxy ,
 

uj812

New member
Sep 9, 2012
4
0
It works perfect

I bought FireStick today and it wouldn't let me connect to Amazon as my ISP has made mandatory to use HTTP proxy.
I followed your step wise instructions and it worked. Thanks a ton :)
 

pdesai91

New member
May 1, 2018
1
0
Hello,

Thank you for this! One issue: I'm unable to disable to proxy via adb... is there a specific way to do this? I've attempted to uninstall the apk file and clear data, but it still remains connected to the host.

Any assistance would be greatly appreciated!
 

N4b0

Member
Dec 18, 2014
12
9
Hello,

Thank you for this! One issue: I'm unable to disable to proxy via adb... is there a specific way to do this? I've attempted to uninstall the apk file and clear data, but it still remains connected to the host.

Any assistance would be greatly appreciated!

Hi,

I actually had to do this myslef recently so what i did was just remove the network via the GUI and add the network again.

If you have to do this over ADB you should try to remove the network and add it without proxy flag

Cheers N4b0
 

N4b0

Member
Dec 18, 2014
12
9
Thanks for malking this app , I just have a problem , netflix connects directly and not through the proxy , any idea how to force connecting through proxy ,

Well I have to clarify i did not make this app i just found it and put it to good use ;)

On the issue i cant really say how to force him using the proxy. This method just configures the android intigrated Wifi network stack that supports proxys since 2.X is suppose. If an app like Netflix detects this, then u need an other method.
For windows i got an app called Proxifier, but until now i didnt find anything similar for android.

Only alternativ solution for your problem I can think of would be to configure your Accesspoint with a VPN on a second virtual network (well that's how i would do it).

Cheers N4b0
 

Poareq

New member
Dec 28, 2013
1
0
Hi All,

-I posted as a guest but didnt see my message, so posting again. sorry if it will be duplicate-

After Fire OS 6.2.1.3 upgrade, this wonderful proxysetter app doesn't seem to work anymore. I tried both 0.1.3 and 0.2 versions and it can not set the proxy.
 

uj812

New member
Sep 9, 2012
4
0
Hi All,

-I posted as a guest but didnt see my message, so posting again. sorry if it will be duplicate-

After Fire OS 6.2.1.3 upgrade, this wonderful proxysetter app doesn't seem to work anymore. I tried both 0.1.3 and 0.2 versions and it can not set the proxy.

Facing the same issue, unable to connect to Amazon after October update.
Any workaround available?
 

jettaz

New member
Jan 8, 2015
3
2
Solved... I think

I recently bought a fire tv stick. But unfortunately unable to make http proxy work. Kindly advice.

Not sure if anybody is still interested in this, but I recently uninstalled the apk and was unable to install it again getting the following error: Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]

The solution is simple! The latest version of the FIreTV OS includes a proxy setting!

Just follow Step 1. in the instructions here: Blocked

The original instructions are posted on the Amazon appstore -> Appstore Blogs -> Viewing Secure (SSL/HTTPS) Traffic From Your App on Fire TVs Running Fire OS 6 on November 02, 2018

Since I've been blocked from posting a URL, here are the slightly modified instructions:

Setting a proxy on Fire TV
  1. Bring up the Developer Tools Menu by one of the following two ways:
    • Remote: 1) Press and hold the Select and Down buttons for five seconds release and then 2) Press the menu button
    • ADB: adb shell am start -n com.amazon.ssm/.ControlPanel
  2. Select Network Proxy
    • Select Manual
    • Enter your proxy IP address
    • Enter your proxy port
    • Click Save

Enjoy! :D
 

manishsoni21

New member
Jul 5, 2022
1
0
Hi All,

These proxy setting were working for me until the last update on OS 6.x and OS 7.x. The Developer setting app crashes on selecting save on the Network settings and the IP/port info is not saved.

Is someone else facing same issue.. Any work arounds?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Hi,

    I just had the problem of being behind a Http/Https proxy and there is currently no option available to set this on the fire TV Stick.
    Android offers this option at least since version 4 by default but they must have deactivatetd this feature intenionaly (region rights and such things).

    But it is still possible.

    1. Setup your AFTVS on a normal Wifi with internet connection ( if not already done)

    2. Activate Apps from unkown sources and ADB
    Settings --> System --> Developersoptions

    3. Make sure your are connected to the same network as your pc.

    4. Sideload following app:
    Code:
    AndroidProxySetter:
    github.com/jpkrause/AndroidProxySetter/releases
    
    How To sideload:
    aftvnews.com/sideload/#more-7959

    5. Start the App over adb on your pc:
    Code:
    //connect to device
    adb connect 192.168.1.184:5555
    //check the connection 
    adb -s 192.168.1.184:5555 get-state
    //start app
    adb -s 192.168.1.184:5555 shell am start -n tk.elevenk.proxysetter/.MainActivity -e host 192.168.56.1 -e port 8080 -e ssid PrivateWifi -e key Passw0rd

    Where u would replace the device ip, host, port, ssid and key with the settings of your network.
    Please mind that ur on a linux based system and everything is case sensitiv.
    For more options look here:
    Code:
    github.com/jpkrause/AndroidProxySetter

    5. Now, if everything is fine some little popups will be displayed and at last it should say connected.

    6. Going back to the home screen and Done.

    Known issues: After some major updates you will need to set the proxy again, so just repeat step 4

    It should also run on the normal AFTV but i got none so i can't test it.

    All Credit goes to JPKrause who wrote that little app, I just happend to find it :)
    2
    Solved... I think

    I recently bought a fire tv stick. But unfortunately unable to make http proxy work. Kindly advice.

    Not sure if anybody is still interested in this, but I recently uninstalled the apk and was unable to install it again getting the following error: Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]

    The solution is simple! The latest version of the FIreTV OS includes a proxy setting!

    Just follow Step 1. in the instructions here: Blocked

    The original instructions are posted on the Amazon appstore -> Appstore Blogs -> Viewing Secure (SSL/HTTPS) Traffic From Your App on Fire TVs Running Fire OS 6 on November 02, 2018

    Since I've been blocked from posting a URL, here are the slightly modified instructions:

    Setting a proxy on Fire TV
    1. Bring up the Developer Tools Menu by one of the following two ways:
      • Remote: 1) Press and hold the Select and Down buttons for five seconds release and then 2) Press the menu button
      • ADB: adb shell am start -n com.amazon.ssm/.ControlPanel
    2. Select Network Proxy
      • Select Manual
      • Enter your proxy IP address
      • Enter your proxy port
      • Click Save

    Enjoy! :D
    1
    Update 21.06.2016:
    With Fire Os 5.2.1.0 it seems like you cant start adb on the device itself so you have to start the proxysetter over adb on your pc.
    This "new" way doesnt require to install the terminal emulator anymore and its actually more comfortable.

    best regards N4b0