add rbutil version warning
[Rockbox.git] / manual / getting_started / installation.tex
blobcd4602ce60f79a8a567171434ec2d5334b871827
1 % $Id$ %
2 \chapter{Installation}\label{sec:installation}
4 \opt{ipodnano}{
5 \note{Rockbox presently runs only on the original Ipod Nano. Rockbox does
6 \emph{not} run on the newer, second generation Ipod Nano (the all aluminium
7 version). For information on identifying which Ipod you own, see this page on
8 Apple's website: \url{http://www.info.apple.com/kbnum/n61688}
11 \opt{e200,c200}{
12 \note{Rockbox doesn't function on the newer v2 models. They can be identified
13 by checking the Sandisk firmware version number under
14 Settings $\rightarrow$ Info. The v1
15 firmware is named 01.xx.xx, while the v2 firmware begins with 03.}
18 \section{Overview}
19 There are two ways of installing Rockbox: automated and manual. While the
20 manual way is older, more tested and proven to work correctly, the
21 automated installation is based on a nice graphical application that does
22 almost everything that is needed for you. It is still important that you have
23 an overview of the installation process to be able to select the correct
24 installation options.
26 \opt{MASCODEC}{Rockbox itself comes as a single package. There is no need
27 to install additional software for running Rockbox.}
28 \opt{SWCODEC} {
29 \opt{HAVE_RB_BL_ON_DISK}{There are three separate components,
30 two of which need to be installed in order to run Rockbox.}
31 \opt{HAVE_RB_BL_IN_FLASH}{There are two separate components of Rockbox
32 that need to be installed in order to run Rockbox.}
34 \begin{description}
35 \opt{HAVE_RB_BL_ON_DISK}{
36 \item[The \playerman{} bootloader.]
37 The \playerman{} bootloader is the program that tells your \dap{} how to boot
38 and load the remaining firmware from disk. It is also responsible for the
39 disk mode on your \dap{}.
41 This bootloader is stored in special flash memory in your \playerman{}.
42 It is already installed on your \dap{}, so it is never necessary to modify
43 this in order to install Rockbox.}
45 \item[The Rockbox bootloader.] \index{Bootloader}
46 \opt{HAVE_RB_BL_ON_DISK}{The Rockbox bootloader is loaded from disk by
47 the \playerman{} bootloader. It is responsible for loading the Rockbox
48 firmware and for providing the dual boot function. It directly replaces the
49 \playerman{} firmware on the \daps{} disk.
50 \opt{gigabeat}{\note{Dual boot does not currently work on the gigabeat.}}}
52 \opt{HAVE_RB_BL_IN_FLASH}{
53 The bootloader is the program that tells your
54 \dap{} how to boot and load other components of Rockbox. This is the
55 component of Rockbox that is installed to the flash memory of your
56 \playerman.}
58 \item[The Rockbox firmware.]
59 \opt{HAVE_RB_BL_IN_FLASH}{Unlike the \playerman{} firmware, which runs
60 entirely from flash memory,}
61 \opt{HAVE_RB_BL_ON_DISK}{Similar to the \playerman{} firmware,}
62 most of the Rockbox code is contained in a
63 ``build'' that resides on your \daps{} drive. This makes it easy to
64 update Rockbox. The build consists of a directory called
65 \fname{.rockbox} containing all of Rockbox' files, which is located in the
66 root of your \daps{} drive.
68 \end{description}
71 \nopt{player} {
72 Apart from the required parts there are some addons you might be interested
73 in installing too.
74 \begin{description}
75 \item[Fonts.] Rockbox can load custom fonts. The fonts itself are
76 distributed as separate package and thus needs to be installed
77 separately. The fonts are not required to run Rockbox itself but
78 a lot of themes require the fonts package to be installed.
80 \item[Themes.] The view of Rockbox can be customized by themes. Depending
81 on your taste you might want to install additional themes to change
82 the look of Rockbox.
83 \end{description}
86 \section{Prerequisites}\label{sec:prerequisites}
87 \index{Installation!Prerequisites}
88 Before installing Rockbox you should make sure you meet the prerequisites.
89 Also you may need some tools for installation. In most cases these will be
90 already available on your computer but if not you need to get some additional
91 software.
93 \begin{description}
94 \item[USB connection.] To transfer Rockbox to your \dap{} you need to
95 connect it to your computer. To proceed you need to know where to access the
96 \dap{}. On Windows this means you need to figure out the drive letter
97 associated with the device. On Linux you need to know the mount point of
98 your \dap{}.
100 \opt{ipod}{
101 Your \dap{} should enter disk mode automatically when connected to a
102 computer via USB. If your computer does not recognise your \dap{}, you may
103 need to enter the disk mode manually. Disconnect your \dap{} from the
104 computer. Reset the \dap{} by pressing and holding the \ButtonMenu{} and
105 \ButtonSelect{} buttons simultaneously. As soon as the \dap{} resets, press
106 and hold the \ButtonSelect{} and \ButtonPlay{} buttons simultaneously. Your
107 \dap{} should enter disk mode, and you can try reconnecting to the computer.
110 \opt{ipod3g,ipod4g,ipodcolor,ipodmini}{
111 \note{\index{Firewire}Firewire detection is not supported in Rockbox at
112 the moment. Please use USB only.}
114 \end{description}
115 For manual installation and customization additional software is required.
116 \begin{description}
117 \item[ZIP utility.]\index{zip}
118 Rockbox is distributed as an archive using the
119 \fname{.zip} format. Thus you need a tool to handle that compressed
120 format. Usually your computer should have a tool installed that can
121 handle the \fname{.zip} file format. Windows XP has built-in support for
122 \fname{.zip} files and presents them to you as directories unless you have
123 installed a third party program that handles compressed files. For
124 other operating systems this may vary. If the \fname{.zip} file format
125 is not recognised on your computer you can find a program to handle them
126 at \url{http://www.info-zip.org/} or \url{http://sevenzip.sf.net/} which
127 can be downloaded and used free of charge.
128 \item[Text editor.] As you will see in the following chapters, Rockbox is
129 highly configurable. In addition to saving configurations within Rockbox,
130 Rockbox also allows you to create customised configuration files. If you
131 would like to edit custom configuration files on your computer, you will
132 need a text editor like Windows' ``Wordpad''.
133 \end{description}
135 \opt{ipod}{
136 \note{In addition to the requirements described above, Rockbox only works on
137 Ipods formatted with the FAT32 filesystem (i.e., Ipods initialized by iTunes
138 for Windows). It does not work with the HFS+ filesystem (i.e. Ipods
139 initialized by iTunes for the Mac). More information and instructions for
140 converting an Ipod to FAT32 can be found on the
141 \wikilink{IpodConversionToFAT32} wiki
142 page on the Rockbox website. Note that after conversion, you can still use
143 a FAT32 Ipod on a Mac.
147 \section{Installing Rockbox}\label{sec:installing_rockbox}\index{Installation}
148 \subsection{Automated Installation}
150 \opt{mrobe100}{\fixme{NOTE: The m:robe 100 is only supported in rbutil version
151 1.05 or greater which may not be available on the download site yet.}}
153 To automatically install Rockbox download the official installer and
154 housekeeping tool \textsc{Rockbox Utility}. It allows you to
155 \begin{itemize}
156 \item Automatically install all needed components for using Rockbox
157 (``Small Installation'')
158 \item Automatically install all suggested components (``Full Installation'')
159 \item Selectively install any of all available parts of Rockbox
160 \item Install additional themes interactively
161 \item Install voice files and generate talk clips
162 \item Uninstall all components you installed using Rockbox Utility
163 \end{itemize}
164 Prebuilt binaries for Windows, Linux and MacOS~X are
165 available from \download{rbutil/}. As Rockbox Utility is still under
166 development more information including up-to-date download links can be
167 found at \wikilink{RockboxUtility}.
169 \warn{Upon the first start of Rockbox Utility you \emph{need} to set at least
170 the correct player and mountpoint in the configuration dialog. Autodetection
171 can detect most player types. If autodetection failed or was unable to detect
172 the mountpoint make sure to enter the correct values. The mountpoint indicates
173 the location of the \dap{} in your filesystem. On Windows, this is the drive
174 letter the \dap{} gets assigned, on other systems this is a path in the
175 filesystem.}
176 \opt{ipodvideo}{\warn{Autodetection is unable to distinguish between the
177 \playerman{} 30~GB and 60~GB / 80~GB models and defaults to the
178 30~GB model. This will usually work but you might want to check the
179 detected value, especially if you experience problems with Rockbox.}}
181 \note{Rockbox Utility currently lacks some guiding messages. Please have a
182 look at the manual installation instructions if you are stuck
183 during installation.}
185 \subsection{Manual Installation}
187 \subsubsection{Choosing a Rockbox version}\label{sec:choosing_version}
189 There are three different types of firmware binaries from the Rockbox website:
190 \label{Version}
191 Release version, current build and daily build. You need to decide which one
192 you want to install and get the version for your \dap{}.
194 \begin{description}
196 \item[Release.]
197 \opt{archos}{The release version is the latest stable release, free
198 of known critical bugs. The current stable release of Rockbox, version
199 2.5, is available at \url{http://www.rockbox.org/download/}.
201 \opt{SWCODEC}{
202 There has not yet been a stable release for the \playername{}. Until
203 there is a stable release for \playername{}, use a current build.
206 \item[Current Build.] The current build is built at each source code change to
207 the Rockbox SVN repository, and represent the current state of Rockbox
208 development. This means that the build could contain bugs, but is most of
209 the time safe to use. You can download the current build from
210 \url{http://build.rockbox.org/}.
212 \item[Archived Build.] In addition to the release version and the current build,
213 there is also an archive of daily builds available for download. These are
214 built once a day from the latest source code in the SVN repository. You can
215 download archived builds from \url{http://www.rockbox.org/daily.shtml}.
217 \end{description}
220 Because current builds and daily builds are development versions which change
221 frequently, they may behave differently than described in this manual, or
222 they may introduce new (and maybe annoying) bugs. If you do not want to get
223 undefined behaviour from your \dap{} you should really stick to the current
224 stable release, if there is one for your \dap{}. If you want to help the
225 project development, you can try development builds and help by reporting
226 bugs. Just be aware that these are development builds that are highly
227 functional, but not perfect!
229 \subsubsection{Installing the firmware}\label{sec:installing_firmware}
231 \opt{sansa}{\warn{The following steps require you to change the setting in
232 \setting{Settings $\rightarrow$ USB Mode} to \setting{MSC} from within the
233 original firmware. Never extract files to your \dap{} while it is in
234 recovery mode.}}
235 \opt{h10,h10_5gb}{\warn{The following steps require you to use UMS mode and so
236 may require use of the UMS trick as described in the bootloader installation
237 section.}}
238 \opt{gigabeat}{\warn{During installation, do not connect your \dap{}
239 using the cradle but plug the USB cable directly to the \dap{}.}}
240 \opt{ipodvideo}{\warn{There are separate versions of Rockbox for the 30GB and
241 60GB/80GB models. You must ensure you download the correct version for your
242 \dap{}.}}
244 \begin{enumerate}
246 \item Download your chosen version of Rockbox from the links in the
247 previous section.
249 \item Connect your \dap{} to the computer via USB
250 \opt{ipod3g,ipod4g,ipodmini,ipodcolor}{ or Firewire} as described in
251 the manual that came with your \dap{}.
253 \item Take the file that you downloaded above, and use the ``Extract
254 all'' command of your unzip program to extract the files in the
255 \fname{.zip} file onto your \dap{}.
257 Note that the entire contents of the \fname{.zip} file should be
258 extracted directly to the root of your \daps{} drive. Do not try to
259 create a separate directory on your \dap{} for the Rockbox
260 files! The \fname{.zip} file already contains the internal
261 structure that Rockbox needs.
263 \end{enumerate}
265 \opt{archos}{
266 \note{
267 If the contents of the \fname{.zip} file are extracted correctly, you will
268 have a file called \fname{\firmwarefilename} in the main directory of your
269 \daps{} drive, and also a directory called \fname{/.rockbox}, which contains a
270 number of other directories and system files needed by Rockbox. If you receive a
271 ``-1'' error when you start Rockbox, you have not extracted the contents of
272 the \fname{.zip} file to the proper location.
276 % This has nothing to do with swcodec, just that these players need our own
277 % bootloader so we can decide where we want the main binary.
278 \opt{SWCODEC}{
279 \note{
280 If the contents of the \fname{.zip} file are extracted correctly, you will
281 have a directory called \fname{/.rockbox}, which contains all the files needed
282 by Rockbox, in the main directory of your \daps{} drive. If you receive a
283 ``-1'' error when you start Rockbox, you have not extracted the contents of
284 the \fname{.zip} file to the proper location.
288 \nopt{player}{
289 \subsubsection{Installing the fonts package}{\index{Installation!Fonts}\label{sec:installing_fonts}
290 Rockbox has a fonts package that is available at
291 \url{http://www.rockbox.org/daily.shtml} or from the \emph{extras} link in
292 the menu on the Rockbox website. While the current builds and
293 daily builds change frequently, the fonts package rarely changes. Thus,
294 the fonts package is not included in these builds. (The release version, on
295 the other hand, does not change, so fonts are included when you download a
296 release). When installing Rockbox for the first time, you should install
297 the fonts package.
299 \begin{enumerate}
301 \item Download the fonts package from the link above.
303 \item Take the file that you downloaded above, and use the ``Extract
304 all'' command of your unzip program to extract the files in the
305 \fname{.zip} file onto your \dap{}. As with the firmware installation, the
306 entire contents of the fonts \fname{.zip} should be extracted directly to the
307 root of your \daps{} drive. Do not try to create a separate directory
308 on your \dap{} for the fonts! The \fname{.zip} already contains the
309 correct internal structure.
311 \end{enumerate}
315 \opt{SWCODEC}{
316 \subsubsection{Installing the bootloader}
317 \opt{h1xx,h300}{\input{getting_started/iriver_install.tex}}
318 \opt{ipod}{\input{getting_started/ipod_install.tex}}
319 \opt{m5,x5}{\input{getting_started/iaudio_install.tex}}
320 \opt{h10,h10_5gb}{\input{getting_started/h10_install.tex}}
321 \opt{gigabeat}{\input{getting_started/gigabeat_install.tex}}
322 \opt{sansa}{\input{getting_started/sansa_install.tex}}
323 \opt{mrobe100}{\input{getting_started/mrobe100_install.tex}}
326 \subsection{Enabling Speech Support (optional)}\label{sec:enabling_speech_support}
327 \index{Speech}\index{Installation!Optional Steps}
328 If you wish to use speech support you will also need a voice file, english ones
329 are available from \url{http://www.rockbox.org/daily.shtml}. Download the
330 ``voice'' for your player, rename it to \fname{english.voice}, copy it
331 into the \fname{langs} directory which is inside the \fname{/.rockbox} directory on
332 your \dap{} and reboot. Voice menus are turned on by default. See
333 \reference{ref:Voiceconfiguration} for details on voice settings.
335 \section{Running Rockbox}
336 Remove your \dap{} from the computer's USB port. %
337 \nopt{ipod,e200}{Unplug any connected power supply and turn the unit off. When
338 you next turn the unit on, Rockbox should load. }%
339 \opt{ipod}{Rebooting the Ipod by holding
340 \opt{IPOD_4G_PAD}{\ButtonMenu{}+\ButtonSelect{}}%
341 \opt{IPOD_3G_PAD}{\ButtonMenu{}+\ButtonPlay{}}
342 for a couple of seconds until the \dap{} reboots. Now Rockbox should load.
344 \opt{e200}{Your e200 will automatically reboot and Rockbox should load. }%
345 When you see the Rockbox splash screen, Rockbox is loaded and ready for
346 use.
348 \opt{ipod}{
349 \note{
350 Rockbox starts in the \setting{File Browser}. If you have loaded music onto
351 your player using Itunes, you will not be able to see your music because
352 Itunes changes your files' names and hides them in directories in the
353 \fname{Ipod\_Control} directory. You can view files placed on your \dap{} by
354 Itunes by initializing and using Rockbox's database. See
355 \reference{ref:database} for more information.
359 \section{Updating Rockbox}
360 Updating Rockbox is easy even if you do not use the Rockbox Utility.
361 Download a Rockbox build.
362 (The latest release of the Rockbox software will always be available from
363 \url{http://www.rockbox.org/download/}). Unzip the build to the root directory
364 of your \dap{} like you did in the installation step before. If your unzip
365 program asks you whether to overwrite files, choose the ``Yes to all'' option.
366 The new build will be installed over your current build.
368 \note{If you use Rockbox Utility be aware that it can not detect manually
369 installed components.}
371 \section{Uninstalling Rockbox}\index{Installation!uninstall}
372 \subsection{Automatic Uninstallation}
373 You can uninstall Rockbox automatically by using Rockbox Utility. If you
374 installed Rockbox manually you can still use Rockbox Utility for uninstallation
375 but will not be able to do this selectively.
377 \opt{h1xx,h300}{\note{Rockbox Utility cannot uninstall the bootloader due to
378 the fact that it requires a flashing procedure. To uninstall the bootloader
379 completely follow the manual uninstallation instructions below.}}
381 \subsection{Manual Uninstallation}
382 \opt{archos}{
383 If you would like to go back to using the original \playerman{} software,
384 connect the \dap{} to your computer, and delete the
385 \fname{\firmwarefilename} file.
387 \nopt{gigabeat,m5,x5,archos,mrobe100}
389 \note{The Rockbox bootloader can start the original firmware on your \dap.
390 (See \reference{ref:Dualboot} for more information.)}}
392 \opt{h10,h10_5gb}{
393 If you would like to go back to using the original \playerman{} software,
394 connect the \dap{} to your computer, and delete the
395 \opt{h10}{\fname{H10\_20GC.mi4}}\opt{h10_5gb}{\fname{H10.mi4}} file and rename
396 \fname{OF.mi4} to \opt{h10}{\fname{H10\_20GC.mi4}}\opt{h10_5gb}{\fname{H10.mi4}}
397 in the \fname{System} directory on your \playertype{}. As in the installation,
398 it may be necessary to first put your device into UMS mode.
401 \opt{mrobe100}{
402 If you would like to go back to using the original \playerman{} software,
403 connect the \dap{} to your computer, and delete the
404 \fname{pp5020.mi4} file and rename
405 \fname{OF.mi4} to \fname{pp5020.mi4}
406 in the \fname{System} directory on your \playertype{}.
409 \opt{e200}{
410 If you would like to go back to using the original \playerman{} software,
411 connect the \dap{} to your computer, and follow the instructions to install
412 the bootloader, but when prompted by sansapatcher, enter 'u' for uninstall,
413 instead of 'i' for install. As in the installation, it may be necessary to
414 first put your device into UMS mode.
417 \optv{ipod}{
418 If you would like to go back to using the original \playerman{} software,
419 connect the \dap{} to your computer, and follow the instructions to install
420 the bootloader, but when prompted by ipodpatcher, enter 'u' for uninstall,
421 instead of 'i' for install.
424 \opt{m5,x5}{
425 If you would like to go back to using the original \playerman{} software,
426 connect the \dap{} to your computer, download the original \playername{}
427 firmware from the \playerman{} website. And copy it to the \fname{FIRMWARE}
428 directory on your \playername{}. Turn off the \dap{}, remove the USB cable
429 and insert the charger. The original firmware will automatically be flashed.
432 \opt{h1xx,h300}{
433 \note{
434 If you want to remove the Rockbox bootloader, simply flash an unpatched
435 \playerman{} firmware. Be aware that doing so will also remove the bootloader
436 USB mode. As that mode can come in quite handy (especially when
437 having disk errors) it is recommended to keep the bootloader. It also
438 gives you the possibility of trying Rockbox anytime later by simply
439 installing the distribution files.
440 \opt{h1xx}{
441 The Rockbox bootloader will automatically start the original firmware if
442 the \fname{.rockbox} directory has been deleted.
444 \opt{h300}{%
445 Although if you retain the Rockbox bootloader, you will need to hold the
446 \ButtonRec{} button each time you want to start the original firmware.
451 If you wish to clean up your disk, you may also wish to delete the
452 \fname{.rockbox} directory and its contents.
453 \nopt{m5,x5}{Turn the \playerman{} off.
454 Turn the \dap{} back on and the original \playerman{} software will load.