New Nokia Mobile Phones

How-To: Hack Your Nokia N97 In 16 Steps [HelloOX2]

Advertisements
Today’s How-To: Hack your N97 to run unsigned apps, among other things.

The latest version of HelloOX has been released, and it’s easier than ever to get unsigned software working on your N97. But let’s step back a bit: unsigned software is simply any kind of application that hasn’t gone through the Symbian Foundation’s rigorous signing process. Most freeware is unsigned, mainly due to the costs involved (around ~$525 for the bare minimum of one signing, with extra $$$ or euroseuroseuros for additional signing). With the included ROMPatcher utility, you can also apply unofficial patches to the firmware to fix bugs, modify current functionality, or adding new features. Pretty cool, right?

Unfortunately, by default your N97 (or any other recent S60 phone) will not allow you to install unsigned applications. We’re going to change that.

The Setup

You’re going to need a signed HelloOX2 sis file. Technically, that’s all you need, but a little out of reach for most people. If you’re starting from scratch, you’ll also need a.cer file, a .key file, and the SISContents application. Note that the HelloOX2 site claims that you can get a signed version of the app by donating $5. This may or may not be preferable, as it does avoid the steps (and the waiting) found here.

Remember, if you get confused anywhere in the tutorial, click on the screenshot above each step. You might find it easier to just click on the pictures and use the onboard Prev/Next buttons to go through each step (every image has the instructions underneath).

Let’s begin.

Developer Certificate and Key File

Skip this section if you already have a Dev. Cert and a key file. Otherwise, read on.

The easiest way to get the two files you need is to register an account on OPDA. By registering and filling out some forms (directions below), you can get your cert within a couple of days.

1. Go to the OPDA web site. Click on the Register button.

2. You should something that sort of resembles a Disclaimer page. Scroll down to the bottom, and there will be a countdown timer. Wait for it to reach zero, then click the leftmost button that appears.

3. Next up, you’ll have to fill out the registration form. Click anywhere inside the first box, and you’ll see a Captcha box pop up. Enter the characters that appear. After that is some kind of random math problem, answer it and go on to the next box. This is your username. The following two boxes are your password and your password confirmation (enter your password twice). I hope the Email box is self-explanatory. You can ignore that last checkbox – it shows you some advanced user options that are completely and utterly useless in this tutorial. Finally, click the yellow submit button on the bottom.

4. You should see a message pop up, wait a few seconds for it to redirect you to the forum page. Congratulations, you registered an account! Too bad we’re only a third of the way through. Click on the Apply Cer. in the top right corner of the page.

5. You should be at a page that looks similar to the picture here. Click on the Englishbutton (top right corner) to see what that important-looking green box says. Now click on the Login button and enter your credentials into the following form. (no picture for this step)

6. This is the My Certificates page. Click on the Apply cer button (in orange, see picture if necessary).

7. Finally, a form that’s completely in English. Make sure you put the correct model and IMEI as this is critical to generating a valid certificate for your phone. For Phone Number, enter an 11-digit number starting with either 13, 15, or 18. Example: 15134567890. If you’ve filled out the form correctly, you’ll see the message: Operation Success! Now you’ll have to wait until your certificate and key files are generated. Generally it takes anywhere from 1-3 days.

8. Assuming that your screen looks like mine, and your certificates/keys were generated, click and save the .cer and .key files. Pat yourself on the back, you got through Part 1 of this walkthrough.

Using SISContents

SISContents is the software application that uses your .cer/.key files to digitally sign a Symbian application. It’s fairly easy to use, but I’ll write out all of the steps involved regardless.

1. If you haven’t already, download and run SISContents. Click on the large folder icon in the top left corner (Open file), and browse to the directory where you put the HelloOX2.unsigned.sis file. Double-click to open it.

2. Now go to Tools -> Sign package.

3. Another box should pop up. You’ll notice that there’s two tabs on the top of the box, Package and Key pairs. Click on the Key pairs tab to switch.

4. Here you’ll create a profile with your new files. A key pair is made up of a .cer file, and a .key file. Make sure you add both of these files using the Browse… button. For Private Key Passphrase, enter 12345. You can name the profile anything you want, but I find that a simple, description name like “N97 Certificate” works well. When you’ve finished, click the Add profile button.

5. Note the change once you click the Add profile button: a new profile should appear in the box labeled “Available signing profiles”.

6. Remember those two tabs on top? Click on the Package tab to switch back to the package view. On the right side, you should see “Signing profiles:”, with an empty drop-down box underneath. Click on this box, and select your newly created profile.

7. Click on the Add signature button. You should see a new entry in the “Signatures of selected component box” (right side) that reads something like “SHA1 with RSA” and some certificate validity period dates. If you see those, you’re almost there! All that’s left now is to close this box (use the X in the top right corner), and save the file that you just modified (File -> Save as…). Congratulations! You’re even closer than before!

Installing and Running HelloOX2

And now the step we’ve been waiting for. HelloOX2 should be signed with your own developer certificate and key file. Now copy it to your phone, and run it in File Manager. The installation is very straightforward, and the only prompt that might give you pause is the “Install Modo?” one. Modo is a freeware File Manager that you may want to use instead of Nokia’s crappy stock one.

Once HelloOX2 is installed, you need to enable the correct patches to allow you to run unsigned applications. Go to your Applications folder, and run the ROMPatcher utility. You should see two entries: Installserver_FP2 and open4all. For each entry, go to Options -> Patch -> Apply, and then Options -> Patch -> Add to auto. Add to auto autoloads the patches on each reboot.

And now…wait for it…you’re done! Go out and have a beer or something. You successfully navigated through this nightmare of a tutorial!

If you’d like to test out your new unsigned application installation functionality, grab VirtualKey  (it’s unsigned by default) and try to install it.

Final Notes

You can also use this method on the Nokia 5800 XpressMusic, or pretty much any other S60 Third Edition and up phone – it’s not limited to the N97.

Credits

This procedure isn’t anything new, although some of the steps have changed slightly due to OPDA’s redesign and the new HelloOX2 application.

Advertisements