[Android Software Development] pranoy407:
Windows client :

Connecting to device. This may take a few seconds

Step 1 : Check if a device is connected

adb.exe -s S58300bbfbfd1 devices

List of devices attached

S58300bbfbfd1	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 : 80

thread udp stopped for port 45511

thread udp stopped for port 58696

thread udp stopped for port 51137

thread udp stopped for port 43044

thread udp stopped for port 47442

thread udp stopped for port 56570

thread udp stopped for port 54697

thread udp stopped for port 58843

thread udp stopped for port 47954

thread udp stopped for port 45240

thread udp stopped for port 57404

thread udp stopped for port 59611

thread udp stopped for port 53243

thread udp stopped for port 60622

thread udp stopped for port 41222

thread udp stopped for port 52048

thread udp stopped for port 51732

Android service

CheckConnection : send done 2

UdpRelay : waiting on port 42004

-----------------script : Start before port-----

Error running command :

/data/data/service.tracetool/app_bin/iptables_armv5 -t nat -A INPUT -p icmp -j LOG --log-uid --log-level debug --log-prefix "MYPREROUTING " --log-ip-options

iptables: No chain/target/match by that name.

--------- Script : start after opening ports

forward output to tether ok

Socks5Server [Thread-15_Session] : Udp connect. expected target = /0.0.0.0:0. Relay Server to use = localhost/127.0.0.1:42004

UdpRelay 42004 msg from /127.0.0.1:45511 Target port : 53

tunnelUdpServerSocket 53 not found. Create

Socks5Server [Thread-16_Session] : Udp connect. expected target = /0.0.0.0:0. Relay Server to use = localhost/127.0.0.1:42004

Socks5Server [Thread-17_Session] : Udp connect. expected target = /0.0.0.0:0. Relay Server to use = localhost/127.0.0.1:42004

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

UdpRelay 42004 msg from /127.0.0.1:45511 Target port : 53

UdpRelay 42004 msg from /127.0.0.1:43044 Target port : 53

UdpRelay 42004 msg from /127.0.0.1:43044 Target port : 53

UdpRelay 42004 msg from /127.0.0.1:58696 Target port : 53

Socks5Server [Thread-19_Session] : Tcp connect/74.125.236.84:80

Socks5Server [Thread-19_Session] : Create TCP server 80

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

Socks5Server [Thread-23_Session] : Udp connect. expected target = /0.0.0.0:0. Relay Server to use = localhost/127.0.0.1:42004

UdpRelay 42004 msg from /127.0.0.1:51137 Target port : 53

Socks5Server [Thread-24_Session] : Tcp connect/74.125.236.88:80

Socks5Server [Thread-27_Session] : Tcp connect/74.125.236.88:80

Socks5Server [Thread-30_Session] : Udp connect. expected target = /0.0.0.0:0. Relay Server to use = localhost/127.0.0.1:42004

UdpRelay 42004 msg from /127.0.0.1:60622 Target port : 53

Socks5Server [Thread-32_Session] : Tcp connect/74.125.236.84:80

Socks5Server [Thread-31_Session] : Tcp connect/74.125.236.88:80

Socks5Server [Thread-33_Session] : Udp connect. expected target = /0.0.0.0:0. Relay Server to use = localhost/127.0.0.1:42004

UdpRelay 42004 msg from /127.0.0.1:47954 Target port : 53

Socks5Server [Thread-38_Session] : Udp connect. expected target = /0.0.0.0:0. Relay Server to use = localhost/127.0.0.1:42004

UdpRelay 42004 msg from /127.0.0.1:53243 Target port : 53

Socks5Server [Thread-39_Session] : Udp connect. expected target = /0.0.0.0:0. Relay Server to use = localhost/127.0.0.1:42004

UdpRelay 42004 msg from /127.0.0.1:54697 Target port : 53

Socks5Server [Thread-40_Session] : Udp connect. expected target = /0.0.0.0:0. Relay Server to use = localhost/127.0.0.1:42004

UdpRelay 42004 msg from /127.0.0.1:45240 Target port : 53

Socks5Server [Thread-41_Session] : Udp connect. expected target = /0.0.0.0:0. Relay Server to use = localhost/127.0.0.1:42004

UdpRelay 42004 msg from /127.0.0.1:47442 Target port : 53

Socks5Server [Thread-42_Session] : Udp connect. expected target = /0.0.0.0:0. Relay Server to use = localhost/127.0.0.1:42004

UdpRelay 42004 msg from /127.0.0.1:41222 Target port : 53

Socks5Server [Thread-43_Session] : Udp connect. expected target = /0.0.0.0:0. Relay Server to use = localhost/127.0.0.1:42004

UdpRelay 42004 msg from /127.0.0.1:58843 Target port : 53

Socks5Server [Thread-44_Session] : Udp connect. expected target = /0.0.0.0:0. Relay Server to use = localhost/127.0.0.1:42004

UdpRelay 42004 msg from /127.0.0.1:57404 Target port : 53

Socks5Server [Thread-45_Session] : Udp connect. expected target = /0.0.0.0:0. Relay Server to use = localhost/127.0.0.1:42004

UdpRelay 42004 msg from /127.0.0.1:56570 Target port : 53

Socks5Server [Thread-46_Session] : Udp connect. expected target = /0.0.0.0:0. Relay Server to use = localhost/127.0.0.1:42004

UdpRelay 42004 msg from /127.0.0.1:52048 Target port : 53

Socks5Server [Thread-47_Session] : Udp connect. expected target = /0.0.0.0:0. Relay Server to use = localhost/127.0.0.1:42004

UdpRelay 42004 msg from /127.0.0.1:51732 Target port : 53

Socks5Server [Thread-48_Session] : Udp connect. expected target = /0.0.0.0:0. Relay Server to use = localhost/127.0.0.1:42004

UdpRelay 42004 msg from /127.0.0.1:59611 Target port : 53