blob: b5a8bf0bbc887cf5d818d507925858114b929882 [file] [log] [blame]
Dominik Riebeling536c6b42006-08-14 07:13:01 +00001% $Id$ %
2\chapter{Installation}\label{sec:installation}
3\section{Prerequisites}\label{sec:prerequisites}
4Before installing Rockbox you should make sure you meet the prerequisites.
5Also you may need some tools for installation. In most cases these will be
6already available on your computer but if not you need to get some additional
7software.
8
9\begin{description}
Martin Arver5778dfb2006-08-25 08:59:25 +000010\item[ZIP utility.]
11 Rockbox is distributed as an archive using the \fname{.zip} format. Thus you
Dominik Riebeling536c6b42006-08-14 07:13:01 +000012 need a tool to handle that compressed format. Usually your
Martin Arver5778dfb2006-08-25 08:59:25 +000013 computer should have a tool installed that can handle the \fname{.zip} file
14 format.
15 Windows XP has builtin support for \fname{.zip} files and presents them to
16 you as folders unless you have installed a third party program that handles
17 compressed files. For other operating systems this may vary. If the
18 \fname{.zip} file format isn't recognized on your computer you can find a
19 program to handle them at \url{http://www.info-zip.org/} or
Dominik Riebeling536c6b42006-08-14 07:13:01 +000020 \url{http://sevenzip.sf.net/} which can downloaded and used free of
21 charge.
22\item[USB connection.]
23 To transfer Rockbox to your \dap{} you need to connect it to your computer.
Martin Arver5778dfb2006-08-25 08:59:25 +000024 To proceed you need to know where to access the \dap{}. On Windows this
Dominik Riebeling536c6b42006-08-14 07:13:01 +000025 means you need to figure out the drive letter the device got associated
26 with. On Linux you need to know the mount point of your \dap{}.
27 \opt{ipod}{A connection means you need to be able accessing your \dap{}
28 as hard disk meaning you need to use the so-called ``disk-mode''.
29 \fixme{add a note on how to enter the disk mode}
30 }
Martin Arver5778dfb2006-08-25 08:59:25 +000031\item[Text editor.]
Dominik Riebeling536c6b42006-08-14 07:13:01 +000032 If you want to create customized configuration files you'll need a text
33 editor like Windows' ``Wordpad''. Of course you can simply save
34 configurations on the \dap{} for which you don't need an editor at all.
35 Modifying configurations from your computer is a more advanced feature
36 which you probably won't need.
37\end{description}
38
39
40
41\section{Installing Rockbox}\label{sec:installing_rockbox}
42\opt{MASCODEC}{
43 \subsection{Using the windows installer}
Martin Arver5778dfb2006-08-25 08:59:25 +000044 Using the Windows self installing executable to install Rockbox is the
Martin Arver7bdd03a2006-08-27 15:00:50 +000045 easiest method of installing the software on your \dap{}. Simply follow the
46 on-screen instructions and select the appropriate drive letter and
47 \dap{}-model when prompted. You can use ``Add / Remove Programs'' to
48 uninstall the software at a later date.
Dominik Riebeling536c6b42006-08-14 07:13:01 +000049
50 \subsection{Manual installation}
51 For non{}-Windows users and those wishing to install manually from the archive
52 the procedure is still fairly simple.
53}
54\opt{SWCODEC}{
Martin Arver5778dfb2006-08-25 08:59:25 +000055 \subsection{Introduction}
56 There are two separate components of Rockbox that need to be installed in
57 order to run Rockbox.
Dominik Riebeling536c6b42006-08-14 07:13:01 +000058 \begin{enumerate}
Martin Arver5778dfb2006-08-25 08:59:25 +000059 \item The Rockbox bootloader. This is the component of Rockbox that is
60 installed to the flash memory of your \playerman. The bootloader is the
61 program that tells your \dap{} how to boot and load other components of
62 Rockbox.
63 \item The Rockbox firmware. Unlike the \playerman\ firmware which runs
64 entirely from flash memory, most of the Rockbox code is contained in the
65 build that resides on your \daps{} hard drive. This makes it easy to update
66 Rockbox. The build consist of a file named \firmwarefilename\ and a
67 directory called \fname{.rockbox} which are located in the root directory
68 of your hard drive.
Dominik Riebeling536c6b42006-08-14 07:13:01 +000069 \end{enumerate}
70
71% Installing the bootloader
72\opt{h1xx,h300}{\input{getting_started/iriver_install.tex}}
Martin Arver5778dfb2006-08-25 08:59:25 +000073\opt{ipod4g,ipod3g,ipodcolor,ipodnano,ipodmini,ipodvideo}
Dominik Riebeling536c6b42006-08-14 07:13:01 +000074 {\input{getting_started/ipod_install.tex}}
75\opt{x5}{\input{getting_started/iaudio_install.tex}}
76
77 \subsection{Installing the firmware}
78
79 After installing the bootloader, the installation becomes fairly easy.}
80 There are three different types of firmware binaries from Rockbox website:
81 Current Version, Daily Build and Bleeding Edge.
82 You need to decide which one you want to install and get the version for
83 your \dap{}.
84
85\begin{description}
86\item[Current Version.] The current version is the latest stable version
87 developed by the Rockbox Team. It's free of known critical bugs. It is
88 available from \url{http://www.rockbox.org/download/}. The current version
89 includes everything meaning you won't need to download the fonts package
90 separately.
91 \opt{SWCODEC}{\note{currently there hasn't been any stable release for
Dominik Riebeling565d46b2006-08-25 14:51:51 +000092 \playername{}!}}
Dominik Riebeling536c6b42006-08-14 07:13:01 +000093
94\item[Daily Build.] The Daily Build is a development version of Rockbox. It
95 supports all new features and patches developed since last stable version. It
96 may also contain bugs! This version is generated automatically every day
97 and can be found at \url{http://www.rockbox.org/daily.shtml}.
98 The daily builds don't include the fonts (as they change rarely).
99 When installing Rockbox for the first time you should install the fonts
100 package.
101
102\item[Bleeding Edge.] Bleeding edge builds are the same as the Daily build,
103 but built from the latest development on each commit to the CVS repository.
104 These builds are for people who want to test the code that developers just
105 checked in.
106\end{description}
107
108If you don't want to get undefined behaviour from your \dap\ you should
109really stick to the Current Version. Development versions may have lots of
110changes so they may behave completely different than described in this manual,
111introduce new (and maybe annoying) bugs and similar. If you want to help the
112project development you can try development builds and help by reporting bugs,
113feature requests and so so. But be aware that using a development build may
114eat also some more time.
115
116After downloading the Rockbox package connect your \dap{} to the
117computer via USB as described in the manual that came with your \dap{}.
118Take the file that you downloaded above, and unpack
119its contents to your \playerman{}'s drive.
120
121You will need to unpack all of the files in the archive onto your hard disk.
122If this has been done correctly, you will have a file called
123\fname{\firmwarefilename} in the main folder of your \daps{} drive, and
124also a folder called /\fname{.rockbox}, which contains a number of system
125files needed by Rockbox.
126
127\nopt{player}{
128 \note{If this is the first time you are installing Rockbox, you should also
129 download the ``Fonts'' package available on the Daily Builds page.}
130}%
131
132\note{Please note that the firmware folder starts with a leading dot. You may
133 experience problems when trying to create such folders when using Windows.
134 Directly unzipping to your \daps{} drive works flawlessly; it is only Windows'
135 Explorer that is limited in handling such files.}
136
137\section{Enabling Speech Support (optional)}\label{sec:enabling_speech_support}
138If you wish to use speech support you will also need a language file, available
139from \wikilink{VoiceFiles}. For the English language, the file is called
140\fname{english.voice}. When it has been downloaded, unpack this file and copy it
141into the \fname{lang} folder which is inside the \fname{/.rockbox} folder on
Martin Arver7bdd03a2006-08-27 15:00:50 +0000142your \dap{}. Voice menus are turned on by default. See
Dominik Riebeling536c6b42006-08-14 07:13:01 +0000143\reference{ref:Voiceconfiguration} for details on voice settings.
144
145\section{Running Rockbox}
146Remove your \dap{} from the computer's USB port. Unplug any connected power supply
147and turn the unit off. When you next turn the unit on, Rockbox should load. When
148you see the Rockbox splash screen, Rockbox is loaded and ready for use.
149
150\opt{ipod}{
151\note{Rockbox starts in the \setting{File Browser}. If you have loaded music
152onto your player using Itunes, you will not be able to see your music because
153Itunes changes your files' names and hides them in directories in the
154\fname{Ipod\_Control} folder. You can view files placed on your \dap{} by Itunes
155by initializing and using Rockbox's Tag Cache. See \reference{ref:tagcache} for
156more information.}
157}
158
159\section{Updating Rockbox} Updating Rockbox is easy. Download a Rockbox build.
160(The latest release of the Rockbox software will always be available from
161\url{http://www.rockbox.org/download/}). Unzip the build to the root directory
162of your \dap{} like you did in the installation step before. If your unzip
163program asks you whether to overwrite files, choose the ``Yes to all'' option.
164The new build will be installed over your current build replacing that.
165
166\note{Settings are stored on an otherwise-unused sector of your hard disk, not
167in any of the files contained in the Rockbox build. Therefore, generally
168speaking, installing a new build does \emph{not} reset Rockbox to its default
169settings. Be aware, however, that from time to time, a change is made to the
170Rockbox source code that \emph{does} cause settings to be reset to their
171defaults when a Rockbox build is updated. Thus it is recommended to save your
172settings using the \setting{Manage Settings} $\rightarrow$ \setting{Write .cfg
173file} function before updating your Rockbox build so that you can easily restore
174the settings if necessary. For additional information on how to save, load, and
175reset Rockbox's settings, see \reference{ref:SystemOptions}.}
176
177\section{Uninstalling Rockbox}
178If you would like to go back to using the original \playerman\ software, then
179connect the \playerman\ to your computer, and delete the
180\fname{\firmwarefilename} file. If you wish to clean up your disk, you may also
181wish to delete the \fname{.rockbox} folder and its contents. Turn the
182\playerman\ off and on and the original \playerman\ software will load.
183
184\opt{h1xx,h300}{\note{There's no need to remove the installed boot loader. If you
185 want to remove it simply flash an unpatched \playerman{} firmware.
186 Be aware that doing so will also remove the bootloader USB mode. As that
187 mode can come in quite handy (especially when having disk errors) it is
188 recommended to keep the bootloader. It also gives you the possibility
189 of trying Rockbox anytime later by simply installing the distribution
190 files.}
191}
192