Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > General > General

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-30-2007, 01:46 PM
Sergeij2000
Status: Offline
Member
 
Join Date: Jul 2007
Posts: 60
Rep Power: 6
Sergeij2000 is on a distinguished road
Default iPhone SIM-locked again after update of the baseband firmware

Hi all,

yesterday i was upgrading my unlocked iPhone from version 1.0 to version 1.0.2. During the upgrade something went wrong, so iTunes let me restore the phone, after which the phone was SIM-locked again.

Today, i openend and unlocked the bugger a second time, using Cracker's needle tutorial (I didn't want to solder again, because soldering these tiny little PCB tracks and components is a real pain in the ass).

At the end of the unlock process, before the AT+CLCK="PN",0,"00000000" is issued, i entered a AT+CLCK="PN",2 just to see if the modem is responding to minicom.

Surprise surprise: The modem was already unlocked, because it returned +CLCK: 0.

So my understanding, that the locks are saved in the permanent memory of the phone has been proofed. I'm now able to draw some important conclusions:

1. AT+CLCK removes the locks - but not all of them. The status of the locks is saved in the permanent memory of the modem, and is most likely surviving a restore or upgrade operation.
2. Because not all locks are removed, GeoHots firmware patch is still needed during operation of the modem.
3. Any further firmware update to a newer version than 03.14.08_G is most likely to lock the phone again, because the patch is removed.

This might also be true for Turbo-SIM-unlocked phones, as Apple might issue an upgrade of the modem firmware which is periodically re-evaluating the IMSI to check for a valid AT&T SIM card. The TurboSIM-trick to fake the IMSI for the first couple of validity checks - and to switch to the non-AT&T-SIM for normal operation - wouldn't work anymore.


BOTTOMLINE:

NEVER EVER UPGRADE YOUR GEOHOT-UNLOCKED PHONE TO A NEWER SOFTWARE VERSION, IF THE UPGRADE CONTAINS AN UPGRADE OF THE MODEM FIRMWARE, OR YOUR PHONE WILL BE SIM-LOCKED AGAIN. BE ALSO CAREFUL IF YOU ARE USING A TURBOSIM.



Sorry for the bad news!

cu/

Sergeij

Last edited by Sergeij2000; 08-30-2007 at 02:17 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 08-30-2007, 02:16 PM
Diet
Status: Offline
Member
 
Join Date: Aug 2007
Posts: 85
Rep Power: 7
Diet is on a distinguished road
Default

thanks for the detailed description of the "problem" but I think this was already clear: if there is a newer modem firmware the baseband firmware will be overwritten.
the interesting point will be to find out if a update contains a new modem firmware or if not ...
to avoid another opening of the iPhone I'll install a reed contact that can be operated by a small magnet from outside as already discussed in the hardware subforum.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 08-30-2007, 02:43 PM
Sergeij2000
Status: Offline
Member
 
Join Date: Jul 2007
Posts: 60
Rep Power: 6
Sergeij2000 is on a distinguished road
Default

Quote:
Originally Posted by Diet View Post
thanks for the detailed description of the "problem" but I think this was already clear: if there is a newer modem firmware the baseband firmware will be overwritten.
the interesting point will be to find out if a update contains a new modem firmware or if not ...
to avoid another opening of the iPhone I'll install a reed contact that can be operated by a small magnet from outside as already discussed in the hardware subforum.
That the FW will be overwritten by a newer version was indeed clear. But the usage of the official unlock command AT+CLCK="PN",0,"00000000" with a bogus unlock code was giving me the impression that all locks are removed, that the FW patch is only used to bypass the validation of the unlock code - and that the firmware can be upgraded once the unlock has been done.

There is a way to find out if an upgrade contains a new modem software:

When iTunes announces a new update, download the restore-image (start the restore and disconnect the iPhone as soon as the download begins) and grab the image from your 'Library/iTunes/iPhone Software Updates' folder.

Change the extension from ipsw to zip, and unzip the image. You will find two .dmg-files, one containing the RAM-disk, the other one containing the OS (which is much larger than the RAM-disk).

Convert the smaller dmg:

dd if=<name_of_smaller_dmg> of=ramdisk.dmg bs=512 skip=4 conv=sync

and mount the converted disk image ramdisk.dmg.

Locate the directory /usr/local/standalone/firmware. The file with the extension .fls contains the modem firmware, the name of the file contains the version number. If you see something different from ICE03.14.08_G.fls, the update most likely contains a new version of the modem firmware.

cu/

Sergeij

cu/

Sergeij
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #4 (permalink)  
Old 08-30-2007, 03:01 PM
ckorhonen
Status: Offline
Junior Member
 
Join Date: Apr 2007
Posts: 16
Rep Power: 0
ckorhonen is on a distinguished road
Default

Surely this is the key to software unlocking?

If a new BB firmware can reverse unlocking, surely a modified BB firmware will unlock it? We would just need to trick the updater into re-flashing?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 08-30-2007, 04:11 PM
Dutchz
Status: Offline
Junior Member
 
Join Date: Aug 2007
Posts: 17
Rep Power: 0
Dutchz is on a distinguished road
Default

This must be it. Anyone able to include the patched firmware file in the existing itunes restore image? Then force full-restore of your phone using the adjusted firmware package. anyone?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 08-30-2007, 04:33 PM
Sergeij2000
Status: Offline
Member
 
Join Date: Jul 2007
Posts: 60
Rep Power: 6
Sergeij2000 is on a distinguished road
Default

Quote:
Originally Posted by Dutchz View Post
This must be it. Anyone able to include the patched firmware file in the existing itunes restore image? Then force full-restore of your phone using the adjusted firmware package. anyone?
The dmgs in the software package are digitally signed. Nobody was able to crack the signature yet. It's quite easy to apply the patches to the content of the RAM-disk dmg file - and zip the whole thing back into an ipsw. But the iPhone is not accepting the patched files, because the signature is wrong.

cu/

Sergeij
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #7 (permalink)  
Old 08-30-2007, 05:01 PM
dragon-tmd's Avatar
dragon-tmd
Status: Offline
Senior Member
 
Join Date: Jul 2007
Posts: 147
Rep Power: 10
dragon-tmd is on a distinguished road
Send a message via MSN to dragon-tmd
Default

Quote:
Originally Posted by Sergeij2000 View Post
The dmgs in the software package are digitally signed. Nobody was able to crack the signature yet. It's quite easy to apply the patches to the content of the RAM-disk dmg file - and zip the whole thing back into an ipsw. But the iPhone is not accepting the patched files, because the signature is wrong.

cu/

Sergeij
How about faking newer baseband updates with the old ICE03.14.08_G.fls? Open the restore image, open ramdisk, delete newer baseband, copy & rename old baseband to new name, store in restore image and restore the iphone.

You'll get a new firmware and the old baseband, do you?
__________________
dragon-tmd
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 08-30-2007, 05:24 PM
Zf_
Status: Offline
iPhone Dev Team
 
Join Date: Jul 2007
Posts: 717
Rep Power: 43
Zf_ will become famous soon enoughZf_ will become famous soon enough
Default

Quote:
Originally Posted by dragon-tmd View Post
How about faking newer baseband updates with the old ICE03.14.08_G.fls? Open the restore image, open ramdisk, delete newer baseband, copy & rename old baseband to new name, store in restore image and restore the iphone.

You'll get a new firmware and the old baseband, do you?
It won't work because bbupdater is comparing versions before flashing.

And perhaps even the bootloader is doing that - so I don't want to patch it in bbupdater and end up with a dead baseband before I'm sure

Otherwise my daily spam for all your update needs http://iphone.fiveforty.net/wiki/ind...Update_Service
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 08-30-2007, 06:43 PM
Eluzion
Status: Offline
Member
 
Join Date: Aug 2007
Posts: 72
Rep Power: 6
Eluzion is on a distinguished road
Default

If you already have 1.02, restoring through iTunes should be fine though, yeah? I'm too scared to even try after all that work unlocking it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

  #10 (permalink)  
Old 08-30-2007, 07:13 PM
Sergeij2000
Status: Offline
Member
 
Join Date: Jul 2007
Posts: 60
Rep Power: 6
Sergeij2000 is on a distinguished road
Default

Quote:
Originally Posted by Eluzion View Post
If you already have 1.02, restoring through iTunes should be fine though, yeah? I'm too scared to even try after all that work unlocking it.
As far as i know it's possible to upgrade from 1.0.1 to 1.0.2. Some people told me that the actual version of the modem is checked - and that the modem firmware is not upgraded if it has the same versioin like the upgrade-image.

But if something fails during the update - and you need a full restore - i really don't know what is happening. I personally will wait until somebody else walked through the mine field of doing the restore

cu/

Sergeij
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Problem] iPhone locked after update to 2.0.1 johncarlo87 Quickpwn 19 04-19-2009 06:35 AM
[GUIDE] ZiPhone - unlock solution (read the warning 1st post) geircito Older Software Unlock Solution 187 06-17-2008 09:33 PM
Phone Number format spoonet Older Software Unlock Solution 130 11-22-2007 12:20 AM
Bye 1.1.2 svlad_jelly Older Software Unlock Solution 20 11-21-2007 01:20 AM
Can we change the phone # format??? apercele79 General 4 08-17-2007 03:12 PM



All times are GMT +2. The time now is 02:57 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105