![]() | ||
5g easy installation tutorial!
| ||
| Notices |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) | ||||||
| Bridging Leg3nd ![]()
Join Date: Dec 2005 Location: Atlanta, GA
Posts: 1,917
Tournaments Joined: 0 Tournament Wins: 0 Gave Thanks: 1
Received Thanks: 5
Nominated 0 Times in 0 Posts TOTM Award(s): 0 ![]() | 5g easy installation tutorial! From: IpodLinux.Org Tut By: silviu Original Link: http://ipodlinux.org/forums/viewtopic.php?t=7748 Holy hell update: I would like to anounce that thecompkid has created a video tutorial to go along with this guide. If you are stuck, try and follow along with it, it will probably help you: http://www.youtube.com/watch?v=2iZjUbmu4T0 Please do not ask question regarding the video here, keep the disctussion only for this tutorial. If you have questions/comments about the video, the thread is here: http://ipodlinux.org/forums/viewtopic.php?t=8889 BIG THANKS TO THECOMPKID FOR DEVOTING HIS TIME TO THIS! 8) 8) 8) 8) 8)Hello all! So I've been saying for a while that I would write a very easy-to-understand tutorial for installing iPL in your 5th generation iPod, so here it is. It is the first writing, and I may have gotten some things wrong. Please tell me if you find anything wrong so I can correct it. Some Disclaimers: 1. Using this tutorial will ERASE ALL OF YOUR MUSIC! Be sure your music is backed up! I am not responsible for any loss of data as well. I once reformatted my iPod with an English paper on it, making me lose an entire night rewriting it. LEARN FROM MY MISTAKE! 2. I am not responsible for anything that happens to your iPod. I take no responsibility for any damage you do to it. Now I have never heard of anybody's iPod being busted on these forums (except for that poor guy who washed it by accident,) but yours could be the first. It is not likely, but not impossible. 3. This tutorial still requires some computer experience, and installing linux as well. I will guide you through this. If something goes wrong, you can post here, but do not go bugging the devs, they are busy enough. This is still unsupported by them, so you are trying this at your own risk. Also, READ ALL THE INSTRUCTIONS CAREFULLY! Re-read the steps before posting for help! Note: There is a MUCH EASIER way to install if you have access to a mac: http://ipodlinux.org/forums/viewtopic.php?t=8138 Please don't ask questions about it here, however. Step 1 - Backup and Bootloader install (From Windows) 1.1-Go to C:\ and create a new folder called "ipl" (no quotes) you will place all the files you need here. C:\ should be the root of your main drive! 1.2-Reboot your iPod by holding the menu and center buttons for about six seconds. When the Apple logo appears, hold the center and play buttons together until you see a monochromatic screen. This is disk mode. If you see the regular ipod menu or a colour screen, you have done it wrong. Try again. 1.3-Connect your iPod to your computer 1.4-Use this opportunity to back-up all your files and music. AFTER THIS THEY WILL BE ERASED! 1.5-Go to this website: http://www.rockbox.org/twiki/bin/vie...g_from_a_crash Download ipod_fw.exe and ipodpatcher.exe and place them in your "ipl" folder Get http://rapidshare.de/files/14770836/loader.bin.html (this is the bootloader), place this in ipl as well. Alternate mirror for loader.bin: http://www.megaupload.com/?d=QTHVMLKW 1.6-Start Task Manager (ctrl-alt-del), go to processes, select ipodservice.exe, and click on "End Process" 1.7-Go to Start > Run and type in "cmd.exe" this will start a command prompt. Type in "cd c:\". It should show "C:\>". Type in "cd ipl", it should change to "C:\ipl>" 1.8-Type in "ipodpatcher 0", and see what it says. Most likely, "Drive is not an ipod, aborting". Try this again, replacing the 0 with a 1, or a 2, and so on, until you get something like a partition table, listing an empty one and a fat32 one. Remember what number you typed in after ipodpatcher to get this. For me it was 1, for you it may be different. This number is N. -If you get a drive is protected error or something similar, go back to step 1.6 Instead of doing steps 1.9 to 1.13, you can follow the alternate installation instructions below for step 1. Please note that I have not tried the method yet, so let me know if it works for you. 1.9- Type "ipodpatcher -r N bootpartition.bin" into your command prompt, replacing N with the number from before. This will create a file called bootpartition.bin, a backup of your boot partition. ALWAYS KEEP THIS FILE IN-CASE YOU MUST RESTORE A BACKUP! 1.10-Type "ipod_fw -o apple_os.bin -e 0 bootpartition.bin". This will create a backup of your Retail OS. Then type "ipod_fw -o apple_sw_5g_rcsc.bin -e 1 bootpartition.bin". This will create a backup of the video chip firmware. 1.11- Type "ipod_fw -g video -o my_sw.bin -i apple_os.bin loader.bin". This will create the new image file containing your original firmware, and the bootloader. 1.12-Type "ipodpatcher -w N my_sw.bin", replacing the N with the number from step 1.8. Wait until the command prompt says it is done. Then, go to your system tray and safely remove your ipod. Disconnect it. 1.13-Your ipod should restart (if it doesn't, hold menu and center for 6 seconds) and it should show a blue screen, with looping text. This is GOOD. Reboot your ipod again, and when it shows the apple logo, hold center and play until it goes to disk mode. -If this does not work and you want to retry, first type in "ipodpatcher -r N bootpartition.bin" (replacing N with the number from 1.8), and it should go back to normal. Then, start from 1.9. Alternate method of doing steps 1.9 to 1.13 (Big thanks to Thecompkid, the script and instructions were made by him )Heres a small guide to using it: ---------------------------------------------------------------------------------------- Download: http://www.bestsharing.com/files/ms0...bootloader.bat Syntax: bootloader N N is the ipodpatcher drive number (The number from step 1.8 ) How to use: To use bootloader.bat, place the file in C:\ipl Type in the console:"bootloader N", where N is the ipodpatcher number. This installer script will complete the bootloader installation. ---------------------------------------------------------------------------------------- Once again big thanks to Thecompkid, who is also working on a video tutorial. Step 2 - Partitioning (From Linux) 2.1-Download SLAX http://slax.linux-live.org/download.php it is a LiveCD linux distro, and a very good one. Be sure you get the standard version, as the Kill Bill one will not work properly for this tutorial. It doesn't require any installation, it simply loads the Linux OS into memory and boots it. We will be using this. Don't worry if you don't know how to use linux, I will help you out. SLAX is very easy to use. Burn the .iso that you download to a CD. A good program for this is Alcohol 120%. Go download a trial. http://trial.alcohol-soft.com/en/ For people having problems with SLAX booting: Quote: Slax has a weird problem with running on PC's with the P4 with hyper threading enabled. When slax comes up for the first time, instead of hitting enter, hit F1. Then type in the following: slax acpi=off It'll work then. 2.2-Insert your SLAX CD into your drive, and restart your computer. You should be met by a SLAX bootup screen. If it goes into Windows XP, go to your BIOS settings and make sure it boots from CD BEFORE the Hard-Drive. When you are met with the slax screen, press enter. It will boot. 2.3-After the booting sequence, it will ask you for login. Type in "root", and then "toor" for password. After you've logged in, type in "startx". It should load the graphical interface, one very similar to windows. On the bottom, you will have the taskbar, and on the bottom left all of the common applications. We will only be using these. Get acquainted with it, start Konqueror, and try typing www.google.com. If internet does not work, then you will have to find some way to get all the files you need from windows. Don't ask for help with this. Here is some info on how you might be able to get internet running. There are some good link at the bottom of the page (Thanks to TimJC) http://home.comcast.net/~qatz/dhcp.html 2.4-Connect your ipod. Make sure you are in disk-mode first. A dialogue will come up, with the title "Removable Device (sdX2)". Remember what X is! Usually, it is A. Remember it. PRESS CANCEL! Start Konsole from the bottom left. This is your command-line interface, type everything here. - If you did not cancel when the dialogue came up, go up one level with the up arrow near the home button, right click on sda2, and click on safely remove. Then, reconnect your ipod start this step again. 2.5- In Konsole, type "/sbin/fdisk /dev/sda" replace "a" in "sda" with whatever letter I told you to remember before, and remember to do that form now on. Ignore the warning that comes up. Type in "p". A partition table should come up. Remember the start value for the second partition! Write it down even. For me, it is 11. REMEMBER IT! 2.6-Type "d", then "2". This will delete your music partition. Then, type "n", then "p", then "2", then the number that I told you to remember above. For me it is "11" and usually for all 30 gig videos. For 60 gig I believe it is "15", though I am not positive. Then, it will ask for last cylinder. Check the "default" (for me it is 3648) and subtract 16. So for me it is "3632". Remember, default minus 16! 2.7-Type "n", then "p", then "3", then the last number you typed above PLUS ONE. For me, it is "3633". Then, press enter for last cylinder, it will put the default value. Type in "a", then "2". Type in "t", then "2", then "b". 2.8-Type in "p". You should get your new partition table. For the 30 gig it is: Disk /dev/sda: 30.0 GB, 30005821440 bytes 255 heads, 63 sectors/track, 3648 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 10 80293+ 0 Empty /dev/sda2 * 11 3632 29093715 b W95 FAT32 /dev/sda3 3633 3648 128520 83 Linux For the 60 gig it is (Thanks to TimJC): Device Boot Start End Blocks Id System /dev/sda1 1 14 112423+ 0 Empty /dev/sda2 * 15 7280 58364145 b W95 FAT32 /dev/sda3 7281 7296 128520 83 Linux The important thing is the id is 0, b, and 83. sda2 should start one block after sda1 ends, and most likely you will have the exact same values as me if you have a 30 gig. If you have a 60, it will be different. IF YOU MESSED SOMETHING UP: If you do not think it is correct, type "q" and then go back to step 2.5 2.9- If you got it correct, type in "w". It will change your partition table. A dialogue may come up asking to open sda3, CANCEL IT! Now, format your partitions: "mkdosfs -F 32 /dev/sda2" to format the fat32. Be sure the F is capitalized! "mke2fs /dev/sda3" to format the linux partition "tune2fs -c 0 /dev/sda3" to set the maximal mount count to 0. It will show up as -1, this is correct. If all goes well, your partitions are done! All should be easy from here! Step 3- Installing the proper files (From Linux) 3.1- Open Konqueror (you should still be in Slax) and click on "storage media". Open sda3 and sda2. If they open alright, you have the proper partitions. (If you do not see one of them, try right clicking on the one you do see, clicking on "safely remove", and reconnecting your ipod.) Download the userland: http://so2.sys-techs.com/ipod/ipod_fs_240206.tar.gz (Alternate: http://rapidshare.de/files/16343984/...06.tar.gz.html ) , it should ask you if you want to save or open with ark. Open with ark! Wait for ark to download it, and then click on the purple icon at the top. It will ask you where to extract the files. Click on the little blue folder, click on storage media in the left, click on sda3 (not sda2) and click ok. Click ok again to extract. It might give you an error about a file expected instead of a folder, just press skip. 3.2- Go here: http://www.josh.sys-techs.com/svnbuilds/ and click on appearance with the highest number. For me, this is 935. Open with ark, exactly as you did before, only this time extract it to the /usr/share/ folder in sda3. If it asks about overwriting anything, just press skip. Go back to that same link above, and click on pzmodules with the highest number. For me, it is 997. Open with ark, same as before, only this time extract everything to /usr/lib/ folder in sda3. Go back to the site, yet again, and get podzilla2 with the highest number, for me it's 980. Open with ark, and this time just extract it to sda3, don't put it in any other folder. Note: Some people have reported problems with extracting podzilla2, and have said that simply renaming it to podzilla works. Try it out if you have issues. 3.3- Start Konqueror, go to storage media, go to sda3, and right click on the podzilla2 file (it will have 3 numbers after it.) Click on "rename", and change the name to "podzilla". Drag podzilla to the "bin" folder, and when asked, click on "move here." It will ask you to overwrite, click on "overwrite". Double-click on bin, find podzilla, right-click on it, and press "properties". Open the "permissions" tab at the top of the dialogue, and check the "is executable" box. Click ok, and go up-one-level twice (with the up arrow near the "home" button). 3.4- Go here: http://ipodlinux.org/builds/ and click on "last modified" at the top. Scroll all the way to the bottom, and it will show you the newest files. Click on the newest kernel.bin.gz (not the .asc one) and open with ark. Extract it to sda2, NOT sda3. This will make updating the kernel from windows possible, if need be. Go to Konqueror, and click on sda2 (not sda3). Right click on the kernel file you just extracted, and rename it to "kernel.bin". Go up-one-level, right click on sda2, and click on "safely remove". Now, disconnect your ipod. Step 4 - Podzilla 2! (From Windows + iPod) 4.1 When you disconnect your ipod, it should restart. If it does not, reboot with menu + center. It will show the blue background, run some white text, and a menu will come up with three options: RetailOS, iPodLinux, and Disk Mode. If the white text keeps looping, then do step 3.4 again. -RetailOS: Pretty obvious, will put you back to the normal OS. It will then always stay in RetailOS, unless you reboot with menu + center. -iPodLinux: Boots Podzilla2! Try it out, the next step will show you how to use it. -Disk Mode: Self-explanatory. DO NOT RESTORE YOUR IPOD IF YOU ARE AT THIS STEP AND IT WORKS FINE! Restoring will ruin all your hard work. Instead, go to disk-mode or RetailOS, plug it in, run iTunes (it will think of it as a new iPod,) and just put all your music back on. This is ALL that is necessary! Also, DO NOT UPDATE! Updating will do the same. 4.2 When you start iPodLinux, you will be greeted by some orange text, then 3 black dots, then a couple of loading bars. You will get two errors. Press center to bypass them, they are not important. When podzilla2 starts, go to settings, and change the backlight timer to your preference (I like 10 sec.) Go to Appearance, and choose a nice theme. Skywards is nice for white ipods, black glass is nice for black ipods. Try out the extras! Lots of neat stuff you can play around with. If you get a "Could not run '/etc/rc' : No such file or directory" error, start again from step 3.1 (installing the userland). Even better would be to delete everything on your sda3 partition beforehand, it eliminates problems. Alternate solution to the etc/rc problem (Thanks to darkip): ==How to solve the etc/rc problem== I found that when I used Ark to extract, it never extracted the 'links', this is what causes the problem. Solution: Download ipod_fs_240206.tar.gz Mount your ipod's third partition (sda3 for me) Open a terminal and cd to the mounted partition Then type: Code: tar xvzf /<path_to>/ipod_fs_240206.tar.gz You can then use Ark for the rest of the archives Podzilla0 (Legacy) or Floydzilla will NOT work properly on the 5g, so stop asking. 4.3 INSTALLING MUSIC SUPPORT! I have had a lot or problems getting MPD running. If anyone wants to write a nice tutorial, I'll link it here. For music, you will have to go back to the retail OS. 4.4 - Installing Rockbox Installing rockbox is incredibly easy. From Windows, go to rockbox.org, click on daily builds, download the latest for ipod video, and extract the .zip to the root of your ipod (your fat32 partition.) The Bootloader will give you "Rockbox" as a fourth option when you boot up, in addition to the other three. 4.5 - Extra stuff Do not post questions about this stuff here, ask in the the threads linked Gameboy Emulator iBoy Tutorial - http://ipodlinux.org/forums/viewtopic.php?t=8399 NES Emulator iNes Tutorial - http://ipodlinux.org/forums/viewtopic.php?t=8618 Arcade Machine Emulator MAME Tutorial - http://ipodlinux.org/forums/viewtopi...highlight=mame I FSCKED UP MY IPOD!!!1!!1!one! (From Windows) Do not worry. To restore, plug your ipod in (in disk mode), press ctrl-alt-del, end ipodservice.exe, get the HP formatting tool, http://h18007.www1.hp.com/support/fi...oad/20306.html format your ipod with fat32 and quick format, and then restore your ipod with the restore utility. And that is all! Hopefully this tutorial will help those that were confused by the wiki instructions, and those that are new to linux. It is not easy but it's easier, so give it a try, and tell me what you have trouble with. Also, please notify me of any mistakes or ommisions. Pictures! Send me a picture of ipl on your 5g, and it shall go here! ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Thanks to Aust68, Ranunculoid, TimJC, Rezz, Jury, Pinky, and of course myself ![]() (Please note, the gameboy emulator is only available in Rockbox, don't ask about it here.) -Silviu
__________________ ![]() 240Atlanta.com | ||||||
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |