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


Go Back   Hackint0sh > Projects and Hacks > iPhone > iPhone 3G (Rev. 2) > 3G General Talk

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-07-2008, 05:14 PM
ta_mobile's Avatar
ta_mobile
Status: Offline
Senior Member
 
Join Date: Sep 2007
Location: HaNoi - VietNam
Posts: 120
Rep Power: 19
ta_mobile has a spectacular aura aboutta_mobile has a spectacular aura aboutta_mobile has a spectacular aura about
Send a message via MSN to ta_mobile Send a message via Yahoo to ta_mobile Send a message via Skype™ to ta_mobile
Default [iPhone 3G][Unlock][Supposition on the way of success]

Hi All !

1st Im not a programmer or hacker or analyser, but all I've done, and all experiences I had was cost much of time and money.

Some of them was success. So belive it or not it depend on you but I.

After 3 weeks fighting with devilPhones locked and not locked, with Pwntool and hardware method, I found out a theory myself.

And with the hit of many Mods and Admins in this forum, I decide to talk it out.

Apple after the 1st gen iPhone must had much more experiences on defending hacker. Now they use this "my theory" to

control all the lock state of their device that so much secure but I think the experts here such as Dev team will pass over and come to the real software unlock.

My suppositon is the BB now on 3G is no more locked. Why I think so ??
I did: exchanged the pair X-Gold and Nor of LOCKED phone to the International not lock phone. Both phone are in good condition of physical state with the right IMEI of the pair IC, have wifi. Then what happened ?

- The Locked phone now got the pair of IC not locked: put work sim inside
+ Pwned it: of cause No Service. Call 112, there no signal broadcast. I put the Nor out and dumped this state call State 1.
+ Restore it with original fw and active by iTunes: iTunes said can not active, and the phone must be broght to Apple Service. Still No Service in the top left of the screen. Call 112, there no signal broadcast. I put the Nor out and dumped this state call State 2.

- The Not Locked phone now got the pair of IC locked: put work sim inside
+ Pwned it: of cause No Service. Call 112, there no signal broadcast. I put the Nor out and dumped this state. I put the Nor out and dumped this state call State 3.
+ Restore it with original fw and active by iTunes: iTunes said can not active, and the phone must be broght to Apple Service. Still No Service in the top left of the screen. Call 112, there no signal broadcast. I put the Nor out and dumped this State 4.
- Compare State 1 2 3 4 to each other, all changed in 0xE8 to 0xFC (maybe logs data or whatever). And as we know with the memory map, this area doesnt effect to the LOCK STATE. Maybe just for the Jailbreak state.

After all of this test, I think the whole BB doesnot invole to the lock or not lock carrier. It just recieves the commands from the main firmware to work or not (broadcasting Rx + Tx transmission of the network).

The damn thing is whatever system action you want to act to the phone by iTunes, you must connect to the internet. And Im sure, iTunes collects all the log and force the state of phone in their rules: Activate or not, lock or not, crash the apps or not, etc ....

So my result here is: iTunes server handle all the devices they produces by: MODEL + SERIAL + IMEI (3 of these will be identified the phone belong to which carrier). Each sync action with iTunes, the server with check the database of the Factory (lol) then know this phone will be locked or not and with my damn naughty actions, they decide to BLOCK my phone forever or not

- The iTunes server BLOCKED my International phone cos of it found the MODEL + SERIAL not fit to the IMEI (I changed 1 pair IC of other locked phoned to, then the IMEI is the IMEI of the locked phone) so the server BLACKLIST my phone OUT OF FULL ACTIVATION WITH UNLOCK STATE.

- DEV TEAM must know why and where their Pwntool made the International phone relocked in the OS disk. Maybe they still not know how to resolve it.

Totatly, I can finish my post with the point: 3G BB NO MORE LOCKED - THE LOCKED STATE IS CONTROL BY: ITUNES SERVER + MODEL + SERIAL + IMEI AND IT STAY IN THE OS DISK WHEN THE PHONE SYNC WITH ITUNES. - NO MORE TRYING TO HACK THE X-GOLD.

Monitoring, capturing the transmission of usb and internet from iTunes then decrypt, patch ... will help the unlock process ???
Come on Dev Team, GeoHot, all other expert, let try and give out the soft .
Hoping some day my blocked Inter-phone will work again like it did

I give the thanks to all the good sense post from the one who know what to say event it show that I was stupid !

BR

Last edited by ta_mobile; 08-07-2008 at 05:18 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-07-2008, 07:12 PM
dtube
Status: Offline
Administrator
 
Join Date: Oct 2007
Posts: 3,622
Rep Power: 10
dtube is a name known to alldtube is a name known to alldtube is a name known to alldtube is a name known to alldtube is a name known to alldtube is a name known to all
Default

Another thing which is very interesting that TA forgot to mention is:

- an international phone (fulling funtional) which means the baseband is unlocked right?

- pwned the international phone. It became locked. So, the saying about once the baseband is unlocked it stays unlocked is not the case here. Eventhough the BB version remains the same.

- Restored the phone with original apple firmware. Hooked it up to itunes, phone fully working again.

- So even if the the imei, serial/model are the same. The pwnage action (jb/act) changed things in the phone, itunes detected that and turned the phone to "lock" state.
__________________
** If you just want to support hackint0sh.org with a donation click here **

Last edited by dtube; 08-07-2008 at 07:18 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
  #3 (permalink)  
Old 08-07-2008, 07:25 PM
n350z's Avatar
n350z
Status: Offline
Speedy Moderator
 
Join Date: Nov 2007
Location: United Kingdom
Posts: 2,881
Rep Power: 170
n350z is a glorious beacon of lightn350z is a glorious beacon of lightn350z is a glorious beacon of lightn350z is a glorious beacon of lightn350z is a glorious beacon of light
Send a message via MSN to n350z
Default

Interesting read
Thanks
__________________
-
Read the stickies and search the forum before posting!
If you want to become a Hackint0sh supporter click here
----------
Follow Hackint0sh Follow Me
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-07-2008, 07:31 PM
drg
Status: Offline
Senior Member
 
Join Date: Oct 2007
Location: Canada
Posts: 479
Rep Power: 30
drg will become famous soon enough
Default

Quote:
Originally Posted by dtube View Post
- an international phone (fulling funtional) which means the baseband is unlocked right?

- pwned the international phone. It became locked. So, the saying about once the baseband is unlocked it stays unlocked is not the case here. Eventhough the BB version remains the same.

- Restored the phone with original apple firmware. Hooked it up to itunes, phone fully working again.
This is expected. The patched lockdownd does not pass the NCK to the baseband at boot. For the unlock to happen Apple's token containing the NCK must be present and the NCK must be passed to the baseband.

I can't comment on TA's findings, but what you describe here is expected.

To test this theory, extract your NCK manually, then pwn your phone and pass your NCK to the baseband manually. Your phone will be unlocked again.
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-07-2008, 07:38 PM
akouris
Status: Offline
Member
 
Join Date: Sep 2007
Posts: 32
Rep Power: 0
akouris is on a distinguished road
Default

My experience with pwning is a little different: I live in Greece, and I just received an originally unlocked iphone 3g from Italy.

I pwned it, and when the phone rebooted the familiar please connect to itunes to activate screen came up on the iphone.

With my Greek SIM card inside, I connected the iphone to the computer, and in fragments of a seconds it activated. The activation was so quick that I do not believe any communication with an apple server took place.

Last edited by akouris; 08-07-2008 at 07:38 PM. Reason: wrong syntax
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-07-2008, 09:38 PM
todro
Status: Offline
Member
 
Join Date: Sep 2007
Posts: 84
Rep Power: 9
todro will become famous soon enough
Default This is what I found so far

Comparing the behaviour of a Swisscom (locked) and Mobistar (unlocked) iPhone, this is what I found out on the iTunes-unlocked Belgium iPhone by logging all type of communication:

a.) There is a new kind of activation which is called "WildcardActivation" (in comparison to the "old" FactoryActivation)


Code:
       <key>ActivationRandomness</key>
	<string>12345-123456-A123-ABCDE012345</string>
	<key>ActivationState</key>
	<string>WildcardActivated</string>
	<key>BasebandMasterKeyHash</key>
	<string>ABCDEFG012345ABCDEFG012345ABCDEFG012345</string>
	<key>BasebandThumbprint</key>
	<string>1234567890123456789012345678901234567890</string>
	<key>BuildVersion</key>
	<string>5A347</string>
	<key>DeviceCertRequest</key>
	<data>...</data>
	<key>DeviceClass</key>
	<string>iPhone</string>
      	<key>InternationalMobileEquipmentIdentity</key>
	<string>268011234567890</string>
	<key>ModelNumber</key>
	<string>MB489</string>
	<key>ProductType</key>
	<string>iPhone1,2</string>
	<key>ProductVersion</key>
	<string>2.0</string>
	<key>SIMStatus</key>
	<string>kCTSIMSupportSIMStatusNotInserted</string>
	<key>SerialNumber</key>
	<string>ABCDEFG1Y7H</string>
	<key>SupportsPostponement</key>
	<true/>
	<key>UniqueDeviceID</key>
	<string>AABBCCDDEEFF0011223344556677889900</string>
Note the HASH-values!


b.) The unlock is done by sending some data (not only NCK, it looks like CERTS/KEYS are sent).


The whole process seems to be working like this:

a.) iPhone is connected to iTunes
b.) iTunes identifies iPhone by serial no. and sends activation request to albert.apple.com
c.) the activation records is created and return to iTunes
d.) iTunes "syncs" the activation record to the iPhone
e.) CommCenter is sending the unlock commands to the Baseband


From the iPhone point of view:

- A lock is signaled from baseband to ComCenter:

- CommCenter asks for activation level (via iTunes)

- CommCenter sends unlock commands (2 checks, 4 sequences) to baseband, succeeding it results in

Code:
Lock changes state from +XLOCK: "PN",1,1 to +XLOCK: "PN",1,0 after the 4 unlock sequences have been sent
My expecations is now that either 4 facilities (Phone, SMS, YouTube, AppStore) are unlocked or 4 different CERTS/KEYS (514 bytes) are sent (which is to be verified)

BTW, the unlock does not survie a restore and it has to be re-activated after every restore. I verified this a couple of times, even with 2.01 and baseband ICE2-01.48.02


Quote:
- The iTunes server BLOCKED my International phone cos of it found the MODEL + SERIAL not fit to the IMEI (I changed 1 pair IC of other locked phoned to, then the IMEI is the IMEI of the locked phone) so the server BLACKLIST my phone OUT OF FULL ACTIVATION WITH UNLOCK STATE.

Totatly, I can finish my post with the point: 3G BB NO MORE LOCKED - THE LOCKED STATE IS CONTROL BY: ITUNES SERVER + MODEL + SERIAL + IMEI AND IT STAY IN THE OS DISK WHEN THE PHONE SYNC WITH ITUNES. - NO MORE TRYING TO HACK THE X-GOLD.
Almost, I think it's locked in a different way as no NCK is used for unlocking

Last edited by todro; 08-07-2008 at 10:26 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
Remove advertisements
Advertisement
Advertisement Sponsored links

  #7 (permalink)  
Old 08-07-2008, 10:02 PM
aviegas's Avatar
aviegas
Status: Offline
The Man
 
Join Date: Sep 2007
Posts: 1,077
Rep Power: 66
aviegas has a spectacular aura aboutaviegas has a spectacular aura aboutaviegas has a spectacular aura about
Default

Hum..... very interesting...
I'm wondering how this fits in the scenarios posted by TA_Mobile.

Now, if the restore "erases" the "unlock", then there are 3 options:

1) It writes over some area where the unlock state is stored (seczone?)

2) The unlock state is not in the seczone, and therefore may fall outside the protection of the bootloader sig check.

3) The unlock is actually stored as OS files, and the whole process to "lock/unlock" the baseband is controlled by a software component (some part of CommCenter?)

We need to examine more evidence, and we need the expert opinion of the Dev Team...
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-07-2008, 10:08 PM
runtothesun
Status: Offline
Junior Member
 
Join Date: Jul 2008
Posts: 3
Rep Power: 0
runtothesun is on a distinguished road
Default

Total newb here, but does all of this info mean that an unlock for the 3G is near-impossible? Or is it just slightly more difficult to unlock than the older Iphone?
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-07-2008, 10:24 PM
todro
Status: Offline
Member
 
Join Date: Sep 2007
Posts: 84
Rep Power: 9
todro will become famous soon enough
Default

Quote:
Originally Posted by aviegas View Post

3) The unlock is actually stored as OS files, and the whole process to "lock/unlock" the baseband is controlled by a software component (some part of CommCenter?)
I will try to verify this by submitting a valid activation record without connecting iTunes after the restore, or in a second try I connect iTunes for creation of valid pairing information but without ouside connectivity before sending the activation record. If the unlock is still sent to BB, it's depending on lockdown state/activation record.

And yes, it seems to be the CommCenter itself which is sending the unlock sequences

Last edited by todro; 08-07-2008 at 11:53 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
Sponsored links Remove advertisements
Advertisement
Advertisement

  #10 (permalink)  
Old 08-07-2008, 11:34 PM
baalbeck
Status: Offline
Senior Member
 
Join Date: Aug 2007
Location: Brasil
Posts: 110
Rep Power: 8
baalbeck is on a distinguished road
Default

Cool guys,
Seems like things are getting fun now.

TA good job, you really have balls to do all this, keep up this way!
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




All times are GMT +2. The time now is 08:53 PM.



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