Go Back   PPCGeeks > Windows Phones > HTC Devices > HTC Vogue > HTC Vogue Upgrades

Notices



Reply
 
Thread Tools Display Modes
  #1  
Old 05-16-2008, 12:11 AM
AceszHigh
PPCGeeks Regular
Offline
Pocket PC: HTC Touch PRO
Carrier: Sprint
Location: Delray Beach, FL
 
Join Date: Apr 2008
Posts: 162
Reputation: 320
AceszHigh is becoming a PPCGeeks regularAceszHigh is becoming a PPCGeeks regularAceszHigh is becoming a PPCGeeks regularAceszHigh is becoming a PPCGeeks regular
Tutorial: Integrating Custom Registry Settings into a ROM w/ ProvXML - Lazy Man's Way

So after learning so much from the wonderful community here in this past month I've had with my touch, I figured I'd try to give back a little.

THIS IS DESIGNED FOR PEOPLE WHO AREN'T FAMILIAR ENOUGH WITH PROVXML TO WRITE THEIR OWN IN NOTEPAD, OR JUST WANT AN EASIER WAY THAT ELIMINATES MOST OF THE CHANCES FOR BUGGED CODE.

Up until recently, I found myself messing with my registry settings for a while after each ROM flash. Sure, the kitchen does include a few good reg tweaks, but I always have a few that I personally like as well. And, provXML's are so picky that sometimes if I select a few reg tweaks in the kitchen AND use my own ProvXML in a ROM, not all of the settings get implemented. So I just use my own provXML strictly without choosing any reg tweaks in the kitchen.

I use OEMizer (found in the \Tools directory of PPCKitchen Buildos) to implement my provxml, but you don't have to.

This part of the tutorial is only for if your tweak does NOT involve creating a completely new registry key (as opposed to changing the value of an existing key).

1. Install CERegEditor (attached below). This program allows you to access/edit/export your device's registry from your PC. Very useful!

2. Make sure you have an ActiveSync connection established. Fire up CERegEditor and click Connection -> connect. At this point your device's registry should come up.

3. Navigate to the key you want to export. This could either be: a) a reg key you have already tweaked on your current rom, or b) a key that you want to tweak on your future rom.

4. Now click EDIT -> export. NOT Export AS
For me, an error message usually pops up here. Click OK and disregard it.
Type in whatever name you want for the File Name.
SAVE AS either a .REG or .RGU file, NOT .ceReg! and click save
5. Now, if you are exporting a key from your device which already has been edited the way you want it...Do nothing for this step.
If you prefer the value of the key to be changed, then open up your .reg file in NOTEPAD and change the value.

Example:
My .reg for the above example says

[HKEY_LOCAL_MACHINE\Drivers\TouchPanel]
"PressureThreshold"="40175"
The value of the key is always on the right after the = sign, between the quotation marks. So I would simply change 40175 to whatever I wanted. Oftentimes, for other keys, this value is a simple 1 or 0.

6. Download the RGU to XML converter.

7. Run it, open your reg or rgu file and click Translate. It will create a provxml file in the same directory as the reg file.

8. Now open the provXML file in NOTEPAD.
If you're using the OEMizer provxml config then,
Copy and paste everything, starting after the line
<!-- *** COMMENTO *** -->

and ending at the last line BEFORE
</wap-provisioningdoc>


into the OEMizer provxml field. OEMizer automatically creates and nests everything between the <wap-provisioningdoc> </wap-provisioningdoc> tags, so if you are NOT using OEMizer make sure everything is between these tags.

9. Continue for as many regedits as you want to import to your ProvXML.


I'm not sure how many people need this, but I'm writing it because it was hard for me to find all this information. Initially, I used the info over at xda-dev to try writing my own XML but it always had errors for some reason so I resorted to this virutally foolproof method for implementing the code. Just be careful to copy/paste everything after one another, as to not mess up the tag nesting!


Thanks to all of the PPCKitchen developers as well as those on here for helping me learn this stuff!
Attached Files
File Type: zip rgu-2-xml.zip (8.9 KB, 337 views)
File Type: zip ceregedit_setup.zip (1.39 MB, 299 views)

Last edited by AceszHigh; 05-23-2008 at 03:03 AM.
Reply With Quote
This post has been thanked 39 times.
Sponsored Links
  #2  
Old 05-16-2008, 09:01 AM
boggsie
b00nsquad
Offline
Pocket PC: Touch Diamond (HTC Victor)
Carrier: Sprint SERO
Location: Central Ohio
 
Join Date: Mar 2008
Posts: 1,031
Reputation: 1545
boggsie is halfway to VIP status based on repboggsie is halfway to VIP status based on repboggsie is halfway to VIP status based on repboggsie is halfway to VIP status based on repboggsie is halfway to VIP status based on repboggsie is halfway to VIP status based on repboggsie is halfway to VIP status based on repboggsie is halfway to VIP status based on repboggsie is halfway to VIP status based on repboggsie is halfway to VIP status based on repboggsie is halfway to VIP status based on rep
Re: Tutorial: Integrating Custom Registry Settings into a ROM w/ ProvXML - Lazy Man's

All of this may seem simple for many of you, but it is one of those things that I had found elusive, so I really apprecaite the message, AceszHigh.

I wish I could hit Thank's more than once.

Best regards,
-boggsie
Reply With Quote
  #3  
Old 05-16-2008, 09:09 AM
mrgeoff's Avatar
mrgeoff
PPCGeeks Regular
Offline
Pocket PC: HTC Vogue/Sprint Touch
Carrier: Sprint
Location: St. Auggie, FL
 
Join Date: Jul 2007
Posts: 322
Reputation: 147
mrgeoff is keeping up the good workmrgeoff is keeping up the good work
Send a message via AIM to mrgeoff
Re: Tutorial: Integrating Custom Registry Settings into a ROM w/ ProvXML - Lazy Man's

Also, remember that you can have two kinds of provxml files...

mxip_*********.provxml = cold-boot (hard-reset) only.
mxipupdate_********.provxml = warm-boot (regular reset)

The biggest part of this is the fact that with the mxipupdate actually keeps writing registry entries. It's very helpful for stuff that seems to get overwritten by the rom and regular rgu registry changes don't seem to help.
Reply With Quote
  #4  
Old 05-16-2008, 09:20 AM
rstoyguy's Avatar
rstoyguy
SuperNoob -/+ SuperMod
Online
Pocket PC: Diamond/TouchPro/TouchPro2
Carrier: Sprint PCS
Location: Wichita, KS
 
Join Date: Jan 2008
Posts: 5,444
Reputation: 19524
rstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation levelrstoyguy can't get a higher reputation level
Send a message via MSN to rstoyguy
Re: Tutorial: Integrating Custom Registry Settings into a ROM w/ ProvXML - Lazy Man's

Awesome! I have found xml the way to go with usercustomization. Great contribution!

Perhaps we could get a tutorial sub-forum so all these great tutorials don't get buried by the ol' "Help....how do I..." and others.
__________________
If this post was helpfull, let me know by clicking Thanks!

Today Theme OEM's ** Customizing Rom Sounds
Adding Registry Entries ** Adding/Removing Programs
Adding Personal Files & Other Stuff
Creating OEM's for your ROM

Reply With Quote
This post has been thanked 3 times.
  #5  
Old 05-16-2008, 09:46 AM
InvincibleLiving's Avatar
InvincibleLiving
Post Master General
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
Location: Leesburg, VA
 
Join Date: Jun 2007
Posts: 5,687
Reputation: 3427
InvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIP
Re: Tutorial: Integrating Custom Registry Settings into a ROM w/ ProvXML - Lazy Man's

yeah this is really great, thanks a ton dude. xml's are basically the last hurdle for me in getting my UC to do EVERYTHING i want it to do!!
__________________


Best... Member... Ever...

OMJ's Sense 2.5 Kitchen

Reply With Quote
  #6  
Old 05-16-2008, 03:36 PM
jeiyuu's Avatar
jeiyuu
PPCGeeks Regular
Offline
Pocket PC: HTC Diamond
Carrier: Sprint
Location: Daly City, CA
 
Join Date: Feb 2008
Posts: 194
Reputation: 120
jeiyuu is keeping up the good workjeiyuu is keeping up the good work
Re: Tutorial: Integrating Custom Registry Settings into a ROM w/ ProvXML - Lazy Man's

hey guys, maybe you might want to submit this tutorial over to the developing how-to sticky on top. other future chefs may find this useful.

here is the thread: http://forum.ppcgeeks.com/showthread.php?t=20550
__________________
-Jei



If I helped you in any way, be sure to say
Reply With Quote
  #7  
Old 05-18-2008, 11:01 PM
InvincibleLiving's Avatar
InvincibleLiving
Post Master General
Offline
Pocket PC: Touch Pro 2
Carrier: Sprint
Location: Leesburg, VA
 
Join Date: Jun 2007
Posts: 5,687
Reputation: 3427
InvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIPInvincibleLiving is still contributing even after becoming a VIP
Re: Tutorial: Integrating Custom Registry Settings into a ROM w/ ProvXML - Lazy Man's

Quote:
Originally Posted by jeiyuu View Post
hey guys, maybe you might want to submit this tutorial over to the developing how-to sticky on top. other future chefs may find this useful.

here is the thread: http://forum.ppcgeeks.com/showthread.php?t=20550
i agree... make it so!
__________________


Best... Member... Ever...

OMJ's Sense 2.5 Kitchen

Reply With Quote
  #8  
Old 05-19-2008, 04:32 AM
AceszHigh
PPCGeeks Regular
Offline
Pocket PC: HTC Touch PRO
Carrier: Sprint
Threadstarter
Location: Delray Beach, FL
 
Join Date: Apr 2008
Posts: 162
Reputation: 320
AceszHigh is becoming a PPCGeeks regularAceszHigh is becoming a PPCGeeks regularAceszHigh is becoming a PPCGeeks regularAceszHigh is becoming a PPCGeeks regular
Re: Tutorial: Integrating Custom Registry Settings into a ROM w/ ProvXML - Lazy Man's

Already Done. Well, I put a link to this thread in there cause I'm lazy
Reply With Quote
This post has been thanked 1 times.
  #9  
Old 11-03-2008, 10:43 AM
SOHKis's Avatar
SOHKis
VIP Member
Offline
Pocket PC: Diamond/Titan
Carrier: Sprint
Location: VA
 
Join Date: Apr 2008
Posts: 1,091
Reputation: 1870
SOHKis is halfway to VIP status based on repSOHKis is halfway to VIP status based on repSOHKis is halfway to VIP status based on repSOHKis is halfway to VIP status based on repSOHKis is halfway to VIP status based on repSOHKis is halfway to VIP status based on repSOHKis is halfway to VIP status based on repSOHKis is halfway to VIP status based on repSOHKis is halfway to VIP status based on repSOHKis is halfway to VIP status based on repSOHKis is halfway to VIP status based on rep
Re: Tutorial: Integrating Custom Registry Settings into a ROM w/ ProvXML - Lazy Man's

great writeup, thanks acesz
Reply With Quote
Reply

  PPCGeeks > Windows Phones > HTC Devices > HTC Vogue > HTC Vogue Upgrades

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -4. The time now is 12:15 PM.