Advertisement
ZackehSoul

Compiling OpeniBoot For All Devices

Sep 8th, 2011
12,523
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. To start with, download the required files:
  2. 51-android.rules: http://www.mediafire.com/?w88nig8q5p8zcwt
  3. libcurl: http://curl.haxx.se/
  4.  
  5. First of all, extract the libcurl package to your desktop then you can follow the commands as is.
  6.  
  7. - cd Desktop/curl-x.xx.x (substitute the "x"s for the build number you have)
  8. - ./configure
  9. - make
  10. - sudo make install
  11. - cd ../../
  12. - sudo 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 scons manpages-posix manpages-posix-dev
  13. - git clone http://github.com/iDroid-Project/openiBoot
  14. - cd openiBoot
  15. - sudo toolchain/build-toolchain.sh make
  16. - git submodule init
  17. - git submodule update
  18. - cd openiboot
  19. - scons iDevice (a.k.a iPhone3GS, iPad1G, iPodTouch3G, aTV2G)
  20. - cd ../utils/syringe && make && cd ../../
  21. - cd utils/oibc && make && cd ../../openiboot
  22.  
  23. Provided you downloaded the .rules file, place it on your desktop then:
  24.  
  25. - sudo cp /home/<user>/Desktop/51-android.rules /etc/udev/rules.d/
  26.  
  27. OLDER GENERATIONS:
  28. Now you need to place your device into Recovery Mode (Connect To iTunes Mode) if you use any of the following:
  29.  
  30. iPodTouch1G
  31. iPodTouch2G
  32. iPhone2G
  33. iPhone3G
  34.  
  35. And then:
  36.  
  37. - ../utils/syringe/utilities/loadibec device_revision_openiboot.img3 (e.g. iphone_3g_openiboot.img3)
  38.  
  39. NEWER GENERATIONS:
  40. Alternatively, you need to place your device into DFU mode if you use any of these:
  41.  
  42. iPhone4
  43. iPhone3GS
  44. aTV2G
  45. iPad1G
  46.  
  47. And then:
  48.  
  49. - ../utils/syringe/utilities/loadibec device_revision_openiboot.bin (e.g. iphone_3gs_openiboot.bin)
  50.  
  51.  
  52. Recovery Mode users will need to select to boot into Console using the volume buttons to scroll and Home to confirm, whereas DFU mode users will boot straight into Console.
  53.  
  54. Wait until you see "OpeniBoot" on your device's screen, then type:
  55.  
  56. - ../utils/oibc/oibc
  57.  
  58. Your Terminal window should now match your device screen. Now just go ahead and enter the following command to install OpeniBoot. Note: Devices that used DFU mode to boot OpeniBoot can only *RUN* at this point in time.
  59.  
  60. - install
  61.  
  62. OpeniBoot will then be flashed to your device's NOR - This will take a while, your NOR will be backed up during this process, and can be found in the current directory as norbackup.dump.
  63.  
  64. At whichever point you wish to leave OpeniBoot just send the command:
  65.  
  66. - reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement