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 > Windows Mobile Hacks/Tweaks

Notices



Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-17-2009, 06:46 AM
Romantok's Avatar
Lurker
Offline
Pocket PC: HTC Touch P3050
Carrier: Telus
 
Join Date: Dec 2008
Posts: 6
Reputation: 0
Romantok is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to Romantok Send a message via Yahoo to Romantok
Registry Tweak changing the "option.xml" file?

Not sure if this is the right place to ask about this... I want to know how to do it right.

I have some "Registry Tweak" to change the location of many things to the Storage Card. Like:

Registry - Change the location of My Documents to Storage Card
Registry - Change the location of My Music to Storage Card
Registry - Change the location of My Pictures to Storage Card
Registry - Change the location of My Videos to Storage Card

I have to copy some files to the Windows directory with this "option.xml" fil to do so...

Here is the content of the first "option.xml" file:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Items>
<Item name="My Documents" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Documents to Storage Card</Tip>
<Guid type="p">2f1ae015-04e8-11dc-8314-0800200c9a66</Guid>
</Item>
</Items>

Now... if I want to add in this "option.xml" file the tweaks for the others, how do I edit this "option.xml" file?
Like this ? (Option A)
__________________________________________________ _______________
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Items>
<Item name="My Documents" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Documents to Storage Card</Tip>
<Guid type="p">2f1ae015-04e8-11dc-8314-0800200c9a66</Guid>
</Item>
</Items>
<Item name="My Music" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Music to Storage Card</Tip>
<Guid type="p">9f55f1f5-1f0d-4668-b0ee-544b95c14203</Guid>
</Item>
<Items>
<Item name="My Pictures" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Pictures to Storage Card</Tip>
<Guid type="p">50c9b2f9-e888-4feb-9026-36b9c5942f40</Guid>
</Item>
</Items>
<Tip>Change the location of My Videos to Storage Card</Tip>
<Guid type="p">dae0cf65-9623-4047-83a4-98cf1f88a701</Guid>
</Item>
</Items>
__________________________________________________ _______________
OR LIKE THAT ? (Option B)
__________________________________________________ _______________
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Items>
<Item name="My Documents" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Documents to Storage Card</Tip>
<Guid type="p">2f1ae015-04e8-11dc-8314-0800200c9a66</Guid>
</Item>
<Item name="My Music" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Music to Storage Card</Tip>
<Guid type="p">9f55f1f5-1f0d-4668-b0ee-544b95c14203</Guid>
</Item>
<Item name="My Pictures" group="Move to Storage Card" checked="true">
<Tip>Change the location of My Pictures to Storage Card</Tip>
<Guid type="p">50c9b2f9-e888-4feb-9026-36b9c5942f40</Guid>
</Item>
<Tip>Change the location of My Videos to Storage Card</Tip>
<Guid type="p">dae0cf65-9623-4047-83a4-98cf1f88a701</Guid>
</Item>
</Items>
__________________________________________________ ______

Sorry but I'm new to this... so if someone can answer me on this I would appreciate.

P.S. Each setup has one *.dsm and one *.rgu file to copy over along the option.xml file to the windows directory... of course... I have to edit that option.xml file otherwise it will be replace.

So my question is only.... HOW DO I EDIT THIS " OPTION.XML " file in the right way ?

Thanks...
__________________
HTC Touch Dual P5310 NEON400 CDMA Carrier: Telus (French)
Rom: 1.08.662.6 Rom date: 08/26/08 Radio: 1.02.11V
Protocol: 7500J-SDCBBPZM-615010 1
PRL version: 08085 PRI version: 1.49_010
OS: WM 6.1 professional SE CE 5.2.19965 (Build 19965.1.2.3)
Processor: Qualcomm MSM7501A - 528 MHz
  #2 (permalink)  
Old 01-17-2009, 06:51 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: Registry Tweak changing the "option.xml" file?

I'd use just the xml for just the regedits. And save the file as "mxip_MyRegedits_100.provxml". That way windows will execute them after you flash...

The option.xml file is needed by buildos to identify your OEM. Or check out my tutorials for Adding Registry Entries. That will help you add them to the OEM's RGU file...
__________________
If this post was helpfull, let me know by clicking Thanks!

  #3 (permalink)  
Old 01-17-2009, 07:02 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: Registry Tweak changing the "option.xml" file?

Also check out "Creating OEM's for your ROM" tutorial, it will help you with that option.xml file and other things as well...
  #4 (permalink)  
Old 01-17-2009, 08:55 AM
Romantok's Avatar
Lurker
Offline
Pocket PC: HTC Touch P3050
Carrier: Telus
Threadstarter
 
Join Date: Dec 2008
Posts: 6
Reputation: 0
Romantok is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to Romantok Send a message via Yahoo to Romantok
Re: Registry Tweak changing the "option.xml" file?

Well all that is a bit complicated for me...
What happened is that I had a GPS program that I installed and was taking the maps in the Main Memory. I wanted to put them on the Storage card instead.
I found a file in a forum which was called :
Registry - Change the location of My Documents to Storage Card.
Inside this unzip file was 3 files :
2f1ae015-04e8-11dc-8314-0800200c9a66.dsm
2f1ae015-04e8-11dc-8314-0800200c9a66.rgu
Option.xml

After I copied those 3 files to the windows directory and rebooted my HTC Touch, I went back in the GPS program and saw that I could see finaly the Storage card. So I was happy that I could store all my maps (which some were big) on my Storage card and have the data taken from there now.

My question was if I could edit this " option.xml " file by adding the text found inside the others "Option.xml" from :
Registry - Change the location of My Music to Storage Card
Registry - Change the location of My Pictures to Storage Card
Registry - Change the location of My Videos to Storage Card

All those content their own : *.dsm *.rgu and option.xml files

In other words can I change the " option.xml " file to include all 4 changes. Do I need those DSM and RGU files to make the changes or not?
Or
How can I set up my HTC Touch so that my Storage card is use as the "Main" location to find all :
My Documents, My Music, My Pictures, My Videos. Without being too complicated.
I donít want to do any new rom or anything like that, but just change some settings if possible.
  #5 (permalink)  
Old 01-17-2009, 09:00 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: Registry Tweak changing the "option.xml" file?

The option.xml doesn't contain any registry settings.

Look inside the RGU file, that's where the registry edits are.

Got a link to those three files? I could make you a quick .cab
  #6 (permalink)  
Old 01-17-2009, 09:42 AM
Romantok's Avatar
Lurker
Offline
Pocket PC: HTC Touch P3050
Carrier: Telus
Threadstarter
 
Join Date: Dec 2008
Posts: 6
Reputation: 0
Romantok is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to Romantok Send a message via Yahoo to Romantok
Re: Registry Tweak changing the "option.xml" file?

I don't have a link, I don't remember where I took those, but I sended the files to your MSN email.

You should have it by now.
  #7 (permalink)  
Old 01-17-2009, 09:59 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: Registry Tweak changing the "option.xml" file?

Quote:
Originally Posted by Romantok View Post
I don't have a link, I don't remember where I took those, but I sended the files to your MSN email.

You should have it by now.
Here is a .cab install for the 4 registry edits, and an OEM if your cook your own rom. Edit the RGU file inside the OEM and you will see your registry edits.
Attached Files
File Type: zip romantak.zip (1.5 KB, 3 views) Click for barcode!
File Type: cab romantak.cab (2.5 KB, 6 views) Click for barcode!
This post has been thanked 2 times.
  #8 (permalink)  
Old 01-17-2009, 10:10 AM
Romantok's Avatar
Lurker
Offline
Pocket PC: HTC Touch P3050
Carrier: Telus
Threadstarter
 
Join Date: Dec 2008
Posts: 6
Reputation: 0
Romantok is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to Romantok Send a message via Yahoo to Romantok
Re: Registry Tweak changing the "option.xml" file?

Well... you are fast in your reply... thanks a lot...
I'll remember this one friend...
  #9 (permalink)  
Old 01-17-2009, 10:14 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: Registry Tweak changing the "option.xml" file?

On vacation, doing a scrosler and staying up all night... But no problems, we're here to help!
This post has been thanked 1 times.
Closed Thread

  PPCGeeks > Windows Mobile > Windows Mobile Hacks/Tweaks

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


All times are GMT -4. The time now is 11:38 PM.


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