Talk:Get a shell

From OpenEZX

Jump to: navigation, search

I'm not sure how to edit this in, but instead of using minicon, one can just echo the commands to the tty device. (i.e. echo "AT+mode=13" > /dev/ttyACM0 )

Does not work with all phones

A Rokr E2 I just got (from the US) does obey the AT+mode=13 all right, and switches to MotNet. The TCP/IP is up and running, but all the ports are closed. An E2 I got from China had telnet, ftp and samba ports open. So no joy getting shell access, at least so far. Egil 14:18, 2 July 2007 (CEST)


I've posted an alternative way to open a shell on the phone, using nc to spawn /bin/sh. If the phone has bash, you can also try to redirect stdin, stdout and stderr to and from /dev/tcp/host/port (use a different port to each redirection). It should be simpler, no need to cross compile netcat.

Personal tools