yashsingh1/xdaforums huggingface dataset:
[Android Software Development] m260:
i tried in infocu m260 windows xpsp3 also in win 7 coneected but tcp udp 0

08-23 19:30:39:343 W/I Tool version : 3.19

08-23 19:30:39:343 W/I adb.exe

08-23 19:30:39:343 W/I aapt.exe

08-23 19:30:39:453 W/I Android Debug Bridge version 1.0.31

ERVICES(17191): r A/d d_meminfo() mem_free=37380

08-23 19:31:01:343 W/E RunProcessCommand Timeout for : adb.exe -s ZL2GLMB610403462 shell rm /data/data/service.tracetool/app_bin/rt.txt

08-23 19:31:02:453 W/E Unable to delete file

08-23 19:31:02:453 W/E Unplug and replug USB cable and try again.

08-23 19:31:03:390 W/I Wait java service

08-23 19:31:03:500 W/I waiting android server connection ... 1

08-23 19:31:03:687 W/I Waiting for connection

08-23 19:31:05:296 L/D HOST : NJ-SW-UBUNTU-S8

08-23 19:31:05:296 L/D RELEASE : 5.0.2

08-23 19:31:05:296 L/D SDK : 21

08-23 19:31:05:296 L/D FINGERPRINT : InFocus/M260_00WW/ZL2:5.0.2/LRX22G/00WW_5_18A:user/release-keys

08-23 19:31:05:296 L/D VM name : Dalvik

08-23 19:31:05:296 L/D OS Arch : armv7l

08-23 19:31:05:296 L/D Reverse tethering package version : 3.19

08-23 19:31:05:328 L/D Xposed installer : 3.0 alpha4, app_process : not found, XposedBridge.jar : not found

08-23 19:31:05:343 L/D Hack Connectivity Service. Package version : 1.4, mode : 1, trace : 1

08-23 19:31:06:734 W/I interfaces before script startwlan0(UP), tunl0(DOWN) 192.168.1.2/24, lo(UP) 127.0.0.1/8, sit0(DOWN), ifb1(DOWN), ifb0(DOWN), p2p0(UP), ccmni2(DOWN), ccmni1(DOWN), ccmni0(DOWN), ip6tnl0(DOWN)

08-23 19:31:06:859 W/I no route

08-23 19:31:06:875 L/D OnStart script 3.19

08-23 19:31:06:875 L/D Interface to use : "tunl0"

08-23 19:31:07:750 L/D ifconfig tunl0 192.168.1.2 netmask 255.255.255.0

08-23 19:31:08:062 L/D route add default gateway 192.168.1.2 tunl0

08-23 19:31:09:265 L/D redirect all communications to TETHER chain

08-23 19:31:09:578 L/D forward tcp to native handler

08-23 19:31:10:890 L/D OnStart script done

08-23 19:31:11:609 L/E Error running command :

08-23 19:31:11:609 L/E /data/data/service.tracetool/app_bin/proxy_socks.sh start

08-23 19:31:11:609 L/E error: only position independent executables (PIE) are supported.

08-23 19:31:11:656 L/D => setHackMode to 'Wifi' result : 1

08-23 19:31:12:734 W/I interfaces after script startwlan0(UP), tunl0(UP) 192.168.1.2/24, lo(UP) 127.0.0.1/8, sit0(DOWN), ifb1(DOWN), ifb0(DOWN), p2p0(UP), ccmni2(DOWN), ccmni1(DOWN), ccmni0(DOWN), ip6tnl0(DOWN)

08-23 19:31:12:968 W/I route : destination : 0.0.0.0, gateway : 192.168.1.2, output : tunl0

08-23 19:31:12:968 W/I route : destination : 192.168.1.0, gateway : 0.0.0.0, output : tunl0

08-23 19:31:12:968 W/I

08-23 19:31:12:968 W/I Connection done

Server List at 08-23 19:50:27:640

DNS List

8.8.8.8 (ok)[default]

8.8.4.4 (ok)

192.168.1.1 (ok)
[Android Software Development] sasha82:
connected for a sec and then disconnects

I did everything step by step super su has granted access to usb tunnel and xposed installer

when i start tethering after clicking connect, it shows "connected for a second at usb tunnel and then gets disconnected saying

"service is running" not connected

using samsung t230

my tab all of a sudden started having issue of wifi not turning on , when we click wifi button, the bluetooth also switches on ,stays light green for a sec and then both buttons go gray ... this is why I am trying to use reverse tethering on my tab

please see attached screenshots, any help is much much appreciated!
[Android Software Development] powghi:
Can I root s7 edge?
[Android Software Development] EltonHUEBRA:
dns not working

in my tablet acess only ips, no resolve names. My tablet no have sim card only wifi, have problem?
[Android Software Development] kabuza:
Hey, can anyone help? Not sure if this log has anything to do with superuser access, but I granted it and it still won't let me connect.

11-17 21:51:17:151 W/I Tool version : 3.19

11-17 21:51:17:151 W/I D:\Reverse tether\adb.exe

11-17 21:51:17:151 W/I D:\Reverse tether\aapt.exe

11-17 21:51:17:291 W/I Android Debug Bridge version 1.0.31

11-18 09:52:26.05 A/W process (13544) : Implicit intents with startService are not safe: Intent { act=service.tracetool.SocketService.ACTION (has extras) } android.content.ContextWrapper.startService:506 android.content.ContextWrapper.startService:506 service.tracetool.TTBroadcastReceiver.onReceive:41

11-18 09:52:26.11 A/I UsbThread1 : usbServerSocket : Waiting for the host to connect

11-17 21:51:20:677 W/I Wait java service

11-17 21:51:20:785 W/I waiting android server connection ... 1

11-17 21:51:21:129 W/I Waiting for connection

11-17 21:51:22:409 W/I Sending busybox21

11-18 09:52:28.31 A/E UsbThread1.run() loop error. firstByte : 39 : WTOA_copyFile

11-18 09:52:28.31 A/E UsbThread1.run() loop error. lastCommand : 32 : WTOA_setGlobalVar

11-18 09:52:28.31 A/E UsbThread1.run() loop error. Exception type : class java.io.FileNotFoundException

11-18 09:52:28.31 A/E UsbThread1.run() loop error. Exception message : /storage/emulated/0/busybox21: open failed: EACCES (Permission denied)

11-18 09:52:28.32 A/E UsbThread1.run() loop error. Exception cause : libcore.io.ErrnoException: open failed: EACCES (Permission denied)

11-18 09:52:28.32 A/E UsbThread1.run() loop error. Exception string : java.io.FileNotFoundException: /storage/emulated/0/busybox21: open failed: EACCES (Permission denied)

11-18 09:52:28.32 A/E libcore.io.IoBridge.open(IoBridge.java:409)

11-18 09:52:28.32 A/E java.io.FileInputStream.<init>(FileInputStream.java:78)

11-18 09:52:28.33 A/E service.tracetool.Api.copy(Api.java:1471)

11-18 09:52:28.33 A/E service.tracetool.UsbThread.copyFile(UsbThread.java:1944)

11-18 09:52:28.33 A/E service.tracetool.UsbThread.run(UsbThread.java:316)

11-18 09:52:28.33 A/E UsbThread1.run() -> unexpected disconnection

11-18 09:52:28.33 A/I UsbThread1 : usbServerSocket : Waiting for the host to connect

11-17 21:51:36:743 W/I

11-17 21:51:36:743 W/E Connection Aborted. Restart program and try again

Edit: Nevermind. I got it to work by installing busybox on play store. Thanks guys.
[Android Software Development] alocut:
E'rything run OK but my Phone can not connect to Internet.

P/S: Win 10 64bit had turnoff firewall, shared ethernet

How do I fix it ???
[Android Software Development] capslock66:
1) Did you connect to a wifi or 3g after reboot?

This must be done only once

2) Don't work only on android 5, 6, 7
[Android Software Development] alocut:
1) Yes, of course. After reboot, I've just connect to a wifi sometimes.

2) Yes, i'm setting up with 4.4.2 on my Lenovo P780

How to check and fix now ?
[Android Software Development] capslock66:
Can you send the log here ?
[Android Software Development] alocut:
I've just PM, Tks 4 your support,
[Android Software Development] Pa1_pk:
Need Help , Everything looks fine But not working in 6.0

Getting some errors in commands, No such device.......................

Please tell me, How to solve.

12-17 14:50:15:198 L/D HOST : BuildHost

12-17 14:50:15:198 L/D RELEASE : 6.0

12-17 14:50:15:198 L/D SDK : 23

12-17 14:50:15:199 L/D FINGERPRINT : Sony/E5563/E5563:6.0/29.2.B.0.129/354220396:user/release-keys

12-17 14:50:15:199 L/D VM name : Dalvik

12-17 14:50:15:199 L/D OS Arch : armv8l

12-17 14:50:15:202 L/D Reverse tethering package version : 3.19

12-17 14:50:23:691 L/D Xposed installer : 3.1.1, app_process : not found, XposedBridge.jar : not found

12-17 14:50:23:696 L/D Hack Connectivity Service. Package version : 1.4, mode : 0, trace : 1

12-17 14:50:24:846 W/I no route

12-17 14:50:24:854 L/D OnStart script 3.19

12-17 14:50:24:855 L/D Interface to use : ""

12-17 14:50:25:815 L/E Error running command :

12-17 14:50:25:815 L/E busybox ifconfig up

12-17 14:50:25:815 L/E ifconfig: up: error fetching interface information: Device not found

12-17 14:50:25:816 L/D ifconfig 192.168.1.2 netmask 255.255.255.0

12-17 14:50:26:148 L/E Error running command :

12-17 14:50:26:148 L/E busybox ifconfig 192.168.1.2 netmask 255.255.255.0

12-17 14:50:26:149 L/E ifconfig: SIOCSIFNETMASK: No such device

12-17 14:50:26:149 L/D route add default gateway 192.168.1.2

12-17 14:50:26:479 L/E Error running command :

12-17 14:50:26:479 L/E busybox route add default gateway 192.168.1.2

12-17 14:50:26:480 L/E route: SIOCADDRT: Network is unreachable

12-17 14:50:27:395 L/D redirect all communications to TETHER chain

12-17 14:50:27:698 L/D forward tcp to native handler

12-17 14:50:28:042 L/E Error running command :

12-17 14:50:28:042 L/E iptables -t nat -A TETHER -o -p tcp --dport 1:41999 -j REDIRECT --to 42200

12-17 14:50:28:042 L/E Bad argument `tcp'

12-17 14:50:28:042 L/E Try `iptables -h' or 'iptables --help' for more information.

12-17 14:50:28:386 L/E Error running command :

12-17 14:50:28:386 L/E iptables -t nat -A TETHER -o -p tcp --dport 42500:65535 -j REDIRECT --to 42200

12-17 14:50:28:390 L/E Bad argument `tcp'

12-17 14:50:28:390 L/E Try `iptables -h' or 'iptables --help' for more information.

12-17 14:50:28:730 L/E Error running command :

12-17 14:50:28:730 L/E iptables -t nat -A TETHER -o -p udp --dport 53 -j REDIRECT --to 42001

12-17 14:50:28:730 L/E Bad argument `udp'

12-17 14:50:28:730 L/E Try `iptables -h' or 'iptables --help' for more information.

12-17 14:50:29:071 L/D OnStart script done

12-17 14:50:29:755 L/E Error running command :

12-17 14:50:29:755 L/E /data/user/0/service.tracetool/app_bin/proxy_socks.sh start

12-17 14:50:29:755 L/E error: only position independent executables (PIE) are supported.

12-17 14:50:29:770 L/D => setHackMode to 'Wifi' result : 1

12-17 14:50:20.87 A/I FinalizerDaemon: finalize objects = 4

12-17 14:50:30:724 W/I no route

12-17 14:50:30:724 W/I

12-17 14:50:30:724 W/I Connection done

12-17 14:50:53.26 A/I com.google.android.youtube : NetworkInfo getActiveNetworkInfo()
[Android Software Development] bgbr7289:
Thank you for Great Idea and Tool.

But i have some problem....

i'm using dictionary based on RK3188 AP, wifi module removed version.

and its android version is 4.4.4 kitkat.

in your article FAQs, you said

3)Android 4.3 and upper : You must connect your phone/tablet to a working wifi or 3g once after each boot before using reverse tethering !!!

but i can't access to wifi or 3g after every reboot.

can i solve this problem in other way?

or can you tell me why do i have to connect to wifi or 3g once after each boot?
[Android Software Development] glass_rain:
ah almost sounds like It's blocking itself...

>"< Glass<^>Rain >"<

---------- Post added at 03:39 PM ---------- Previous post was at 03:32 PM ----------

you've got the --dport correct... that's missed at times... script looks good... strange

>"< Glass<^>Rain >"<
[Android Software Development] capslock66:
Yes, a few errors than can be fixed, exepct the main one : android 6.0

Don't work on android 5+
[Android Software Development] capslock66:
Sorry, cannot help you in that case.
[Android Software Development] capslock66:
Sorry, don't understand
[Android Software Development] bgbr7289:
Ah.......

If connecting wifi or 3g at least once means I have to initialize ip address or something similar, can I do it manually?
[Android Software Development] capslock66:
I don't know what android does at first connection to a wifi or 3G.

This is the problem.

If you don't connect after boot ,requests are not send to iptables (used by reverse tethering).

I know that there is a paid version of a similar application on market that don't need root and don't need to connect one time to wifi or 3g.

(I don't remember the name)
[Android Software Development] capslock66:
I will post this weekend another version with more traces.

Can you test version 2.21 and send me the log if that don't work ?
[Android Software Development] capslock66:
New version 2.21 uploaded:

- Fixed ICS problem with usb0.

- Can also fix connection if logcat is not readable. (No log starting with "A")

Report me if this don't work or this version work better than 2.20

I leave 2.20 available in case of.
[Android Software Development] simmer14:
hi bro u did not answer me are u working on connection masking or not ? the idea is to mask this connection as carrier network or wifi connection so that we would be able to download game data's and other stuff..

please kindly reply..

ps : 2.21 working perfect ! now we need some features if u have some spare time..

regards

simmer
[Android Software Development] capslock66:
It's quite technical but I will explain the problem :

The current solution I use is to redirect network traffic to an existing network card like usb0 using the "route" command and redirect again with iptables to my android application. This work with TCP(like http) and UDP(like dns) but not with ICMP (ping, traceroute) that depends of the low layer network card. I can't force this card to response to a ping.

In fact ,this is a market bad programming concept.

The market ping the server before opening a communication.

To solve the problem, I have to create my proper virtual network card using tun/tap technology that can response to ping.

It's at least 2 months in my spare time and I don't know where to find doc.

Maybe in open vpn.

Before that I would like to test another solution.

My primary preoccupation was to fix connection problem for all types of materials and android OS version.

I hope now it's ok.

What other features do you need ? If it's useful for everybody I will take a look.
[Android Software Development] simmer14:
no other features bro the application itself is a wonder for me..
[Android Software Development] pranoy407:
For me your application is working like a charm as everything works for me...yes..even market downloading ( by changing DNS and a little painful trick).. but still would be better if the prob gets solved.. Me too working on this :)
[Android Software Development] capslock66:
You are lucky :-)

since 2.20, the tool change itself the DNS. So you do something else,

but what ?
[Android Software Development] pranoy407:
As I use Ace just as a test phone so I've a sim with null balance in it.. so it does have EDGE/GPRS activated but it wont download/upload anything unless I top-up some balance in it.. So I keep this Data mode on & use your app to mask connection... Works for me.. Not sure if similar way is adopted by all operators in other countries.

So no need of Set DNS now ? Nice.
[Android Software Development] vj_dustin:
is it just me or does everyone has to switch their data off to make this tool work?? :/
[Android Software Development] pranoy407:
No.. You're not the only one... If your Data is active it wont work.
[Android Software Development] capslock66:
Effectively, for now , data (wifi/3g) must be set to off.

With the 2.21, you can see linux network card in the log

eth0 UP 192.168.1.4 255.255.255.0 0x00001043

usb0 UP 192.168.1.2 255.255.255.0 0x00001043

eth0 is the wifi card and usb0 is the card I use.

So if the wifi card is active, communication will goes to eth0

I think it's easy to fix or display a warning.

More info on this topic tomorrow.
[Android Software Development] capslock66:
Version 2.22 uploaded

- Some bug fix (Script, statistics on windows).

- Should work now if the data is on (wifi or the 3g) is on.

- Less traces after connection.

I wait for your feedback for the connection when data is on.

Market is still not working, but if data (wifi/3G) is enabled, market can work.

Nothing is send or received on the wifi/3g.
[Android Software Development] Midomad:
app work with 3g on but download from market doesnt work :(
[Android Software Development] Tan9890:
Awesome tool!!!! Thanks!!!:D:D

Any tricks to download from the market yet? :D
[Android Software Development] SL:
I am happy to let you guys know that on version 2.22, it finally works on Galaxy Nexus (on opera mobile), XDA premium browsing apk, Howard forums browsing, and seems like market is working as it is now downloading titanium backup (update).

On gmail, it is now trying to sync the mail. (but not going anywhere)

ps: none of the previous version works for me.

update

market is not working..it just sit on it

gmail is not working. (display message that it is trying to sync)
[Android Software Development] capslock66:
I don't see any problem in the log.

For the speed, it's the first time I heard that. it's perhaps a virus on your pc or the 960MB RAM is not enough, I don't know ...

Try reboot both the pc and the android and retry.
[Android Software Development] capslock66:
Gmail should work.

The market show a progress bar. You can see traces in the log showing the problem.
[Android Software Development] SL:
The progress bar on Market remains at zero.

What facinates me most is I did not ask for the update.

I had it on auto update and it detected that the titanium backup needed update.

It also detects linkedin Android requires an update. But like the above, it stays at zero %

Gmail has sat for hours now trying to auto sync. BUt no luck in syncing the mails.

A/I MainServiceActivity : onCreate. Call connectService

A/I SocketService.onStart start

A/I SocketService.onStart done

W/D A->H : Create server port : 53

A/D tunnelUdpServerSocket 53 not found

A/I --------- Script : Udp port start : 53 / 42010

W/D A->H : Create server port : 80

A/W Socks5Server [Thread-218_Session] : Create TCP server 80

A/I --------- Script : Tcp port start : 80 / 42100

W/D A->H : Create server port : 443

A/W Socks5Server [Thread-267_Session] : Create TCP server 443

A/I --------- Script : Tcp port start : 443 / 42101

A/I DownloadManager : Initiating request for download 277

A/W DownloadManager : Aborting request for download 277: no network connection available

A/E Socks5Server [Thread-230_Session] : pipe() : InterruptedIOException. byte transfered : 0

A/E Socks5Server [Thread-230_Session] : pipe() : timeout

A/E Socks5Server [Thread-263_Session] : pipe() : InterruptedIOException. byte transfered : 0

A/E Socks5Server [Thread-263_Session] : pipe() : timeout

A/E Socks5Server [Thread-267_Session] : pipe() : InterruptedIOException. byte transfered : 0

A/E Socks5Server [Thread-267_Session] : pipe() : timeout

A/E Socks5Server [Thread-272_Session] : pipe() : InterruptedIOException. byte transfered : 0

A/E Socks5Server [Thread-272_Session] : pipe() : timeout

A/E Socks5Server [Thread-298_Session] : pipe() : InterruptedIOException. byte transfered : 0

A/E Socks5Server [Thread-298_Session] : pipe() : timeout

A/E Socks5Server [Thread-301_Session] : pipe() : InterruptedIOException. byte transfered : 0

A/E Socks5Server [Thread-301_Session] : pipe() : timeout

A/E Socks5Server [Thread-304_Session] : pipe() : InterruptedIOException. byte transfered : 0

A/E Socks5Server [Thread-304_Session] : pipe() : timeout

A/E Socks5Server [Thread-286_Session] : pipe() : InterruptedIOException. byte transfered : 0

A/E Socks5Server [Thread-307_Session] : pipe() : InterruptedIOException. byte transfered : 0

A/E Socks5Server [Thread-286_Session] : pipe() : timeout

A/E Socks5Server [Thread-307_Session] : pipe() : timeout

A/E Socks5Server [Thread-285_Session] : pipe() : InterruptedIOException. byte transfered : 0

A/E Socks5Server [Thread-285_Session] : pipe() : timeout

A/E Socks5Server [Thread-279_Session] : pipe() : InterruptedIOException. byte transfered : 0

A/E Socks5Server [Thread-279_Session] : pipe() : timeout

A/E Socks5Server [Thread-288_Session] : pipe() : InterruptedIOException. byte transfered : 0

A/E Socks5Server [Thread-288_Session] : pipe() : timeout

A/E Socks5Server [Thread-295_Session] : pipe() : InterruptedIOException. byte transfered : 0

A/E Socks5Server [Thread-295_Session] : pipe() : timeout

Server List

53 : A->H : 8000 ,H->A : 1962

80 : A->H : 17597 ,H->A : 412047

443 : A->H : 12090 ,H->A : 96361
[Android Software Development] bgbr7289:
Thank you!

Thank you for your kind answers.

Maybe I should find other way......

Thanks a lot again!
[Android Software Development] jam3h.net:
Why not work with Android Mrschmlo 6.1
[Android Software Development] capslock66:
Because android 5+ changed something in the kernel and reverse tethering no more receive ip packets.
[Android Software Development] jam3h.net:
Are there alternative methods such as application or another program from the Internet post by Alroot?
[Android Software Development] capslock66:
Yes there is an alternative, not free (6$), and that don't need root

Search "Reverse Tethering NoRoot" on google play

He use another way to do it.
[Android Software Development] AMT2:
After doing all process its showing that socket error 10054?

can anybody help me what's the wrong i do?

thanks in advance
[Android Software Development] capslock66:
can you copy here the log ?
[Android Software Development] Gadash:
I have a clone of Galaxy S4.

It has USB internet in settings... But it did not work... It says connected and notifications.... But no internet...

Therefore I used these apps!

Same... Everything look fine but no internet :(

Can anyone help? :fingers-crossed:

Also, what should be the DNS ip address? Can we use public DNS like Google DNS in it? or should it be something related to the connected PC? :confused:
[Android Software Development] capslock66:
You can use the google one (8.8.8.8) or the local dns : open a command prompt and enter ipconfig. The DNS server should be listen

Galaxy must be rooted, xposed framework and module installed and you need to connect to internet using 3g or wifi after each boot. See the step by step tuto

If still don't work , send here the log
[Android Software Development] capslock66:
The problem comes from the custom rom you installed :

low level command I use to redirect traffic is not recognized : "Timer expired" or "SIOCADDRT: No such process"

Can you install iptables from the market ? perhaps this will work (but not sure at all)

(after install, start it, hit install button, then reboot again, connect to wifi or 3g and disconnect)

Hope that help
[Android Software Development] Gadash:
Thanks,,, I installed Iptables (beta) by Moroni Granja do Brasil.

Did as you said... Not much difference... Anyway debug info posted below... I think I have to quit trying :mad:

Can not post debug log here as it is too long... And full links are not allowed for new members...

pastebin.com/3362m6X3

Thank you very much! :o
[Android Software Development] capslock66:
The log is strange, too much lines...

But In the log I see that the tool still use the old iptables

I think Iptables is not fully installed.

start Iptables (beta) and click the "install" button, then reboot, log to wifi/3g ones, run the tool
[Android Software Development] capslock66:
Well , The Reverse tethering has his proper version of iptable, sometimes this don't work, so user have to install from the market.

From the log and your screenshot, I see that you have well installed it.

Usually it's enough.

On are occasion, on device with small memory, the developer of the custom Rom drop support for iptable.

This happens with some custom Rom from China or Russia. On the log I see reference to "glzhong-desktop"

I saw this problem only 4 or 5 times. Never on Samsung device.

Better is to use recognized Rom like cyanogen

Caps
[Android Software Development] kia5566:
Galaxy S3

My Galaxy S3 running 4.4.4 Kit Kat version. After connected I only can use facebook apps, others apps like youtube, twitch and browser cannot access internet whyy ?
[Android Software Development] capslock66:
Everything is fine in the log.

You can disable log in the Wifi plugin.

Release indicate android 6, but Fingerprint indicate 4.4.4. It's a little bit confusing...

Reverse tethering should work fine on Kitkat.

Did you logged to a WIFI or a 3G after reboot ? This is MANDATORY and must be done only one time after EACH boot to complete initialization.
[Android Software Development] kia5566:
My Galaxy S3 wifi ic is broken that's why I need Reverse Tethering. By the way my pc is connected with ethernet cable, do I need to change my connection to wifi ?
[Android Software Development] capslock66:
No, don't change anything on your PC.

You need to connect your

android

to Wifi or 3g/4g after each boot else reverse tethering will not work.