[G4 Android Development] dr4gony0shi:
USB tethering isn't working on 12/11 official release. Seems like a jar file is missing and some forwarding rules aren't set properly...

12-11 18:26:58.520 438 973 D CommandListener: Setting iface cfg
12-11 18:26:58.520 438 973 D CommandListener: Trying to bring up rndis0
12-11 18:26:58.527 438 973 D TetherController: tetherInterface(rndis0)
12-11 18:26:58.592 438 973 D TetherController: Setting IP forward enable = 1
12-11 18:26:58.595 438 973 D TetherController: Starting tethering services
12-11 18:26:58.596 438 973 D TetherController: Sending update msg to dnsmasq [update_ifaces|rndis0]
12-11 18:26:58.596 438 973 D TetherController: Tethering services running
12-11 18:26:58.599 974 996 D ConnectivityService: requestNetwork for uid/pid:1000/974 NetworkRequest [ TRACK_DEFAULT id=313, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
12-11 18:26:58.599 974 974 D Tethering: got Sim changed to state LOADED, mSimAbsentSeen=false
12-11 18:26:58.601 974 3178 D WIFI_UT : got request NetworkRequest [ TRACK_DEFAULT id=313, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 60
12-11 18:26:58.602 974 3235 D Ethernet: got request NetworkRequest [ TRACK_DEFAULT id=313, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 60
12-11 18:26:58.606 974 3178 D WIFI : got request NetworkRequest [ TRACK_DEFAULT id=313, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 60
12-11 18:26:58.613 3540 3540 D PhoneSwitcherNetworkRequstListener: got request NetworkRequest [ TRACK_DEFAULT id=313, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ] with score 60
12-11 18:26:58.619 30961 30961 I dnsmasq : started, version 2.51 cachesize 150
12-11 18:26:58.619 30961 30961 I dnsmasq : compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP no-scripts no-TFTP
12-11 18:26:58.619 30961 30961 W dnsmasq : warning: no upstream servers configured
12-11 18:26:58.619 30961 30961 I dnsmasq : DHCP, IP range 192.168.49.2 -- 192.168.49.254, lease time 1h
12-11 18:26:58.619 30961 30961 I dnsmasq : DHCP, IP range 192.168.48.2 -- 192.168.48.254, lease time 1h
12-11 18:26:58.619 30961 30961 I dnsmasq : DHCP, IP range 192.168.47.2 -- 192.168.47.254, lease time 1h
12-11 18:26:58.619 30961 30961 I dnsmasq : DHCP, IP range 192.168.46.2 -- 192.168.46.254, lease time 1h
12-11 18:26:58.619 30961 30961 I dnsmasq : DHCP, IP range 192.168.45.2 -- 192.168.45.254, lease time 1h
12-11 18:26:58.619 30961 30961 I dnsmasq : DHCP, IP range 192.168.44.2 -- 192.168.44.254, lease time 1h
12-11 18:26:58.620 30961 30961 I dnsmasq : DHCP, IP range 192.168.43.2 -- 192.168.43.254, lease time 1h
12-11 18:26:58.620 30961 30961 I dnsmasq : DHCP, IP range 192.168.42.2 -- 192.168.42.254, lease time 1h
12-11 18:26:58.622 974 3173 W [B]ConnectivityExtension: ConnectivityExt jar file not present[/B]
12-11 18:26:58.626 974 996 W [B]ConnectivityExtension: ConnectivityExt jar file not present[/B]
12-11 18:26:58.627 974 996 I Tethering: Finding IPv4 upstream interface on: {InterfaceName: wlan0 LinkAddresses: [192.168.1.10/24,fe80::234:daff:fe89:4657/64,2a01:cb1d:8736:7100:234:daff:fe89:4657/64,2a01:cb1d:8736:7100:29c6:4519:2301:93ab/64,] Routes: [fe80::/64 -> :: wlan0,::/0 -> fe80::ba26:6cff:fe4d:ac60 wlan0,2a01:cb1d:8736:7100::/64 -> :: wlan0,192.168.1.0/24 -> 0.0.0.0 wlan0,0.0.0.0/0 -> 192.168.1.1 wlan0,] DnsAddresses: [fe80::ba26:6cff:fe4d:ac60%wlan0,192.168.1.1,] Domains: home MTU: 0 TcpBufferSizes: 4096,221184,3461120,4096,221184,3461120}
12-11 18:26:58.628 974 996 I Tethering: Found interface wlan0
12-11 18:26:58.640 438 973 D TetherController: setDnsForwarders(0xf0070 0 = 'fe80::ba26:6cff:fe4d:ac60%wlan0')
12-11 18:26:58.640 438 973 D TetherController: setDnsForwarders(0xf0070 1 = '192.168.1.1')
12-11 18:26:58.640 438 973 D TetherController: Sending update msg to dnsmasq [update_dns|0xf0070|fe80::ba26:6cff:fe4d:ac60%wlan0|192.168.1.1]
12-11 18:26:58.644 438 973 V NatController: enableNat(intIface=<rndis0>, extIface=<wlan0>)
12-11 18:26:58.665 438 973 V NatController: runCmd(/system/bin/iptables -w -t nat -A natctrl_nat_POSTROUTING -o wlan0 -j MASQUERADE) res=0
12-11 18:26:58.681 438 973 V NatController: runCmd(/system/bin/ip6tables -w -A natctrl_FORWARD -g natctrl_tether_counters) res=0
12-11 18:26:58.697 438 973 V NatController: runCmd(/system/bin/iptables -w -A natctrl_FORWARD -i wlan0 -o rndis0 -m state --state ESTABLISHED,RELATED -g natctrl_tether_counters) res=0
12-11 18:26:58.711 438 973 V NatController: runCmd(/system/bin/iptables -w -A natctrl_FORWARD -i rndis0 -o wlan0 -m state --state INVALID -j DROP) res=0
12-11 18:26:58.728 438 973 V NatController: runCmd(/system/bin/iptables -w -A natctrl_FORWARD -i rndis0 -o wlan0 -g natctrl_tether_counters) res=0
12-11 18:26:58.743 438 973 V NatController: runCmd(/system/bin/ip6tables -w -t raw -A natctrl_raw_PREROUTING -i rndis0 -m rpfilter --invert ! -s fe80::/64 -j DROP) res=1
12-11 18:26:58.757 438 973 V NatController: runCmd(/system/bin/iptables -w -D natctrl_FORWARD -i rndis0 -o wlan0 -g natctrl_tether_counters) res=0
12-11 18:26:58.771 438 973 V NatController: runCmd(/system/bin/iptables -w -D natctrl_FORWARD -i rndis0 -o wlan0 -m state --state INVALID -j DROP) res=0
12-11 18:26:58.786 438 973 V NatController: runCmd(/system/bin/iptables -w -D natctrl_FORWARD -i wlan0 -o rndis0 -m state --state ESTABLISHED,RELATED -g natctrl_tether_counters) res=0
12-11 18:26:58.786 438 973 E [B]NatController: Error setting forward rules[/B]
12-11 18:26:58.801 438 973 V NatController: runCmd(/system/bin/iptables -w -F natctrl_FORWARD) res=0
12-11 18:26:58.815 438 973 V NatController: runCmd(/system/bin/ip6tables -w -F natctrl_FORWARD) res=0
12-11 18:26:58.830 438 973 V NatController: runCmd(/system/bin/iptables -w -A natctrl_FORWARD -j DROP) res=0
12-11 18:26:58.845 438 973 V NatController: runCmd(/system/bin/iptables -w -t nat -F natctrl_nat_POSTROUTING) res=0
12-11 18:26:58.863 438 973 V NatController: runCmd(/system/bin/ip6tables -w -t raw -F natctrl_raw_PREROUTING) res=0
12-11 18:26:58.865 974 996 E [B]TetherInterfaceSM: Exception enabling Nat: java.lang.IllegalStateException: command '3308 nat enable rndis0 wlan0 1 192.168.42.0/24' failed with '400 3308 Nat operation failed (No such device)'[/B]
12-11 18:26:58.866 438 3386 D TetherController: Sending update msg to dnsmasq [update_ifaces|rndis0]
12-11 18:26:58.868 438 973 D TetherController: untetherInterface(rndis0)
12-11 18:26:58.908 438 973 D CommandListener: Setting iface cfg
12-11 18:26:58.910 438 973 D CommandListener: Trying to bring down rndis0
12-11 18:26:58.923 438 973 D TetherController: setDnsForwarders(0xf0070 0 = 'fe80::ba26:6cff:fe4d:ac60%wlan0')
12-11 18:26:58.924 438 973 D TetherController: setDnsForwarders(0xf0070 1 = '192.168.1.1')
12-11 18:26:58.924 438 973 D TetherController: Sending update msg to dnsmasq [update_dns|0xf0070|fe80::ba26:6cff:fe4d:ac60%wlan0|192.168.1.1]
12-11 18:26:58.926 438 973 D TetherController: Stopping tethering services
12-11 18:26:58.937 974 3173 W [B]ConnectivityExtension: ConnectivityExt jar file not present[/B]
12-11 18:26:58.996 30961 30961 I dnsmasq : read /etc/hosts - 58935 addresses
12-11 18:26:59.006 30961 30961 I dnsmasq : Closing wildcard listener family=2
12-11 18:26:59.006 30961 30961 I dnsmasq : Closing wildcard listener family=10
12-11 18:26:59.007 30961 30961 I dnsmasq : using nameserver 192.168.1.1#53
12-11 18:26:59.007 30961 30961 I dnsmasq : using nameserver fe80::ba26:6cff:fe4d:ac60%wlan0#53
12-11 18:26:59.007 30961 30961 I dnsmasq : using nameserver 192.168.1.1#53
12-11 18:26:59.007 30961 30961 I dnsmasq : using nameserver fe80::ba26:6cff:fe4d:ac60%wlan0#53
12-11 18:26:59.007 30961 30961 I dnsmasq : exiting on receipt of SIGTERM
12-11 18:26:59.009 438 973 D TetherController: Tethering services stopped
12-11 18:26:59.010 438 973 D TetherController: Setting IP forward enable = 0
12-11 18:26:59.013 974 3182 D ConnectivityService: releasing NetworkRequest [ TRACK_DEFAULT id=313, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]