Add installation instructions for the sansa.
[Rockbox.git] / manual / getting_started / installation.tex
blob5baaa4dd1b78a62a9d6c6249c682ff9242861841
1 % $Id$ %
2 \chapter{Installation}\label{sec:installation}
4 \opt{ipodvideo}{
5 \note{Rockbox presently runs only on the original Ipod Video 30GB and 60GB,
6 and on the newer 30GB Ipod Video (sometimes referred to as the ``5.5G'').
7 Rockbox does \emph{not} run on the 80GB Ipod Video) (sometimes known as the
8 ``5.5G''). For information on identifying which Ipod you own, see this page
9 on Apple's web site: \url{http://www.info.apple.com/kbnum/n61688}
13 \opt{ipodnano}{
14 \note{Rockbox presently runs only on the original Ipod Nano. Rockbox does
15 \emph{not} run on the newer, second generation Ipod Nano (the all alumminum
16 verion). For information on identifying which Ipod you own, see this page on
17 Apple's web site: \url{http://www.info.apple.com/kbnum/n61688}
21 \section{Prerequisites}\label{sec:prerequisites}
22 \index{Installation!Prerequisites}
23 Before installing Rockbox you should make sure you meet the prerequisites.
24 Also you may need some tools for installation. In most cases these will be
25 already available on your computer but if not you need to get some additional
26 software.
28 \begin{description}
30 \item[ZIP utility.]\index{zip}
31 Rockbox is distributed as an archive using the
32 \fname{.zip} format. Thus you need a tool to handle that compressed
33 format. Usually your computer should have a tool installed that can
34 handle the \fname{.zip} file format. Windows XP has built-in support for
35 \fname{.zip} files and presents them to you as folders unless you have
36 installed a third party program that handles compressed files. For
37 other operating systems this may vary. If the \fname{.zip} file format
38 is not recognised on your computer you can find a program to handle them
39 at \url{http://www.info-zip.org/} or \url{http://sevenzip.sf.net/} which
40 can be downloaded and used free of charge.
42 \item[USB connection.] To transfer Rockbox to your \dap{} you need to
43 connect it to your computer. To proceed you need to know where to access the
44 \dap{}. On Windows this means you need to figure out the drive letter
45 associated with the device. On Linux you need to know the mount point of
46 your \dap{}.
48 \opt{ipod}{
49 Your \dap{} should enter disk mode automatically when connected to a
50 computer via USB. If your computer does not recognise your \dap{}, you may
51 need to enter the disk mode manually. Disconnect your \dap{} from the
52 computer. Reset the \dap{} by pressing and holding the \ButtonMenu{} and
53 \ButtonSelect{} buttons simultaneously. As soon as the \dap{} resets, press
54 and hold the \ButtonSelect{} and \ButtonPlay{} buttons simultaneously. Your
55 \dap{} should enter disk mode, and you can try reconnecting to the computer.
58 \opt{ipod3g,ipod4g,ipodcolor,ipodmini}{
59 \note{\index{Firewire}Firewire detection is not supported in Rockbox at
60 the moment. Please use USB only.}
63 \item[Text editor.] As you will see in the following chapters, Rockbox is
64 highly configurable. In addition to saving configurations within Rockbox,
65 Rockbox also allows you to create customised configuration files. If you
66 would like to edit custom configuration files on your computer, you will
67 need a text editor like Windows' ``Wordpad''.
69 \end{description}
71 \opt{ipod}{
72 \note{In addition to the requirements described above, Rockbox only works on
73 Ipods formatted with the FAT32 filesystem (i.e., Ipods initialised by iTunes
74 for Windows). It does not work with the HFS+ filesystem (i.e. Ipods
75 initialised by iTunes for the Mac). More information and instructions for
76 converting an Ipod to FAT32 can be found on the
77 \url{http://www.rockbox.org/twiki/bin/view/Main/IpodConversionToFAT32} wiki
78 page on the Rockbox web site. Note that after conversion, you can still use
79 a FAT32 Ipod on a Mac.
83 \section{Installing Rockbox}\label{sec:installing_rockbox}
84 \index{Installation}
85 \opt{MASCODEC}{
86 \subsection{Using the windows installer}
87 Using the Windows self installing executable to install Rockbox is the
88 easiest method of installing the software on your \dap{}. Simply follow the
89 on-screen instructions and select the appropriate drive letter and
90 \dap{}-model when prompted. You can use ``Add / Remove Programs'' to
91 uninstall the software at a later date.
93 \subsection{Manual installation}
94 For non{}-Windows users and those wishing to install manually from the
95 archive the procedure is still fairly simple.
98 \opt{SWCODEC}{
99 \subsection{Introduction}
101 \opt{HAVE_RB_BL_ON_DISK}{There are three separate components of Rockbox,
102 two of which need to be installed in order to run Rockbox.}
104 \opt{HAVE_RB_BL_IN_FLASH}{There are two separate components of Rockbox
105 that need to be installed in order to run Rockbox.}
107 \begin{description}
108 \opt{HAVE_RB_BL_ON_DISK}{
109 \item[The \playerman{} boot loader.]
110 The \playerman{} boot loader is the program that tells your \dap{} how to boot
111 and load the remaining firmware from disk. It is also responsible for the
112 disk mode on your \dap{}.
114 This boot loader is stored in special flash memory in your \playerman{}.
115 It is already installed on your \dap{}, so it is never necessary to modify
116 this in order to install Rockbox.}
118 \item[The Rockbox boot loader.] \index{Boot loader}
119 \opt{HAVE_RB_BL_ON_DISK}{The Rockbox boot loader is loaded from disk by
120 the \playerman{} boot loader. It is responsible for loading the Rockbox
121 firmware and for providing the dual boot function. It directly replaces the
122 \playerman{} firmware on the \daps{} disk.}
123 \opt{HAVE_RB_BL_IN_FLASH}{
124 The boot loader is the program that tells your
125 \dap{} how to boot and load other components of Rockbox. This is the
126 component of Rockbox that is installed to the flash memory of your
127 \playerman.}
129 \item[The Rockbox firmware.]
130 \opt{HAVE_RB_BL_IN_FLASH}{Unlike the \playerman{} firmware, which runs
131 entirely from flash memory, }
132 \opt{HAVE_RB_BL_ON_DISK}{Similar to the \playerman{} firmware, }
133 most of the Rockbox code is contained in a
134 ``build'' that resides on your \daps{} hard drive. This makes it easy to
135 update Rockbox. The build consists of a file named \firmwarefilename{} and a
136 directory called \fname{.rockbox}, both of which are located in the root
137 directory of your hard drive.
139 \end{description}
141 \subsection{Installing the firmware}\label{sec:installing_firmware}
144 There are three different types of firmware binaries from Rockbox website:
145 \label{Version}
146 Release version, current build and daily build. You need to decide which one
147 you want to install and get the version for your \dap{}.
149 \begin{description}
151 \item[Release.]
152 \opt{archos}{The release version is the latest stable release, free
153 of known critical bugs. The current stable release of Rockbox, version
154 2.5, is available at \url{http://www.rockbox.org/download/}.
156 \opt{SWCODEC}{
157 There has not yet been a stable release for the \playername{}. Until
158 there is a stable release for \playername{}, use a current build.
161 \item[Current Build.] The current build is built at each source code change to
162 the Rockbox SVN repository, and represent the current state of Rockbox
163 development. This means that the build could contain bugs, but is most of
164 the time safe to use. You can download the current build from
165 \url{http://build.rockbox.org/}.
167 \item[Archived Build.] In addition to the release version and the current build,
168 there is also an archive of daily builds available for download. These are
169 built once a day from the latest source code in the SVN repository. You can
170 download archived builds from \url{http://www.rockbox.org/daily.shtml}.
172 \end{description}
174 \nopt{player}{
175 \note{\index{Installation!Fonts}
176 Rockbox has a fonts package that is available at
177 \url{http://www.rockbox.org/daily.shtml} or from the \emph{extras} link in
178 the menu on the Rockbox website. While the current builds and
179 daily builds change frequently, the fonts package rarely changes. Thus,
180 the fonts package is not included in these builds. (The release version, on
181 the other hand, does not change, so fonts are included when you download a
182 release.) When installing Rockbox for the first time, you should install
183 the fonts package.
187 Because current builds and daily builds are development versions which change
188 frequently, they may behave differently than described in this manual, or
189 they may introduce new (and maybe annoying) bugs. If you do not want to get
190 undefined behaviour from your \dap{} you should really stick to the current
191 stable release, if there is one for your \dap{}. If you want to help the
192 project development, you can try development builds and help by reporting
193 bugs. Just be aware that these are development builds that are highly
194 functional, but not perfect!
196 \opt{sansa}{\warn{The following steps require you to change the setting in
197 \setting{Settings $\rightarrow$ USB Mode} to \setting{MSC} from within the
198 original firmware. Never extract files to your \dap{} while it is in
199 recovery mode.}}
200 After downloading the Rockbox package connect your \dap{} to the computer via
201 USB as described in the manual that came with your \dap{}. Take the file that
202 you downloaded above, and extract its contents to your \daps{} drive.
204 Use the ``Extract all'' command of your unzip program to extract the files in
205 the \fname{.zip} file onto your \dap{}. Note that the entire contents of the
206 \fname{.zip} file should be extracted directly to the root of your \daps{}
207 drive. Do not try to create a separate directory or folder on your \dap{} for
208 the Rockbox files! The \fname{.zip} file already contains the internal
209 directory structure that Rockbox needs.
211 \note{
212 If the contents of the \fname{.zip} file are extracted correctly, you will
213 have a file called \fname{\firmwarefilename} in the main folder of your
214 \daps{} drive, and also a folder called \fname{/.rockbox}, which contains a
215 number of other folders and system files needed by Rockbox. If you receive a
216 ``-1'' error when you start Rockbox, you have not extracted the contents of
217 the \fname{.zip} file to the proper location.
220 \opt{SWCODEC}{
221 \subsection{Installing the boot loader}
222 \opt{h1xx,h300}{\input{getting_started/iriver_install.tex}}
223 \opt{ipod}{\input{getting_started/ipod_install.tex}}
224 \opt{x5}{\input{getting_started/iaudio_install.tex}}
225 \opt{h10,h10_5gb}{\input{getting_started/h10_install.tex}}
226 \opt{gigabeat}{\input{getting_started/gigabeat_install.tex}}
227 \opt{sansa}{\input{getting_started/sansa_install.tex}}
230 \section{Enabling Speech Support (optional)}\label{sec:enabling_speech_support}
231 \index{Speech}\index{Installation!Optional Steps}
232 If you wish to use speech support you will also need a language file, available
233 from \wikilink{VoiceFiles}. For the English language, the file is called
234 \fname{english.voice}. When it has been downloaded, unpack this file and copy
235 it into the \fname{lang} folder which is inside the \fname{/.rockbox} folder on
236 your \dap{}. Voice menus are turned on by default. See
237 \reference{ref:Voiceconfiguration} for details on voice settings.
239 \section{Running Rockbox}
240 Remove your \dap{} from the computer's USB port.%
241 \nopt{ipod}{Unplug any connected power supply and turn the unit off. When
242 you next turn the unit on, Rockbox should load.}%
243 \opt{ipod}{Rebooting the Ipod by holding
244 \opt{IPOD_4G_PAD}{\ButtonMenu{}+\ButtonSelect{}}%
245 \opt{IPOD_3G_PAD}{\ButtonMenu{}+\ButtonPlay{}}
246 for a couple of seconds until the \dap{} reboots. Now Rockbox should load.
248 When you see the Rockbox splash screen, Rockbox is loaded and ready for
249 use.
251 \opt{ipod}{
252 \note{
253 Rockbox starts in the \setting{File Browser}. If you have loaded music onto
254 your player using Itunes, you will not be able to see your music because
255 Itunes changes your files' names and hides them in directories in the
256 \fname{Ipod\_Control} folder. You can view files placed on your \dap{} by
257 Itunes by initialising and using Rockbox's database. See
258 \reference{ref:database} for more information.
262 \section{Updating Rockbox} Updating Rockbox is easy. Download a Rockbox build.
263 (The latest release of the Rockbox software will always be available from
264 \url{http://www.rockbox.org/download/}). Unzip the build to the root directory
265 of your \dap{} like you did in the installation step before. If your unzip
266 program asks you whether to overwrite files, choose the ``Yes to all'' option.
267 The new build will be installed over your current build.
269 \section{Uninstalling Rockbox}\index{Installation!uninstall}
271 If you would like to go back to using the original \playerman{} software, then
272 connect the \playerman{} to your computer, and delete the
273 \fname{\firmwarefilename} file.
275 \opt{h10,h10_5gb}{
276 Next, put the \opt{h10}{\fname{H10\_20GC.mi4}}\opt{h10_5gb}{\fname{H10.mi4}}
277 file backed up in the installation phase back into the \fname{System}
278 directory on your \playertype{}, replacing the file that is there already. As
279 in the installation, it may be necessary to first put your device into UMS
280 mode.
283 \optv{ipod}{
284 You then need to follow the instructions to install the bootloader, but when
285 prompted by ipodpatcher, enter 'u' for uninstall, instead of 'i' for install.
288 If you wish to clean up your disk, you may also wish to delete the
289 \fname{.rockbox} folder and its contents. Turn the \playerman{} off.
291 \opt{h300}{Press and hold the \ButtonRec{} button.}
293 Turn the \dap{} back on and the original \playerman{} software will load.
295 \opt{h1xx}{
296 \note{
297 There's no need to remove the installed boot loader. If you want to remove
298 it, simply flash an unpatched \playerman{} firmware. Be aware that doing so
299 will also remove the boot loader USB mode. As that mode can come in quite
300 handy (especially when having disk errors) it is recommended to keep the
301 boot loader. It also gives you the possibility of trying Rockbox anytime
302 later by simply installing the distribution files.
306 \opt{h300}{
307 \note{
308 There's no need to remove the installed boot loader, although you if you
309 retain the Rockbox boot loader, you will need to hold the \ButtonRec{}
310 button each time you want to start the original firmware. If you want to
311 remove it simply flash an unpatched \playerman{} firmware. Be aware that
312 doing so will also remove the boot loader USB mode. As that mode can come in
313 quite handy (especially when having disk errors), you may wish to keep the
314 boot loader. It also gives you the possibility of trying Rockbox anytime
315 later by simply installing a new build.