+ Reply
Results 1 to 14 of 14

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


Thread: Display phone number in iTunes

is a discussion within the

Unlocking / Activation

forums, a part of the

iPhone Modding

section;
Displaying phone number on iTunes by aviegas from hackintosh forums The phone number is stored on the SIM card, as the first "Own Number". Somehow the AT&T activation writes the
...
  1. #1
    What's Jailbreak?
    Join Date
    Sep 2007
    Posts
    21
    Thanks
    4
    Thanked 1 Time in 1 Post
    Default Display phone number in iTunes
    Displaying phone number on iTunes by aviegas from hackintosh forums

    The phone number is stored on the SIM card, as the first "Own Number".

    Somehow the AT&T activation writes the "Own Number" (the number assigned to the phone during registration) to the SIM card and that information is used for both the Settings->Phone and for iTunes.


    There are 2 ways to enter a "Own Number", and both are challenging:

    a) Using another phone:

    Some phones (not the iPhone) have support to change/add the "Own Number". Do not ask me which phones do. I recall seeing it on some phones in the past but I do not remember. You will have to remove your SIM card, place in the other phone, reprogram it there and then return it to the iPhone. The challenge is to find a phone that supports it and navigate through its menu to find how to change the "Own Number".


    b) Using the iPhone:

    Unfortunately, the iPhone does not support setting the "Own Number", except during "Apple's Own Activation".

    But there is a way to do it manually, using minicom.

    ** NOTE ** If you use a SIM password, you must deactivate it before doing this!!! Make sure SSH is on if you disabled it. Do not forget to turn auto-lock off.

    1) SSH to your phone using putty (windows) or terminal (mac).

    2) Stop the CommCenter:
    launchctl -w unload /System/Library/LaunchDaemons/com.apple.CommCenter.plist

    3) Start minicom: minicom -s

    4) Then proceed to change the Serial Port device name to /dev/tty.baseband

    - Scroll down to "Serial Port"
    - Press "A" and retype over the serial port device name
    - Press "ENTER" twice
    - Scroll down to EXIT and press ENTER
    - Type "AT" and press ENTER. You should get an "OK" back

    5) Enter the following commands: (should say "OK" after each command)

    AT+CPBS="ON"
    AT+CPBW=1,"XXXXXXXXXXXX",,"TTTTT"
    AT+CPBR=1
    AT+CNUM

    The first command will set the Address Book storage to "Own Number"

    The second command will write the number (XXXXXXXXXX) with an optional text "TTTT".
    I use my carrier name as the optional text, some use their names. Pick whatever you like.

    I've entered my number using "+CANNNNN", that is +, country code, area code and number:
    Ex: +5521XXXXXXXX -> this wil be Brazil (55), Rio de Janeiro(21), and number (XXXXXXXX).
    The type returned was 145.

    For USA numbers i used 1(areacode)phonenumber:
    Example: AT+CPBW=1,"18081234567",129
    The type returned was 129.

    The third command will display back whatever you have entered, plus the type, either "129" or "145".
    "129" is a national pattern
    "145" is a international pattern

    The fourth command will display the "Own Number". This is the way it's queried, so we try to see the result.

    6) Press "Ctrl-A", "Q" and "ENTER" to exit minicom.

    7) Reload CommCenter:
    launchctl -w load /System/Library/LaunchDaemons/com.apple.CommCenter.plist

    8) Reboot your iPhone.

    It should now show the "My Number" in Settings->Phone, and also on the iTunes screen (provided that the iPhone is on when it connects to iTunes, so the SIM card is already processed). Might need to restart computer for it to show "my number" if it does not show after running minicom commands.

    Thanks to aviegas for the guide!
    http://www.hackint0sh.org/forum/showthread.php?t=13679

  2. #2
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    27
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Where and how do I get 'minicom'?

  3. #3
    What's Jailbreak?
    Join Date
    Sep 2007
    Posts
    21
    Thanks
    4
    Thanked 1 Time in 1 Post
    minicom is a program built into the iphone. you access it by using putty or terminal to ssh to your iphone following the commands listed above from steps 1 to 8.

  4. #4
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    27
    Thanks
    1
    Thanked 2 Times in 2 Posts

    I dont know but it is not working the way it should for me.

    Here is what I am getting.

    I SSH into iPhone using terminal. I type in 'launchctl -w unload /System/Library/LaunchDaemons/com.apple.CommCenter.plist' and it says 'Unknown Argument: '-w'' But at the same time, my iphone looses the network. So I am assuming that it stopped the commconnection

    Then I type in 'minicom -s' and it says 'minicom: command not found'

    I cant continue to the 4th step after that, so I use the command in the 7th step to start the commcenter again.

    Please advice on what I need to do differently.

    Thanks

  5. #5
    What's Jailbreak?
    Join Date
    Sep 2007
    Posts
    21
    Thanks
    4
    Thanked 1 Time in 1 Post
    Quote Originally Posted by abhaykhanna View Post
    I dont know but it is not working the way it should for me.

    Here is what I am getting.

    I SSH into iPhone using terminal. I type in 'launchctl -w unload /System/Library/LaunchDaemons/com.apple.CommCenter.plist' and it says 'Unknown Argument: '-w'' But at the same time, my iphone looses the network. So I am assuming that it stopped the commconnection

    Then I type in 'minicom -s' and it says 'minicom: command not found'

    I cant continue to the 4th step after that, so I use the command in the 7th step to start the commcenter again.

    Please advice on what I need to do differently.

    Thanks
    try type in the command
    'launchctl unload /System/Library/LaunchDaemons/com.apple.CommCenter.plist'

    only thing different is...i took out the -w
    this will also apply in the end of the guide where you will
    reload your commcenter. just dont type in -w

  6. #6
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    27
    Thanks
    1
    Thanked 2 Times in 2 Posts

    'launchctl unload /System/Library/LaunchDaemons/com.apple.CommCenter.plist' worked fine but minicom didnt start again. I got the same error for the command 'minicom -s'. 'minicom: command not found'

    Any advice?

  7. #7
    What's Jailbreak?
    Join Date
    Sep 2007
    Posts
    21
    Thanks
    4
    Thanked 1 Time in 1 Post
    Quote Originally Posted by abhaykhanna View Post
    'launchctl unload /System/Library/LaunchDaemons/com.apple.CommCenter.plist' worked fine but minicom didnt start again. I got the same error for the command 'minicom -s'. 'minicom: command not found'

    Any advice?
    not sure if this will help, but do you have bsd subsystem installed as well?
    if not go to installer and download it to your phone.

  8. The Following User Says Thank You to krazeazn For This Useful Post:

    abhaykhanna (11-12-2007)

  9. #8
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    27
    Thanks
    1
    Thanked 2 Times in 2 Posts

    BSD did it. Thanks a lot

    Do you know how to make the phone appear on itunes as well?
    Last edited by abhaykhanna; 11-12-2007 at 02:43 PM. Reason: Automerged Doublepost

  10. #9
    What's Jailbreak?
    Join Date
    Sep 2007
    Posts
    21
    Thanks
    4
    Thanked 1 Time in 1 Post
    Quote Originally Posted by abhaykhanna View Post
    BSD did it. Thanks a lot

    Do you know how to make the phone appear on itunes as well?
    what do you mean?
    did you try restart your comp and iphone?

  11. #10
    Green Apple Munzo's Avatar
    Join Date
    Nov 2007
    Posts
    48
    Thanks
    19
    Thanked 2 Times in 2 Posts

    You could maybe for this hey!

    When Activating the phone does it change files within the iPhone or just write a number and such to the SIN?

    Because you could fake write the sim to be a AT&T then put your own phone number?

  12. #11
    Livin the iPhone Life redcard's Avatar
    Join Date
    Oct 2007
    Location
    Scotchland
    Posts
    2,143
    Thanks
    8
    Thanked 204 Times in 184 Posts

    My o2 PAYG sim displays my number on the iphone and in itunes without any activation in itunes or hackery

  13. #12
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    27
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Its showing up now. Earlier it didnt when I put in the number. It was showing on the phone but not in itunes. Now it does, I guess it needed 3-4 Syncs before showing up in itunes.

    Thanks for all the help

  14. #13
    What's Jailbreak?
    Join Date
    Sep 2008
    Posts
    8
    Thanks
    2
    Thanked 0 Times in 0 Posts

    i keep running into problems, does it matter what firmware you running?

  15. #14
    What's Jailbreak?
    Join Date
    Jun 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Quote Originally Posted by abhaykhanna View Post
    BSD did it. Thanks a lot

    Do you know how to make the phone appear on itunes as well?
    HI abhay, how youdo it bsd?

    i have the same problem but i didnt get you what is bsd and how to activate it
    please help

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts