Discuss [Solution] International/local caller ID matching at the iPhone "2G" (Rev. 1) - Hackint0sh.org; Originally Posted by aberas
With the 1.1.1 and before method the matching was ok.
No need to downgrade, you can simulate the old "compare last x digits" behaviour.
Originally Posted by aberas
1) add the following entries, where "x" is the number of digits you want to compare
ar 54 00 - 0 x
ar 54 00 - 1 x
ar 54 00 - 2 x
2) at offset 0x2DE8 in the AppSupport file change "3F 10 DD E5" into "01 10 A0 E3
Give me the phone pattern you want to match. I can't help without this information.
Originally Posted by aberas
Tim, that is really interesting.... it really simulates thge old behaviour. In fact it can be the basis for a reasonable solution for the problem.
Originally Posted by timschuerewegen
Let me explain the idea:
The app asks the user the country code, the matching size, the maximum size (to define how many lines will be needed) and the carrier name. Then it will patch AppSupport.
The app will require the phone to be active, so the current MCC-MNC can be retrieved (I do not know how, but there must be a way, as FieldTest does). With that it is possible to create a plist file, add the sym link. Leave the EDGE settings open and editable, so the user can later modify it.
This is much better than iWorld, as it will provide callerid matching!
Originally Posted by aviegas
# Framework CoreTelephony CTSIMSupportCopyMobileSubscriberCountryCode
# Framework CoreTelephony CTSIMSupportCopyMobileSubscriberNetworkCode
Originally Posted by timschuerewegen
We could create a file with
xx yy 00 - 0 7
xx yy 00 - 1 7
xx yy 00 - 2 7
xx yy 00 - 13 7
And also add the local patch. The only thing left to do is patch xx and yy to the country name and code. Similar pre-patched files could be created for "8", "9" and "10", and I would say handle up to a max digits size of 20.
My only doubt is the number of digits on the country code (yy). Some have 1, 2, 3 (or more?), but I guess it can be made 4 digits and just patch with a 0x00 at the end (right?).
I just updated to 1.1.2 and every thing is ok, but this ID matching issue turned out to be a deal-breaker (if not fixed). i read all threads (all the way back to page 20) and I'm afraid I'm still not comfortable with editing the appsupport file.
my case is like this:
1) I live in Kuwait, i have most of my contacts saved like this (00965) xxx-xxxx and some are (+965) xxx-xxxx OR xxx-xxxx and xxx-xxx.
So basically my country code is 965 with a prefix of either (00) OR (+) (I'm not sure if it makes any difference) followed by a six or -most commonly- seven digit number (no area code)
2) I have other contacts from outside of Kuwait witch are most likely to be in this format: (00xxx) x xxx-xxxx
where: (00xxx) is (three digit country code) then (x) (area code) and then with seven digit number.
please help me, how can i edit the appsupport file!!
I'm seriously thinking of downgrading back to 1.1.1 if I don't find a solution.
BTW, your previous work on this issue in the earlier firmwares worked like a charm, thank you for your effort.
I am using a SimCard from Tim Brasil, and also doing this tests from Brasil
My AppSupport was not picking the rules for Brasil also was not matching the PhoneBook,
When I ran Framework I discovered that my iPhone is thinking I am in France (wow, I really wish to be there, and it seems my iPhone noticed that already -joke-)
# ./Framework AppSupport CPPhoneNumberCopyActiveCountryCode
I started to search the reason for that and came with no conclusion, and I was wondering if anyone else had this kind of problem.
Under Cell Information I have the following:
RX:-59 FQ:14 ST:0 CI:20002 N:1 #:724
RX:-89 FQ:2 ST:0 CI:65535 N:1 #:724
RX:-94 FQ:5 ST:0 CI:20001 N:1 #:724
RX:-97 FQ:21 ST:0 CI:20004 N:1 #:724
So it is not my network provider problem I belive.
I also checked the two files below to see if there was a mistake
It seems that is not here either.
In the meantime I came with the idea to patch AppSupport and I did this.
fr 55 00 0 2 8
fr 55 0014 014 2 8
fr 55 0015 015 2 8
fr 55 0021 021 2 8
fr 55 0031 031 2 8
fr 55 0041 041 2 8
fr 55 004121 0 0 8
fr 55 00 - 0 8
br 55 00 0 2 8
br 55 0014 014 2 8
br 55 0015 015 2 8
br 55 0021 021 2 8
br 55 0031 031 2 8
br 55 0041 041 2 8
br 55 004121 0 0 8
br 55 00 - 0 8
Dispite of it is working well now I don't like this kind of thing so if anyone has an idea.
This looks like a good silly challenge.
I have a few questions regarding iWorld.
Originally Posted by volkspost
1 - According to volkspost why would iWorld install over 1000 symlinks on the phone? If i choose a certain country is chosen then it should only install the links necessary for the providers in that country. Those could be maybe 20 but not as high as 1000. Can anyone confirm that please?
2 - Assuming that it does actually install over 1000 symlinks regardless of anything how do you find these symlinks in the phone and how do you delete them?
3 - From what i gather is that you could use iWorld, then find the unnecessary symlinks and delete them, then patch the appsupport file to match your country rules and you are done. iWorld in this case may have just helped in at least creating the necessary country plist for the providers in a certain country which everybody seems to have trouble creating (understandable). That does not make it completely useless cause it takes the hardest part out. Can anyone confirm this?
Aviegas maybe can shed some light since him and Tim seem to be the experts on this.
Check UIMobileCountryCodes.plist. Maybe you, or someone/thing else, replaced "br" with "fr".
Originally Posted by titus
Actually, I had a question with the new AppSupport file.... I've been trying to get it to work with BOTH Singapore and Malaysia (I do a lot of travelling between both). It seems I can only get the iPhone to recognise either one or the other, but not both.
Here's an extract of my file...(reference the "my" and "sg" entries).
us 1 011 1 3 7
ca 1 011 1 3 7
my 60 00 0 1 7
my 60 00 0 1 8
my 60 00 0 2 7
my 60 00 1 3 6
au 61 0011 0 1 8
au 61 0011 0 2 8
sg 65 00 0 0 8
sg 65 00 0 8 8
jp 81 010 0 1 9
jp 81 010 0 2 8
jp 81 010 0 3 7
jp 81 010 0 4 6
jp 81 010 0 5 5
What I can get currently is for singapore +65 8333 3333 as well as 8333 3333
but what isn't coming are the my entries (or any of the others).
for example: +60 7 222 2222 will get a caller id of 07 222 2222 locally
+6013 123 1234 will get a caller id of 013 123 1234 locally
Would appreciate it anyone had any ideas on the following.
I know the AppSupport file must be sorted according to area code, number length, but must it also be sorted via countyr code value?
Much appreciated all (Thread started/Tim!)!
By GreatLicker in forum iPhone "2G" (Rev. 1)
Last Post: 03-05-2008, 08:20 PM
By Adonius in forum iPhone "2G" (Rev. 1)
Last Post: 03-03-2008, 07:53 PM
By nemesis1218 in forum Free Toolchain Software
Last Post: 01-09-2008, 12:48 AM
By Vger in forum iPhone "2G" (Rev. 1)
Last Post: 11-22-2007, 02:23 PM
By jhrfc in forum General
Last Post: 09-23-2007, 11:54 AM