title: Android TCP/IP connection over USB with linux side
body: <p>i have question about TCP/IP connection over USB between mobile phone running on Android and linux station</p>
  
  <p>What i need:
  create IP layer over USB between android phone and linux (PC). Phone is not rooted.</p>
  
  <p>What i found:
  I'm little bit searched and this solution is possible over Tethering and Mirrorlink. Mirrorlink is implementation of cdc/mc (ethernet over usb) and tethering seems to be same solution. </p>
  
  <p>Another solution seems to be debug bridge adbd and adb but it is need to had enable debug mode but i am not sure with it. </p>
  
  <p>Question:
  It is possible to create IP layer over USB in user space through some application ?</p>
  
  <p>And is possible from non rooted android phone force second side to do someting what will established the session.</p>
  
  <p>Something like this:
  1 step -> android phone will over usb send something to linux pc
  2 step -> linux pc will create IP interface and send back over usb something to android phone (communication is still over usb)
  3. step -> android phone create ip interface and communication over IP is established.</p>
  
  <p>Linux pc is fully my control but android phone has limited capabilities.</p>
  
  <p>Thanks for some advices.</p>