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


Go Back   Hackint0sh > Projects and Hacks > iPhone > iPhone "2G" (Rev. 1) > iPhone OS 3.x

Reply
 
LinkBack Thread Tools Display Modes
  #151 (permalink)  
Old 10-20-2009, 02:12 PM
w9cae
Status: Offline
Member
 
Join Date: Nov 2007
Posts: 52
Rep Power: 4
w9cae is on a distinguished road
Default

Up until 3.1.2 I was never able to get push working. Then I saw this post with FW 3.1.2 prior to pawnage or any DEV team release. After about 24 hours of looking around the net. I decided this FW was legit & had not cause any problems. So I loaded my first gen up. To my delight its activated & push is working everything is working perfectly.

Here is a link to my local Australian mac forum where you can look over & make a decision if you also want to try.

3.1.2 Was released overnight - Page 2 - MacTalk Forums

I really would like to know who & how this firmware was made seeing DEV team hadn't released any tools. Which indicates to me there is more than one way to crack iPhone firmware. Or is this some sort of leaked firmware from Apple ? As I know some Australian telephone technicians did have unlocked first gens for testing. So I gather other telcos around the globe would have had similar.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #152 (permalink)  
Old 10-21-2009, 08:17 PM
Olethros
Status: Offline
Moderator
 
Join Date: Sep 2007
Location: Norway
Posts: 684
Rep Power: 38
Olethros is on a distinguished road
Default

Quote:
Originally Posted by w9cae View Post
Up until 3.1.2 I was never able to get push working. Then I saw this post with FW 3.1.2 prior to pawnage or any DEV team release. After about 24 hours of looking around the net. I decided this FW was legit & had not cause any problems. So I loaded my first gen up. To my delight its activated & push is working everything is working perfectly.

I really would like to know who & how this firmware was made seeing DEV team hadn't released any tools. Which indicates to me there is more than one way to crack iPhone firmware.
The basic tools behind pwnagetool are open sourced and usually do not require the dev team to update them for minor iPhone OS releases (eg 3.0 to 3.1)

I have downloaded this firmware and tried to examine the differences between the root and restore disk images contained in the ipsw
comparison was with a custom firmware I had created using pwnagetool 3.1.4

The differences I can see are:
  • will update baseband (which is not a problem for 2G iPhones)
  • the numeric battery is enabled
  • creates a 750MB root partition, rather than 563MB.
  • pre-patched to install cracked applications.

The file DeviceTree.m68ap.img3 is also different between the two, I am not sure why, possibly the people behind this custom ipsw did not have access to the full set of patches that the dev team have. I highly doubt this could fix the push notifications issue.

I can't see any differences that could be considered significant outside of these items.

Last edited by Olethros; 10-21-2009 at 09:13 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
  #153 (permalink)  
Old 10-21-2009, 08:36 PM
CorranQ's Avatar
CorranQ
Status: Offline
Member
 
Join Date: Feb 2008
Location: México, D.F. - México
Posts: 45
Rep Power: 0
CorranQ is on a distinguished road
Send a message via ICQ to CorranQ Send a message via AIM to CorranQ Send a message via MSN to CorranQ Send a message via Yahoo to CorranQ Send a message via Skype™ to CorranQ
Default

Quote:
Originally Posted by Olethros View Post
I have downloaded this firmware and tried to examine the differences between the root and restore disk images contained in the ipsw
I compared with a custom firmware I had created using pwnagetool 3.1.4

The differences I can see are:
  • will update baseband (which is not a problem for 2G iPhones)
  • the numeric battery is enabled
  • creates a 750MB root partition, rather than 563MB.
  • pre-patched to install cracked applications.

I can't see any differences that could be considered significant outside of these items.
Hmm, interesting... so there was nothing in particular for the push certs?
__________________
"Keep it real, or not at all..." - E.L.R.A.
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

  #154 (permalink)  
Old 10-21-2009, 10:25 PM
Olethros
Status: Offline
Moderator
 
Join Date: Sep 2007
Location: Norway
Posts: 684
Rep Power: 38
Olethros is on a distinguished road
Default

The only unexplained difference is DeviceTree.m68ap.img3 pwnage tool does not change this file at all but it is definitely changed in the other ipsw. I cannot yet explain why it is changed and because it is a binary file I can't really tell what the changes are.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #155 (permalink)  
Old 10-22-2009, 12:05 AM
CorranQ's Avatar
CorranQ
Status: Offline
Member
 
Join Date: Feb 2008
Location: México, D.F. - México
Posts: 45
Rep Power: 0
CorranQ is on a distinguished road
Send a message via ICQ to CorranQ Send a message via AIM to CorranQ Send a message via MSN to CorranQ Send a message via Yahoo to CorranQ Send a message via Skype™ to CorranQ
Default

Quote:
Originally Posted by Olethros View Post
The only unexplained difference is DeviceTree.m68ap.img3 pwnage tool does not change this file at all but it is definitely changed in the other ipsw. I cannot yet explain why it is changed and because it is a binary file I can't really tell what the changes are.
Hrrrm, I wonder if that's what could be enabling the push certificate...
__________________
"Keep it real, or not at all..." - E.L.R.A.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #156 (permalink)  
Old 10-22-2009, 03:18 AM
w9cae
Status: Offline
Member
 
Join Date: Nov 2007
Posts: 52
Rep Power: 4
w9cae is on a distinguished road
Default

I am really glad you guys did read my post & taking a look. My first gen is running like a champ on that firmware. And I was so worried using something from a questionable source. But it was ok this time, but not something I would recommend. This would be such an easy way seeing it was hacked & released prior to any other tools availability for a serious trojan or virus to be inserted.

Hopefully someone here will know who did make this firmware & what they used ? So we can fix this push issue & keep first gen iPhone alive. As I notice with each release less & less interest & information.
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

  #157 (permalink)  
Old 10-22-2009, 06:07 AM
CorranQ's Avatar
CorranQ
Status: Offline
Member
 
Join Date: Feb 2008
Location: México, D.F. - México
Posts: 45
Rep Power: 0
CorranQ is on a distinguished road
Send a message via ICQ to CorranQ Send a message via AIM to CorranQ Send a message via MSN to CorranQ Send a message via Yahoo to CorranQ Send a message via Skype™ to CorranQ
Default

Quote:
Originally Posted by w9cae View Post
I am really glad you guys did read my post & taking a look. My first gen is running like a champ on that firmware. And I was so worried using something from a questionable source. But it was ok this time, but not something I would recommend. This would be such an easy way seeing it was hacked & released prior to any other tools availability for a serious trojan or virus to be inserted.

Hopefully someone here will know who did make this firmware & what they used ? So we can fix this push issue & keep first gen iPhone alive. As I notice with each release less & less interest & information.
Well sadly that's just the way of things, technology gets replaced :-S I'm actually close to swapping out for a 3GS myself :-S
__________________
"Keep it real, or not at all..." - E.L.R.A.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #158 (permalink)  
Old 10-22-2009, 08:32 AM
Olethros
Status: Offline
Moderator
 
Join Date: Sep 2007
Location: Norway
Posts: 684
Rep Power: 38
Olethros is on a distinguished road
Default

For those of you who want to test the impact of the DeviceTree.m68ap.img3 file in isolation, first download the firmware mentioned earlier. Open that with any zip application and extract out the DeviceTree.m68ap.img3 which is located in Firmware/all_flash/all_flash.m68ap.production/

Then make a custom firmware as you would like it to be configured with pwnage tool and use a zip tool to replace the DeviceTree.m68ap.img3 with the one extracted from the other firmware.

You should be able to restore this hybrid ipsw normally with iTunes and see if changing that file actually fixes push notifications.

I already have upgraded to a factory unlocked 3GS, which I use for work purposes and has push notifications working as expected.

Don't actually use push notifications on the 2G iPhone as I only really use the 2G iPhone for my personal calls and for testing out things I don't want to risk on my 3GS.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #159 (permalink)  
Old 10-22-2009, 10:21 AM
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

Well, my understanding it that the problem cannot be fixed with patches. The problem is that the push server uses the certificate to uniquely identify each iPhone and knows where to send the notifications.

The standard jailbreak Hacktivation uses the same certificates for all iPhones (for YouTube and Push). It will not work because several iPhones will be registering with the server with the same "indentification".

As I understand, each iPhone is required a unique certificate for push to work correctly. And the only way I know of making these certs is with normal iTunes based activation. The nice thing about it is that each time a phone is activated a different certificate is created!

So far I'm using certificates from a valid activation on a Hacktivated iPhone without problems.

The program that the Dev-Team members wrote (nimble/inject) works. The problem is that people assumed that they could share the certificates and there are tons of "tutorials" and even cydia packages that include a set of certificates, so it will work for a while, until another iPhone, with the same certs register with the push server.

The ultimate fix would require a program to generate those certs and then inject them in the keychain. So far I have not seen it, except for someone that charges US$5.99 for the certificates.
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

  #160 (permalink)  
Old 10-22-2009, 10:59 AM
Olethros
Status: Offline
Moderator
 
Join Date: Sep 2007
Location: Norway
Posts: 684
Rep Power: 38
Olethros is on a distinguished road
Default

Quote:
Originally Posted by aviegas View Post
Well, my understanding it that the problem cannot be fixed with patches. The problem is that the push server uses the certificate to uniquely identify each iPhone and knows where to send the notifications.

The standard jailbreak Hacktivation uses the same certificates for all iPhones (for YouTube and Push). It will not work because several iPhones will be registering with the server with the same "indentification".

As I understand, each iPhone is required a unique certificate for push to work correctly. And the only way I know of making these certs is with normal iTunes based activation. The nice thing about it is that each time a phone is activated a different certificate is created!

So far I'm using certificates from a valid activation on a Hacktivated iPhone without problems.

The program that the Dev-Team members wrote (nimble/inject) works. The problem is that people assumed that they could share the certificates and there are tons of "tutorials" and even cydia packages that include a set of certificates, so it will work for a while, until another iPhone, with the same certs register with the push server.

The ultimate fix would require a program to generate those certs and then inject them in the keychain. So far I have not seen it, except for someone that charges US$5.99 for the certificates.
This is also my understanding, and is why I took apart this firmware to look for changes. I still doubt that the original poster got push notifications properly working simply because of this hacked firmware. I cannot find a reason why it would work. I think the devicetree is a red herring and has nothing to do with solving this.

Does anyone know more about the structure of these unique certs? Do you get a new unique cert if you restore your phone and activate again? Is the UDID of the device embedded into the cert at all? There is some good information about which files are critical to push on the forum of the guy who is selling certificates.

Push Fix • View topic - Try this if all else fails
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
Push Notifications in a JB 2G iPhone imactor iPhone OS 3.x 5 07-07-2009 03:24 AM
Push notifications on iPhone 3g? powerpcougar PwnageTool (3G(S) jailbreak/pwn) 2 06-24-2009 03:26 PM
Official, Consolidated iPhone Hack Unlock Thread freudling General 9 10-31-2008 10:28 AM
[GUIDE] ZiPhone - unlock solution (read the warning 1st post) geircito Older Software Unlock Solution 187 06-17-2008 09:33 PM
Synchronica does not PUSH email for Iphone Noodles General 0 09-20-2007 12:08 AM



All times are GMT +2. The time now is 07:04 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