My comments about the iPhone unlocking solutions
I've been unlocking cell phones for more than 5 years, and even though i don't develope the solutions myself, i know pretty much how it works - and iPhone does not appear to be different from others, except for the fact that it needs activation in addition to unlocking.
There are two types of unlocking: "Firmware-patch" and "Direct unlock"
* Firmware patch is simply patching the firmware in order to bypass the unlock. Phone is still "locked", firmware is just tricked into believing it's not. An example would be when phone startsup and runs code "if(phoneIsLocked == false) doStartphone();" - a patch would simply change "false" to "true", causing it to run doStatphone() even when it's locked. If firmware is upgraded/restored, this patch will of course be removed and were back to start again. This type is in the industry considered as a semi-unlock, and only accepted as a last resort if no other way is found (usually, it's just a temporary solution)
* Direct-unlock is the real way of unlocking phones. Usually it involves just rebuilding the entire lockdata in EEPROM with "blank" unlocked data. Or the safest way is to get the phone itself to clear the data by making it unlock itself - which could be achieved by for example finding the unlock codes and feed it with them. This would leave absolutely no trace of "hacking" - it will be 100% correctly done, as intended by the manufacturer.
* (SIM-cloning/Turbosim is not mentioned, because that's not considered unlocking.)
When a phone is unlocked (in a proper way), it will always be unlocked. Firmware upgrades never touches EEPROM, including lock data.
Here are my thought's on how iphone unlocking works - of course, it's just my thoughts based on my experience with other phones, and i may very well be wrong.
IPFS unlock solution is permanent, and will handle all future updates Yes, i'm fairly sure that a phone unlocked with IPFS is a proper unlock (not firmware patch), making it permanent. But of course, unlike other's, iphone needs activation and IPFS therefore completely dependent on activation, which is depending on jailbreak. But when it comes to the operator lock itself, IPFS's permanently unlocks it.
I'm not sure exactly how IPFS does unlock it, but i'm feeling very sure it's one of these:
1. IPFS reads data from the baseband/EEPROM, and rebuilds the lock area in EEPROM with proper data - without any lock. This is exactly the same done on almost all other phones.
2. IPFS patches the baseband, but only as a temporary step in order to achive the above. When it's finished, it doesn't matter if the patch is removed (bb upgraded), because phone is already unlocked.
AnySIM and the other solutions are fimware patch solutions and will never survive baseband flashing/upgrade. Unlike IPFS (if IPFS also patches firmware), AnySIM patches firmware in order to bypass the lock, not in order to unlock it - or at least it's not unlocking it properly. The fact that anysim unlocked phones are bricked after upgrading, must be caused by changes the anySIM solution does to EEPROM, which is not properly done, and makes it "corrupted" as seen from the new firmware.
In my opinion there's no reason to be so negative about IPFS. They did the real unlock and so far noone have been able to recreate their solution. So don't expect a free real solution for 1.1.1 appearing very soon either. A free patch-unlock though is probably already possible now that they have decrypted the ramdisk, i will try that tomorrow. Of course iphone dev team are doing the most important work, and let's hope they soon will be able to work out a direct unlock solution as well.
Feel free to correct me, i already mentioned this is just how i think it works. (comments can be posted HERE.
Saturday, April 25, 2009
Formatting is stored in:
/System/Library/Frameworks/AddressBookUI.framework/ABPhoneFormats.plist
Download this file from your phone. The file is stored in binary format, so you'll need to convert it to text. Now save this file and open it in a text editor. Change the formatting under us to look like you want (if you find your region in the file, just copy from your region to the us). There's probably some way to just make it use your language (instead of 'us'), but i don't know where you specify that. When you are done changing formatting, save the file and upload it to the iphone in same directory you found it. You don't need to convert i back to binary.
Update for 1.1.1 users: In previous versions locale settings did not apply to number formatting. I noticed that in 1.1.1 it does, so it's better to change the phone's locale configuration instead of changing the formatting manually. Install "Enable International Menu" found in the Unlocking Tools category.
Making the carrier name/logo fit without scrolling
Apple left a rather small space for operator name, so if it's above 7(?) characters, it will scroll, and display only first part (click picture at right). I found a way to decrease the font size, making it fit.
Load the following file in a Hex editor:
System/Library/CoreServices/SpringBoard.app/SpringBoard
Font size should be at offset 7C176. In HxD, just click "Search → Goto" and set offset to 7C176 as shown in picture below. If the font size is not at this offset in your file, you can try a text string search for loopOperatorToBeginning, it should be right above that.
99603 98989
As you can see, you can also change the font type, and color of the text. Default is size 14. Changing it to 11 or 12 should do.
Update: Here is a way to set a permanent carrier logo. I have created a few logos for norwegian users (screenshot below): Telenor, Netcom, Tele2, Chess, OneCall. Download here. Remember that you will need to change pictures manually if you switch carrier.
104802
Disabling autocorrection when typing on keyboard
Read here until i write a more detailed way.
Adding international characters on the keyboard?
Read here until i write a more detailed way.
Unlock.no's version of jailbreakme.com
I've studied how jailbreakme.com jailbreaks the phone etc, and i noticed that jailbreakme.com copies a 736KB archive with the needed files (136KB), but the other 600KB is just CRAP (hidden mac files, sourcecode etc). So i decided to tweak the solution a little.
* I have removed all the "crap" jailbreakeme.com serves, so my archive is only 136KB, but still have ALL relevant files. This will make it much faster and more stable, since the file transfer is reduced by 600KB!
* Latest version of Installer (b10) is installed, and also latest version of Community Sources (modmyifone repository) - i will try to keep these packages updated at all times, so that you don't need to update anything after jailbreaking.
* http://i.unlock.no/ is addded as a (trusted) source in Installer, so that you have quick access to common tools like "Baseband downgrader" (reflashing baseband to 1.0.2 baseband) and "bootloader downgrade" package (Unlocking Tools category).
To jailbreak using this method, instead of adding URL jailbreakme.com, you add url: i.unlock.no (http:// not necessary) to the contact you create after dialing *#301# etc. Have your phone docked to the computer when visiting the jailbreak page! I have no idea why, but sometimes it doesn't work if your phone is not docked (this applies to jailbreakme.com as well).
Note: Jailbreaking using this method will add i.unlock.no as a trusted source. If you don't trust this Installer source, don't do this.
I did not develope this solution myself. I use jailbreakme.com's solution, and just tweaked it. All credits/donations goes to everyone who worked on this solution: http://jailbreakme.com
/System/Library/Frameworks/AddressBookUI.framework/ABPhoneFormats.plist
Download this file from your phone. The file is stored in binary format, so you'll need to convert it to text. Now save this file and open it in a text editor. Change the formatting under us to look like you want (if you find your region in the file, just copy from your region to the us). There's probably some way to just make it use your language (instead of 'us'), but i don't know where you specify that. When you are done changing formatting, save the file and upload it to the iphone in same directory you found it. You don't need to convert i back to binary.
Update for 1.1.1 users: In previous versions locale settings did not apply to number formatting. I noticed that in 1.1.1 it does, so it's better to change the phone's locale configuration instead of changing the formatting manually. Install "Enable International Menu" found in the Unlocking Tools category.
Making the carrier name/logo fit without scrolling
Apple left a rather small space for operator name, so if it's above 7(?) characters, it will scroll, and display only first part (click picture at right). I found a way to decrease the font size, making it fit.
Load the following file in a Hex editor:
System/Library/CoreServices/SpringBoard.app/SpringBoard
Font size should be at offset 7C176. In HxD, just click "Search → Goto" and set offset to 7C176 as shown in picture below. If the font size is not at this offset in your file, you can try a text string search for loopOperatorToBeginning, it should be right above that.
99603 98989
As you can see, you can also change the font type, and color of the text. Default is size 14. Changing it to 11 or 12 should do.
Update: Here is a way to set a permanent carrier logo. I have created a few logos for norwegian users (screenshot below): Telenor, Netcom, Tele2, Chess, OneCall. Download here. Remember that you will need to change pictures manually if you switch carrier.
104802
Disabling autocorrection when typing on keyboard
Read here until i write a more detailed way.
Adding international characters on the keyboard?
Read here until i write a more detailed way.
Unlock.no's version of jailbreakme.com
I've studied how jailbreakme.com jailbreaks the phone etc, and i noticed that jailbreakme.com copies a 736KB archive with the needed files (136KB), but the other 600KB is just CRAP (hidden mac files, sourcecode etc). So i decided to tweak the solution a little.
* I have removed all the "crap" jailbreakeme.com serves, so my archive is only 136KB, but still have ALL relevant files. This will make it much faster and more stable, since the file transfer is reduced by 600KB!
* Latest version of Installer (b10) is installed, and also latest version of Community Sources (modmyifone repository) - i will try to keep these packages updated at all times, so that you don't need to update anything after jailbreaking.
* http://i.unlock.no/ is addded as a (trusted) source in Installer, so that you have quick access to common tools like "Baseband downgrader" (reflashing baseband to 1.0.2 baseband) and "bootloader downgrade" package (Unlocking Tools category).
To jailbreak using this method, instead of adding URL jailbreakme.com, you add url: i.unlock.no (http:// not necessary) to the contact you create after dialing *#301# etc. Have your phone docked to the computer when visiting the jailbreak page! I have no idea why, but sometimes it doesn't work if your phone is not docked (this applies to jailbreakme.com as well).
Note: Jailbreaking using this method will add i.unlock.no as a trusted source. If you don't trust this Installer source, don't do this.
I did not develope this solution myself. I use jailbreakme.com's solution, and just tweaked it. All credits/donations goes to everyone who worked on this solution: http://jailbreakme.com
Subscribe to:
Posts (Atom)