[Android Software Development] Pablo87:
I tried your app, it's all that i was looking for because on my work I dont have wi-fi router and my data plan at my mobile carrier is only 500 mb witch is not enough for me.

At work i have LE1150 @ 2.0 Ghz / 960MB RAM, running WinXP Home SP3 and 6mbps cable connection.

I'm using v2.22 of your program. When i start AndroidTool.exe it takes up to 5 min to start on which time CPU usage is 100%, than it takes up to 2 min. to refresh device list, and than it takes up to 3 min to connect to device. All 10 min to start browsing on phone and all 10 min cpu usage on PC is 100%.

Browsing and YT app worked but it's a bit slow. After around 30 min it stop working without off any error... USB tunnel is in status bar and it says it's connected same as win application...

I don't know what can be the problem...

EDIT: My phone spec are in sig.

Here is the log

W/I Connecting to device. This may take a few seconds
W/I ==> Check if a device is connected
W/I c:\android-sdk-windows\platform-tools\adb.exe -s S583078096be7 devices
W/I List of devices attached
W/I S583078096be7	device
W/I Ok
W/I ==> Checking android package
W/I Installed package version : 2.22
W/I Current package version : 2.22
W/I ==> Check if usb port is available
W/I Ok
W/I ==> Start android service
A/I TTBroadcastReceiver start service

A/I TTBroadcastReceiver OnReceive done
A/I SocketService.onCreate start
A/I SocketService.onCreate done
A/I SocketService.onStart start
A/I closeUsbServerSocket()

A/I closeUsbServerSocket() done
A/I SocketService.onStart done
A/I initShell : busybox = /data/data/service.tracetool/app_bin/busybox19
A/I initShell : iptables = /data/data/service.tracetool/app_bin/iptables_armv5
A/I Usbthread.run()
A/I UsbThread : Waiting for the host to connect
W/I Ok
W/I ==> Ensure connection is closed before open it
W/I socket opened. Close socket
W/I Ok
W/I ==> socket opened. Close socket
W/I Wait for android connection ready
W/I Ok. Android socket ready.
W/I ==> open connection to android
W/I ==> Check android connection
W/I Waiting for response. If nothing happens now, close the program and retry
A/I UsbThread : Host connected

W/I Check connection 1 ok
W/I Check connection 2 ok
W/I connection done.
W/I ==> check superuser rights
W/I
W/D ------------------------------------------------------------
W/D Android Superuser may ask you to accept rights.
W/D Check your android and accept "Superuser Request" now if needed !!!
W/D If connection stop here and Superuser don't apears ,you phone or tablet is probably not rooted
W/D ------------------------------------------------------------
A/V shell : canSU() su[0]: uid=0(root) gid=0(root) ;

A/I canSu : true
A/I get process id /data/data/service.tracetool/app_bin/redsocks
W/I SuperUser rights ok
A/I initShell : busybox = /data/data/service.tracetool/app_bin/busybox19

A/I initShell : iptables = /data/data/service.tracetool/app_bin/iptables_armv5
A/I UdpRelay : waiting on port 42004
A/D Linux interfaces before updates :

A/D lo UP 127.0.0.1 255.0.0.0 0x00000049

A/D dummy0 DOWN 0.0.0.0 0.0.0.0 0x00000082
A/D rmnet0 DOWN 0.0.0.0 0.0.0.0 0x00001002
A/D rmnet1 DOWN 0.0.0.0 0.0.0.0 0x00001002
A/D rmnet2 DOWN 0.0.0.0 0.0.0.0 0x00001002
A/D rmnet3 DOWN 0.0.0.0 0.0.0.0 0x00001002
A/D rmnet4 DOWN 0.0.0.0 0.0.0.0 0x00001002
A/D rmnet5 DOWN 0.0.0.0 0.0.0.0 0x00001002
A/D rmnet6 DOWN 0.0.0.0 0.0.0.0 0x00001002
A/D rmnet7 DOWN 0.0.0.0 0.0.0.0 0x00001002
A/D usb0 UP 192.168.1.2 255.255.255.0 0x00001043
A/D tunl0 DOWN 0.0.0.0 0.0.0.0 0x00000080
A/D gre0 DOWN 0.0.0.0 0.0.0.0 0x00000080
A/D sit0 DOWN 0.0.0.0 0.0.0.0 0x00000080
A/D
A/D Kernel IP routing table

A/D Destination Gateway Genmask Flags Metric Ref Use Iface
A/D 192.168.1.0 * 255.255.255.0 U 0 0 0 usb0
A/D default 192.168.1.2 0.0.0.0 UG 0 0 0 usb0
A/D
A/D wifi or 3g card adress : "192.168.1.2"
A/D Interface to use : "usb0"
A/D Old route adress to disable : "192.168.1.2"
A/E Error running command :
A/E /data/data/service.tracetool/app_bin/iptables_armv5 -t nat -N TETHER
A/E iptables: Chain already exists.
A/I don't care if you see errors here, it depends of your kernel.

A/E Error running command :

A/E /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
A/E iptables: No chain/target/match by that name.
A/E Error running command :
A/E /data/data/service.tracetool/app_bin/busybox19 route add default gateway 192.168.1.2 usb0
A/E route: SIOCADDRT: File exists
A/I forward output to tether ok

A/D Linux interfaces after updates :

A/D lo UP 127.0.0.1 255.0.0.0 0x00000049
A/D dummy0 DOWN 0.0.0.0 0.0.0.0 0x00000082
A/D rmnet0 DOWN 0.0.0.0 0.0.0.0 0x00001002
A/D rmnet1 DOWN 0.0.0.0 0.0.0.0 0x00001002
A/D rmnet2 DOWN 0.0.0.0 0.0.0.0 0x00001002
A/D rmnet3 DOWN 0.0.0.0 0.0.0.0 0x00001002
A/D rmnet4 DOWN 0.0.0.0 0.0.0.0 0x00001002
A/D rmnet5 DOWN 0.0.0.0 0.0.0.0 0x00001002
A/D rmnet6 DOWN 0.0.0.0 0.0.0.0 0x00001002
A/D rmnet7 DOWN 0.0.0.0 0.0.0.0 0x00001002
A/D usb0 UP 192.168.1.2 255.255.255.0 0x00001043
A/D tunl0 DOWN 0.0.0.0 0.0.0.0 0x00000080
A/D gre0 DOWN 0.0.0.0 0.0.0.0 0x00000080
A/D sit0 DOWN 0.0.0.0 0.0.0.0 0x00000080
A/D
A/D Kernel IP routing table
A/D Destination Gateway Genmask Flags Metric Ref Use Iface
A/D 192.168.1.0 * 255.255.255.0 U 0 0 0 usb0
A/D

A/I SocketService.onCreate start
A/I SocketService.onCreate done
A/I SocketService.onStart start
A/E SocketService.onStart exception. intent is null
A/I SocketService.onStart done

Server List