Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - zeusamadeus

Pages: 1
1
Firmware Mediatek MT13x9 - Desenvolvimento / Re: MTK Patcher
« on: December 01, 2007, 01:36:07 PM »
How to translate Jefferson's programs - TuToRiAl


It seems that all Jefferson's programs are packed with .exe packer called UPX.
So, first you need to download it from : http://upx.sourceforge.net/#download



For our example, we will change a one program string called "Principal" in program mtkPatcher v0.12 beta.

To do this, we need to have a program for that purpose, I love to use a program called Resource Hacker, you can download it from : http://angusj.com/resourcehacker/

But you will not have access to all resources of program (in our example mtkPatcher v0.12 beta) if it's packed, so you need first to unpack program's .exe before you open it with Resource Hacker.

To do this, follow next steps.

1.) Unpack both archives.



2.) Copy file upx.exe in the same folder where mtkPatcher is.



3.) Now, run upx.exe with Command Prompt (START > All Programs > Accessories > Command prompt) and unpack mtkPatcher.exe with UPX using the -d parameter.

e.g. upx -d [file_name]

You also need to know few basic commands for Command Prompt.
These are:

cd..       is equal to button in Windows Explorer
cd         is equal to double left click with mouse on folder
[hdd_partition_letter]:         change to C partition start path (e.g. C: or D: or E: etc...)

It means that you need to know how to come to right location with Command Prompt where upx.exe and mtkPatcher are.

When you come to right location, unpack .exe with command described above.



4.) Open mtkPatcher.exe with Resource Hacker



5.) Now, we need to serach for right string (in or example it's "Principal)





6.) First, we will come here, but this is not what we are looking for, we are seraching for captions, so, click Find Next.





7.) This is what we are looking for:



8.) Now, change the string "Principal" (in our example we will change it to "Example"). Then click Compile Script button, and we can save the changes.





9.) We can run now mtkPatcher.exe to see the changes.





10.) For the end, we can pack back the .exe file, so it will have smaller size.

Use again UPX and Command Prompt, next command that we will need is:

upx [file_name]








------------------------------------------------
I hope that you will understand the whole process.

Now I'm waiting for new english versions of Jefferson's software  ;D

GOOD LUCK!


zeusamadeus

2
Firmware Mediatek MT13x9 - Desenvolvimento / 23 characters limit BUG
« on: November 25, 2007, 07:24:27 PM »
Hi,

I saw that Jefferson also had problems with patching a filebrowser for Punktal PK-DV246.

There is problem when you try to extend the number of characters in File Browser to more than 23.

I was try many ways to fix that bug, but I'm still without success.

First of all, I need to say that I don't have Punktal PK-DV246 player but I have Yamakashi XXX which is his clone.

They have 100% the same ARM code, and they are very very similar (not so aestheticly).

Yamakshi XXX:


Info:
Code: [Select]
Versio : 02.1D.02.1E
Sub : 05.00.05.07
8032 : 05.00.05.07
Servo : 89.61.10.00
RISC : 05.00.05.07
DSP : 08.96.00.56
Firm ID : MEDIATEK
File : MTK.BIN
Remote : 0x5A2B (Unknown. Replace with CAUTION !!)
Button : 0x80A8 (Unknown. Replace with CAUTION !!)
VFD bit : Type B (Apex,E-Boda,Fortune,Lenco,Yamada,Xoro,Zensonic)
Flash : 800, 16bit
Pass : 0,0,2,None,None
ShMem : 0x76CC00

On the net I found a one more clone of these players, this is Peekton PK6023

(http://www.peekton.com/product_info.php?cPath=30_23&products_id=109).

All these players have 23 characters limit bug.

So, all changes and addresses (from Yamakashi XXX) will be usable for firmware/ARM Code of Punktal PK-DV246.


I was found some useful informations for this problem on mt13x9 group.

It seems that only way to solve this problem is to implement an unicode2CP routine into ARM code.
But problem is to integrate unicode2CP calls into WriteDirName and WriteFileName functions cause they are different on these players (with servo 89.61.10.00) than on most other mediatek based players.

So, we need first to change existing WriteDirName and WriteFileName functions, than to put unicode2CP calls, than to write unicode2CP code on C++ message area (or we can extend ARM code), and than to create a 125x code page.

I was try to solve this problem using some informations from ExSport's ExSport_CP125x.doc document and messages from mt13x9 group.
But, I didn't manage to solve that problem, I was only get hidden file and directory names in file browser. :(


I put here my changes made in ARM code (additional changes in firmware are necessary, read ExSport_CP125x.doc) and maybe they will be useful for others who wants to help me to fix this. These changes does not work.

I also included in attachments all informations about this problem from mt13x9 group (ExSport_CP125x.doc and replies on http://tech.groups.yahoo.com/group/mt13x9/message/7424).



I'm ready for cooperation.

zeusamadeus
(Croatia)


PS

@Jefferson

I think that you don't need a dummy file for firmware CD upgrading for these players (servo 89.61.10.00).
Did you try to burn MTK.BIN on cd with Nero Burning ROM software with next settings:








3
Firmware Mediatek MT13x9 - Desenvolvimento / Re: MTK Patcher
« on: November 23, 2007, 12:18:53 PM »
Hello everybody,

This is my first post here, and I have one little gift for you.   :)

I translate entire MTK Patcher v0.12 beta to english. Everything is translated, except LOG messages.  ::)

I hope that I didn't break any of copyright or forum rules.  ;D

I need to say that I don't speak Portuguese/Brazilian, I was use many online translators, like Google Translate.

I hope that you will be satisfied with this translation.

Note:

This is unofficial english version of MTK Patcher.

Thanks goes to Ryan, author of original MTK Patcher.

Pages: 1