MacTalk Forums > iPhone & iPod Stuff > iPhone
iPhone The iPhone forum. Talk about the hardware and troubleshooting here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 28th March 2008, 12:29 PM
 
Join Date: Nov 2005
Posts: 33
Default Adding Aus Number Customisations to iPlus payload

While I eagerly await the delivery of my 16Gb iPhone from PriceUSA I am looking at adding Simon Wrights Australian number support, formatting and carrier logo's to a custom iPlus payload. While I realise they can easily be added from Installer, I thought this would streamline the process for future firmware upgrades and make things easier for people unlocking their iPhones without WiFi.

Before anybody tries this out I thought I would get some feedback from people with more coding experience on the iPhone as to whether what I have done is correct and will work.

I have created a small custom_payload.zip containing the necessary do_payload.sh and .zip's with Simon's files in the correct folders for unzipping.

LINKS (remove space)
http://rapid share.com/files/1029158...yload.zip.html
http://www. megaupload.com/?d=38R07ARR

Basically, all I have done is placed Simon's files in their correct folders for unzipping into the right place on the iPhone and used the code from http://wpool.com/iphone to perform the same steps to install the updates...

Code:
 
# Aus Number Support
#
if [ -r ${PL_DIR}/${PL}/aus61v106-114.zip ]; then
do_cmd "Installing Aus Number Support..."
rm -fr /System/Library/Frameworks/AppSupport.framework/Support
cp -pfr /System/Library/Frameworks/AppSupport.framework/AppSupport /System/Library/Frameworks/AppSupport.framework/AppSupport.aus61.backup
unzip -q -o -K -X ${PL_DIR}/${PL}/aus61v106-114.zip -d /
chmod 644 /System/Library/Frameworks/AppSupport.framework/AppSupport
chmod 644 /System/Library/Frameworks/AppSupport.framework/Support/PhoneNumber.dylib
chmod 644 /System/Library/Frameworks/AppSupport.framework/Support/PhoneNumberTemplates.txt
fi
 
# Aus Number Formatting
#
if [ -r ${PL_DIR}/${PL}/auspform.zip ]; then
do_cmd "Installing Aus Number Formatting..."
cp -pfr /System/Library/Frameworks/UIKit.framework/PhoneFormats/UIPhoneFormats.plist /System/Library/Frameworks/UIKit.framework/PhoneFormats/UIPhoneFormats.plist.auspform.backup
unzip -q -o -K -X ${PL_DIR}/${PL}/auspform.zip -d /
chmod 644 /System/Library/Frameworks/UIKit.framework/PhoneFormats/UIPhoneFormats.plist
fi
 
# Aus Carrier Support
#
if [ -r ${PL_DIR}/${PL}/ausCarrier.zip ]; then
do_cmd "Installing Aus Carrier Support..."
cp -pfr /System/Library/Carrier Bundles/Unknown.bundle/carrier.plist /System/Library/Carrier Bundles/Unknown.bundle/carrier.plist.ausCallForwarding.backup
unzip -q -o -K -X ${PL_DIR}/${PL}/ausCarrier.zip -d /
chmod 755 /System/Library/Carrier Bundles/Unknown.bundle/carrier.plist
chmod 755 /System/Library/Carrier Bundles/Unknown.bundle/Default_CARRIER_TELSTRA.png
chmod 755 /System/Library/Carrier Bundles/Unknown.bundle/FSO_CARRIER_TELSTRA.png
chmod 755 /System/Library/Carrier Bundles/Unknown.bundle/Default_CARRIER_OPTUS.png
chmod 755 /System/Library/Carrier Bundles/Unknown.bundle/FSO_CARRIER_OPTUS.png
chmod 755 /System/Library/Carrier Bundles/Unknown.bundle/Default_CARRIER_VODAFONE_AU.png
chmod 755 /System/Library/Carrier Bundles/Unknown.bundle/FSO_CARRIER_VODAFONE_AU.png
chmod 755 /System/Library/Carrier Bundles/Unknown.bundle/Default_CARRIER_VIRGIN.png
chmod 755 /System/Library/Carrier Bundles/Unknown.bundle/FSO_CARRIER_VIRGIN.png
fi
Please feel free to leave any feedback. Once everything checks out and this is tested I will write a short How-To Guide if people are interested.
Reply With Quote
  #2 (permalink)  
Old 28th March 2008, 01:05 PM
Banned
 
Join Date: Jan 2008
Location: gangsters paradise
Posts: 294
Default

as you don't have an iphone, you obviously don't know how easy it is to do the w'pool localisation via installer.
Reply With Quote
  #3 (permalink)  
Old 28th March 2008, 03:09 PM
 
Join Date: Nov 2005
Posts: 33
Default

Actually I have played around with Installer on a mates iPhone and I agree wholeheartedly with you Krafty, its a piece of cake.
I was just thinking it would be handy for some users to simply do a jailbreak/activation/unlock with iPlus and have the iPhone ready to use in Aus straight after the reboot - especially where WiFi is unavilable or problematic. Plus, it gives you the illusion of more control over the whole thing which you could now get by using iLibertyX/iLiberty+ once the bugs are ironed out anyway...
Reply With Quote
Reply

Bookmarks

Tags
adding, aus, customisations, iplus, number, payload


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On