[Android Software Development] stepie22:
post too long:mad:

06-17 11:00:02:149 W/I Tool version : 3.6
06-17 11:00:06:180 W/I ==> Start android service
06-17 10:59:46.67 A/I SocketService.onStartCommand. Action = TTServiceStart
06-17 10:59:46.67 A/I UsbThread3.run() needToBeClosed is true
06-17 10:59:46.68 A/I =====HcDesactivateFakeWifi======
06-17 10:59:46.68 A/I UsbThread : thread main : wait current UsbThread to terminate 0
06-17 10:59:46.87 A/I UsbThread3 : thread stopped

06-17 11:00:07:274 W/I Wait service. If nothing happens now, close the program and retry
06-17 11:00:07:384 W/I waiting android server connection ... 1
06-17 10:59:47.68 A/I TunnelController : thread started

06-17 10:59:47.69 A/I UsbThread4 : thread started

06-17 10:59:47.69 A/I UsbThread4 : Create usb socket
06-17 10:59:47.69 A/I UsbThread4 : usbServerSocket : Waiting for the host to connect
06-17 11:00:10:024 W/I Waiting for connection. If nothing happens now, close the program and retry
06-17 11:00:10:071 W/I Waiting for connection. If nothing happens now, close the program and retry
06-17 10:59:49.75 A/I UsbThread4 : Host connected

06-17 10:59:49.80 A/E UsbThread4.run() loop error. firstByte : 4 : 4

06-17 10:59:49.80 A/E UsbThread4.run() loop error. lastCommand : 4 : 4
06-17 10:59:49.80 A/E UsbThread4.run() loop error. Exception : recvfrom failed: ECONNRESET (Connection reset by peer)
06-17 10:59:49.80 A/E UsbThread4.run() -> unexpected disconnection
06-17 10:59:49.80 A/I UsbThread4 : usbServerSocket : Waiting for the host to connect
06-17 10:59:49.80 A/I UsbThread4 : Host connected
06-17 11:00:10:759 W/I Waiting for connection. If nothing happens now, close the program and retry
06-17 10:59:50.43 A/I **************************************************

06-17 11:00:10:837 W/I Check connection 2 ok
06-17 11:00:10:837 W/I Android service status : Host connected
06-17 10:59:50.43 A/I UsbThread4.run() -> input.read returns -1

06-17 10:59:50.43 A/I UsbThread4.run() end while read
06-17 10:59:50.43 A/E UsbThread4.run() -> unexpected disconnection
06-17 10:59:50.43 A/I UsbThread4 : usbServerSocket : Waiting for the host to connect
06-17 10:59:50.45 A/I UsbThread4 : Host connected
06-17 11:00:11:384 W/D ------------------------------------------------------------
06-17 11:00:11:384 W/D Android Superuser may ask you to accept rights.
06-17 11:00:11:384 W/D Check your android and accept "Superuser Request" now if needed !!!
06-17 11:00:11:384 W/D If connection stop here and Superuser don't apears ,you phone or tablet is probably not rooted
06-17 10:59:51.14 A/I RELEASE : 4.2.2

06-17 10:59:51.14 A/I INCREMENTAL : eng.krislibaeer.20130610.220135

06-17 10:59:51.14 A/I SDK : 17
06-17 11:00:12:759 W/I interfaces before script startip6tnl0(DOWN), dummy0(DOWN), lo(UP) 127.0.0.1/8, sit0(DOWN) 192.168.1.2/24
06-17 11:00:13:118 W/I no route
06-17 10:59:52.86 A/D OnStart script

06-17 10:59:52.86 A/D wifi or 3g card adress : ""

06-17 10:59:52.86 A/D Interface to use : "sit0"
06-17 10:59:52.86 A/D Old routes adress to disable : ""
06-17 10:59:52.86 A/D default route to restore : ""
06-17 11:00:13:571 W/I Waiting for connection. If nothing happens now, close the program and retry
06-17 10:59:52.98 A/V Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)

06-17 11:00:13:540 W/D UsbThread.Execute : Connection Closed Gracefully.
06-17 10:59:52.99 A/V pkts bytes target prot opt in out source destination
06-17 10:59:52.99 A/V Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
06-17 10:59:52.99 A/V pkts bytes target prot opt in out source destination
06-17 10:59:52.99 A/V Chain OUTPUT (policy ACCEPT 3 packets, 180 bytes)
06-17 10:59:52.99 A/V pkts bytes target prot opt in out source destination
06-17 10:59:52.99 A/V Chain POSTROUTING (policy ACCEPT 3 packets, 180 bytes)
06-17 10:59:52.99 A/V pkts bytes target prot opt in out source destination
06-17 10:59:52.99 A/V Chain natctrl_nat_POSTROUTING (0 references)
06-17 10:59:52.99 A/V pkts bytes target prot opt in out source destination
06-17 10:59:52.99 A/V Chain oem_nat_pre (0 references)
06-17 10:59:52.99 A/V pkts bytes target prot opt in out source destination
06-17 10:59:52.99 A/D adress to use : "192.168.1.2"
06-17 10:59:52.99 A/D nativeUdp : "false"
06-17 10:59:52.99 A/D Create TETHER chain and Clean...
06-17 10:59:53.23 A/D ICMP...
06-17 10:59:53.68 A/D busybox ifconfig sit0 up
06-17 10:59:53.77 A/D ifconfig sit0 192.168.1.2 netmask 255.255.255.0
06-17 10:59:53.81 A/D no default route to delete
06-17 10:59:53.82 A/D route add default gateway 192.168.1.2 sit0
06-17 10:59:53.92 A/D setprop dns and ip
06-17 11:00:14:384 W/I waiting android message callback ... 2
06-17 11:00:15:384 W/I waiting android message callback ... 3
06-17 11:00:16:384 W/I waiting android message callback ... 4
06-17 10:59:56.84 A/D redirect all communications to TETHER chain
06-17 11:00:17:384 W/I waiting android message callback ... 5
06-17 10:59:57.23 A/D forward tcp to native handler

06-17 11:00:18:384 W/I waiting android message callback ... 6
06-17 10:59:58.15 A/D forward udp to redsocks
06-17 11:00:19:384 W/I waiting android message callback ... 7
06-17 11:00:20:384 W/I waiting android message callback ... 8
06-17 11:00:00.17 A/V Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)

06-17 11:00:00.19 A/V pkts bytes target prot opt in out source destination
06-17 11:00:00.19 A/V Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
06-17 11:00:00.20 A/V pkts bytes target prot opt in out source destination
06-17 11:00:00.20 A/V Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
06-17 11:00:00.20 A/V pkts bytes target prot opt in out source destination
06-17 11:00:00.20 A/V 0 0 TETHER all -- any any anywhere anywhere
06-17 11:00:00.20 A/V Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
06-17 11:00:00.20 A/V pkts bytes target prot opt in out source destination
06-17 11:00:00.20 A/V Chain TETHER (1 references)
06-17 11:00:00.20 A/V pkts bytes target prot opt in out source destination
06-17 11:00:00.21 A/V 0 0 REDIRECT tcp -- any sit0 anywhere anywhere tcp dpts:tcpmux:41999 redir ports 42200
06-17 11:00:00.21 A/V 0 0 REDIRECT tcp -- any sit0 anywhere anywhere tcp dpts:42500:65535 redir ports 42200
06-17 11:00:00.21 A/V 0 0 REDIRECT udp -- any sit0 anywhere anywhere udp dpts:1:41999 redir ports 42001
06-17 11:00:00.21 A/V 0 0 REDIRECT udp -- any sit0 anywhere anywhere udp dpts:42500:65535 redir ports 42001
06-17 11:00:00.21 A/V Chain natctrl_nat_POSTROUTING (0 references)
06-17 11:00:00.21 A/V pkts bytes target prot opt in out source destination
06-17 11:00:00.21 A/V Chain oem_nat_pre (0 references)
06-17 11:00:00.21 A/V pkts bytes target prot opt in out source destination
06-17 11:00:00.21 A/D OnStart script done
06-17 11:00:00.22 A/I UsbThread4 : runGlobalScriptStart : script GlobalScriptStart done
06-17 11:00:00.22 A/I UsbThread4 : Api.nativeTcpSockets : null
06-17 11:00:00.22 A/I UsbThread4 : Api.nativeUdpSockets : null
06-17 11:00:00.22 A/I UsbThread4 : Api.nativeDnsSockets : null
06-17 11:00:00.73 A/I mainTcpServerLoop()
06-17 11:00:00.75 A/V cppMainTcpServerLoop : started
06-17 11:00:21:384 W/I waiting android message callback ... 9
06-17 11:00:21:666 W/I Check connection 2 ok
06-17 11:00:21:666 W/I Android service status : Host connected
06-17 11:00:01.34 A/I UsbThread4 : call HcActivateFakeWifi intent
06-17 11:00:01.35 A/I UsbThread4 : after HcActivateFakeWifi intent
06-17 11:00:01.35 A/I UsbThread4 : runGlobalScriptStart done
06-17 11:00:01.35 A/I **************************************************
06-17 11:00:01.35 A/I UsbThread4.run() -> input.read returns -1
06-17 11:00:01.35 A/I UsbThread4.run() end while read
06-17 11:00:01.35 A/E UsbThread4.run() -> unexpected disconnection
06-17 11:00:01.35 A/I UsbThread4 : usbServerSocket : Waiting for the host to connect
06-17 11:00:01.35 A/I UsbThread4 : Host connected
06-17 11:00:22:384 W/D ------------------------------------------------------------
06-17 11:00:22:384 W/D Android Superuser may ask you to accept rights.
06-17 11:00:22:384 W/D Check your android and accept "Superuser Request" now if needed !!!
06-17 11:00:22:384 W/D If connection stop here and Superuser don't apears ,you phone or tablet is probably not rooted
06-17 11:00:02.14 A/I RELEASE : 4.2.2

06-17 11:00:02.14 A/I INCREMENTAL : eng.krislibaeer.20130610.220135
06-17 11:00:02.14 A/I SDK : 17
06-17 11:00:23:822 W/I interfaces before script startip6tnl0(DOWN), dummy0(DOWN), lo(UP) 127.0.0.1/8, sit0(UP) 192.168.1.2/24
06-17 11:00:24:228 W/I route : destination : 0.0.0.0, gateway : 192.168.1.2, output : sit0
06-17 11:00:24:228 W/I route : destination : 192.168.1.0, gateway : 0.0.0.0, output : sit0
06-17 11:00:24:525 W/D UsbThread.Execute : Connection Closed Gracefully.
06-17 11:00:04.16 A/I =====HcActivateFakeWifi==========
06-17 11:00:24:588 W/I Waiting for connection. If nothing happens now, close the program and retry
06-17 11:00:04.53 A/I Socks5Server [Socks5ServerMain] : WAIT_SOCKET_MODE Socket closed
06-17 11:00:04.53 A/I UdpRelay (42004) : Thread stopped : Socket closed
06-17 11:00:04.55 A/D OnStart script
06-17 11:00:04.55 A/D wifi or 3g card adress : "192.168.1.2/24"
06-17 11:00:04.55 A/D Interface to use : "sit0"
06-17 11:00:04.55 A/D Old routes adress to disable : ""
06-17 11:00:04.55 A/D default route to restore : ""
06-17 11:00:25:385 W/I waiting android message callback ... 2
06-17 11:00:05.18 A/V Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
06-17 11:00:05.18 A/V pkts bytes target prot opt in out source destination
06-17 11:00:05.18 A/V Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
06-17 11:00:05.18 A/V pkts bytes target prot opt in out source destination
06-17 11:00:05.18 A/V Chain OUTPUT (policy ACCEPT 1 packets, 60 bytes)
06-17 11:00:05.18 A/V pkts bytes target prot opt in out source destination
06-17 11:00:05.18 A/V 1 60 TETHER all -- any any anywhere anywhere
06-17 11:00:05.18 A/V Chain POSTROUTING (policy ACCEPT 1 packets, 60 bytes)
06-17 11:00:05.18 A/V pkts bytes target prot opt in out source destination
06-17 11:00:05.18 A/V Chain TETHER (1 references)
06-17 11:00:05.18 A/V pkts bytes target prot opt in out source destination
06-17 11:00:05.18 A/V 0 0 REDIRECT tcp -- any sit0 anywhere anywhere tcp dpts:tcpmux:41999 redir ports 42200
06-17 11:00:05.18 A/V 0 0 REDIRECT tcp -- any sit0 anywhere anywhere tcp dpts:42500:65535 redir ports 42200
06-17 11:00:05.18 A/V 0 0 REDIRECT udp -- any sit0 anywhere anywhere udp dpts:1:41999 redir ports 42001
06-17 11:00:05.18 A/V 0 0 REDIRECT udp -- any sit0 anywhere anywhere udp dpts:42500:65535 redir ports 42001
06-17 11:00:05.18 A/V Chain natctrl_nat_POSTROUTING (0 references)
06-17 11:00:05.18 A/V pkts bytes target prot opt in out source destination
06-17 11:00:05.18 A/V Chain oem_nat_pre (0 references)
06-17 11:00:05.18 A/V pkts bytes target prot opt in out source destination
06-17 11:00:05.18 A/D adress to use : "192.168.1.2"
06-17 11:00:05.18 A/D nativeUdp : "false"
06-17 11:00:05.18 A/D Create TETHER chain and Clean...
06-17 11:00:05.50 A/E Error running command :
06-17 11:00:05.50 A/E /data/data/service.tracetool/app_bin/iptables_armv5 -t nat -N TETHER
06-17 11:00:05.50 A/E iptables: Chain already exists.
06-17 11:00:26:385 W/I waiting android message callback ... 3
06-17 11:00:05.87 A/D ICMP...
06-17 11:00:27:385 W/I waiting android message callback ... 4
06-17 11:00:07.12 A/D busybox ifconfig sit0 up
06-17 11:00:07.55 A/D ifconfig sit0 192.168.1.2 netmask 255.255.255.0
06-17 11:00:07.81 A/D no default route to delete

06-17 11:00:07.81 A/D route add default gateway 192.168.1.2 sit0
06-17 11:00:28:385 W/I waiting android message callback ... 5
06-17 11:00:07.98 A/E Error running command :

06-17 11:00:07.98 A/E /data/data/service.tracetool/app_bin/busybox21 route add default gateway 192.168.1.2 sit0
06-17 11:00:07.99 A/E route: SIOCADDRT: File exists
06-17 11:00:07.99 A/D setprop dns and ip
06-17 11:00:29:385 W/I waiting android message callback ... 6
06-17 11:00:30:385 W/I waiting android message callback ... 7
06-17 11:00:31:385 W/I waiting android message callback ... 8
06-17 11:00:32:385 W/I waiting android message callback ... 9
06-17 11:00:33:385 W/I waiting android message callback ... 10
06-17 11:00:13.47 A/D redirect all communications to TETHER chain
06-17 11:00:14.05 A/D forward tcp to native handler

06-17 11:00:14.79 A/D forward udp to redsocks

06-17 11:00:18.16 A/V Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
06-17 11:00:18.19 A/V pkts bytes target prot opt in out source destination
06-17 11:00:18.19 A/V Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
06-17 11:00:18.20 A/V pkts bytes target prot opt in out source destination
06-17 11:00:18.20 A/V Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
06-17 11:00:18.20 A/V pkts bytes target prot opt in out source destination
06-17 11:00:18.21 A/V 1 60 TETHER all -- any any anywhere anywhere
06-17 11:00:18.21 A/V 0 0 TETHER all -- any any anywhere anywhere
06-17 11:00:18.21 A/V Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
06-17 11:00:18.21 A/V pkts bytes target prot opt in out source destination
06-17 11:00:18.21 A/V Chain TETHER (2 references)

06-17 11:00:18.23 A/V pkts bytes target prot opt in out source destination
06-17 11:00:18.23 A/V 0 0 REDIRECT tcp -- any sit0 anywhere anywhere tcp dpts:tcpmux:41999 redir ports 42200
06-17 11:00:18.24 A/V 0 0 REDIRECT tcp -- any sit0 anywhere anywhere tcp dpts:42500:65535 redir ports 42200
06-17 11:00:18.24 A/V 0 0 REDIRECT udp -- any sit0 anywhere anywhere udp dpts:1:41999 redir ports 42001
06-17 11:00:18.24 A/V 0 0 REDIRECT udp -- any sit0 anywhere anywhere udp dpts:42500:65535 redir ports 42001
06-17 11:00:18.24 A/V Chain natctrl_nat_POSTROUTING (0 references)
06-17 11:00:18.25 A/V pkts bytes target prot opt in out source destination
06-17 11:00:18.25 A/V Chain oem_nat_pre (0 references)
06-17 11:00:18.25 A/V pkts bytes target prot opt in out source destination
06-17 11:00:18.27 A/D OnStart script done
06-17 11:00:18.28 A/I UsbThread4 : runGlobalScriptStart : script GlobalScriptStart done
06-17 11:00:18.32 A/I UsbThread4 : Api.nativeTcpSockets : Thread[NativeSocketsTcp42200,5,main]
06-17 11:00:18.33 A/I UsbThread4 : Api.nativeUdpSockets : null
06-17 11:00:18.33 A/I UsbThread4 : Api.nativeDnsSockets : null
06-17 11:00:39:588 W/I Check connection 2 ok
06-17 11:00:39:604 W/I Android service status : Host connected
06-17 11:00:19.26 A/I UsbThread4 : call HcActivateFakeWifi intent
06-17 11:00:19.28 A/I UsbThread4 : after HcActivateFakeWifi intent
06-17 11:00:19.28 A/I UsbThread4 : runGlobalScriptStart done
06-17 11:00:19.28 A/I **************************************************
06-17 11:00:19.28 A/I UsbThread4.run() -> input.read returns -1
06-17 11:00:19.28 A/I UsbThread4.run() end while read
06-17 11:00:19.28 A/E UsbThread4.run() -> unexpected disconnection
06-17 11:00:19.28 A/I UsbThread4 : usbServerSocket : Waiting for the host to connect
06-17 11:00:19.28 A/I UsbThread4 : Host connected
06-17 11:00:40:385 W/D ------------------------------------------------------------
06-17 11:00:40:385 W/D Android Superuser may ask you to accept rights.
06-17 11:00:40:385 W/D Check your android and accept "Superuser Request" now if needed !!!
06-17 11:00:40:385 W/D If connection stop here and Superuser don't apears ,you phone or tablet is probably not rooted
06-17 11:00:20.13 A/I RELEASE : 4.2.2

06-17 11:00:20.13 A/I INCREMENTAL : eng.krislibaeer.20130610.220135

06-17 11:00:20.13 A/I SDK : 17
06-17 11:00:41:886 W/I interfaces before script startip6tnl0(DOWN), dummy0(DOWN), lo(UP) 127.0.0.1/8, sit0(UP) 192.168.1.2/24
06-17 11:00:42:292 W/I route : destination : 0.0.0.0, gateway : 192.168.1.2, output : sit0
06-17 11:00:42:292 W/I route : destination : 192.168.1.0, gateway : 0.0.0.0, output : sit0
06-17 11:00:42:526 W/D UsbThread.Execute : Connection Closed Gracefully.
06-17 11:00:42:557 W/I Waiting for connection. If nothing happens now, close the program and retry
06-17 11:00:43:386 W/I waiting android message callback ... 2
06-17 11:00:44:386 W/I waiting android message callback ... 3
06-17 11:00:24.48 A/I UdpRelay (42004) : Thread stopped : Socket closed

06-17 11:00:24.54 A/I Socks5Server [Socks5ServerMain] : WAIT_SOCKET_MODE Socket closed
06-17 11:00:24.57 A/D OnStart script
06-17 11:00:24.57 A/D wifi or 3g card adress : "192.168.1.2/24"
06-17 11:00:24.57 A/D Interface to use : "sit0"
06-17 11:00:24.57 A/D Old routes adress to disable : ""
06-17 11:00:24.57 A/D default route to restore : ""
06-17 11:00:45:386 W/I waiting android message callback ... 4
06-17 11:00:25.75 A/V Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
06-17 11:00:25.77 A/V pkts bytes target prot opt in out source destination
06-17 11:00:25.77 A/V Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
06-17 11:00:25.77 A/V pkts bytes target prot opt in out source destination

06-17 11:00:25.78 A/V Chain OUTPUT (policy ACCEPT 1 packets, 60 bytes)
06-17 11:00:25.78 A/V pkts bytes target prot opt in out source destination
06-17 11:00:25.78 A/V 2 120 TETHER all -- any any anywhere anywhere
06-17 11:00:25.78 A/V 1 60 TETHER all -- any any anywhere anywhere
06-17 11:00:25.78 A/V Chain POSTROUTING (policy ACCEPT 1 packets, 60 bytes)
06-17 11:00:25.78 A/V pkts bytes target prot opt in out source destination
06-17 11:00:25.79 A/V Chain TETHER (2 references)
06-17 11:00:25.79 A/V pkts bytes target prot opt in out source destination
06-17 11:00:25.79 A/V 0 0 REDIRECT tcp -- any sit0 anywhere anywhere tcp dpts:tcpmux:41999 redir ports 42200
06-17 11:00:25.79 A/V 0 0 REDIRECT tcp -- any sit0 anywhere anywhere tcp dpts:42500:65535 redir ports 42200
06-17 11:00:25.79 A/V 0 0 REDIRECT udp -- any sit0 anywhere anywhere udp dpts:1:41999 redir ports 42001
06-17 11:00:25.79 A/V 0 0 REDIRECT udp -- any sit0 anywhere anywhere udp dpts:42500:65535 redir ports 42001
06-17 11:00:25.79 A/V Chain natctrl_nat_POSTROUTING (0 references)
06-17 11:00:25.79 A/V pkts bytes target prot opt in out source destination
06-17 11:00:25.79 A/V Chain oem_nat_pre (0 references)
06-17 11:00:25.80 A/V pkts bytes target prot opt in out source destination
06-17 11:00:25.82 A/D adress to use : "192.168.1.2"
06-17 11:00:25.84 A/D nativeUdp : "false"
06-17 11:00:46:401 W/I waiting android message callback ... 5
06-17 11:00:25.85 A/D Create TETHER chain and Clean...
06-17 11:00:25.88 A/I process (434) : 3962 kB: service.tracetool (pid 10366)
06-17 11:00:47:386 W/I waiting android message callback ... 6
06-17 11:00:48:386 W/I waiting android message callback ... 7
06-17 11:00:49:386 W/I waiting android message callback ... 8
06-17 11:00:49:573 W/D UsbThread.Execute : Connection Closed Gracefully.
06-17 11:00:50:386 W/I waiting android message callback ... 9
06-17 11:00:51:386 W/I waiting android message callback ... 10

Server List

DNS List
192.168.88.2
192.168.5.17
192.168.1.254
8.8.4.4[default]