release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Search | Go
Wiki > Main > CreativeZEN > CreativeZENPort (r13)

This port is still unstable, use it at your own risks. Please read the important notes !!

Forum discussion

Creative ZEN New Port thread

Port Status

driver status comments
LCD 100% LCD working.
Keys 90% Buttons are working, but the keymap is very limited and does not make use of all available buttons
Music playback 100% Everything works
FM Radio 90% Everything works but the driver might not be of the greatest quality.
Recording 0% Untested.
Power Management 30% No frequency scaling, no battery calibration, we only have cpu idle. Charging works
SD 90% Internal storage and SD works. SD write-protection is ignored at the moment.
USB 100% Everything works.
Manual 0% TBD
Rockbox Utility 0% TBD

Important notes

Disk Usage

In its current state, the port can really work along with the OF because of the file system: the OF uses a proprietary file system whereas Rockbox uses FAT. As a consequence, if you format for the OF, Rockbox won't boot and if you format for Rockbox, OF won't boot. That means that installing Rockbox will require you to reformat your entire disk and you will loose all its content. The SD card will stay untouched. It is strongly advised to put music on the SD card since the internal storage handling might change in the future and require formatting once again.

Power Off

In Creative OS, when you "power off", it doesn't actually shut down the device but only puts it into a low power state. Thus when you power on from this state, you get back into Creative OS because the device doesn't actually boot, it only wakes up. If you want to really power off in Creative OS, you need to use the reset button.

Bootloader features

The bootloader comes with a number of features which allow to recover from potential problematic situations.

Booting to the OF

The bootloader can either boot rockbox or the OF. By default it will boot rockbox. The bootloader will boot the OF if back button is hold while powering up. This works independently from the power source. For example, the following actions will boot the OF:
  • hold back - then press power for a few seconds
  • hold back - then plug the usb cable (plugged into wall outlet or computer)

Note that booting to the OF correctly will require to reformat the player for the OF, see the important notes.

Building the bootloader

The bootloader can be built using three different methods. The recommend one is the automatic method using RockboxUtility when it's available. The semi-automatic method requires a working cross-compiler and a copy of the Rockbox source code.

Automatic method

Semi-Automatic method

Linux

This method requires the following things:
  • a working cross-compiler (arm-elf-eabi), see HowToCompile
  • a copy of the source code, see HowToCompile
  • a copy of the latest firmware for the Creative ZEN. At time of writing (2013-12-07) the latest version is the one named ZEN_PCFW_L22_1_21_03e.exe (Europe variant) or ZEN_PCFW_L22_1_21_03.exe (US variant).

First you need to compile the bootloader, to do this follow the instructions from HowToCompile and when running the configure script, select the Creative ZEN and bootloader build. After the build, you should get a bootloader-zen.creative file (you don't need to go further than the 5. Build step in HowToCompile).

Then you need to build the mkzenboot tool in rbutil/mkzenboot. To do so, just cd into rbutil/mkzenboot and run make. It should produce a mkzenboot executable.

Finally, you need to run the tool with the correct parameters. Assuming you are in rbutil/mkzenboot, run:

./mkzenboot -i ZEN_PCFW_L22_1_21_03e.exe -b bootloader-zen.creative -o firmware.nk -t dualboot

You should replace ZEN_PCFW_L22_1_21_03e.exe by the path to the firmware you downloaded from Creative, and replace bootloader-zen.creative by the path to the bootloader-zen.creative file produced by the compilation. Note that this command will produce a file called firmware.nk .

Prebuilt

Since RockboxUtility is not ready for the task, I uploaded a prebuilt image of the bootloader here: firmware-zen.nk.

Installing the bootloader

When the bootloader is built, you have to install it. Note that installing the bootloader is only required once (or on bootloader updates, which are pretty rare). To update Rockbox itself, you don't have to do this. You will need to format the device after the bootloader installation, as described in the next section.

Very Important: in order to perform the upgrade, first turn off your device and then boot into recovery mode by holding the play button on boot. It will show a menu in which you should select "Reload firmware" and confirm. After having erased the firmware, you can proceed below.

Automatic method

RockboxUtility should be able to do that in the future.

Semi-automatic method (Windows)

An alternative method under Windows is to repack the bootloader in the installer using the zentools and use the installer normally. This has not been tested yet.

Manual method

The last method is to use the sendfirm tool in utils/MTP. It works both under Windows and Linux. To build it, change to utils/MTP and run make for Linux or make sendfirm.exe for Windows. It will produce a sendfirm or sendfirm.exe executable. Note that the Windows version requires MTP_DLL.dll which can be found in utils/MTP (you can also build it from utils/MTP/MTP_DLL/). A prebuilt version for Windows can be found here: sendfirm.exe and MTP_DLL.dll

You must then run it this way: (replace firmware.nk by the path to the bootloader built in the previous section).

  • Linux: ./sendfirm firmware.nk
  • Windows: sendfirm.exe firmware.nk

Formatting the device for Rockbox

Rockbox and Creative OS do not use the same file system so one cannot use both at the same time. In order to run Rockbox, you will need to reformat the internal storage as FAT. If you want to restore the Creative OS, you will need to reformat it using the recovery mode. It is strongly advised to put music on the SD card since the internal storage handling might change in the future and require formatting once again.

Formatting for Rockbox

  • Power off your device
  • Plug the USB cable and wait for the Rockbox bootloader to show up and enter USB bootloader mode
  • The device should appear be detect as Mass Storage device in your host. Use your favourite tool to reformat it as FAT.
    • In Windows: you will need to use the Disk Management tool. refer Microsoft documentation or google on how to do that, make sure to use FAT and not NTFS.
    • In Linux: use gparted or partitionmanager or command-line tools such as mkfs.vfat

Formatting for Creative OS

  • Power off your device
  • Boot into recovery mode by holding the play button while sliding the power button
  • In the menu, select format

Downloading and installing Rockbox

Download the first package found here. Copy the contents of this .ZIP file to the device.

-- AmauryPouly - 06 Nov 2013
Edit | Attach | Print version | History: r18 | r14 < r13 < r12 < r11 | Backlinks | View wiki text | More topic actions...
r13 - 08 Jan 2014 - 17:00:36 - AmauryPouly

Parents: CreativeZEN
Copyright by the contributing authors.