yashsingh1/xdaforums huggingface dataset:
[Android Software Development] matt4321:
I actively use vpns and considering they don't work on the phone while using this (understandably), if I turn the one on my laptop on will the connection go through that?
[Android Software Development] capslock66:
Because VPN and reverse tethering use the same firewall principe to route the internet traffic.

Both are incompatible at the same time.
[Android Software Development] xbox360k550:
capslock66

http://xdaforums.com/showpost.php?p=45264034&postcount=3349
[Android Software Development] capslock66:
Thanks ! I will check it today !
[Android Software Development] xbox360k550:
Maybe with final 2.2 xposed framework version we have normal work on 4.3? (without 1st rut on wifi)
[Android Software Development] capslock66:
Version 3.11

I just uploaded latest version 3.11

Nothing new !

But , for android 4.3 users, the latest Xposed installer is included in the zip.

Click the "install hack" button on tool tab to update the framework.

After install, you MUST run the XPosed installer, tap the "framework" line , tap the "Install / update" button THEN reboot.

Google play should now be able to download.

I still don't know if it's a CyanogenMod 10.2 nightly or an android 4.3 problem, but for some terminals, you have to connect your phone to wifi at least once after boot before using reverse tethering :(
[Android Software Development] capslock66:
Unfortunately, it's still the same problem.

Cyanogen 10.2 problem ?

I uploaded the new 3.11 version. See post below.
[Android Software Development] banshee28:
Just wanted to say I DL'd the latest 3.11 and its finally working,. In fact its FAST and the Play store and web seems to work great! Thanks,. :good:
[Android Software Development] harishmenace:
Which rom did you try it on CM or stock
[Android Software Development] A_U:
hello capslock..first i want to thank you for such a great tool :) i use this every single day since i have no wifi router but a 10mbps broadband connection..download speeds are fast like hell :)

so i want to ask u if this tool can used wirelessly ?

Since many people like myself might have a very short usb cable and also, its very irritating to have no freedom of movement while using this tool..gotta sit very close to laptop and work :/

so please give ur inputs on the above idea..

thank you very much.
[Android Software Development] capslock66:
Android can use 2 ways to communicate "Wirelessly"

- Bluetooth :

Until now, I was not able to use "ADB over Network" on my 3 devices.

- Wifi :

If you can connect to wifi, do you really need reverse tethering ???

Perhaps you router is not connected to internet or you setup your PC as a Wifi router like http://virtualwifihotspot.codeplex.com/ ?

I made some tests and was able to use reverse tethering wirelessly :

Connect the phone to the wifi router on the local network. (I din't tested yet with PC hotspot )

Using "ADB Konnect" (or other) on market and enabled "Wireless ADB". The ip adress will be displayed

Connect the phone to the PC together : start command prompt and enter this command : ADB connect XXXX (IP adress)

Start reverse tethering, select the device (same as the ip) and click connect.

The script need to be modified (reduced in fact)

Save the GlobalScriptStart.txt somewhere else and replace by this one :

Tell me if this work for you.

I have to modify the tool and the script to handle both cases.

I am not sure It's very usefull for a lot of people :confused:

Caps
[Android Software Development] Petrit Ziu:
Can we use viber with reverse tethering?
[Android Software Development] banshee28:
**Actually wanted to update this post. I thought everything was good but not quite. Web works great yes, and play store sees all apps and details, but when it tries to DL any, it just hangs forever and never starts/completes. I did not try to DL an actual app until after I posted.lol

And good news: I flashed the lasted CM 10.2 (4.3) ROM and of course that was a "reboot", but when it was back I was able to use FF for Internet without using any wifi first!!! Now the stock browser does not work and the play store does not work at all this time, but at least on a reboot/flash FF works :good:

Getting better!!

---------- Post added at 10:14 PM ---------- Previous post was at 10:14 PM ----------

See my updated last post for more details....I am using the latest CM.
[Android Software Development] chaoscreater:
I'm running ICS v4.0.3 on my Huawei U8800, have been using this tool ever since v3.5 and every version worked fine. The latest version I was using is v3.10 and it worked fine until today, where I couldn't connect no matter what I do. I killed ADB, plugged USB to different ports, rebooted my phone, and everytime it always gets stuck at the same step, where it receives the superuser access permission and prepares to run the script, and then it says script not found or something.

I had to revert to v3.7 to get it working again.
[Android Software Development] capslock66:
There is no difference between 3.10 and 3.11. Just Xposed framework.

Can you send the log ?
[Android Software Development] chaoscreater:
I didn't keep a log since I removed v3.11 entirely.......I'll remember to save the log next time, sorry :P

BTW I got it working again. I updated my Xposed Framework to v2.2 and tried using your tool (v3.11) again, and it works this time.

Oh and I forgot to mention that when it was failing, it kept going through a loop of asking superuser permission, then accepting it, then running the script, then goes back to asking superuser permission again. I've already given both USB Tunnel and Xposed Framework superuser permission, and it clearly reflects that in the tool (otherwise it wouldn't have started to run the script). But before the script even ran for more than 2 seconds, it goes in a loop again.

I had to replug my USB to a different port, restart the program and try again and now it's working. I've never had this problem before, not sure if it's a problem on my end or not.......
[Android Software Development] iamflip:
latest reverse tethering won't update my facebook app, and it works only in instagram :(
[Android Software Development] morisah:
Nice thread. Nice tool. Its work fine on mine (gt7plus p6200). Thanks. Already pressed..
[Android Software Development] ivancorpiz:
oh all works on SGY s5360L with firmware and mod stock kernel (only init.d) , thanks, go steps 1- drivers, 2-unpack zip, 3-run, enjoy, it´s USEFULLl when no wifi, no data on mobile, etc.
[Android Software Development] stankyou:
I tried v3.11 on a non CM based rom and I still have to establish a wifi connection first before I can use the tool (sucks if you rebooted your phone and no wifi to connect to lol). Seems more like an Android 4.3 issue? I'm on a JWR66Y based rom right now. Just chiming in. Still works flawless once a wifi connection has been established.
[Android Software Development] rohan170890:
Yesterday it was working. Now it isn't.

ROM : CM10.2

Log :

09-16 00:38:37:174 W/I Tool version : 3.11
09-16 00:38:37:174 W/I C:\Flashtool\x10flasher_lib\adb.exe
09-16 00:38:37:174 W/I C:\Flashtool\x10flasher_lib\aapt.exe
09-16 00:38:37:291 W/I Android Debug Bridge version 1.0.26

09-16 00:38:42:526 W/I Wait java service
09-16 00:38:42:635 W/I waiting android server connection ... 1
09-16 00:38:42:912 W/I Waiting for connection
09-16 00:38:44:169 L/D HOST : kv1dr-Extensa-5635G
09-16 00:38:44:201 L/D RELEASE : 4.3
09-16 00:38:44:203 L/D SDK : 18
09-16 00:38:44:206 L/D FINGERPRINT : SEMC/LT18i_1254-2184/LT18i:4.0.4/4.1.B.0.587/tL1_3w:user/release-keys
09-16 00:38:46:923 W/I interfaces before script startdummy0(DOWN), lo(UP) 127.0.0.1/8, p2p0(UP), sit0(DOWN) 192.168.1.2/24, wlan0(UP), ip6tnl0(DOWN), rmnet7(DOWN), rmnet6(DOWN), rmnet5(DOWN), rmnet4(DOWN), rmnet3(DOWN), rmnet2(DOWN), rmnet1(DOWN), rmnet0(DOWN)
09-16 00:38:47:161 W/I no route
09-16 00:38:47:229 L/D OnStart script 3.11
09-16 00:38:47:254 L/D Interface to use : "sit0"
09-16 00:38:47:409 L/E Error running command :
09-16 00:38:47:409 L/E iptables -t nat -N TETHER
09-16 00:38:47:413 L/E iptables: Chain already exists.
09-16 00:38:48:200 L/D ifconfig sit0 192.168.1.2 netmask 255.255.255.0
09-16 00:38:48:941 L/D route add default gateway 192.168.1.2 sit0
09-16 00:38:53:322 L/D redirect all communications to TETHER chain
09-16 00:38:54:236 L/D forward tcp to native handler
09-16 00:38:58:892 L/D OnStart script done
09-16 00:39:02:160 W/I interfaces after script startdummy0(DOWN), lo(UP) 127.0.0.1/8, p2p0(UP), sit0(UP) 192.168.1.2/24, wlan0(UP), ip6tnl0(DOWN), rmnet7(DOWN), rmnet6(DOWN), rmnet5(DOWN), rmnet4(DOWN), rmnet3(DOWN), rmnet2(DOWN), rmnet1(DOWN), rmnet0(DOWN)
09-16 00:39:02:403 W/I route : destination : 0.0.0.0, gateway : 192.168.1.2, output : sit0
09-16 00:39:02:403 W/I route : destination : 192.168.1.0, gateway : 0.0.0.0, output : sit0
09-16 00:39:02:403 W/I
09-16 00:39:02:403 W/I Connection done

Server List

DNS List
202.88.131.90
202.88.130.67[default]
[Android Software Development] capslock66:
In the log, I see that some bytes were exchanged . The wifi hack is also activated.

There is a bug in android 4.3 / Cm 10.2 : You have to connect at least one time to a wifi after boot.

Reverse tethering will work fine after that.
[Android Software Development] capslock66:
You probably booted your phone since "yesterday"

There is a bug in android 4.3 / Cm 10.2 : You have to connect at least one time to a wifi after boot.

Reverse tethering will work fine after that.
[Android Software Development] capslock66:
So the problem happens also on a 4.3 stock rom ?

Can you test it connecting to 3g first ?

I will update the main page when some others people confirm it.

Thanks for the information
[Android Software Development] vikraminside:
Why Wi-fi?

Guys, this solution is better when coming to wifi-less USB based data card internet connection. My USB data card has build-in modem which obviously does not require wifi and has good speed. So I am looking for reverse tethering option.

So, those who complain about wifi think of scenarios for devices that connect to the internet sans wifi nowadays.

[MENTION=535343]all[/MENTION], I am yet to try this solution though. [MENTION=225651]op[/MENTION] Idea is great.
[Android Software Development] hanifbsk:
Thanks,, it's Work,,:good:
[Android Software Development] capslock66:
There is some problems.

First it seams you are behind a proxy.

There is a problem in the connection and it's not clear for me why.

Can you reboot your phone and start again ?
[Android Software Development] capslock66:
Great.

Starting the 3g connection once also unblock reverse tethering.

But you are here on CM 10.2, not stock Rom. So the problem is related to CM 10.2
[Android Software Development] teladan98:
I changed the DNS using setDNS from market (any app that able to change DNS from market is good, as long as your phone is rooted)
[Android Software Development] pranoy407:
I downloaded SetDNS from the market and changed DNS from the device not windows :)
[Android Software Development] zillionaire:
working great on my x10i GB. i alwayz wanted something like this.

Problems : But whenever i tried to download something from market it just loads and never download other than that it's a great software.

cheers.
[Android Software Development] pranoy407:
You need to change DNS inorder to download apps from market :)
[Android Software Development] capslock66:
I suppose you run SetDNS each time after "connect" ?
[Android Software Development] pranoy407:
Yes everytime after I connect.
[Android Software Development] teladan98:
I didn't do that. I only set the DNS once, and everything seems OK. :)
[Android Software Development] pranoy407:
Even after rebooting your phone ?
[Android Software Development] KhalCamargo:
It works perfectly in the Samsung Galaxy 5 c / Android 2.2.2 Original ROM.

As for DNS, I change it so well that beta 3 was released, and I was trying to say it here, but my forum posts were limited by not having enough, so I could not post anything.

I dont have to give setdns not every time, I did once and it worked forever. Try to use another app of setdns and see if it works.
[Android Software Development] capslock66:
I was not able to download from the market when the wifi and the 3g are off.

Calling the setDNS program when there is no connection don't work :

On the SetDns program, the "Network" label display "None(SetDNS not active)"

Can anybody can retry the test ensuring that all connections are disabled ?
[Android Software Development] Jaani:
Same here dude..let me guess u r connected to internet via LAN???btw i m & i can can surf but showing the same in setdns..:(
[Android Software Development] pranoy407:
It doesn't work if Data mode is kept off because setDNS fails to detect Internet conn and it doesn't change DNS...
[Android Software Development] simmer14:
hmm... so the solution is to mask this network as data network..
[Android Software Development] jacky.toh:
Hi Guys,

This tool is not working on my laptop.

My laptop is running windows XP.

I keep getting force close on USB tunnel app on my phone.

Below is the logs I captured from AndroidTool.exe from Desktop, and this is the step I able to reach, but most of the time, I am getting force close once the phone is connected....

Any ideas?

Logs:

=====

Connecting to device. This may take a few seconds

Step 1 : Check if a device is connected

Ok

Step 2 : Checking android package

Installed package version : 3.16

Current package version : 3.16

Ok

Step 3 : Check if usb port is available

Error : port not available

Step 4 : Prepare connection (Adb Forward)

Ok

Step 4 bis : Check again if usb port is available

Ok

Step 5 : Start android service

Ok

Step 6 : Ensure connection is closed before open it

Ok

Step 7 : Connect to android

Ok

Step 8 : Check android connection

Waiting for response...

Check connection 1 ok

Check connection 2 ok

Step 9 : Send init to android service

Ok

Step 10 : Send scripts

Ok

Step 11 : Start script1

Ok

Step 12 : Send port forwarding

Ok

Connection is done

Step 9 : Send init to android service

Ok

Step 10 : Send scripts

Ok

Step 11 : Start script1

Ok

Step 12 : Send port forwarding

Ok

Connection is done

A->H : Create server port : 53

thread udp stopped for port 33783

thread udp stopped for port 34122

thread udp stopped for port 34597

thread udp stopped for port 58259
[Android Software Development] capslock66:
But how to do it ? (from terminal or java code)

Netcfg,ifconfig,route,...

By default, I use the USB interface and add a route to it.

All connections are rerouted to a local socks proxy (redsocks)

Note : It's possible to change some scripts in the advanced button
[Android Software Development] capslock66:
I see from the log that step 9 to 12 is send twice.

I already fixed the bug and will post a new version soon (maybee today).
[Android Software Development] vj_dustin:
i hope u guys figure a way around to set dns..

coz SetDns app wont work unless data is on and if data is on, reverse tethering wont work.

if u do, plz setup a guide and stick it to the first post :)
[Android Software Development] dark_polok:
Cannot detect my HTC Desire. I'm using MIUI XJ X-Part =(

ADB is enabled
[Android Software Development] capslock66:
Not true, if data is on, reverse tethering work.

100% of the traffic will be forwarded to the usb.
[Android Software Development] pranoy407:
No..Doesn't work that way for me.. Downloads at GPRS speed only
[Android Software Development] stankyou:
I'll try it with a JWR based rom. Probably on the weekend when I go by my crackflashing ways. BTW the CM10.2 I used for the test is on the new JLS base.. not JSS. I am not quite sure if the 3G trick worked because of this new rom base though.

via xda app
[Android Software Development] omiking44:
help

bro i m using this but only app is working is whatsapp internet is nt working on any app including opera , firefox, chrome plss help tell me what i m doing wrong plss help :crying::crying::crying:
[Android Software Development] lagania:
09-19 18:26:54:021 W/I Tool version : 3.11

09-19 18:26:54:021 W/I c:\android-sdk-windows\platform-tools\adb.exe

09-19 18:26:54:021 W/I c:\android-sdk-windows\platform-tools\aapt.exe

09-19 18:26:54:140 W/I Android Debug Bridge version 1.0.31

09-19 18:26:57.71 A/I UsbThread8 : usbServerSocket : Waiting for the host to connect

09-19 18:26:57:273 W/I Wait java service

09-19 18:26:57:376 W/I waiting android server connection ... 1

09-19 18:26:57:661 W/I Waiting for connection

09-19 18:26:59:919 L/D HOST : kraken

09-19 18:26:59:934 L/D RELEASE : 4.2.2

09-19 18:26:59:934 L/D SDK : 17

09-19 18:26:59:934 L/D FINGERPRINT : SEMC/MT11i_1254-2184/MT11i:4.0.4/4.1.B.0.587/tL1_3w:user/release-keys

09-19 18:27:00:656 W/I interfaces before script startrmnet4(DOWN), rmnet3(DOWN), rmnet2(DOWN), rmnet7(DOWN), rmnet6(DOWN), rmnet5(DOWN), rmnet1(DOWN), rmnet0(DOWN) 46.106.214.195/8, ip6tnl0(DOWN), sit0(UP) 192.168.1.2/24, lo(UP) 127.0.0.1/8, dummy0(DOWN)

09-19 18:27:00:904 W/I route : destination : 0.0.0.0, gateway : 192.168.1.2, output : sit0

09-19 18:27:00:904 W/I route : destination : 192.168.1.0, gateway : 0.0.0.0, output : sit0

09-19 18:27:00:918 L/D OnStart script 3.11

09-19 18:27:00:921 L/D Interface to use : "sit0"

09-19 18:27:01:214 L/D ifconfig sit0 192.168.1.2 netmask 255.255.255.0

09-19 18:27:01:693 L/I route del default gateway 192.168.1.2

09-19 18:27:01:695 L/D route add default gateway 192.168.1.2 sit0

09-19 18:27:03:260 L/D redirect all communications to TETHER chain

09-19 18:27:03:726 L/D forward tcp to native handler

09-19 18:27:21.23 A/I process (523) : START u0 {cmp=service.tracetool/.MainServiceActivityTab bnds=[0,77][480,172]} from pid -1

09-19 18:27:21.23 A/W process (523) : startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { cmp=service.tracetool/.MainServiceActivityTab bnds=[0,77][480,172] }

09-19 18:27:21.73 A/I process (523) : Displayed service.tracetool/.MainServiceActivityTab: +453ms

09-19 18:27:23.96 A/V network is not available

09-19 18:34:09.97 A/I process (523) : START u0 {cmp=service.tracetool/.MainServiceActivityTab bnds=[0,77][480,172]} from pid -1

09-19 18:34:09.98 A/W process (523) : startActivity called from non-Activity context; forcing Intent.FLAG_ACTIVITY_NEW_TASK for: Intent { cmp=service.tracetool/.MainServiceActivityTab bnds=[0,77][480,172] }

Server List

DNS List

195.175.39.39 (ok)

92.48.65.166 (ok)[default]

what can i do
[Android Software Development] Nikhil:
+1

Facing the same issue since today morning. internet is working with whatsapp only. it is not working with anything else. although it doesnt give no connection error but it keeps on loading.
[Android Software Development] capslock66:
On the log : "network is not available"

Install the hack (tools tab). Note that require a manual action on android to activate it. Don't forget to reboot the phone.
[Android Software Development] capslock66:
Is it android 4.2 ?

Log...
[Android Software Development] capslock66:
All DNS (Domain Name server) requests are converted to localhost.

Are you using Bitdefender or android firewall ?

whatsapp work, because he probably don't need to convert a Name to an address (DNS) ,

that means he already know the Server address (fixed).

What's funny is the Cyanogen mod release : 4.5 (in your log)

Latest version is 4.3, Next will be KitKat (4.4), Next is your phone (4.5). You are lucky :laugh:

Official Cyanogen ?
[Android Software Development] Nikhil:
LOL :laugh:

it was just a minor change in build.prop.

prank with friend, you know ;)

anyways, yes official CM and i havent installed any firewall or bitdefender. just to be sure i did a factory reset to see if i was accidently using any firewall app. but reverse tethering didnt work after factory reset too.

any idea? it was working yesterday.
[Android Software Development] stankyou:
[MENTION=3083768]capslock66[/MENTION] I flashed 4.3 Purity ROM JWR based. Franco kernel and the same thing happens. Tether tool says connected but no browse. The moment I toggle data switch on and off, connection starts.
[Android Software Development] omiking44:
Bro this was ROM issue now I changed the ROM and now its working flawlessly bro u rock great work thanks for it :thumbup::thumbup::thumbup::thumbup::thumbup:

sent from my NEXUS 4
[Android Software Development] capslock66:
I think a file is not complete in your android device :

\system\etc\hosts

You should have at least one line :

Maybe the file is empty.

I don't think a factory reset will change this file. You have to edit it manually using a android explorer (with root access)

See the zipped file in attach
[Android Software Development] Nikhil:
Yes, I remember now.

this tool stopped working for me after i updated hosts file by using AdAway.

since it was causing problems in accessing playstore with normal internet connection afterwards, i deleted hosts file( and assumed hosts file will generate automatically) and since then tool wasnt working.

Now i updated hosts file again and It is working now :)

I wonder why others are also facing problem!

Thanks anyways :)
[Android Software Development] capslock66:
How did you updated the hosts file ? manually or using again AdAway ?
[Android Software Development] Nikhil:
both ways.

first i added manually with 1 localhost entry and this tool worked, then i updated hosts file with AdAway to see if this causes problem but it didnt cause problem.

now it works properly :)
[Android Software Development] capslock66:
If you disable the service app, android will destroy the program as soon as he need memory and the program is not on foreground.

The windows program display then a lot of "connection" errors.
[Android Software Development] shabazz18:
T-Mobile WiFi Calling

I tried searching but came up with nothing and 1400 pages is impossible to read through. Has anyone been able to enable wifi calling through T-mobile with this method? I got it working great on my stock rooted GS2 T-989 and that's the only thing that doesn't work.

Thanks.
[Android Software Development] capslock66:
Can you reboot both the phone and the pc and retry ?
[Android Software Development] capslock66:
Just install the Wifi hack, see on tool. Don't forget to enable it on android and reboot the phone.

If that don't work, send the log.
[Android Software Development] A|ex:
how do you keep reverse tether connected, after a few mins of no use the tether breaks and the reverse stops working.

it is still reported as connected via the android tool but it does not use the usb to pc network
[Android Software Development] capslock66:
Did you change any permissions on the android program ?

I need the log.
[Android Software Development] capslock66:
Nothing wrong.

On the log, I see that you got a connection error to a not responding address (located in United Kingdom)

At the time I tested, the 193.113.200.195:8080 address didn't send any result. (it's not http, perhaps other protocol)

The log don't display error for disconnection between android and the PC
[Android Software Development] shabazz18:
How do I post the log in a window?

I installed the hack and everything is working (app store, etc) but since the phone isn't actually connected to wifi the wifi calling doesn't even try to connect. Is there a way to spoof an actual wifi connection?
[Android Software Development] capslock66:
On the debug pane, click "copy all lines to clipboard" then paste here

What do you mean by wifi calling ? What program are you using for that ?

If the hack is well activated on the Xposed program, the Wifi is simulated.

The application believe that a wifi connection is running.
[Android Software Development] A|ex:
Thanks, well if that is the case how do i stop my PC / android from disconnecting?
[Android Software Development] mac4rfree:
I am on Android 4.2.2 in Nook Tablet. I installed Xposed Framework.

But DL in Google Play still not working even though the Browsing is working.

Could you please help me with this.

Cheers!!!
[Android Software Development] gaurav247star:
nothings happening in playstore ... says waiting for network while updating or downloading ... tried HackConnectivityService in xposed module ... what to do HOW TO USE PLAYSTORE ........