Page 25 of 106 FirstFirst ... 51516171819202122232425262728293031323334354575 ... LastLast
Results 241 to 250 of 1053
Like Tree13Likes
Discuss Is UIPhoneFormats.plist gone on firmware 2.1? at the PwnageTool - Hackint0sh.org; I'm going to kill my phone soon. I've been trying everything to get my caller ...
  1. #241
    Newbie Array

    Join Date
    Sep 2008
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I'm going to kill my phone soon.

    I've been trying everything to get my caller ID working.

    I'm using my phone in Hong Kong with a prepaid SIM card. I've stored all of my contacts as eight digit numbers (#### ####) WITHOUT the +852 in the address book. This means the actual voice calls work perfectly fine in terms of caller ID and everything. That's because the numbers come in without the +852.

    The thing that messes it all up is the SMS. Because SMS's come in with the country code (+852) they don't get associated with my contacts.

    If I change the number for my contact and add the +852 in the address book the SMS function works great but the Caller ID for the voice calls is shot and only shows the eight digit number without association to my contact.

    I know it could probably be fixed by adding two numbers for each contact but I'd rather not do that if I can find another way.

    The iPhone is on 2.1.

    I've looked at both the PhoneNumberTemplates.plist and the UIDefaultFormats.phoneformat, making changes to the PhoneNumberTemplates.plist but not getting any positive results.

    How can I fix this problem. I'm assuming there must be some way to tell the iPhone that it should only look at the last eight numbers and match from there.

    Please help me, I'm dying over here.


  2. #242
    Senior Professional Array

    Join Date
    Aug 2007
    Posts
    258
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    22

    Default

    Quote Originally Posted by sPhone View Post
    I'm going to kill my phone soon.

    I've been trying everything to get my caller ID working.

    I'm using my phone in Hong Kong with a prepaid SIM card. I've stored all of my contacts as eight digit numbers (#### ####) WITHOUT the +852 in the address book. This means the actual voice calls work perfectly fine in terms of caller ID and everything. That's because the numbers come in without the +852.

    The thing that messes it all up is the SMS. Because SMS's come in with the country code (+852) they don't get associated with my contacts.

    If I change the number for my contact and add the +852 in the address book the SMS function works great but the Caller ID for the voice calls is shot and only shows the eight digit number without association to my contact.

    I know it could probably be fixed by adding two numbers for each contact but I'd rather not do that if I can find another way.

    The iPhone is on 2.1.

    I've looked at both the PhoneNumberTemplates.plist and the UIDefaultFormats.phoneformat, making changes to the PhoneNumberTemplates.plist but not getting any positive results.

    How can I fix this problem. I'm assuming there must be some way to tell the iPhone that it should only look at the last eight numbers and match from there.

    Please help me, I'm dying over here.
    open
    System\Library\PrivateFrameworks\AppSupport.framew ork\PhoneNumberTemplates.plist

    for hk it is

    Code:
    	<key>hk</key>
    	<array>
    		<array>
    			<string>852</string>
    			<string>001</string>
    			<string></string>
    			<integer>0</integer>
    			<integer>8</integer>
    		</array>
    	</array>
    try

    Code:
    	<key>hk</key>
    	<array>
    		<array>
    			<string>852</string>
    			<string>001</string>
    			<string></string>
    			<integer>0</integer>
    			<integer>8</integer>
    		</array>
    		<array>
    			<string>852</string>
    			<string>001</string>
    			<string></string>
    			<integer>3</integer>
    			<integer>8</integer>
    		</array>
    		<array>
    			<string>852</string>
    			<string>001</string>
    			<string></string>
    			<integer>4</integer>
    			<integer>8</integer>
    		</array>
    	</array>

  3. #243
    Newbie Array

    Join Date
    Sep 2008
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Should I store the contacts as eight digits or including the +852?

  4. #244
    Newbie Array

    Join Date
    Sep 2008
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Negative....That still didn't do the trick for me.
    If I have the contacts as 8 digits the phone is happy but SMS is not.
    And if I've got them with the +852 the SMS is happy but the phone is not.

    I'm using a SIM adapter but it DOES NOT appear to affect the codes on my incoming calls.
    It's a Gevey if that matters.

  5. #245
    Newbie Array

    Join Date
    Aug 2008
    Posts
    5
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Can someone explain what kind of info in header's 4th block from UIDefaultFormats.phoneformat

    This is my header:

    1. 10 00 00 00 - descriptor length (4 bytes)
    2. BC 01 00 00 - offset to display schemes (4 bytes)
    3. 03 00 00 00 - 3 sets of rules (4 bytes)
    4. 38 00 00 00 - string "8" what does this mean?

    Thanks in advance


  6. #246
    Newbie Array

    Join Date
    Mar 2008
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by rambutan View Post
    @gsam64:

    There's some mistakes for ID - I forgot to convert 21, 24, 31, 61 to HEX in the file.

    The new file has been uploaded and here's the link:
    http://www.mediafire.com/file/kmwywn...ts.phoneformat

    This has been corrected and the link to the original post updated as well.

    All ID formats are with 0 in front, I just didn't have it in the format strings. Also, I'm sticking to my formats of having spaces in the subscriber numbers. So you'll get "451 x xxxx" instead of your preferred "451 xxxxx". You're welcomed to change the file to your liking.

    Here are the complete rules for the countries SG, MY, PH, TH, ID.

    ( 65 , sg , C0 56 )

    http://en.wikipedia.org/wiki/%2B65

    <string>#### ####</string>
    <string>1 800 ### ####</string>
    <string>020 14 # ### ####</string>
    <string>020 15 # #### ####</string>
    <string>020 1# ### ####</string>
    <string>020 3 #### ####</string>
    <string>020 # ### ####</string>

    [( L1, L2, 3, ( 0, 00#, 01# ))
    ( 1 , 1 ,
    (6,9,8,0,1))
    ( 4 , 4 ,
    (1800,1800,11,0,2)
    (2014,2014,12,1,6)
    (2015,2015,13,1,7)
    (2012,2019,11,1,3)
    ( 3 , 2 ,
    (203,203,11,1,4)
    (204,209,10,1,5))
    (
    1= #### ####
    2= # ### ### ####
    3= n## ## ### ####
    4= n## # #### ####
    5= n## # ### ####
    6= n## ## # ### ####
    7= n## ## # #### ####
    )]


    ( 60 , my , C4 57 )

    http://en.wikipedia.org/wiki/%2B60

    <string>### ####</string>
    <string>#### ####</string>
    <string>1800 ## ####</string>
    <string>1900 ## ####</string>
    <string>014 # ### ####</string>
    <string>015 # #### ####</string>
    <string>01# ### ####</string>
    <string>03 #### ####</string>
    <string>0# ### ####</string>

    [( L1, L2, 3, ( 0, 00 ))
    ( 1 , 4 ,
    (3,3,9,1,7)
    (4,9,8,1,8)
    (2,9,7,0,1)
    (2,9,8,0,2))
    ( 4 , 2 ,
    (1800,1800,10,0,3)
    (1900,1900,10,0,3))
    ( 2 , 3 ,
    (14,14,10,1,4)
    (15,15,11,1,5)
    (12,19,9,1,6))
    (
    1= ### ####
    2= #### ####
    3= #### ## ####
    4= n## # ### ####
    5= n## # #### ####
    6= n## ### ####
    7= n# #### ####
    8= n# ### ####
    )]


    ( 63 , ph , DC 58 )

    http://en.wikipedia.org/wiki/%2B63

    <string>02 ### ####</string>
    <string>0## ### ####</string>
    <string>09## ### ####</string>

    [( L1, L2, 3, ( 0, 00 ))
    ( 1 , 3 ,
    (2,2,8,1,1)
    (3,8,9,1,2)
    (9,9,10,1,3))
    (
    1= n# ### ####
    2= n## ### ####
    3= n### ### ####
    )]


    ( 66 , th , 50 59 )

    http://en.wikipedia.org/wiki/%2B66

    <string>0# ### ####</string>
    <string>0## ### ###</string>
    <string>0# #### ####</string>

    [( L1 , L2 , 1 , ( 0 , 001 ) )
    ( 1 , 4 ,
    (2,2,8,1,Lstr1)
    (6,6,9,1,Lstr3)
    (3,7,8,1,Lstr2)
    (8,8,9,1,Lstr3))
    (
    1= n# ### ####
    2= n## ### ###
    3= n# #### ####
    )]


    ( 62 , id , D0 59 )

    http://en.wikipedia.org/wiki/%2B62

    <string>021 ### ####</string>
    <string>022 ### ####</string>
    <string>024 ### ####</string>
    <string>031 ### ####</string>
    <string>061 ### ####</string>
    <string>081# ## ####</string>
    <string>0881 ### ####</string>
    <string>08## #### ####</string>
    <string>0### # ####</string>
    <string>0### ## ####</string>
    <string>0### ### ####</string>

    [( L1, L2, 2, ( 0, 001, 007, 008 ))
    ( 2 , 5 ,
    (21,22,9,1,1)
    (24,24,9,1,1)
    (31,31,9,1,1)
    (61,61,9,1,1)
    (81,81,9,1,2)
    ( 3 , 5 ,
    (881,881,10,1,3)
    (800,899,11,1,4)
    (230,999,8,1,5)
    (230,999,9,1,2)
    (230,999,10,1,3)
    )
    (
    1= n## ### ####
    2= n### ## ####
    3= n### ### ####
    4= n### #### ####
    5= n### # ####
    )]

    Rambutan,

    Thanks for the quick fix and additional rules. Your suggested format is fine for me. It turns out that the 031 also has 8 digit numbers. So, it should also look like:
    031 xxxx xxxx
    Would you mind adding this one as well.

    Thanks for all the help.

  7. #247
    Advanced Array

    Join Date
    Nov 2007
    Posts
    46
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by rambutan View Post
    @frozzbyte,

    You can look through all the posts by Frank8 & JoVR in this thread to understand how all these are done. I'm using 0xED on a Mac and I think there's some limitation/problem with Windows HxD. Again, I'm not sure about this.

    It doesn't matter which country format you're using (yours being US) for all the phone numbers in the Address Book _WITH_ country codes. That is, your numbers must have +60 for all Malaysian numbers.

    It DOES matter when you dial local numbers like 07 456 1234 because the phone assumes you're in US and will NOT pick up MY formatting. So I think you should try to make MY your default country format.

    The key is to have the formats for ALL the countries' phone numbers properly done and with the region format selected, all your formatting will be done.

    It would be great if iPhone 3G can pick up the default region format by the telco carrier you're using at the time so when you're with Maxis, it'll use +60 format, +62 for SIM Pati, +65 for Singtel or Starhub etc. But it doesn't seem to be that way.

    I know there isn't Malaysia in the International region format settings. I'll try to find it and hack it to include MY for you.
    Thanks man,

    I've re-read back the posts by Frank8 & JoVR just like you said to get a better understanding and I think I can grasp the concept already (and thanks to your modified UIPhoneFormats.phoneformat).

    Right now I just need to find a Mac to do my editing for the formats. As you stated, HxD might have some limitation compared to 0xED. All I want to do are some changes to the formatting.

    Right now I'm not facing any problem when using US as the region format because I'm using Net.-Local Number Format (in Cydia) like Jim Danner said.

    BTW there's a few correction to the numbering format for MY in your file:

    <string>014 # ### ####</string> is not valid as 014 is a mobile number. So it should be 014 ### #### and it correspond to <string>01# ### ####</string>. The <string>015 # #### ####</string> is correct and you might want to add <string>08# ### ###</string> for Sabah and Sarawak. You also can take out these <string>### ####</string> and <string>#### ####</string> (I assume these are for fixed lines) as dialing it using mobile phone need to use area code. so it will be the same with <string>03 #### ####</string> and <string>0# ### ####</string> (and <string>08# ### ###</string> if you add it in later). So to summarize, it should be as follow:

    <string>1800 ## ####</string>
    <string>1900 ## ####</string>
    <string>015 # #### ####</string>
    <string>01# ### ####</string>
    <string>03 #### ####</string>
    <string>0# ### ####</string>
    <string>08# ### ###</string>

  8. #248
    Senior Professional Array

    Join Date
    Sep 2008
    Location
    Italy
    Posts
    313
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    33

    Default

    @ sPhone
    Generally SIM adapters use code 001 instead of your country code
    So you need to edit a file :
    /System/Library/Frameworks/UIKit.framework/PhoneFormats/UIMobileCountryCodes.plist
    You must add an entry to simulate that SIM is of your country:
    <key>001</key>
    <string>hk</string>


    @ kemeris
    string 8 is "n" the digit you put before area code if international prefix is not present


    @iphoniak
    I will add Lebanon in CallerID Fix Collection v1.1.1

  9. #249
    Advanced Array

    Join Date
    Jan 2008
    Posts
    34
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    @Frank8 Can you please make PhoneFormats for New Zealand number? I got the string though.

    Here they are:

    <string>(02#) ### ####</string>
    <string>(02#) ### #####</string>
    <string>(0#) ### ####</string>
    <string>(09#) ### ####</string>
    <string>(016#) ### ####</string>
    <string>00 $</string>
    <string>+64 (2#) ### ####</string>
    <string>+64 (2#) ### #####</string>
    <string>+64 (#) ### #####</string>
    <string>0508 $</string>
    <string>0800 $</string>
    <string>0900 $</string>

  10. #250
    Newbie Array

    Join Date
    Sep 2008
    Posts
    9
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by Frank8 View Post
    @ sPhone
    Generally SIM adapters use code 001 instead of your country code
    So you need to edit a file :
    /System/Library/Frameworks/UIKit.framework/PhoneFormats/UIMobileCountryCodes.plist
    You must add an entry to simulate that SIM is of your country:
    <key>001</key>
    <string>hk</string>
    Tried that...still doesn't seem to be working.
    I uploaded that new file and reverted to the original PhoneNumberTemplates.plist file.
    In the SMS app the contact name is not in place of the number no matter what, even now if I store it in contacts with a +852.


 

 

Similar Threads

  1. [Firmware] 2.0 Beta > plist for Exchange-Folders and Preferences?
    By michis0806 in forum iPhone Developer Exchange
    Replies: 3
    Last Post: 07-09-2008, 05:11 PM
  2. 1.1.3 carrier.plist & operator.plist inaccessible
    By legitimie in forum iPhone "2G" (Rev. 1)
    Replies: 23
    Last Post: 02-29-2008, 06:31 PM
  3. Replies: 5
    Last Post: 11-27-2007, 10:36 PM
  4. Firmware 1.1.1 and CarrierMap.plist
    By timschuerewegen in forum General
    Replies: 6
    Last Post: 10-21-2007, 06:49 PM
  5. Replies: 0
    Last Post: 08-19-2007, 06:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 07:39 PM.
twitter, follow us!