Freeing Your Music Player with Rock
Musical Freedom
Turn your music player into open hardware with Rockbox's free firmware.
If you have a large music collection or care about sound quality, just any mobile computing device won't do. However, while most music players support free-licensed formats like.flac, and a few even support.ogg, you won't find any that are sold with free-licensed firmware. That's where Rockbox [1]comes in. Rockbox is a project that develops free firmware, as well as an installer for adding the firmware to your music player. The process is the equivalent of rooting your phone, giving you complete control over a device. In effect, it creates a piece of open hardware where none existed before. Rockbox's small team of developers has been at work since 2001. Today, the project fully supports several dozen different models of music players, including Apple, Samsung, and SanDisk. Another dozen models are partially supported, and several others are in early development. However, if a music player is not listed as being supported on the project site's home page, check the forums. Sometimes, a model may be a repackaging of an earlier device. For example, while the SanDisk Clip Sport is not listed as supported, it turns out to be merely a rebranded SanDisk Clip Zip. As with any effort to replace firmware, the possibility exists that you could brick a device by installing Rockbox on it. The chance is slim, since Rockbox generally works by bypassing rather replacing a device's bootloader, and the installer includes an uninstaller that (at least in my limited experience) works perfectly well. All the same, disabling the music player remains a possibility. To avoid complete disasters, make sure that you have copies of all the files on a music player before you attempt to install Rockbox, and remember that you install at your own risk.
Downloading and Installing Rockbox
To install Rockbox, download the stable version for your music player model to your home directory. Uncompress the archived file, and the Rockbox utility is ready to use. You can also install manually using your music player's online manual [2], but, for most cases, the Rockbox utility is easier and quicker to use (Figure 1).
However, the utility does have a few quirks. To start with, auto-detection does not work unless the music player is connected to your computer after the utility is opened. If the player is still not detected, you need to add its mount point and model manually. Once you have configured the installation, at a minimum you must install the bootloader and firmware to the device. However, before installation starts, you have the option to install extra fonts, themes, and games. Some of these extras require additional files, which should be copied to the same directory as the Rockbox utility. Press the Install button and the Prerequisite dialog opens, warning that you also need to download the firmware for your device – a detail I would have preferred to know earlier, so I wouldn't have to interrupt the installation to find the firmware. The dialog does not tell you where to place the firmware; instead, you have enter the path for it.
Overall, the Rockbox utility can best be described as basic. It does not do things it could easily do, such as download the extras selected or the required firmware. However, it is not difficult to use so much as annoying in little ways.
The Interface
Music players – especially ones that fit in your palm with room to spare do not have elaborate interfaces. The Rockbox interface is no exception and is generally an acceptable substitute for the one that shipped with my SanDisk Clip Sport, although with a few omissions and some sloppy menu structures. Like the original, the Rockbox interface is divided into seven sections: Radio, Music, Books, Sports, [UCC:x10-l-bold-italic]Folder[/UCC] , [UCC:x10-l-bold-italic]Card[/UCC] , and [UCC:x10-l-bold-italic]Settings[/UCC] , each with its own subdirectories. For example, Books is divided into Audiobooks and Podcasts, while Sports includes both a timer and stopwatch. The main purpose of the Card section is apparently to have a top-level menu item for external microSD cards, since a separate entry for the external card is available under Folder. All these top-level items can be turned off under Settings | Customize, which can eliminate endless scrolling through options you have no intention of using. Under Music, users can opt for Shuffle, to play songs in what Rockbox claims is a truly random order, unlike most music players, or to create playlists. However, unlike some interfaces I have seen, in the case of the SanDisk Clip Sport, Rockbox does not allow you to rank songs or to select by genre or any other meta fields associated with a song file. Instead, files can only be selected by artist, album, or songs, all of which are displayed in only fourteen characters. Neither can album art be displayed. How songs play is controlled generally under Settings | System Settings and specifically in the menu for each song. In both places, Equalizer and Replay Gain are available for tweaking songs. Under Settings | Music Options, you can also toggle Shuffle and Repeat. My subjective impression is that the Rockbox firmware loads and refreshes faster than the original on my SanDisk Clip Sport. However, on the negative side, where the original does not start to distort sound until the seventh of eighth sound levels, with Rockbox, the sound starts to distort at the sixth level, reducing the options to something that makes the Rockbox firmware less than ideal on a crowded bus or busy street. Another limitation is that files on a microSD card are not displayed on the Rockbox interface. Instead, you have to go through the Card section. This arrangement is generally acceptable, unless you want to play songs in track order, in which case file names need to be prefaced by the track number. None of these shortcomings are crippling. However, for some, at least a few of the limitations might be unacceptable. But then, I suppose that the main point is to have free firmware, not a full-featured, logical interface.
Backup and Uninstalling
The Rockbox utility can also be used to update the firmware on a device, or to back up the files in the installation directory. You can also uninstall the firmware in one of two ways: by uninstalling the Rockbox bootloader, which is used to bypass the original firmware, or by a complete removal of all aspects of the firmware, including the extras (Figure 3). Unfortunately, as happened in my experiments, removing the bootloader may not always be an option for some devices. Fortunately, uninstalling all of the Rockbox firmware is a smoother operation, although, as the dialog warns, you do have to remove the bootloader from the music player manually; it will be the only .bin
file in the player's top-level interface. If something goes wrong, you can always reinstall the Rockbox firmware so that the player remains usable.
At the end of my experiments, I remain intrigued by Rockbox, although mildly disappointed. As a free software user, I am no longer accustomed to situations in which using free software means awkwardness and the loss of some features, even if the inconvenience is mild. I could use Rockbox in its present state, but, practically speaking, I am not that eager to do so. Still, I will keep an eye on Rockbox and see how its firmware improves over the next few years. I see that the project is starting to define what is necessary to port the FiiO X1 [3], my music player when I'm on the road. When that development produces a stable release, I will be curious to see how well it is implemented.
Infos
- Rockbox: https://www.rockbox.org/
- online manual: https://www.rockbox.org/manual.shtml
- port the FiiO X1: http://forums.rockbox.org/index.php?topic=51047.30
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.
-
Armbian 24.11 Released with Expanded Hardware Support
If you've been waiting for Armbian to support OrangePi 5 Max and Radxa ROCK 5B+, the wait is over.
-
SUSE Renames Several Products for Better Name Recognition
SUSE has been a very powerful player in the European market, but it knows it must branch out to gain serious traction. Will a name change do the trick?
-
ESET Discovers New Linux Malware
WolfsBane is an all-in-one malware that has hit the Linux operating system and includes a dropper, a launcher, and a backdoor.
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.