Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to know how to connect Android devices to HyperTerminal?

I am not able to find the port on which my Android mobile connects and which connection mode to use. On my HTC Wildfire S I have various connection modes like 'Internet pass through','charge only','disk drive', etc.

share|improve this question
How are you trying to connect? Through the USB port? Over the Internet? Or what? You really should just run adb over the USB port. – David Schwartz Dec 7 '11 at 6:09
I am connecting mobile through USB port and I am able to pass some commands to mobile by using adb. My goal is to issue AT commands like send or receive sms, call some phone number etc. Can we issue AT commands using adb? – Shekhar Dec 7 '11 at 6:56
up vote 2 down vote accepted

I'm afraid Android doesn't expose its 'modem' via a serial port.

What you probably need is some kind of application, that will expose desired functions through either XML-RPC, plain HTTP or some kind of IP based protocol.

Some of those apps could be AirDroid (here I'm not sure how easy it is to control this from a script), RPC - Base + XMPP Channel, or SMS Gateway from APK Soft.

Or you can write your own app for Android and emulate a modem over TCP... (I don't have any experience in this, but expect it to be fairly easy).

share|improve this answer
thanks a lot for your inputs. I will try to find how to emulate android modem over TCP – Shekhar Dec 7 '11 at 10:18
You are welcome. Though I don't think you will find a tutorial or howto. If you don't already have an app that requires 'modem' it is a waste of time trying to emulate. You can use some already implemented protocol (http, xmlrpc) or implement own simple interface on TCP (simple commands with simple responses). – Fox Dec 7 '11 at 23:22

There is a review of this in the XDA forum thread:

How to talk to the Modem with AT commands.

That thread show you how to send AT commands (ATC) with a remote terminal (USB connected to you PC), but it has not yet solved the problem of how to use a local (phone) terminal to talk to the phone modem. This is dependent on both the modem chip set used in your phone and how the phone is set up when connected to a USB port. There are usually some kind of engineering menu (AKA secret code) that you can dial to get the phone to act like a modem or PDA.

BTW. You need a terminal application/program to do any talking to the modem (remember, it's a two-way communication). So that's why you need a rooted device, since the rootkit usually come with BusyBox (that includes the microcom terminal program). Otherwise, you have to write your own program.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .