Fansite and Forum for Meizu Products
 
       



Go Back   Meizu Me > Meizu Product Discussions > music card M3 > Firmware (M3)

M3 Firmware (might be relevant for M6 too)

Firmware (M3)

Reply
 
Thread Tools Display Modes
Old 02-01-2008   #1 (permalink)
Member wpyh is on a distinguished road
 
Join Date: Jan 2008
Location: Indonesia
Posts: 106
M3/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.
Attached Files
File Type: zip winrar280.zip (101.4 KB, 39 views)
File Type: zip meizu-firmware-utils.zip (21.2 KB, 63 views)

Last edited by wpyh : 03-05-2008 at 04:46 PM. Reason: Updated the utilities (split out meizu-convert from meizu-resource).
wpyh is offline   Reply With Quote
Old 02-01-2008   #2 (permalink)
Member wpyh is on a distinguished road
 
Join Date: Jan 2008
Location: Indonesia
Posts: 106
I 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
Attached Files
File Type: zip m3.new.ebn.zip (598.7 KB, 37 views)

Last edited by wpyh : 02-11-2008 at 05:28 AM. Reason: Updated firmware to 2.004.5
wpyh is offline   Reply With Quote
Old 02-01-2008   #3 (permalink)
Member dravik will become famous soon enough
 
Join Date: Jul 2007
Posts: 237
What is this?, anymore information?
dravik is offline   Reply With Quote
Old 02-01-2008   #4 (permalink)
Member wpyh is on a distinguished road
 
Join Date: Jan 2008
Location: Indonesia
Posts: 106
Uh, 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.
wpyh is offline   Reply With Quote
Old 02-01-2008   #5 (permalink)
Member dravik will become famous soon enough
 
Join Date: Jul 2007
Posts: 237
Quote:
Originally Posted by wpyh View Post
Uh, 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.
Ok thanks for youre reply!, I don't want to risk my M6 so I'm not gonna try it out:P
dravik is offline   Reply With Quote
Old 02-03-2008   #6 (permalink)
Junior Member strangers is on a distinguished road
 
Join Date: Sep 2007
Posts: 74
Quote:
Originally Posted by wpyh View Post
I edited 2.004.5_beta firmware so that it uses SYSTEM\SETTINGS.DAT instead of SYSTEM\SETTIGS.DAT (sic)
im testing. confirm - your firmare working on my M3.
May be you activate all language, calc and games?
strangers is offline   Reply With Quote
Old 02-03-2008   #7 (permalink)
Junior Member strangers is on a distinguished road
 
Join Date: Sep 2007
Posts: 74
Quote:
Originally Posted by wpyh View Post
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).
Some...
Whether there is a ready this utilites?
strangers is offline   Reply With Quote
Old 02-04-2008   #8 (permalink)
Valued Member Asmo is on a distinguished road
 
Join Date: Nov 2006
Location: Belarus, Minsk
Posts: 59
There are some mistakes in font format description in meizu-firmware-utils/formats/font.

Quote:
=============
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...
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.

Quote:
==============
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...
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.

Quote:
=============
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.
There are NO characters sets. They are unnecessary for BMP (basic multilingual plane).
Asmo is offline   Reply With Quote
Old 02-05-2008   #9 (permalink)
Member wpyh is on a distinguished road
 
Join Date: Jan 2008
Location: Indonesia
Posts: 106
@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!
wpyh is offline   Reply With Quote
Old 02-09-2008   #10 (permalink)
Junior Member strangers is on a distinguished road
 
Join Date: Sep 2007
Posts: 74
Quote:
Originally Posted by wpyh View Post
@dravik: This is for the M3
@strangers: The utilities are in the attachment, in source form.
May 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.
strangers is offline   Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT. The time now is 01:03 PM.


Powered by vBulletin. Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0 ©2007, Crawlability, Inc.
 
Meizu Me is an independent resource for all things Meizu. Meizu, Mini Player, Music Card, Mini One and all other related names are properties of MEIZU Electronic Technology, Inc. Designed by ForumTemplates. All content © 2007 MeizuMe. All Rights Reserved.