[Hero, G2 Touch Android Development] buzzzer:
USB Tethering not working - V3.4

First of all i would like to thank Elelinux for his amazing work and keeping the Hero alive and rocking!

Just updated to v3.4 using a full wipe.

Installed the following addons:

- arabic fonts

- Gallery2D

- remove_launcher2

One thing i noticed is that the USB tethering is not functional.

It connects and then immediately disconnects.

Below is the logcat also during the connect and disconnect. Hopefully this will help and you will be able to fix it in the upcoming releases.

D/Tethering( 217): Tethering usb0
D/Tethering( 217): InitialState.processMessage what=2
D/Tethering( 217): configureUsbIface(true)
D/NetworkManagmentService( 217): rsp <213 62:b5:42:a4:3a:ab 192.168.42.129 255.255.255.0 [up broadcast running multicast]>
D/NetworkManagmentService( 217): flags <[up broadcast running multicast]>
D/CommandListener( 175): Setting iface cfg
D/CommandListener( 175): Trying to bring up usb0
D/CommandListener( 175): broadcast flag ignored
D/CommandListener( 175): multicast flag ignored
D/BluetoothNetworkService( 217): updating tether state
D/Tethering( 217): sendTetherStateChangedBroadcast 0, 0, 0
D/Tethering( 217): enableUsbRndis(true)
D/UsbController( 175): Usb RNDIS start
D/Tethering( 217): Tethered usb0
I/StorageNotification( 279): UMS connection changed to false (media state mounted)
D/BluetoothNetworkService( 217): updating tether state
D/Tethering( 217): sendTetherStateChangedBroadcast 0, 1, 0
V/NotificationService( 217): Active profile: Default
I/PROFILE ( 217): Group: Gmail containing : android : false
I/PROFILE ( 217): Group: Phone containing : android : false
I/PROFILE ( 217): Group: Calendar containing : android : false
I/PROFILE ( 217): Group: Email containing : android : false
I/PROFILE ( 217): Group: SMS containing : android : false
V/ProfileManager( 217): No active group, returning default: Other
V/NotificationService( 217): Pkg: android group: Other
D/Tethering( 217): MasterInitialState.processMessage what=1
D/Tethering( 217): Tether Mode requested by usb0 - TetheredState - Tethered - lastError =0
D/Tethering( 217): chooseUpstreamType(false), dunRequired =false, iface=rmnet0
D/Tethering( 217): checking if hipri brought us this connection
D/Tethering( 217): notifying tethered with iface =rmnet0
D/NetworkManagmentService( 217): rsp <213 d6:03:83:fd:20:d0 10.175.120.235 255.255.255.248 [up broadcast running multicast]>
D/NetworkManagmentService( 217): flags <[up broadcast running multicast]>
D/TetherController( 175): Setting IP forward enable = 1
D/TetherController( 175): Starting tethering services
D/TetherController( 175): Tethering services running
D/TetherController( 175): setDnsForwarders(0 = '8.8.8.8')
D/TetherController( 175): setDnsForwarders(1 = '4.2.2.2')
D/TetherController( 175): Sending update msg to dnsmasq [update_dns:8.8.8.8:4.2.2.2]
D/Tethering( 217): TetheredState.processMessage what=12
I/dnsmasq ( 2619): started, version 2.51 cachesize 150
I/dnsmasq ( 2619): compile time options: no-IPv6 GNU-getopt no-DBus no-I18N DHCP no-scripts no-TFTP
W/dnsmasq ( 2619): warning: no upstream servers configured
I/dnsmasq ( 2619): DHCP, IP range 192.168.43.2 -- 192.168.43.254, lease time 1h
I/dnsmasq ( 2619): DHCP, IP range 192.168.42.2 -- 192.168.42.254, lease time 1h
I/dnsmasq ( 2619): read /etc/hosts - 1 addresses
I/dnsmasq ( 2619): using nameserver 4.2.2.2#53
I/dnsmasq ( 2619): using nameserver 8.8.8.8#53
I//system/bin/iptables( 175): ACCEPT 0 opt -- in rmnet0 out usb0 0.0.0.0/0 -> 0.0.0.0/0 state RELATED,ESTABLISHED
I//system/bin/iptables( 175): ACCEPT 0 opt -- in usb0 out rmnet0 0.0.0.0/0 -> 0.0.0.0/0
I//system/bin/iptables( 175): MASQUERADE 0 opt -- in * out rmnet0 0.0.0.0/0 -> 0.0.0.0/0
D/goldpricewidget( 932): price cache still valid: 4
D/goldpricewidget( 932): updating widget: 11
D/goldpricewidget( 932): updating widget: 13
D/Tethering( 217): TetheredState.processMessage what=4
I//system/bin/iptables( 175): Flushing chain `INPUT'
I//system/bin/iptables( 175): Flushing chain `OUTPUT'
I//system/bin/iptables( 175): Flushing chain `FORWARD'
I//system/bin/iptables( 175): Flushing chain `PREROUTING'
I//system/bin/iptables( 175): Flushing chain `POSTROUTING'
I//system/bin/iptables( 175): Flushing chain `OUTPUT'
D/Tethering( 217): Untethered usb0
D/Tethering( 217): enableUsbRndis(false)
D/UsbController( 175): Usb RNDIS stop
D/BluetoothNetworkService( 217): updating tether state
D/Tethering( 217): sendTetherStateChangedBroadcast 0, 0, 0
D/Tethering( 217): TetherModeAliveState.processMessage what=2
D/TetherController( 175): Stopping tethering services
I/dnsmasq ( 2619): exiting on receipt of SIGTERM
D/TetherController( 175): Tethering services stopped
D/TetherController( 175): Setting IP forward enable = 0
D/Tethering( 217): notifying tethered with iface =null