Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > General > General

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-28-2007, 01:52 PM
aviegas's Avatar
aviegas
Status: Offline
The Man
 
Join Date: Sep 2007
Posts: 1,079
Rep Power: 66
aviegas has a spectacular aura aboutaviegas has a spectacular aura aboutaviegas has a spectacular aura about
Default [iTunes] Showing phone number

Has anyone found a way to do it?

Yesterday I plugged a friend's phone to my Mac and it showed his phone number, instead of the "n/a". Then we reloaded 1.1.1 and after that it was still there....

Any idea how it works?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 10-28-2007, 02:57 PM
Gevor
Status: Offline
Member
 
Join Date: Aug 2007
Posts: 50
Rep Power: 5
Gevor is on a distinguished road
Default

What carrier is your friend using? Is he using his carrier SIM card or a Multisim?
Also, is his phone number showing under Settings -> Phone menu on his iPhone?

I was also trying to figure that out.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 10-28-2007, 03:05 PM
aviegas's Avatar
aviegas
Status: Offline
The Man
 
Join Date: Sep 2007
Posts: 1,079
Rep Power: 66
aviegas has a spectacular aura aboutaviegas has a spectacular aura aboutaviegas has a spectacular aura about
Default

Quote:
Originally Posted by Gevor View Post
What carrier is your friend using? Is he using his carrier SIM card or a Multisim?
Also, is his phone number showing under Settings -> Phone menu on his iPhone?

I was also trying to figure that out.
His is using "Claro" (Brazil). I will have to check the "Settings". It just surprised me because I have working SIM cards for all 4 major carriers in Brazil and this is the only one that works. My guess it's something in the SIM.

I will check and post back.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #4 (permalink)  
Old 10-28-2007, 03:30 PM
Iamz
Status: Offline
Senior Member
 
Join Date: Sep 2007
Posts: 138
Rep Power: 9
Iamz is on a distinguished road
Default

I think it's stored in SIM card because the number showed in my iTunes is 661xxxxxxx which is the original phone number but a few years ago all the mobile phone number in Thailand was changed to 6681xxxxxxx. The number displayed in iTunes is still the old one so I think it's stored in the SIM card from the beginning.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 10-28-2007, 03:33 PM
Gevor
Status: Offline
Member
 
Join Date: Aug 2007
Posts: 50
Rep Power: 5
Gevor is on a distinguished road
Default

Quote:
Originally Posted by aviegas View Post
His is using "Claro" (Brazil). I will have to check the "Settings". It just surprised me because I have working SIM cards for all 4 major carriers in Brazil and this is the only one that works. My guess it's something in the SIM.

I will check and post back.
Looks like the phone number has to be saved on the SIM card to be shown in iTunes and Settings -> Phone menu. Read here: http://hackint0sh.org/forum/showthread.php?t=7624
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 10-28-2007, 03:35 PM
aviegas's Avatar
aviegas
Status: Offline
The Man
 
Join Date: Sep 2007
Posts: 1,079
Rep Power: 66
aviegas has a spectacular aura aboutaviegas has a spectacular aura aboutaviegas has a spectacular aura about
Default

I found I way to made it work, using solely the iPhone! Yeah!

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!!!

1) SSH to your phone. Do not forget to turn auto-lock off.

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:

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.

The third command will display back whatever you have entered, plus the type, either "129" or "145".
It will be "129" if the number fits a "national" pattern and "145" if it's international.

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

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.

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)


Enjoy!

Last edited by aviegas; 10-29-2007 at 12:38 PM. Reason: More detailed instructions, including minicom setup
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #7 (permalink)  
Old 10-28-2007, 06:49 PM
Iamz
Status: Offline
Senior Member
 
Join Date: Sep 2007
Posts: 138
Rep Power: 9
Iamz is on a distinguished road
Default

I tried the minicom method and it worked great! Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 10-30-2007, 01:34 AM
duck9000's Avatar
duck9000
Status: Offline
Young Padawan
 
Join Date: Sep 2007
Location: The Outer Rim
Posts: 2,463
Rep Power: 144
duck9000 is just really niceduck9000 is just really niceduck9000 is just really niceduck9000 is just really nice
Default

Thanks for the more detailed instructions, Aviegas!
__________________
** If you just want to support hackint0sh.org with a donation, please click here **.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 11-03-2007, 08:51 PM
krazeazn
Status: Offline
Junior Member
 
Join Date: Oct 2007
Posts: 10
Rep Power: 0
krazeazn is on a distinguished road
Default

thanks! works for me!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #10 (permalink)  
Old 11-04-2007, 05:41 AM
upnorth
Status: Offline
Junior Member
 
Join Date: Oct 2007
Posts: 4
Rep Power: 0
upnorth is on a distinguished road
Default

Brilliant!
Works for me too.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +2. The time now is 03:32 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407