Page 30 of 132 FirstFirst ... 102021222324252627282930313233343536373839405080130 ... LastLast
Results 291 to 300 of 1316
Discuss [Solution] International/local caller ID matching at the iPhone "2G" (Rev. 1) - Hackint0sh.org; Originally Posted by crackn we need to choose exactly what is really useful from these ...
  1. #291
    Senior Professional Array

    Join Date
    Aug 2007
    Location
    Brasil
    Posts
    111
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    12

    Default

    Quote Originally Posted by crackn View Post
    we need to choose exactly what is really useful from these entries:

    br 55 00 0 2 8
    br 55 0041 041 2 8
    br 55 0031 031 2 8
    br 55 0023 023 2 8
    br 55 0021 021 2 8
    br 55 0015 015 2 8
    br 55 0014 014 2 8
    br 55 - - 0 8

    because to add all of it, we need to sacrifice all the rest. not that i will use it but its good to have at least the US entry. the operators i personally use is 15, 21, 41so i will remove the others.

    cheers,

    cRACKn

    try this new table:
    http://r-a-p-i-d-s-h-a-r-e.com/files...il112-intl.rar

    it should look cleaner when extraced
    the other versioin you debbuged worked anyway, but it also had us and ca as added countries.

    the trash data in the end was the table truncated because the odd NDDs and IDDs combination. Doesn`t matter it`s truncated in the end, what matter is what is above it.

    Anyway I made a cleaner version (had to remove us and ca to make it have a cleaner extracton output, and add 023 carrier),

    The thing is tim`s app actually writes the table now matter the values in the right way. But it has a limited offset to do it. Thus, with so much data for Brazil`s matching rules, we`re are limited to few countries or even none besides brazil when using the the above mentioned international IDD added version. (this version is supposed to use while in brazil)

    If you are a traveller you should use the version without the IDDs added. (you wont need 'em anyway while out there).

    cheers!!
    Last edited by baalbeck; 11-17-2007 at 08:16 AM.


  2. #292
    Senior Professional Array timschuerewegen's Avatar

    Join Date
    Aug 2007
    Location
    Belgium
    Posts
    450
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    I'm going to make a small modification to my "pnedit" tool which should give you 10 times more capacity for storing C strings.

  3. #293
    Senior Professional Array crackn's Avatar

    Join Date
    Aug 2007
    Posts
    200
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    23

    Default

    Tim, this would be great.

  4. #294
    Senior Professional Array timschuerewegen's Avatar

    Join Date
    Aug 2007
    Location
    Belgium
    Posts
    450
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    Here's the new version of "pntedit". The C strings are now stored in an unused area of the AppSupport file. In the old version the original C strings pool was re-used but it was only 88 bytes long. By relocating this pool the limit has been upped to 768 bytes.

    http://www.sendspace.com/file/65mm12

  5. #295
    The Man Array aviegas's Avatar

    Join Date
    Sep 2007
    Posts
    1,108
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    73

    Default

    Quote Originally Posted by crackn View Post
    we need to choose exactly what is really useful from these entries:

    br 55 00 0 2 8
    br 55 0041 041 2 8
    br 55 0031 031 2 8
    br 55 0023 023 2 8
    br 55 0021 021 2 8
    br 55 0015 015 2 8
    br 55 0014 014 2 8
    br 55 - - 0 8

    because to add all of it, we need to sacrifice all the rest. not that i will use it but its good to have at least the US entry. the operators I personally use is 15, 21, 41 so i will remove the others for my personal use.


    here is the AppSupport including the 6 carriers from the table above:
    http://r a p idsh a r e.com/files/70282369/AppSupport-BR.rar.html (dont forget to remove the spaces)

    cheers

    cRACKn
    I've also dumped his table and found it odd. But it showed me that it could be done and the approach we have been discussing here works for Brazil and other countries with odd NDD settings.
    Last "night" (2am) I was doing somes tests and I was able to make it with the following "table"

    us 1 011 1 3 7
    ca 1 011 1 3 7
    fr 33 00 0 1 8
    fr 33 40 0 1 8
    fr 33 50 0 1 8
    fr 33 70 0 1 8
    fr 33 90 0 1 8
    uk 44 00 0 3 7
    it 39 00 - 1 8
    it 39 00 - 2 7
    it 39 00 - 3 6
    it 39 00 - 4 5
    br 55 00 0 2 8
    br 55 00 014 2 8
    br 55 00 015 2 8
    br 55 00 021 2 8
    br 55 00 031 2 8
    br 55 00 041 2 8
    br 55 00 - 2 8

    I'm removed Japan, China e Germany. For me it's fine as I have a US and French SIM cards. My mistake previously was trying to do it without removing any country

    But with Tim's new version, there is no need to drop any!

    The above sounds like a prettry reasonable file for Brazil, aside for the not matching when dialing local numbers from the dialpad.


  6. #296
    The Man Array aviegas's Avatar

    Join Date
    Sep 2007
    Posts
    1,108
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    73

    Default

    Quote Originally Posted by timschuerewegen View Post
    Here's the new version of "pntedit". The C strings are now stored in an unused area of the AppSupport file. In the old version the original C strings pool was re-used but it was only 88 bytes long. By relocating this pool the limit has been upped to 768 bytes.

    http://www.sendspace.com/file/65mm12
    Whow! With a Mac OS version too! For Intel and PCC. really nice


    Is there a limit on the number of countries? This may be the "holy grail" for the Jailbreaking of 1.1.2, as it will increase the number of countries to a point that we can store more than 50 countries, if it works like that.

    The problem will be collecting and managing a database of entries.......

  7. #297
    Senior Professional Array timschuerewegen's Avatar

    Join Date
    Aug 2007
    Location
    Belgium
    Posts
    450
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    Quote Originally Posted by aviegas View Post
    Whow! With a Mac OS version too! For Intel and PCC. really nice


    Is there a limit on the number of countries? This may be the "holy grail" for the Jailbreaking of 1.1.2, as it will increase the number of countries to a point that we can store more than 50 countries, if it works like that.

    The problem will be collecting and managing a database of entries.......
    You are still limited to 8 different countries and 32 table entries. I could use that unused space at the beginning of the AppSupport file, which I'm now using to store the C strings, for storing extra countries. This will remove the 8 different countries limit. The number of table entries (max. 32) can not be increased because there's not enough room and I would have to patch every function that uses the table.

  8. #298
    The Man Array aviegas's Avatar

    Join Date
    Sep 2007
    Posts
    1,108
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    73

    Default

    Quote Originally Posted by timschuerewegen View Post
    You are still limited to 8 different countries and 32 table entries. I could use that unused space at the beginning of the AppSupport file, which I'm now using to store the C strings, for storing extra countries. This will remove the 8 different countries limit. The number of table entries (max. 32) can not be increased because there's not enough room and I would have to patch every function that uses the table.
    Ok. So it's going to be a hard work for those creating tools that automatically jailbreaks. If they want to add AppSupport to their code they will have to mantain a list of rules for each country and patch on demand.

    But at least there is a solution.

    Also, any idea why I may not be matching the local number in the dialpad?

  9. #299
    Senior Professional Array timschuerewegen's Avatar

    Join Date
    Aug 2007
    Location
    Belgium
    Posts
    450
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    34

    Default

    Quote Originally Posted by aviegas View Post
    Also, any idea why I may not be matching the local number in the dialpad?
    No.

    As fas as I can tell MobilePhone only uses AppSupport's CPPhoneMinimumDigitsForCountry, CPPhoneNumberCopyActiveCountryCode and CPPhoneNumbersEqual functions.

    Try the following

    CheckAppSupport CPPhoneNumberCopyNormalized "address book phone number string"
    CheckAppSupport CPPhoneNumberCopyNormalized "dialpad phone number string"
    CheckAppSupport CPPhoneNumberCopyActiveCountryCode

    Then use the 3 returned values as inputs for CPPhoneNumbersEqual

    CheckAppSupport CPPhoneNumbersEqual <1> <2> <3>

    If it returns "1" then dialpad should show contact information.
    Last edited by timschuerewegen; 11-17-2007 at 05:51 PM.

  10. #300
    Newbie Array

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

    Default

    Quote Originally Posted by timschuerewegen View Post
    http://www.sendspace.com/file/65mm12 (contains windows x86, mac os x i386 and mac os x ppc versions)

    • Download pntedit.exe application (see link above)
    • Grab copy of AppSupport from firmware 1.1.2
    • Run "pntedit.exe read AppSupport PhoneNumberTemplates.txt"
    • Edit PhoneNumberTemplates.txt
    • Run "pntedit.exe write AppSupport PhoneNumberTemplates.txt AppSupport.Patched"
    • Replace AppSupport on iPhone with AppSupport.Patched


    If you receive a "Could not add string xxx" error during "pntedit.exe write" then you either have more than 8 different country name strings ("us", "ca", "de", etc.) which is the maximum or you have too many different other strings. Try deleting what you do not need to decrease the number of unique strings. For example, the strings "40", "50," "70" and "90" are only used by the "fr" entries. If you delete all "fr" entries you free up one country string ("fr") and five other strings ("33", "40", "50," "70" and "90").

    The number of entries for the phonenumber templates table is 32. If you have less entries in your .txt file then the last entry will be duplicated x times which should be ok. If you have more entries in your .txt file then they will be ignored because there is no room for them.

    Have fun.
    tim, i downloaded the latest version of your utility and ran it as indicated; however, i get a bus error. i use the mac_os_x/i386/pntedit version as i have an intel imac. any ideas what i'm doing wrong? cheers!


 

 

LinkBacks (?)

  1. 07-13-2009, 03:48 PM
  2. 03-17-2009, 03:51 PM
  3. 03-17-2009, 12:45 PM
  4. 03-17-2009, 12:43 PM
  5. 03-16-2009, 04:14 PM
  6. 02-14-2009, 03:43 PM
  7. 01-14-2009, 03:29 PM
  8. 01-14-2009, 02:08 PM

Similar Threads

  1. [1.1.3] International Caller ID Problem
    By GreatLicker in forum iPhone "2G" (Rev. 1)
    Replies: 3
    Last Post: 03-05-2008, 07:20 PM
  2. Replies: 106
    Last Post: 03-03-2008, 06:53 PM
  3. Caller ID for local numbers... is it possible?
    By nemesis1218 in forum Free Toolchain Software (Cydia App's)
    Replies: 4
    Last Post: 01-08-2008, 11:48 PM
  4. Replies: 21
    Last Post: 11-22-2007, 01:23 PM
  5. Matching contacts to UK caller ids?
    By jhrfc in forum General
    Replies: 7
    Last Post: 09-23-2007, 11:54 AM

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 03:29 AM.
twitter, follow us!