Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: Display phone number in iTunes
11-11-2007, 12:42 AM #1Display 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)
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:
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!
11-11-2007, 04:09 AM #2
Where and how do I get 'minicom'?
11-11-2007, 11:28 AM #3
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.
11-11-2007, 01:03 PM #4
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.
11-11-2007, 10:36 PM #5
11-12-2007, 01:26 AM #6
'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'
11-12-2007, 12:49 PM #7
The Following User Says Thank You to krazeazn For This Useful Post:
11-12-2007, 03:43 PM #8
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 03:43 PM. Reason: Automerged Doublepost
11-12-2007, 04:52 PM #9
11-12-2007, 05:29 PM #10
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?
11-12-2007, 05:49 PM #11
My o2 PAYG sim displays my number on the iphone and in itunes without any activation in itunes or hackery
11-12-2007, 05:49 PM #12
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
09-16-2008, 04:47 PM #13
i keep running into problems, does it matter what firmware you running?
06-07-2011, 04:41 PM #14