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 08-12-2008, 09:09 PM
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: Adding Registry Entries to your Rom (RGU Method)

Paging: rstoyguy

A little bit off topic, but this is the closest (on topic) thread of yours.

I used CeRegistryEditor to extract the values in question.

Code:
[HKEY_CURRENT_USER\Software\TodayAgenda]
"FontSize"=dword:FFFFFFFF
I run that through the rgu to xml application:

Code:
<?xml version="1.0" encoding="utf-8"?>
<wap-provisioningdoc>
  <!--
Today Agenda
 -->
  <characteristic type="Registry">
    <characteristic type="HKCU\Software\TodayAgenda" translation="filesystem">
      <parm name="FontSize" datatype="integer" value="4294967295" />
    </characteristic>
  </characteristic>
</wap-provisioningdoc>
I name the file _setup.xml and use makecab to create RegSetting.cab

There are a number of other settings that are in the xml, too - but this is the one that is preventing the cab from installing properly.

Any thoughts that you might have are certainly welcome and appreciated.

Best regards,
-boggsie
__________________
Mine has theft deterrent!
HOPE
  #2 (permalink)  
Old 08-12-2008, 10:00 PM
rstoyguy's Avatar
SuperNoob
Offline
Pocket PC: iPhone 5s
Carrier: TMobile
Threadstarter
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: Adding Registry Entries to your Rom (RGU Method)

Quote:
Originally Posted by boggsie View Post
Paging: rstoyguy

A little bit off topic, but this is the closest (on topic) thread of yours.

I used CeRegistryEditor to extract the values in question.

Code:
[HKEY_CURRENT_USER\Software\TodayAgenda]
"FontSize"=dword:FFFFFFFF
I run that through the rgu to xml application:

Code:
<?xml version="1.0" encoding="utf-8"?>
<wap-provisioningdoc>
  <!--
Today Agenda
 -->
  <characteristic type="Registry">
    <characteristic type="HKCU\Software\TodayAgenda" translation="filesystem">
      <parm name="FontSize" datatype="integer" value="4294967295" />
    </characteristic>
  </characteristic>
</wap-provisioningdoc>

There are a number of other settings that are in the xml, too - but this is the one that is preventing the cab from installing properly.

Any thoughts that you might have are certainly welcome and appreciated.

Best regards,
-boggsie
And this is well out of the range of the integer value...2147483647

You need to use base64 for this and xml. I'm trying to finger it out now. (learning/googling) A quick call to the colonel may help as he uses the same method when defining binary data in his themes...
Example: the "Manilla Theme" in ppcgeek_oem.rar
__________________
If this post was helpfull, let me know by clicking Thanks!

This post has been thanked 1 times.
  #3 (permalink)  
Old 08-13-2008, 12:03 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: Adding Registry Entries to your Rom (RGU Method)

Quote:
Originally Posted by rstoyguy View Post
And this is well out of the range of the integer value...2147483647

You need to use base64 for this and xml. I'm trying to finger it out now. (learning/googling) A quick call to the colonel may help as he uses the same method when defining binary data in his themes...
Example: the "Manilla Theme" in ppcgeek_oem.rar
Thanks for the pointer to the Manilla Theme provxml ...

So I presume that this entry

<parm name="FontSize" datatype="integer" value="4294967295" />

becomes as follows

<parm name="FontSize" value="/////w==" datatype="binary" />

... after converting the original HEX FFFFFFFF to Base64, using this:

http://www.batchconverter.com/66763.zip

Careful, though - I think it has a trojan in the installer ... Kapersky denied the trojan (or so it said =8^o ) and the app works perfectly.

Unfortunately, TodayAgenda doesn't appear to like the non-integer/hex registry entry.

EDIT: After correcting the parm name to FontSize ... it appears to have worked like a charm.

Best regards,
-boggsie

Last edited by boggsie; 08-13-2008 at 12:23 AM.
  #4 (permalink)  
Old 08-12-2008, 11:04 PM
rstoyguy's Avatar
SuperNoob
Offline
Pocket PC: iPhone 5s
Carrier: TMobile
Threadstarter
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: Adding Registry Entries to your Rom (RGU Method)

Quote:
Originally Posted by boggsie View Post
Paging: rstoyguy

A little bit off topic, but this is the closest (on topic) thread of yours.

I used CeRegistryEditor to extract the values in question.

Code:
[HKEY_CURRENT_USER\Software\TodayAgenda]
"FontSize"=dword:FFFFFFFF
I run that through the rgu to xml application:

Code:
<?xml version="1.0" encoding="utf-8"?>
<wap-provisioningdoc>
  <!--
Today Agenda
 -->
  <characteristic type="Registry">
    <characteristic type="HKCU\Software\TodayAgenda" translation="filesystem">
      <parm name="FontSize" datatype="integer" value="4294967295" />
    </characteristic>
  </characteristic>
</wap-provisioningdoc>
Any thoughts that you might have are certainly welcome and appreciated.

Best regards,
-boggsie
I found a program at xda-developers that does quite abit as far as converting .reg to .xml. It converted your setting to
Code:
 
 
<wap-provisioningdoc>
<!-- *** COMMENTS *** -->
   <characteristic type="Registry">
      <characteristic type="HKCU\Software\TodayAgenda" translation="filesystem">
         <parm name="FontSize" value="-1" datatype="integer"/>
      </characteristic>
   </characteristic>
</wap-provisioningdoc>
Here is the thread. It even does the binary type like I'm looking for, by far the most advanced I've seen. Just rename your RGU to REG and go for it...
http://forum.xda-developers.com/showthread.php?t=390846

Edit: When running the program, click "Cab & Copy" tab up top, then the option in the lower left will do all the dirty work...
This post has been thanked 1 times.
  #5 (permalink)  
Old 09-06-2008, 02:11 PM
denasqu's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Touch (Verizon XV6900)
Carrier: Verizon
Location: South Florida
 
Join Date: Jul 2008
Posts: 324
Reputation: 190
denasqu is keeping up the good workdenasqu is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to denasqu
Re: Tutorial: Adding Registry Entries to your Rom (RGU Method)

Great tutorial!

I actually do not have a single question.... yet!
__________________
  #6 (permalink)  
Old 09-06-2008, 05:07 PM
denasqu's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Touch (Verizon XV6900)
Carrier: Verizon
Location: South Florida
 
Join Date: Jul 2008
Posts: 324
Reputation: 190
denasqu is keeping up the good workdenasqu is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to denasqu
Re: Tutorial: Adding Registry Entries to your Rom (RGU Method)

Okay, now I do have a question...

I think I've got a handle on adding and changing registry entries but can you delete registry entries when you cook a ROM?

I want to get rid of the Cube in my ROM and I figure I can just set EnableCube = 0 but I'm curious about whether I could just clean up the unnecessary registry entries since I'll be deleting the related files anyway.
  #7 (permalink)  
Old 09-06-2008, 05:16 PM
rstoyguy's Avatar
SuperNoob
Offline
Pocket PC: iPhone 5s
Carrier: TMobile
Threadstarter
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: Adding Registry Entries to your Rom (RGU Method)

Quote:
Originally Posted by denasqu View Post
Okay, now I do have a question...

I think I've got a handle on adding and changing registry entries but can you delete registry entries when you cook a ROM?

I want to get rid of the Cube in my ROM and I figure I can just set EnableCube = 0 but I'm curious about whether I could just clean up the unnecessary registry entries since I'll be deleting the related files anyway.
Yes you can...

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Inbox\Settin gs]

Add a "-" after the bracket to delete that key. You can zero values, but I have only seen keys deleted.
This post has been thanked 1 times.
  #8 (permalink)  
Old 09-18-2008, 08:03 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: Adding Registry Entries to your Rom (RGU Method)

Quote:
Originally Posted by rstoyguy View Post
Yes you can...

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Inbox\Settin gs]

Add a "-" after the bracket to delete that key. You can zero values, but I have only seen keys deleted.
It appears that the delete mechansim only works for that key, if there aren't any sub-keys present.

Can you confirm or am I doing something wrong?

For example, I want to completely remove all of the existing internet favorites and insert mine ... in an OEM, using RGU.

I was hoping to use the following, with the desired result that this key and every sub-key would be removed / deleted. This is not happening.

[-HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FavoritesEntries]

So, with PPCKitchen, I would need to use:

Code:
[-HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\AccuWeather]
[-HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\Sprint Power Deck]
[-HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\NFL Mobile]
[-HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\Windows Mobile Extras]
[-HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\WindowsMedia.com]
[-HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\Windows Live]
[-HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FavoritesEntries\Explore Windows Mobile]
Actually, I am rebuilding now, but if it doesn't work I am hoping to get a head start on the proper approach. Without using provxml.

Best regards,
-boggsie

EDIT 1: I wanted to ask for a favor: Can you drop the latest version of the program you linked to above in your ftp folder here at geeks? I can't get to rapidshare for a couple of days and I forgot to put this on my SD card. Thanks for your consideration.

Thread: http://forum.xda-developers.com/showthread.php?t=390846
Prog: http://rapidshare.com/files/13014198...v0.7.85.PE.rar

EDIT 2: Hrm ... the "[- ]" I tried above didn't work. I wonder if you have to do that for each key value and then for the key?

Last edited by boggsie; 09-18-2008 at 08:16 AM.
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 05:07 PM.


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