USB tether setup - EVO 4G General

This is for all who are not brave enough to root your phone, but want tethered internet from your Android phone to your laptop or desktop.
Android free USB tether.
The following procedure will allow you to access the Internet through one computer using your Android phone. Rooting is not required. Uses Android App "Internet Sharer" by JADS, but you can use any Android Proxy Server, with slight modification.
This is not a Wi-Fi hotspot, and it is not a Bluetooth PAN.
Always make sure you know what your doing, before you do it. I’m not responsible for your internet not working on your computer. I’m also not responsible for your phone bill.
You assume all risk.
I recommend you research “Internet Sharer JADS“, “proxy server”, “port forwarding”, and “Android ADB” before executing the procedure.
Procedure Tested on:
Android: Sprint HTC EVO 2.2 non-rooted
Computer: Windows 7 laptop, Wi-Fi
High level view:
1. Setup proxy server on Android phone
2. Use Android phone USB debuging port and Android SDK on computer, to forward computer’s localhost port 1080 (SOCKS5) and 8080 (HTTP) to Android phone.
3. Setup browser to point to proxy server on Android phone.
Detailed setup:
Install ADB drivers on computer:
1. You need to install the ADB driver for you phone.
- HTC this can be done by downloading the HTC Sync program. You can remove HTC Sync, just don’t remove the “HTC driver Installer”.
- Others follow instruction on Internet.
2. Connect your phone to the USB port on your computer.
Install SDK on computer
1. Download Android SDK from developer.android.com.
2. Unzip the SDK file to the following location: C:\Android\
Android Setup:
1. Set USB debug. Go to Settings -> Applications -> Development ->USB debuging (Make sure this option is checked). This will allow the SDK program ADB to talk to the phone.
2. Download from the Android Market the program “Internet Sharer” by JADS Limited. This is a free program. This program is a HTTP and SOCKS 5 proxy server.
3. Launch the “Internet Sharer” program.
Computer Setup:
My recommendation is to use Firefox as the program you use to access the Internet, as it allows you to setup the proxy and DNS proxy. If you require more than the plain Internet, such as Flash, and other programs that use the Windows connection settings you’ll need to change the proxy on the IE browser. IE does not support HTTPS, using this method.
Proxy server setup:
1. From a cmd window run the following commands:
c:\Android\android-sdk-windows\tools\adb forward tcp:1080 tcp:1080
c:\Android\android-sdk-windows\tools\adb forward tcp:8080 tcp:8080
Note: Use the path that is relevant to the ADB command.
Firefox setup:
1. Download and launch Firefox.
2. Under Tools -> Options -> Advanced -> Network -> Settings.
3. Select Manual proxy configuration.
4. All Proxys are blank, except SOCKS Host: is “localhost”, no quotes, Port 1080. Select SOCKS v5.
5. Ok out of the Options window.
6. In the URL text box, type in “about:config”, click the “I’ll be careful, I promise!” button.
7. In the Filter text box, type in “dns”
8. Locate the “network.proxy.socks_remote_dns” option, click it until it’s value is “true”.
9. The procedure is complete.
Internet Explorer 8 (IE):
1. Go to the LAN settings window. Select “Tools” -> “Internet Options” -> “Connections” -> “LAN settings”.
2. Un-check “Automatically detect settings,. You can possibly leave this checked if your unsure of the integrity of this procedure.
3. Check “Proxy Server box”, click on “Advanced” box.
4. Enter HTTP: “localhost”, Port 8080, and Socks: “localhost”, Port 1080.
5. Ok out of the “Internet Options” window.
6. Procedure is complete.
Note: IE does not support HTTPS,using this method, let me know differently.
Test configuration:
1. Make sure the Android “Internet Sharer” application is running.
2. The Proxy server setup is done with the adb forward commands ran.
3. Disable the Internet interfaces on your computer.
4. Access the Internet, via your proxy server enabled browser, or computer program.
5. On the “Internet Sharer” screen you will see text scrolling. If SOCKS server is being used, it’ll pre-pend SOCKS to the IP being pulled. If HTTP server is being used, it’ll pre-pend GET/PUT to the lines.
Hulu:
Requires IE setup, as the Flash proxy is set by the IE proxy settings. You can use Firefox to launch the URL.
HTTPS sites
Works fine on Firefox, using SOCKS 5 proxy. I haven’t had success on IE, but could be possible with PAC???
Common Issues:
Not connected to Internet…
-Make sure that IE has a HTTP proxy setup, port 8080 on the Proxy Server.
-For Firefox, make sure that the DNS Remote setting is TRUE.
Backout:
If for some reason it doesn’t work for you do the following:
1. Remove the proxy settings from Firefox, IE, and any other program you may have set proxy settings on.
2. Remove the proxy server from the Android Phone.
3. The SDK can be removed by deleting the SDK directory.
4. ADB driver can be removed using the standard windows Control Panel Software Uninstaller. Uninstall HTC driver Installer.
Good luck!

romah said:
Proxy server setup:
1. From a cmd window run the following commands:
c:\Android\android-sdk-windows\tools\adb forward tcp:1080 tcp:1080
c:\Android\android-sdk-windows\tools\adb forward tcp:8080 tcp:8080
Note: Use the path that is relevant to the ADB command.
Firefox setup:
1. Download and launch Firefox.
2. Under Tools -> Options -> Advanced -> Network -> Settings.
3. Select Manual proxy configuration.
4. All Proxys are blank, except SOCKS Host: is “localhost”, no quotes, Port 1080. Select SOCKS v5.
5. Ok out of the Options window.
6. In the URL text box, type in “about:config”, click the “I’ll be careful, I promise!” button.
7. In the Filter text box, type in “dns”
8. Locate the “network.proxy.socks_remote_dns” option, click it until it’s value is “true”.
9. The procedure is complete.
Click to expand...
Click to collapse
Worked like a charm
Want to add this : Even works to share an already established wifi connection.
During my vacation, my hotel only provides me one free wifi access that I configure on my phone. Using this method allows me to share the free wifi connection with my mac book pro, thanks

Just asking
romah said:
Proxy server setup:
1. From a cmd window run the following commands:
c:\Android\android-sdk-windows\tools\adb forward tcp:1080 tcp:1080
c:\Android\android-sdk-windows\tools\adb forward tcp:8080 tcp:8080
Note: Use the path that is relevant to the ADB command.
Click to expand...
Click to collapse
Is this used to forward ports? Can I forward minecraft ports using this? thanks!

Look up the adb forward command if you want specifics, but yes.

That procedure would be too complicated for me. I used to use the easytether app. I always held on to the version that came out just before the one in which they started making people pay for it. I always made sure I kept a backup copy of that app and program at all times. I don't use it anymore because I am another phone now.

Related

tried every methods and i still cant unlock my hd2 wp7 can some one help please

i tried these direction....below (did not mean to post this here )..i dont know what else to do
1. Install WP7 sdk Windows Phone Developer Tools;
2. Install zune;
3. Make partneship with zune and phone;
4. Attach the ChevronWP7.cer(you found in the toolkit) to your email and send the email to your email itself (On PC);
5. Login to your email account (On Phone), Open the email, Select attachment and install the cert;
6. Connect your phone to pc and make sure zune is running in background;
7. Run the unlocker (ChevronWP7.exe) and click unlock button(Make sure your phone date is set correctly)
(you need to close skype and disable network adapter.. hamachi.. wireless.. Dropbox.. etc)
6. Install toms .xap installer;
7. Deploy Connection Setup.xap, Touch Xplorer.xap and XBMODDeployer.xap (Install it on the phone and run XBMODDeployer.xap);
8. Copy the .provxml from the ringtons folder to the windows folder (on the phone using touch explorer app);
9. Run connection setup to install the .provxml;
10. Call Microsoft helpdesk and ask them an activating key for your hd2 (don't pm me for the key)
11. Setup up your live ID and enter the activation code (on the phone).
(also i tried these directions to ...below)
1 - Disable LAN card in your PC (Control Panel\Network and Internet\Network Connections\ right click on "Local Area Connection" and choose "disable"). It is very important to disable ALL connections, but you MUST remember which one is used for Internet access (see below, why).
2 - Do all the standard steps of unlock - install certificate, start WPConnect e.t.s. When Chevron fails to unlock - LEAVE IT OPEN.
3. Start Notepad and open hosts. Delete lines added by Chevron (at the bottom). Save. LEAVE NOTEPAD OPEN.
4. Press Win+R and enter IPConfig /flushdns , press "enter". CMD window will blink for a second - that's normal.
5. Press Win+R again (there will be IPConfig /flushdns typed already), but DO NOT PRESS "ENTER", just leave this window open.
6. Now the trick. Start WPConnect. WHILE it connects, continue to repeatedly press "Unlock" button in Chevron, until the black CMD window of WPconnect disappears. Chevron will fail to do its job, but that's in fact is the very thing we need.
7. Now, do not touch Chevron window, just return to Network Connections and ENABLE yor LAN card.
8. Go to Notepad and JUST CLICK "Save", do not alter anything inside.
9. Return to the window with the typed command IPConfig /flushdns . Press Enter.
10. Start WPConnect, WAIT until it disappears, and press "Unlock" button in Chevron. You're done - this time unlock would work
these r the third set of steps i took 9and nothing )
1. Have Winphone developer tools installed. Download it for yourself
2. Connect Phone via USB
3. Wait till zune starts and sync completes
4. Verify that zune is not in a guest relationship
5. open a command prompt, type netstat -a to confirm that port 443 is not being used
6. open an admin command prompt, navigate to c:\windows\system32\drivers\etc\ then type notepad hosts and delete any references to windowsphone developer services
7. go to the settings on the phone and turn airplane mode on (so that the phone is forced to use internet via zune)
8. While the phone is still on the settings page, run Chevron with admin privileges
post the list of steps u took.
may b u r not following some of the instructions..
i got my hd2 unlocked in 1st attempt. its a fairly straight forward method..
jus' relax n try again...
i just posted the steps i took and also i eve just tried hese steps (and still nothing )
1. Have Winphone developer tools installed. Download it for yourself
2. Connect Phone via USB
3. Wait till zune starts and sync completes
4. Verify that zune is not in a guest relationship
5. open a command prompt, type netstat -a to confirm that port 443 is not being used
6. open an admin command prompt, navigate to c:\windows\system32\drivers\etc\ then type notepad hosts and delete any references to windowsphone developer services
7. go to the settings on the phone and turn airplane mode on (so that the phone is forced to use internet via zune)
8. While the phone is still on the settings page, run Chevron with admin privileges
my way:
1-restart computer safe mode and login
2-restart again and login normaly
3-plug the phone-start zune-start ChevronWP7.cer and try unlock...
ı don't know why but its works for me
sorry for english
brianb2 said:
i just posted the steps i took and also i eve just tried hese steps (and still nothing )
1. Have Winphone developer tools installed. Download it for yourself
2. Connect Phone via USB
3. Wait till zune starts and sync completes
4. Verify that zune is not in a guest relationship
5. open a command prompt, type netstat -a to confirm that port 443 is not being used
6. open an admin command prompt, navigate to c:\windows\system32\drivers\etc\ then type notepad hosts and delete any references to windowsphone developer services
7. go to the settings on the phone and turn airplane mode on (so that the phone is forced to use internet via zune)
8. While the phone is still on the settings page, run Chevron with admin privileges
Click to expand...
Click to collapse
if u use skype shut it down, also turn temporary of all antiviruses and firewales...
it worked for me
I have been experiencing the same problem. What I have discovered is that after several attempts I have just left the chevron in the background without closing it after the last fail for around 10 minutes. After that I have just thought that it is worthed to give it a try and then suddenly was saying that the phone is unlocked and instead UNLOCK button there was just RELOCK button. Hope that this will help you. The only thing that I have shutdown was skype and the chevron was run with administrative rights.
I'm in the same trouble, the first time that i installed all work fine at 1st attemp, then the device was blocking itself and never more i can unlock again, i tried all method explained here an in other sites i reflashed the phone again, but nothing it seems that my phone is in a black list or something.

HOWTO: Ubuntu USB reverse tethering

def:"Reverse tethering" : sharing your PC's internet connection with your Android phone.
This is suppose to work with any rooted Android device with the latest of Busybox. I own an Atrix and I use Ubuntu, and it works. If you own X and use Y, I don't care . It is also suppose to work with any USB tether-able Android device (like in proper, not the kind where you need to download an app for your PC to set up a SOCKS proxy of some kind).
I also use the Gingerbread ROM leaked for AT&T. This was done on Ubuntu 11.04 Natty, but the principles stay the same.
Let's get on with, shall we:
INSTRUCTIONS
Install Firestarter and DHCP server
sudo apt-get install firestarter dhcp3-server
Connect to the internet
Like you normally would. If you connected via WiFi, your connected device would probably be wlan0, if via ethernet - eth0, if via dialup - ppp0. If you are unsure, click on the Network Manager icon and click on Connection information. Otherwise, run ifconfig to see which device has got what IP address (to give you a hint as to what network device your PC is using).
Start USB tethering on your Atrix
Plug in the USB cable in your Atrix.
Under Settings -> Wireless -> Tethering & Mobile Hotspot -> USB Tethering checked.
Your Network Manager will try to get an IP address (and will probably succeed). Click on the Network Manager icon (probably the icon has changed to an ethernet port to signify that you are connected via USB) and click on "Edit Connections".
Under the "Wired" tab double-click on USB0 to edit it
Under the "IPV4" settings click on the "Routes" button
Check the "Use this connection only for resources on its network"
OK, Save
You'll see the Network Manager icon will change back to its previous icon.
Configure Firestarter
Run firestarter
If it is your first time to start firestarter, it will prompt you with the First Run Wizard. Otherwise, click on Firewall -> Run Wizard
Click Forward to get past the intro screen.
In the drop down box, select the device you are connected to the internet with.
Click forward
Check the "Enable internet sharing" option
On the checkbox, select the "Unknown Device (usb0)" as your Local Area Network device
Check the "Enable DHCP for local network" option
On the DHCP server details, select the "Create new DHCP configuration:" option
Click forward
Uncheck the "Start Firewall now"
Click save.
Great, so Firestarter is set up. But, it saves the dhcpd.conf file (Natty specific? I don't know) in the wrong directory (/etc/dhcpd.conf instead of /etc/dhcp/dchpd.conf).
sudo mv /etc/dhcpd.conf /etc/dhcp/dhcpd.conf
Start the Firestarter firewall (in Firestarter, press CTRL-S)
Configure the Atrix
2 Options:
1) While the device is connected via USB (and Applications -> Development -> USB debugging is enabled)
sudo adb shell
su bash
netcfg usb1 dhcp
2) Run in your terminal on your phone:
su bash
netcfg usb1 dhcp
If nothing failed, then everything worked. The principle is this : IP Chains between USB0 and <internet connecting device> (set up by Firestarter) with DHCP server running. This may not be the most über geek way of doing things but is sure point-and-clicky-easy-ish.
Et voilà, sweet reverse tethered nettubes...
No Enable DHCP checkbox
while i try everything .... i m stuck at the part where the 'Enable DHCP for local network' checkbox is inactive due to 'Chromium cannot be run as root'....
i dont know why this error kindly help me with this....
How is Chromium even related to DHCP and/or firewall settings?
failed
Code:
action 'dhcp' failed (Bad file number)
I'm using LightJB 1.2 Rom with CoCore-CWM 6.2
Unfortunately my Network Manager hasn't succeed when I turned USB Tethering checked on Android since I've upgrade ubuntu from 14.04 to 16.04.

*Tutorial* Running TapChat Server on Spare Phone

*Standard Disclaimer*
I didn’t tell you to do it, I don’t even own a gun, your forced into nothing other than the simple pleasure of low cost connectivity.
If your phone blows up, burns, sparks, smokes, calls you names, flings poo or otherwise packs up and runs away from home, it’s on you.
But the waters nice in the tapchat pool. The electric bill stays low. And the largest cause of concern for venturing on this escapade -
Why the hell not
Mind you - the purpose of this walkthrough is not to be installed on your everyday phone. My phone is a GSM Razr XT910 Maxx on ATT,
This walkthrough I performed with a RazrXT912 Verizon motherboard.
This is the server side of things, something that sits on a shelf and stays connected and powered up. Ultimately doing what a computer would at less power consumption than required to keep the time on a unused microwave.
how many KiloWatts/hour does a cellphone charger use? According to http://wiki.answers.com/Q/How_many_kWH_does_a_cell_phone_charger_use
Barely anything. most cell phone chargers draw less than 1.5 Watt.(per hour) Electricity is measured in kilowatt hours, and 1000 watts (per hour) is equal to 1 kilowatt hour (kwh). This means that your cell phone charger draws less than 0.0015 kwh. This means that even if you left your phone charger plugged in all the time, the cell phone charger would be accountable for less then 1 kwh on your monthly electricity bill. If you are looking to save energy, your cell phone charger is not the place to look.
So I just so happened to have a Razr XT912 Motherboard with a broken SIM slot and bad ESN that I had nothing to do with
(aside from intermittent hacky-sack bouts between meals)
Problem was it doesn’t have a battery, LCD, or even a shell for that matter. But Motorola’s have native HDMI-out, I have a bluetooth keyboard, and thanks to Team Black Hat and their introduction of the Factory Cable Adapter, I don’t even need a battery for this puppy to fire up and go.
Link to the Factory Cable Adapter - http://shop.teamblackhat.info/
Works on MANY devices
The initial concept behind the workings of this project came from a man by the name of Ross Stone who incorporated TapChat into a Raspberry Pi
Links to his well written concise walkthrough found here - http://www.rossstone.net/2013/01/29/tapchat-on-raspberry-pi/
Compiled Nodejs credit goes to Russianator, Link to thread
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=34&t=24130
I tried to recreate this using a plethora of Linux installers, chroot images and scripts, blood, swear, and eventually cheers.
I was finally able to get all of the dependencies and packages to install and run correctly using Linux Installer Standard
Then I opted to purchase Advanced for the run at boot and remove ads option, and to contribute to their hard work. $2, really? I drink that in coffee per hour.
Linux Installer Info here - http://android.galoula.com/en/LinuxInstall/
Enough chitty chatter, on to the Meat and Potatoes
Must Be Rooted
Update SuperUser and / or Binaries
Get Connected to home WiFi
Menu> Advanced> “Keep Wifi on During Sleep” Always
I recommend a static IP on your phone for the purposes of port forwarding (which we’ll get into later) and for long term stability
Go to Menu> System Settings> Wifi> Long press your connected network
Select “Modify Network”
Take note of your phones IP address, you’ll need this later
Scroll down and check “Show Advanced Options”
Scroll down to “IP Settings”
Select “Static”
Then “Save”
*Port Forwarding*
From a computer connected to the Internet Modem dial the Default Gateway IP
i.e. 192.168.1.1
It will prompt you for a username and password
If it’s never been changed you can use the default
U/N: [blank] P/W: admin (for most routers, look online for your specific model)
*added note - I found that our Cisco E2500 sets the password to the same as the WiFi password when enabled*
Go Into “Application and Gaming” > “Port Forwarding”
Ignore the entries that don’t have a “Enable” checkbox and select the first one that does
Choose a Port Number and place it in both fields, For direction Select option “both” and put your phones Static IP in the IP field
It will look something like this
[8067] [8067] [both] [192.168.1.113] [x] Enable
Take note of the port you selected
You can put whatever is easy for you or tapchats default 8067
But you’ll need to remember it
Save and exit
If you dont already have ADB you can download it from the link below
http://urbanassaultcellular.com/adb.rar
extract to root of C: drive
Go into the Play store
Install Linux Installer Standard (or my preference “Advanced”, to enable “run on boot”)
*If you don’t wish to use ADB Shell to set up the phone*
Install Android Terminal Emulator
Open > “su” > Grant SuperUser > Close
Make these changes in phones Menu> System Settings
Development > +USB Debugging > +Stay Awake (screen stays active when charging)
*You can turn off stay awake after the install, I don’t sleep, my phone shouldn’t either during this sort of thing*
Security and Screen Lock> check Unknown Sources
Open Linux Installer Standard/Advanced
[These are the settings that worked for the RAZR and D4, may need to adjust for your device]
Menu>Setup
Install in a Block device
Use Loop File
Preferred Distribution > Raspbian
Version > Wheezy 7
CPU Architecture > armhf
hostname > suicid3
Chroot point > /data/local/mnt/Linux
Name of chroot script > linuxchroot
IP Version > Auto
Loop File > /data/local/tmp/Linux.loop
File Size > 1024
Ext version > 2
Bind Android
Allow write to /system
Allow reMount with dev/exec
Remove Ads
[back arrow]
Complete the following steps
1) create target loop
2) Format Target Loop
3) Mount Loop
4) Install in Loop (will take a while)
5) Install linuxchroot script
Menu > Change App > Dist MGT (if you want/need to change settings)
Open Android Terminal Emulator / or on PC connect to ADB shell
cd C:/adb
adb shell
type “linuxchroot”
Grant SuperUser Permission (will prompt on phone, not in ADB Shell)
—————————————————————————————————————
*update raspbian*
apt-get update
*get node install dependencies*
apt-get install python-software-properties g++ make
to prompt
*get and install node (bundled with npm)
wget http://urbanassaultcellular.com/node/node-v0.8.16.tar.gz
tar xvzf node-v0.8.16.tar.gz
cd node-v0.8.16
make install (takes a while)
*set permissions*
chmod 755 /usr/local/bin/node
chmod 755 /usr/local/bin/npm
*additional dependencies*
apt-get install libsqlite3-dev
apt-get install build-essential
to Prompt
npm install -g node-gyp
npm install tapchat -g
tapchat start
Set Desired Port# (Take note of this, We’ll be using it for port-forwarding)
Set desired password (type it carefully, you get one shot as far as I know)
———————————————————————————————————————-
*On Phone Client*
Open TapChat App
Tap on “Connect to TapChat”
IP Address - Your True IP and the Port you selected earlier
True IP can be found at http://www.whatismyip.com/
Example 00.111.2.33:1212
Enter password
configure the rest like any other IRC server
———————————————————————————————————————-
Next on project
Create auto boot up instance to -
Restart Tapchat ans it gets [EconnRefused] after power failure and reboot.
running linuxchroot from shell returns:
I: Mounting device for Rasbian Wheezy...
F: It was not possible to attach the device to a loop device file
I: Entering chroot...
I: To run command when entering Linux create executable file at /etc/etc/init.android/rc_enter.sh
chroot: can't execute '/bin/bash': no such file or directory
127 TODO change for noexec tests !
I: To run command when leaving Linux create executable file at /etc/init.android/rc_leave.sh
Q: Do you want to unmount the raspbian wheezy environment, or leave it as is ? Y will kill all processes as required; any other ket will leave the services running
But attempting to connect to tapchat returns
java.net.ConnectException: failed to connect to /69.###.#.## (port ####): connect failed:
ECONNREFUSED (Connection refused)
The only workaround I found is to kill services, update the linuxchroot script, enter chroot environment (adb linuxchroot)
tapchat stop
tapchat start
Suggestions??????????????????
If you have any questions or suggestions join me in irc on freenode at ##uac [yes ##]
T(a)T(a)F(or)N(ow) - SU!C!D3 \,,/.(*_*).\,,/

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

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
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 said:
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
Click to expand...
Click to collapse
how to setting up proxy using pac file?
zcrself said:
how to setting up proxy using pac file?
Click to expand...
Click to collapse
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
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.
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
can someone help me with this one im a bit slow on following instructions especially codes like these
gjhech said:
can someone help me with this one im a bit slow on following instructions especially codes like these
Click to expand...
Click to collapse
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
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?
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 ,
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
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!
pdesai91 said:
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!
Click to expand...
Click to collapse
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
xbarsasy said:
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 ,
Click to expand...
Click to collapse
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
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.
Poareq said:
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.
Click to expand...
Click to collapse
Facing the same issue, unable to connect to Amazon after October update.
Any workaround available?
Not working for me too
uj812 said:
Facing the same issue, unable to connect to Amazon after October update.
Any workaround available?
Click to expand...
Click to collapse
I recently bought a fire tv stick. But unfortunately unable to make http proxy work. Kindly advice.
Solved... I think
phildani7 said:
I recently bought a fire tv stick. But unfortunately unable to make http proxy work. Kindly advice.
Click to expand...
Click to collapse
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
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
Select Network Proxy
Select Manual
Enter your proxy IP address
Enter your proxy port
Click Save
Enjoy!
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?
Try this. It worked for me.
Use this .apk AndroidProxySetter. Install and follow the commands. It will route Network traffic to Charles proxy.
https://github.com/manadream/AndroidProxySetter

how to enable RNDIS + DM + Modem mode?

HI DOES Anyone know how to enable RNDIS + DM + Modem mode?
i could access it on Stock rom but cannot on Custom rom is there a way to do it through Terminal mode? if so how please
anime12345 said:
HI DOES Anyone know how to enable RNDIS + DM + Modem mode?
i could access it on Stock rom but cannot on Custom rom is there a way to do it through Terminal mode? if so how please
Click to expand...
Click to collapse
Hi, I've used RNDIS (sharing PC's internet to phone) on my own phone (huawei honor 4c, Android 6, ROOTED!) but I believe the basics are the same. Generally to have RNDIS working (you can share your pc's internet to your phone) you must do the following steps:
1. connect phone to PC via USB cable & Install USB drivers
2. select RNDIS mode : (in my case) Settings > Developer options > Select USB configuration > RNDIS (USB Ethernet)
3. on the PC: share your internet connection to RNDIS connection (Note that windows 7 & higher uses 192.168.137.0 IP range for sharing connection, so you must use this range on your phone)
4. set an IP address on RNDIS dev & bringing it up (type in terminal emulator: ifconfig 192.168.137.2 rndis0 up)
5. set the default gateway for your phone (type in terminal emulator: route add default gw 192.168.137.1)
6. set DNS for your phone (refer to this thread for a complete guide, because setting DNS methods usually depends on phone rom & android version), I used this command & it answered me thanks to GokulNC:
Code:
ndc resolver setnetdns rndis0 <dns ip from my internet> 8.8.8.8
Good Luck!
hosseinb said:
Hi, I've used RNDIS (sharing PC's internet to phone) on my own phone (huawei honor 4c, Android 6, ROOTED!) but I believe the basics are the same. Generally to have RNDIS working (you can share your pc's internet to your phone) you must do the following steps:
1. connect phone to PC via USB cable & Install USB drivers
2. select RNDIS mode : (in my case) Settings > Developer options > Select USB configuration > RNDIS (USB Ethernet)
3. on the PC: share your internet connection to RNDIS connection (Note that windows 7 & higher uses 192.168.137.0 IP range for sharing connection, so you must use this range on your phone)
4. set an IP address on RNDIS dev & bringing it up (type in terminal emulator: ifconfig 192.168.137.2 rndis0 up)
5. set the default gateway for your phone (type in terminal emulator: route add default gw 192.168.137.1)
6. set DNS for your phone (refer to this thread for a complete guide, because setting DNS methods usually depends on phone rom & android version), I used this command & it answered me thanks to GokulNC:
Code:
ndc resolver setnetdns rndis0 <dns ip from my internet> 8.8.8.8
Good Luck!
Click to expand...
Click to collapse
I know this is 4 years ago but I've been pulling my hair out trying to do this in reverse. I have Lenovo Yoga 2 Pro running Android 9 x86 (Bliss 11.13 x64). It's rooted and the phone is Android 8.1 that is not rooted. I want use the phone as my wifi because the Yoga has a broken wifi card. The phone doesn't support USB tethering using wifi, only cell data. I use PDANet in Windows fine but it doesn't support USB tethering from Android to Android (to my knowledge). You can turn on RNDIS mode in Developer Options on the phone. Is this possible without rooting the phone?
i_guana said:
I know this is 4 years ago but I've been pulling my hair out trying to do this in reverse. I have Lenovo Yoga 2 Pro running Android 9 x86 (Bliss 11.13 x64). It's rooted and the phone is Android 8.1 that is not rooted. I want use the phone as my wifi because the Yoga has a broken wifi card. The phone doesn't support USB tethering using wifi, only cell data. I use PDANet in Windows fine but it doesn't support USB tethering from Android to Android (to my knowledge). You can turn on RNDIS mode in Developer Options on the phone. Is this possible without rooting the phone?
Click to expand...
Click to collapse
'dun' option in APN settings. Pretty much make a new APN and copy everything exact and then add dun to APN type.
anime12345 said:
HI DOES Anyone know how to enable RNDIS + DM + Modem mode?
i could access it on Stock rom but cannot on Custom rom is there a way to do it through Terminal mode? if so how please
Click to expand...
Click to collapse
On my Samsung A51, I can enable RNDIS + ADB mode by dialing *#0808# and choosing from the menu.
Dr Doppio said:
On my Samsung A51, I can enable RNDIS + ADB mode by dialing *#0808# and choosing from the menu.
Click to expand...
Click to collapse
*#0808# are working with Samsung devices.

Categories

Resources