[Solved] Where can I Edit Phone Registry Hives? - Windows Mobile

Where can we go to edit the registry when we are building a Custom ROM?
I heard there were registry hives or something but I forgot the file names.
I see lots of tutorials for chefs and fixes to problems saying what registry entries to make, but I dont know where to put them!
Note: I am talking about editing ROM Build registry files from the computer, not from the actual phone.
Thanks!

http://www.mobileunderground.info/showthread.php?t=382

indagroove said:
http://www.mobileunderground.info/showthread.php?t=382
Click to expand...
Click to collapse
Very nice sir indagroove. Very well explained there. Thanks for that. It's very precise!

Thank you!

Related

Just some simple questions for cookers. :)

Hi Guys, I've started to cook my own rom, and off course, I'm stuck with some stupid things.
I've searche a lot in the forum, but I can't find answer to my questions. I hope someone can help me.
I'm actually cooking a 23566 build.
Where can I find reg entry (rgu files) to be able to get those things enabled by default after the flash:
Cleartype enabled
Beam Disabled
Error reporting disabled.
Please, help me.
Best regards.
DrX
create a ext package and include your regsettings
drx64 said:
Hi Guys, I've started to cook my own rom, and off course, I'm stuck with some stupid things.
I've searche a lot in the forum, but I can't find answer to my questions. I hope someone can help me.
I'm actually cooking a 23566 build.
Where can I find reg entry (rgu files) to be able to get those things enabled by default after the flash:
Cleartype enabled
Beam Disabled
Error reporting disabled.
Please, help me.
Best regards.
DrX
Click to expand...
Click to collapse
ratelutz said:
create a ext package and include your regsettings
Click to expand...
Click to collapse
Thanx for the reply, but I can't find the cleartype on/off entry in the registry.
:/
Sorry. :/
drx64 said:
Thanx for the reply, but I can't find the cleartype on/off entry in the registry.
:/
Sorry. :/
Click to expand...
Click to collapse
Hi,
Set the following:
[HKEY_LOCAL_MACHINE\System\GDI\ClearTypeSettings]
"OffOnRotation"=dword:00000000
[HKEY_LOCAL_MACHINE\System\GDI\ClearType]
"ClearType"=dword:00000001
Thanx a lot!
A few tips: dump your registry, and search it on a pc with notepad. You can't tell me you looked that hard if you couldn't find cleartype. Also, learn the windiff method to finding reg changes, or just get sk tracker. If you're going to cook, you need to be able to find reg keys quickly on your own.
drx64 said:
Where can I find reg entry (rgu files) to be able to get those things enabled by default after the flash:
Cleartype enabled
Beam Disabled
Error reporting disabled.
Click to expand...
Click to collapse
You can find those by a simple search in this forum. Peace.

[QUESTION] automatic reboot at first boot

Hi
My ROM has some tweaks and extras that needs a soft reset after initialization wth 1st boot. How can I make a automatic reboot just the 1st time the phone boots up?
If you're using RunCC, edit your *.rgu/app.reg accordingly:
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\RunCC]
"ResetDevice"=dword:00000001
How can I know if I use runCC?
You don't know which packages you're using for your ROM? Funny thing!
animelover said:
You don't know which packages you're using for your ROM? Funny thing!
Click to expand...
Click to collapse
hehe... just using a dump of official rhodium S2, and spiced it up a bit, and deleted things I don't need
Take a look into EXT -> Rhodium -> Your Build -> Rhodium_External_Packages and search for "RunCC"!
animelover said:
Take a look into EXT -> Rhodium -> Your Build -> Rhodium_External_Packages and search for "RunCC"!
Click to expand...
Click to collapse
yeye... there it is Thanks
animelover said:
You don't know which packages you're using for your ROM? Funny thing!
Click to expand...
Click to collapse
Funny indeed. These are the junior cooks we get these days...
No offense here but ...
I think all of great cooks started as "junior"
Even the big NRGZ28
best regards
fwt
hey hey... fair play ppl... glad to have new chefs CC is for that... new chefs and experienced chefs
fwt said:
No offense here but ...
I think all of great cooks started as "junior"
Even the big NRGZ28
best regards
fwt
Click to expand...
Click to collapse
Very true..
Anyways, I love your sig And it's quite funny how true it is!
if i might stick with the topic
2 - xda_uc also offers a reboot after customization - you could add this to your ext
3 - old method: autorun + checkautorun pkg also reboots your rom (dump blackstone or kovsky)
Problem With add2config Packages?
Hey, I had this problem before where all my packages that I cook in with the add2config method (so they can be removed by the user) aren't installing / aren't being set as default...
These are the following packages that I have the problem with:
BG4All Tabs (add2config) - Doesn't appear in the rom at all
A 6.5.5 Theme (add2config) - Isn't default but is in the list of themes
A 6.5.5 Taskbar (add2config) - Doesn't appear in the rom at all
All this was solved when I changed the runcc rgu file: e110406e-9af4-4cdc-932d-255ac9636f4d like everyone says to "ResetDevice"=dword:00000001
But since rebuilding my kitchen im having the same problem, Ive changed the reset device to 00000001 but still none of the add2config packages are working has anyone got any solutions?
Thanks
[★] said:
Hey, I had this problem before where all my packages that I cook in with the add2config method (so they can be removed by the user) aren't installing / aren't being set as default...
These are the following packages that I have the problem with:
BG4All Tabs (add2config) - Doesn't appear in the rom at all
A 6.5.5 Theme (add2config) - Isn't default but is in the list of themes
A 6.5.5 Taskbar (add2config) - Doesn't appear in the rom at all
All this was solved when I changed the runcc rgu file: e110406e-9af4-4cdc-932d-255ac9636f4d like everyone says to "ResetDevice"=dword:00000001
But since rebuilding my kitchen im having the same problem, Ive changed the reset device to 00000001 but still none of the add2config packages are working has anyone got any solutions?
Thanks
Click to expand...
Click to collapse
I'm not sure anyone will be able to answer that without being totally lucky if you don't post your packages or build-log or at least the add2config text files. Anway, maybe you already do this, but if you don't, then start doing this: after cooking, look in the dump and make sure everything is there. Also, look at config.txt to make sure all the add2config's were compiled properly. This will save you the flash-disappointment.
Ok theres my buildlog, my run cc rgu file and one of my add2config files Thanks.
fwt said:
No offense here but ...
I think all of great cooks started as "junior"
Even the big NRGZ28
best regards
fwt
Click to expand...
Click to collapse
Yeah, but I wasn't cooking ROMs for the public until I knew what the hell I was doing... lol
NRGZ28 said:
Yeah, but I wasn't cooking ROMs for the public until I knew what the hell I was doing... lol
Click to expand...
Click to collapse
lol, also I did this way...
Can't remember where I read something like "PPL: Could you make it in this language?" - " "COOK": I don't know how to!"
LOL
[★] said:
Hey, I had this problem before where all my packages that I cook in with the add2config method (so they can be removed by the user) aren't installing / aren't being set as default...
These are the following packages that I have the problem with:
BG4All Tabs (add2config) - Doesn't appear in the rom at all
A 6.5.5 Theme (add2config) - Isn't default but is in the list of themes
A 6.5.5 Taskbar (add2config) - Doesn't appear in the rom at all
All this was solved when I changed the runcc rgu file: e110406e-9af4-4cdc-932d-255ac9636f4d like everyone says to "ResetDevice"=dword:00000001
But since rebuilding my kitchen im having the same problem, Ive changed the reset device to 00000001 but still none of the add2config packages are working has anyone got any solutions?
Thanks
Click to expand...
Click to collapse
[★] said:
Ok theres my buildlog, my run cc rgu file and one of my add2config files Thanks.
Click to expand...
Click to collapse
Bumping my own question
[★] said:
Ok theres my buildlog, my run cc rgu file and one of my add2config files Thanks.
Click to expand...
Click to collapse
The add2config.txt file is in the wrong folder; it needs to go in the \files sub-folder of the EXT. Put it in there, and you're problems should go away.
Edit: although, I'm seeing this in the build-log:
Found: 1 Extra Info on a Package... Populating config.txt with: CAB: \Windows\B4ALL.cab
Click to expand...
Click to collapse
and this:
Processing "B4ALL.cab" as file
Click to expand...
Click to collapse
So, I guess I don't really understand why the .cab isn't installing. I've never used runcc before, so I can't help you on what may be going on with it. I guess it's ok to put the add2config in the main folder, since it looks like it's compiling correctly.
2nd Edit: all the cab is doing is adding a couple of manila files; you should just dump the two files and put them in an EXT and have them over-write the stock manila files. You don't need to run this as a cab, as far as I can tell.
You need to fix this (minor, but might as well do it):
Failed to parse value name HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\start\Tools\Format SD Card.lnk!!!
Click to expand...
Click to collapse
Farmer Ted said:
The add2config.txt file is in the wrong folder; it needs to go in the \files sub-folder of the EXT. Put it in there, and you're problems should go away.
Edit: although, I'm seeing this in the build-log:
and this:
So, I guess I don't really understand why the .cab isn't installing. I've never used runcc before, so I can't help you on what may be going on with it. I guess it's ok to put the add2config in the main folder, since it looks like it's compiling correctly.
2nd Edit: all the cab is doing is adding a couple of manila files; you should just dump the two files and put them in an EXT and have them over-write the stock manila files. You don't need to run this as a cab, as far as I can tell.
You need to fix this (minor, but might as well do it):
Click to expand...
Click to collapse
(disregard my last post on the other thread, I didnt realise you had replied )
Thanks for the response, yeah the add2config file has worked before in the root of the packages, seems something else it buggy :/
Yeah that cab may be so, but that was an old one just as an example, I really need to get it working for this mortscript thing we discussed on the other thread..
Maybe we could discuss more tomorrow ? Perhaps you could have a nosey in my kitchen or something, I know I should work this stuff out myself, but as a chef still in training, its quite difficult to know what to look for, and help from peopel like you is priceless
Thanks

[FYI] Metadata.cif & Metadata.sof PKGS info

AndrewSh said:
23668 AKU 5307 Windows CE: 5.2 Build 4585 (June 17 2010. 16:05:08)
23668_MSXIPKernel_SYS_QVGA_WQVGA_HVGA_VGA_WVGA_0409.7z (38.98 MB)
http://www.multiupload.com/BRBSUQU4QD
http://multi-up.com/299136
Re-uploaded by Alexx~
Click to expand...
Click to collapse
Wow! Tried it and seems sooooo faster respect to 23667. My I8000 has increased performances as never before. Now SPB MS carousel is really responsive!
I noticed a lot of changes between 23667 and 23668. Any idea?
And, what about Metadata folder. Up to now I never found it inside a package, but now I did.
fubo73 said:
And, what about Metadata folder. Up to now I never found it inside a package, but now I did.
Click to expand...
Click to collapse
Metadata package is the all the registry entries, gathered together into one place.
utak3r said:
Metadata package is the all the registry entries, gathered together into one place.
Click to expand...
Click to collapse
Are you saying it is built during cooking? If not, why I did not find it in packages so often?
utak3r said:
Metadata package is the all the registry entries, gathered together into one place.
Click to expand...
Click to collapse
user and default.hv in metadata are useless because registry should be created from rgu and provxml while cooking.
The important part of metadata are packages.cif and .sof - they define the order and amount of packages cooked into the rom.
That's why I created my own Metadata with necessary packages list and always use it.
AndrewSh said:
user and default.hv in metadata are useless because registry should be created from rgu and provxml while cooking.
The important part of metadata are packages.cif and .sof - they define the order and amount of packages cooked into the rom.
That's why I created my own Metadata with necessary packages list and always use it.
Click to expand...
Click to collapse
can you please tell us how to edit/adjust packages.cif/packages.sof?
HD2Owner, I already posted that some time ago but no-one cares....
Utility by Barin (asusmobile.ru)
AndrewSh said:
HD2Owner, I already posted that some time ago but no-one cares....
Utility by Barin (asusmobile.ru)
Click to expand...
Click to collapse
thanks alot. is there a english version of this tool available?
HD2Owner, English version is a part of Barin's OSBuilder (which I use as a rom kitchen)
The English discussion and public downloadable release is here
Mmmm interesting I heard itbefore an effectively from you Andrew lets make it important here cause neither me use it... Thanks a lot
Just to make it more understandable - screenshots from packages cif and sof editor from OSBuilder tool
Barin is now on vacation and I have no contact with it, but I hope he will forgive me.
I translated pSofCifBuilder to English.
But IMHO, it's a naughtiness, the best choice would be to use OSBuilder.
Good luck
Alexx~ said:
But IMHO, it's a naughtiness, the best choice would be to use OSBuilder.
Good luck
Click to expand...
Click to collapse
Yea I am starting to like that OSBuilder now...
AndrewSh said:
user and default.hv in metadata are useless because registry should be created from rgu and provxml while cooking.
The important part of metadata are packages.cif and .sof - they define the order and amount of packages cooked into the rom.
That's why I created my own Metadata with necessary packages list and always use it.
Click to expand...
Click to collapse
what if we don't modify packages.sof and cif? i've never ever modified them and i dont think that ever caused a problem to me.
!Aman! said:
what if we don't modify packages.sof and cif? i've never ever modified them and i dont think that ever caused a problem to me.
Click to expand...
Click to collapse
I don't think that anyone has until now, and it doesn't seem to have mattered much, has it? Does the operating system even read either of those files? It seems like they're there for book-keeping, but I could certainly be wrong. There's not much point in modifying them with EVK since most EXT's don't have dsm's, and they get thrown out during cooking, anyway.
!Aman! said:
what if we don't modify packages.sof and cif? i've never ever modified them and i dont think that ever caused a problem to me.
Click to expand...
Click to collapse
Farmer Ted said:
I don't think that anyone has until now, and it doesn't seem to have mattered much, has it? Does the operating system even read either of those files? It seems like they're there for book-keeping, but I could certainly be wrong. There's not much point in modifying them with EVK since most EXT's don't have dsm's, and they get thrown out during cooking, anyway.
Click to expand...
Click to collapse
If you use PRB-based kitchen then it doesn't matter. When you use OSBuilder it DOES matter. Don't know whether even older kitchen like Build OS cares or not.
cnzqy1 said:
If you use PRB-based kitchen then it doesn't matter. When you use OSBuilder it DOES matter. Don't know whether even older kitchen like Build OS cares or not.
Click to expand...
Click to collapse
as i said i never ever modified them, that means it doesnt even matter with Build OS. moreover, using "all packages to one" technique strips most of the info from these files without even affecting the ROM.
In this order, which is specified in packages.sof will be building registry. It is not related to PRB, or OSB, or any other kitchen.
Building registry does rgucomp (default.hv, user.hv and boot.hv) on the list of packages (dsm) from packages.sof
It has always been, regardless of whether old or new kitchen. So no other way.
Further deletion of files dsm ("all packages to one", etc.), nothing to do with the building registry.
P.S. There is a myth that OSB is important packages.sof, and at for other kitchens, it is not needed. This is nonsense. In OSB can view and edit packages.sof and packages.cif. That's all the difference.
well, my point is just that registry is added into the hives even if package has not been mentioned in packages.sof, so why bother editing it?
It is important that packets from the SYS and from OEM (which can be attributed to the group OEMDrivers) were formed in the order of packages.sof. The rest you can adjust with the names (dsm or package, depending on the kitchen).
If you think that the roster of SYS formed not so - you are mistaken.
As an example, you might see messages about the problem of "blank page" in IE.
trust me, i've never modified that file. i always use it without editing, from whichever source i get it. i'm not saying it is useless, but in most cases we don't need to edit this file

How to disable auto time synchororization in kitchen

hi every body
can someone please give me some advice .i want to disable auto time synchronization before cooking the leo rom.can you please tell me how can i do this.thanks.and i wish you all very happy new year.
Code:
;disable auto time sync
[HKEY_LOCAL_MACHINE\Software\HTC\TimeZoneAutoFix]
"CreatePDPAlways"=dword:00000002
"WarnAlways"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Clock]
"HomeDST"=dword:00000000
"AutoDST"=dword:00000000
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RIL]
"NITZEnable"=dword:00000000
HD2Owner said:
Code:
;disable auto time sync
[HKEY_LOCAL_MACHINE\Software\HTC\TimeZoneAutoFix]
"CreatePDPAlways"=dword:00000002
"WarnAlways"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\Microsoft\Clock]
"HomeDST"=dword:00000000
"AutoDST"=dword:00000000
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RIL]
"NITZEnable"=dword:00000000
Click to expand...
Click to collapse
thanks for reply .where is this in os kitchen please?
master92 said:
thanks for reply .where is this in os kitchen please?
Click to expand...
Click to collapse
Try opening all the reg files in your kitchen and look... You might learn a couple of new things as well if you do that!
ai6908 said:
Try opening all the reg files in your kitchen and look... You might learn a couple of new things as well if you do that!
Click to expand...
Click to collapse
Yup, that works. Also, just use Kheb 1.1 to find registry keys. It's faster and easier than either searching or starting a new thread.
The key is probably in the oem drivers rgu, and it may appear several times.
i swithed to osbuilder lately.
there is a option inside called registry preview.
if you expand the three and select the key you're searching for, it shows wich rgu-files are editing the selected key. very easy. best kitchen i ever used to cook roms.
i already solved some order problems this way. just to let you know.
the keys i wrote about should be simply added as last package after all xip/sys/oem (overwrite any other rgu values).
HD2Owner said:
i swithed to osbuilder lately.
there is a option inside called registry preview.
if you expand the three and select the key you're searching for, it shows wich rgu-files are editing the selected key. very easy. best kitchen i ever used to cook roms.
i already solved some order problems this way. just to let you know.
the keys i wrote about should be simply added as last package after all xip/sys/oem (overwrite any other rgu values).
Click to expand...
Click to collapse
hi thanks for reply can you please tell me where can i download this kitchen, and is it for leo.
master92 said:
hi thanks for reply can you please tell me where can i download this kitchen, and is it for leo.
Click to expand...
Click to collapse
You can make it work for leo.
http://www.mobileunderground.info/showthread.php?t=12348

[Q]Delay on the dial pad

i'ved just builded a new rom,and when i try to call someone and tap one the dial pad i have to hold the button for about 2-3sec for this to light! is there a reg tweak?
[HKEY_LOCAL_MACHINE\System\GWE\Touch\Filter]
"MinimumTapTime"=dword:00000000
I include this in my ROMs to get around this. I struggled to find this initially - getting the right search terms can be difficult...
Andy
nice
thanks man
dany547 said:
i'ved just builded a new rom,and when i try to call someone and tap one the dial pad i have to hold the button for about 2-3sec for this to light! is there a reg tweak?
Click to expand...
Click to collapse
Hey.. I have relatives in Comanesti! I used to visit when I was little
NRGZ28 said:
Hey.. I have relatives in Comanesti! I used to visit when I was little
Click to expand...
Click to collapse
lol...nice ...and BTW the fix is not working...i saved the string in notepad ++ as a APP.reg placed in a EXT folder,and its not working
dany547 said:
lol...nice ...and BTW the fix is not working...i saved the string in notepad ++ as a APP.reg placed in a EXT folder,and its not working
Click to expand...
Click to collapse
I am not sure what kitchen you are using but I use OSKitchen and I have an EXT package with my own custom registry settings in an app.reg file. Due to the way the kichens compile these extra registry settings it is possible another package is overwriting them (the old trick with prefixing the name of your EXT with 'zzz' etc).
Check with a registry editor after your ROM is installed and see what it is set to.
Andy
ADB100 said:
[HKEY_LOCAL_MACHINE\System\GWE\Touch\Filter]
"MinimumTapTime"=dword:00000000
I include this in my ROMs to get around this. I struggled to find this initially - getting the right search terms can be difficult...
Andy
Click to expand...
Click to collapse
it works man,i made a misstake in codeing!

Resources