[TUT] Getting Started with OpeniBoot and iDroid

Device bootloader development

[TUT] Getting Started with OpeniBoot and iDroid

by exploitz » Sat May 01, 2022 8:04 pm

I've noticed a lot of people on here don't like to jump around the different sources of information that contain the necessary stuff to get OpeniBoot and iDroid working on their 3G's. Myself included haha

So here's a guide, I don't often write guides but I'm going to try my best to explain EVERYTHING that there is to be explained.
At least I'm trying right?

First things first...
I'm writing this guide on Ubuntu 9.04 - on an old ass dell. If my computer can do it so can yours!

OpeniBoot
Lets start out by building OpeniBoot!
Using this site for reference: http://wiki.github.com/planetbeing/iphonelinux/openiboot-installation

> Download the latest commit <
To do this easily, use my script http://www.sendspace.com/file/gyq5ow
Put this file on your desktop and execute it from the terminal. Make sure you give it permission.
Code: Select all
./gitlatestcommit

This will place iphonelinux into your home directory (~/iphonelinux)

> Building The Toolchain <
This will only be done once, and may take a long time so be prepared. It took 4 hours on my old dell.

Move into your iphonelinux directory
Code: Select all
cd ~/iphonelinux

Now to save yourself some time, PLEASE make sure you have libssl installed.
Code: Select all
sudo apt-get install libssl-dev libssl

OR use synaptic package manager.
Build the toolchain... be ready for a wait
Code: Select all
sudo toolchain/build-toolchain.sh make


> Compile OpeniBoot <
Download libcommon.a http://www.sendspace.com/file/50wpy9 Place it (~/iphonelinux/openiboot/mk8900image)
Get the required dependencies from synaptic libusb libreadline and pthread
I made this easy for you guys and made another script: http://www.sendspace.com/file/o3rivq
Download it, and place it inside your iphonelinux folder. (~/iphonelinux)
Execute it from the terminal (again check its permissions)
Code: Select all
./fcompiler

It will perform all of the actions to compile a 3G openiboot.img3
DO NOT INSTALL OPENIBOOT ON YOUR 3G.

iDroid
If everything went as planned, now you are ready to get iDroid.

> Download the archive <
You will have to torrent this. Just check this thread for the torrent:
http://www.idroidproject.org/forum/viewtopic.php?f=20&t=30
Extract it to your home directory (~/)
Lazy? Download precompiled Removed files containing copyright code. Please don't post them here.

> Preparing the Images <
Using this as a reference: http://www.idroidproject.org/wiki/Installing_iDroid_(Linux)
If you've download my images you can skip this step.

I'm not going to copy/paste the wiki for the sake of it's pretty damn self-explanatory. Just read the wiki and post your questions if you need help.

> Let's Boot iDroid <
If you've followed the guide this far then good job, and I hope its been easy for you. We're almost done, just a few more moments and you can enjoy your iDroid with no multitouch drivers! Yay. Haha ok.
I give thanks to Hooligan for showing me this...

First off download my helper script: http://www.sendspace.com/file/5qb2i5
Next, put your phone in recovery mode (http://lmgtfy.com/?q=Iphone+recovery+mode+)
Put my script in your iphonelinux directory (~/iphonelinux) and give it permissions
Put the android.img.gz and zImage inside the openiboot folder (~/iphonelinux/openiboot)
Run my script!
Code: Select all
./tether-boot

Follow the onscreen prompts to get into the OpeniBoot client

If you see a welcome to openiboot screen on your terminal, then your on the right track.
next run the following commands one at a time in this order
Code: Select all
!zImage
kernel
!android.img.gz
ramdisk
boot "console=tty root=/dev/ram0 rw init=/init"

After you enter the last command and press enter, your iPhone should begin loading iDroid. Congrats:)

If I helped then your welcome! If not then feel free to ask questions,etc.
I leave that ***** Microsoft like Windows Vista
exploitz
 
Posts: 87
Joined: Sat Apr 24, 2022 11:27 pm

Re: [TUT] Getting Started with OpeniBoot and iDroid

by jenkem110 » Sat May 01, 2022 9:46 pm

great guide!!!
Last edited by jenkem110 on Sun May 02, 2022 1:13 am, edited 1 time in total.

jenkem110
 
Posts: 21
Joined: Sun Apr 25, 2022 5:31 pm

Re: [TUT] Getting Started with OpeniBoot and iDroid

by exploitz » Sat May 01, 2022 10:06 pm

jenkem110 wrote:you never write guides. lol


Lol I don't see the humor in that anywhere?
I leave that ***** Microsoft like Windows Vista
exploitz
 
Posts: 87
Joined: Sat Apr 24, 2022 11:27 pm

Re: [TUT] Getting Started with OpeniBoot and iDroid

by Ninn » Sun May 02, 2022 1:03 am

Thanks, the tutorial is very much apriciated, will move it to a more appropiate catagory and consider sticky when i've run thru it
Ninn
Site Admin
 
Posts: 39
Joined: Fri Apr 23, 2022 3:28 pm

Re: [TUT] Getting Started with OpeniBoot and iDroid

by tsm1248 » Sun May 02, 2022 1:05 am

Great guide!

SUPER LEGIT
tsm1248
 
Posts: 66
Joined: Sat May 01, 2022 1:10 am
Location: Jersey

Re: [TUT] Getting Started with OpeniBoot and iDroid

by exploitz » Sun May 02, 2022 1:06 am

Thanks you guys! I tried my best to make it 100% awesome:)
I leave that ***** Microsoft like Windows Vista
exploitz
 
Posts: 87
Joined: Sat Apr 24, 2022 11:27 pm

Re: [TUT] Getting Started with OpeniBoot and iDroid

by plech.d » Sun May 02, 2022 1:13 pm

Hi,
thanks for the guide, everything went well until iDroid started booting. First of all, I get quite a few "ack not received before byte 0", but it continues loading, and then it says "libertas: command 0x0066 timed out". Any idea what might be causing this?
Thanks in advance!
plech.d
 
Posts: 6
Joined: Sun May 02, 2022 1:09 pm

Re: [TUT] Getting Started with OpeniBoot and iDroid

by plech.d » Sun May 02, 2022 1:21 pm

plech.d wrote:Hi,
thanks for the guide, everything went well until iDroid started booting. First of all, I get quite a few "ack not received before byte 0", but it continues loading, and then it says "libertas: command 0x0066 timed out". Any idea what might be causing this?
Thanks in advance!


Is a SIM card required to boot iDroid possibly? Because currently I'm booting without one.
plech.d
 
Posts: 6
Joined: Sun May 02, 2022 1:09 pm

Re: [TUT] Getting Started with OpeniBoot and iDroid

by messa » Sun May 02, 2022 3:00 pm

thank you for this tut but i cannot do what u say 2 do everything i try keeps getting the file/command does not exist and yes i gave all commands permitions ect.
messa
 
Posts: 8
Joined: Mon Apr 26, 2022 12:31 pm

Re: [TUT] Getting Started with OpeniBoot and iDroid

by exploitz » Sun May 02, 2022 4:39 pm

plech.d wrote:Hi,
thanks for the guide, everything went well until iDroid started booting. First of all, I get quite a few "ack not received before byte 0", but it continues loading, and then it says "libertas: command 0x0066 timed out". Any idea what might be causing this?
Thanks in advance!

libertas seems to be the wlan driver. I really don't know what the problem is im sorry, But maybe try redownloading your sd8686.bin and help_sd8686.bin, and be sure to put them inside your android.img.gz and zImage.

messa wrote:thank you for this tut but i cannot do what u say 2 do everything i try keeps getting the file/command does not exist and yes i gave all commands permitions ect.

I think you are not in the right directory when running the scripts. Be sure you use terminal to navigate to the directory you put the scripts in.

plech.d wrote:
plech.d wrote:Is a SIM card required to boot iDroid possibly? Because currently I'm booting without one.

I don't think ones required, however I've never tried booting without one.
I leave that ***** Microsoft like Windows Vista
exploitz
 
Posts: 87
Joined: Sat Apr 24, 2022 11:27 pm

Next

Return to OpeniBoot development

Who is online

Users browsing this forum: Alexa [Bot] and 0 guests