PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Vogue > HTC Vogue Development
Register Community Search

Notices


Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-15-2008, 11:11 PM
AceszHigh's Avatar
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
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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, 442 views) Click for barcode!
File Type: zip ceregedit_setup.zip (1.39 MB, 377 views) Click for barcode!

Last edited by AceszHigh; 05-23-2008 at 02:03 AM.
This post has been thanked 39 times.
  #2 (permalink)  
Old 05-16-2008, 08:01 AM
boggsie's Avatar
b00nsquad
Offline
Pocket PC: Touch PRO 2
Carrier: Sprint SERO
Location: Central Ohio
 
Join Date: Mar 2008
Posts: 1,359
Reputation: 2295
boggsie is a VIPboggsie is a VIPboggsie is a VIPboggsie is a VIPboggsie is a VIPboggsie is a VIPboggsie is a VIPboggsie is a VIPboggsie is a VIPboggsie is a VIPboggsie is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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
  #3 (permalink)  
Old 05-16-2008, 08:09 AM
mrgeoff's Avatar
Regular 'Geeker
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
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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.
  #4 (permalink)  
Old 05-16-2008, 08:20 AM
rstoyguy's Avatar
SuperNoob
Offline
Pocket PC: iPhone 5s
Carrier: TMobile
Location: Wichita, KS
 
Join Date: Jan 2008
Posts: 6,309
Reputation: 23264
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
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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!

This post has been thanked 3 times.
  #5 (permalink)  
Old 05-16-2008, 08:46 AM
InvincibleLiving's Avatar
Post Master General
Offline
Pocket PC: White Evo: Myn's TPT RLS5, Stock Kernel
Carrier: The "NOW" Network
Location: Leesburg, VA
 
Join Date: Jun 2007
Posts: 6,464
Reputation: 4222
InvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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!!
__________________
Creator of iLife ROM Series

Best... Member... Ever...
  #6 (permalink)  
Old 05-16-2008, 02:36 PM
jeiyuu's Avatar
PPCGeeks Regular
Offline
Pocket PC: htc EVO 4G
Carrier: Sprint
Location: Pacifica, CA
 
Join Date: Feb 2008
Posts: 222
Reputation: 140
jeiyuu is keeping up the good workjeiyuu is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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
  #7 (permalink)  
Old 05-18-2008, 10:01 PM
InvincibleLiving's Avatar
Post Master General
Offline
Pocket PC: White Evo: Myn's TPT RLS5, Stock Kernel
Carrier: The "NOW" Network
Location: Leesburg, VA
 
Join Date: Jun 2007
Posts: 6,464
Reputation: 4222
InvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributionsInvincibleLiving should be added to the payroll for their contributions
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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!
  #8 (permalink)  
Old 05-19-2008, 03:32 AM
AceszHigh's Avatar
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
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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
This post has been thanked 1 times.
  #9 (permalink)  
Old 11-03-2008, 10:43 AM
SOHKis's Avatar
VIP Member
Offline
Pocket PC: EVO 4G
Carrier: Sprint
Location: VA
 
Join Date: Apr 2008
Posts: 1,140
Reputation: 2320
SOHKis is a VIPSOHKis is a VIPSOHKis is a VIPSOHKis is a VIPSOHKis is a VIPSOHKis is a VIPSOHKis is a VIPSOHKis is a VIPSOHKis is a VIPSOHKis is a VIPSOHKis is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Tutorial: Integrating Custom Registry Settings into a ROM w/ ProvXML - Lazy Man's

great writeup, thanks acesz
Closed Thread

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Vogue > HTC Vogue Development


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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 09:49 AM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com