Related
I've made a set of tools that can assist in cooking your own WM5 ROMs. These tools were tested only on BlueAngel devices. They should also work on Himalaya. Universal and Wizard support is also present, but it is untested, so the tools may crash or turn your device into brick. But it is possible to extract files from universal/wizard ROMs and use them on other devices.
I've attached 2 archives - make_hv.rar, a tool from Platform Builder that can be used to recreate .HV files (they contain default and boot registry), and imgfs_tools.rar - these tools should be used to edit WM5 IMGFS partition.
With these tools and http://forum.xda-developers.com/viewtopic.php?t=33321 (it can edit WM5 boot XIP partition) it is possible to replace/add/delete any file in WM5 ROM.
Usage:
Code:
prepare_imgfs.exe
Splits nk.nba into imgfs_raw_data.bin and imgfs_removed_data.bin.
imgfs_raw_data.bin - contains raw IMGFS data
imgfs_removed_data.bin - contains extra data (something like FAT table).
Usage:
prepare_imgfs.exe nk.nba [-nosplit] [-mpx200] [-acer]
Use "-nosplit" for HTC Wizard and Universal ROMs that don't contain extra
blocks of data. In this case imgfs_removed_data.bin would be empty.
make_imgfs.exe
Reverse of prepare_imgfs. Combines imgfs_raw_data.bin and imgfs_removed_data.bin
into nk.nba file. Use -nosplit if it was specified for prepare_imgfs.exe.
Usage:
make_imgfs.exe nk.nba [-nosplit]
The nk.nba file would be used as a template, its contents would be overwritten.
viewimgfs.exe
Dumps the contents of imgfs_raw_data.bin to "dump" subdirectory. Files are
dumped as is, modules as directories. File time and attributes are preserved.
If RecMod.exe is present in the current directory, all modules are
reconstructed as working DLLs/EXEs and placed in the corresponding subdirectory.
Tool creates dump_MemoryMap.txt with address ranges occupied by modules.
Usage:
viewimgfs.exe imgfs_raw_data.bin
RecMod.exe
Reconstructs a module dumped as directory to a working state. Rebuilds
relocations information, and tries to guess section names.
Usage:
RecMod.exe [path to module directory]
BuildImgfs.exe
Reverse of viewimgfs. Reconstructs imgfs_raw_data.bin and imgfs_removed_data.bin
from files in "dump" directory. Overwrites contents of imgfs_raw_data.bin/imgfs_removed_data.bin
files. Does not check for errors or end of free space. Approximate free space
left is displayed when program is finished. In case of error contents of bin
files is undefined.
Usage:
BuildImgfs.exe
It would overwrite imgfs_raw_data.bin/imgfs_removed_data.bin in current directory.
DelFile.exe
Deletes one file or module from imgfs_raw_data.bin. Wildcards are not supported.
Usage:
DelFile.exe filename.ext
Uses imgfs_raw_data.bin from current directory. Does not check for errors.
AddFile.exe
Adds one file to imgfs_raw_data.bin. Would reuse space freed by DelFile.
Usage:
AddFile.exe filename.ext
Uses imgfs_raw_data.bin from current directory. Does not check for errors.
The typical process should be:
prepare_imgfs.exe nk.nba
viewimgfs.exe imgfs_raw_data.bin
...modify "dump" directory as you need...
BuildImgfs.exe
make_imgfs.exe nk.nba
or
prepare_imgfs.exe nk.nba
DelFile.exe filename.ext
AddFile.exe filename.ext
...you may add/delete as many files as you need...
make_imgfs.exe nk.nba
Of cause you'll need a tool to convert NBF<->NBA files. SD-card images can be also used instead of NK.NBA file, but this was not tested!
Troubleshooting.
In case of invalid ROM the tools would crash without saying anything. In this case they may destroy the contents of input files.
Use these tools at your own risk! They may make your device completely unusable! Always make an SD-card backup of your ROM and Extrom!
The worst case I had during tests was complete destroying of DOC partition on my device. I had to flash WM2003 OS, repartition DOC from there and this fixed the device. Of cause this method cannot be used on Wizard or Universal.
I've published these tools so that someone could integrate BA patches into a ROM or play with cooking own ROMs.
edited 12.12.2005. AddFile/BuildImgfs should work on Universal/Wizard ROMS (i.e. roms with empty imgfs_removed_data.bin file).
edited 15.01.2005. Fixed a major bug found by TofClock. Short name of files with filename length 24 chars or longer (like "instmsgrresources.96.dll") was incorrectly generated and in some cases they were inaccessible by OS.
edited 05.02.2005. Added several checks so that viewimgfs.exe does not crash on incorrectly patched ROMs (MPX200). Don't use buildimgfs.exe on such ROMs.
edited 30.03.2006. Added RecMod tool that reconstructs modules dumped as directories to a working DLL. So reusing modules from other ROMs is now much easier. Added updated prepare_imgfs.exe with support of ACER N300 ROM (thanks to Tuatara).
edited 12.07.2006. Added source code of prepare_imgfs/make_imgfs tools, so anyone can add the support of new devices.
edited 25.10.2006. Published the source code on my site. The code is ugly and is not commented at all. Don't ask me how to compile or use it!
I've stopped working on this project. There would be no updates.
Complete source code is available on my site.
mamaich,
can this be done on Alpine device??? Alpine that known as faster Himalaya also should be running WM5.....
thanks
Looks nice
Some questions:
1. AddFile:
Can I add single file like
Code:
AddFile something.exe
or have I use 'modules as directories' [like directories dumped with ViewImgfs]
2. AddFile:
Is it possible to add files into directories not in \Windows? For example: "\Program Files\Something\something.exe"
3. Is it possible to modify the kernel? Can I extract and replace \Windows\fatfsd.dll?
Thanks in advance.
mamaich, would for example replacing the internet explorer exe be enough to get it to render gifs correctly? Or are extra dll needed? Also is it necessary to use the other tool you linked to as it appears your tool can add and delete files itself? thanks
Edit: Forgot to add, thanks for your hard work.
mamaiiiiichhhhh I was waiting those tools gr8 work mate, can you upload the modified rom that you already customized for testing it?
baniaczek said:
1. AddFile:
Can I add single file like
Code:
AddFile something.exe
Click to expand...
Click to collapse
You can use both methods, but subdirs can be used only if you are really know what you are doing (i.e. you know all addresses of each section and 100% sure that they don't overlap some other modules and you've edited .VM and .ROM files). In most cases you should add EXE/DLL files as normal files.
Is it possible to add files into directories not in \Windows? For example: "\Program Files\Something\something.exe"
Click to expand...
Click to collapse
All files are placed into \windows dir and then moved by coldinit to subdirs according to instructions in initflashfiles.dat. Of cause you can modify that file as you like.
3. Is it possible to modify the kernel? Can I extract and replace \Windows\fatfsd.dll?
Click to expand...
Click to collapse
Boot part can be edited with http://forum.xda-developers.com/viewtopic.php?t=33321
ramram
There is no ROM I can release for public testing. I would not integrate my patches into the ROM, I'm working on adopting Wizard's ROM for our devices. But everything is on too early stage, I have to combine registry settings, ROM files, find and patch drivers for ROMs to work, etc. And Wizard's ROM is larger than ours, some files should be removed.
efjay said:
mamaich, would for example replacing the internet explorer exe be enough to get it to render gifs correctly? ...
Click to expand...
Click to collapse
I don't have any problems with IE.
Ic
mamaich,
I'll wait you then until you finish the wizard rom adoptation, I'll be glad trying it on the BA if you don't mind, consider my device for development purpose and beta testing if needed.
Concernig the IE, I have the same problems as Efjay mentioned earlier.
Thank you
@mamaich
Thank you for the answer. And thank you for your hard work [sinze Siemens SL45i].
mamaich said:
efjay said:
mamaich, would for example replacing the internet explorer exe be enough to get it to render gifs correctly? ...
Click to expand...
Click to collapse
I don't have any problems with IE.
Click to expand...
Click to collapse
mamaich, the problem is with viewing gif files. On this site using PIE i cannot see the quote button and other buttons below a post. Even manually opening a gif file on the BA opens PIE with a blank page.
go mamaich!!!
;o)))
buzz
buzz_lightyear said:
go mamaich!!!
;o)))
buzz
Click to expand...
Click to collapse
And GooO BuzZ
how about buzz if you can with your know how get a bare minimum rom version of universal not having alot of crap like the various silly tsk files and other pictures and videos that serve as demos on the rom and not do anyting else..im sure alot of us use our own file explorers (resco,tc) so that can be removed aswell.. what do you think...??/
can you use nk.nbf? how can i convert nk.nbf into nk.nba????
zohaer21 said:
can you use nk.nbf? how can i convert nk.nbf into nk.nba????
Click to expand...
Click to collapse
you can use this tool xda3nbftool.exe download from ftp for BA or Xda2nbftool.exe for Himalaya.
@Maimach
All the module files are Directory ??? How can I use these for my purpose ? But it Great work Maimach , go on!!!!!!
I tried to use this tool to add two modules and then flash the finished nbf file but i get an error file is corrupt if i use BaUpgradeUt.exe. If i use MaUpgradeUt_noID.exe it seems to initialise but no rom info is shown on the upgrade screen. Continuing the rom upgrade nothing then happens then a message comes up that the upgrade is finished. Soft reset and back to normal. I followed mamaichs instructions and everything seemed to go ok. Any idea why it didnt work for me?
Yeah, go Mamaich, you rock. After the Wizard ROM on the BA, the next step could be a complete ROMkitchen (á lá Wallaby...).
Stupid question, where can I find the NBF<->NBA converter? (Yes, i did search the forums)
ftp://xda:[email protected]/BlueAngel/Tools/UpgradeTools.rar
and this page for info
http://wiki.xda-developers.com/index.php?pagename=BA_GettingStarted
@efjay
did you use the -sd -sl -so and the -c -u options in xda3nbftool? Thats where i went wrong first time.
Hi
can anybody please help with decomiling ETEN Romz so that we can customise it and tweak it like HTC romz.
reo
Try this attach
Usage:
prepare_imgfs_eten.exe temp.dat
then mamaich viewimgfs
Hi
thanks i have this file, and yes it does work to disassemble rom. but i had a problem reassembling.
i am still testing this, i will fill everyone in.
regards
reo
OK, continue
...modify "dump" directory as you need...
BuildImgfs.exe
make_imgfs_eten.exe temp.dat
hi
thanks, but my problem was actually this part. i should have been more clear. when i done a recompile with build the OS did not come out correct. it seems that it got damamged and when i loaded it to my phone it froze up on boot logo.
is there a limit on the amount of changes u can make in the OS part ? mayb it must not go higher than a certain file size ?
i however have successfully changed the startup logo, and extrom and created a new ROM. only the OS part has been a problem.
regards
reo
How Can I extract the ROM from Eten?
reo
These tools were tested on M500, M600, G500.
If you disassemble temp.dat to dump folder, and then built temp.dat without any changes in the dump folder, the resulting file temp.dat is working?
I tested this, but unfortunately after i reassemble it does not recombile identically. so when i compare there are differences.
however, i have noticed that if you do not have the PPM from itsme repository then you will get 652 files extracted, when you should actually recieve 1117 files
regards
reo
prepare and make imgfs works. when i open reassembled temp.dat again with prepareimgfs - viewimgfs extracts files normally (About 102mb). But comparing with hex editor, first 51,880,508 byte is ok then it changes. After every 513 bytes there is extra 7 bytes in orginal rom. I think Eten made some protection. For example in rom ver.230 bootscreen image (JPG) is located at first lines of rom. But every 512bytes of image there is FFFF FFFF. So i removed FFs and i got bootscreen image
uas, could you give me prepare_imgfs_eten source? i want to see how it works. i am not a programmer but i made a little perl code which adds FFFF every 512bytes of a file. For making bootimages for putting into rom.
Reo i couldn't start bootloader anymore after i made a modification on rom. Could you give me any suggesttions? Forgive my english if there is sth wrong....
All perl scripts for eten roms are in the Russian forum
http://forum.wce.by/viewtopic.php?p=78923#78923
(Registration required)
thanks very much..
can someone make a Eten G500 rom with a bigger page pool ?
UAS,
Thanks a lot for your tools. It works perfectly on my M600 and I am going to write up an tutorial how to customize the rom in detail
jackleung said:
UAS,
Thanks a lot for your tools. It works perfectly on my M600 and I am going to write up an tutorial how to customize the rom in detail
Click to expand...
Click to collapse
oh, please do.......i have been eagerly waiting for someone who are able to explain the extraction of eten rom in details, please jackleung.
sfliu said:
oh, please do.......i have been eagerly waiting for someone who are able to explain the extraction of eten rom in details, please jackleung.
Click to expand...
Click to collapse
My draft (not finished yet)
http://www5.discuss.com.hk/viewthread.php?tid=4127717&extra=page=1
jackleung said:
My draft (not finished yet)
http://www5.discuss.com.hk/viewthread.php?tid=4127717&extra=page=1
Click to expand...
Click to collapse
thank you very much for your effort, this really make my daylooking forward to your complete tutorial.
initflashfiles.dat you can get from the windows folder on your device.
It must be in Unicode but without the first two bytes FFFE Unicode sign.
Localized names must be like as:
Directory("\Windows"):-Directory("\x0428\x0440\x0438\x0444\x0442\x044B")
uas said:
initflashfiles.dat you can get from the windows folder on your device.
It must be in Unicode but without the first two bytes FFFE Unicode sign.
Localized names must be like as:
Directory("\Windows"):-Directory("\x0428\x0440\x0438\x0444\x0442\x044B")
Click to expand...
Click to collapse
But seem like Eten's PDA doesn't come w/ one. Use initflashfiles.dat from other as template and make one from scratch is quite time consuming and error prone (especially w/ Chinese rom w/ chinese file name and directory). For me, I just manually move the files and directories once. Do a SPB backup and use the backup files for initialization after ROM update.
How to custom build Eten Rom
Let me thanks UAS for the tools first
I put all require programs, and user.txt and default.txt (registry for *** Traditional Chiniese Rom ***) into a signle package. Here http://rapidshare.com/files/30073907/eten_rom_cook_package.zip.html
Steps
******************
U will find the steps are very similar to cooking Asus P525 here http://www5.discuss.com.hk/viewthread.php?tid=3788644&extra=page%3D2
***** Section 1: obtain the imgfs_raw_data.bin from the rom *****
1. Download my Rom edit and update package (addfile.exe, buildimgfs.exe .... etc.)
2. In File Explorer, put "%temp%" as address and it should bring you system temp directory probably "C:\Documents and Settings\<yr winodows user id>\Local Settings\Temp", U may want to do some clean up if lots of files there.
3. Run the Eten Rom update program (e.g.: EUU_M600_CHT_R22_101_0230HK_WinXP.exe)
4. No need to connect yr M600. Follow the update instructions step by step and you will eventually see a files: temp.dat (~73mb). Copy the Rom file (Temp.dat) to other folder and extract my package there.
5. create the imgfs_raw_data.bin file by "prepare_imgfs_eten.exe" ONLY
***** Section 2a (Modify Rom content by Add/Remove files) ******
This method is very easy and relative low risk
1. Remove files in the Rom by "Delfile.exe <file name in the rom>"
2. Add files to the Rom by "Addfile.exe <file in yr computer>" (If the program crash, the rom is probably full)
***** Section 2b (Modify Rom content by extract and re-package) *****
More complicate and BuildImgfs.exe take a long time to build a package. But this method ismore flexable and manageable.
1. extract the content by "viewimgfs.exe imgfs_raw_data.bin"
2. add/replace/remove files in the dump directory
3. package the content by back to imgfs_raw_data.bin by "BuildImgfs.exe" (take a shower then come back )
****** Section 3 (optional: Modify the registy content of the Rom file) ******
1. Get the default.hv and user.hv from 2b.1
2. do the following in DOS to convert the registry to readable format :
REM ****************************
SET _FLATRELEASEDIR=.
rgucomp -o default.hv -nologo > wwedefault.txt
rgucomp -o user.hv -nologo > wweuser.txt
REM ****************************
(note: If you are modifing Chinese Rom, rgucomp does not support Chinese Ouput and you need to manually fix the output file (or use mine in the package as yr template)
3. Add "REGEDIT4" in the beginning of the files, leave a blank line atthe end of the file and save the file as UTF-16 or Unicode format. (Ultra-Edit is very good editor for this)
4. Edit the files for registry setting
5. Do the following to replace the registy file w/ yr modification
REM *** Registry ****
Delfile.exe default.hv
Delfile.exe user.hv
attrib -h -s -r *.hv
SET _FLATRELEASEDIR=.
copy /y wwedefault.txt boot.rgu
RGUCOMP -b
copy /y boot.hv default.hv
Addfile.exe default.hv
copy /y wweuser.txt boot.rgu
RGUCOMP -b
copy /y boot.hv user.hv
Addfile.exe user.hv
REM *** Registry ****
******** Section 4 (Optional: Create Folders or copy files from \Windows to other directory)
1. initflashfiles.dat not present in Eten rom, U can create one and put it in the rom. But I can't make my M600 to boot properly w/ this
******* Section 5 Convert imgfs_raw_data.bin temp.dat***************
1. make_imgfs_eten.exe
******* Section 6 Update yr M600 w/ the modified rom***************
1. Copy the temp.dat and RUU.exe (from my package) back to %temp% directory
2. Connect yr M600 and wait for MS Activesync to connect first
3. Run RUU.exe and follow the instruction.
My customized M600 Hong Kong Rom
Don't ask me for M600+ rom since I don't have M600+, and I will not have time to customize build for others. So, take it or leave it (but I might do bug fix and update if there's any). Please feel free to give comment.
*** ROM based on Hong Kong 230 ROM (EUU_M600_CHT_R22_101_0230HK_WinXP.exe) ***
What's get removed from my customized rom:
1. Eten phone firewall (replaced by CALL SMS Blocker)
2. MSN & Msn messenger (replaced by MSN Live and Live Messenger)
3. Eten phone profile manager (Replaced by Pocketmax Phone alarm)
4. Calculator (replaced by Omega 1-Calc)
5. Pocket Excel (Install Softmaker Office if you need a REAL excel program)
6. Pocket Powerpoint
7. Mandarin Voice Command (replaced by Cantonese)
8. Error Reporting and Irda driver
9. Eten backup problem (Replaced by SMS backup Genius and SPB Backup)
10. Quick Link
11. Lots of other junks
What's buildin: (all the tricks I mentioned here: http://www5.discuss.com.hk/viewthread.php?tid=2505945&extra=page=1)
1. USB Host
2. Eten backup battery patch
3. Eten Skype Setting, and Skype
4. SPB Safe Mode and AltTab
5. AE Button Plus
6. Resco Audio Recoarder
7. Resco File Exploer 5.42
8. MemEmpty
9. Multipad.exe
10. No Plugins Today
11. TCPMP Player
12. Pocket Alarm
13. Resco Photo Viewer and screen capture
14. Task Manager
15. Celedial and CeleTask
16. WM5NewMenu
17. Wisbar Lite
(Not all the apps are registed or some of them registered under my name, you may need to look for the SN yrself)
To Install:
1. Follow instruction 6 on my previous post to load the rom
2. put the exe file on yr PDA and run it to have the needed files in place
Dowload link: http://rapidshare.com/files/30225309/eten.rar.html
Ok.. I hope this could be a HOW-TO-DO-IT thread and that people will post some useful info how to build your own language from the M$ SDK wm6
This thread will be updated when there is new info. (but we all need to help!)
First we need the wm6 files of your language
-
How to dump the wm6 files
1- Dowload the images that you want here:
http://www.microsoft.com/downloads/...26f-a913-4f370a65a582&DisplayLang=en#filelist
Available languages are:
0404 CHT Chinese Traditional
0804 CHS Chinese Simplified
0405 CSY Czech
0406 DAN Danish
0413 NLD Dutch
0409 USA English
0407 GER German
0408 ELL Greek
040b FIN Finnish
040c FRA French
040e HUN Hungarian
0410 ITA Italian
0411 JPN Japanese
0412 KOR Korean
0414 NOR Norwegian
0415 PLK Polish
0416 PTB Portuguese Brazil
0816 PTG Portuguese Portugal
0418 ROM Romanian
0419 RUS Russian
041b SKY Slovak
0c0a ESN Spanish
041d SVE Swedish
041f TRK Turkish
2- Install them in your computer.
3- Take the image that you want from the installation folder.
For example, if you have downloaded the images for NLD language look in the folder "C:\Program Files\Windows Mobile 6 SDK\PocketPC\Deviceemulation\0413":
The image for Hermes is: PPC_NLD_GSM_VR.BIN (I'm not 100% sure)
- Download Tadzio's imgfs excelent tools in:
http://forum.xda-developers.com/showthread.php?t=298327
- Unzip the tools along with the image in any folder.
- Rename the image to A.BIN (to make the next commands easier to type).
- Open a D.O.S. command window and perform these commands:
> NBSPLIT -emu A.BIN
(it generates two files: A.BIN.EXTRA and A.BIN.PAYLOAD)
> IMGFSFROMNB A.BIN.PAYLOAD IMGFS.BIN
(it generates the file IMGFS.BIN)
> IMGFSTODUMP IMGFS.BIN
And that's all. Files are dumped in /Dump directory
-
What we need! (and how do we get it?!)
So all we got right now are the wm6 files, we dont have any hardware drivers and OEM apps specific to the hermes.
We need;
"XIP"
"the kernel'
&
"module addresses in the ROM"
Hope this will work out, its in best interests for all of us!
@ mods - can we make this sticky? Thq you
Thx to VivaErBetis
You dont need to make a complete rom.
Use an exsisting rom with all drivers and etc.
You will need to replace the mui files from the emulator image..
You will also need to edit the .rgu files.
And you will need to edit the intiflash.dat file.
There MUST be a empty line at the end of the .rgu files and iniflashfiles also.
Im not sure if you need more..
My freeze at the windows logo screen when i have flashed the phone and boot it up.
Well since this is intended to be a learning thread, I have a question. Upon dumping the files, lets say one wants to delete PowerPoint;
I know the executable, and the lnk file are in the windows directory. Now once one removes these two files, are their any other files in other locations that need to be deleted? Also, what about the registry entries? Do those get deleted as well? I would think you would if you wanted to keep the reg clean, and compact. But I could be wrong, and that is why I pose the question.
I am sure I am not the only one curious about this, but I am sure that because of all the flaming around here, that alot of folks don't dare, tread in these types of waters.
Translate..
Sorry for my poor english
I'm trying to translate in Italian language...
I've used this method:
1) I've extracted the Emu Ita Rom;
2) I've extracted a WWE Rom (LVSW_RUU_Hermes_WWE_3.30.2.1);
3) I've changed all the names of *0410.mui (Italian) in *0409.mui and overwritten the LVSW original files;
4) I've rebuild the LVSW Rom and I've uploaded to my hermes.
So, now i can see the 3 boot images, then only the up bar with "start" and the clock...
If I call the PPC I can see "Incoming Voice Call" with the text in Italian, then the image still on the screen and I can't do anything...
I think I'm not so far from the traduction.. I need only know if I've to change other..
Gigabyte i300
I have just updated my Gigabyte i300 with the WM6 Rom provided by Gigabyte. Too bad Dutch language is not included in the Rom. Is there a way I can add Dutch language?
hey, this is quite an interesting thread. i'm still quite new to the hermes, and still playing it safe (haven't done any flashing yet... only reading and waiting). i have the X01ht with it's original ROM (and currently unlockable radio BL). i lurk these forums frequently, and still have a hard time figuring out what requires unlocking and what doesn't.
anyway, relating to the content of this thread, i'm looking to get an english mui installed on my japanese OS. the only other options seem to be 1) Asukal's MUI (which at this point seems like the best solution... i'm just still not completely sure) or 2) installing a new ROM altogether. i don't quite want to switch to an english OS, because i like the japanese/kanji predictive input. also still a bit worried about warranty voiding by flashing a different ROM file. only thing i want more englishized than it already is are the menus. the keyboards are fine.
anyone else looking a similar english solution to a japanese OS? hmmm... am i correct in assuming that too would require ROM flashing? i think i would risk an english softbank ROM...
Are the tools or the commands for extracting / dumping and so on always device specific or are there any general tools that have to be updated to work with certain ROMs?
When you use Bepe's packaging tool on the files you'll get them sorted into packages, specifically all language specific files of a package will be in a seperate folder.
Is it possible to easily repackage those or does one how to copy the files from that folder to the new ROM manually?
Maybe it's a feature for the next Rom kitchen...
downgrade from wm6 to wm5
Hi Guys,
could anyone help me on how to downgrade my Jasjam from WM6 to WM5?
Thanks in Advance!
Bram87,
Did you made a dutch custom ROM yourself? Otherwise could you make one based on the 20070519_LVSW_RUU_Hermes_WWE_3.30.2.1?
New Project!
Schap has started a project to make a rom for all the localized languages!
We can ask him if can make a cooperative work.. much brains= less time!
Bye
Unable to re-create the emulator rom, any suggestion
Could big brother teach me how to re-create the emulator rom from
the dump files. I want to test customed rom before flashing to my Hermes.
I do the following steps re-create the emulator rom. But fail with following message:<
Name of rom is wm6vga.bin
Steps:
1) NBSplit -emu WM6VGA.bin
==> got both WM6VGA.bin.extra and WM6VGA.bin.payload
2) ImgfsFromNb WM6VGA.bin.payload imgfs.bin
==> got a imgfs.bin
3) imgfstodump imgfs.bin
==> got all rom files of emulator rom in "dump" directory
4) ImgfsFromDump imgfs.bin imgfs-out.bin
==> new imgfs-out.bin created
5) ImgfsToNb imgfs-out.bin WM6VGA.bin.payload WM6VGA-out.bin.payload
==> get ERROR here, see below:
========================================================
ImgfsToNb 2.0 RC 2
No IMGFS partition found in partition table in WM6VGA.bin.payload. Exiting.
========================================================
any reply is welcome.
thanks in advance
shunsai said:
hey, this is quite an interesting thread. i'm still quite new to the hermes, and still playing it safe (haven't done any flashing yet... only reading and waiting). i have the X01ht with it's original ROM (and currently unlockable radio BL). i lurk these forums frequently, and still have a hard time figuring out what requires unlocking and what doesn't.
anyway, relating to the content of this thread, i'm looking to get an english mui installed on my japanese OS. the only other options seem to be 1) Asukal's MUI (which at this point seems like the best solution... i'm just still not completely sure) or 2) installing a new ROM altogether. i don't quite want to switch to an english OS, because i like the japanese/kanji predictive input. also still a bit worried about warranty voiding by flashing a different ROM file. only thing i want more englishized than it already is are the menus. the keyboards are fine.
anyone else looking a similar english solution to a japanese OS? hmmm... am i correct in assuming that too would require ROM flashing? i think i would risk an english softbank ROM...
Click to expand...
Click to collapse
If you don't wish to flash then Asukal's mui is indeed your best option. if you want to flash then you will have to recover the softbank AP info
Asukal Mui is easy to install and doesn't mess with your rom .. don't like it ? .. a hard reset will restore your default
A very cool solution .. i have asked him -very nicely if he would be a Eng MUI for my Sharp EM One
Rob
shunsai said:
hey, this is quite an interesting thread. i'm still quite new to the hermes, and still playing it safe (haven't done any flashing yet... only reading and waiting). i have the X01ht with it's original ROM (and currently unlockable radio BL). i lurk these forums frequently, and still have a hard time figuring out what requires unlocking and what doesn't.
anyway, relating to the content of this thread, i'm looking to get an english mui installed on my japanese OS. the only other options seem to be 1) Asukal's MUI (which at this point seems like the best solution... i'm just still not completely sure) or 2) installing a new ROM altogether. i don't quite want to switch to an english OS, because i like the japanese/kanji predictive input. also still a bit worried about warranty voiding by flashing a different ROM file. only thing i want more englishized than it already is are the menus. the keyboards are fine.
anyone else looking a similar english solution to a japanese OS? hmmm... am i correct in assuming that too would require ROM flashing? i think i would risk an english softbank ROM...
Click to expand...
Click to collapse
If you don't wish to flash then Asukal's mui is indeed your best option. if you want to flash then you will have to recover the softbank AP info
Asukal Mui is easy to install and doesn't mess with your rom .. don't like it ? .. a hard reset will restore your default
A very cool solution .. i have asked him -very nicely if he would be a Eng MUI for my Sharp EM One
Rob
bunny0007 said:
You dont need to make a complete rom.
Use an exsisting rom with all drivers and etc.
You will need to replace the mui files from the emulator image..
You will also need to edit the .rgu files.
And you will need to edit the intiflash.dat file.
There MUST be a empty line at the end of the .rgu files and iniflashfiles also.
Im not sure if you need more..
My freeze at the windows logo screen when i have flashed the phone and boot it up.
Click to expand...
Click to collapse
hello bunny007,
Sorry to ask a silly question.
Could you mind to give me more detail about the how to "use" the mui files from emulator image? For example, HOW-TO edit the .rgu and initflash.dat files.
Many thanks.
i managed to translate all the .mui in italian using xn resource editor and succesfully boot in full my device, all was working without problem but when the system start up the languages was in english and not translated. i think there is something to do with the files like S000, S0001 but if i replace this file the os doesn't boot, the only way seems to translate the original english file with an hex editor but imho too much time is necessary to do this and when we finish the translated version from microsoft should be already out. nobody know a fast way ?
dchanym said:
Could big brother teach me how to re-create the emulator rom from
the dump files. I want to test customed rom before flashing to my Hermes.
I do the following steps re-create the emulator rom. But fail with following message:<
Name of rom is wm6vga.bin
Steps:
1) NBSplit -emu WM6VGA.bin
==> got both WM6VGA.bin.extra and WM6VGA.bin.payload
2) ImgfsFromNb WM6VGA.bin.payload imgfs.bin
==> got a imgfs.bin
3) imgfstodump imgfs.bin
==> got all rom files of emulator rom in "dump" directory
4) ImgfsFromDump imgfs.bin imgfs-out.bin
==> new imgfs-out.bin created
5) ImgfsToNb imgfs-out.bin WM6VGA.bin.payload WM6VGA-out.bin.payload
==> get ERROR here, see below:
========================================================
ImgfsToNb 2.0 RC 2
No IMGFS partition found in partition table in WM6VGA.bin.payload. Exiting.
========================================================
any reply is welcome.
thanks in advance
Click to expand...
Click to collapse
I do the same and give me this error
ImgfsToNb 2.0 RC 2
No IMGFS partition found in partition table in A.bin.payload. Exiting.
My (no so bad) experience
I've tried to make the Italian Rom (but failed)
This is my procedure:
1)Decompress the ITA emu rom and a WWE Rom (like Faria rom)
2)Copied all ITA *0410.mui files, renamed in *0409.mui and replaced the original in the WWE rom
3)Edited the initflashes.dat WWE file, replacing all the links
4)rebuild the new ITA Rom.
When I've mounted on my hermes, I can see the boot is ok. But he won't to start the startup wizard (display calibration etc..) and I can see only the top and bottom bars; the center seem to be stuck but the telephone work (if I press the green key) and it's in ITA!
So.. what other I've to change?
Thanks in advance and sorry for my bad english
Knives
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I also am getting the error:
ImgfsToNb 2.0 RC 2
No IMGFS partition found in partition table in a.bin.payload. Exiting.
I wish to take an existing cooked rom (LSVW), add my own stuff, take stuff out, then repackage to add to my hermes. To be honest, I don't even know where to begin. I have an NBH file, I've used dutty's tool to get a "windows.nb" and I've also tried the emu images. So far I've seen no step by step guide so I've tried to piece it together from the forums. How do these other guys do it?
knives79 is the same error/problem i have, as i said before if you overwrite the original S000 S001 etc file with the one in italian the sistem doesn't boot and stuck and checking with mtty have a lot of bad block on nand even if tadzio's tools say it's ok to flash but if you take only the file that end .mui (file, not folder) the system start up, i have the calibration screen in italian but nothing more, the rest is all in english
Hi!
After a long time of trying to cook custom roms in greek language I am ready to post a small tutorial on how to translate your Rom to your Language using kitchens with a quick and dirty way .
Attention there is a better way to do so but this is what I Do to make my Greek ROMS
Step 1)
a)Download your language emulator Files from
http://www.microsoft.com/downloads/details.aspx?FamilyID=38c46aa8-1dd7-426f-a913-4f370a65a582&DisplayLang=en#filelist
(b) extract the files in a new folder.
Slumpolo 's suggestion:
-----
to extract files from the emulation rom follow this direction:
- Download Tadzio's imgfs excelent tools in: http://forum.xda-developers.com/showthread.php?t=298327
- Unzip the tools along with the image in any folder.
- Rename the image to A.BIN (to make the next commands easier to type).
- Open a D.O.S. command window and perform these commands:
Code:
> NBSPLIT -emu A.BIN
(it generates two files: A.BIN.EXTRA and A.BIN.PAYLOAD)
> IMGFSFROMNB A.BIN.PAYLOAD IMGFS.BIN
(it generates the file IMGFS.BIN)
> IMGFSTODUMP IMGFS.BINAnd that's all. Files are dumped in /Dump directory
-----
Click to expand...
Click to collapse
(c) Rename ALL the 4xx files to 409 (e.g. 0408.mui -> 0.409.mui) Apply this to all files and folders (an eyasier way to do that is to search from windows for all *408* files and then rename them)
Slumpolo's suggestion
----
For step 1c) during the translation of italian rom for the mui files that resides in directory I edited also a file (simply with Supered) that has a line that pointed to the 0410 files (ea. italian) and changed this to 409.
----
Click to expand...
Click to collapse
Step 2)
Find your BASE ROM.
Step 3)
Download your Kitchen. I prefered Anichillus kitchen due to the fact that supports ROM dumping in an easy way
Step 4)
Dump ROM ( If you use Anichullus Kitchen , follow the manual but Stop BEFORE using Bepe's Package TOOL !
Step 5)
Go to DUMP folder ,(eg C:\core\extract\dump) and paste ALL the language files you have renamed from step 1c . ATTENTION you have to copy and paste ALL files from your language folder AFTER you have renamed them to 409 . REPLACE duplicate files
Step 6)
Continue with kitchen steps . For instance if you were to use Bepe's Package TOOL , go on and build the packages.
Step 7)
Edit Initflashes.dat file . Information on how to do that are in every cooking tutorial. In Intflashes.dat file you will have to translate all the links and directories according to your language files. CAUTION if you make mistakes in translation your WM6 will be crappy and programs may not start
->In order to make a good translation check your original rom, or try the WM6 emulator wth your language files and check the directory names (eg
folder Programs in Greek have to be Προγράμματα)
Step 8)
Save Initflashes.dat in unicode and remove first two bytes with a hex editor
Step 9)
Choose your OEM packages.
For GREEK USERS : If you need a greek software keyboard like the original one I have made an OEM package that allows you to do so
Slumpolo's suggestion
------
For step 9) / 10) about keyboard, you must add with a oem package also:
- dictionary in your language
- settings for your language
- t9 dictionary for your language
- for keyboard layout make this registry mod:
Code:
Registry Editor:
HKCU >> ControlPanel >> Keybd
Create a string "Locale" with "0410" vale. Everything without "Where 0410 is your country value.
------
Click to expand...
Click to collapse
Step 10)
build your rom according to your kitchen manual
I hope this helps
Good luck with your tries
I have used the same method for the italian version but you must translate also some parts of .hv files and .rgu or you must pay more attention during the translation of initflashfiles.dat because not all links and directories can be translated without .hv and .rgu editing.
My suggestion? Edit only initflashfiles.dat
Some add for your excellent tutorial:
----
For step 1b) to extract files from the emulation rom follow this direction:
- Download Tadzio's imgfs excelent tools in: http://forum.xda-developers.com/showthread.php?t=298327
- Unzip the tools along with the image in any folder.
- Rename the image to A.BIN (to make the next commands easier to type).
- Open a D.O.S. command window and perform these commands:
Code:
> NBSPLIT -emu A.BIN
(it generates two files: A.BIN.EXTRA and A.BIN.PAYLOAD)
> IMGFSFROMNB A.BIN.PAYLOAD IMGFS.BIN
(it generates the file IMGFS.BIN)
> IMGFSTODUMP IMGFS.BIN
And that's all. Files are dumped in /Dump directory
----
For step 1c) during the translation of italian rom for the mui files that resides in directory I edited also a file (simply with Supered) that has a line that pointed to the 0410 files (ea. italian) and changed this to 409.
----
For step 9) / 10) about keyboard, you must add with a oem package also:
- dictionary in your language
- settings for your language
- t9 dictionary for your language
- for keyboard layout make this registry mod:
Code:
Registry Editor:
HKCU >> ControlPanel >> Keybd
Create a string "Locale" with "0410" vale. Everything without "
Where 0410 is your country value.
Next days I'll try to release an
Ciao
At last
Very good..now i can direct all people who ask this question here.
Great initiative
Thanks
Slumpolo
Updated
Tna said:
Thanks
slumpolo can you post info about the which parts of hv files you edit?
Click to expand...
Click to collapse
I'll post everything next week. All my files are in office
Ciao
btw. as far as i know only certain wm6 builds can be translated using EMU mui files. i dont remember build no's.
Why is that ? What are the restrictions?
does it work for Universal to ?
thats what i wrote above, as far as i know(consulted with bepe) 17913 build its not supported(latest uni) it must be build ???? i remember there is 4 in build no. cannot fint irc log with that conv. with bepe
Hi and thanks for your tutorial. I try to go a different way and want to port over a hermes mui cab to get german wm6. i have some trouble of getting it done.
- the file explorer draws no softkeybar, so it is not usable. does anyone know what files i need therefore?
- the free space when installing a cab isn't displayed correctly
what have i done?
- i took the cab from asukal and removed hermes specific things
- afterwards i copy the files from the emulator image to get newest versions of the files.
if somebody want to test it - here you go:
http://www.gsm-multifund.de/holg/Making_German_Wizard.cab
i would appreciate every help.
best greetings
holg
answer from midget about builds that can be translated:
Code:
the changes from 17740-5 are not language related so the mui's work for all of them
i tried a newer rom and also got no luck with the file explorer. does anybody know what file is responsible for translating the file explorer?
No i don't... since file explorer is the least used program i didn't really care about it ...
so sorry but i can't help in that ... why don't you leave it as it is ?
i think filesys.exe.0409.mui
I think that he has found the file. The problem is about the softkey .
Try using reshack tool (it can be found in most kitchens) and open the mui file. search for the softkey
But yet I am not sure ...
yeah thanks for the suggestions
i personally like the build in filexplorer, cause it is fast and has softkey control, it's good if you just browse and open a file.
filesys.exe.0407.mui is already inserted in windows directory, so i will test with reshack,but at the moment i am a little busy.
Doubt about Files
Hi people
About the translation... i have one question.
After doing the "IMGFSTODUMP IMGFS.BIN" command, and all files are in the Dump Directory... besides the files with 4xx names, there are also some folders with 4xx names... and inside those folders are some files also with 4xx names.
Do i have to rename the folders and the files inside those folders, or just the files... or just the folders.
And one thing more... for example the folder "bbcbres.dll.0816.mui" inside these folder, one of the files called "imageinfo.txt".. inside this txt there's something written on the first line : " Module name: bbcbres.dll.0816.mui" if i have to change the name of the file inside the folder called "bbcbres.dll.0816.mui".... do i have to change this line also inside the txt ???
Thanks
how about the hardware keyboard? because I am on a German MDA Vario, Wizard of course, since we are using QWERTZ instead of QWERTY?
Will this be fixed automatically as well?
Cheers.
PauloBarreiros said:
Hi people
About the translation... i have one question.
After doing the "IMGFSTODUMP IMGFS.BIN" command, and all files are in the Dump Directory... besides the files with 4xx names, there are also some folders with 4xx names... and inside those folders are some files also with 4xx names.
Do i have to rename the folders and the files inside those folders, or just the files... or just the folders.
And one thing more... for example the folder "bbcbres.dll.0816.mui" inside these folder, one of the files called "imageinfo.txt".. inside this txt there's something written on the first line : " Module name: bbcbres.dll.0816.mui" if i have to change the name of the file inside the folder called "bbcbres.dll.0816.mui".... do i have to change this line also inside the txt ???
Thanks
Click to expand...
Click to collapse
You have to change all the *0816*. There is no need to change the folders al long as you rename the *.816* files that are included in those folders. There is no need to change the imageinfo since your are not going to replace the original one.
After renaming All the files (including the language files inside the folders) then you shoud copy only THESE files to your dumped ROM .
4irm said:
how about the hardware keyboard? because I am on a German MDA Vario, Wizard of course, since we are using QWERTZ instead of QWERTY?
Will this be fixed automatically as well?
Cheers.
Click to expand...
Click to collapse
no ... look for hades language pack to fix that, too
[How to] cook LG KS20 or MS25 Roms for dummies
Disclaimer; I take no responsibility and will not be held liable for any problems you encounter with your device before and after following this guide … flashing a ROM is done at your own risk. If you encounter errors in this guide, send me your comments for inclusion in the tutorial.
Special thanks : Spocky,Farahbolsey, Majorasshole, Raykisi, MisterJp, CopsFrance, Bepe, Ervius, No2Chem, Da_G, Ameet
Description of the kitchen
Note: read Kitchen use for more details on the Spocky kitchen.
This is the Spocky kitchen root preview in Windows Explorer:
1. BaseROM
BaseROM folder contains the extraction of DZ (after Dump fonction of LG Kitchen 2.0)
2. BuiltRom
Contains the extraction of Flash.bin (BuiltRom\KS20\temp)
and new Flash.bin after kitchen Build Rom
3. EXT Folder
The External packages (EXT) folder is divided into Device Specific folders and a Shared folder:
Device Specific folders are used for packages files that should only be applied to a specific type of the device.
Each Device Specific folder is further divided into Operating System Build Version Specific folders and a Common folder.
4. OEM Folder
The OEM folder can contain multiple Device Specific folders.
5. ROM Folder
The ROM folder is divided into Device Specific folders and a Shared folder.
The Shared folder is used for kernel system files that are compatible amongst devices. (MSXIPKERNEL folder)
Device Specific folders are used for kernel system files that should only be applied to a specific type of the device . (OEMXIPKERNEL folder)
Each Device Specific folder is further divided into Operating System Build Version Specific folders.
6. SYS Folder
The system (SYS) folder is divided into Operating System Build Version Specific folders.
The Build Version Specific folders will often contain files (packages) specific to the device DPI (96 Dot Per Inch for KS20) and Horizontal/Vertical display size (240*320 for KS20) and langage. For example, 0409 (English).
UPDATING VISUAL KITCHEN WITH NEW BUILD
A. EXT
No need to modify this Folder. Change this directory only if you want to add a package.
B. OEM
No need to modify this Folder.
C. ROM
1. In the ROM\KS20 Folder, create a new folder with the name of the build (example 23620). Copy the OEMXipKernel folder from ROM\KS20\23xxx or 28xxx into this folder as shown below:
2. in the ROM\Shared Folder, create a new folder with the name of the build (example 23620). Copy the MSXipKernel folder (23620_MSXIPKernel_SYS_QVGA_WQVGA_VGA_WVGA_0409\XIP) from New Build into this folder as shown above .
Note: MSXIPKernelLTK folder contains only DSM files, there is no need to portage.
C. SYS
1.In 23620_MSXIPKernel_SYS_QVGA_WQVGA_VGA_WVGA_0409\SYS: Keep only DPI 96, 240x320 resolution and SHARED folder.
2.In the SYS Folder, create a new folder with the name of the build (example 23620). Copy the SYS from the new Build into this folder as shown below:
3.In SYS\New Build (exemple 23620)\SHARED\COMMON Delete(if they exist) folder: .VM, Bluetooth, WinCENLS_WWE
4. Now copy the folder: .VM, Bluetooth, WinCENLS_WWE for the KS20
Note : If the .ROM folder are not in the new build (23620) also copy the .ROM (I'm not sure what is required for Ervius kitchen ...)
5. Optionnal: Recmod module.
I use the script RecModCommon.bat with RecModCommon
Recmod.exe to convert a module (S000,. Bin etc) to file (DLL, EXE ...). RecMode modules provides a breakdown of these modules in the space between the memory slots, including slot 0 which has less space. In fact, the KS20 has no native NK.EXE 6.5 and has 2 memory slots (slot 0 and slot 1) cons 4 for native NK.EXE 6.5.
D. TOOLS
Go to [LG] kitchen_2.0\TOOLS\XIPPORT to Xip porting. After Kitchen "l" (step 9) launch erviuskitchen.exe
E. Erviuskitchen use
1. Choose KS20 device, XIP Build, SYS Build, EXT Build
2. Select your SYS package (Package Description)
Select your EXT Package
OK that is all, you ready to click the "Create ROM" Button.
If you want to change the PagePool, launch PagePoolChanger ([LG] kitchen_2.0 \ TOOLS) and open the new flash.bin ([LG] kitchen_2.0 \ BuiltRom \ KS20). Choose the new PP, then "Change To".
Good flash!
By Rickou (or Arthemus !)
PORTING ROM (xip.bin)
So the steps.
1. Rename xip_NewBuild.bin in xip.bin and place it in the same directory as Xipport.
2. On Xipport, click "dump xip.bin" folder and wait until "OUT" appear, then click "make pkgs" close the XIPPort.exe.
3. Now, it renames the file out in out_NewBuild
4. In [LG] kitchen_2.0 \ TOOLS \ XIPPORT one copy Ref_XIP.KS20_10F-SPA in "out"
5. In this out, in the folder file/module, deletes MSXIPKernel and MSXIPKernelLTK files.
6. We copy the MSXIPKernel and MSXIPKernelLTK of out_NewBuild for them.
7. In Xipport, click on Undo
8. Execute Kitchen "k"
and when a message tells you so, click "realloc p", "write maps", "build xip_out.bin". And finally, hit a key on the dos prompt to finish this step (DO NOT HIT A KEY BEFORE BUILDING XIP WITH XIPPORT ELSE IT WON'T WORK).
And finally, hit a key on the DOS prompt to complete this step
9. Execute Kitchen "l" to use this xip.
10. Launch Erviuskitchen.exe
PORTING ROM (MSXIPKernel)
When not available xip_newbuild.bin a second method required!
1. Execute "UPDATING VISUAL KITCHEN WITH NEW BUILD"
2. When flash.bin is created, copy [LG] kitchen_2.0 \ temp \ xip.bin in C: \ [LG] kitchen_2.0 \ TOOLS \ XIPPORT
3. On Xipport, click "dump xip.bin" folder and wait until "OUT" appear, delete PARTHDR.txt and ROMHDR.txt in out folder
4. In OUT\MODULES delete nk.exe folder and nk.exe.txt
5. In Ref_XIP.KS20_10F-SPA Copy PARTHDR.txt, ROMHDR.txt, nk.exe folder and nk.exe.txt. Paste in out folder (OUT and OUT\MODULES)
6. Perform steps 7 / 8 / 9 / 10 and previous
Change Language localisation
Da_G said:
* Porting languages in Ervius Visual Kitchen using the posted language packs
First, a quick overview of the relevant file structure in VK:
Code:
\[LG] kitchen_2.0\OEM\[i]%DEVICENAME%[/i]\[i]%LOCALE_ID%[/i]\OEM_Lang_[i]%LOCALE_ID%[/i]
\[LG] kitchen_2.0\ROM\[i]%DEVICENAME%[/i]\[i]%BUILDNUMBER%[/i]\OEMXIPKernel
\[LG] kitchen_2.0\SYS\[i]%BUILDNUMBER%[/i]\DPI_[i]%DPI%[/i]\[i]%LOCALE_ID%[/i]
\[LG] kitchen_2.0\SYS\[i]%BUILDNUMBER%[/i]\DPI_[i]%DPI%[/i]_resh_[i]%RESH%[/i]_resv_[i]%RESV%[/i]\[i]%LOCALE_ID%[/i]
\[LG] kitchen_2.0\SYS\[i]%BUILDNUMBER%[/i]\SHARED\[i]%LOCALE_ID%[/i]
Code:
Possible values for the [i]%VARIABLES%[/i] above:
[i]%DEVICENAME%[/i]: Name of your device (KS20)
[i]%LOCALE_ID%[/i]: The 4 digit number matching your locale (list of supported id's found in first post) - a full list can be found [url=http://msdn.microsoft.com/en-us/goglobal/bb964664.aspx]here.[/url] It is possible to port WM to a language that is not supported, you would have to use a PE Resource editing program to translate all the various strings found in the [b].mui[/b] (Multilingual User Interface) files. Note that these change periodically as the builds get updated so you would also need to update your altered .mui's.
[i]%BUILDNUMBER%[/i]: The build version in use (23620 for example)
[i]%DPI%[/i]: DPI of the device (96)
[i]%RESH%[/i]: Horizontal resolution of the device, in pixels (portrait) -> 240
[i]%RESV%[/i]: Vertical resolution of the device, in pixels (portrait) _> 320
* Porting \SYS
The first thing you would want to do is grab the language pack matching your language. Extract it and you'll have several folders inside. Essentially what you want to do, is grab the folders that match your target device for the variables above, and copy those into the kitchen, in their respective folders.
As an example, if you were porting to Italian, on a 96 DPI, 240 by 320 device, and you had the following folder:
Base_Lang_%LOCALE_ID%_DPI_%DPI%_RESH_%RESH%_RESV_%RESV%
Base_Lang_0410_DPI_96_RESH_240_RESV_320
and place it in:
\[LG] kitchen_2.0\SYS\%BUILDNUMBER%\DPI_%DPI%_resh_%RESH%_resv_%RESV%\%LOCALE_ID%
\[LG] kitchen_2.0\SYS\23620\DPI_96_resh_240_resv_320\0410
Go through each of the folders in the language pack and match it up with a destination folder this way. Compare to the existing 0409 layout to help with the structure. Note that there will be some files you are not going to use (you won't use 96 or 128 dpi files on a 192 dpi device, for example)
Once you have completed matching up each applicable folder in the language pack to a destination in \SYS this way, you're complete with that folder.
* Porting \ROM
The relevant folder here is \[LG] kitchen_2.0\ROM\%DEVICENAME%\%BUILDNUMBER%\OEMXipKernel - inside you want to edit boot.rgu. The relevant keys to edit are:
Code:
[HKEY_LOCAL_MACHINE\MUI]
"SysLang"=dword:[i]%LOCALE_ID%[/i]
[HKEY_CURRENT_USER\MUI]
"CurLang"=dword:[i]%LOCALE_ID%[/i]
NOTE: For anyone not using Ervius VK, you will need to compile boot.rgu to boot.hv when done. Use the HV Tools.zip attached to this thread for that. For anyone using Ervius VK, this is automatically compiled into boot.hv during cooking, and no further action is required.
* Porting \OEM
The relevant folder here is \[LG] kitchen_2.0\OEM\%DEVICENAME%\%LOCALE_ID%\OEM_Lang_%LOCALE_ID% - you need an initflashfiles.dat that matches your language. All the folder names inside here will need to be translated to your language. I will try and make translated initflashfiles.dat for each language available soon.
You will also need to translate any other language-specific packages in \OEM and \EXT. If you don't want to bother translating the 3rd party apps, you can simply rename their .mui files to match your %LOCALE_ID%. The programs will work, but remain in their original language. You can translate these with a PE Resource editing program if you cannot find programs in your local language.
Click to expand...
Click to collapse
DUMP KS20 LG ROM
0409 USA English United States
040C FRA French France
0c0a ESN Spanish España
Flash.bin Moding
Read this tutorial for more information
MBR
Open Flash.bin in Hex éditor. MBR starts @20227 by 00E9FDFF and ends with 55AA
ULDR , XIP , IMFGS , FAT
Equations for calculating
ervius said:
some news on uldr removing/payload resizing/imgfs moveing on xip inserting size!
to automate process, attach the implantxip (for help execute it without parameters by a dos prompt!)
Click to expand...
Click to collapse
A1=00 (start !) , A2=0A , A3=2B , A4=35 ,
B1=09 , B2=2A , B3=34 , B4=FA
C1=0002 , C2=0280 , C3=0AC0 , C4=8D40
D1=027E , D2=0840 , D3=8280 , D4=3180
A1=00, B1=A2-1->09 OK,
A2=(C1*800+D1*800)/20000 -> 0A=(02*800+027E*800)/20000 -> OK
B3=A4-1 -> 35-1=34 OK, B4=A5-1 -> ?
A3=(C2*800+D2*800)/20000 -> 2B=(0280*800+0840*800)/20000 ->OK
A4=(C3*800+D3*800)/20000 -> 35=(0AC0*800+8280*800)/20000 ->OK (2)35
So if the exchange IMGFS correcting A4 and B3 (A4-1)
MSFLSH50
MSFLSH50 starts @20A2B by FDFFFB
beginning of the IMGFS, FAT
Possible result
increasing the number of sectors of FAT
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
By submitting a file flash.bin I cooked (since build 23092) in the [LG] kitchen_2.0 \ BaseRom \ KS20, you will automatically result.
By Arthemus.
Download Links
.VM, Bluetooth, WinCENLS_WWE for the KS20
KS20_BaseRom_Ref
KS20_OEM_Ref
KS20_ROM_Ref
KS20_XIP_Ref
KS20_EXT
Full Kitchen Farahbolsey Part1 Part2
CAB2OEM2NEWKITCHEN
Build 23620 for exemple (thank's asusmobile.ru)
[SYS WM6.5] Latest Releases By DA_G
Latest Releases By asusmobile.ru
Useful Links
LG Kitchen 2.0 by Spocky
Porting, Tutorials, Tools, VM, etc. By DA_G
Manual Full XIP Porting (& MANY MORE TUTORIALS) by Ameet's
F.A.Q / Registry tips
GSM reload: delete key
[HKEY_CURRENT_USER \ ControlPanel \ Phone]
"EventSoundCache" = dword: 1
Reserved for future
Hi Rickou
What an impressive work you did. For sure this will help people become great KS20 cook chiefs.
Franck
Thank you Rickou, it is a wonderful guide!
Thank you Fara and ibanezman192,
For those who still hesitate, I will table the Xip.bin ported 23620. You need to file in [LG] kitchen_2.0 \ BuiltRom \ KS20 \ temp.
By.
Very good work
First of all thanks i've been waiting for it for year(s)
And thanks finally I have my ks20 wm 6.5 in spanish
btw could you explain how to convert cab to oem package?
Thanks in advance
hi,
Use CAB2OEM2NEWKITCHEN link #6.
By.
rickou26 said:
Change Language localisation
Click to expand...
Click to collapse
How i change the language? I have to change the Initflashfiles.dat file to my language?
Hi,
I updated the post.
@ +
thanks you very much!!
help
rickou26 -
why does not do RUS of sewing???I zdelal all on instruction and for me after vspishki telephone of not zapuskaet'sya that I do not so????
Hi,
Sorry but I have a little trouble understanding your question. Can you write in Russian I do a direct translation into French
By.
rickou26 said:
Hi,
Sorry but I have a little trouble understanding your question. Can you write in Russian I do a direct translation into French
By.
Click to expand...
Click to collapse
Я зделал все как написано в инструкции,выполнил в кухне(cпоки-2 кухня) пункт b потом c ,потом портировал новый XIP,Потом создал папки SYS и OEM(взял из первой руской прошивки,потом зашол в кухню нажал на создание прошивки!и у меня создался файл bin 71mb,прошил телефон,а телефон не запускаеться что я делаю не так?????????
ВЫ можете зделать рускою( rus) прошивку ks20 wm6.5.3 ce os 5.2.23518????????????
или МНЕ помоч!!!!в создание rus прошивки для ks20 построеной на второй кухне СПОКИ
Give me please ALL FILES!!! OEM ROM SYS(Ks20 Wm6.5.3 CE OS 5.2.23518) Дайте мне пожалйста все файлы!!!!!! ROM OEM SYS на руском языке и инструкцею!подробно как все правильно делать в второй кухне споки