Featured Posts

Streamyx Alternatives - Maxis, Digi or P1WIMAXStreamyx Alternatives - Maxis, Digi or P1WIMAX I've always looked at alternatives to Streamyx for my internet connection. Not that I despise TMNET but just because of the fact that their service way below par! I'm sure many Malaysian broadband users...

Read more

iPad tips: Hard Reset and taking a screenshot of your screeniPad tips: Hard Reset and taking a screenshot of your... If you've never owned an iPhone before and just got your hands on an iPad you must be wondering what you should do in case your iPad starts behaving strangely - which seldom happens actually. For some...

Read more

iPhone 3GS stutters after iOS 4.0.x update?iPhone 3GS stutters after iOS 4.0.x update? Nicely done Apple! After updating my iPhone 3GS to iOS 4.0.1 I started seeing quite a number of issues on my iPhone 3GS. Firstly I lost all my contacts - yes that's right! That was so cruel I almost cried...

Read more

What the hell is iAd?What the hell is iAd? I'm sure by now everyone who has an iPhone 3G or 3GS will be on iOS4 (I hope the 2G and 3G folks don't feel left behind). OS4 is really cool for users in many ways. Multitasking, home screen customization,...

Read more

Who said you can't drink while you work?Who said you can't drink while you work? Yep, the weekend is fast approaching. Can't wait to head out with my friends to our favorite watering hole for some good ol' fashioned whiskey and watch the world cup. So while I was searching for some...

Read more

Transfer your apps to your jailbroken iPhone

Posted by gadgetfrik | Posted in Tips and Tricks | Posted on 16-03-2009

Tags: ,

12

transfer-apps-to-iphone-3g-jailbreakI have an iPhone 3G which I managed to jailbreak and unlock since I’m living in Malaysia. I had to unlock it by myself since the iPhone 3G is only going to be launched on March 20th in Malaysia. Being an iPhone app developer developer as well I needed a solution to transfer the apps that I develop on XCode to my iPhone 3G to test it out. Since the iPhone 3G has been unlocked it wouldn’t be possible for me to register it with Apple which is a pre requisite for me to “legally” transfer the apps to my iPhone 3G for testing. But there is another way to go about it for jailbroken iPhones.

Here’s a short and simple way by which you can transfer the apps that you develop on XCode via WiFi to your iPhone 3G:

1. First build the application in Xcode using mode
-> Build -> Device (Release)
2. Open up  Terminal
3. Open up 2 windows in Terminal
4. In one window type
-> ssh root@
-> login with username: root and password: alpine
5. Goto directory /Applications
6. Create directory called .app – Note: must have ‘.app’ in the end
7. type -> chmod 775 .app
8. Then go to the directory in terminal
-> Documents ->
-> build -> Release-iphoneos -> .app
9. type
-> sftp root@
10. then type
-> cd /Applications/.app
-> mput *
11. Then go to the 1st terminal screen
12. Type
-> ldid -S Note: without .app in the end
13. Then type
-> killall -HUP SpringBoard

That’s it. Now you have your iPhone app that you developed loaded on your jailbroken iPhone 3G. Now you can do all the testing you want to ensure that its stable before submitting on iTunesconnect. Have fun!

UPDATE (March 19th 2009): My assumption is that you would have installed openSSH and ldid from Cydia on your jailbroken iPhone. In case you haven’t, you will need to install both these applications before trying out the above steps.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Related posts:

  1. Yes, your iPhone 3G can work with Maxis – simple software unlock!

Comments (12)

Hi, MatBlogger!

I am happy you teach us how to make Xcode on iPhone.

But I have not bought IPhone 3G, I still use my Nokia N70.

Thanks for share with us.

Hi MatBlogger,
There is another way, that is to use adhoc provisioning profile, or you can use your development profile since you’ve registered with ADC.

Hi iPhoneDevGuy,

Wouldn’t that require me to register my iPhone with Apple as a development device? I am using the current ftp method since my iPhone has been unlocked and jailbroken as well. My understanding is that transferring apps to the iPhone via an adhoc provisioning profile would require a “legal” iPhone. Do correct me if I am wrong. Thanks for your input!

Hi Kevin,

Hope you will get your iPhone soon as it will shortly be launched by Maxis.

Hi,
That is what I thought initially and doing the ssh thingy really frustrate developers like us. You can still register your device at ADC portal, even with Jailbroken phone, you still able to install apps from App Store, right ? It is the same concept :)

Brilliant! Something that I will definitely try. Thanks for sharing iPhoneDevGuy!

And does it work?!

Yes absolutely. But you can also use the traditional way by adding your device as a development device. That’s the method I am using now.

Thnaks!!

Hi there, just found this page and I have a question.
I am registered with ADC and my phone is jailbroken.
I am using the latest version of xcode and I wonder if I can register my phone to for testing even though it is jailbroken?

Wow – how do you discover this type of stuff? I would never be able to figure that out or unlock an i-phone.

incredible!
Niche Blueprint 2.0 Review´s last blog ..Why is Search Engine Optimization So Important? My ComLuv Profile

Hi, I am having some trouble in step 8. You said go to directory in terminal -> Documents. How am I going to do that?

Then you said build -> Release-iphoneos -> .app Is this something that I have to type literally? I am not really a Mac user so I have a hard time following the instruction.

Another question is where can I download ldid. I have been searching for it but I could not find it. And how to install it?

I hope you can help me with my problems.

Write a comment

CommentLuv Enabled