yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
Will that actually show me the differneces in the 2 registries or will I have to manually go thru it?
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
Do I type English correctly?

I don't recall in my last few posts actually asking for HOW to edit a registry. I already know HOW. I just need to know WHAT.

THe page here is great:

http://triton.homeip.net/RegistryChanger/index.php?e=1

Except it isn't very informative on what is what. THere are some duplicates some a clear and stright forward in what they do but some are a little grey so to speak.
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
OK heres what I am currently upto.

I have succesfully extracted a HTC Official ROM (2.03).

I have updated it with the latest XIP and SYS of 21042 but then decided to go with a 21038.

I have created my own BootSplash.

I have edit the page pool using PagePool Editor directly on the .nbh ROM file.

I have succesfully removed items from ROM.

I am currently doing the registry tweaks. I am currently copying the original Registry will install Advance Config and make my performance tweaks with that then I will copy and compare new registry. Then I will make an OEM install of the changed Registry items.
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
Here is whats left to learn or find.

Got one source of OEM HTC Files. Will go thru that to find out each one and hopefully install the OEM's to the ROM.

Still need to find out how to change the default Weather location, and also how to put in the new Weather Locations (will try the registry compare using Weather Database editor, hopefully values are in a registry).

Need to find out how to change the Date/version for the first boot (heard its in the XIP but still havn't been able to change the date/version yet.

Need to find out were the info is for the default shortcuts in the applications tab, so I can remove the youtube one and enter my own.

Also need to find were the Opera TAB favorites are so I can set them also.

If anyone can help with the above, it would be much appreciated.

Also I think its nearly time to start collecting what minor tweaks and stuff people would like in the ROM. As I said before it will be a Clean Lite ROM with tweaks and Updated HTC software only. All else can be installed afterwards.
[Touch Diamond, MDA Compact IV ROM Development] dipje:
There are multiple programs that can show you the differences in files. Total Commander has something, and port of the unix 'diff' command works (WinDiff), and even every Windows installation comes with 'cmp' command from the command line that can work to some extent.

It is a bit of a hassle to have a running device, export, make change, export again, compare. But that way you can modify ANY setting of ANY program or ANY part of the system-settings, even if it's not listed on some webpage somewhere.

I edited the .rgu file from the RhodiumManila package to set some settings (show program tab = 0, uselandscape = 0 (saves memory I think), and to set my weather to my default city). I did this by looking through the .rgu file, but after that I wanted to know how the 'world clock' settings worked and I did it the through export-change-export-compare method :).

Same for iContact.. I always have a 'light-diamond' theme I install with the app. I added those two files to the package, modified initflashfiles.txt to include those files in the proper folder, and modified the .rgu file to set the settings how I want them.

cooking can be tedious and hard work, remember :P
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
I can't remember were but after installing some of the newer 21xxx ROMS (UDK or Cloudy) I notice there was a new htc log in the boot animation. Anyone know were I can get this from rather than spending ages ripping the ROM (if they arn't locked).
[Touch Diamond, MDA Compact IV ROM Development] lobsterdave:
Im also looking at Cooking for the first time, looks like opera favorites are called in during config_end.txt in the stock rom.

This can be found in \OEM\OperatorPkg, it reads an XML file File_Operation_OperaAdr.xml, which performs the following

<wap-provisioningdoc>

<characteristic type="FileOperation">

<characteristic type="\windows\opera9\opera6.adr" translation="install">

<characteristic type="Copy">

<parm name="Source" value="\windows\_opera6.adr" translation="install" />

<parm name="RemoveAttributes" value="RSH" />

</characteristic>

</characteristic>

</characteristic>

</wap-provisioningdoc>

Looks like all you need to do is edit _opera6.adr to include your favorites.
[Touch Diamond, MDA Compact IV ROM Development] dipje:
The favorites I actually don't know, but I think a favorites folder somewhere in your 'Documents and SEttings' or in your 'AppData' folder? Or maybe just as simple as the registry.

The programLauncher items are in the registry for sure.

Thing is, in the 'first-boot-setup' actions there are some files called that set up some Manila registry entries. In your OEM folder, look into the OperatorPkg and OperatorPkg_PT folders and check out the .txt files. Those two folders are a series of actions that are executed at the end of first-boot-setup, which set all kind of settings I don't really get. But they also execute a PT_Manila_Reg.cab and do some other Manila settings. I think they 'initialize' the Manila settings there, so any change you make to your own settings must be executed AFTER those commands..

.. or you have to rip them out properly, but I seem to have failed at that (my new RhodiumManila had the 5 ProgramLauncher items that the normal Manila comes shipped with, lol).
[Touch Diamond, MDA Compact IV ROM Development] dipje:
The errors you get when you start vkitchen are normal. It's looking for a dumped ROM and you don't have it (yet) in that folder. No problem, just click them away.

Second, XipporterEx wants an original xip.bin in the folder 'xip_old' (which you don't have), a to-be-ported xip.bin in the folder 'xip_new' (which you don't have) and it will write a ported, ready xip.bin in the folder 'xip_ported_new' or something. THAT's the file you already have. THAT's the file that is generated by bebe's kitchen. So copy your xip.bin into that folder, and XipporterEx will think it has already done it's job and you can use the patch functions.

If you try the patch functions (like version) it'll give you an error if it can't find the correct file. Just don't use it's porting functions because all that is already taken care of by your kitchen! You already got a working build, you just want to patch some values :P.

You can also try your luck with a hex-editor ofcourse.

The 'problem' I have (I don't care about the time/date though) is that I can't change the time/date in XipporterEx because it's greyed out ?!? Am I missing something?
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
Your problem is the part I did work out.

It is greyed out at first but if you click to import the date and version the it drops in the current values, THEN you can change them.
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
It still seems to want other files like a payload etc.

I can't do anything regarding Pagepool, date or version.
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
OK I have gotten a list of the Reg keys to edit based off the 2 apps I used to use. Diamond Tweak and TF3D Config.

Basically I edited the files using a Cab editor and they simply had an XML file in there detailing the key and values.

Anyway I have made a new .rgu file to overwrite the reg values but I have one small problem.

I am unsure how to actually delete reg keys. Some of the values are ment to be removed. What would be the best way to do this? The ONLY way I can think of is to manually go thru all the RGU files untill I find the one I need and then manually remove it.

Please help.

PS: Also the CeRegEditor doesn't allow me to place in empty values. Is it OK for a space? Or do I have to textedit the file and remove the spaces?
[Touch Diamond, MDA Compact IV ROM Development] deeren:
concerning the date and version, well you can change that using a hex editor. some people do that directly on an nb file.
[Touch Diamond, MDA Compact IV ROM Development] deeren:
eangulus,

let me advise u another way if u want to. well you could download any rom from suiller, vic's(both open roms), or carburano kitchen. there u'll find all the wanted and used tweaks.nearly all the chefs use the same tweaks...so you could take a look at those , compare and make a selection of yours. i don't think that they would mind cause they are really generous and openminded chefs ..as long as you give them credit if u ever release ur rom.

one thing, remember that applying too many tweaks may affect the stability of the rom.

cheers
[Touch Diamond, MDA Compact IV ROM Development] dipje:
@eangulus

Take a program like Total Commander

It can search your whole kitchen directory structure for files containing a certain text. (Make sure you click the 'Unicode' flag because most files require that).

All registry entries are in .rgu files. So using Total Commander or another search tool search all *.rgu files in your kitchen containing part of the registry entry you want to delete. It'll give you the .rgu files it contains. No need checking every .rgu file manually if you already know the registry entry to delete / change.
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
That sounds allot easier.

In regards to others tweaks, I might stick with what I know for now, from using the programs that I got the tweaks from.

Later when I have a bit more experience I will open up some of the other ROM's and see what they do to theirs.
[Touch Diamond, MDA Compact IV ROM Development] deeren:
sure, goodluck cooking man.

hope to see another diamond chef!!;)
[Touch Diamond, MDA Compact IV ROM Development] dipje:
Opera 'hotlist' (Favorites):

OEM/OperaterPkg/_opera6.adr

Manila Program Tab default icons:

OEM/OperaterPkg/mxipupdate_oemoperators_102.provxml

In that last xml file, are also other Manila registry settings that get executed at 'first-boot-setup'.... under which your Weather city list :).

InternetExplorer favorites are registry entries in one of the other .provxml files there.
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
Thankyou very much for that info. Much appreciated.

Hopefully once I get my First ROM out I wil ltry to compile all this info together for ease of reading.
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
Update:

I managed to get the REG changes made. I also edited the file mentioned before to remove the shortcut and to change the default weather.

1st Run nothing worked at all. No Reg changes and stuff. Worked out I didn't save the files as unicode.

2nd run all is well. Reg files went in fine, shortcut removed.

But the weather did sorta work. Default prior was Hong Kong Only. Now it is the default set of 6 cities. I did set it to Dubbo Australia. Does anyone know if that the reason for this is because the Dubbo codes are not in the main database even thou I put in the string from accuweather.

If so what file hold the city information for the weather.
[Touch Diamond, MDA Compact IV ROM Development] dipje:
I'm afraid I never editted the database, but if you using cities not in the default database, yes you have to somehow fix that too.

I don't know what the database-editors fix / change, but I guess it's the '/Application Data/HTC/databases/Forecast.db' file.

First, take a look if that file is already somewhere in your kitchen (search for it with a file-searching tool). If that is the case, simply replace it with your patched version.

If it's not, you somehow have to add it. If the file doesn't exist, Manila will (re)create it. So you have to place that .db file in _some_ package, and add it to that package's initflashfiles.txt to place it in the correct location.

You could also create your own package for it ofcourse, or you could try to add it to the first-boot-setup with all the config*.txt or *.provxml files. But I think just adding it to an existing package (like the stock Manila package) works the easiest.
[Touch Diamond, MDA Compact IV ROM Development] deeren:
while cooking, for editing the weather database,

you just have to enter some tweaks in your list

1)[HKEY_CURRENT_USER\Software\HTC\Manila]

"Weather.CurrentCity"=dword:00000001

"Weather.CityList"="EUR|RO|RO010|BUCURESTI"

if you are planning to input let's say 2 cities then the setting would be such;-

[HKEY_CURRENT_USER\Software\HTC\Manila]

"Weather.CurrentCity"=dword:00000002

"Weather.CityList"="EUR|RO|RO010|BUCURESTI,EUR|DE|GM003|BERLIN"

i don't know how you apply the tweaks. if by cab, be sure to call it at the very end of the first boot from config_end.txt

hope i could help.
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
Thankyou for trying to help but if you had read the hand full of posts slightly before hand you will see that is exactly what I did and it doesn't work.

I do believe thou it is the correct way for cities already in the default database.

So I am going to try and edit that to put in the cities that I want and are not in there. The Weather Database Editor has to change something, what I don't know yet.
[Touch Diamond, MDA Compact IV ROM Development] deeren:
well , cool down man. i know that u succeeded in doing that. i just wanted to point another way out how u could do it. cause i believe that editing the mxip.. file to change weather is not the easiest way. i mean, tomorrow if you wanna change your oem, you'll have to go through all these processes once again changing one by one. whereas if you already have them in your registry, you'll just have to apply them with a simple click.

secondly, if you want to input cities not found in the database, you'll have to edit the 233fc3c manila file. thats where they are found.
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
Using the ONLY tool I know of that edits minila files is Manila Editor.

It doesn't show the file needed and it IS there.

Also it doesn't seem to edit text contents only images.

If I open the file in a text editor it is garbled but you can read enough text to know it is definitly the weather database.
[Touch Diamond, MDA Compact IV ROM Development] deeren:
this is a system file. so you'll have to open it with something else. i read somewhere that you can open it with an SQL editor. i havent done it myself.

i am actually trying it that myself right now. hehehe. if you have some luck , let me know
[Touch Diamond, MDA Compact IV ROM Development] deeren:
i did it! well use this sql editor. i cannot upload it as xda wont allow me.:(

http://www.singular.gr/sqlite/sqlite3Explorer.exe

1)click opendatabase, select your manila file

2)on your left you'll get your list. rightclick on the cities and select show data...

3) after you input all your data, you press update. (important) cause if you try to save it, it doesnt save it as a system file but as a db file. just update would do.
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
Trying it now.
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
No go for me. I downloaded the file you had for SQL and all it does is complain when I open it. then it givers me an access error when trying to open the file.
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
Tried this http://sqliteadmin.orbmu2k.de/

ANd it worked fine.
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
OK a couple of issues.

1st the smaller one. Does any one know how to get rid of that Microsoft Experience Program ****.

2nd is a longer issue.

I have worked out how to do the reg edits using a seperate file that Post Installs. I also know that some of my tweaks require removal of some reg entries. I also know I can manually remove then from the various rgu files. but how can I setup a file to remove them post install or something. I only want such a way so I can make changes to it easier later on rather than directly editing the rgu files.
[Touch Diamond, MDA Compact IV ROM Development] deeren:
for the question 1:

you have to delete folders in the SQM directory in the SYS folder and there replace with custsat dll. try searching for it. keyword custsat and SQM.

2) i didnt quite get your point. anyway, instead of manually deleting those settings each time you cook. why dont you create reg settings that overrite those ones, or disable them. no need to remove.

maybe that's not the answer u expected,please give an example to clear it out.
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
You can't overwrite something you want to actually delete.

A hadnfull of my registry tweaks actually DELETE certain registry values and keys.

I know I can just overwrite an empty value to "" but some (3-4) delete the key itself.

How can I delete the key post install as I do with inserting and overwriting, instead of manually walking the rgu files and removing them that way.
[Touch Diamond, MDA Compact IV ROM Development] deeren:
i'm sorry aussie, :P:P i am not a native english speaker. i just don't get ur point.

what i understood is that u want to delete some registries before applying yours.

is it right? (can u give me an example ) e.g i want to delete xxx , cause i want to install xxx

or simply get give me an eg what u want to delete.

are you referring to security settings?

anyway, i'm off to work. i'll check the thread in the evening and this time i'll READ theprevious posts and try to answer you if someone else hasnt by that time.

goodluck

cheers
[Touch Diamond, MDA Compact IV ROM Development] eangulus:
Just found a good list of fixes.

http://xdaforums.com/showthread.php?t=495450&highlight=Edit+2330fc3c_manila
[Touch Diamond, MDA Compact IV ROM Development] dipje:
What was ment he wanted to remove registry entries.... period. How to make a provxml or CAB that removes certain registry entries, and nothing else :).

I did a quick google on regedit4 syntax remove entry (after wanting to write "I don't know" but I figured that wasn't helpful :P).

I found the following on http://support.microsoft.com/kb/310516. Don't know if it works for RGU files.
[Touch Diamond, MDA Compact IV ROM Development] dipje:
I just liked to show (show off :P) a few things I managed to have running on my phone since starting this cooking thing last week :).
[Touch Diamond, MDA Compact IV ROM Development] iago_00:
What topaz (rhodium) app gives the third screen you attached?
[Touch Diamond, MDA Compact IV ROM Development] dipje:
PACKAGE_Topaz_Wi-FiWizard

PACKAGE_Topaz_WiFiSettings

PACKAGE_Topaz_CommManager_HTC_ALL

PACKAGE_Topaz_CMPhone

PACKAGE_Topaz_CMBluetooth

PACKAGE_Topaz_CMBandSwitching

Most people call it 'the new comm manager with wifi and bluetooth selection' :). I've asked a few cooks around who have ROMs with it build in, but they all promised the packages to not spread around the OEM's.

But Vic's 3.7 ROM also contains it, and he always makes it ROMs open to share and learn for everybody. So download VIC 3.7 ROM, and dump/extract it like you do any normal HTC rom and there are your packages.

VIC's taskbar-icons and the CommManager packages are the only ones I ripped from another ROM. The rest is just available as download on the forum or I've made them myself from the CABs (like RhodiumManila).
[Touch Diamond, MDA Compact IV ROM Development] garymeg:
Hi i'm looking for some help, tried asking on other posts and all i seam to get is the usual use the search witch is ok if you know what your looking for, if you know what your looking fo why search?

end of rant.

now my question.

When i try to extract an unlocked rom (one of vic's for example) i keep getting errors with the extracting XIP, am i missing some background software like .net or vb runtimes or something simmular

Would love to know whats missing as it always worked before i had to reformat my Laptop

Please please hep me.

PS. i am using Diamond kitchen
[Touch Diamond, MDA Compact IV ROM Development] megahenebi:
If it possible if you publish a full kitchen include all files and configuration somewere? Just for learning purpose? Or PM me, if it possible. Beer from me!
[Touch Diamond, MDA Compact IV ROM Development] deeren:
Unable to help u unless u quote the error you have . well basicall you need MS C visul runtimes 2005 & 2008, and net framework 2.0 .
[Touch Diamond, MDA Compact IV ROM Development] dipje:
http://www.microsoft.com/downloads/...f9-b5c5-48f4-8edd-cdf2d29a79d5&displaylang=en

http://www.microsoft.com/downloads/...FD-AE52-4E35-B531-508D977D32A6&displaylang=en

But an exact error message would make it more clear.

Take note: The links I gave are for an _ENGLISH_ windows OS. If you have a different language click around on the microsoft site for your Windows language.

Those two installers are simply put: "files a lot of programs need". Not just on XDA :). A lot of programs that are being made by all kind of people require a certain 'base' that they work on. These two files ('Visual Basic Runtime' and '.NET Framework' / 'dotNET Framework') are two different type of 'base'.

edit:

You might also need one of these:

http://www.microsoft.com/downloads/...EE-A3F9-4C13-9C99-220B62A191EE&displaylang=en

http://www.microsoft.com/downloads/...34-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en

And PS: Knowing that you require a certain microsoft module and obtaining it is outside the scope of the XDA forum... and if you want to start cook your own stuff everybody assumes you can do at least a few basic computer-related tasks. So normally I agree with you that some / most people are way to quick and aggressive on saying "just search!" but in this case they were right.
[Touch Diamond, MDA Compact IV ROM Development] garymeg:
I have ms c++ runtime 2005, 2005 and .net framework 2 sp2, vb runtime 5 and 6,sp6 but it not working

i get

[info] it is a common ROM
[error] file is damaged end address is smaller than start address
[error] file is damaged end address is smaller than start address

xip.bin: No such file or directory
the sstem cannot find the specified.
File not found
Microsoft (r) Windows Script host version 5.7
Copyright (c) Microsoft.........

*.*
The system cannot find the specified.
0 File(s) copied.
file not found *.*
file not found dump_xip
0 File(s) copied
A subdirectory or file ROM already exists
1 file copied
[Touch Diamond, MDA Compact IV ROM Development] dipje:
This is a learning thread so if you want a rundown on things or something else just let me know.

Posting the whole kitchen.. well.

a) It's VERY big. VERY VERY big :).

b) I've done nothing special besides the basic 'create a kitchen' instruction that I posted in the beginning of this thread, and after I got a working 2.03-build21038 ROM I just started removing and adding folders.

The hard part was fixing some new packages which got overwritten by the old original packages (hunting down duplicate files and deleting the older one) and using CABtools and 'OEM Package Creator' to make my own OEM packages for the RhodiumManila. The packages that were made weren't 100% OK by those tools,so I've done quite some work on fixing up the registry files.

I have it ready in .RAR, but do you have a clue where to share it if you still want it? It's 178mb RARred :)
[Touch Diamond, MDA Compact IV ROM Development] garymeg:
I would be intrested in your kitchen, (Rapidshare or megaupload would be fine)

PS have you removed the temp directory and the built NBH and the built os.nb before RARing to save valuable Mb's?
[Touch Diamond, MDA Compact IV ROM Development] deeren:
21038? hey dipje, did u use the xip and sys posted by adwinp?
[Touch Diamond, MDA Compact IV ROM Development] deeren:
1) are you sure your download was completed successfully?

2) if the download file is ok, then try deleting your temp,ROM,OEM and SYS folder and start over and see.

3) if not, try dumping with another kitchen.

i use bepe kitchen, so i wont be able to say much about the diamond kitchen( i guess u meant the surface kitchen) .