onlydarksets

Just another WordPress.com weblog

Why and How I Jailbroke my iPhone

Posted by onlydarksets on October 6, 2008

Or, “How I Got My iPhone to Do This”:

Overview

I finally broke down and jailbroke my iPhone.  My motivation was that June Fabrics developed PdaNet for the iPhone, but it was rejected by the App Store, so they released it on Cydia.  However, once I jailbroke, I found a wealth of apps out there that fill in most of the missing pieces.

Keep reading for the full details.

What is “jailbreaking”?

Jailbreaking is a type of PWNing an iPhone that lets you install applications on it other than those in Apple’s official App Store.  “PWN” more generally refers to any iPhone hack that allows you to do things with your phone that Apple didn’t intend (keep it clean – you know what I meant).  PWNing includes unlocking (i.e., using on different carriers), modifying the baseband, and changing the IMEI number.

Once you jailbreak, there are two apps that are installed that function similarly to the App Store – Cydia and Installer. Cydia and Installer are essentially catalogs of applications that can be installed on a JB’d iPhone.  They can co-exist with no adverse effects.  Installer came out first, then it seemed Cydia had the lead for a while, but now both seem to be actively developed and have current repositories.  I mostly use Cydia, so here is a walk-through of how Cydia works.  For most people, that is all you need to know.

For the more inquisitive, if you want to learn exactly what they are and how they work, read this post.  Actually, read pretty much everything Saurik writes.

What’s the risk?

The downside is that JB apps have full access to everything.  The Apple SDK sandboxes each app  – each app only has access to read and write to its own folder, and apps aren’t allowed to access many core system functions or run in the background.

JB apps aren’t bound by these limitations, so they can read/write anywhere, access any system functions, and run in the background.  So, while an App Store app can only destroy itself, a JB app can destroy itself and the OS.

That said, I don’t think the concern is something malicious, because everything is distributed through the repositories.  If you use a trusted repository, you shouldn’t be exposed to anything dangerous (but, of course, there are no guarantees).  However, the consequence of working outside the SDK is that sloppy code can have more of an impact with JB apps than App Store apps.

So, that’s pretty much the “why” of it.

How do you do it?

There are a number of apps that will let you do various types of PWNing.  If all you want to do is to jailbreak (again, installing custom applications), there is a ridiculously easy way to do it, thanks to a tool called QuickPWN.  That’s all I wanted to do, so that’s what this post focuses on.  You could also use tools such as ZiPhone and WinPWN, which will jailbreak, in addition to custom firmwares.

No, really, how?

You can find step-by-step instructions via Google, but here’s an example.  Note the following:

  1. Make sure you select the option to install Cydia during the jailbreak process.  I also selected “Installer” – they can run together with no known issues.
  2. As of October 4, 2008, you cannot unlock a 3G iPhone.  Accordingly, you can skip the steps (and downloads) for bootloaders.
  3. If you have already upgraded to the latest firmware, you don’t need to download the firmware – QuickPWN will find the firmware already downloaded on your PC.

OK, now what?

Start installing apps! Find the Cydia icon and run it – it will download the latest list of applications.  I suggest starting with the “Featured Packages” link on the main page of Cydia.  You can also install programs by using the Search button on the bottom.

Here’s what I installed to get the screencap above:

  • Five Icon Dock – Adds 5th app to the dock
  • AT&T Carrier Logo – replaces the AT&T logo with the globe and “at&t”
  • StatusNotifer – show email/call notification icons in the tray bar
  • Winterboard – install custom icons, wallpapers, etc.
  • OpenSSH – full access to the file system via a SSH or SFTP client
  • MobileTerminal – full access to the file system from the iPhone

And, of course, there is an almost limitless number of other things you can do:

  • Run any application in the background (Backgrounder)
  • Tether to a laptop (PDANet)
  • Use an application launcher (QuickGold)
  • Display calendar/email/etc. data on the lock screen (IntelliScreen)
  • Download and save locally files via Safari
  • Use the built-in camera for video recording (Cycorder)
  • One-stop preference setting (BossPrefs)
  • Video game system emulator (NES)
  • Offline Google Reader (GRIS)
  • Download files directly to folders via MobileTerminal (curl or wget)

Where did you get the app icons?

Theming is a whole separate post, and there are plenty of guides out there already.  However, I culled my icons from these two sources:

What happens when a new firmware upgrade is released?

4 Responses to “Why and How I Jailbroke my iPhone”

  1. jacob said

    Awesome, keep up the good work guys

  2. Tom said

    Tom…

    […]Why and How I Jailbroke my iPhone « onlydarksets[…]…

  3. One should keep their knee locked straight and the heel.
    kidney stone test is one of the leading causes of kidney stone test are
    still not fully understood, treatments that are currently
    vetted by scientific literature are all centered
    around reducing the load on the feet. Chiropractic: Have just started this, and it can trigger kidney
    stone test. Talk to your doctor about the effectiveness and safety of herbal remedies in treating
    this condition. In most cases, heel pain usually can be very effectively
    treated.

  4. Apple’s legit App Store has many cool offerings, but jailbroken i – Phones have a wide array of banned creative and quirky apps. @chronic ‘
    this so-proclaimed hacker and app developer is the creator of the Chronic Dev Team.
    Furthermore it is also an financial issue for apple to keep the traffic
    to app store for applications purchasing.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: