yashsingh1/xdaforums huggingface dataset:
[Android Software Development] GnatGoSplat:
I can't seem to get a working connection using a Motorola Droid Mini XT1030 running KitKat 4.4. I can see some activity show up if I toggle mobile data on/off. Browser should work without Xposed, right?

Installer couldn't install busybox21, so I had to manually copy it into /system/xbin and renamed it to just "busybox" and set permissions to rwxr-x--x. This got me past the "Waiting for superuser" countdown.

01-21 11:40:06:200 W/I Tool version : 3.19
01-21 11:40:06:200 W/I adb.exe
01-21 11:40:06:200 W/I aapt.exe
01-21 11:40:06:322 W/I Android Debug Bridge version 1.0.31

01-21 11:40:09:277 W/I Wait java service
01-21 11:40:09:378 W/I waiting android server connection ... 1
01-21 11:40:09:586 W/I Waiting for connection
01-21 11:40:10:956 L/D HOST : ilclbld26
01-21 11:40:10:957 L/D RELEASE : 4.4
01-21 11:40:10:957 L/D SDK : 19
01-21 11:40:10:958 L/D FINGERPRINT : motorola/obakem_verizon/obakem:4.4/SU2-3/15:user/release-keys
01-21 11:40:10:959 L/D VM name : Dalvik
01-21 11:40:10:960 L/D OS Arch : armv7l
01-21 11:40:10:962 L/D Reverse tethering package version : 3.19
01-21 11:40:10:967 L/D Xposed installer : not installed, app_process : not found, XposedBridge.jar : not found
01-21 11:40:10:968 L/E Hack Connectivity Service not installed, mode : -1, trace : -1
01-21 11:40:11:659 W/I interfaces before script startdummy0(DOWN), wlan0(UP), lo(UP) 127.0.0.1/8, usb0(DOWN), sit0(DOWN) 192.168.1.2/24, p2p0(UP), rmnet_smux1(DOWN), rmnet_smux0(DOWN), ip6tnl0(DOWN), rmnet7(DOWN), rmnet5(DOWN), rmnet6(DOWN), rmnet4(DOWN), rmnet2(DOWN), rmnet3(DOWN), rmnet1(DOWN), rmnet0(DOWN), rev_rmnet8(DOWN), rev_rmnet7(DOWN), rev_rmnet5(DOWN), rev_rmnet6(DOWN), rev_rmnet4(DOWN), rev_rmnet2(DOWN), rev_rmnet3(DOWN), rev_rmnet1(DOWN), rev_rmnet0(DOWN)
01-21 11:40:11:932 W/I no route
01-21 11:40:11:956 L/D OnStart script 3.19
01-21 11:40:11:958 L/D Interface to use : "sit0"
01-21 11:40:12:042 L/D ifconfig sit0 192.168.1.2 netmask 255.255.255.0
01-21 11:40:12:064 L/D route add default gateway 192.168.1.2 sit0
01-21 11:40:12:151 L/D redirect all communications to TETHER chain
01-21 11:40:12:176 L/D forward tcp to nat᜻ve handler
01-21 11:40:12:305 L/D OnStart script done
01-21 11:40:12:631 L/D => setHackMode to 'Wifi' result : -1
01-21 11:40:13:672 W/I interfaces after script startdummy0(DOWN), wlan0(UP), lo(UP) 127.0.0.1/8, usb0(DOWN), sit0(UP) 192.168.1.2/24, p2p0(UP), rmnet_smux1(DOWN), rmnet_smux0(DOWN), ip6tnl0(DOWN), rmnet7(DOWN), rmnet5(DOWN), rmnet6(DOWN), rmnet4(DOWN), rmnet2(DOWN), rmnet3(DOWN), rmnet1(DOWN), rmnet0(DOWN), rev_rmnet8(DOWN), rev_rmnet7(DOWN), rev_rmnet5(DOWN), rev_rmnet6(DOWN), rev_rmnet4(DOWN), rev_rmnet2(DOWN), rev_rmnet3(DOWN), rev_rmnet1(DOWN), rev_rmnet0(DOWN)
01-21 11:40:13:950 W/I route : destination : 0.0.0.0, gateway : 192.168.1.2, output : sit0
01-21 11:40:13:950 W/I route : destination : 192.168.1.0, gateway : 0.0.0.0, output : sit0
01-21 11:40:13:950 W/I
01-21 11:40:13:950 W/I Connection done

Server List at 01-21 11:44:05:630
https (443) : A->H : 27039 ,H->A : 37283

DNS List
146.7.4.129 (ok)
146.7.4.130 (ok)
8.8.8.8 (ok)[default]
[Android Software Development] capslock66:
I still have the original content.

I think that the problem was simply you didn't allow unknow source.

For gingerbread(2.3.x) it's possible to install xposed, see first post (not tested)
[Android Software Development] capslock66:
Log is good, you well fixed the classic busybox/iptables problems

You also have some communications (only https)

But the browser don't try to resolve dns adress. Are you trying to connect to a fixed adress only ?

Make a try with another browser or enter different adress

Also reboot the phone, connect to working wifi (only one time after a rebbot), disonnect wifi then try again

You are not far...
[Android Software Development] GnatGoSplat:
The communications only occurs when I turn mobile data on and back off. Seems to be only a short burst. I'm trying to connect to several web pages using Chrome, but none work. I tried Opera Mini, but it doesn't seem to work either.

Reboot didn't seem to help. Only thing I haven't tried is connecting to Wifi. That will have to wait till I get home because I have no wifi here.

I manually installed busybox, but I didn't manually install iptables. Should I have manually installed that too?

UPDATE: Ah hah! Got it working. Already had iptables in /system/bin so it wasn't that.

Turned out I had busybox permissions wrong. Needs to be rwxr-xr-x. I was missing the Read access for Other.
[Android Software Development] hnkotnis:
I already have xposed framework installed & I am using some modules.

But from OP, HackConnectivityService module is only for android 4.x
[Android Software Development] ciborio:
Pretty useful tool

I am on Samsung Galaxy S4 Google Play edition with stock Android 4.4.2.

It stops at the request for superuser rights, and then remains stationary. On the phone does not show any request by SuperSu.

Any solution?
[Android Software Development] bobgeneric:
Kill adb and restart the app
[Android Software Development] Tre91:
worked nice on my office pc.

hehehe

Used my Galaxy Ace 3 - rooted

Now loving Xposed Installer also !
[Android Software Development] ciborio:
thanks

I tried this, but the issue persists
[Android Software Development] capslock66:
Start SuperSu on android

You have probably "Usb tunnel" already.

Delete it.

Connect again
[Android Software Development] ciborio:
Still does not work.

I have the same problem
[Android Software Development] j2002:
Thanks for this thread. I will check this evening but I not sure it will work as I have not administrative privileges on my work computer. Let's see
[Android Software Development] capslock66:
No privileges needed since it's a portable application (no installation)
[Android Software Development] j2002:
Right but, as I suspected, they are needed to install correct phone drivers
[Android Software Development] ogremount:
Wow , this works great as my work refuses to install wireless in the area the offices are.

Great job.

It does ocasionaly disconect but for the majority of time does the job.
[Android Software Development] zhlvf:
Same problem here

Reverse tethering worked fine with my i9505 TW 4.3, now I migrated to 4.4.2 GPE and it doesn´t work no more...
[Android Software Development] ciborio:
Then it's a problem related to the I9505G 4.4.2 stock rom.
[Android Software Development] nikunj.baheti@gmail.com:
it aint wrkin

hey bro i dnt knw what happed bt the tool isnt workin i connectd the mobile and the tool shows that the mb is connected and running but the internet on my device isnt working
[Android Software Development] capslock66:
Can't help you if you don't send the log
[Android Software Development] capslock66:
Did you connect at least one time to a working wifi after boot ?

If still not working , send the log
[Android Software Development] capslock66:
The program use a low level program (redsocks).

This program can't access a communication port, because this port is already used.

Did you installed special software on your android like firewall or VPN ?

Reboot the phone and try again. Check on the log if you have the same error.

It's perhaps an old version not well stopped.
[Android Software Development] nikunj.baheti@gmail.com:
its wrkin :D

i just rebooted the mobile and it is workig nw :victory:
[Android Software Development] rogomantik:
works on xperia neo (hallon) cm9

but i wish to know if there is a way to mirror the connection by the phone hotspot

like:

PC |-usb-> Phone |-wifitethering-> Another PC/Phone

I tried but did not succeed. with the tethering settings and with third-party apps

Thanks all
[Android Software Development] psm_bgm:
Working Fine..

Its working fine in my phone. :good: But seems like connection speed is very slow. :confused:
[Android Software Development] LEDAHGRIM:
I can't get the "Android Tool" to recognize my phone, It's a "LG P990" (Optimus 2x).

Before I could use the tool normally and the phone would get internet normally from the

PC, Now I have formatted my pc and installed the USB drivers from LG and put the path

for the location of the ADB.exe on the tool...

But no matter what I do, "Android Tool" simply refuses to show my device on the device

list... It only shows two IP's and the device field remains empty even if I connect my phone

to the PC and it's recognized and perfectly usable as storage...

I have tried MTP, PTP, Mass Storage, None work... Also tried enabling and disabling debugging

in developer settings and still no luck...

Maybe something got wiped while formatting and now this is the result... Anyone knows

exactly what I MUST install in order to get "Android Tool" to recognize my phone?

I have tried for 7 hours in a row now and I'm dead tired... Also no errors show in the log on

"Android Tool", The phone simply doesn't show up on the "Device" field... Also restarted

the pc like 5 times already and nothing...
[Android Software Development] capslock66:
Reverse tethering use some low level tools.

The windows application send them to the sdcard

Some terminals don't allow this operation and return a "permission denied" message

You have to install it yourself from the market.

Search for busybox. Install it, run it and click install then reboot
[Android Software Development] capslock66:
Don't see something wrong. Can you connect at least one time to a working wifi before using the tool ?

Also click the check DNS button on the tool. And select a responding server like 192.168.1.1
[Android Software Development] capslock66:
Seams to be a firewall problem on your pc or network

I don't see network card in the DNS

Are you connected to a network ?
[Android Software Development] capslock66:
Can you test with another cable ?
[Android Software Development] LEDAHGRIM:
Anyone have any idea for my problem? Sorry for quoting myself, Just want to know how to

get the android tool to recognize my phone....

Can't provide log because none are generated on the "Android Tool" itself...
[Android Software Development] saurabhsunil:
I connected to a working wifi and it works fine...and i checked the DNS..all servers had a ok sign

and i tried with all server..still no luck

---------- Post added at 11:14 AM ---------- Previous post was at 11:11 AM ----------

try installing easy tether on your pc..that software solved my problem of not detecting my phone
[Android Software Development] LEDAHGRIM:
Solved my problem myself, The LG Drivers I had installed were outdated... Downloaded the official LG Drivers

installer again and they were updated.

Now my phone shows again on the android tool.
[Android Software Development] saurabhsunil:
:laugh::good:
[Android Software Development] ciborio:
Yeaaa! After installing busybox I solved the issue!

Thanks!!
[Android Software Development] HD2MAX:
Enabled hack module for gplay but not working

any idea? android 4.2.2
[Android Software Development] capslock66:
You need to enable it on the xposed application then restart

If still not working, send the log
[Android Software Development] iamashwin:
Please someow get it working on KK im on 4.2.2 just because of that. i cant connect to a real wifi after every reboot.
[Android Software Development] hertzschi:
Works like a charm here
[Android Software Development] iamashwin:
yup it works but you need to connect to a real wifi atleast one time every boot before using this trick . so that's what im talking can you remove that restriction by making another xposed module !
[Android Software Development] hertzschi:
Just don't reboot ;)
[Android Software Development] giridhargp:
it connects successfully . but no internet in device

any solutions?
[Android Software Development] capslock66:
Send the log...
[Android Software Development] sethgreen:
working great non Acer Liquid Gallant Duo
[Android Software Development] giridhargp:
ok here is the log
[Android Software Development] adisawant:
works for whatsapp.. :good:

doesnt work for opera mini, hike, google account :rolleyes:
[Android Software Development] adisawant:
here is the log from debug screen
[Android Software Development] capslock66:
Classic problem with android 4.3 and upper

Connect to a working wifi after each boot
[Android Software Development] capslock66:
Seams to be a Super user problem

Did you accepted super user request on the phone ?

Try to uninstall the app on android and try again

Disable log on the hack module. This don't help

Did you installed specific software like firewall, vpn , ... ?
[Android Software Development] capslock66:
You need to install the connectivity hack and activate it

After reboot, if android 4.3 or4.4, connect to a working wifi one times
[Android Software Development] adisawant:
mine is gingerbread. :p

opera mini used to work for me previously, but since i did a firmware flash, it has stopped working.

---------- Post added at 04:09 AM ---------- Previous post was at 04:06 AM ----------

i guess the problem is with the ports. whatsapp hike and opera use three different posts. hike and whatsapp are working now. but i still am facing issues with opera.

---------- Post added at 04:28 AM ---------- Previous post was at 04:09 AM ----------

update...

i tried the reverse tether v.2.25 ... it seems to work for me/ so if anybody is facing issues with this, just download the old version.
[Android Software Development] phamtung8xhd:
i connect successfull but i do not download in google.play or appstore

who help me
[Android Software Development] adisawant:
do you have 2.3.6 or 4.0+
[Android Software Development] Soharb:
Thank you for your efforts the application is one of the best one I tried it perfectly works.

There are some problems which has to be fixed .

some of the apps don't recognize the internet in the device and I think there should be some fake data recognition for the apps to recognize the internet
[Android Software Development] capslock66:
Install connectivity hack (search Google Market/Play on main page)
[Android Software Development] phamtung8xhd:
i do not find connectivity hack in Google Market/Play, can you sent apk to me. thanks
[Android Software Development] capslock66:
It's included on the tool.

Search "Google Market/Play" on the first page for installation
[Android Software Development] phamtung8xhd:
i used G pro 4.1.2
[Android Software Development] phamtung8xhd:
thanks, i success
[Android Software Development] stefan600:
Cable was ok

Seems that something with my ADB-Driver was wrong. reinstalled them and it works.

Thanks
[Android Software Development] capslock66:
Hi.

I am trying to understand the different connections problems.

If that don't work, you send here the 2 logs.

I will try to respond as soon as possible

At first look, all root android are not equals :

Android depends of the underlying linux kernel sub systems.

Some kernels don't understand "classic" linux commands.

You have perhaps to change your kernel.

Note : don't give me your handset model. I don't know what kernel is suitable for it.

In next version, I will try to detect this kind of problem to return more readable message to user.
[Android Software Development] hailmary:
hello capslock66... i tried this on my little netbook & my motorola defy on a cm7 kang ROM---it works on a normal method you posted in the 1st page...however i get the notification bubble keeps on repeating "adb tunnel has been granted SU permission" it kept repeating while i was in tethering,only stops when i quit the connection... could it be a bug? or maybe something else?

BTW this is a very good one...been looking for this kind of meth...i lov it.

i kinda miss this connection method back in my winmo6x days.keep it up.
[Android Software Development] simmer14:
is their a way to mask this connection as 3G connection ? it would be great to download gamedata's and download from market :)
[Android Software Development] capslock66:
I am working on "SU permission" loop.

You may also remove this message on the Superuser parameter (see notifications)
[Android Software Development] capslock66:
I am working on this problem.

But unfortunately, this is a quite complex job and can take a VERY long time.
[Android Software Development] spelaben:
That would be great, I'm already craving for this. :)
[Android Software Development] porusski:
God job

Tested on samsung galaxy s2
[Android Software Development] billabong272:
will be waiting for the next update.:D hope the market download will work.:)
[Android Software Development] tichs:
Hi capslock It would be also nice that Wifi and 4g would be off and trick the phone thinking is on wifi or 3g but using reverse tethering. Like iphone unrestrictor but for reverse tethring with wifi and 4g tricks.

Thanks
[Android Software Development] capslock66:
Next release (perhaps before weekend) will focus on connection stability.

Market is for later.
[Android Software Development] capslock66:
It's what I am trying to do, but Market is not well designed and want an "active" route before downloading. A lot af work is necessary to bypass this problem.
[Android Software Development] billabong272:
ahh yeah about that also, when I was using the beta 3 I rarely have a disconnection problem, I even tried browsing,using XDA app, using facebook app, etc. Afterwards, I flash a new Kernel and a new Rom for my phone(Xperia Mini ST15i). Then I found out the new 2.17 and tried it immediately. After a successful connection, when I try to hit return on my phone since it is still on usb tunnel app, it automatically shows the app has force close. I don't know why. When I tried to reconnect then the program on my laptop got infinite loop. So I have to use windows task manager to force close the program. When I tried back the beta 3 same thing happened. So... it must be my kernel or rom? Right?
[Android Software Development] capslock66:
No idea if it's the kernel. Version 2.18 will give move informations.

Version 2.17 and later update android package to latest version.

I Don't remember if beta3 do it correctly, so uninstall 2.17 in android before using beta 3.
[Android Software Development] loldevil:
DAAAAAAAAAAAMMMMMMMMM!!!!!!!!

I was looking for something like that for days!

I've tried on Win7/Ubuntu.. creating bridge connections, but no success..

Works like a charm on my Motorola Razr :D

THANK YOU!
[Android Software Development] rolodev:
Test 1:

SGS connection is ok with my laptop(using wifi in my house)

Test 2:

same mobile but this time at work (we have proxy.. maybe the app need a proxy option¿?)

i cant connect. this is the log:

Connecting to device. This may take a few seconds

Step 1 : Check if a device is connected

c:\android-sdk-windows\platform-tools\adb.exe -s 38310ACACD3B00EC devices

List of devices attached

38310ACACD3B00EC	device

Ok

Step 2 : Checking android package

Installed package version : 2.17

Current package version : 2.17

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. If nothing happens now, close the program and retry

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

A->H : Create server port : 53

A->H : Create server port : 443

Connection ERROR to 66.220.158.42:443 :Socket Error # 10060

Connection timed out.

Connection ERROR to 69.171.229.25:443 :Socket Error # 10060

Connection timed out.

Connection ERROR to 66.220.158.42:443 :Socket Error # 10060

Connection timed out.

Connection ERROR to 66.220.158.42:443 :Socket Error # 10060

Connection timed out.
[Android Software Development] capslock66:
Effectively, the application can't access the adresses directly if a proxy must be use.

I added in my planning a Proxy flag,adress and port. No idea when I can do it.

Best is to specify the proxy on your web browser.

The normal installed browser don't allow you to change it.

Use Firefox or opera in that case. So use one browser at home and another at work ;)
[Android Software Development] stepph:
proxy servers may be needed by market and others apps, not only Browser.

At now, many apps permit to set up connection for a proxy server, they are often GUI for redsocks executable...that could be a good start to implement a proxy setting inside an application.
[Android Software Development] capslock66:
Yes, but the final solution will be to implement a client proxy on windows side :

Redsocks is used in the reverse tethering because the android app is written in Java. High level layers like Java are not able to know what is the real target adress. So other application that use redsocks will be incompatible with reverse tethering.
[Android Software Development] stepph:
great, this will be a very different approach...

I'm not a developer, so i not fully understand your statments...only reporting my experience:

- I know that a 'redsocks based' apps permit reverse tethering to work through my 'proxyfied' network...

- also I know that the same solution doesn't not work on other platforms (tried Android_x86 on Virtual Machine), since the redsocks binary used by the apps is not generic.

My experiments and solution for reverse tethering is only a manual configuration, working for me, but not simply repeatible....

So i still wait for a simpler solution, like yours !!
[Android Software Development] capslock66:
After too much error, the connection stop.

Better is to reoot the phone.

Seams to be an error on your network : firewall ,proxy or the DNS is not well configured
[Android Software Development] stefan600:
what problem could cause that only whatsapp is working? using the xposed hack + cyanongenmod 11 (galaxy s2). No Errors in log at all
[Android Software Development] capslock66:
Whatsapp is the only app I know that don't wait for a network card notification from android to be ready.

This app don't use the same Api as Google play.

For android 4.3 and up, you need to to connect at least one time to a working wifi after a reboot.
[Android Software Development] Soharb:
[Q UOTE=capslock66;50449128]Install connectivity hack (search Google Market/Play on main page)[/QUOTE]

I installed it same thing google play store works but some apps still don't work .

and I want to know if there is way to after having internet on your mobile , you tether it on wifi with your handset.
[Android Software Development] KrishMehta:
THANK YOU SO MUCH dear.. I am really very grateful to u!
[Android Software Development] capslock66:
I installed it same thing google play store works but some apps still don't work .

and I want to know if there is way to after having internet on your mobile , you tether it on wifi with your handset.

Tethering on reverse tethering don't work. Sorry
[Android Software Development] Soharb:
I facing a new problem it says the socket is not plugged in or if it connects there is no internet coming
[Android Software Development] capslock66:
Is it in the log or it's a popup message ?

Can you send me this message ?
[Android Software Development] Soharb:
I got it I have to activate my data for some seconds before it