Fun | Jailbreak iPhone, iPod Touch, iPad - Part 7 Skip to content

Jailbreak iPhone, iPod Touch, iPad

новости про джейлбрейк iPhone, iPod Touch и iPad

Archive

Tag: fun

xiphine XiPhone

Recently a new project has been started, called XiPhone. It will be based on XPWN. So functionality similar to WinPwn and Pwnage will be present (jailbreak, unlock, etc). In addition to that developers plan to include:

  • Auto downloading of stock firmware files from apple’s site (no need to hunt for it then select it)
  • Wizard based modern GUI (created with .net 2.0), and Vista Style UI.
  • Export of firmware settings so users can pass around an XML file which contains a configuration that works for them.
  • Auto updates to the XiPhone software.
  • Community based wallpapers used for Bootscreen, Restore screen and others
  • Enabling / Disabling of options available based on the device you select.

Unfortunately, only Windows platform users will be able to use XiPhone.

Run

This is a tutorial, that shows step by step how to use installed Java on the IPhone. Just in case you do not have Java installed on your IPhone there is a tutorial how to do it.

What we need is a working jailbraked IPhone with Java Installed. I used latest firmware 1.1.4, unlocked, jailbreaked and customized by winpwn.

Step 1: Create simple Java application, compile and run.

  1. Create file Java4IPhone.java and put simple Java hello-world code there. I used the following code:Create Java hello-world
  2. Upload to IPhone. I used /tmp directory. For uploading I used IPhone Browser.
  3. Run Terminal.
  4. Use command java -fullversion or jamvm -fullversion to see if java is avaliable.
  5. Use command jikes to invoke java compiler.
  6. Go to /tmp directory, using command cd /tmp
  7. Compile. We need to specify classpath to basic java packages. If we do not do that, jikes will produce an error (see screenshot). So use the following command: jikes Java4IPhone.java -cp /usr/lib/rt.jar
  8. After compiling Java4IPhone.class file should appear in the same directory. To run use commandjava Java4IPhone
  9. Take a look at the screenshots. Hopefully you’ll have something similar.

Upload Java application to IPhone

Check Java and Jikes Compile using Jikes Run

Upload Java application to IPhone

Step 2: Have fun!