WM6 Kitchen Error - Windows Mobile Development and Hacking General

Hey all, I'm new to Cooking.
I keep getting an error building default.hv and user.hv
I know that's an error in an rgu file, but I don't know how to fix it.
So could someone offer some help and show me what's wrong with it?
End of Log file:
Code:
importing registry file ".\Registry\d2fc34aa-41ae-48fe-a34b-90d059c3aea9.rgu"...
importing registry file ".\Registry\d3ae4d80-96d5-454f-beb3-20f881e46485.rgu"...
importing registry file ".\Registry\d3eb2312-63bc-4110-9914-f1472e61410e.rgu"...
importing registry file ".\Registry\ddff935c-ff23-4ffb-98f6-8648601e94c9.rgu"...
wmain: (RGUComp) !ERROR failed building DEFAULT hives
So I'm guessing it's ddff935c, right?
Thanks in advance,
-Duff

try the attached one

duffkiligan said:
Hey all, I'm new to Cooking.
I keep getting an error building default.hv and user.hv
I know that's an error in an rgu file, but I don't know how to fix it.
So could someone offer some help and show me what's wrong with it?
End of Log file:
Code:
importing registry file ".\Registry\d2fc34aa-41ae-48fe-a34b-90d059c3aea9.rgu"...
importing registry file ".\Registry\d3ae4d80-96d5-454f-beb3-20f881e46485.rgu"...
importing registry file ".\Registry\d3eb2312-63bc-4110-9914-f1472e61410e.rgu"...
importing registry file ".\Registry\ddff935c-ff23-4ffb-98f6-8648601e94c9.rgu"...
wmain: (RGUComp) !ERROR failed building DEFAULT hives
So I'm guessing it's ddff935c, right?
Thanks in advance,
-Duff
Click to expand...
Click to collapse
The log file usually says something like '...failed within a few lines of line x' or something similar which usually helps. However I can't see at first glance what is wrong with that .rgu file?
Andy

Thanks, do I put it in the same temp/registry folder?
Or do I put it somewhere else?
Thanks
-Duff

duffkiligan said:
Thanks, do I put it in the same temp/registry folder?
Or do I put it somewhere else?
Thanks
-Duff
Click to expand...
Click to collapse
where is the original registry?
just replace the original file

I can't find the original registry.
Any ideas based on the entrys in it?
Thanks again. =]

duffkiligan said:
I can't find the original registry.
Any ideas based on the entrys in it?
Thanks again. =]
Click to expand...
Click to collapse
REGEDIT4 was written twice

mbarvian said:
REGEDIT4 was written twice
Click to expand...
Click to collapse
Oh, I feel stupid.
Thanks.
But I can't seem to find the original file it came from.
Just the /temp/registry file...
Any idea where to look?

damn, use the widnows search based on the folder kitchen, something like:
ddff935c-ff23*.*
Replace the original one with supplied fiexd...

Alright, I had to use WinRar to find it because it was packaged.
But it turns out it's a DSM file, and I have no idea what to do with that.

Must be are a DSm and a RGu with the same name.
If only are a DSM, place the RGU in the same place as DSM
EDIT: I dont do it this usually, but i think u can merge the content from this GRU into another RGU

Fixed, Thank you all so much! =]

Related

How To Convert *.txt File Into a *.reg Please?

How to convert *.txt file into a *.reg please?
Tweaked a *.reg file for BlueTooth but when I use Resco Registry it just does not import.
Forgot to mention that is it possible to import without overwriting the existing settings (just adding)?
Anyone can help?
TIA
Just rename the .txt extension simply to .reg extension i.e. abc.txt rename it to abc.reg.
I think it's possible to import a registry file without overwriting the existing setting as long as they don't have the same key.
Hi
Thanks Bro but I tried that before and either Resco Registry refuse to import or when it does those keys with the same name with additional strings gets overwritten.
I want to add only.
Have you tried using TascalRegEdit instead of Resco Registry? Give it a try, Buddy.
Have you tried using TascalRegEdit instead of Resco Registry? Give it a try, Buddy.
Hey
Thanks Bro I will give it a try.
Hi [Krueger]Dr.Stein,
Change *.txt with *.reg as extension as well as
add
REGEDIT4
as the first line
example if your *.txt file is like this
Code:
[HKEY_CURRENT_USER\ControlPanel\Volume]
"Ringer"=dword:66666666
"Volume"=dword:66666666
*.reg should be
Code:
REGEDIT4
[HKEY_CURRENT_USER\ControlPanel\Volume]
"Ringer"=dword:66666666
"Volume"=dword:66666666
Then resco will gladly import
About import without overwriting the existing settings (just adding) you asked is possible, just make sure that the data you are using in reg file is not alredy present in the original registry, then the data is added otherwise it will be overwritten.
Good Job
Alrighty then.
Thanks for the valuable tip. Appreciate it.
Thanks again.

Wait Cursor

Hello everybody
I searched 10 times this forum but i could not find it
IS there a way to change animated wait cursor ?? in HTC wizard ??
I found this program http://www.pocketgear.com/software_detail.asp?id=14638&associateid=162
but i don't think it will work with WM5
thanks,
DNO
yes there is a way. the icon is in a dll. so you need a dll editor. there´s a topic here somewhere in the forum. i read it the other day. just can´t remember where. Just look for dll editor or something like that. i think vijay555 changed his once to a hamster. just keep looking.
Yes there sure is.
It is in GWES.EXE and can be edited using a resource editor (google for Resource Hacker)
There are 16 bitmaps in the Bitmap section, running from 1024 to 1039 for QVGA and from 1040 to 1055 for VGA.
QVGA resolution in 32x32, VGA is 44x44
So change them with the resource editor and copy back GWES.EXE to
your device.
Cheers
thanks tweakradje
got it and I sure knwo how to change pics in dll, and exe
thank you very much
I found only gwes.exe.0409.mui in /windows
is this the one ??
tweakradje
I think you are using WM 2003
becuae in WM5 there is no file name gwes.exe
dno555 said:
I found only gwes.exe.0409.mui in /windows
is this the one ??
Click to expand...
Click to collapse
could be in there also
I think you are using WM 2003
becuae in WM5 there is no file name gwes.exe
Click to expand...
Click to collapse
I think you need to extract it from a ROM.
the file gwes.exe does exist. i can see it if i´m in resco file explorer. but i can´t copy it. i always get an encryption error. and if i go through activsync i can´t see it. then i only see the one you see. with the 0409 on it.
freezor said:
the file gwes.exe does exist. i can see it if i´m in resco file explorer. but i can´t copy it. i always get an encryption error. and if i go through activsync i can´t see it. then i only see the one you see. with the 0409 on it.
Click to expand...
Click to collapse
same here
yes it is in gwes.exe.0409.mui (US)
Some examples can be found here:
http://4pda.ru/forum/index.php?showtopic=25257
EDIT 8 feb 2007: Check this out http://www.masellis.com/wait/cartoons.htm
Cheers
Been looking into this for a while here, but have had no luck in WM5. I had this great Cartman eating Cheesy-Poofs animation in WM2003 that was so much fun.
Both "gwes.exe.0409.mui" and "gwes.exe" contain the icons that make up the animation for the busy/wait cursor.
Using Resource Hacker I made the change for those 16 icons in gwes.exe.0409.mui. Finally got it to overwrite the existing file in the /windows folder by creating a cab that replaced it after a restart. Unfortunately, even though the new file is now where the old one was, I'm still getting the old animation.
Did the same with gwes.exe using Resource Hacker, but for the life of me, I cannot find anyway of overwriting the file on my PPC. When I tried to overwrite by using the cab file install method, I get a message that says the install was unsuccessful because I didn't have permission to modify the file. I wish there were some way to overwrite the file while it was resetting, or even after a hard reset. I spent quite a bit of time trying to find a way to replace it via the Kitchen Rom avenue, but I couldn't do it.
Any ideas?
Hi,
You only need to replace \windows\gwes.exe.0409.mui in this case (rename the old one first) Then after a soft reset the new animation will show.
Mui must be activated though. Check
HKLM\MUI
Enable dword 0x1
Syslang dword 0x409
Cheers
Thanks tweakradje for the tip to rename gwes.exe.0409.mui first. I removed the read-only and system attributes, then renamed it to .old and it accepted that! Then copied my new file over, and I've got my Cartman back!! Wahooo!
Nice to hear. Can you share it here?
I am always interested.
Cheers
Hi,
You only need to replace \windows\gwes.exe.0409.mui in this case (rename the old one first) Then after a soft reset the new animation will show.
Mui must be activated though. Check
HKLM\MUI
Enable dword 0x1
Syslang dword 0x409
Cheers
Click to expand...
Click to collapse
I did that and was able to replace the file with the new one checked the reg settings, I also removed the gwes.exe.0409.old file and I still get the old animation. am I missing something?
do I need to edit the gwes.exe file too?
Hi,
Check in your registry if the MUI values are present and that SysLang is set to 0x409. Of course the file must be in \windows.
No need to change gwes.exe if MUI is working.
Cheers
tweakradje said:
Hi,
Check in your registry if the MUI values are present and that SysLang is set to 0x409. Of course the file must be in \windows.
No need to change gwes.exe if MUI is working.
Cheers
Click to expand...
Click to collapse
i also have a problem doing it. i am sure registry values are right as you said. but when i'm trying to rename the file it just won't rename, or change attributes... i'm using total commander... any ideas?
can somebody please post the original here? WM5
I kinda overwrote it by mistake
leepriestenator said:
can somebody please post the original here? WM5
I kinda overwrote it by mistake
Click to expand...
Click to collapse
how could you overwrote it? it's in rom so as far as i understand thac cannot be done... someone please put some light on the matter ;]
i would post the original, if only i could copy it anywhere outside windows folder... :/
Please, how to rename the gwes.exe.040C.mui.
I try under explorer and Resco explore, I can't, when I change properties of files, it came back to system and read only.
Thx.
JaY
Seems that with my WM5 it does not want to work with the Reg OK and the MUI files changed. It is still going with the icons in GWES.EXE and I cannot copy it from my device to change those icons and EVEN if I could, I would have to copy it back!
Any ideas how to copy over my GWES.EXE?

[SOLVED] UC cant install a cab "Sleuth's UC"

Can someone explain this to me, cause everything I read shows me I am doing this right but yet I am getting an error still.
I added a cab to the operatorpkg folder: tilt2keyboard.cab
I then went to the ExtendedPkg folder and modifed the config.txt to this:
LOCK:Enabled
CAB:\windows\tilt2keyboard.cab
LOCKisabled
RST: Reset
flashed the rom, and then get an error during the customizing stating:
Error
\windows\tilt2keyboard.cab is not found
When I take the line out of config.txt. and flash it, I look in the windows folder, and the cab is right there plain as day. Its attribute is read only, its not hidden or anything and its driving me insane cause everything I read I did exactly.
I even went to convert this to a EXT Package and still couldnt get it to install that way either.
What am I doing wrong or missing?
You are missing a "space" in the cab line
Code:
CAB: \windows\tilt2keyboard.cab
suggestion: dont set read only, and set hidden to that cab
Diegis0n,
Ur kidding? *&(^%%&^* that was it? going to try this right now.
Que PPC, okay why hidden just curious?
Nope didnt work Now I get the error:
Error
Install \windows\tilt2keyboard.cab failed, code 0x80070005
Both hidden and unhidden.
Bump? Any other ideas?
AngelDeath said:
Bump? Any other ideas?
Click to expand...
Click to collapse
I'm out of ideas mate
The way i do it is by using Sleuth255's UC: http://forum.xda-developers.com/showthread.php?t=366337
Check your security policies.
Code:
;---- disable security check for installed programs
[HKEY_LOCAL_MACHINE\Security\Policies\Policies]
"0000101a"=dword:00000001
"0000101C"=dword:00000001
Would that be in the boot.rgu file?
Or where would I find that before cooking?
AngelDeath said:
Would that be in the boot.rgu file?
Or where would I find that before cooking?
Click to expand...
Click to collapse
CAB: \Windows\tilt2keyboard.cab
Click to expand...
Click to collapse
copy the above to your config file.
you should put those reg settings into the app.reg and .rgu of the last Package in the extend packages section,providing that you are using visual kitchen.
Attempting again now. Just added the entries to the .reg and .rgu of zlibce file if my understanding was correct. Will update after cooking and flashing!
Just add this package to your Ext section of the kitchen.
Thank you both Indagroove, and Faria, without that zip I got it to work. But I will add that to the end of my EXT.
But to both of you: Thank you very much.
AngelDeath said:
Thank you both Indagroove, and Faria, without that zip I got it to work. But I will add that to the end of my EXT.
But to both of you: Thank you very much.
Click to expand...
Click to collapse
Glad to help.
Solved thread
Hiden cab...? well i use hidden cabs in my poor UC to simply dont have more files to load when i go to my windows folder, thats the only reason.

[FYI] If a .provxml seems to not work in your coked ROM, Try this

The attached .provxml will not execute. It's supposed to associate icons with folders in the start menu, but it's just not working. It is totally unmodified from the Rhodium S2 ROM. The directories are there as the initflashfiles.dat file is unmodified and the folders are in the start menu. Anyone care to help?
Your file is fine so I guess that you have the same issue I had .
I guess you don't have that provxml added to any of dsm files . Just use this tool and add it to any of dsm files.
http://forum.xda-developers.com/showthread.php?t=523139
You can also use xml parser to check if file is good, for example Serna Editor.
Click to expand...
Click to collapse
Maybe I'm wrong, so if you already have this provxml added to any of dsm files, we'll look for more reasons. One more question, do you try to cook this into ROM or execute from Advanced Configuration Tool?
It's cooked in. The package is directly from the Rhodium S2 ROM, so I don't quite understand why it's not executing. I'm thinking about putting it in another OEM folder and seeing if that will help. Heck I'm lost, and about to turn it in for the night.
As I wrote, try adding it manually to dsm file in that OEM folder, this should help you, if this won't help, then I'm out of ideas.
Anyway, you can just add content of that provxml to another provxml, it's dirty way but probably the easiest one.
This happens because the messenger.lnk have not been created when this provxml is executed and it fails.
So just rename the provxml to mxipupdate_zprojectdefault_a_000.provxml
Notice the "z" ahead of the project.
This trick will put the provxml after the mxipupdate_windowsliveim_1.provxml, so the messenger.lnk will have been created and the provxml will run just fine.
But he said that provxml isn't excuted at all, I'm out of ideas . Anyway, it's worth to give your idea a try.
jwzg said:
The attached .provxml will not execute. It's supposed to associate icons with folders in the start menu, but it's just not working. It is totally unmodified from the Rhodium S2 ROM. The directories are there as the initflashfiles.dat file is unmodified and the folders are in the start menu. Anyone care to help?
Click to expand...
Click to collapse
the provxml isn´t executed on my rhodium as well. but renaming to mxipupdate_zzzzprojectdefault_a_000.provxml
does work for me.
as the posters above me wrote:
the problem seems to be the messenger package which includes another *provxml file which should be prozessed BEFORE mxipupdate_projectdefault_a_000.provxml but it isn´t! also *.provxml aren´t prozessed if there´s a failure inside. when you remove a program and you don´t clear the line in the *.provxml the file would not me prozessed.
this problem is related to platformrebuilder breaking something, you can pm airxtreme for info, it seems that he solved this problem in his wonderful kitchen
steph
Provxml can be launched but they stops at the line it find a problem so it seems that it doesnt works.
Platform rebuilder can reads DSM in EVK? or just in OsK? or none?
Renaming the .provxml solved the issue. Man, the start menu looks good now! Thanks!
Great, I wouldn't think about renaming on my own . Anyway, it seems that those provxml files are processed in alphabetical order, right?
everything is alphabetical order processed in platform rebuilder based kitchens ¬¬
Mod edit: Solved
Dude!!! The sameprob here with Leo ROM... same file... going to try your tip!
kurniawan77 said:
Dude!!! The sameprob here with Leo ROM... same file... going to try your tip!
Click to expand...
Click to collapse
@kurniawan77 - Did it work for you?
Same prob here, using osKitchen Zero for HTC LEO. Already tried renaming by adding zzz in name and also tried adding the provxml in dsm. Any other suggestions? This is drving me nuts, please help.
p/s: also tried opening the provxml in internet explorer/XML notepad 2007 - no errors. Made sure there are no "<?xml version="1.0" encoding="utf-8" ?>" in the headers.
Try to replace platformrebuilder.exe with another version, that did the trick for me.
Before you ask, sorry but I'm using a private edition of platformbuilder so I can't share.
I'm using platformrebuilder.exe v.2.1.0.0
tidus18 said:
@kurniawan77 - Did it work for you?
Same prob here, using osKitchen Zero for HTC LEO. Already tried renaming by adding zzz in name and also tried adding the provxml in dsm. Any other suggestions? This is drving me nuts, please help.
p/s: also tried opening the provxml in internet explorer/XML notepad 2007 - no errors. Made sure there are no "<?xml version="1.0" encoding="utf-8" ?>" in the headers.
Click to expand...
Click to collapse
tidus18 said:
@kurniawan77 - Did it work for you?
Same prob here, using osKitchen Zero for HTC LEO. Already tried renaming by adding zzz in name and also tried adding the provxml in dsm. Any other suggestions? This is drving me nuts, please help.
p/s: also tried opening the provxml in internet explorer/XML notepad 2007 - no errors. Made sure there are no "<?xml version="1.0" encoding="utf-8" ?>" in the headers.
Click to expand...
Click to collapse
You still have problems even with oskitchen 1.31beta3? Some people reported the new DSM-based provxml order to be working fine.
Evil Provxmls....
airxtreme said:
You still have problems even with oskitchen 1.31beta3? Some people reported the new DSM-based provxml order to be working fine.
Click to expand...
Click to collapse
Hi Airxtreme - Thanks for developing the kitchen! Its really great. But i just recently moved to osK Zero from ervius. Previously in ervius i didnt even bother to add provxmls in any dsm. I dont quite understand DSM management fully, but i did add the provxmls in DSM of my ext package (ext package contains my custom icons for start menu and the provxml to add reg entries).
When i get back home, i will try to rebuild the ROM with older version of kitchen and report back. Currently im using v1.31Beta3.
p/s: i had trouble with theme provxmls as well, finally i had to put all the theme files in Operatorpkg, and put the xml entries in HTC's provxmls (the one named HTC_100) for it to work.
Laurentius26 said:
Try to replace platformrebuilder.exe with another version, that did the trick for me.
Before you ask, sorry but I'm using a private edition of platformbuilder so I can't share.
I'm using platformrebuilder.exe v.2.1.0.0
Click to expand...
Click to collapse
2.1.0.0? Then what's the version that is publically available? And can you say something about the new functions, etc.? Thanks!
tidus18 said:
Hi Airxtreme - Thanks for developing the kitchen! Its really great. But i just recently moved to osK Zero from ervius. Previously in ervius i didnt even bother to add provxmls in any dsm. I dont quite understand DSM management fully, but i did add the provxmls in DSM of my ext package (ext package contains my custom icons for start menu and the provxml to add reg entries).
When i get back home, i will try to rebuild the ROM with older version of kitchen and report back. Currently im using v1.31Beta3.
p/s: i had trouble with theme provxmls as well, finally i had to put all the theme files in Operatorpkg, and put the xml entries in HTC's provxmls (the one named HTC_100) for it to work.
Click to expand...
Click to collapse
Those having problem with provxmls where it is used to overwrite other provxmls in sys (ie: for theme settings), please try this http://forum.xda-developers.com/showpost.php?p=7038082&postcount=2477
This version of your kitchen solved all my probs. THANKS!!!!!!!!!!!!
I only tried to help make the provxml load
Bepe created the kitchen tool and knows everything about it.
Edit; a bit late but the version I use is 2.1.0.0 indeed.
cnzqy1 said:
2.1.0.0? Then what's the version that is publically available? And can you say something about the new functions, etc.? Thanks!
Click to expand...
Click to collapse
tidus18 said:
Those having problem with provxmls where it is used to overwrite other provxmls in sys (ie: for theme settings), please try this http://forum.xda-developers.com/showpost.php?p=7038082&postcount=2477
This version of your kitchen solved all my probs. THANKS!!!!!!!!!!!!
Click to expand...
Click to collapse
glad it worked out for u... been away for days... working on bugfixes... and more. v1.31b3 from worked out even better... sorry for late response

[q] xml / pxml

Sorry for being dumb once again.
I know how to create an XML and convert reg files to PROVXML etc but :
I flashed my cooked rom and did snapshot with kheb made all my changes and got a difference .reg file.
I converted that to PROVXML cause i believe its the best way of doing it.
What I dont know is what to do with it and where to put it in order to flash it.
Ive put it under custom settings\files but iot needs to be named something specifically according to 0Kitchen . Also i have an xml file that has my exchange settings in that which i want to cook in as well but dont know how.
I do use XDA uc but id prefer to let it be done with runcc or something?
Please advise whats better and whats the difference between the differentx PROVXML file naming.
Thanx
I would preffer using reg instead Provxml because they take a lot of time for 1st boot....anyway you need to name them mxip_xxxx.provxml if im not wrong.
af974 said:
I would preffer using reg instead Provxml because they take a lot of time for 1st boot....anyway you need to name them mxip_xxxx.provxml if im not wrong.
Click to expand...
Click to collapse
Can i renam the exchange.xml to mxip_exchange.provxml as well. does a xml and provxml contain the same information/layout?
Uhmm...it seems that should work, give a look here http://ip208-100-42-21.static.xda-developers.com/showthread.php?p=6995989.
Grumps said:
Can i renam the exchange.xml to mxip_exchange.provxml as well. does a xml and provxml contain the same information/layout?
Click to expand...
Click to collapse
af974 said:
Uhmm...it seems that should work, give a look here http://ip208-100-42-21.static.xda-developers.com/showthread.php?p=6995989.
Click to expand...
Click to collapse
Leme just try quickly we do flash like 30 times a day in any case hey. Will revdert just now
Thanx for your help
There's various file names, mxip, mxipinit and mxipupdate. In my experience I've never needed to add anything to a .dsm file, as long as the extension is .provxml they execute ok.
What I do though, is put my post-boot provxml's into the very last folder that my kitchen picks up so it's named ZZZ_postboot_provxml or something similar and I also name the file to mxipupdate_zzzPostBoot.provxml but I'm not sure if this helps. I do this because:
If you use total commander and search for *.provxml files in your windows folder you might find that none of them have the original name you gave in your packages, but if you step through the files you find there, you can see the execution order.
Hope this helps a bit.
arealityfarbetween said:
There's various file names, mxip, mxipinit and mxipupdate. In my experience I've never needed to add anything to a .dsm file, as long as the extension is .provxml they execute ok.
What I do though, is put my post-boot provxml's into the very last folder that my kitchen picks up so it's named ZZZ_postboot_provxml or something similar and I also name the file to mxipupdate_zzzPostBoot.provxml but I'm not sure if this helps. I do this because:
If you use total commander and search for *.provxml files in your windows folder you might find that none of them have the original name you gave in your packages, but if you step through the files you find there, you can see the execution order.
Hope this helps a bit.
Click to expand...
Click to collapse
ok so postboot is also one of the names like mxipinit and mxipupdate. Why are there so many different ones and which ones are executed in what order?
Grumps said:
ok so postboot is also one of the names like mxipinit and mxipupdate. Why are there so many different ones and which ones are executed in what order?
Click to expand...
Click to collapse
I think the order is all to do with the way the kitchen picks them up. e.g. I use OSKitchen and it seems SYS, then OEM, then EXT packages are picked up, alphabetically-so my provxml's get the same order, which is why I put them in a package of their own with the ZZZ_postboot name. It just makes it the last one to be picked up of the EXT packages-ensuring everything is in place when the script runs
arealityfarbetween said:
I think the order is all to do with the way the kitchen picks them up. e.g. I use OSKitchen and it seems SYS, then OEM, then EXT packages are picked up, alphabetically-so my provxml's get the same order, which is why I put them in a package of their own with the ZZZ_postboot name. It just makes it the last one to be picked up of the EXT packages-ensuring everything is in place when the script runs
Click to expand...
Click to collapse
Ok lemme try
Im trying to change my timezone from dublin -8 to gmt +2. n start kheb take snapshot make the change get i difference .reg file. convert it to xml and the paste it in files folder of lastflash folder?? ill try and see what happens

Categories

Resources