AT commands on HTC Touch Pro - Windows Mobile Development and Hacking General

Hi,
I have an HTC Touch Pro and I would like to access its AT commands via Bluetooth.
I have successfully connected to the serial port via a simple terminal program. The phone can respond to "AT" with "OK" but all other commands respond with "ERROR".
Can I access the phone via AT commands this way?
Thank you!
Regards,
Mads

Related

I9000 MODEM AT command set

Hi,
FYI. A list of all the AT commands the I9000 can handle.
AT&H
#, &A, &B, &C, &D, &E, &F, &H, &I, &K, &M, &R, &S, &V,
&W, &Y, A, B, E, H, I, L, M, O, P, Q, S0, S10, S12,
S19, S2, S3, S4, S5, S6, S7, S8, T, V, X, Z, \Q,
+BINP, +BLDN, +BRSF, +BVRA, +CACM, +CAEMLPP, +CALA,
+CALD, +CALM, +CAMM, +CAOC, +CBC, +CBST, +CCFC, +CCHC,
+CCHO, +CCID, +CCLK, +CCUG, +CCWA, +CCWE, +CEER, +CFUN,
+CGACT, +CGANS, +CGATT, +CGAUTO, +CGCLASS, +CGCMOD,
+CGDATA, +CGDCONT, +CGDSCONT, +CGED, +CGEQMIN, +CGEQNEG,
+CGEQREQ, +CGEREP, +CGLA, +CGMI, +CGMM, +CGMR, +CGPADDR,
+CGQMIN, +CGQREQ, +CGREG, +CGSMS, +CGSN, +CGTFT, +CHLD,
+CHUP, +CIMI, +CIND, +CLAC, +CLAN, +CLCC, +CLCK, +CLIP,
+CLIR, +CLVL, +CMEC, +CMEE, +CMER, +CMGC, +CMGD, +CMGF,
+CMGL, +CMGR, +CMGS, +CMGW, +CMMS, +CMOD, +CMSS, +CMUT,
+CMUX, +CNAP, +CNMA, +CNMI, +COLP, +COLR, +COPN, +COPS,
+CPAS, +CPIN, +CPLS, +CPMS, +CPOL, +CPUC, +CPWD, +CPWROFF,
+CR, +CRC, +CREG, +CRES, +CRLA, +CRLP, +CRSL, +CRSM,
+CSAS, +CSCA, +CSCB, +CSCS, +CSDH, +CSGT, +CSIM, +CSMP,
+CSMS, +CSQ, +CSSN, +CSTA, +CTFR, +C
+CUSD, +CUUS1, +FCLASS, +FDR, +FDT, +FKS, +FMR, +GCAP,
+GMI, +GMM, +GMR, +GSN, +ICF, +IFC, +IPR, +NREC, +SATE,
+SATR, +STKENV, +STKLBR, +STKPRO, +STKPROF, +STKTR,
+TRACE, +VGM, +VGR, +VGS, +VGT, +VTD, +VTS, +WS46, +XACT,
+XADDTRACE, +XALS, +XALSBLOCK, +XAPOXI, +XAPP, +XAUTOPLMNSEL,
+XBANDSEL, +XBARRPW, +XCALLREFUSE, +XCALLSTAT, +XCAOC,
+XCBS, +XCCBS, +XCEER, +XCELLINFO, +XCFC, +XCGCLASS,
+XCGEDPAGE, +XCHNSIM, +XCIND, +XCIPH, +XCONFIG, +XCOPS,
+XCOREDUMP, +XCRSM, +XCSIM, +XCSP, +XCSPAGING, +XCSSMS,
+XCTMDR, +XCTMS, +XDATACHANNEL, +XDEV, +XDEVICE, +XDIAG,
+XDNS, +XDRXSET, +XDTMF, +XEMC, +XEONS, +XETFT, +XGAUTH,
+XGCNTRD, +XGCNTSET, +XGENDATA, +XGPRSERRMAP, +XHANDSFREE,
+XHOMEZR, +XHSDUPA, +XIMS, +XL1SET, +XLCAPS, +XLGASSIST,
+XLGCPL, +XLGINFO, +XLGLOGLEV, +XLGMODE, +XLGNAV, +XLGNMEA,
+XLGNVRAM, +XLGPOS, +XLGTEST, +XLGTIME, +XLIN, +XLOG,
+XLOOPBACK, +XLQOS, +XLRMT, +XLRSUPL, +XLRTA, +XLRV,
+XLSR, +XLSRSTOP, +XMAGETBLOCK, +XMAGETKEY, +XMER, +XMULT
+XMUX, +XNMI, +XPIN, +XPINCNT, +XPOW, +XPPP, +XPROGRESS,
+XPWROFFDELAY, +XQNEG, +XRAT, +XREDIAL, +XREG, +XREL,
+XREMFPLMN, +XRFS, +XRLCSET, +XRRSET, +XSCELLLOCK, +XSECSTATE,
+XSELFRXSTAT, +XSERVICE, +XSIMCHG, +XSIMLG, +XSIMLOOPBACK,
+XSIMSTATE, +XSIMVALID, +XSIO, +XSLN, +XSMS, +XSTK,
+XSYSERR, +XTDEV, +XTERM, +XTESM, +XTFILTER, +XTOS,
+XTRACECONFIG, +XTRACEIP, +XTRACESYSTIME, +XUICC, +XUSBFLASH,
+XVTS
OK
I9000 modem access
I'm trying to access /dev/ttygs0 and test an AT command
with all possible serial speeds directly from a root console , but
modem seems dead... i cannot find informations how to enable it
Hi guys,
I have following problem with I9000 - when new SMS arrives there is no notification to serial port.
With command AT+CNMI=2,3,0,1,0 there should be such notifications, but they don't arrive to the serial port.
Can you advice me someting?
For people who have asked me.
I accessed the AT commands by putting the I9000 phone PDA/MODEM setting on MODEM and then connect a USB cable. The phone causes new COM/tty ports to appear on the PC when running Linux.
sending AT commands to my Galaxy S
Hi there,
Im trying to access my My Galaxy S (Android 2.3.4 XXJVQ) as a GSM modem and send it AT commands.
Im using Windows 7, I cant seem to get this to work, whether through a cable or Bluetooth i can see in the phone in devices & printers dialog and it does list its modem as a feature and tells me on which port its connected, for USB its COM4 for BT its COM6.
However if i use Hyperterminal it wont let me type anything into the textbox, it just doesnt respond.
I also wrote a small C# app based on code samples i found online but it never seems to respond to the commands i send to it. If i use COM3 for my "Thinkpad Modem Adapter" and i type into my console app: "AT" or "AT+GMM" for example i get a response back. if i use the port for the phone (COM4) i get nothing back...
I tried the trick with setting the phone from PDA to Modem using *#7284# but then when i connect the phone to the PC it wont recognize it and in the device manager it shows me a device called 7CDCs which it cannot find a driver for.
Ive also tried PDANet, i got the computer and phone connected together but i still cant issue an AT command at the modem...
Not sure whats the problem here...
If anyone can help me with id really appreciate it.
thanks!
Yoav.
You need linux to make it work.
You might be able to find a windows driver for it, but i don't have windows so i can't help there.
Can't test this just now as I'm at work, I did get through to the modem on windows 7 via usb. I'm sure I had to issue a reset command before I could do anything else.... ATZ maybe? I'll check it out when I get home.
Yeah, with the phone in Kies mode for usb connection and using PuTTY instead of hyperterminal (no longer provided with Win7) I got through to the modem on COM3. Whether the phone responds to all commands as expected seems to be another matter.
Thanks fahzat,
Ill give it a try again with Putty but i did try Putty yesterday as well as Hyperterminal and got to the same situation where it seems to be connected to the phone over the port but then it wont allow me to type anything into the command prompt... You chose the "Serial" type connection in the Putty initial screen right?
Correct, serial connection on COM3 (obviously your port may differ) with speed at 921600 (9600 seemed to work too). In the "Terminal" section set "Local echo" to "Force on" or you won't see what you're typing, only the response.
fahzat said:
Correct, serial connection on COM3 (obviously your port may differ) with speed at 921600 (9600 seemed to work too). In the "Terminal" section set "Local echo" to "Force on" or you won't see what you're typing, only the response.
Click to expand...
Click to collapse
Or make the first command you type ATE1
Thanks guys, it works. now im able to send commands to my Galaxy S.
What i really wanted to do was to manage to send SMS messages and see incoming messages but following the commands shown on a few tutorials dont seem to work with my phone.
Wondering if anyone knows how to do that with the SGS (I9000)???
[EDIT]
All info moved to here: http://forum.xda-developers.com/showthread.php?t=1471241
Thanks.
Achieve AT Command from Android
Hi All
I read that is not possible use directly in Android AT Command to debug the modem, but I was thinking to write an APP that using the USB Serial Virtual port in Android could send the AT Command directly to the modem. I read about external API to use serial communication.
Do you think this is possible??
alextreme said:
I read that is not possible use directly in Android AT Command to debug the modem,
Click to expand...
Click to collapse
ATdebug.apk is the answer : http://forum.xda-developers.com/showpost.php?p=19485757&postcount=1
mai77 said:
ATdebug.apk is the answer : http://forum.xda-developers.com/showpost.php?p=19485757&postcount=1
Click to expand...
Click to collapse
I know this...but it s not working with Samsung phones. Should I change the ROM with a Cyanogenmod version??
All you need to know here:
How to talk to the Modem with AT commands:
http://forum.xda-developers.com/showthread.php?t=1471241
how can we put the phone in modem mode?
thanks in advance
midas5 said:
For people who have asked me.
I accessed the AT commands by putting the I9000 phone PDA/MODEM setting on MODEM and then connect a USB cable. The phone causes new COM/tty ports to appear on the PC when running Linux.
Click to expand...
Click to collapse
Hi Midas5,
Could you be more specific?
a) So you set it to use: UART as MODEM and USB as MODEM??
(Those PhoneUtils settings are confusing!)
b) Which exact devices/ports appeared on your local machine?
c) Which exact devices/ports appeared on your phone?
d) Can you say anything about the device driver that you're using?
Thanks.
---------- Post added at 07:20 PM ---------- Previous post was at 07:14 PM ----------
yoavniran said:
If i use COM3 for my "Thinkpad Modem Adapter" and i type into my console app: "AT" or "AT+GMM" for example i get a response back. if i use the port for the phone (COM4) i get nothing back...
Click to expand...
Click to collapse
This is probably the wrong modem. It's most likely your laptop's built-in FAX/modem!
I tried the trick with setting the phone from PDA to Modem using *#7284# but then when i connect the phone to the PC it wont recognize it and in the device manager it shows me a device called 7CDCs which it cannot find a driver for.
Click to expand...
Click to collapse
This is THE problem!!
a) What (PC/linux) drivers to use when using your phone in "modem mode"?
b) How to send AT command from your phone terminal/shell? (I.e. what device is the right one(s)?

[Q] Nexus 4 screen cracked, need someone fluent with ADB to help

So that's it, my Nexus 4's front glass is broken to where I can only use half the screen. I want to unlock this thing and use ShareKM (Lets me use my mouse and keyboard from my computer on my phone) and Airdroid too I guess. The reason I need help is I can't type in my PIN to unlock the phone and even if I could, I doubt I'd be able to navigate to either ShareKM or Airdroid to start them up. Is there any adb command or otherwise to forward the pin to my phone through usb and then a command to start up the apps? I just wanna be able to use it and get some stuff off before I send it in to be repaired. Thanks in advance.
Not sure about unlocking the pin through adb, but you could use adb pull to copy the files that you need off the phone.
Maybe try this tool
This will only work if your phone is rooted and I hope you enabled usb debugging and unknown sources, otherwise I don't know what to do...
If you will have passed the lockscreen, you should be able to install ShareKM and Airdroid via ADB (if you have the .apk). But I don't know if it's possible to activate ShareKM without using the touchscreen.
But just to get your data off your phone, simply use
Code:
adb pull /sdcard/
then you have a backup of your music/photos/etc
Use adb while in recovery mode. Twrp supports that. Pull the sdcard like the above post suggests.
Sent from my Xiaomi Mi2s

Nexus 7, display broken, unable to enter the look screen, backup all?

Hy experts
i need your help again...
I have a Nexus 7 , and the screen is broken. I can't type anything and can't go inside the main settings, now. It's not possible to use my "look-screen-pattern"
Now I would like to do a backup of all data on my pc. (i want to open the backup file via winrar(or anything else), to get my photos, videos, apps etc. )
I have the android sdk tools installed, the google drivers too.
I used the recovery mode on my nexus. On the screen is a yellow sentence, what means the sideload function. But i don't need the sideload function. I only want a backup and no new rom system...
I tried to use adb shell commands to store a backup on my windows 7 pc.
But in my cmd a always get the same error.
unable to connect device....
The Tablet is not in the debug mode!! but i can't change settings, cause the display is broken
thanks for help
Get an OTG adapter cable and plug in a USB mouse/keyboard. That should get you through the unlock.
TeardownDan said:
Get an OTG adapter cable and plug in a USB mouse/keyboard. That should get you through the unlock.
Click to expand...
Click to collapse
can i use the tablet with a mouse??
i need to entry the look scrren, like this
https://thinkerbit.com/content/reviews/03-nexus-7/nexus-7-lock-screen.png
When you plug in a mouse, you will see a mouse pointer appear. To emulate taps, click any button. To emulate swipe, hold the button down from beginning to end of the swipe.

Debug USB

Hi I have a S5 Neo, practically it is broken me the display and it is not seen anything, but the device correctly works. From different guides I have read as to activate the Debug to broken screen, and it would serve me the custom recovey (ClockworkMod) to use the commands adb shell, therefore to activate the debug. The ClockworckMod is not compatible with my telephone as, another way it exists for using the commands adb with broken screen? Thanks

How to install via OSX on Fairphone 2

As a Mac user, my options seem limited. The only way I found to install ubuntu touch on my fairphone 2 is ubports. Am I missing something?
However, ubports recognizes my phone but does not start with installation. I am asked to connect the phone via USB. Of course this already is the case – otherwise it would not have been recognized
(I followed the instructions for preparation – developer mode: on, oem unlock, usb debugging: on. I also checked the usb mode to be transfer mode and I tested another usb chord)
I would appreciate any help.
Try this
Download and install the latest installer for ubports.
Open terminal type and enter these 2 lines:
cd /Applications/ubports-installer.app/Contents/MacOS/
sudo ./ubports-installer
When prompted enter your Mac is admin password.
The installer should work correctly now (has something to do with admin privileges for adb and fastboot).
I had the same problem installing on my nexus 4, then it worked perfectly after entering the 2 command lines in terminal.
Hope this helps.
Sent from my LG-V500 using Tapatalk

Categories

Resources