Forum

February 5th, 2009
You must be logged in to post Login Register

Search 
Search Forums:


 




Caller ID fix for iPhone 2.0 in Trinidad and Tobago
Read original blog post

UserPost

10:50 am
August 29, 2008


Aaron Besson

iNew

posts 1

1

I would like to give a shout out to Shivanand (one of my blogs long time readers) for this contribution. He has put together the files needed and a nice guide to replacing the files on your iPhone that is running 2.0. I started messing around with the files to correct the Caller ID problem I and others were having, but gave up last night as I was exhausted after a long run around the neighborhood with my pitbull.


Hey Aaron, long time no hear from. Just wanted to contribute a little to your site. I patched the appropriate files for Caller ID to work in Trini for iPhone 2.0. For those who want to install it, follow the steps below.

Step 1: Install OpenSSH from Cydia (found easily in featured apps)
Step 2: Restart iPhone
Step 3: Use winscp to connect to the iPhone via your IP address Username:root Password:alpine
Step 4: Download this file
http://www.mediafire.com/?e9evgtceuec and extract it to your desktop
Step 5: Navigate to the following folders on your iPhone using WinSCP or FUGU and replace the following files:

/System/Library/PrivateFrameworks/AppSupport.framework/PhoneNumberTemplates.plist
/System/Library/Frameworks/UIKit.framework/PhoneFormats/UIPhoneFormats.plist

with files from ZIP

Step 6: Restart iPhone
Step 7: Enjoy!

 

The following instructions are taken from this thread on Hackint0sh.org

The first string is the country code, the second string are the two zeros at the beginning of an international number, the third string is the zero at the beginning of a local number. The first intiger is the number of chars in the prefix number (number of M’s -> see below) and the second initiger is the number of chars in the actual number (number of N’s).

For Slovenia:
Fixed networks (first array):
International format: 00-386-M-NNN-NN-NN
Local format: 0-M-NNN-NN-NN

Mobile networks (second array):
International format: 00-386-MM-NNN-NNN
Local format: 0-MM-NNN-NNN

With this information anybody should be able to patch the appsupport for his own country. After you patch the appsupport you just need to place the file on the iphone and restart…

- mikrohard


Read original blog post

10:52 am
August 29, 2008


Bezman

Admin

Trinidad & Tobago

posts 354

2

40 Responses to “Caller ID fix for iPhone 2.0 in Trinidad and Tobago”

  1. brain

    Hey Aaron, does this patch only work for iphone owners in Trini? I live in the Bahamas…..ordo we here have a different caller id format?

  2. Aaron Besson

    not too sure brian, how are your numbers formatted??

    i think its +1(242) XXX-XXXX

    which is very similar to our so I would give it a try… i’ll open up the .plist shivanand sent again to see if i can find anything

  3. Tony

    Sweet! :-D
    Well done!
    Worked like a charm!

  4. brain

    The format is correct Aaron. Thanx Aaron. Really appreciate it. Big fan of your site. I dont post much or even at all but I get my news from here everyday! Thanx again.

  5. Thorgeir Valur

    Hi, I am haveing some troubles making this work. I live in Iceland and the number format is +354 xxx xxxx
    Can you please help me with this.
    Best Reg. Thorgeir Valur

  6. Aaron Besson

    thanks brian :)

    Hello Iceland :)

    Thorgeir, I’ll have a look at the files in a bit and see if i can help. i’f not we’ll see if we can bug Shivanand to creating a world wide fix :) He’ll be a hero.. (i know your reading this Shivanand)

  7. Shivanand

    Yeah guys, as long as your number convention is +1(XXX) XXX-XXXX you should have no problems.

  8. Shivanand

    Hi Thorgeir, does Iceland have the same formatting as any of the supported countries? If it does, what is the international country code? For Trinidad it is ‘tt’.

    If you figure this out then in PhoneNumberTemplates.plist you can create a new entry with your country code by just making a copy of the supported country’s entry.
    I did this for Trinidad because it is the same as the US.

    tt

    1
    011
    1
    3
    7

    Do the same for UIPhoneFormats.plist.

    tt

    +1 (###) ###-####
    1 (###) ###-####
    (###) ###-####
    ###-####
    011 $

    Let me know if you need more help.

    Shivanand

  9. Aaron Besson

    thanks Shivanand,

    UPDATE:

    i think the country code is “is” and call code is +354-XXX-XXXX

    it seems like Iceland is already be listed in the UIPhoneFormts.plis file

    have a look here: http://mytriniphone.com/blog/images/call-id-iceland.png

    Thorgeir, let us know if you are able to edit the files ot get it working.

  10. Thorgeir Valur

    Hi, there thanx for your help, I can see that Iceland (is) is listed in the UIPhoneFormats.plist file but I can’t find any trace of Iceland nor 354 in the PhoneNumberTemplates.plist file. I did upload both of these files, but still it dosen’t work.
    Any idea how to add Iceland correctly in to UIPhoneFormats.plist

    Best Reg. Thorgeir

  11. Aaron Besson

    try putting this in the UIPhoneFormats.plist

    is

    + (###) ###-####
    (###) ###-####
    ###-####
    00 $

  12. Thorgeir Valur

    Sorry, I miss typed I need to but the Icelandic code to the PhoneNumberTemplates.plist file.
    Any idea how to add Iceland correctly in to that?

    Best Reg. Thorgeir

  13. ichinee

    Nice job guys, thanks.

  14. Nicolas

    Hi guys, I’m from Argentina. We’re having issues with this as well. I’ve been trying for hours to fix it but with no luck…

    Here’s the codes that worked fine last time:

    // Argentina [ar]
    ar 54 00 0
    + + + + #####
    + + + + ######
    + + + + #######
    + + + + ########
    + + + + #########
    + + + + ##########
    + + + + # ######
    + + + + ## #####
    + + + + ### ####
    + + + + #### ###
    + + + + ## #######
    + + + + ### ######
    + + + + #### #####
    + + + + ##### ####
    + + + + ## ########
    + + + + ### #######
    + + + + #### ######
    + + + + ##### #####
    + + + + ## #########
    + + + + ### ########
    + + + + #### #######
    + + + + ##### ######

    Can you give me hand?… Thanks so much!!!

  15. David Camps-Campins

    Hey Aaron,

    Thanks for the help with my Caller ID issue with the 2.0 update. Great Web Page.

    David

  16. Aaron Besson

    no porblem david

    Nicolas have you tried

    ar

    + + + + #####
    + + + + ######
    + + + + #######
    + + + + ########
    + + + + #########
    + + + + ##########
    + + + + # ######
    + + + + ## #####
    + + + + ### ####
    + + + + #### ###
    + + + + ## #######
    + + + + ### ######
    + + + + #### #####
    + + + + ##### ####
    + + + + ## ########
    + + + + ### #######
    + + + + #### ######
    + + + + ##### #####
    + + + + ## #########
    + + + + ### ########
    + + + + #### #######
    + + + + ##### ######

    00 $

    in the UIPhoneFormats.plist

  17. Aaron Besson

    these are the settings for iceland Thorgeir !!!!!

    let me know if it works
    is

    354
    00
    0
    0
    7

  18. Nicolas

    Aaron, thanks so much for your help. That’s correct, that’s exactly what I’ve tried, with no luck so far… I spent 3 hours yesterday trying to fix it :S

    Any ideas?. I think the problem is in the PhoneNumberTemplates.plist… I know the first number is the country code, but what do the others do?. The second is area code?. What about the other 3?

  19. Aaron Besson

    costa rica

    this should go in UIPhoneFormats.plist

    cr

    +506 #### ####
    #### #####
    00 $

    and this in PhoneFormatTemplate.plist

    cr

    506
    00

    0
    8

  20. Aaron Besson

    Honduras

    hn

    504
    00

    0
    7

    504
    00

    1
    7

  21. Nicolas

    Any luck with Argentina? :S

  22. damian

    Nicolas, try this

    ar

    549
    00
    0
    2
    8

    549
    00
    0
    3
    7

    549
    00
    0
    3
    8

    54
    00
    0
    2
    8

    54
    00
    0
    3
    7

    54
    00
    0
    3
    8

  23. fed

    damian,

    could you post your UIPhoneFormats.plist strings for ar?

  24. TheOneRob

    hey can sumone help me im new to this and i live in tha bahamas but i dont know how to edit this thing can sumone send me the appsupport file patched for the bahamas plz.

  25. Lucho

    Hey, I made it work for Argentina, but only for the mobile numbers, not for the landlines… Wierd. Damian got any tip for that?
    Gracias

  26. fed

    Lucho,

    Could you post your strings??? por favor!!

  27. Lucho

    Ahi va.

    ar

    549
    00
    0
    2
    8

    549
    00
    0
    3
    7

    549
    00
    0
    3
    8

    54
    00
    0
    2
    8

    54
    00
    0
    3
    7

    54
    00
    0
    3
    8

  28. fed

    Lucho,

    gracias! y UIPhoneFormat.plist?

  29. Lucho

    Esa me falta

  30. Nicolas

    Gracias Lucho!… voy a intentar mañana… con eso se corrige lo de los SMS? o nos falta el otro PLIST aun?

  31. Lucho

    Mira con eso solo pude corregir los SMS y los llamados desde celular cuando los cargo con +54911 antes, como tengo Movistar, los de telefono fijo me entran como 11**** ****, no se por donde se arregla esa parte. Si lo encontras ponelo aca por favor.

  32. Andy

    Hi can you tell me what the abbreviation fr Guyana is?

  33. Aaron Besson

    fr= French Guyana

  34. Andy

    Sorry I actually meant what’s the abbreviation FOR Guyana is. Regular Guyana not French Guiana.

  35. Szabolcs

    I’m trying to add Kuwait but didn’t catch the sense how UIPhoneFormats.plist works.
    Can anyone shortly describe?
    Thanks a lot!

  36. safehandz

    much thanks for this man..
    great work on the blog

  37. Claudio

    Hola yo Tengo problemas en Chile los mensajes de movistar no me los reconoces los de entel si es raro alguien sabe lo que tengo que hacer yo trate de editar los archivos de hartas formas, pero no me resulto

  38. neur0mancer

    Hæhæ,
    Here is the caller ID fix for Iceland, iPhone (2G), FW 2.0.2, Pwnage Tool 2.0.3, jailbroken/unlocked:

    1. Get the below .plist file: /System/Library/PrivateFrameworks/AppSupport.framework/PhoneNumberTemplates.plist

    2. Convert it into xml with https://brokolice.drsny.net/iphone/plutil/

    3. Add the following lines in TextEdit:

    is

    354
    00
    0
    0
    7

    4. Convert it back to binary file with https://brokolice.drsny.net/iphone/plutil/

    5. Get /System/Library/Frameworks/UIKit.framework/PhoneFormats/UIPhoneFormats.plist

    6. Repeat step 2 with the second file

    7. Add the following lines:

    is

    + (###) ###-####
    00 $
    +354 ###-####
    ###-####
    (###) ###-####

    8. Convert it back to binary file

    9. Import the two new binary files back to your iPhone.

    It works just 100%.
    Enjoy!

  39. Halftime

    I’m trying to add Bosnia and Herzegovina but didn’t catch the sense how UIPhoneFormats.plist works. Can anyone make it for me?
    Thanks!

  40. Halftime

    its iPhone 1st gen. 2.0.2:)

12:15 pm
August 29, 2008


neur0mancer

iNew

posts 2

3

I made a minor update…in order appear the right number formats in Iceland, you need to add to UIPhineFormats.plist just these lines:

<key>is</key>

<array>

                <string>+354 ###-####</string>

                <string>###-####</string>

<string>00 $</string>

</array>

12:39 pm
August 29, 2008


neur0mancer

iNew

posts 2

4

To Halftime

Hi there, you need to follow all the steps in my previous post, but instead of adding IS, just add BH.

Once you know the number of characters in the phone numbers in BH, the international country code, and the areal codes, follow the same pattern that you see in the other countries' strings.

i.e. For land lines in Sarajevo, it should look like:

<key>bh</key>

<array>

                <string>+387 (033) ###-###</string>

                etc. etc. {here you list strings with the different area codes}

<string>00 $</string>

</array>

You can see your area codes here : http://www.gts-translation.com/bosnia_and_herzegovinaphonecodes.asp


 

About the MyTriniPhone.com forum

Currently Online:

2 Guests

Maximum Online: 18

Forums:

Groups: 9

Forums: 28

Topics: 380

Posts: 537

Members:

There are 362 members

There are 1 guests


Bezman has made 354 posts

Top Posters:

SRASC - 55

hot blue - 13

-LiNkS- - 13

ichinee - 12

fox02727 - 10

Administrator: Bezman


© Simple:Press Forum - Version 3.1.3 (Build 356)  

 Retweet This Post