Uninstall iDroid

From iDroid Project

Jump to: navigation, search

These instructions allow you to uninstall iDroid and openiboot without needing to restore (which allows you to keep your data). By far, the easiest and best way to uninstall iDroid is to restore your firmware, but that requires a wipe of all your data as well as the possibility of needing to jailbreak again.

WARNING: DO NOT use the Reset function in iOS' Settings. That will remove OpeniBoot but will get you into a Recovery Loop

Before you begin, why do you want to remove iDroid? :(

Contents

Preparing your computer's OS

If ever you installed OpeniBoot using Bootlace and want to uninstall it via a computer or Bootlace does not work, here are some prerequisites needed for your computer. If you have installed OpeniBoot manually and have the necessary tools, skip this section.

Linux Preparation

These steps are designed for Linux users.

  1. Open a Terminal:
  2. Type these commands into the Terminal window (don't forget to enter your password when asked):
    sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev libreadline6-dev readline-common libreadline6 libreadline-dev
    Please note that the apt-get or aptitude command is only for Debian or Ubuntu distros. Use the appropriate command for your Linux distro, for example emerge or portage for Gentoo, yum for Fedora, and yast for Slackware distros.

OS X 10.6 Preparation

  • Libusb and libreadline are needed. Please download the following and run the following package:
http://cdn.idroidproject.org/release/tools/OpeniBoot-Tools-Installer-1.0-OSX.pkg
WARNING: This will overwrite any versions you have installed with Homebrew.

Windows Preparation

You need to have the Microsoft .NET Framework installed. Download it via Windows Update or from Microsoft.

  1. Download the OIB tools for windows from here:
    http://cdn.idroidproject.org/release/tools/OIBTools-installer-windows-1.0.zip
  2. Extract/unzip the archive. Run the executable installer.
  3. Run the Add Hardware Wizard (Start -> Run -> "hdwwiz")

Add Hardware Wizard

  1. Read the warnings, then click "Next"
  2. Choose "Install the hardware that I manually select from a list (Advanced)" this is the 2nd option, then click "Next"
  3. Select "Show All Devices", then click "Next"
  4. You are going to see a grayed-out text box with "(Retrieving a list of all devices)", click the "Have Disk..." button
  5. "Browse" to the where you installed OpeniBoot Tools (default is C:/Program Files/OpeniBoot Tools/) and then to your OS version. It will be looking of a .inf file so select "oibdev.inf" and click "Open" then "OK". It's the only file there so you shouldn't go wrong.
  6. Select "Apple Mobile Device (OpeniBoot Mode)" then click the "Next" button
  7. Install the driver. When a warning comes up about trusting Richard Ian Taylor (ricky26) click "Install" and "Always trust software from "Richard Ian Taylor""
  8. Wait for the confirmation. It should warn about "Device cannot start", click the "Finish" button.
  9. Now open Device Manager (Start -> Run -> "devmgmt.msc").
  10. Expand the Portable Devices tab to see that "Apple Mobile Device (OpeniBoot Mode)" is listed but has a yellow exclamation mark.
  11. Uninstall the driver with the yellow exclamation mark but do not delete the software for the driver. This is too stop Windows from popping up with new Hardware found on every start-up.

Download and Installation

  1. Depending on your Operating System, download the tools to install OpeniBoot from here:
    http://cdn.idroidproject.org/release/tools/
    These tools have been improved and updated from the original ones created by planetbeing. For best results and optimum installation, it is advised to use the tools from the download link.
  2. Extract/unzip the archive. You should end up with a folder named for your type of OS; i.e. Linux-x86 for 32-bit Linux, Linux-x86_64 for 64-bit Linux, and OSX for Mac OS X 10.6. Please note that the OS X tools were built using 10.6 Snow Leopard so they may or may not work on 10.5 Leopard.
  3. Copy/Move the files from the folder extracted (corresponding to your OS) to a convenient location (ex. Desktop).
  4. The convenient location must contain: loadibec, oibc, and linux (if you are using 64-bit Linux).
  5. Open up a Terminal or command prompt and navigate to the convenient location containing loadibecand oibc. The following is only an example command:
    cd Desktop
  6. Turn off then turn on your device. The device's screen should flash for a brief second and the OpeniBoot menu will load. You can use Bootlace's Quickboot to go into Console; if you do this, skip step 7.
  7. Using the volume buttons (or Power button if you are on iPod Touch 1G), navigate to the console selection (the cog icon) but don't press the Home button yet.
  8. In the Terminal window type the following command:
    sudo ./oibc
    • In Windows command prompt, enter:
    oibc
    Do not press enter yet - this is where your quick reflexes will pay off.
  9. Press the Home button on the device, wait 1 or 2 seconds and then press enter on your PC to send the command, this is necessary as there is a current problem with openiboot where the computer often does not connect to the device if the console screen has been on for a long time. You will know if the computer has failed to connect to the device if you receive only this output:
    !<filename>[@<address>] to send a file, ~<filename>[@<address>]:<len> to receive a file
    ---------------------------------------------------------------------------------------------------------
    The command will succeed if you see the OpeniBoot ASCII art on the Terminal or command prompt screen on your PC. Windows users may have to try entering oibc multiple times before the drivers are loaded and ready to go (depending on your USB port speed and PC processing power).
  10. In the Terminal or command prompt window type this command:
    uninstall
  11. After the confirmatory message, type this command in the Terminal or command prompt:
    reboot
  12. Your device should reboot and you will boot iOS normally.

Delete iDroid files

  1. ssh into your iPhone or use an iPhone File Manager
    • Ubuntu users, the simplest way is to go to Places>Network and click on iPhone (or whatever you named your iPhone) and enter in your user credentials.
    • For those who insist on using terminal, (including OSX users) ssh root@192.168.0.1, where 192.168.0.1 is the ip of your iPhone, and enter the password (default is "Alpine")
    • Windows users, download a program called putty which is an ssh client for Windows. Once you have connected to your iPhone you can follow the terminal instructions below.
  2. Open up the directory /private/var/idroid
    • Terminal users, cd /private/var/idroid (and make sure you are doing this into the terminal of your iPhone, and not your machine).
  3. Delete the following files: (For those who are UNIX illiterate, rm is the equivalent of del)
    • system.img
    • userdata.img
    • cache.img
    • android.img.gz
    • zImage
  4. You're done! Hopefully everything is working properly, if anything is broken or does not work, drop a line in our forum.