Author Topic: [HowTo] OpeniBoot on iPod Touch 2G  (Read 2784 times)

Offline Novo

  • Member
  • Posts: 24
  • Karma: +0/-0
    • View Profile
[HowTo] OpeniBoot on iPod Touch 2G
« on: November 14, 2010, 01:35:44 AM »
After having problems with this, I figured out how it works so I wanna make a good tutorial for beginners.
Here it is:

- Info
- Requirements
- HowTo Install OpeniBoot
- HowTo update OpeniBoot
- HowTo uninstall OpeniBoot
- Troubleshooting


Info:

What you NOT get:
- You CAN'T install Android yet, you CAN'T install Project iX yet, you only have a console playing around with
to see the development status of this.


Requirements:

- A jailbroken (redsn0w, PwnageTool or BlackRa1n, Spirit and jailbreakme is not working), iPod Touch 2g (Model ID starts with MBxxx ...), with Firmware 3.1.2, 3.1.3
(don't know if FW 4.1 with greenpois0n works now, please test and tell me)

- Linux Ubuntu, I prefer 10.04 or 10.10 32-bit
(64bit also possible but I had problems with it)
You can also use the Ubuntu LiveCD if you don't want to install it with the Windows Installer.


HowTo Install OpeniBoot:

- Boot into your Ubuntu and open the Terminal.
- Be root with: "sudo su"
- If you are not there, do "cd /home/YOURUSERNAME"

- Install the needed files:
Code: [Select]
apt-get update then:
Code: [Select]
apt-get install libusb-1.0-0 libusb-1.0-0-dev libreadline6-dev readline-common libreadline6 libreadline-dev texinfo cmake git-core build-essential texinfo libreadline-dev libssl-dev libusb-1.0-0-dev libpng12-dev libusb-dev autoconf automake libnewlib-dev(For x64 Linux, you will need: "libc6-dev-i386")

- Get the OpeniBoot Source:
Code: [Select]
git clone git://github.com/kleemajo/iphonelinux.git iphonelinuxthen:
Code: [Select]
cd iphonelinux && git pull
- Build an ARM toolchain for OpeniBoot (only needs to be done once):
Code: [Select]
toolchain/build-toolchain.sh makeThis will take some time. Get a coffee.
If you have problems with symlink or building newlib then look at Troubleshooting [1] at the end of the Tutorial.

- Next, do this:
Code: [Select]
cd openiboot && PLATFORM=IPOD2G make openiboot.img3For x64 Linux do this instead:
Code: [Select]
cd openiboot && ARCH=x86_64 PLATFORM=IPOD2G make openiboot.img3
- Now the next step:
Code: [Select]
cd .. && cd tools/client/linux && make allFor x64 Linux, do this instead:
Code: [Select]
cd .. && cd tools/client/linux && ARCH=x86_64 make all
- Prepare your iPod Touch 2G in Recovery mode and load OpeniBoot:
Turn your iPod Touch 2G on and plug it to the USB cable.
Now turn it off, after Screen gets black, press and hold the Home button.
Your iPod Touch 2g should restart (you should see the Apple Logo)
After some seconds you should see the "Connect to iTunes" (You can stop holding the Homebutton now)

- Now load the img3 to your iPod Touch 2G:
Code: [Select]
chmod 777 * and then:
Code: [Select]
./loadibec ../../../openiboot/openiboot.img3Now you should see some output on your iPod Touch 2G.
Next do:
Code: [Select]
./oibcNow you should see the same output on your Linux Terminal.

Yeah, finished, you can use some commands: (write "help" to see the commands)
In the future, you can install the OpeniBoot to NOR and boot Android or Project iX whatever.
Stay tuned.


HowTo update OpeniBoot:

- You can't install OpeniBoot for now, so just do the above steps again except building toolchain again.
So just: "cd iphonelinux && git pull" and "make openiboot.img3" andthen load it with "loadibec" again.


HowTo uninstall OpeniBoot:

You can't install it yet, so just reboot and all is fine.


Troubleshooting:

[1] do this as next step:
Code: [Select]
rm /usr/local/bin/arm-elf-cc

I took some text from the web.
Credits go to the authors, thanks.
If you found some mistakes or improvements, tell me.


Mfg Novo
« Last Edit: December 01, 2010, 03:15:48 PM by nickp666 »

Offline ddominator

  • The Dominator
  • Global Moderator
  • Member
  • *****
  • Posts: 957
  • Karma: +11/-0
  • Sold his soul to Google
    • View Profile
    • Unofficial iDroid News Blog
  • iDevice: iPhone 2G 3.1.3
  • iDroid Version: MoJo 1.0.4.1
  • Jailbreak: redsn0w 0.94 FTW!!!
Re: [HowTo] OpeniBoot on iPod Touch 2G
« Reply #1 on: November 14, 2010, 02:06:14 AM »
Great job. Topic stickied.
Help Google takeover the world. Use Android on your mobile devices, use Chrome Browser, use Chrome OS!!!

Offline ill

  • Member
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: [HowTo] OpeniBoot on iPod Touch 2G
« Reply #2 on: November 14, 2010, 05:30:29 PM »
i tested FW 4.1 with greenpoison mc model is not working

Offline Neonkoala

  • Global Moderator
  • Member
  • *****
  • Posts: 294
  • Karma: +3/-0
    • View Profile
    • Neonkoala.co.uk
Re: [HowTo] OpeniBoot on iPod Touch 2G
« Reply #3 on: November 14, 2010, 07:03:26 PM »
i tested FW 4.1 with greenpoison mc model is not working

It's only for MB models atm...
iPhone 3G | iPhone 4

Offline toantoet

  • Member
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: [HowTo] OpeniBoot on iPod Touch 2G
« Reply #4 on: November 16, 2010, 04:29:06 AM »
Ok, It worked with my Itouch 3G 8Gb FW 4.1 but when PC ask for Apple Mobile Device (OpenIBoot Mode) driver I can't find the driver for this.
« Last Edit: November 16, 2010, 04:31:55 AM by toantoet »

Offline Crahzee

  • Member
  • Posts: 4
  • Karma: +0/-0
    • View Profile
  • iDevice: iPod Touch 2G
  • iDroid Version: N/A
  • Jailbreak: redsn0w 0.9.6b5
Re: [HowTo] OpeniBoot on iPod Touch 2G
« Reply #5 on: November 30, 2010, 10:05:52 PM »
Worked flawlessly with my iPod Touch 2G 8GB on 4.2.1 jailbreaked with redsn0w 0.9.6b5

Offline Rekoil

  • Administrator
  • Member
  • *****
  • Posts: 261
  • Karma: +1340/-0
    • View Profile
  • iDevice: iPhone 3GS (old bootrom), iPod Touch 1G
Re: [HowTo] OpeniBoot on iPod Touch 2G
« Reply #6 on: December 01, 2010, 08:43:42 AM »
Whoah really? Cause I was pretty certain the scenarios in the last 2 posts were impossible. :P
32gb factory unlocked iPhone 3GS with early bootrom and shsh for all available firmwares

Offline Crahzee

  • Member
  • Posts: 4
  • Karma: +0/-0
    • View Profile
  • iDevice: iPod Touch 2G
  • iDroid Version: N/A
  • Jailbreak: redsn0w 0.9.6b5
Re: [HowTo] OpeniBoot on iPod Touch 2G
« Reply #7 on: December 01, 2010, 09:20:39 AM »
Whoah really? Cause I was pretty certain the scenarios in the last 2 posts were impossible. :P

Thankfully for the 24kpwn exploit it is very possible =)

Offline Rekoil

  • Administrator
  • Member
  • *****
  • Posts: 261
  • Karma: +1340/-0
    • View Profile
  • iDevice: iPhone 3GS (old bootrom), iPod Touch 1G
Re: [HowTo] OpeniBoot on iPod Touch 2G
« Reply #8 on: December 01, 2010, 11:28:54 AM »
Granted, with the iPt2G it is possible to inject code in 4.2.1. But I didn't expect iPt2G code to work on the iPt3G.

(when I said impossible, I meant currently impossible, due to non-existant code)
32gb factory unlocked iPhone 3GS with early bootrom and shsh for all available firmwares

Offline Crahzee

  • Member
  • Posts: 4
  • Karma: +0/-0
    • View Profile
  • iDevice: iPod Touch 2G
  • iDroid Version: N/A
  • Jailbreak: redsn0w 0.9.6b5
Re: [HowTo] OpeniBoot on iPod Touch 2G
« Reply #9 on: December 01, 2010, 05:51:35 PM »
The iPod Touch 3G 8GB shares all the same hardware as the iPod Touch 2G except it has a newer bootrom (only tethered JB atm)

Offline aNDoz

  • Member
  • Posts: 2
  • Karma: +0/-0
    • View Profile
  • iDevice: iPod Touch 2g
  • iDroid Version: in progress ;D
  • Jailbreak: redsn0w 0.9.6b2
Re: [HowTo] OpeniBoot on iPod Touch 2G
« Reply #10 on: December 01, 2010, 06:27:26 PM »
Requirements:

- A jailbroken (redsn0w, PwnageTool or BlackRa1n, Spirit and jailbreakme is not working), iPod Touch 2g (Model ID starts with MBxxx ...), with Firmware 3.1.2, 3.1.3


so I guess I need to downgrade?
im on ios 4.1 (8A306)

Offline Rekoil

  • Administrator
  • Member
  • *****
  • Posts: 261
  • Karma: +1340/-0
    • View Profile
  • iDevice: iPhone 3GS (old bootrom), iPod Touch 1G
Re: [HowTo] OpeniBoot on iPod Touch 2G
« Reply #11 on: December 01, 2010, 11:26:30 PM »
The iPod Touch 3G 8GB shares all the same hardware as the iPod Touch 2G except it has a newer bootrom (only tethered JB atm)
Ah that's true, didn't think about the 8GB 3G because I don't consider it an iPod touch 3G.
32gb factory unlocked iPhone 3GS with early bootrom and shsh for all available firmwares

Offline Crahzee

  • Member
  • Posts: 4
  • Karma: +0/-0
    • View Profile
  • iDevice: iPod Touch 2G
  • iDroid Version: N/A
  • Jailbreak: redsn0w 0.9.6b5
Re: [HowTo] OpeniBoot on iPod Touch 2G
« Reply #12 on: December 02, 2010, 06:11:35 AM »
Requirements:

- A jailbroken (redsn0w, PwnageTool or BlackRa1n, Spirit and jailbreakme is not working), iPod Touch 2g (Model ID starts with MBxxx ...), with Firmware 3.1.2, 3.1.3


so I guess I need to downgrade?
im on ios 4.1 (8A306)

Nope, works on all firmware as long as jailbroken with redsn0w. Im on 4.2.1 and it works fine :)

Offline Zhresh

  • Member
  • Posts: 1
  • Karma: +0/-0
    • View Profile
    • My "whatever I want to host" website!
  • iDevice: iPod Touch 2G (MB model)
  • iDroid Version: Not supported quite yet :(
  • Jailbreak: redsn0w 0.9.6beta5 (fw 4.1)
Re: [HowTo] OpeniBoot on iPod Touch 2G
« Reply #13 on: December 13, 2010, 03:29:27 AM »
Working perfectly on fw 4.1! Thanks!  ;D