[Android Software Development] edgd1er:
usbthread main loop

Hi everybody,

has any of you this kind of problem. After a while, the RT is not working anymore. Seems like the connection between the phone and the androidtool.exe is lost. Here under the log. If I restart the tool, all is working again.

08-12 11:10:43:008 W/I Tool version : 3.8

08-12 11:10:43:008 W/I adb.exe

08-12 11:10:43:008 W/I aapt.exe

08-12 11:10:43:160 W/I Android Debug Bridge version 1.0.31

08-12 11:10:43:440 W/I Log clear started

08-12 11:10:43:452 W/I Your IE proxy is "proxy.fr" on port 3128. Enabled : false

08-12 11:10:43:708 W/I Log Clear Done. Start log

A/

08-12 11:10:49:462 W/I ==> Start android service

08-12 11:10:50.84 A/I process (440) : Start proc service.tracetool for broadcast service.tracetool/.TTBroadcastReceiver: pid=17976 uid=10129 gids={50129, 3003, 1028}

08-12 11:10:51.12 A/I process (17976) : handleLoadPackage : service.tracetool (17976/17976)

08-12 11:10:51:746 L/I Reverse tethering started. Process id is 17976

08-12 11:10:51.32 A/I SocketService.onStartCommand. Action = TTServiceStart

08-12 11:10:51.32 A/I TunnelController : thread started

08-12 11:10:51.32 A/I UsbThread1 : thread started

08-12 11:10:51.32 A/I UsbThread1 : Create usb socket

08-12 11:10:51.32 A/I UsbThread1 : usbServerSocket : Waiting for the host to connect

08-12 11:10:51:816 W/I Wait service. If nothing happens now, close the program and retry

08-12 11:10:52:142 W/I Waiting for connection. If nothing happens now, close the program and retry

08-12 11:10:51.77 A/I UsbThread1 : Host connected

08-12 11:10:52:941 W/I waiting android message callback ... 2

08-12 11:10:52:970 W/I Check connection 2 ok

08-12 11:10:52:970 W/I Android service status : Host connected

08-12 11:10:53:959 W/D ------------------------------------------------------------

08-12 11:10:53:959 W/D Android Superuser may ask you to accept rights.

08-12 11:10:53:959 W/D Check your android and accept "Superuser Request" now if needed !!!

08-12 11:10:53:959 W/D If connection stop here and Superuser don't apears ,you phone or tablet is probably not rooted

08-12 11:10:53.60 A/I RELEASE : 4.2.2

08-12 11:10:53.60 A/I INCREMENTAL : eng.root.20130717.054232

08-12 11:10:53.60 A/I SDK : 17

08-12 11:10:55:384 W/I interfaces before script startlo(UP) 127.0.0.1/8, ifb0(DOWN), ifb1(DOWN), sit0(DOWN) 192.168.1.2/24, ip6tnl0(DOWN), rmnet0(DOWN), rmnet1(DOWN), rmnet2(DOWN)

08-12 11:10:55:795 W/I no route

08-12 11:10:55.44 A/D OnStart script

08-12 11:10:55.44 A/D wifi or 3g card adress : ""

08-12 11:10:55.44 A/D Interface to use : "sit0"

08-12 11:10:55.44 A/D Old routes adress to disable : ""

08-12 11:10:55.44 A/D default route to restore : ""

08-12 11:10:55.57 A/V Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)

08-12 11:10:55.57 A/V pkts bytes target prot opt in out source destination

08-12 11:10:55.57 A/V Chain INPUT (policy ACCEPT 0 packets, 0 bytes)

08-12 11:10:55.57 A/V pkts bytes target prot opt in out source destination

08-12 11:10:55.57 A/V Chain OUTPUT (policy ACCEPT 1 packets, 60 bytes)

08-12 11:10:55.57 A/V pkts bytes target prot opt in out source destination

08-12 11:10:55.57 A/V Chain POSTROUTING (policy ACCEPT 1 packets, 60 bytes)

08-12 11:10:55.57 A/V pkts bytes target prot opt in out source destination

08-12 11:10:55.57 A/V Chain natctrl_nat_POSTROUTING (0 references)

08-12 11:10:55.57 A/V pkts bytes target prot opt in out source destination

08-12 11:10:55.57 A/V Chain oem_nat_pre (0 references)

08-12 11:10:55.57 A/V pkts bytes target prot opt in out source destination

08-12 11:10:55.57 A/D adress to use : "192.168.1.2"

08-12 11:10:55.57 A/D nativeUdp : "false"

08-12 11:10:55.58 A/D Create TETHER chain and Clean...

08-12 11:10:55.86 A/D ICMP...

08-12 11:10:56.49 A/D busybox ifconfig sit0 up

08-12 11:10:56.71 A/D ifconfig sit0 192.168.1.2 netmask 255.255.255.0

08-12 11:10:56.86 A/D no default route to delete

08-12 11:10:56.87 A/D route add default gateway 192.168.1.2 sit0

08-12 11:10:57.10 A/D setprop dns and ip

08-12 11:11:00.45 A/D redirect all communications to TETHER chain

08-12 11:11:00.75 A/D forward tcp to native handler

08-12 11:11:01.67 A/D forward udp to redsocks

08-12 11:11:02.90 A/V Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)

08-12 11:11:03.00 A/V pkts bytes target prot opt in out source destination

08-12 11:11:03.00 A/V Chain INPUT (policy ACCEPT 0 packets, 0 bytes)

08-12 11:11:03.00 A/V pkts bytes target prot opt in out source destination

08-12 11:11:03.00 A/V Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)

08-12 11:11:03.00 A/V pkts bytes target prot opt in out source destination

08-12 11:11:03.00 A/V 0 0 TETHER all -- any any anywhere anywhere

08-12 11:11:03.00 A/V Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)

08-12 11:11:03.00 A/V pkts bytes target prot opt in out source destination

08-12 11:11:03.00 A/V Chain TETHER (1 references)

08-12 11:11:03.00 A/V pkts bytes target prot opt in out source destination

08-12 11:11:03.00 A/V 0 0 REDIRECT tcp -- any sit0 anywhere anywhere tcp dpts:tcpmux:41999 redir ports 42200

08-12 11:11:03.00 A/V 0 0 REDIRECT tcp -- any sit0 anywhere anywhere tcp dpts:42500:65535 redir ports 42200

08-12 11:11:03.00 A/V 0 0 REDIRECT udp -- any sit0 anywhere anywhere udp dpt:domain redir ports 42001

08-12 11:11:03.00 A/V Chain natctrl_nat_POSTROUTING (0 references)

08-12 11:11:03.00 A/V pkts bytes target prot opt in out source destination

08-12 11:11:03.00 A/V Chain oem_nat_pre (0 references)

08-12 11:11:03.00 A/V pkts bytes target prot opt in out source destination

08-12 11:11:03.00 A/D OnStart script done

08-12 11:11:03.03 A/I UsbThread1 : runGlobalScriptStart : script GlobalScriptStart done

08-12 11:11:03.03 A/I UsbThread1 : Api.nativeTcpSockets : null

08-12 11:11:03.03 A/I UsbThread1 : Api.nativeUdpSockets : null

08-12 11:11:03.03 A/I UsbThread1 : Api.nativeDnsSockets : null

08-12 11:11:03.53 A/I mainTcpServerLoop()

08-12 11:11:03.54 A/V cppMainTcpServerLoop : started

08-12 11:11:03.92 A/I UsbThread1 : call HcActivateFakeWifi intent

08-12 11:11:03.93 A/I UsbThread1 : after HcActivateFakeWifi intent

08-12 11:11:03.93 A/I UsbThread1 : runGlobalScriptStart done

08-12 11:11:05:558 W/I interfaces after script startlo(UP) 127.0.0.1/8, ifb0(DOWN), ifb1(DOWN), sit0(UP) 192.168.1.2/24, ip6tnl0(DOWN), rmnet0(DOWN), rmnet1(DOWN), rmnet2(DOWN)

08-12 11:11:06:004 W/I route : destination : 0.0.0.0, gateway : 192.168.1.2, output : sit0

08-12 11:11:06:004 W/I route : destination : 192.168.1.0, gateway : 0.0.0.0, output : sit0

08-12 11:11:06:004 W/I

08-12 11:11:06:004 W/I Connection done

08-12 11:58:13:899 W/D UsbThread.Execute : Connection Closed Gracefully.

08-12 11:58:14:009 W/E Disconnected. Waiting for device reconnection... !

08-12 11:58:14:397 W/E Starting logcat

08-12 11:59:23:441 W/I TNativeTcpTunnelClient send back to android : Exception for handle 48

08-12 12:01:31:600 W/I TNativeTcpTunnelClient send back to android : Exception for handle 47

08-12 14:32:47:429 W/I trying reconnect. This can take up to 30 seconds

08-12 14:32:47:431 W/I reconnection done !

08-12 14:32:48:285 W/E srv 53, udp client packet 3252 not found

08-12 14:32:50:294 W/E srv 53, udp client packet 3253 not found

08-12 15:48:26:796 W/E 59792 : native Tcp connection error to 216.218.207.142:80 :Socket Error # 10060

Connection timed out.

08-12 15:48:27:082 W/E usbthread main loop exception

08-12 15:48:27:082 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:48:27:082 W/E intCommand = 11

08-12 15:48:29:497 W/E usbthread main loop exception

08-12 15:48:29:497 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:48:29:497 W/E intCommand = 11

08-12 15:48:29:596 W/E usbthread main loop exception

08-12 15:48:29:596 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:48:29:596 W/E intCommand = 11

08-12 15:48:29:598 W/E usbthread main loop exception

08-12 15:48:29:598 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:48:29:598 W/E intCommand = 11

08-12 15:48:31:599 W/E usbthread main loop exception

08-12 15:48:31:599 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:48:31:599 W/E intCommand = 11

08-12 15:48:31:801 W/E usbthread main loop exception

08-12 15:48:31:801 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:48:31:801 W/E intCommand = 11

08-12 15:48:31:803 W/E usbthread main loop exception

08-12 15:48:31:803 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:48:31:803 W/E intCommand = 11

08-12 15:48:31:852 W/E usbthread main loop exception

08-12 15:48:31:852 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:48:31:852 W/E intCommand = 11

08-12 15:48:31:855 W/E usbthread main loop exception

08-12 15:48:31:855 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:48:31:855 W/E intCommand = 11

08-12 15:48:31:855 W/E usbthread main loop exception

08-12 15:48:31:855 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:48:31:855 W/E intCommand = 11

08-12 15:48:31:856 W/E usbthread main loop exception

08-12 15:48:31:856 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:48:31:856 W/E intCommand = 11

08-12 15:48:34:139 W/E usbthread main loop exception

08-12 15:48:34:139 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:48:34:139 W/E intCommand = 11

08-12 15:48:50:463 W/E usbthread main loop exception

08-12 15:48:50:463 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:48:50:463 W/E intCommand = 11

08-12 15:48:59:010 W/E usbthread main loop exception

08-12 15:48:59:010 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:48:59:010 W/E intCommand = 19

08-12 15:48:59:020 W/E usbthread main loop exception

08-12 15:48:59:020 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:48:59:020 W/E intCommand = 19

08-12 15:48:59:161 W/E usbthread main loop exception

08-12 15:48:59:161 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:48:59:161 W/E intCommand = 19

08-12 15:49:08:089 W/E usbthread main loop exception

08-12 15:49:08:089 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:49:08:089 W/E intCommand = 11

08-12 15:49:09:651 W/E usbthread main loop exception

08-12 15:49:09:651 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:49:09:651 W/E intCommand = 19

08-12 15:49:12:548 W/E usbthread main loop exception

08-12 15:49:12:548 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:49:12:549 W/E intCommand = 11

08-12 15:49:17:257 W/E usbthread main loop exception

08-12 15:49:17:257 W/E Access violation at address 00421960 in module 'AndroidTool.exe'. Read of address 8080807C

08-12 15:49:17:257 W/E intCommand = 11

Server List

http (80) : A->H : 173038 ,H->A : 4418196

domain (53) : A->H : 90500 ,H->A : 40500

https (443) : A->H : 462610 ,H->A : 3536158

imaps (993) : A->H : 32846 ,H->A : 428359

DNS List

10.24.64.1[default]

8.8.8.8