Well if you’re directly connected via serial or Bluetooth to an a android machine then you can probably just run the login / shell on the port with no middle man.
But if you want to telnet into a shell on the android unit over WiFi then socat would come in handy. — John.
