Official FiiO M3K Native installation instructionsThe installation instructions and bootloader download links can now be found on the Rockbox wiki at
https://www.rockbox.org/wiki/JztoolInstall.
As always if you encounter any issues, spot mistakes, or have suggestions for improvements don't hesitate to point them out.
Update April 06 2022A new version of the bootloader has been released,
bf3e67204c-20220402, which includes a number of dual-boot related bugfixes and adds support for multiboot. Usage instructions for multiboot can also be found on the wiki, at
https://www.rockbox.org/wiki/MultibootBootloader.
Update March 27, 2022The M3K install instructions have now moved to the wiki:
https://www.rockbox.org/wiki/JztoolInstallThere are no changes to the installation process.
I'll remove the instructions from this post in favor of the wiki at some point, but I'm leaving them up here for a little while since they're not actually out of date.
Update June 14, 2021Dual boot support was added! You can now boot the original FiiO firmware alongside Rockbox, useful if you want to use the USB DAC feature or the microphone for recording. If you've already installed an earlier version of the Rockbox bootloader, you can update to the latest version using the recovery menu, accessed by holding Vol+ while booting. Just copy
bootloader.m3k to the root of your SD card, and pick "Install/update bootloader" from the recovery menu.
To access the FiiO firmware, hold the Play button while booting. You can access the FiiO recovery mode by holding Play and Vol+ while booting, in case you need to update the FiiO firmware. Be warned that updating with the FiiO recovery mode will
erase the Rockbox bootloader and you will need to install it again using
jztool.
Installing the bootloaderDownload the Rockbox bootloader
bootloader.m3k and the installation utility
jztool for your platform. You will need to refer to the bootloader file later on the command line so it's recommended to put both files in the same folder.
Next, connect the M3K in USB boot mode: plug in one end of the USB cable, and then plug in the other end while holding down the Volume Down button. If you did it correctly then the button light will turn on and the LCD will remain off. Since the USB boot mode is very low level, you might not see any indication on your computer that a USB device was plugged in.
Windows users should now follow the USB driver installation instructions below, before running jztool.
To load the Rockbox bootloader, open a terminal / command prompt in the folder where you downloaded jztool and run the command below. If you have put
bootloader.m3k in different folder, you will have to adjust the path accordingly.
Windows:
jztool.exe fiiom3k load bootloader.m3k
Linux and Mac: (Linux users will need to run jztool as root, eg. with
sudo or
su -c)
./jztool fiiom3k load bootloader.m3k
You should see the Rockbox recovery menu appear on your M3K. If this doesn't happen, check the terminal window for errors. Should you encounter repeated problems loading the bootloader please post here so we can be aware of the problem.
It is
highly recommended that you take a backup of the original firmware's bootloader using the "Backup bootloader" option before installing, just in case anything goes wrong or you need to restore the old bootloader for any reason. The backup file
fiiom3k-boot.bin will be placed on the root of your SD card, make sure to copy it to your computer and keep it safe somewhere. If you need to restore the bootloader, copy the backup file to your SD card and repeat the steps above to re-load the Rockbox bootloader. Then pick "Restore bootloader" from the menu.
To install the Rockbox bootloader, copy
bootloader.m3k to the root of a FAT32-formatted SD card and plug it into your M3K, and choose "Install/update bootloader" from the recovery menu. Once the bootloader is installed, you can access the recovery menu by holding Volume Up while powering on the M3K.
Assuming everything went smoothly, you need to install Rockbox itself to complete the installation.
Installing RockboxOnce the bootloader is installed, you will need to extract a copy of Rockbox to your SD card.
1. Download a development build of Rockbox from
https://www.rockbox.org/daily.shtml.
2. Use your player or another SD card reader to mount the drive on your computer. If you use the M3K, select "USB mode" from the bootloader menu. It's necessary to select USB mode
before plugging the cable in.
3. Take the .zip file that you downloaded and use the “Extract all” command of your unzip program to extract the files onto your player.
Note: The entire contents of the .zip file should be extracted directly to the root of your player’s drive. Do not try to create a separate directory on your player for the Rockbox files! The .zip file already contains the internal structure that Rockbox needs.
If the contents of the .zip file are extracted correctly, you will have a directory called .rockbox, which contains all the files needed by Rockbox, in the main directory of your player’s drive.
You can perform the above steps again whenever you want to update Rockbox to the latest development build, to take advantage of bugfixes and new features.
Windows USB driver installationjztool uses a library called libusb to access the M3K in its USB boot mode, and on Windows you need to enable the WinUSB driver for the M3K to make it accessible by libusb. WinUSB is a Microsoft driver and comes bundled with Windows, but unfortunately it's not easy to enable it directly, as it's intended to be "installed" by 3rd party applications as needed.
The recommended way to install the driver is using Zadig, a tool dedicated to installing various USB drivers on Windows for libusb-based applications (download link is at the end of the post). Zadig will require administrator access on the machine you're using. Also note that Zadig is not supported or maintained by the Rockbox developers, so we generally cannot provide support for any Zadig-specific issues you might encounter.
After connecting the M3K to your computer in USB boot mode, open Zadig and select the M3K from the drop down menu. Note the name may end up displaying strangely (just an "X" and a hollow square), the important thing is that the USB IDs are the correct ones (A108 1000).
Ensure you select the WinUSB driver and click "Install Driver". This can take a couple of minutes to complete. Assuming the driver installs successfully you can continue with the installation instructions above.
Note: if WinUSB does not work for you, you can try installing the libusbk driver instead. It might also be necessary to unplug the M3K, power it off, and reconnect it in USB boot mode to ensure the new driver is used.
Links