Greenp0ison released

It certainly took long enough but chronic-dev has released greenp0ison for the Mac (and eventually windows and Linux). The server was down earlier so I’ve added a link in the bottom of the page to store a copy here until they get their servers together. This works on the iPhone 3GS, iPhone 4, iPad, and AppleTV2. For now it only does jailbreaks so if you are needing to unlock the phone you’ll have to continue waiting until a new version of ultrasn0w (or whatever it will be called) is released.


An iPhone application I’m liking a lot

Recently, I downloaded the iPhone application Zumocast after hearing a recommendation from Leo Laporte on the podcast MacBreak Weekly. I installed the server at on my Mediacenter PC and my Mac. In no time at all I was listening to music over my network, watching videos and browsing through photos. This is an application that shines.
In addition to watching videos, viewing photos, and listening to music you can also view some of your files. Because the iOS includes the foundations of the MacOS there are some files that can be read natively like txt, pdf, doc, rtf. I haven’t gone through all of them. Because reading all of that on such a small screen is futile. But it is nice the capability is there.
One of my favorite features is the ability to encode and download videos to your iOS device. I’ve already done one, the documentary “Gasland”. I have queued up a few episodes of the third season of the Boondocks and eventually I’ll see if it can also download songs and integrate them into the iTunes library. Something I’ve wanted to do but not able to try because the Mac was off.
So if you are like me and have lots of media and a few iPods, iPhones, and other devices around the house give Zumocast a try.

Writing iPhone applications for jailbroken iPhones

As a developer I don’t enjoy paying for things when I don’t have to. One of them happens to be Apples iPhone Developer program. I could find better ways of spending $99. Debugging my own stuff isn’t one of them. So what is a developer to do when he can’t or won’t pony up the money to be allowed to load and debug his own applications. He uses that tiny developer brain to bypass all the checks that’s how.

I’m not going to go into the ins and outs of jailbreaking the iPhone. There are plenty of tutorials on the net to do exactly that. If you are in over your head at this point you should probably bail now, shit is definitely not going to get easier from here on out.

Creating a certificate

You’ll need your own self-signed certificate. iPhone OS will check for it, jailbreaking will tell it that it’s good, regardless of who it came from. So crack open Keychain access and create one for yourself. It’s in /Applications/Utilities/Keychain From the menu choose Certificate Assistant > Create Certificate.


Give it the name “iPhone Developer” and check overide defaults.

Give yourself enough time. 10 years sounds about right. And change the type to Code Signing.

Add as much or little information as you want to the personal information screen.

After here, click next until the end. It should be shown in your Keychain Access application list.

Update the Developer stack

We’ll need to make a modification to the Info.plist of the SDK. Go to /Developer/Platforms/iPhoneOS.platform. Create a backup of Info.plist and open the original in Property List Editor. Change all instancese of XCiPhoneOSCodeSignContext to XCCodeSignContext. There are 3 instances of them in SDK 3.1.2. There might be more or less in future versions.

Back to XCode

In XCode open your project and change the Active SDK to iPhone Device – 3.1.2. Run the build command with Command-B. Go to the Directory with your project, open the build folder and into the Release-iphoneos or the Debug-iphoneos folder you’ll find the executable. We’re going to need to get this file into the iPhone.

Copy your application to iPhone

You won’t be able to get your application onto the phone using the normal channels. iTunes won’t allow it. So the alternative is to copy it to the phone using SSH or iPhone Explorer. As with all things Mac, iPhone Explorer provides a GUI. And a GUI is always handy. Using iPhone Explorer go to the /Applications folder on the device. And upload your app folder. When complete it should appear like this. In some cases the app won’t be set to executable. If this is the case you’ll need to run the “chmod a+x” on the app folder to allow it to run.

Your application won’t be present on the springboard. For that you’ll need to restart the springboard. There are jailbreak applications that allow for this. You can also install the UIKitTools and run uicache from the commandline to update the springboard without restarting it.

Reblog this post [with Zemanta]

Getting started on the iPhone SDK

Last night I bit the bullet and downloaded the iPhone SDK to my Mac. It includes the new XCode 3.1 so that and all the files were updated as well. On a side note it reinstalled CHUD which was giving me errors since upgrading to 10.5.3. Now I can disable 3 of my cores and see how a single 2.4GHz Kentsfield really work. It was still very useful and quick running on just one core. I wouldn’t try that with VMWare Fusion running.
After getting all my files installed and setting my IDE I went on the web and was looking through various tutorials. Here is one I liked but I’m sure there are many others. As soon as the NDA is lifted or defined about what can and can’t be shared I will look at buying one of the programming books.