Problem using CommCenter with Orange France carrier.plist
Hi!
First of all thanks a lot Wortel! I'm using your patch since it's released.
I'm having a little issue here. Hope somebody may help me. My iPhone 4 was running OK with iOS 4.0.1 jailbreaked with jailbreakme.com (untethered) and your CommCenter patch released on 2010's Summer. Having some bugs, seeing that the last beta of redsn0w seamed stable enough and that you made a patched version of the 4.2.1's CommCenter I decided to update.
Updated to 4.2.1 from iTunes (restore + reused last settings, my phone is officially unlocked) then jailbroke with redsn0w 0.9.7b6 and jailbreak Monte to get untethered. And then, finally, downloaded and ran your patch via ssh. Here is a result of the situation after the patch. Everything seams OK.
Code:
LaGiPhone:~ root# sha1sum /System/Library/Frameworks/CoreTelephony.framework/Support/CommCenter
fc7dbd4a7c2bbaf2867825fc924c61d9f73b2875 /System/Library/Frameworks/CoreTelephony.framework/Support/CommCenter
LaGiPhone:~ root# sha1sum /System/Library/Frameworks/CoreTelephony.framework/Support/CommCenterCC-3GS-421.org
e1cdecea09eda55bbdc487d252f1898f97e68b2f /System/Library/Frameworks/CoreTelephony.framework/Support/CommCenterCC-3GS-421.org
LaGiPhone:~ root# ls -la /System/Library/Frameworks/CoreTelephony.framework/Support/
total 1400
drwxr-xr-x 2 root wheel 476 Jan 21 12:56 ./
drwxr-xr-x 38 root wheel 1360 Nov 17 08:52 ../
-rwxr-xr-x 1 root wheel 900096 Jan 21 12:56 CommCenter*
-rwxr-xr-x 1 root wheel 900096 Oct 22 07:13 CommCenterCC-3GS-421.org*
-rwxr-xr-x 1 root wheel 50416 Oct 22 07:13 CommCenterMobileHelper*
-rw-r--r-- 1 root wheel 472 Oct 22 07:13 CommCenterMobileHelper-Info.plist
-rwxr-xr-x 1 root wheel 27984 Oct 22 07:13 CommCenterRootHelper*
-rw-r--r-- 1 root wheel 4521 Oct 22 07:13 ISO2MCC.plist
-rw-r--r-- 1 root wheel 3450 Oct 22 07:13 MCC2ISO.plist
-rw-r--r-- 1 root wheel 62 Oct 22 07:13 TextToBinaryMap.plist
-rw-r--r-- 1 root wheel 5192 Oct 22 07:13 fieldtest.plist
-rw-r--r-- 1 root wheel 2917 Oct 22 07:13 fieldtest68.plist
-rw-r--r-- 1 root wheel 59392 Oct 22 07:13 plmn.db
-rw-r--r-- 1 root wheel 287 Oct 22 07:13 specialkeys.plist
Last time, for 4.0.1 I had only to modify my carrier's plist (Orange France) removing the tethering APN (code 48) and modifying Data APN code from 7 to 55 (all options). This worked on my 4.0.1 setup.
Original Orange_France carrier.plist:
Code:
<key>apns</key>
<array>
<dict>
<key>apn</key>
<string>orange</string>
<key>password</key>
<string>orange</string>
<key>signature</key>
<data>
ufnkpHiEVsqoF+fojL9cp9paUiHDt7tneeeY3Jd8hFhJWcwzhHbS
FNjAW5S9U44T5Cq7/K4SPngedloZ6qZ1PAsWoyqqWrTrGvl74VZg
1RNbJ/+9JBup597atlvCcUAI4BL1ojwfqLyIu5gMMOqy1GY+opSm
FwmcufLW+hkH5SU=
</data>
<key>type-mask</key>
<integer>7</integer>
<key>username</key>
<string>orange</string>
</dict>
<dict>
<key>apn</key>
<string>orangenew.fr</string>
<key>password</key>
<string>orange</string>
<key>signature</key>
<data>
CLqDMAg2pIFAZv6Wqb4kaRo3u8P0ItLHc4VDlYy/DFDHXJF7x0KC
ihXuxt0azucmum6Zs5LQrSQb335rk4fnnpAFGEWwt+8WJ0lKck/I
GaRBPPlx+swtjztP5Jbd6rnEd+m+hbdeU1y1dwyu0OxUcDPQxvDZ
t1QrhNkzPfVbGzA=
</data>
<key>type-mask</key>
<integer>48</integer>
<key>username</key>
<string>orange</string>
</dict>
<dict>
<key>apn</key>
<string>orange</string>
<key>password</key>
<string>orange</string>
<key>signature</key>
<data>
EGZfwUxnP4Xej6d+vniJQvCr9dnkzH0lKgSfAQ54NjSGGOr+DeLl
MKiVFLWZ1GmrnaRHao7OXgqou9liPe73zsWm/HHDWy22lTPgi1LC
Ks0Vs52zxCV5nvUGFQ6WHPfBLjowk+BLPqOpDI85HC3fnQL9306r
EB9xUsWg39LAnaE=
</data>
<key>type-mask</key>
<integer>6</integer>
<key>username</key>
<string>orange</string>
</dict>
</array>
But, on 4.2.1 with the original carrier.plist I get the option to go pay the tethering (normal behavior) in the Network Prefs. But if I modify the file in any way, the option to get tethering simply get hidden. I've found a hack to put 1023 instead of 1020 in the com.apple.MobileInternetSharing.plist but it doesn't work for me. Do you have a guess of what I'm doing wrong?
Thanks in advance for any help on this and long life to CommCenter hacking! It's just crazy to pay an option to do something that any low-cost phone does just because you're an iPhone owner...