+ Reply to Thread
Results 1 to 20 of 23
M3 Firmware (might be relevant for M6 too)
This is a discussion on M3 Firmware (might be relevant for M6 too) within the Firmware (M3) forums, part of the music card M3 category; Well, I said a few days ago that I would post some of my adventures with M3 firmware. I haven't ...
-
02-01-2008 #1Member
- Join Date
- Jan 2008
- Location
- Indonesia
- Posts
- 106
- Thanks
- 0
Thanked 0 Times in 0 PostsM3/M6SL firmware utilities
Well, I said a few days ago that I would post some of my adventures with M3 firmware. I haven't cleaned it up, so this is all I can post right now (see attachment).
Now I've got some help from Rupan, and the M6SL image format is now supported.
The first attachment is Rar.exe that we need to compress the firmware image.
The second attachment is the utilities. It contains:
meizu-firmware : Utility for joining or splitting a firmware image.
meizu-resource : Utility for joining or splitting a resource file.
meizu-convert: Utility for converting between resource types.
m3_settings_show : Utility for examining the settings file from an M3.
other c files: common functions.
Please note that Windows users won't need the resource converters since they have Resource Editor.
Hope this helps.Last edited by wpyh; 03-05-2008 at 04:46 PM. Reason: Updated the utilities (split out meizu-convert from meizu-resource).
-
02-01-2008 #2Member
- Join Date
- Jan 2008
- Location
- Indonesia
- Posts
- 106
- Thanks
- 0
Thanked 0 Times in 0 PostsI edited 2.004.5 firmware so that it uses SYSTEM\SETTINGS.DAT instead of SYSTEM\SETTIGS.DAT (sic)
I did not modify the resource file, so I'm not attaching it here
Last edited by wpyh; 02-11-2008 at 05:28 AM. Reason: Updated firmware to 2.004.5
-
02-01-2008 #3Member
- Join Date
- Jul 2007
- Posts
- 255
- Thanks
- 0
Thanked 1 Time in 1 PostWhat is this?, anymore information?

-
02-01-2008 #4Member
- Join Date
- Jan 2008
- Location
- Indonesia
- Posts
- 106
- Thanks
- 0
Thanked 0 Times in 0 PostsUh, sorry. The file meizu-firmware-utils.zip is just some utilities to manipulate the firmware. Currently I only have something to create a .ebn firmware from its components (firmware_combine.c) and something to show M3's settings (m3_show_settings.c).
The file new5.zip contains a proof-of-concept edited firmware. I edited the firmware so that it saves and loads its settings from SYSTEM\SETTINGS.DAT, instead of SYSTEM\SETTIGS.DAT.
-
02-01-2008 #5Member
- Join Date
- Jul 2007
- Posts
- 255
- Thanks
- 0
Thanked 1 Time in 1 Post
-
02-03-2008 #6Junior Member
- Join Date
- Sep 2007
- Posts
- 82
- Thanks
- 0
Thanked 0 Times in 0 Posts
-
02-03-2008 #7Junior Member
- Join Date
- Sep 2007
- Posts
- 82
- Thanks
- 0
Thanked 0 Times in 0 Posts
-
02-04-2008 #8Valued Member
- Join Date
- Nov 2006
- Location
- Belarus, Minsk
- Posts
- 59
- Thanks
- 0
Thanked 0 Times in 0 PostsThere are some mistakes in font format description in meizu-firmware-utils/formats/font.
It's the index of the glyph in the glyph section. For example if you want a glyph for codepoint 0x0020, index of the glyph will be the word at offset_of_codes + 2 * 0x0020.=============
CODES SECTION
=============
...Entries with a value other than 0xffff have a glyph associated with it. The
meaning of the value contained in the entry itself is unknown...
Not exactly right. Width of a glyph in bytes may be 1, 2 or 3 i.e. 8, 16, or 24 pixels. For 16 wide font each glyph is 16 * 2 = 32 bytes, for 20 wide - 20 * 3 + 4 = 64 bytes (4 bytes for alignment), for 24 wide - 24 * 3 = 72 bytes.==============
GLYPHS SECTION
==============
...This section is an array of 32-byte glyphs... Every glyph is coded in one of two different modes: 8-pixels-wide or 16-pixels-wide...
There are NO characters sets. They are unnecessary for BMP (basic multilingual plane).=============
CHARACTER SET
=============
The character set of the fonts are not known. For some glyphs they match the
UTF-16BE encoding, but for some glyphs they have an offset against UTF16-BE.
-
02-05-2008 #9Member
- Join Date
- Jan 2008
- Location
- Indonesia
- Posts
- 106
- Thanks
- 0
Thanked 0 Times in 0 Posts@dravik: This is for the M3

@strangers: The utilities are in the attachment, in source form.
@Asmo: I've been looking at your thread for 15 minutes and still pondering... Will report back. Thanks a lot!
-
02-09-2008 #10Junior Member
- Join Date
- Sep 2007
- Posts
- 82
- Thanks
- 0
Thanked 0 Times in 0 PostsMay be this is not complete source?
Im try compile and what say editor:
Info :Compiling C:\BC5\m3_settings_show.c
Error:m3_settings_show.c(7,2):Unable to open include file 'STDINT.H'
Error:m3_settings_show.c(11,2):Unable to open include file 'SYS\MMAN.H'
Error:m3_settings_show.c(16,16):Declaration missing ;
Error:m3_settings_show.c(19,17):Multiple declaration for 'uint8_t'
Error:m3_settings_show.c(16,17):Earlier declaration of 'uint8_t'
Error:m3_settings_show.c(19,17):Declaration missing ;
Error:m3_settings_show.c(21,16):Multiple declaration for 'uint8_t'
Error:m3_settings_show.c(16,16):Earlier declaration of 'uint8_t'
Error:m3_settings_show.c(21,16):Declaration missing ;
Error:m3_settings_show.c(24,26):Multiple declaration for 'uint8_t'
Error:m3_settings_show.c(16,26):Earlier declaration of 'uint8_t'
Error:m3_settings_show.c(24,26):Declaration missing ;
Error:m3_settings_show.c(25,19):Multiple declaration for 'uint8_t'
Error:m3_settings_show.c(16,19):Earlier declaration of 'uint8_t'
Error:m3_settings_show.c(25,19):Declaration missing ;
Error:m3_settings_show.c(27,16):Multiple declaration for 'uint8_t'
Error:m3_settings_show.c(16,16):Earlier declaration of 'uint8_t'
Error:m3_settings_show.c(27,16):Declaration missing ;
Error:m3_settings_show.c(30,20):Multiple declaration for 'uint8_t'
Error:m3_settings_show.c(16,20):Earlier declaration of 'uint8_t'
Error:m3_settings_show.c(30,20):Declaration missing ;
Error:m3_settings_show.c(31,26):Multiple declaration for 'uint8_t'
Error:m3_settings_show.c(16,26):Earlier declaration of 'uint8_t'
Error:m3_settings_show.c(31,26):Declaration missing ;
Error:m3_settings_show.c(32,21):Multiple declaration for 'uint8_t'
Error:m3_settings_show.c(32,21):Too many error or warning messages
----------------------------------------------------------------------
May be you try attach complete project, ok? Thanks.
-
02-09-2008 #11Senior Member
- Join Date
- Jan 2008
- Posts
- 349
- Thanks
- 0
Thanked 0 Times in 0 Postsdoes this mean you are working on a custom firmware for the meizu player, i am very interested to see the progres of the meizu and custom firmware,
have you heard of the project "rockbox", maybe someone could try to make it work on the meizu players?
I really hope this will be possible in the future.
-
02-11-2008 #12Member
- Join Date
- Jan 2008
- Location
- Indonesia
- Posts
- 106
- Thanks
- 0
Thanked 0 Times in 0 Posts
-
02-11-2008 #13Member
- Join Date
- Jan 2008
- Location
- Indonesia
- Posts
- 106
- Thanks
- 0
Thanked 0 Times in 0 Posts
-
02-11-2008 #14Member
- Join Date
- Jan 2008
- Location
- Indonesia
- Posts
- 106
- Thanks
- 0
Thanked 0 Times in 0 Posts@Asmo: Thanks for the information on the font file format, I got it (mostly) figured out now.
About the number bytes in a font glyph, I'm not sure I understand you correctly. Are you saying that the glyph may consist of a different number of bytes, depending on its width? I've not observed this on the font files that I have looked at, namely resource 16, 18 and 19. Would you please explain on this one?
-
02-11-2008 #15Member
- Join Date
- Jan 2008
- Location
- Indonesia
- Posts
- 106
- Thanks
- 0
Thanked 0 Times in 0 Posts
-
02-11-2008 #16Junior Member
- Join Date
- Sep 2007
- Posts
- 82
- Thanks
- 0
Thanked 0 Times in 0 PostsHello.Thanks for the reply. Im tryning compiler through VC++ 6.0 Standart Edition ( see logs: )
Compiling...
m3_settings_show.c
c:\meizu-firmware-utils\m3_settings_show.c(7) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
Error executing cl.exe.
m3_settings_show.exe - 1 error(s), 0 warning(s)
-----------------------------------------------------------------------
I think still need 'stdint.h' and others (.h-files).Last edited by strangers; 02-11-2008 at 07:31 AM.
-
02-11-2008 #17Valued Member
- Join Date
- Nov 2006
- Location
- Belarus, Minsk
- Posts
- 59
- Thanks
- 0
Thanked 0 Times in 0 Posts
-
02-15-2008 #18Member
- Join Date
- Jan 2008
- Location
- Indonesia
- Posts
- 106
- Thanks
- 0
Thanked 0 Times in 0 Posts
-
02-15-2008 #19Member
- Join Date
- Jan 2008
- Location
- Indonesia
- Posts
- 106
- Thanks
- 0
Thanked 0 Times in 0 Posts@strangers: I think I will just declare the integer definitions inside the source files...
-
03-05-2008 #20Member
- Join Date
- Jan 2008
- Location
- Indonesia
- Posts
- 106
- Thanks
- 0
Thanked 0 Times in 0 PostsBump. I think it would be useful if we can make it sticky and available from both the M6 firmware board and this (M3 firmware) board. Admin?



Reply With Quote

