[Eee Pad Transformer Android Development] SandroBSupp:
VPN on lollipop

Still vpn is not working on tf101. Tried few apps like NoRoot firewall, Psiphon, Drony. All fails on adding some rules.

Same apps works well on Nexus5 5.0.1.

Some logcat info:

D/ConnectivityService( 481): registerNetworkAgent NetworkAgentInfo{ ni{[type: VPN[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false]} network{null} lp{{InterfaceName: tun0 LinkAddresses: [10.0.0.1/8,] Routes: [0.0.0.0/0 -> 0.0.0.0 tun0,10.0.0.0/8 -> 0.0.0.0 tun0,::/0 unreachable,] DnsAddresses: [192.168.1.1,] Domains: MTU: 0}} nc{[ Transports: VPN Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED]} Score{0} validated{false} created{false} explicitlySelected{false} }

I/Vpn ( 481): Established by org.sandroproxy.drony on tun0

I/org.sandroproxy.vpn.lib.SandroProxyVpnService.setBlocking JNI(30666): setting as non blocked

I/org.sandroproxy.vpn.lib.SandroProxyVpnService.setBlocking JNI(30666): Setting tunnel to blocking mode 133122 133122

D/ConnectivityService( 481): NetworkAgentInfo [VPN () - 104] EVENT_NETWORK_INFO_CHANGED, going from null to CONNECTED

D/ConnectivityService( 481): Adding iface tun0 to network 104

I/chromium(30666): [INFO:SkUtilsArm.cpp(181)] Device does NOT support ARM NEON instructions!

I/chromium(30666):

I/art (30666): Background sticky concurrent mark sweep GC freed 5341(362KB) AllocSpace objects, 8(144KB) LOS objects, 6% free, 4MB/5MB, paused 6.940ms total 176.145ms

W/art (30666): Attempt to remove local handle scope entry from IRT, ignoring

W/AwContents(30666): onDetachedFromWindow called when already detached. Ignoring

E/Netd ( 106): netlink response contains error (Invalid argument)

E/Netd ( 106): failed to add interface tun0 to VPN netId 104

E/ConnectivityService( 481): Exception adding interface: java.lang.IllegalStateException: command '1409 network interface add 104 tun0' failed with '400 1409 addInterfaceToNetwork() failed (Invalid argument)'

E/ConnectivityService( 481): Unexpected mtu value: 0, tun0

D/ConnectivityService( 481): Adding Route [0.0.0.0/0 -> 0.0.0.0 tun0] to network 104

E/Netd ( 106): interface tun0 not assigned to any netId

E/ConnectivityService( 481): Exception in addRoute for non-gateway: java.lang.IllegalStateException: command '1410 network route add 104 tun0 0.0.0.0/0' failed with '400 1410 addRoute() failed (No such device)'

D/ConnectivityService( 481): Adding Route [10.0.0.0/8 -> 0.0.0.0 tun0] to network 104

E/Netd ( 106): interface tun0 not assigned to any netId

E/ConnectivityService( 481): Exception in addRoute for non-gateway: java.lang.IllegalStateException: command '1411 network route add 104 tun0 10.0.0.0/8' failed with '400 1411 addRoute() failed (No such device)'

D/ConnectivityService( 481): Adding Route [::/0 unreachable] to network 104

E/Netd ( 106): interface tun0 not assigned to any netId

D/ConnectivityService( 481): Setting Dns servers for network 104 to [/192.168.1.1]

D/Nat464Xlat( 481): requiresClat: netType=17, connected=true, hasIPv4Address=true

D/ConnectivityService( 481): notifyType IP_CHANGED for NetworkAgentInfo [VPN () - 104]

D/ConnectivityService( 481): notifyType PRECHECK for NetworkAgentInfo [VPN () - 104]

D/NetworkMonitorNetworkAgentInfo [VPN () - null]( 481): DefaultState{ when=-1ms what=532481 target=com.android.internal.util.StateMachine$SmHandler }

D/NetworkMonitorNetworkAgentInfo [VPN () - null]( 481): Connected

D/ConnectivityService( 481): rematching NetworkAgentInfo [VPN () - 104]

D/ConnectivityService( 481): notifyType AVAILABLE for NetworkAgentInfo [VPN () - 104]