I'm very surprised that nobody has attempted to make a guide on how to do this (besides in the wiki, of course). So I'll try to make this as simple as I can.
To view the wiki VMware,
Click HereThe reason I am posting this up is so you may patch up a source code, then compile it. I have not seen a guide on this, so here we goGo and find yourself some
patches that you wish to use. Save them all into a folder that's easy to remember (ie. Desktop).
Download these files, but DONT DO ANYTHING TO THEM YET.
VMware player7zipDebian 2.7z (Takes time to download, 184mb)
Part 1: Downloading and Installing1.1 Go into your C:\ drive and make a new folder named "vmware" (no quotes). This is just for orginization.
1.2 Put all 3 files you just downloaded and place them into the "vmware" folder.
1.3 Double click on the
7zip file. Follow the instructions for installing it, use the default settings.
1.4 Extract the
Debian 2.7z files right into the "vmware" folder. This may take some time, it requires more than 2 gigabytes of space!
1.5 Finally, double click on the
VMware player. Installation will take 5-10 minutes. Just use default settings again. Make a desktop shortcut, it makes it easier to find.
1.6 Open up the VMware player on the desktop. It should ask you to restart the computer. Please do so, and return to this page after the restart.
PART 2: Patching2.1 Now that you have restarted your computer, open up the VMware player. The first thing that pops up is a window asking you to find the "virtual machine configuration file". It is located in C:\vmware . It should be the only file that shows up, and click it and hit open.
2.2 It may take a few minutes to load. Once it loads up, a screen should come up with a username and password slot. In the username slot, type in "user" (no quotes). In the password spot, type "rockbox" (no quotes).
YOU PROBABLY WILL NOT SEE ANYTHING SHOW UP IN THE PASSWORD BOX, THIS IS GOOD. MAKE SURE YOU TYPE IN THE PASSWORD CORRECTLY.2.3 Once it loads up, you should see a picture with the rockbox logo on it. Right click on the screen, scroll down to "Xshells", and click on "Eterm".
2.4 A command prompt type box should come up. Type in the following to download the CVS (source code).
cvs -z3 -d:pserver:username@www.rockbox.org:/cvsroot/rockbox co rockbox-devel
If that doesn't work above, instead of "username" type in "anonymous" (no quotes). The download will take a few minutes.
2.5 Next, go into your CVS folder by typing in
cd rockbox-devel
2.6 Open up a windows explorer (or internet explorer if windows doesn't have an address bar) and type in the following
\\debian\user
A username and password window should pop up. For the username, type in "user" (no quotes) and for the password type in "rockbox" (no quotes).
2.7 A folder should show up named "rockbox-devel". Double click it.
2.8 Copy and paste all of your patches into this folder.
2.9a [
optional]To test a patch and see if it works, without actually patching it up, type in[
/optional]. TELL ME IF THIS WORKS!!
patch --dry-run --binary -p0 < patchfilename
Where patchfilename is the name of the file you are patching.
2.9b To patch your file, type in the following.
patch --binary -p0 < patchfilename
NOTE!! If you get an error, you probably put in the file name for that patch incorrectly. Make sure you have the patch file name WITH the .patch or .diff on the end. For example:
patch --binary -p0 < scroll.patch
ALSO!! If you get an error for every patch, you may need to change the "-p0" to "-p1" or "-p2" and so on. This usually isn't the case, however.
Now that you're done patching, move on to the next section.
PART 3: Compiling3.1 Make sure you're cd'ed in the "rockbox-devel" folder.
3.2 Type in the following to make a new folder named "build_h120"
mkdir build_h120
3.3 Go into that new folder by typing in
cd build_h120
3.4 Now type in the following
../tools/configure
A bunch of choices should appear. Find the music player that you wish to put this on, and type in the number corresponding to that music player. Example: Type in "15" (no quotes) for the iPod Video. Another bit of text will appear, just type in "n" (no quotes) for normal.
3.5 Now type in
make
You will see text flying across the screen. This is exactly what you need to happen.
3.6 Once the text is done, type in
make zip
To finish it. The zip file will be named "rockbox" in your debian folder at rockbox-devel/build_h120 .
Unzip the file, and place both of the files into your iPod's root. Congradulations, you just made a custom patched up rockbox!
If you wish to start over from the beginning, either delete the entire rockbox-devel folder and retype the command that downloads the rockbox-devel folder, OR type incvs -q up -dPC
Thanks to
ryran for some of the commands and everyone else who helped me do this for the first time.
I need Feedback to see how this worked for everyoneALSO I made a patched up rockbox for a 5g with absolute positioning for rockboy. I need people to test it out for me and give me feedback via post or PM. Thank you