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
  #81 (permalink)  
Old 07-26-2009, 10:43 AM
CorranQ's Avatar
CorranQ
Status: Online
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 Best PUSH Notifications Results

Well, after trying a couple ways to "fix" PUSH on my iPhone, only one thing ultimately worked solidly.

First I tried the Dev Team's solution... it didn't work... but the problem was my fault. I was using CyberDuck to readjust the permissions for the nimble and inject files and as it turns out, they weren't sticking, and I didn't realize it though I'm normally careful about that...

Second I tried the Cydia hack... it didn't work...

Third I tried the Cydia hack again some days later out of pure stuborness and miraculously enough, PUSH worked though I got notifications from potentially any number of other people sharing the same PUSH Certificate that came with the hack...

Finally, fourth time was the charm. I got fed up with the PUSH notifications I was getting so I decided to try it again on my own. Keep in mind I have an iPod Touch 1st Gen as my guinea pig. On that device, all notifications have worked perfectly, so I figured "set it up to the max with the notifications you want working and for the programs you want working on the iPhone and let's see..."

This had the best opportunity of working primarily because I used my iPod Touch's internet on a limited basis. I do use it and such, but my primary media device is definitely the iPhone. In addition to this, I figured it was best if I had my notifications split between two devices of my choosing rather than over dozens/hundreds/thousands/millions of people using hacktivated iPhones...

Then I proceeded to check out forums at iPod Touch Fans to see what experiences there had been. They were, ironically, fairly informative. I used the feedback from there on several discussions to do the following:

Push Solution Test Steps (Modified from original and short version by 007. user on iPod Touch Fans)
------------------------

A. Get Legit Keychain Data:
*You Must Perform These Steps On A Properly Activated Device (iphone or ipod touch) with at least one working push app*

1. Unzip the downloaded zip file of the PUSH Fix made by the Dev Team to the activated device with working PUSH Notifications (in my case I had set up IM+, AP Mobile & Nimbuzz) and copy the binary 'nimble' using SSH into /private/var/Keychains and set permission to 0775 - note that I did not go with 0755, and also that all permissions were handled via Terminal on the iPhone as user "root".

Commands in Terminal (MobileTerminal, available in Cydia):
1.- Type 'su' and enter the password 'alpine'
2.- Type 'cd /private/var/Keychains'
3.- Type 'chmod 0775 nimble'

2. Make sure the file "keychain-2.db" is in /private/var/Keychains and run nimble. You will see 4 files have been created as a result of running nimble:
- youtube-cert.bin
- youtube-key.bin
- push-cert.bin
- push-key.bin

Commands:
1.- Type './nimble'

3. Copy these 4 files into the corresponding folder on your hacktivated device (/private/var/Keychains) BEFORE proceeding to point "B".


B. Testing Push:
*You Must Perform These Steps On Your Hacktivated Device*

1. Copy the binaries named inject and nimble from the original zip file you downloaded before, and SSH into /private/var/Keychains, then set permissions to 0775:
- inject
- nimble

Commands:
1.- Type 'su' and enter the password 'alpine'
2.- Type 'cd /private/var/Keychains'
3.- Type 'chmod 0775 nimble'
4.- Type 'chmod 0775 inject'

2. Store the device's current "keychain-2.db" elsewhere as a backup copy in case you need to replace the one you're creating now - this step may spare you the woes of having to restore your iPhone completely if this doesn't work - and run inject. Do this quickly as the keychain-2.db seems to regenerate on its own. A new keychain-2.db will be created.

Commands:
1.- ./inject

3. Uninstall the PUSH apps (i.e. beejive, IM+, AIM, or similar) you intend to test on your hacktivated device and reboot.

4. Test YouTube to see if it's working (it might stall out the first time so try at least twice to see if it'll connect to YouTube), and if it's working, reinstall your PUSH Apps. If it's not working, you did something wrong. Either start again and make sure you're following the instructions fully, or replace the keychain-2.db on your iPhone with your saved back-up.

5. If your iPod Touch is on and connected to WiFi, disconnect it, and proceed to testing PUSH apps on your hacktivated device over Edge/WiFi/3G.

WARNINGS: If it didn't work, either PUSH notifications aren't working on your iPod Touch (did you check?) or they are not set-up as active, or you did something wrong. Start over, test the activated device you are trying to get the certificate files from, and try again.

Do yourselves a favor, do not upload your certificates to the web unless you want to be bombarded by other people's push notifications.

Finally, expect your e-mail and login settings/info to be reset as a result of fiddling around with these certificates. In my case all I had to do was go into Settings for Mail and type in all passwords again and this fixed the problem there. All other apps with logins varied: some had to be reinstalled from scratch, others only required having the login information placed in again. Make sure you have back-ups of any important files in any apps that you may potentially end up having to uninstall and reinstall...

RECOMMENDATION: Use an officially activated iPhone or iPod Touch that you are either no longer using much, if at all. The reason for this is that any time your PUSH certificate updates to whatever IP is set for your hacktivated device, the PUSH notifications will get sent to that address. So if you suddenly turn on your iPod Touch (such as in my case) either my PUSH notifications will be split between my iPhone and iPod, or the latest connected device will receive the majority if not all of the PUSH notifications.

And finally, I don't guarantee this will work. I am sure many of you will be dissatisfied by how it works... but... on the other hand some of you may not mind and finally be quite content with the results. I have been, and I have not missed a single PUSH notification since. It does suck that I have to basically limit my iPod Touch usage, but oh well, small price to pay for my iPhone to be fully functional while I get my hands on an officially activated iPhone 3Gs... That said, it seems that if you're sharing these certificates between two devices, that you can avoid the loss of messages between them so long as both devices are using different apps in the end as tried by "prof_hastig".

Last edited by CorranQ; 07-27-2009 at 06:50 PM. Reason: Just adding notes and corrections...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #82 (permalink)  
Old 07-26-2009, 12:56 PM
prof_hastig
Status: Offline
Junior Member
 
Join Date: Nov 2007
Posts: 5
Rep Power: 0
prof_hastig is on a distinguished road
Default

Quote:
Originally Posted by CorranQ View Post
Well, after trying a couple ways to "fix" PUSH on my iPhone, only one thing ultimately worked solidly.

First I tried the Dev Team's solution... it didn't work... but the problem was my fault. I was using CyberDuck to readjust the permissions for the nimble and inject files and as it turns out, they weren't sticking, and I didn't realize it though I'm normally careful about that...

Second I tried the Cydia hack... it didn't work...

Third I tried the Cydia hack again some days later out of pure stuborness and miraculously enough, PUSH worked though I got notifications from potentially any number of other people sharing the same PUSH Certificate that came with the hack...

Finally, fourth time was the charm. I got fed up with the PUSH notifications I was getting so I decided to try it again on my own. Keep in mind I have an iPod Touch 1st Gen as my guinea pig. On that device, all notifications have worked perfectly, so I figured "set it up to the max with the notifications you want working and for the programs you want working on the iPhone and let's see..."

This had the best opportunity of working primarily because I used my iPod Touch's internet on a limited basis. I do use it and such, but my primary media device is definitely the iPhone. In addition to this, I figured it was best if I had my notifications split between two devices of my choosing rather than over dozens/hundreds/thousands/millions of people using hacktivated iPhones...

Then I proceeded to check out forums at iPod Touch Fans to see what experiences there had been. They were, ironically, fairly informative. I used the feedback from there on several discussions to do the following:

Push Solution Test Steps (Modified from original and short version bt 007 user on iPod Touch Fans)
------------------------

A. Get Legit Keychain Data:
*You Must Perform These Steps On A Properly Activated Device (iphone or ipod touch) with at least one working push app*

1. Unzip the downloaded zip file of the PUSH Fix made by the Dev Team to the activated device with working PUSH Notifications (in my case I had set up IM+, AP Mobile & Nimbuzz) and copy the binary 'nimble' using SSH into /private/var/Keychains and set permission to 0775 - note that I did not go with 0755, and also that all permissions were handled via Terminal an the iPhone as user "root".

Commands in Terminal (MobileTerminal, available in Cydia):
1.- Type 'su' and enter the password 'alpine'
2.- Type 'cd /private/var/Keychains'
3.- Type 'chmod 0775 nimble'

2. Make sure the file "keychain-2.db" is in /private/var/Keychains and run nimble. You will see 4 files being created:
- youtube-cert.bin
- youtube-key.bin
- push-cert.bin
- push-key.bin

Commands:
1.- Type './nimble'

3. Copy these 4 files into the corresponding folder on your hacktivated device BEFORE proceeding to point "B".


B. Testing Push:
*You Must Perform These Steps On Your Hacktivated Device*

1. Copy the the binaries named inject and nimble from the original zip file you downloaded before and SSH into /private/var/Keychains and set permission to 0775:
- inject
- nimble

Commands:
1.- Type 'su' and enter the password 'alpine'
2.- Type 'cd /private/var/Keychains'
3.- Type 'chmod 0775 nimble'
4.- Type 'chmod 0775 inject'

2. Store the device's current "keychain-2.db" elsewhere (backup copy, I did a back-up but then deleted the hacktivated device's copy) and run inject (do this quickly as the keychain-2.db seems to regenerate on its own quickly). A new keychain-2.db will be created.

Commands:
1.- ./inject

3. Uninstall the PUSH apps (i.e. beejive or similar) you intend to test on your hacktivated device and reboot.

4. Test YouTube, reinstall your PUSH Apps.

5. If your iPod Touch is on and on WiFi, disconnect it, and proceed to testing PUSH apps on your hacktivated device over Edge/WiFi/3G

WARNINGS: If it didn't work, either PUSH notifications aren't working on your iPod Touch or they are not set-up as active, or you did something wrong. Start over, test your activated device, and try again.

Do yourselves a favor, do not upload your certificates to the web unless you want to be bombarded by other people's push notifications.

Finally, expect your e-mail and login settings/info to be reset as a result of fiddling around with these certificates. In my case all I had to do was go into Settings for Mail and type in all passwords again and this fixed the problem there. All other apps with logins varied: some had to be reinstalled from scratch, others only required having the login information placed in again.

RECOMMENDATION: Use an officially activated iPhone or iPod Touch that you are either no longer using much, if at all. The reason for this is that any time your PUSH certificate updates to whatever IP is set for your hacktivated device, the PUSH notifications will get sent to that address. So if you suddenly turn on your iPod Touch (such as in my case) either my PUSH notifications will be split between my iPhone and iPod, or the latest connected device will receive the majority if not all of the PUSH notifications.

And finally, I don't guarantee this will work. I am sure many of you will be dissatisfied by how it works... but... on the other hand some of you may not mind and finally be quite content with the results. I have been. It does suck that I have to basically limit my iPod usage, but oh well, small price to pay for my iPhone to be fully functional while I get my hands on an officially activated iPhone 3Gs...
I can confirm that. I use the certificates from my son's iPod and since we aren't using the same PushApps we both have 100% fun with them.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #83 (permalink)  
Old 07-26-2009, 03:52 PM
iPhoneRob
Status: Offline
Member
 
Join Date: Sep 2007
Posts: 35
Rep Power: 0
iPhoneRob is on a distinguished road
Default Best PUSH Notifications Results Step A-3 Question

The step mentions copying the 4 files into the corresponding folders. Can you identify the folder locations? I have looked and looked, but WinScp doesn't seem to have a search feature..

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

  #84 (permalink)  
Old 07-26-2009, 06:22 PM
CorranQ's Avatar
CorranQ
Status: Online
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 iPhoneRob View Post
The step mentions copying the 4 files into the corresponding folders. Can you identify the folder locations? I have looked and looked, but WinScp doesn't seem to have a search feature..

That would be /private/var/Keychains - same folder where you used the nimble binary on your activated device, only your are copying the four generated files to the device you are trying to activate PUSH on
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #85 (permalink)  
Old 07-26-2009, 06:29 PM
CorranQ's Avatar
CorranQ
Status: Online
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 prof_hastig View Post
I can confirm that. I use the certificates from my son's iPod and since we aren't using the same PushApps we both have 100% fun with them.
Thanks for the info! Very good to know!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #86 (permalink)  
Old 07-26-2009, 08:52 PM
iPhoneRob
Status: Offline
Member
 
Join Date: Sep 2007
Posts: 35
Rep Power: 0
iPhoneRob is on a distinguished road
Default Thanks!

Understand it now. Still need a good activated device to get the cert file to put on my hacitvated phone. Will have to wait until a new fix is in place. Thanks anyway. Nice detail to your steps.
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

  #87 (permalink)  
Old 07-27-2009, 05:01 AM
rsu
Status: Offline
Junior Member
 
Join Date: Oct 2007
Posts: 5
Rep Power: 0
rsu is on a distinguished road
Thumbs up

Quote:
Originally Posted by CorranQ View Post
Well, after trying a couple ways to "fix" PUSH on my iPhone, only one thing ultimately worked solidly.

First I tried the Dev Team's solution... it didn't work... but the problem was my fault. I was using CyberDuck to readjust the permissions for the nimble and inject files and as it turns out, they weren't sticking, and I didn't realize it though I'm normally careful about that...
Thanks for the solution, 100% working!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #88 (permalink)  
Old 07-27-2009, 12:00 PM
hunter087's Avatar
hunter087
Status: Offline
Member
 
Join Date: Jul 2008
Posts: 82
Rep Power: 6
hunter087 is on a distinguished road
Default

how about this:

1. make a custom firmware without hactivate the phone
2. restore the phone
3. activate with the legit SIM
4. get the files via SSH into the device
5. jailbreak with hactivated firmware (need this step? can i just insert my usual sim? )
6. copy the file into where it needs to be for Push to work.
__________________
My Rig:
Core2Quad q6600 overclocked @ 3.4Ghz cooled by Thermalright Ultra 120 Extreme // 8GB Corsair XMS2 RAM // Abit iP35 Pro //
BFG GTX260 Maxcore 896MB // Samsung 64GB SSD + WD Raptor 74GB + 1TB Black + 1TB Green // Corsair Hx620w // Antec p182 //
Samsung T240 24inch Monitor // Logitech G5 //

My iPhone:
8GB Pwned at 3.0 with working MMS
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #89 (permalink)  
Old 07-27-2009, 01:08 PM
qwertypo
Status: Offline
Junior Member
 
Join Date: Jul 2009
Posts: 11
Rep Power: 0
qwertypo is on a distinguished road
Default

(youtube always worked)
Tried manual install of the fix.
Got 5 PUSHed IMs from AIM.
No more, for a day. tried fring, and notifyme... no luck.
So I tried the cydia based Push fix. No luck
uninstalled, reinstalled. no luck
uninstalled, reinstalled, still, no luck.
unistalled. IT STARTED WORKING!?
Was really inconstant. Worked sometimes, couldnt link it to a problem with anyone particular. airplane mode fixed it once, but not reliably.
Then I noticed that Youtube didnt, work.
So I reinstalled the push fix... bricked. wouldnt get through bootup.

Restored.

Tested youtube, didnt work.
So I installed Push Fix.
youtube works.
Push Apps say I need to connect to itunes. No push now.

Uninstalled.

Worth trying 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
Sponsored links Remove advertisements
Advertisement
Advertisement

  #90 (permalink)  
Old 07-27-2009, 02:00 PM
mickangel
Status: Offline
Member
 
Join Date: Jul 2007
Posts: 74
Rep Power: 6
mickangel is on a distinguished road
Default Worth trying again?

Worth trying again?
Not unless you will be happy with inconsistent pushed messages (sometimes it works and sometimes it doesn't) and happy with receiving random other push notifications from strangers.

I've installed "backgrounder" for now which was updated for 3.0 and monitoring the battery life. I've subscribed to this thread and I'll certainly try again if/when dev team or someone clever manages to get a better work-around than the current "certificate sharing".
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 08:25 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