The JBnator Diaries – Fixing Push Notifications and YouTube on “hacktivated” phones

jbnator-main

Hello again, folks – your guru of jailbreaking here! And today I’ll tackle the problem which rendered Push and YouTube inoperable on “hacktivated” iPhones. I referenced it in my last article on upgrading jailbroken phones. Well, there’s always a way out and I’m gonna tell all!

Ok folks, there are two ways of doing this (typical no?): the easy way and the hard way.

First, the easy way. Mind, in this case Push and YouTube will ONLY work on EDGE or 3G (not on Wi-Fi).

  1. Open up Cydia
  2. Add the http://cydia.iphoneil.net package source (Manage->Sources->Edit->Add)
  3. Install the Push Fix
  4. Remove all applications with Push from the iPhone
  5. Reboot (not respring) your iPhone
  6. Reinstall all applications with Push
  7. Now open up Settings->Notifications and do the monkey

The second way is a bit more complex. But at least you’ll know what has actually been done to your phone, and Push and Youtube will work everywhere.

Our toolbox for today:

  • iPhone 2G/3G/3GS already jailbroken and hacktivated
  • iPhone Folders – download latest version at the author’s site
  • Files from here [Rapidshare]
  • iPhone apps – download off Cydia:
    • iFile (the shareware version will be more than enough)
    • MobileTerminal
    • afc2add

Now let’s get to it!

  1. Unpack the archive and check that it contains the following files
  • youtube-cert.bin
  • youtube-key.bin
  • push-cert.bin
  • push-key.bin
  • inject
  1. Open iPhone Folders and navigate to \private\var\Keychains and copy all of the files to the folder
  2. Open iFile on the iPhone (just ignore the shareware notice) and navigate to /private/var/Keychains
  3. Now for each of the newly copied files go to properties and set the permissions to rwxr-xr-x (755) like on the screenshot below
    jbnator-2-perms
  4. Make a backup of the keychain-2.db file from the same folder to your PC just in case
  5. Open MobileTerminal
  6. Now enter the following commands (*enter* means you press the “enter” key)
    • su *enter*
    • alpine (or your root password if you have changed it – this will not appear on the screen, but don’t worry, it is normal) *enter*
      It should indicate you’re now working as root
    • cd /private/var/Keychains/ *enter* (pay attention to letter casing)
    • ./inject *enter* (make sure not to forget the “.” at the beginning)
  7. Wait for the process to end!
  8. Remove all applications with Push from the iPhone
  9. Reboot (not respring) your iPhone
  10. Reinstall all applications with Push
  11. Now open up Settings->Notifications and do the monkey twice as hard!

That’s it folks!

There are a long line of articles planned, but I would also like to hear from you. Please send us ideas and suggestions regarding what you would like to see covered in this column.

[Thanks to keksman]
su *enter*
alpine (this will not appear on the screen, but don’t worry, this is normal) *enter*
It should indicate you’re now working as root
cd /private/var/Keychains/ *enter*
./inject *enter*

A project manager in a major telecommunications supplier, an iPhone junkie and lately - a TMA editor. Love long walks on the beach and my wife, who is the most beautiful girl on the face of this planet. You can also follow me on twitter for all things iPhone and project management (and some personal stuff as well): http://twitter.com/ChiffaNe

Next ArticleWho Ate All The Flies? Arachnadoodle - preying soon at the App Store