problem with registry - Touch Diamond, MDA Compact IV ROM Development

Hello everyone,
I have a problem, to create my rom, when I edit in default.hv some changes, such as the 4 columns, the modes camera .... when installing rom, disappear are changing, as if it had not changed anything.
I do not know if it will be for sometime provxml overwrites something, or is not that.
thank you all!
sorry for my english google translate

you should not edit default.hv.
Make a .rgu (name it for example tweaks put it in the SYS folder) file and set your settings there.
I usualy make a .reg file and put all my settings in there. Then I make that a .cab file (with QuickCab 1.0) and convert it to a package (with Ervius Package Creator v2). Works like a charm

whyen you edit the hive. any RGU or provxml files would over write the settings. thus why they do not stick.

iXiR said:
you should not edit default.hv.
Make a .rgu (name it for example tweaks put it in the SYS folder) file and set your settings there.
I usualy make a .reg file and put all my settings in there. Then I make that a .cab file (with QuickCab 1.0) and convert it to a package (with Ervius Package Creator v2). Works like a charm
Click to expand...
Click to collapse
wow!
run ok!
thx!

Related

[TUT]bepe kitchen for trinity user howto...kook your rom!!!

Hi, I'm preparing all you need to kook a italian rom by yourself...
in some minutes 1st part, with programs that you need to extract .nb files from .nbh, and reassemble .nbh as you like, how to dump a rom and how recompile it..
bye!!!
ok, the utilityes you need are:
*** all utilities are ready to download in the end of this post!!! ***
1) nbhtool_trin.rar
2) package_tool.rar
3) nbdumper.rar
4) bepe_kichen_trinity_ita_WM-6.1.rar
Code:
6.1 bepe_kitchen.rar
5) Flash_nbh.rar (included into kitchen!)
6) rgu to xml transform an rgu or a reg file into a provxml file!!
7) dsm patcher to update also the dsms files to respect the rom's os and build version
1) nbtool from dutty is usefull to decompile/recompile nbh , decompil enbh, choose nbh to decompile, you have 1 or more .nb files, windows.nb is that you need, the rom, you should find also:
radio.nb (radio)
first/second_splash.nb (the 2 images shown as splashscreens!!!)
ipl.nb (boot of trinity...)
spl.nb
and other that now I not remember...
................
to recompile the nbh file, just select that you need (os.nb, first.nb second.nb)
for my experiences, try first times only with os.nb, choose the file and compile the nbh files,your rom is ready to be flashed into device...
2) package tools analize the dumped os windows.nb and tell about sys and oem versions, more it creates packages of dumped rom, and insert all files into the 2 system directory "oem" and "sys" with button (menu) "build packages"
3) nbdumper from tadzio, it is the important tool togheter bepe kichen, with it you are able to dump "windows.nb"
put windows.nb into the folder, dos prompt and write:
nbdump windows.nb (then press enter...)
in few minutes you have inside also the directory named: windows.nb.dump, iside you can find all files that will be in rom on your device...
4) now open package tools by bepe, search this directory, and analize, after analizing, click on build packages...
after some time, you in "windows.nb.dump" directory have: sys and oem folders...
this is the real os...
now you neeedd xip directory...
copy windows.nb into the directory named:XIP_extract (that you can find in "bepe_kichen_trinity_ita" tool...
copy it into the directory, rename from windows.nb into "os.nb"
click on "Make_XIP.bat" and then you have "xip" folder...
copy xip folder into "rom" folder in of "bepe_kichen_trinity_ita", copy os.nb too into "rom" folder, so you have rom folder and inside:xip fiìolder and os.nb...
ok...
now, oem and sys folder obtained with package tools, copy them into "bepe_kichen_trinity_ita" tools, and you have:
oem, sys, tools, xip_extract and rom folders, and the exes...
now is ready...
you have to click on "buildos.exe" and the rom will be build, ok, now there is a new folder, "temp", now you have finished, only click on createrom.bat and in few seconds you can find into \temp\ folder a file named os-new.nb, this is the new rom, build .nbh with dutty nbtools, and can flash it on your device!!!
5) to flash put nbh created into folder:Flash_nbh, flash....
next, tools and howto: create extended_roms;create own splashscreens, adding own packages (the packages are additional programs... into I left yet 3/4 packages from mine!!).....
*******************************************************************
I must make all credits also to udK, that discovered with me the right way to kook roms...
and invite all people to make some dotations to him, for the hard work that he made to have a good italian rom to mount on our devices!!!
thanks friend...
*******************************************************************
I think is better to try with udk or lasagna roms to start, they are perfext and logically structured as bepe kichen wants!!!
bye!!!
****************************************************************************************
*
* P.S.: and finally I think that if you decide to use udk rom to make experiments, you have to donate him,
* and if uou want to use lasagna rom to learn to use bepe kichen, also you have to make donations to guybrush.
* they worked hard to translate the rom, you must donete to use theyr roms I think is the only think to do
* to tell them "thanks!!!", really...
*
****************************************************************************************
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
lesson 2:
how make own splashscreen!!!
just open an image or create one, with also paint;
make it 240x320 pixels, 240 in width, 320 in height...
save it as bmp, with 24 bits...
open it with nb_image_converter
convert to "nb"
save it as first and second.nb...
now, if you don't have windows.nb use dutty's nbtools to extract from rom, reuse nbtools to compile nbh, add
in os: windows.nb
in "first splash" the file first.nb
in "second splash" the file second.nb...
compile nbh file and flash into ppc, when you finish, you can see you freferred splash screens!!
next:
create a package and/or translate the exe/mui files in your language with resource hacker!!!
try to open an exe, or first a mui files if there is into the package!!
you can see:
icon (you are able to change it , but is not important for us!!)
dialog, you can move the object inside them, rename or translate strings and other...
string table, here you can change, translate in your language tje strings of mui/exe!!!
and other, but for modify translate this basts!!
see later!!! bye!!!
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
lesson 3:
for mui:
if you have traslated them, you have also to rename: exaple, if therer is amui xxx_409.mui, in english of couse, and you stranslated it into italian, you hace also to rename it by xxx_409.mui to xxx_410.mui!!!
and for italians mui you can use the ones from tynh wm6 Italian rom!!!
and also initflashfiles.dat must be traslate...:
and also rgu files:example:
string: "programs" must became "programmi"
string: "my pictures" must became "immagini"
etc.etc.
howto: CREATE A PACKAGE!!!
ok, download theese utility:
wince cab manager from here:
http://www.ocpsoftware.com/
(full funcional trial for 15 days!!!)
and my utility: packages creator (a little tools of mine!! )
from here:
-------------------------------------------------------------------------------
UPPED:
(new version... bugs solved... option improved!!!)
now in bilingual ITA/ENG, and with more option to personalyze your new packages!!
new beta with more and more options to create initflashfiles.txt...
flag:"simulate folder names" on wince cab manager and put reg file into package folder you choice...
example: "...\trypackage\windows\batterystatus\batterystatus.exe"
you have to put reg file into "...\trypackage\to-import.reg" ok???
and here the new beta of package creator!!!
Hi all, from a Bennec83's Idea I released this last version that works with cab analyzer, and make packages from cab files automatically...
*******************************Re-reupped 1st good working release!!! 4.1 *********************
-------------------------------------------------------------------------------
ok!!!!
P.S.: if th bepe kichen shows an error during the kook operation, it will be becouse there is another file (duplicate file) yet present in rom, delete it from other subfolder, not in the package just inserted...
next appointmant to create own extended_rom!!! and some triks on registry (modifing rgu files!!!)
see you!!!
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
lesson 4 playing with extended rom:
howto: create and use extended roms...
ok, have to download the utility htc_extended_rom_editor
I think is all.... (for now!!!)
your knowledge about roms, its components, how to dump, build, add packages are full... rests to edit rgu and provxml...
but in next days....
bye bey and good experiments!!!
*********************************************************************************
*********************************** ******************************
*********************************** UPDATES ******************************
new version of buildos+packagetools, some imporvements, and context menu on packages to enable/disable them by default!!
new version of buildos, now:
1) xip porting for os ber updating;
2) updater for Rom Creation Date;
3) Updater for Rom version at Boot screen!!!
enjoy!!!
improved some context menus on selected package.....
xip porting for OS version and Rom's Date creations Updater!!
new version of package creator, to have own directory where place shortcuts, and some minor bugs solved
here: and added links in initflashfiles.txt for .htm files for "Help"!!!
P.S.: I need beta testing for my apps, becouse, I go on programming and there are allwais same bung into...
bye!!! ( a big thanks to guybrush and udk for testing and support, but specially to Vibranze for testing package creator!!!)
*********************************************************************************
Traduzione in italiano della guida del Kitchen
Lavori in corso..
ervius said:
Hi, I'm preparing all you need to kook a italian rom by yourself...
in some minutes 1st part, with programs that you need to extract .nb files from .nbh, and reassemble .nbh as you like, how to dump a rom and how recompile it..
bye!!!
Click to expand...
Click to collapse
thanx, let's start cook togheter
--reserved for packages--
I only hope that my 3d iwill be usefull to be better, and share togheter a lot of packages for our trinity devices!!
see lather...
I love you.
This is what I searched for long time.
Two question.
1) What difference there is between this and Orginiale Bepe ROM kitchen form Hermes.
2) Can I use all ROM that i Want to start the cooking?
....
3) This is possible some mirror not rapidshare? (for example www.divshare.com)
Grazie mille.
Viva il P3600.
cicciocant said:
I love you.
This is what I searched for long time.
Two question.
1) What difference there is between this and Orginiale Bepe ROM kitchen form Hermes.
2) Can I use all ROM that i Want to start the cooking?
Grazie mille.
Viva il P3600.
Click to expand...
Click to collapse
1) infinite greetings to bepe for the beautifull tool...
the kichen is the same, only you have os and xip for trinity (after you extrapolated oem-sys folders and xip!!!)
2) you can use all roms you want, also in other languages, but only if they , after you dumped and analyzed with bepe package tools, and have oem and sys folders (and xip folder...), but if you try with roms that have missed files, you must try to insert them into oem or sys dolder, you, after use bepe package tools must see only "oem" and "sys" folder, nothing else, to know that the rom is really ok..., in other case the rom was built in confused mode or with other utilities, that I consider oldier...
bye!!!
and my final point is also share a lot of packages....
for now I think it's all, but in few days I explain also howto build packages and other....
see you!!
ervius, very good tutorial i think it'll be useful not only for italian people but for everyone who want learn how to cook their own rom. Just a tip...be careful, read everything and try to understand how these tools works and check everything before try to flash your device.
Guybrush said:
ervius, very good tutorial i think it'll be useful not only for italian people but for everyone who want learn how to cook their own rom. Just a tip...be careful, read everything and try to understand how these tools works and check everything before try to flash your device.
Click to expand...
Click to collapse
yes... by attentions, use the tools at own risk, and specially use them with "brain"!!!
bye!!
Thanks ervius! you are truly "mythical". I`ll read all with much attention tomorrow, now i`m seat in one park bench to 5 meters from the sea.....
Hi...... morf3o.
added lesson 2 (how to create/modify images and create your splashscreens at ppc boot!!!)
at first post!!
see you later to build our first package!!!
I tried this tools with Lasagna 205 ROM.
I arrived to package tools
When I press "Build Packages" I've this error:
Code:
Syntax error map.txt:
tom
tom is the last lin of map.txt.
Can i delete it witouth problem?
At the end I've also the OEM and SYS directory but there are also three file out all directory:
Recorder.exe
Voice Recorder (link)
Recorder.exe.0410.mui
It's ok?
One Advice.
To arrive at DUMP directory and afther to OEM and SYS I found more easy and fast this way:
http://forum.xda-developers.com/showthread.php?t=316940
Thanks 1000!
cicciocant said:
I tried this tools with Lasagna 205 ROM.
I arrived to package tools
When I press "Build Packages" I've this error:
Code:
Syntax error map.txt:
tom
tom is the last lin of map.txt.
Can i delete it witouth problem?
At the end I've also the OEM and SYS directory but there are also three file out all directory:
Recorder.exe
Voice Recorder (link)
Recorder.exe.0410.mui
It's ok?
One Advice.
To arrive at DUMP directory and afther to OEM and SYS I found more easy and fast this way:
http://forum.xda-developers.com/showthread.php?t=316940
Thanks 1000!
Click to expand...
Click to collapse
so, you have to install also java virtual machine... with this utilities in not necessary...
thanks ciccio but i'd like to continue with bepe's kichen, do you like use it??
ok...
3 files are out, put them into \oem\oemapps\ directory, so you now have only oem and sys directory, then... extract xip etc... etc...
ok!!!
thank's for your answers.
I like also Bepe's Kitchen. GO ON!
For the Syntyax error?
I've to delete "tom" at the end of map.txt?
cicciocant said:
thank's for your answers.
I like also Bepe's Kitchen. GO ON!
For the Syntyax error?
I've to delete "tom" at the end of map.txt?
Click to expand...
Click to collapse
I don't have your error, but if finally you have oem and sys folders, then it works well...
but you can try to delete and post if it work...
bye!!
Sorry for my newbie question...
In my understanding all this tools are working with ROM files you already found "somewhere".
What I want to do first is getting a working ROM out of a Trinty device. E.g. I have a german Vodafone device with the Vodafone custom ROM. I simply want to "copy" this ROM on my Harddisk. No changes. I only want to be able to flash it back if I want to, to have the device in the same state it is now.
Which tool do I have to use?
What do I have to do?
Check this article
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoDumpRom
Ciao
A question ervius:
we suppose that I succeed to modify/create my first ROM, exists a way in order to test it without flash on my device? A way for being sure that if I flash, i do not burn my trinity....
Thanks........ morf3o.
morf3o said:
exists a way in order to test it
Click to expand...
Click to collapse
The only way is flash your trinity and hope
claros said:
Check this article
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoDumpRom
Ciao
Click to expand...
Click to collapse
Thanks... that is what I was looking for. I found this (http://www.modaco.com/Paul-s-guide-to-backin-t255090.html) in the meantime. But the two guides differ: Paul says, that I only need the Part02.raw file. Why?
saminegm said:
Thanks... that is what I was looking for. I found this (http://www.modaco.com/Paul-s-guide-to-backin-t255090.html) in the meantime. But the two guides differ: Paul says, that I only need the Part02.raw file. Why?
Click to expand...
Click to collapse
Your OS is in part2, first two parts are the XIP partition aka your boot sector.
Ciao

The First Wm6.1 Kitchen for Excalibur

THIS IS MY WM6.1 ROM KITCHEN
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈
{REMEMBER IM NOT RESPONSIBLE IF YOU BRAKE YOUR PHONE}
{REMEMBER IM NOT RESPONSIBLE IF YOU BRAKE YOUR PHONE}
{REMEMBER IM NOT RESPONSIBLE IF YOU BRAKE YOUR PHONE}
{STEP 1}
EXTRACT ExcaliburKitchen.ZIP TO C:\
{STEP 2}
DOWNLOAD MY ROM FROM HERE:- http://forum.xda-developers.com/showthread.php?t=387355
IF YOU DONT WHAT TO DOWNLOAD MY ROM THEN DOWNLOAD KAVANAS FROM HERE:- http://forum.xda-developers.com/showthread.php?t=374890
{STEP 3}
EXTRACT THE ROM FROM THE .ZIP OR .EXE
{STEP 4}
PUT RUU_signed.nbh IN TO C:\ExcaliburKitchen\SOURCE
{STEP 5}
NOW CLICK ON (1) DumpOS.bat
{STEP 6}
NOW GOTO WORK FOLDER AND YOU'LL SEE A FOLDER CALLED DUMP GO INTO IT
{STEP 7}
NOW IN THIS FOLDER YOU CAN ADD WHAT YOU WHAT AND YOU CAN TAKE THINGS OUT OF THE ROM
{STEP 8}
IN THE DUMP FOLDER YOU'LL FIND A FILE CALLED InitCmd.ccs IN THIS FILE IS WERE YOU PUT THE START MENU LINK AND THE REGISTRY SETTING FOR YOUR SOFTWARE
IF YOU OPEN IT WITH NOTEPAD IT WILL LOOK LIKE THIS FOR THE LINKS:-
------------------------------------------------------------------
LINK %M\Messaging.lnk,:MSINBOX,,:mailapp
LINK %M\Settings.lnk,:MSSettings,,:settings
LINK %M\Contacts.lnk,:MSCONTACTS,,:contactsapp
LINK %M\Calendar.lnk,:MSCALENDAR,,:calendarapp
LINK %M\Internet Explorer.lnk,:MSPIE,,eapp
LINK %M\Windows Media.lnk,wmplayer.exe,,:mediaplayerapp
LINK %M\Pictures & Videos.lnk,:MSPIMG,,imgapp
LINK %M\File Explorer.lnk,:MSFEXPLORE,,:fexplore
LINK %M\Speed Dial.lnk,:MSScut,,:scutapp
LINK %M\Call History.lnk,:MSClog,,:clogapp
LINK %M\Voice Notes.lnk,:MSTVNOTES,,:notesapp
LINK %M\Tasks.lnk,:MSTASKS,,:tasksapp
LINK %M\ActiveSync.lnk,:MSSYNCAPP,,:syncapp
LINK %M\Camera.lnk,Camera.exe,/i,:cameraapp
LINK %M\Video Recorder.lnk,Camera.exe,/v,:videoapp
LINK %M\Welcome Center.lnk,:MSWelcomeCenter,,:welcomecenterapp
LINK %M\Windows Live.lnk,WLMLauncher.exe,,:WLMLauncher
LINK %M\Messenger.lnk,WLMMessenger.exe,,:WLMMessenger
LINK %M\Text Notes.lnk,TextNotes.exe,,:textnotesapp
LINK %M\Java VM.lnk,jbed.exe
TO ADD YOUR LINK TO YOUR START MENU ADD YOUR LINK TO THE BOTTOM OF THE LINKS EG:-
LINK %M\Video Recorder.lnk,Camera.exe,/v,:videoapp
LINK %M\Welcome Center.lnk,:MSWelcomeCenter,,:welcomecenterapp
LINK %M\Windows Live.lnk,WLMLauncher.exe,,:WLMLauncher
LINK %M\Messenger.lnk,WLMMessenger.exe,,:WLMMessenger
LINK %M\Text Notes.lnk,TextNotes.exe,,:textnotesapp
LINK %M\Java VM.lnk,jbed.exe
LINK %M\XXXX XXX.lnk,XXXXXX.EXE
AND FOR THE REGISTRY IT WILL LOOK LIKE THIS:-
-----------------------------------------------
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Layouts\e0010409]
"Ime File"="et9ime.dll"
"Layout Text"="eT9 IME"
"Keyboard Layout"="00000409"
[HKEY_LOCAL_MACHINE\SOFTWARE\Tegic\eT9]
"AvailableLanguages"="0109,0105,0113,011B,011F,0108,0115,0116,0118,010E"
"DefaultLanguage"=dword:00000109
"InstallFolder"="\\Windows"
"ShowExactKeyStrokeThreshold"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Tegic\eT9\IME]
TO ADD YOUR SOFTWARE REGISTRY ADD IT TO THE REGISTRY PART AT THE BOTTOM EG:-
[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\Settings\Launch]
"GUID"="{4B998C14-3801-4a8e-9B20-5DFE58B19C39}"
"PLUGINICONNAME"="CHomeGeneric_Settings_PluginIcon.png"
"PICTURES"="\\windows\\CHome_settings_launch.png"
"SK2URL"=":MSSettings;home_setup.cpl.xml"
"TITLETEXT"="Settings"
"TEXT1"="CHome Settings"
"TEXT2"=""
[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\Settings\XXXXX]
"GUID"="{4B998C14-3801-4a8e-9B20-5DFE58B19C39}"
"PLUGINICONNAME"="XXXXXXXXXXXXXXX"
"PICTURES"="\\windows\\XXXXXXXXXX"
"SK2URL"=":MSSettings;XXXXXXXXX"
"TITLETEXT"="XXXXXXXX"
"TEXT1"="XXXXXXXXXXX"
"TEXT2"="XXXXX"
THEN SAVE IT
{STEP 9}
CLICK ON BUILDOS.DAT WAIT TO ITS FINSHED THEN IT WILL OPEN htcrt WHICH CONVERTS THE NB TO NBH
1 CLICK BUILD
2 CLICK DEVICE
3 PICK Excalibur
4 CLICK OS THEN FIND 02_OS.nb IN C:\ExcaliburKitchen\Work AND CLICK ON IT
5 CLICK SPLASH FIND 00_MainSplash.nb IN C:\ExcaliburKitchen\Work AND CLICK ON IT
6 CLICK ON RADIO THEN FIND 01_GSM.nb C:\ExcaliburKitchen\Work AND CLICK ON IT
7 ENTER ANY VERSION NUMBER YOU LIKE THEN CLICK BUILD A WINDOW WILL OPEN GO TO C:\ExcaliburKitchen\FLASH ROM\ AND SAVE AS RUU_signed.nbh
THEN FLASH YOUR PHONE WITH YOUR NEW ROM
REMEMBER IM NOT RESPONSIBLE IF YOU BRAKE YOUR PHONE
By RickWyatt @ xda developers
heres the link :- http://rapidshare.com/files/119437757/ExcaliburKitchen.zip
What if there is no InitCmd.ccs file? Trying to use TMO WM6 ROM. This is the same problem I had trying to use the other kitchens (I thought it was me).
Boo Boo looks almost like a clean ROM:
Tried anyways only removing the handango in hand links (two files) from the rom and built RUU_signed.nbh with os only. Flashed fine with no issues, but most T-Mobile specific apps/settings did not load and do not show in the startmenu. TMO homescreens, ringtones, favorites, etc did not get placed/installed correctly. MyFaves (HTC App) seems to have installed correctly although it tries to load TMO homescreen which is now in the Windows directory, TMO Internet Settings loaded, but the startmenu is laid out differently. Most TMO Customizations just got installed in Windows directory where they will not install (homescreens, ringtones, etc. don't work under Windows directory). The files are there, but the phone runs as if they are missing (almost like running the Brightpoint ROM). The only TMO customizations Visible are the Startup and Shutdown screens, and winwap. Somehow the TMO customizations did not get loaded, but everything seems to work fine.
Recommend the following changes to make the kitchen more universal.
added command to DumpOS.bat
ren *os.nb os.nb
changed filename in BuildOS.bat to os.nb
Just an idea since not all ROM's have the same XX_os.nb filename.
ROM Cooking Hints?
Hi Ricky, and thanks a lot for such a good work, and sharing your knowledge !!!
A couple of questions around ROM cooking ...
- How does ROM size affect WM? I mean, adding files, apps, etc. to the rom makes WM having less memory to run programs or store files, or run slower, for example?
- I guess adding more and more files might create a ROM that does not fit in the Excalibur and might break it if flashed. How can we know when to stop adding stuff?
Thanks!!
EarthQ said:
Hi Ricky, and thanks a lot for such a good work, and sharing your knowledge !!!
A couple of questions around ROM cooking ...
- How does ROM size affect WM? I mean, adding files, apps, etc. to the rom makes WM having less memory to run programs or store files, or run slower, for example?
- I guess adding more and more files might create a ROM that does not fit in the Excalibur and might break it if flashed. How can we know when to stop adding stuff?
Thanks!!
Click to expand...
Click to collapse
if you add stuff to the rom it will slow down the rom but not to much & if you take things out of the rom it will get faster
and if you add to much software then the kitchen will crash
How do you remove programs? What all do you need to delete to safely remove it from your phone?
Did my first attempt at cooking. IT was successful, and I am using it know, but some changes, such as files I added to the InitCmd.tgz worked, and were extracted fine. Other tweaks, such as changing a CPanel's contents and adding media to the windows folder did not work, and came out as if I hadn't changed anything at all.
Do I need to make Cpanel changes in two places (Initcmd and somewhere else?) Is there another step to making files "stick"?
you also have to edit user.hv and default.hv
rickwyatt said:
you also have to edit user.hv and default.hv
Click to expand...
Click to collapse
Thank you!
rickwyatt said:
you also have to edit user.hv and default.hv
Click to expand...
Click to collapse
Ok, I don't get it. Rick, or anyone, can you explain the work flow a little more? I can't find a user.hv, or a default.hv in the dump contents, nor do I know what to do when I do find them. I see there is a assembler/disassembler toolset in the kitchen, but it fails to find any .hv's either. Is there anything missing in the steps above?
Profezza said:
Ok, I don't get it. Rick, or anyone, can you explain the work flow a little more? I can't find a user.hv, or a default.hv in the dump contents, nor do I know what to do when I do find them. I see there is a assembler/disassembler toolset in the kitchen, but it fails to find any .hv's either. Is there anything missing in the steps above?
Click to expand...
Click to collapse
you have to unhide system files what you have to do is move user.hv and default.hv to to edit user.hv&default.hv folder press disassemble.dat it the make to more files called HKCU.reg and HKLM.reg now download emediter freeware and save HKCU.reg and HKLM.reg UTF-16LE Now move HKCU.reg to notepad2.exe edit it then press save do the same for HKLM.reg then what you do is make a dump folder then press Reassemble.dat if there is no errors in the hv files then you will find user.hv and default.hv in the dump folder that you just made if the is an error it command prompt will tell you were the error is once dont move the hv files back to you dump folder
I think I got all that! Thanks a bunch.
Rickwyatt,
When I run Disassemble.bat it tells me it can't find the default.hv and user.hv file and then it tells me that there is no regedit4.txt file in the Resources directory.
I checked the locations of the files, and there isn't a regedit4.txt file but the default.hv and user.hv files are right where they are supposed to be. Any ideas?
[edit]
Nevermind... unchecked the "hidden" box on the two files... it still doesn't find the regedit4.txt that it's claiming is missing
Ok, so I successfully was able to use this to mod the 1.6 Rose ROM, but I noticed that the InitCmd.ccs looks far different. How do I edit the menu items in this ROM?
Specifically I am wanting to remove a bunch of stuff I don't use from the ROM:
- Orneta Calculator
- OMAP Clock
- Getting Started
- SMS Tool Pack
- Light Config
- Messenger
- Streaming Media
- Windows Live
- Resco Explorer
- CHome
Also if anyone can post the list of files that I would need to delete out of the exploded ROM for the above, that would be great... especially CHome.
I do want to give this ROM serious props. I love it! I just want to pare down the things I personally have no interest in using, but I don't want to delete the wrong files, and/or not remove the menu items in the ROM for them.
Rickwyatt,
The Disassemble.bat file keeps crashing. It tells me that regedit4.txt not found in the Resources directory. It creates a hkcu.txt and an hklm.txt file though.
open hkcu.txt hklm.txt then add REGEDIT4 to the top line then save rename hkcu.txt hklm.txt to hkcu.reg hklm.reg
New HTCRT.exe version 1.1.4
windows media player playing not smooth.
One bug in my own rom (base on your kitchen): Windows media player playing not smooth. How can i fix it, what reg can i edit?
travis.garrison said:
Ok, so I successfully was able to use this to mod the 1.6 Rose ROM, but I noticed that the InitCmd.ccs looks far different. How do I edit the menu items in this ROM?
Specifically I am wanting to remove a bunch of stuff I don't use from the ROM:
- Orneta Calculator
- OMAP Clock
- Getting Started
- SMS Tool Pack
- Light Config
- Messenger
- Streaming Media
- Windows Live
- Resco Explorer
- CHome
Also if anyone can post the list of files that I would need to delete out of the exploded ROM for the above, that would be great... especially CHome.
I do want to give this ROM serious props. I love it! I just want to pare down the things I personally have no interest in using, but I don't want to delete the wrong files, and/or not remove the menu items in the ROM for them.
Click to expand...
Click to collapse
Looking to dump a lot of the same things. If I remove them from the "dump" folder, is that the end of it or do registry settings need to be removed as well. First time doing something like this, thanks for the help and patience.
Instead of going through this tedious process.. why not start with a very light version of the ROM and just add what you need ?

[UTILITY] CabTools - ROM package <--> CAB converters and more. For ROM builders

These tools will let you create ROM package and install CAB files from each other. I know there are already tools for them, but I didn't like them, because they had many errors. Of course my programs may have errors too, but I like them better anyway Some of these tools use external applications which need .NET and/or VC++ runtimes to work properly!
cab2pkg
This utility will extract a cab and create a ROM package. (just like ervius package creator, but this will get the info from the _setup.xml file). Simply tell him the cab file name as parameter, and it will extract into a new directory. (Or if you don't like the command prompt, simply drag the cab onto this file, and it'll extract it)
pkg2cab
This utility does the reverse of the above. It creates a cab installer from a ROM package.
Usage: pkg2cab [Application Name] [Directory1] {Optional directory 2} {...}
For example: pkg2cab OneNote OneNote OneNote_lang_0409
If everything goes fine the programs should create a setup.cab
pkg2cab does only support "flat" directories, so if your directory contains modules (directories that look like files), then you have to copy the file out of them manually, and delete the directory
extractpkg
This application will extract a package from a ROM, using a SYAKR file removal information file XML. If you don't know what syakr is, then check these pages:
http://winmo.sztupy.hu/syakr.html
http://www.modaco.com/index.php?s=&showtopic=277390
http://forum.xda-developers.com/showthread.php?t=462841
Put this application into a kitchen with an extracted ROM and SYAKR
Enter command prompt and enter "extractpkg XMLfilenamewithoutextension" so for example if you want to extract the fmradio, you should write: "extractpkg fmradio"
This app does the same as SYAKR, but instead of deleting the files/registry settings/initff lines, it will copy them to a separate directory, and adds the appropriate things that are needed for a package, that BuildOs likes
BEWARE! The current SYAKR tasks are not designed for extractpkg to work, and sometimes the extraction might fail, or the created package would be defective. If so, please try to correct the XML file!
After you extracted a package you might use pkg2cab to create a distributable CAB installer
DL link: http://winmo.sztupy.hu/cabtools.html
OHH nice. someone just asked me to make a stock dialer cab for them.. this will make it easy
Amazing!, will try it indeed
wow nice tools i m going to make my own kitchen .. great work
It seems the included cabwiz might not work. You might try replacing it with a newer one: http://www.modaco.com/index.php?s=&showtopic=278074&view=findpost&p=954161
v0.2
v0.2 released with support for the InstallDir variable in cab2pkg
http://winmo.sztupy.hu/cabtools.html
This Great, Good & Nice Job!!!
sztupy said:
v0.2 released with support for the InstallDir variable in cab2pkg
http://winmo.sztupy.hu/cabtools.html
Click to expand...
Click to collapse
thanks to you man!!!
v0.3
Fixed a registry creation bug in cab2pkg. The packages should work with older BuildOs versions too.
Source code of cabtools and syakr released: http://winmo.sztupy.hu/cabtools.html
Am I missing something I cant get any of these to work I'm using Windows Vista Erice kitchen
Still freezing on EXTRACTING REGISTRY ENTRIE phase....CAB2PKG verzio 0.3 under Vista SK SP1 + all updates.
jlp_svk said:
Still freezing on EXTRACTING REGISTRY ENTRIE phase....CAB2PKG verzio 0.3 under Vista SK SP1 + all updates.
Click to expand...
Click to collapse
reg2inf uses xml2reg. Does it work?
rjmjr69 said:
Am I missing something I cant get any of these to work I'm using Windows Vista Erice kitchen
Click to expand...
Click to collapse
????????????????????????
sztupy said:
reg2inf uses xml2reg. Does it work?
Click to expand...
Click to collapse
ehm...sorry for my stupid question, but.... HOW TO TRY???
jlp_svk said:
ehm...sorry for my stupid question, but.... HOW TO TRY???
Click to expand...
Click to collapse
Use (for example) total commander to extract _setup.xml from the cab file. then run xml2reg with this xml.
No...it's also freezing.
i want to create oem packages from cabs, and i have a problem. i've dragged the cab onto the "cab2pkg.exe" file and an error occurred: see attachament.
P.S. i've extracted the _setup.xml near pocketalarm.cab and i've copied next to cab2pkg.exe also. what should i do?
ady_uaic said:
i want to create oem packages from cabs, and i have a problem. i've dragged the cab onto the "cab2pkg.exe" file and an error occurred: see attachament.
P.S. i've extracted the _setup.xml near pocketalarm.cab and i've copied next to cab2pkg.exe also. what should i do?
Click to expand...
Click to collapse
Are you sure your cab is located in the same folder as cab2pkg.exe? Only time I see an error is when I try dragging from outside the folder
ady_uaic said:
i want to create oem packages from cabs, and i have a problem. i've dragged the cab onto the "cab2pkg.exe" file and an error occurred: see attachament.
P.S. i've extracted the _setup.xml near pocketalarm.cab and i've copied next to cab2pkg.exe also. what should i do?
Click to expand...
Click to collapse
You don't have to extract _setup.xml from the cab. If the cab contains _setup.xml then it should work fine. I only wrote to extract it separately, because then you can test whether xml2reg is working or not.
yes are in the same folder. i tried and in the same folder and in separate folders.
maybe should i try in command prompt? what command should i type there? i've tried drag & drop cab2pkg.exe space CorePlayer.v1.2.5.Build.4506.Pre.Regged.cab and i have the same result.

[Q] How can i change icons in modules?

Hi all!
Im triying to make a complete mokup of the system by changing every icon but...
When i change a icon inside a module (folders like files as fexplore.exe or iexplore.exe) the kitchen replaces the modified exe with the original exe in template (OS.NB) into ROM folder.
Im using Surface Kitchen. Trying now visualkitchen from ervius but errors, tryed mu kitchen from adwinp, flashed correctly, working, but no luck...
What kitchen allows me to do that?
There is another way to change the original icons from dll's, exe's and cpl's in modules?
Is there a software to edit the final nbh ( like htcRIE ) and replace the exe's and dll's with the mopdified ones? (htcrie extract the modules as modules and doesn't allow to replace entire modules)
I dont want to add cabs to operatorpkg
Thanks in advance,
Driskol
1: convert module to file (download app pack from my sig; the tool's called module2file)
2: unsign file (exe,dll)
3: change your icon with resource hacker or equivalent
4: resign dll
5: if need be, reconvert to module with file2module
6: don't forget to use a reduced payload (try payload reducer)

[APP] Michy's Installer - complete wceload repleacement!

- Michy's Installer -
​Have you ever got an "Installation Unsuccesfull" message? Or a "Uninstall failed" message? Or worst thing an "Missing privileges" while installing a cab?
Now this messages are gone. With my installer, which is a complete Wceload and uninstaller replacement, any installation will complete without any problem
Main features:
Full repleacement for winceload
Select if you want or not to run setup dlls
Avoid failing for missing privileges
Get the space that an'installed app consumes after installing too
Search within your device the cabs you have and select what you want to install
Analyze FB_Install folders
Batch cabs installation
Installation processes can be aborted any time
If you are overwriting exes, they will be automatically terminated before installing
Advanced cab analyzer (view files contained, shortcut, regs, extract them......etc)
- MichyPrima_UC - ​
This system will let you to install:
.reg
.cab
.rgu
.xml
.provxml
.exe
Putting them in your SD/Microdrive/Diamond internal storage in the folder FB_Install. And them will be installed at first boot.
Information about files you can install:
- Files .cab -​
For a base installation of cabs you can put them in the folder FB_Install. Setup DLL will not be executed to avoid setup freezes. Anyway, there are ways to customize how your cab will be installed:
Installation to SD
Installation to MD
Activating Setup DLL
Possibility to use wceload to install (not advised)
For using them:
If your cab is mycab.cab and you want to install it to sd, simply create a file called mycab.tosd. if you want to install to MD, the name will be mycab.tomd, if you want to enable setup dll, the name will be mycab.enabledll. If you want to install using wceload... use .old extension.
- Files .reg, .rgu, .provxml e .xml -​Simply put them to FB_Install directory
- Files EXE - ​For a simple execution put them in FB_Install folder. If you need command line arguments, simply put them in a file called as your exe, but with .arguments extension.
- All files - ​All files can be skipped using .skip extension. eg if your file is mycab.cab , create a file with mycab.skip and it will not considered
- Other special functions: -​
File/folder structure restore
Creating the structure on SD it will be reversed into storage. We have more than only one folder where we can put our files (in FB_Install):
CopyInWindowsFolder (\windows)
CopyInProgramsFolder (\windows\start menu\programs)
CopyInProgramFilesFolder (\program files)
CopyInFavoritesFolder (\windows\favorites)
CopyInFontsFolder (\windows\fonts)
CopyInStartupFolder (\windows\startup)
CopyInRootFolder (\)
So, for copy/overwrite files in windows folder, only thing you need is to create a folder in FB_Install with name CopyInWindowsFolder. This is a recursive copy, so all subfolders will be copied.
Shortcut restoring
You can specificate the shortcut to create in shortcuts.txt file and put it in FB_Install folder. Each line will be a shortcut to create. The first part of the line contains where the shortcut will be, 2nd where the shortcut will point. The two parts are separated by ":".
We have ids there to:
%SD% (\storage card)
%PROGRAMS_STARTMENU% (\windows\start menu\programs)
%PROGRAM_FILES% (\program files)
%STARTUP% (\windows\startup)
%MYDOCUMENTS% (\my documents)
Example line:
%PROGRAMS_STARTMENU%\Test.lnk:%SD%\myprogram.exe
This line will create a "Test.lnk" in programs which points to \storage card\myprogram.exe.
Possibility to avoid final reset (not advised)
Just create a file with name NoResetAtEnd without extension in FB_Install folder.
Possibility to temporarily skip customization
Just create a file with name SkipCustomization without extension in FB_Install folder.
Do you want to process config lines to runcc?
Create a file with name AddToConfig.txt and there put your config lines.
Possibility to delete files or folder
Create a file with name Delete.txt. Each line is something to delete. You can use IDs as shortcuts
All I have to say is
Wow, sounds extremely "will have it now"!
Cool
Michy,
This shold be a nice addition to the tool box.
cheers
BR
Attempt of graceful recovery from dbl post
Cool
Michy,
Very nice work. I can't wait to see this released.
Cheers
BR
Michy, you are great!!
Wow, this must have been a LOT of work. Tnx a lot for your efforts!!
Sounds great!
Sounds very useful for those of us that change roms often.
Good work.
PS
My personal holy grail would be an APP that records changes as apps are installed to a point where I am happy then be able to gather all of the changes and build an install routine! Am I dreaming?
Wow sounds awesome and a gui, can't wait & thankyou
SIMPLY AMAZING!!!! cant wait...this should save me tons of time, and unlike other appz this seems easy 2 use and great!!!....thanks for ALL the hard work! ..waiting patiently
ehi my friends! good job, I'm sure that this program is excellent as the other your developments!
Put it online
This sounds amazing!!!
Italians do it very well!!!
Translators needed!!!
Please if anyone interested translating my application, this is the english file to translate and post back:
Code:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Language>
<FormMain>
<ListviewColumn1>File</ListviewColumn1>
<ListviewColumn2>Dest</ListviewColumn2>
<ListviewColumn3>Instl.Size</ListviewColumn3>
<ReadyMsg>Ready.</ReadyMsg>
<AbortSoftKey>Abort</AbortSoftKey>
<InstallingMsg>Installing </InstallingMsg>
<AddItemBtn>Add item</AddItemBtn>
<RemoveItemBtn>Remove item</RemoveItemBtn>
<InstallSoftKey>Install</InstallSoftKey>
<MenuSoftKey>Menu</MenuSoftKey>
<MenuItem1>Exit</MenuItem1>
<MenuItem2>About</MenuItem2>
<MenuItem3>Clear list</MenuItem3>
<MenuItem4>Enable setup dll</MenuItem4>
<MenuItem5>Get cabs from storages</MenuItem5>
<MenuItem6>Load FB_Install folders</MenuItem6>
<MenuItem7>Uninstaller</MenuItem7>
<MenuItem8>Cab Info</MenuItem8>
<Msg1>Not enough space for this cab: </Msg1>
</FormMain>
<SearchCabsForm>
<Title>SearchCabs</Title>
<ListViewColumn1>File</ListViewColumn1>
<OkSoftKey>Ok</OkSoftKey>
<MenuSoftKey>Menu</MenuSoftKey>
<MenuItem1>Refresh</MenuItem1>
<MenuItem2>Select all</MenuItem2>
<MenuItem3>Unselect all</MenuItem3>
<MenuItem4>Invert</MenuItem4>
<MenuItem5>Cancel</MenuItem5>
</SearchCabsForm>
<SelectCabDialog>
<Title>Select cabs</Title>
<OkSoftKey>Ok</OkSoftKey>
<MenuSoftKey>Menu</MenuSoftKey>
<MenuItem1>Up</MenuItem1>
<MenuItem2>Select all</MenuItem2>
<MenuItem3>Unselect all</MenuItem3>
<MenuItem4>Invert</MenuItem4>
<MenuItem5>Cancel</MenuItem5>
</SelectCabDialog>
<SelectDestinationDialog>
<Title>SelectDestinationDialog</Title>
<OkSoftKey>Ok</OkSoftKey>
<CancelSoftKey>Cancel</CancelSoftKey>
</SelectDestinationDialog>
<Uninstaller>
<Title>Uninstaller</Title>
<ListviewColumn1>App</ListviewColumn1>
<ListviewColumn2>Mem.Usg.</ListviewColumn2>
<UninstallSoftKey>Uninstall</UninstallSoftKey>
<RefreshSoftKey>Refresh</RefreshSoftKey>
</Uninstaller>
</Language>
the filename should be Installer_CID.xml where cid is your cid. eg for italian: 410, english 409.
Edit: of course the italian one is already made by me
Thst is a great tool, anxiously waiting for release! Thank you sooo much!
Looks like a great tool ,and tools like this make other phones look primitive
Russian?
I might do a Russian translation. as soon as I have the time. in any case, I wanted to subscribe, so I made a post.
Looking forward to the release. when is it?
looks like an awesome tool... is it gsm specific or will it run on cdma phones?
Wow, nice release!! simple but powerful =)
benoahriz said:
looks like an awesome tool... is it gsm specific or will it run on cdma phones?
Click to expand...
Click to collapse
Should work fine on CDMA devices. A CAB's a CAB, CDMA or GSM
Dave

Categories

Resources