MyMPx.org

MyMPx.org (http://mympx.org/forum/)
-   Mods and Themes (http://mympx.org/forum/mods-themes/)
-   -   New Firmware Editor Version 1.0.1.0 (http://mympx.org/forum/mods-themes/39614-new-firmware-editor-version-1-0-1-0-a.html)

Dancemammal 12th Nov 2007 5:37 am

New Firmware Editor Version 1.0.1.0
 
Hi All,

The latest release of the Firmware Editor can be found at

http://www.dancemammal.com/downloads...er-1.0.1.0.rar



This New release includes

Ver 1.0.1.0

Keyboard shortcuts , Crtl A and Ctrl Z to move firmware offset up or down one line (taken from current width)

Refresh image after keyboard input

New created items have default values entered

New created items can have the current width / height entered as the rect

Image Flipping (for actions chips)

Image bit swapping (big endian to little endian depends on firmware)

Chipset firmware offset now added to lst file header when saved (no longer need to locate the start)

Fix setting base offset for lst files ( new set button sets the current offset as the start of the images)

Lots of RockChip lst files in directory under program

Nemerus bug fixes etc


have Fun

Dancemammal

knob 12th Nov 2007 1:01 pm

Re: New Firmware Editor Version 1.0.1.0
 
This just gets better!
Works fine now on my unbranded 220x176 Rockchip.

Writes the offset to the .lst file now so I can now theme ok.
Noticed one slight problem though I can't get the crtl-a , ctrl-z line shift to work for me.

thanks dancemammal I've no need for RKLogo anymore, yea!

gemelo71 12th Nov 2007 1:30 pm

Re: New Firmware Editor Version 1.0.1.0
 
hi Dancemammal,
again good work, the people with rockchips is happy but we, that have actions chips :cry: do you are working in decrypted fw??? or this version can read new version actions chips?? if i open my fw with your new version of software only see diferent colors :cry: i hope you can help us
thanks.

Dancemammal 12th Nov 2007 3:22 pm

Re: New Firmware Editor Version 1.0.1.0
 
Hi All,

If you wish to use the Ctrl A - Z, make sure the cursor is inside the offset edit box,

I have not forgotton the Actions chip users, the firmware seems to be encrypted with a MD5 hash, the problem is not decrypting the stream, it's finding the embedded encrypted password.

I am currently converting some old code to try to do this, it could take a little time,

Ill keep you all updated,

Cheers
Dancemammal

NBS 12th Nov 2007 11:40 pm

Hi Dance,
Could you allow long press of ctrl a -z?
I still can't understand how the item adding works.
I find an image with offset width and height,i click add item with set rect,but when i go see it,it's not the same,it save the image on start offset.
I tried adding the offset on the item dialog,but it's same.Could you explain me how it works?

Dancemammal 13th Nov 2007 2:02 am

Re: New Firmware Editor Version 1.0.1.0
 
Hi All,

The main problem with editing the firmware, is finding the start position of the images, using the width and height and the offset edit boxes, you can find the first image, then, you need to set that position as your start position, use the "Set as Start" button to log the offset to your new Lst file.

All the images after that, will be taken from that start point,
You can then create your new item, and then you are ready to move onto your next item / Image.


Explanation,
Rather than use the offset in the item, I scan the lst file and find the offset by multiplying the image sizes to create the offsets on the fly, this then lets you edit and insert items into the lst file, and every other offset compensates for the insert / edit.


I will try to pad out the User Guide when I get time,
Hope that helps

Cheers
Dancemammal

knob 13th Nov 2007 4:56 am

You need to set the start offset using the button on the first image correctly lined up in the .lst first.

Then save the .lst, then exit the editor and reload, you should find the first image is in the correct postion which means the start offset is now set.
Don't set the start offset again you only need to do it once.
Then all you need to do is line up the all following pictures create a new .lst entry, set the rectangle and then resave the .lst after each change.

This is the only method which worked for me.

Using the new software is much better method of creating a .lst by far and has really speeded up the process.

I did find if you tried to reload a .lst a again the application gets stuck and I had to kill the process, so just a small bug there.

MattBryan 13th Nov 2007 5:32 am

Thanks for your tool Dancemammal.

I have some problems with images, because they look kinda compressed in your editor. I'll greatly appreciate info on the format in which images are stored in the firmware so that I can find them in WinHex or some other editor.

Dancemammal 13th Nov 2007 5:48 am

Re: New Firmware Editor Version 1.0.1.0
 
Hi,

I think you may have to give me more info than that,
can you see the image?
is it squashed because of the width / height ?
is it an Actions chip (encrypted) ?
what model is your MP3 player,

Images are stored in 16bit bitmap format in little endian byte format, with no pallette info, You may have some difficulty opening the images in a hex editor due to this, and is why we have to write these applications.

Regards
Dancemammal

MattBryan 13th Nov 2007 6:08 am

Thanks for your reply.

It is Rockchip RK2608A with touchscreen 320*240. After the first touch it does not start the app, it just changes it's icon.

Oh, little endian means that I should search for MB and not BM? Thanks again.

Dancemammal 13th Nov 2007 8:35 am

Re: New Firmware Editor Version 1.0.1.0
 
Hi,

For MattBryan,

Copy this and save as a .lst file, you can then open up inside the editor after you open your firmware, this file will give you the first images up to your media player screen.

Copy all of the below and save as file

// RockChip Editor File
// Editor Ver 1.0.1.0
// Created By Dancemammal 2007


//Header

Chip=RK2608,000,
MName=Generic 240x320,
PName=RK2608,RockChip,
Version=00.00.0000
DefaultOffSetB=5172900
DefaultOffSetT=(default)
OInf1=(none)
OInf2=(none)

ItemCount=8


//Items

ItemName=Welcome
ShortDesc=12 Pictures
ItemDesc= (Welcome Sequence)
ItemID=1
ItemType=1
SubType=0
ItemFlag=0
ItemRect=0,0,240,3840,
OffSet=0,0

ItemName=ShutDown
ShortDesc=12 Pictures
ItemDesc=(Shutdown Sequence)
ItemID=2
ItemType=1
SubType=0
ItemFlag=0
ItemRect=0,0,240,3840,
OffSet=-1,0

ItemName=BackGround
ShortDesc=Desc
ItemDesc=Description
ItemID=3
ItemType=1
SubType=0
ItemFlag=0
ItemRect=0,0,240,320,
OffSet=0,0

ItemName=MainMenu
ShortDesc=18 Pictures
ItemDesc=(Main Menu Icons)
ItemID=4
ItemType=1
SubType=0
ItemFlag=0
ItemRect=0,0,160,450,
OffSet=-1,0

ItemName=MainMenu
ShortDesc=18 Pictures
ItemDesc=(Main Menu 2 Icons)
ItemID=5
ItemType=1
SubType=0
ItemFlag=0
ItemRect=0,0,160,450,
OffSet=-1,0

ItemName=Player
ShortDesc=Desc
ItemDesc=Media Player
ItemID=6
ItemType=1
SubType=0
ItemFlag=0
ItemRect=0,0,240,320,
OffSet=0,0

ItemName=Lock
ShortDesc=Desc
ItemDesc=Description
ItemID=7
ItemType=1
SubType=0
ItemFlag=0
ItemRect=0,0,24,40,
OffSet=0,0

ItemName=Battery
ShortDesc=Desc
ItemDesc=Description
ItemID=8
ItemType=1
SubType=0
ItemFlag=0
ItemRect=0,0,24,80,
OffSet=0,0

ItemName=Blanker
ShortDesc=Desc
ItemDesc=Description
ItemID=9
ItemType=1
SubType=0
ItemFlag=0
ItemRect=0,0,240,56,
OffSet=0,0

MattBryan 13th Nov 2007 10:26 am

Thank you so much Dance. Don't you think menu should be 900*160? I mean your program does not show this size, but in Photoshop icons look right way when menu bmp is that size. Thanks again.

knob 13th Nov 2007 11:18 am

dancemammal..

Noticed a slight error in the .lst generator.

The line "OffSet=0,0" should be "OffSet=-1,0" for all the pictures except for the first picture.

Every Item entry is getting generated with "OffSet=0,0"

This doesn't affect the dancemammal editor, but it causes the wrong pictures to be displayed in RKLogoEdit.

thanks for all the good work!

Dancemammal 13th Nov 2007 11:54 am

Re: New Firmware Editor Version 1.0.1.0
 
Hi All,

Thanks Knob, for pointing out the mistake in the lst file generator, i will correct that, also the problem with reloading the lst files.

As for the images, it does'ent matter what size the images are (160 x 900) or (900 x 160) as long as you can see all the images, the images are all stored as a string of bytes, so long as you make your replacement image the same size as the image you are replacing then it will work fine,

The Lst file is just a guide, to help you map out the string of bytes into something easier on the eye.



I am hoping to add some new features to the Editor, if anyone has ideas, either put them in my private message, or add them to the forum.

Things in mind,

1. Formatting, backup and restore of the Player
2. Decryption of Actions firmware
3. Projects (firmware and lst files with last position saved)



Future Additions

Hook into RockChipUSB.drv






Cheers
Dancemammal

princessanne1026 13th Nov 2007 12:53 pm

Hi dancemammal, please excuse my ignorance, as I'm pretty slow when it comes to firmware lingo. But is this tool only for firmware that is already available, or can it also extract the firmware from rockchip players? Because sadly, I won't be able to make much use of this tool without compatible firmware for my rockchip as I have yet to discover a tool with extraction capability. But keep up the good work! This is helping lots of people.

iixorbiusii 13th Nov 2007 2:44 pm

Yes, I am in the same boat with all 4 Rockchip players. Still, this looks like it's helping people that got f/w with their players. If extracting proves to be impossible, it might be time to invest in a Teclast, which comes with f/w!!

Dancemammal 15th Nov 2007 1:13 am

Re: New Firmware Editor Version 1.0.1.0
 
Hi All,

My Player (Onda VX858LE) came with the FW on disk,

I am working on extraction of the firmware from all players (Fingers Crossed), I will start with the RockChip (as it is the one I have), If I bust it, I will hold you all responsible (just kidding).

Regards
Dancemammal

makd511 15th Nov 2007 2:17 am

Dancemammal

just noticed that you are a yorkshire man - maybe i could pop in for a "cup of tea" :)

keep up the good work

Dancemammal 15th Nov 2007 2:53 am

I may have to move me wippit out't way so you can sit down :)

knob 15th Nov 2007 2:03 pm

Re: New Firmware Editor Version 1.0.1.0
 
Quote:

I am working on extraction of the firmware from all players (Fingers Crossed), I will start with the RockChip (as it is the one I have), If I bust it, I will hold you all responsible (just kidding).
:shock:

Thats good news dancemammal, don't worry you will find plenty of folks here willing to risk their players to test the extraction utility. :oops:

keep up the very excellent work!!

crazy.neo 15th Nov 2007 3:33 pm

Re: New Firmware Editor Version 1.0.1.0
 
You rock. That's just it. You do.
Also, remember to pop in the s1mp3 wiki if you have any doubts about other player's chipsets and flashes.

Keep up the good work,
crazy.neo

denver 16th Nov 2007 9:44 am

Re: New Firmware Editor Version 1.0.1.0
 
hi dancemanal thanks a lot for your great work ! the lst and the new firmware editor are great if knob see this thanks 2.I have some kind of probleme for the past 2 weeks i've been redoing every single frames of the onda vx858le its nearly 100% complete it looks nice from firt to last image but on record screen there is 3 image glitch 3 panel that load a part of selection panel of the browser an other panel loads disturbed twisted picture of what i pasted on it and a fird the same thing is i think there are 3 missing pictures to decrypt on the lst if you could put your head on it when you have time these 3 bugs are the 3 left things i have to get working for my total theme to be complete and i'll only upload it when i get this fixed if you need it to uderstand the probleme ask ps.re adition its been a few days seems like i killed the topic :( so aaa lets see a picture of my ball bursting probleme http://img127.imageshack.us/img127/4...0981ih2.th.jpg


All times are GMT -7. The time now is 10:42 am.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 RC 2