Page 1 of 2 12 LastLast
Results 1 to 20 of 27

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Sending AT commands to iPhone 4.

  1. #1
    Default Sending AT commands to iPhone 4.
    Does someone know how to execute AT commands to the iPhone 4?
    I have tried:
    -Installing minicom and setting the serial to tty.debug and tried to run it through puTTY but once it says initializing modem then goes to a screen saying "Press CTRL-A Z for help on special keys"
    And also tried it with unloading CommCenter.

    But I cant type anything there, anyone know how to send commands?

    BTW: I've also tried send modem. It just give's me continues "-"'s on every command for 30+ minutes.

    Device: iPhone 4, OS 4.1 with BaseBand 1.59.00
    All this is being done on a Windows 7 machine.

  2. #2
    Same here. Can't input commands. Why?

  3. #3
    clik Ctrl+A then E to set echo ON

  4. #4
    Maybe this helps

    Baseband Commands - The iPhone Wiki

    Alternatively hop on IRC and talk to people more knowledgeable in this area

  5. #5
    @SelimBez

    Thanks! Do you also know how i cand send the cmd key on the new iphone mobile terminal?

  6. #6
    Quote Originally Posted by gegy View Post
    @SelimBez

    Thanks! Do you also know how i cand send the cmd key on the new iphone mobile terminal?
    actually MobileTerminal is not compatible with iOS 4.1 / 4.2 :/

  7. #7
    @SelimBez
    Thanks I can now type in puTTY but nothing happens when I send in an AT command, do you know why?
    And at the bottom right corner when I click CTRL-A it says "Offline"
    Do I need to unload CommCenter?

    -Thanks

  8. #8
    Quote Originally Posted by jalisco_UFC View Post
    @SelimBez
    Thanks I can now type in puTTY but nothing happens when I send in an AT command, do you know why?
    And at the bottom right corner when I click CTRL-A it says "Offline"
    Do I need to unload CommCenter?

    -Thanks
    If you configured your port to /dev/tty.debug then you have to unload CommCenter (but it will disactivate wifi so you'll be disconnected from putty) I think that by setting port to /dev/tty.baseband you won't be obliged to unload commcenter, check on google

  9. #9
    Actually mobile terminal does work with 4.1... Not 100% working but it does work. Depends on what repo you got it from and if dtunes is on your device.

  10. #10
    Quote Originally Posted by Towtruck675 View Post
    Actually mobile terminal does work with 4.1... Not 100% working but it does work. Depends on what repo you got it from and if dtunes is on your device.
    yup seems like there's a beta version in xSellize repo, it works but still not 100% stable

  11. #11
    Default no /dev/tty.baseband
    Quote Originally Posted by SelimBez View Post
    If you configured your port to /dev/tty.debug then you have to unload CommCenter (but it will disactivate wifi so you'll be disconnected from putty) I think that by setting port to /dev/tty.baseband you won't be obliged to unload commcenter, check on google
    i can't find /dev/tty.baseband in my iPhone 4 and iPhone 3G.

    Yes, sendmodem and minicom can work fine in iPhone 3G, but doesn't work in iPhone 4, is there any way to use AT command in iPhone 4?

    Thank you very much,

    Rossi,

  12. #12
    I finally figured it out.

    1. Download minicom form Cydia.(If you cant find it change your cydia to settings-Manage>Settings>Developer.
    After installing make sure the folder /usr/etc exist. You can check through iFile or SSH
    2. Now SSH to your iPhone 4 via PuTTY(For windows) or Terminal or Cyberduck(For Mac)
    3. Now in the command line execute- minicom -s
    A small box will now appear.
    Now select Serial Port Setup in the Menu and press Enter
    Then, press "a" and set Serial Device to /dev/dlci.spi-baseband.extra_13 now click enter, enter
    Now you should be on the on the configuration screen again. Scroll down to "Save set up as dfl" click enter
    Finally now scroll down to "Exit" and click enter.
    4. There now you should be able to send AT commands.

  13. #13
    Default Thanks
    Quote Originally Posted by jalisco_UFC View Post
    I finally figured it out.

    1. Download minicom form Cydia.(If you cant find it change your cydia to settings-Manage>Settings>Developer.
    After installing make sure the folder /usr/etc exist. You can check through iFile or SSH
    2. Now SSH to your iPhone 4 via PuTTY(For windows) or Terminal or Cyberduck(For Mac)
    3. Now in the command line execute- minicom -s
    A small box will now appear.
    Now select Serial Port Setup in the Menu and press Enter
    Then, press "a" and set Serial Device to /dev/dlci.spi-baseband.extra_13 now click enter, enter
    Now you should be on the on the configuration screen again. Scroll down to "Save set up as dfl" click enter
    Finally now scroll down to "Exit" and click enter.
    4. There now you should be able to send AT commands.
    Thank you, I will try it.

  14. #14
    Default /dev/dlci.spi-baseband.extra_13
    Any possibility there is a typo in this string:

    /dev/dlci.spi-baseband.extra_13

    I tried, minicom would not open with this as the port.

    thanks

    wms

  15. #15
    Quote Originally Posted by wms View Post
    Any possibility there is a typo in this string:

    /dev/dlci.spi-baseband.extra_13

    I tried, minicom would not open with this as the port.

    thanks

    wms
    Retry using PuTTY (SSH)
    Download PuTTY - a free SSH and telnet client for Windows
    not directly from the phone

  16. #16
    Default AT Command
    Quote Originally Posted by SelimBez View Post
    Retry using PuTTY (SSH)
    Download PuTTY - a free SSH and telnet client for Windows
    not directly from the phone
    Yes,it can open via SSH.
    What's type of iPhone4's baseband?infineon?

  17. #17
    Default dlci.spi-baseband.extra_13
    MY iPhone does not have that port listed. See here:

    :~ root# ls /dev
    aes_0 io8logmt tty.highland-park
    bpf0 klog tty.iap
    bpf1 mux.spi-baseband tty.umts
    bpf2 null ttyp0
    bpf3 pf ttyp1
    btreset ptmx ttyp2
    btwake ptyp0 ttyp3
    console ptyp1 ttyp4
    cu.bluetooth ptyp2 ttyp5
    cu.builtin-serial4 ptyp3 ttyp6
    cu.debug ptyp4 ttyp7
    cu.gas-gauge ptyp5 ttyp8
    cu.highland-park ptyp6 ttyp9
    cu.iap ptyp7 ttypa
    cu.umts ptyp8 ttypb
    disk0 ptyp9 ttypc
    disk0s1 ptypa ttypd
    disk0s2 ptypb ttype
    disk0s2s1 ptypc ttypf
    dlci.spi-baseband.ciq_c ptypd ttys000
    dlci.spi-baseband.ciq_d ptype ttys001
    dlci.spi-baseband.extra_c ptypf uart.bluetooth
    dlci.spi-baseband.extra_d random uart.builtin-serial4
    dlci.spi-baseband.loc_c rdisk0 uart.debug
    dlci.spi-baseband.loc_d rdisk0s1 uart.gas-gauge
    dlci.spi-baseband.logchannel_c rdisk0s2 uart.highland-park
    dlci.spi-baseband.logchannel_d rdisk0s2s1 uart.iap
    dlci.spi-baseband.qmux1_c rvn0 uart.umts
    dlci.spi-baseband.qmux1_d sha1_0 urandom
    dlci.spi-baseband.qmux2_c tty vn0
    dlci.spi-baseband.qmux2_d tty.bluetooth vn1
    dlci.spi-baseband.test_c tty.builtin-serial4 zero
    dlci.spi-baseband.test_d tty.debug
    io8log tty.gas-gauge

  18. #18
    because i really want to contribute to our scene, and because i dont have fonds to buy myself an iphone 4 with baseband fw 02.10.04( my iphone has 01.59.00) i`ll tell you all how to acces the iphone 4 baseband through tty.debug, wich is the REAL port to the baseband. baseband_extra_13 is an port which cydia injected into the phone.

    i spent days with fixing this problem because i wasn't able to sent any at command to tty.debug.
    and then somewhere on the internet i read that planetbeings signal app ( available in cydia store) will let you send commands to the baseband, but only when the app is RUNNING.

    so get yourself signal from cydia. open it. ssh into your phone. set the serial port to dev/tty.debug. then you will see that you can send at commands even with commcenter turned on.

    so now i hope the guys that have a baseband that isnt unlocked yet will try to find crashes wich will result in overflows. if you find something like that send it to a member of the dev-team.

    as i said above i`d try to find baseband-crashes by myself, but i cant afford another iphone 4

  19. #19
    Default AT commands to CDMA iphone4
    andicf,

    Thanks for posting. I looked at signal app, and it seems as if it is only for the sim card version of the iphone4, not the CDMA (Verizon) and the phone has to be unlocked first.

    wms

  20. #20
    oh i forgot a thing....it's good to acces the baseband with minicom.
    and you cant see what you are typing only if you turn echo on... but try to type AT in the command line(even if you can't see it) and you'll se that the modem will responde with an OK....

    @ wms where did you read that, that the iphone first has to be unlocked.... and yes it's probably true that the cdma version won't work like that.

    i'd really love to know, if it's true what you say that you can send commands to the baseband only if it's unlocked, how @musclenerd, sherif_hashim, and all the other guys fixed that problem that the baseband will responde

    andicf

Page 1 of 2 12 LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •