Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Third Party
| |-+  Repairing and Upgrading Rockbox Capable Players
| | |-+  Flashing and restoring factory firmware FiiO M3K / M5 players using Ingenic USB
« previous next »
  • Print
Pages: [1]

Author Topic: Flashing and restoring factory firmware FiiO M3K / M5 players using Ingenic USB  (Read 1076 times)

Offline vitt13

  • Member
  • *
  • Posts: 60
Flashing and restoring factory firmware FiiO M3K / M5 players using Ingenic USB
« on: November 28, 2021, 03:36:54 PM »
Step 1 For M3K player make sure you have the stored serial number of the device (usually on package box), you can also find it in the Settings section player "About device" / "About M3"

For M5 player, write down the current Bluetooth MAC-address of the player and the serial number of the device in a notebook, you can see them in the section "About the device" / "About M5"

Step 2 Install USB drivers for the device from the directory "\cloner-win32-driver"
Disable driver signature enforcement in the Windows boot parameters before that step. It takes effect only once until the next reboot.
Alternatively you can try to install WinUSB driver with Zadig https://forums.rockbox.org/index.php/topic,53858.0.html (need to confirm)
Installing driver guide is not major topic of this recovery guide so here are few pictures just for reference.


Step 3 Run application "USB Cloner Tool" on the path "\cloner-2.5.0-windows_release\cloner.exe"

Step 4 Press on Config button


Step 5 In "INFO" tab choose "x1000" in "Platform" field and specific configuration file in "Boad" field.
FiiO M3K device needs "M3K_x1000_sfc_nand_lpddr_recovery.cfg"

FiiO M5 device needs "M5_x1000_sfc_nand_lpddr_recovery.cfg"


Step 6 Go to "POLICY" tab and set the paths to every firmware part files.
You may find the needed parts of full firmware version 1.2 on "\M3K_firmware_1.2" and "\M5_firmware_1.2" directories.
for example
Code: [Select]
uboot = ...\x-loader-pad-with-sleep-lib.bin
xImage = ...\xImage
recovery = ...\recovery
system = ...\system.ubi
data = ...\data.ubi

Generally you do not need to choose all of parts and can set and choose only that you need to flash/update.
I.e. if you have extracted parts from "ota update" firmware v1.4.5 it provides only bootloader, kernel image and system partition image.
Here are example of configuration that will flash/update all selected parts
for M3K

and M5 player device


Attention! It's very important to note that there is the check box "Erase All" that sets by default in "SFC" tab. It allows to erase all internal FLASH memory.
So if you do not need to erase all of internal memory content unset that checkbox.



Step 7 You may save tool's settings but make sure that path to configuration file should not contain the spaces.

Step 8 Make sure that player does not connected to PC and press "Start" button in the tool.
Now make sure that player powered off then press "Volume-" button on the player and connect the player to PC with USB cable. The firmware flashing starts.


After successful firmware update the player will reboot automatically.

---
Here are USB driver, "USB cloner tool" and firmware v1.2 for FiiO M3K and M5 players.
Download link: https://www.mediafire.com/file/exzvvxjp4l3ai8u/M3K_M5_USB_cloner_tool.zip/file
« Last Edit: November 29, 2021, 12:00:22 PM by vitt13 »
Logged

Offline 7o9

  • Member
  • *
  • Posts: 117
Re: Flashing and restoring factory firmware FiiO M3K / M5 players using Ingenic USB
« Reply #1 on: November 29, 2021, 01:42:16 AM »
Thanks for this guide.

Good to note that besides the required software, the archive also contains the images from this post in a more readable resolution.

One thing: What is step 1 for? Is the serial number needed for this process?
Logged

Offline vitt13

  • Member
  • *
  • Posts: 60
Re: Flashing and restoring factory firmware FiiO M3K / M5 players using Ingenic USB
« Reply #2 on: November 29, 2021, 03:52:03 AM »
Quote from: 7o9 on November 29, 2021, 01:42:16 AM
One thing: What is step 1 for? Is the serial number needed for this process?
No, but it stored in data.ubi partition image as text file "/data/userfs/sn.txt" (also "/data/userfs/nb.txt") inside UBIFS. It may be lost in reflashing 'factory' data partition image from v1.2 FW. I have not the guide how to repack data.ubi and rewrite serial number inside it. But it can be made with "Kitchen" https://forums.rockbox.org/index.php/topic,52917.msg248737.html#msg248737 on Windows or with https://github.com/jrspruitt/ubi_reader and mkfs.ubifs on Linux.
Quote from: 7o9 on November 29, 2021, 01:42:16 AM
the archive also contains the images from this post in a more readable resolution.
fixed links to hi-res pics in the fist post
« Last Edit: November 29, 2021, 12:02:13 PM by vitt13 »
Logged

Offline amachronic

  • Developer
  • Member
  • *
  • Posts: 269
Re: Flashing and restoring factory firmware FiiO M3K / M5 players using Ingenic USB
« Reply #3 on: November 29, 2021, 03:49:07 PM »
Wow.. I came across the 'cloner' before, but I could never figure out how to make it work properly. Nice work.
Logged

Offline vitt13

  • Member
  • *
  • Posts: 60
Re: Flashing and restoring factory firmware FiiO M3K / M5 players using Ingenic USB
« Reply #4 on: November 30, 2021, 08:16:59 AM »
I requested the tools to recover M3K and M5 when there was problem with freezing on boot screen on 1.4.3 OF for a year ago.
I got the tool with configuration files and full FW v1.2 from FiiO support with remark "The only problem is it's only Chinese version". Sorry for not reveal the guide early.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Third Party
| |-+  Repairing and Upgrading Rockbox Capable Players
| | |-+  Flashing and restoring factory firmware FiiO M3K / M5 players using Ingenic USB
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.112 seconds with 22 queries.