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 Touch Pro 2
Register Community Search

Notices


View Poll Results: What you want to know about UC?
Basics - show me how to get started 72 35.29%
Editing and creating cabs - I want to share what I do 13 6.37%
XML Provisioning - I want to set up ActiveSync,WI-FI... automatically 40 19.61%
Scripting - I want to learn MortScript and how it can make UC easier 9 4.41%
Advanced Customizations - Removing the things I don't use 31 15.20%
What the hell is UC anyway? 39 19.12%
Voters: 204. You may not vote on this poll

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-06-2010, 11:51 AM
NinjaDuck's Avatar
VIP Duck
Offline
Pocket PC: RAPHAEL / TOPAZ / RHODIUM
Carrier: Verizon
Location: Omnipresent
 
Join Date: Feb 2009
Posts: 825
Reputation: 6270
NinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Learn UC / XDA_UC / Registry / XML Provisioning / CAB Editing {2010-12-15}

This is in response to a request by Neudof to help him get started using UC.

Disclaimer: There are many tools and methods for using UC and this is just my way. I welcome ideas and in no way consider what I do the best or only way.


What the hell is UC anyway?

UC is an application that silently install .cab, .xml, .mscr, and copies over files to your phone based on the instructions found in a file at the root of your storage card called SDconfig.txt.

The idea behind it is to be able to customize your phone settings and application the way you want it immediately after a new ROM flash without having to spend hours getting it back to the way you like it. For me, I have it down to simply waiting for my sync with exchange to complete after I flash and I am back where I left it.

PART 1
I use a tool called SDConfigGen to generate the config.txt file for me.

Read this thread: CLICK HERE

Unzip SDConfigGen.0.6.zip on your computer and you will have a directory structure created that looks like this:







Simple steps:
  1. Place your cabs in the cab folder - you can organize in to subfolders.
    • ** Make sure the cabs do not have prompts or you will have to customize them (I have done many) or write a MortScript to click the buttons for you (More on this later)
  2. Place any files you want copied to your device in the Files folder recreating the target tree structure on your device.
    • If you want to put files in the windows folder, create a subfolder called Windows and drop the files in there.
  3. Place any MortScripts you have in the Scripts folder.
  4. Drop Reg files or PROVISIONING XML documents in the Settings folder.
  5. Do not put anything in the Sys folder. This is where SDConfigGen will convert all your REG files and file copy requests to XML PROVISIONING files. This folder gets cleared out each time.
  6. Run SDConfigGen.exe found in the root folder.
  7. Copy the Config.txt file (generated when you run SDConfigGen.exe ) and the entire SDConfig folder that is to the root of your storage card.
  8. Flash a ROM that supports UC and watch the magic.
I will expand with more details on each section in later posts.

Converting from UC to XDA_UC

Many ROMS now support XDA_UC and some have stopped supporting UC. All of the topics I cover in this thread are totally applicable still.

Scroll down to post #6 to learn about the basics of XDA_UC and converting to it.
Attached Images
File Type: png SDConfigGen.PNG (3.9 KB, 3425 views) Click for barcode!
Attached Files
File Type: zip SDConfigGen.0.6.zip (17.8 KB, 236 views) Click for barcode!
__________________
Some requests I have filled: Click Here

Last edited by NinjaDuck; 12-15-2010 at 09:39 PM.
Reply With Quote
This post has been thanked 54 times.
  #2 (permalink)  
Old 03-06-2010, 11:52 AM
NinjaDuck's Avatar
VIP Duck
Offline
Pocket PC: RAPHAEL / TOPAZ / RHODIUM
Carrier: Verizon
Threadstarter
Location: Omnipresent
 
Join Date: Feb 2009
Posts: 825
Reputation: 6270
NinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Sharing how I do UC (User Customization) - Handling Cabs with Prompts

Handling Cabs with Prompts

With the process I use, there are two ways to handle cabs with prompts:

Option #1

Create a MortScript file with the exact same name as the CAB file except with a MSCR suffix. The MortScript file must be put in the same folder as the CAB.


Example:
  • Opera Mobile.cab
  • Opera Mobile.mscr
MortScripts are just text files and not very hard to learn.

Here is an example of a script that would handle the prompts in Opera Mobile's installer:
Code:
windowTitle = "Opera Mobile Installer"
WaitFor(windowTitle, 120)
SendOK(windowTitle)
Opera Mobile Installer is the caption on the message box. It is that easy. Don't be scared.

Option #2

Cabs that prompt the user have a setup.dll enabled that executes some custom code after the install completes. In many cases, these can be disabled without a problem by editing the _SETUP.XML file in the cab and setting the following paramater to 0:
Code:
<parm name="SetupDLL" value="0" />
Be careful because some cabs actually do work during this phase. An example is Opera. It sets all the registry entries necessary to use it as the default browser. Editing the cabs takes a bit more work.

You can extract the cab I made for Opera to examine what I did HERE.

I will provide detail instructions for editing cabs in a later post. The intent of this section was to introduce you to your options so you can make a choice to stop learning here and use MortScript, or continue on in your quest for knowledge.

Last edited by NinjaDuck; 03-15-2010 at 11:05 PM.
Reply With Quote
This post has been thanked 26 times.
  #3 (permalink)  
Old 03-06-2010, 11:53 AM
NinjaDuck's Avatar
VIP Duck
Offline
Pocket PC: RAPHAEL / TOPAZ / RHODIUM
Carrier: Verizon
Threadstarter
Location: Omnipresent
 
Join Date: Feb 2009
Posts: 825
Reputation: 6270
NinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Sharing how I do UC (User Customization) - Exporting your Registry

Exporting your registry to the Settings Folder

This is probably the most important section for minimizing the amount of time you have to spend setting up your device after you flash.

Tools

First thing you need is some tools to browse and export registry keys.

My two recommendation (there are many others) are:Since Total Commander is free, I will use it for demonstration purposes.
  1. Select \\Plugins --> registry
  2. Navigate to the appropriate key
    • HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila\Home is for example where the shortcuts on the Manila home screen are stored. Exporting this entire key will restore your shortcuts.
  3. Press and hold on the key and select Copy/Move
  4. Save the file to your storage card.
  5. Copy to your computer in the Settings folder.
    • Edit as needed - I recommend reviewing it to make sure you only carry forward what you need and avoid problems.
    • Rename if you like
    • You can also arrange settings in sub-folders.
Here are some keys you might be interested in:
  • HKEY_CURRENT_USER\Software\HTC\Manila
  • HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila\Configurati on
  • HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila\Home
  • HKEY_CURRENT_USER\Software\ageye\G-Alarm
  • HKEY_LOCAL_MACHINE\Software\HTC\HTCAnimation
  • HKEY_LOCAL_MACHINE\Ident
  • HKEY_LOCAL_MACHINE\SOFTWARE\KeyboardConfig\Keys
  • HKEY_CURRENT_USER\ControlPanel\Notifications
  • HKEY_CURRENT_USER\Software\Microsoft\Inbox\Setting s
  • HKEY_CURRENT_USER\Software\HTC\BootLauncher\Servic es
  • HKEY_CURRENT_USER\ControlPanel\Owner
  • HKEY_LOCAL_MACHINE\SOFTWARE\HTC\PHONE
  • HKEY_LOCAL_MACHINE\Software\HTC\QuickGPS
  • HKEY_CURRENT_USER\Software\HTC\TaskManager
  • HKEY_CURRENT_USER\Software\Microsoft\Today
  • HKEY_LOCAL_MACHINE\Software\Microsoft\Voice Command\Extensions
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Splash Scree
Attached Images
File Type: png Reg-Export1.PNG (7.4 KB, 3332 views) Click for barcode!
Attached Files
File Type: cab tcmdpocketarm.cab (486.3 KB, 17 views) Click for barcode!
File Type: cab cecmd.arm.cab (558.7 KB, 65 views) Click for barcode!

Last edited by NinjaDuck; 03-06-2010 at 10:54 PM.
Reply With Quote
This post has been thanked 28 times.
  #4 (permalink)  
Old 03-06-2010, 11:53 AM
NinjaDuck's Avatar
VIP Duck
Offline
Pocket PC: RAPHAEL / TOPAZ / RHODIUM
Carrier: Verizon
Threadstarter
Location: Omnipresent
 
Join Date: Feb 2009
Posts: 825
Reputation: 6270
NinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Sharing how I do UC (User Customization) - PROVISIONING XML

Provisioning XML
Provisioning XML documents are simply a set of instructions based in an XML document that tells your phone what to do. This is actually the same structure used in CAB installation files.

Provinsioning XML 101 - Learn XML



First a couple of pieces of information for those who are completely new to this.
  • XML is simply a text file - don't be afraid
  • XML is a structured hierarchical documents consisting of opening and closing tags.
  • XML must be well formed - for every opening tag you need a closing tag.
Code:
<XML>
 <ELEMENT>
 </ELEMENT>
</XML>
  • Elements refer to the tags with <> around them and a preceding / before the element name is used to close the tag.
  • An element can self terminate by having a trailing / implying there is no data.
Code:
<XML>
 <ELEMENT/>
</XML>
  • Comments can be made in XML as follows:
Code:
<XML>
 <!-- EXAMPLE OF AN ELEMENT WITH AN OPEN AND CLOSE -->
 <ELEMENT></ELEMENT>
 <!-- EXAMPLE OF AN ELEMENT THAT SELF TERMINATES -->
 <ELEMENT/>
</XML>
  • Attributes can be contained in an Element and would look like this:
Code:
<XML>
 <ELEMENT SAMPLE="See what I am saying"></ELEMENT>
</XML>
Provinsioning XML 102 - wap-provisioningdoc

A wap-provisioningdoc is an xml document that opens with the <wap-provisioningdoc> tag and contains elements with the charachteristics you want to set.


Some charachteristics you might be interested in:
  • Bluetooth
  • Clock
  • DeviceEncryption
  • Email2
  • FileOperation
  • FileSystem
  • Home
  • Registry
  • Sounds
  • SpeedDial
  • Sync
  • WI-FI
Since recreating MSDN is a bit out of scope, here is a reference:
http://msdn.microsoft.com/en-us/library/bb737536.aspx

Provinsioning XML 200 - Common examples

ActiveSync (exchange) - These are the settings I use, your settings may be different.
Code:
<wap-provisioningdoc>
   <characteristic type="Sync">
   <characteristic type="Connection">
   <parm name="Server" value="{your domain}"/>
   <parm name="AllowSSLOption" value="1"/>
   <parm name="User" value="{your username}"/>
   <parm name="Domain" value="{your domain}"/>
   <parm name="Password" value="{your password}"/>
   <parm name="SavePassword" value="1"/>
   </characteristic>
  <characteristic type="Settings">
   <parm name="PeakStartTime" value="0800"/>
   <parm name="PeakEndTime" value="1800"/>
   <parm name="PeakFrequency" value="-1"/>
   <parm name="BodyTruncation" value="-1"/>
   <parm name="SyncWhenRoaming" value="1"/>
   <parm name="MIMETruncation" value="51200"/>
     <characteristic type="PeakDays">
                            <parm name="Sun" value="0"/>
                            <parm name="Mon" value="1"/>
                            <parm name="Tue" value="1"/>
                            <parm name="Wed" value="1"/>
                            <parm name="Thr" value="1"/>
                            <parm name="Fri" value="1"/>
                            <parm name="Sat" value="0"/>
                          </characteristic>
  </characteristic>
  <characteristic type="Mail">
   <parm name="Enabled" value="1"/>
   <parm name="MailBodyTruncation" value="-1"/>
   <parm name="MailFileAttachments" value="-1"/>
  </characteristic>
  <characteristic type="Calendar">
   <parm name="Enabled" value="1"/>
  </characteristic>
  <characteristic type="Contacts">
   <parm name="Enabled" value="1"/>
  </characteristic>
       <characteristic type="Tasks">
          <parm name="Enabled" value="0"/>
       </characteristic>
   </characteristic>
</wap-provisioningdoc>
ActiveSync (gmail) - These are the settings I use, your settings
Code:
<wap-provisioningdoc>
   <characteristic type="Sync">
   <characteristic type="Connection">
   <parm name="Server" value="m.google.com"/>
   <parm name="AllowSSLOption" value="1"/>
   <parm name="User" value="{email address}"/>
   <parm name="Password" value="{password}"/>
   <parm name="SavePassword" value="1"/>
   </characteristic>
  <characteristic type="Settings">
   <parm name="PeakStartTime" value="0800"/>
   <parm name="PeakEndTime" value="1800"/>
   <parm name="PeakFrequency" value="-1"/>
   <parm name="BodyTruncation" value="-1"/>
   <parm name="SyncWhenRoaming" value="1"/>
   <parm name="MIMETruncation" value="51200"/>
     <characteristic type="PeakDays">
                            <parm name="Sun" value="0"/>
                            <parm name="Mon" value="1"/>
                            <parm name="Tue" value="1"/>
                            <parm name="Wed" value="1"/>
                            <parm name="Thr" value="1"/>
                            <parm name="Fri" value="1"/>
                            <parm name="Sat" value="0"/>
                          </characteristic>
  </characteristic>
  <characteristic type="Mail">
   <parm name="Enabled" value="1"/>
   <parm name="MailBodyTruncation" value="-1"/>
   <parm name="MailFileAttachments" value="-1"/>
  </characteristic>
  <characteristic type="Calendar">
   <parm name="Enabled" value="1"/>
  </characteristic>
  <characteristic type="Contacts">
   <parm name="Enabled" value="1"/>
  </characteristic>
       <characteristic type="Tasks">
          <parm name="Enabled" value="0"/>
       </characteristic>
   </characteristic>
</wap-provisioningdoc>
IMAP4 - same disclaimer
Code:
<wap-provisioningdoc>
   <characteristic type="EMAIL2">
  <characteristic type="{bef6bd14-cdcf-403f-a7a7-f4aa9055bdf8}">
   <parm name="SERVICENAME" value="{Name the service}" />
   <parm name="SERVICETYPE" value="IMAP4" />
   <parm name="INSERVER" value="imap.gmail.com" />
   <parm name="OUTSERVER" value="smtp.gmail.com" />
   <parm name="NAME" value="{Your Name}" /> 
   <parm name="REPLYADDR" value="{your email}" />
   <parm name="AUTHNAME" value="{Your username/email account}" />
   <parm name="AUTHSECRET" value="{your password}" />
   <parm name="DOMAIN" value="" />
   <parm name="AUTHREQUIRED" value="1" />
   <parm name="LINGER" value="0" />
   <parm name="RETRIEVE" value="-1" />
   <parm name="KEEPMAX" value="0" />
   <parm name="DWNDAY" value="3" />
                        <parm name="SMTPALTENABLED" value="0" />
                      <parm name="SMTPALTAUTHNAME" value="" />
                      <parm name="SMTPALTPASSWORD" value="" />
                        <parm name="SMTPALTDOMAIN" value="" />
                          <characteristic type="TAGPROPS">
       <parm name="8128000B" value="1"/>
       <parm name="812C000B" value="1"/>          
     </characteristic>
  </characteristic>
   </characteristic>
</wap-provisioningdoc>
POP3 - The example used here is for checking hotmail using POP3 (your settings may be different)
Code:
<wap-provisioningdoc>
   <characteristic type="EMAIL2">
        <characteristic type="{618a7a2b-d44e-4069-9df0-c7aa69038a37}">
            <parm name="SERVICENAME" value="Hotmail" />
            <parm name="SERVICETYPE" value="POP3" />
            <parm name="INSERVER" value="pop3.live.com" />
            <parm name="OUTSERVER" value="smtp.live.com" />
            <parm name="NAME" value="My Name" /> 
            <parm name="REPLYADDR" value="" />
            <parm name="AUTHNAME" value="{your account}@hotmail.com" />
            <parm name="AUTHSECRET" value="{your passowrd}" />
            <parm name="DOMAIN" value="" />
            <parm name="AUTHREQUIRED" value="1" />
            <parm name="LINGER" value="120" />
            <parm name="RETRIEVE" value="-1" />
            <parm name="KEEPMAX" value="-1" />
            <parm name="DWNDAY" value="3" />
                        <parm name="SMTPALTENABLED" value="0" />
                         <parm name="SMTPALTAUTHNAME" value="" />
                         <parm name="SMTPALTPASSWORD" value="" />
                        <parm name="SMTPALTDOMAIN" value="" />
                          <characteristic type="TAGPROPS">
                <parm name="8128000B" value="0"/>
                <parm name="812C000B" value="0"/>          
              </characteristic>
        </characteristic>
   </characteristic>
</wap-provisioningdoc>
WI-FI - Other authentication methods exist that you may need to set based on your router - see MSDN link above
Code:
<wap-provisioningdoc>
    <characteristic type="Wi-Fi">
        <characteristic type="access-point">
             <characteristic type="{YOUR SID}">
                 <parm name="NetworkKey" value="{YOUR KEY}"/>
                 <parm name="Authentication" value="0"/>
                 <parm name="Encryption" value="0"/>
                 <parm name="KeyIndex" value="1"/>
                 <parm name="KeyProvided" value="0"/>
         </characteristic>
        </characteristic>
    </characteristic>
</wap-provisioningdoc>
CLOCK
Code:
<wap-provisioningdoc>
   <characteristic type="clock">
      <!-- COMMENT - EASTERN US - SEE MSDN -->
      <parm name="TimeZone" value="35"/>
   </characteristic>
</wap-provisioningdoc>
FAVORITES
Code:
<wap-provisioningdoc>
<characteristic type="BrowserFavorite">
  <characteristic type="PPC Geeks">
    <parm name="URL" value="http://m.ppcgeeks.com/"/>
    <parm name="Order" value="0"/>
  </characteristic>
</wap-provisioningdoc>
** Just save these to a text file in your settings folder with an XML file extension.

Last edited by NinjaDuck; 03-18-2010 at 09:41 PM.
Reply With Quote
This post has been thanked 34 times.
  #5 (permalink)  
Old 03-06-2010, 11:54 AM
NinjaDuck's Avatar
VIP Duck
Offline
Pocket PC: RAPHAEL / TOPAZ / RHODIUM
Carrier: Verizon
Threadstarter
Location: Omnipresent
 
Join Date: Feb 2009
Posts: 825
Reputation: 6270
NinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Sharing how I do UC (User Customization) - Removing the thi

Advanced Customizations - Removing the things I don't use...


For me, removing stuff from a ROM falls in to only a couple of categories:
  • Shortcuts I will never use
  • Hiding features to optimize the device to how I use it
  • Disabling Service / Devices to save memory and battery life
  • Got other suggestions, I am all ears...
Removing / Moving Shortuts
One could argue that you should just figure out how to remove the application, but as long as it is not memory resident, who cares...
I am demonstrating this with XML since the poll shows more interest for this. This can also easily be done with a MortScript.

In example #1, I will show how to remove a shortcut you do not want:

Code:
<wap-provisioningdoc>
<characteristic type="FileOperation">
<!-- DELETE A SHORTCUT YOU DO NOT NEED --> 
<characteristic type="%CE11%\7-Zip.lnk" translation="install">
<characteristic type="Delete">
<parm name="ForceDelete"/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
In example #2, I will show you how to move links from one folder to another (reorganize)

Code:
<wap-provisioningdoc>
  <characteristic type="FileOperation">
    <characteristic type="%CE11%\Other" translation="install">
      <!-- MAKE THE DIRECTORY IF IT DOES NOT EXIST -->
      <characteristic type="MakeDir" />
      <!-- FIRST PICK THE DESTINATION -->
      <characteristic type="Resco Update.lnk" translation="filesystem">
        <characteristic type="Move">
          <parm name="Source" value="%CE11%\Resco Update.lnk" translation="install"/>
          <parm name="RemoveAttributes" value="HRS" />
        </characteristic>
      </characteristic>
    </characteristic>
  </characteristic>
</wap-provisioningdoc>
**I tend to use MortScript for this because you can easily test if the file exists and avoid errors

Hiding Manila Tabs

Easy Easy REG file for this one. Just set the last number to 2 in order to hide a tab:
Code:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\HTC\Manila]
"Manila://album.page.hidden"=dword:00000000
"Manila://calendar.page.hidden"=dword:00000000
"Manila://docexplorer.page.hidden"=dword:00000002
"Manila://email.page.hidden"=dword:00000002
"Manila://footprints.page.hidden"=dword:00000002
"Manila://home.page.hidden"=dword:00000000
"Manila://inforwidget.page.hidden"=dword:00000002
"Manila://reader.page.hidden"=dword:00000002
"Manila://internet.page.hidden"=dword:00000002
"Manila://messaging.page.hidden"=dword:00000000
"Manila://music.page.hidden"=dword:00000000
"Manila://people.page.hidden"=dword:00000000
"Manila://settings.page.hidden"=dword:00000000
"Manila://twitter.page.hidden"=dword:00000002
"Manila://weather.page.hidden"=dword:00000000
Removing a File / Folder Sample
Code:
<characteristic type="FileOperation">
 <characteristic type="%CE2%\NinjaDuck" translation="install">
  <characteristic type="%CE2%\NinjaDuck\Entropy.txt" translation="install">
   <characteristic type="Delete">
    <parm name="ForceDelete"/>
   </characteristic>
  </characteristic>
  <characteristic type="%CE2%\NinjaDuck" translation="install">
   <characteristic type="RemoveDir" />
  </characteristic>
 </characteristic>
</characteristic>
Disabling Services and Devices

Coming soon....

Last edited by NinjaDuck; 07-15-2010 at 12:38 PM.
Reply With Quote
This post has been thanked 25 times.
  #6 (permalink)  
Old 03-06-2010, 09:01 PM
NinjaDuck's Avatar
VIP Duck
Offline
Pocket PC: RAPHAEL / TOPAZ / RHODIUM
Carrier: Verizon
Threadstarter
Location: Omnipresent
 
Join Date: Feb 2009
Posts: 825
Reputation: 6270
NinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Converting UC to XDA_UC

Using XDA_UC

Q: What is the difference between UC and XDA_UC?

A: Not much really. You can do many of the same things except XDA_UC is script based and uses a flattened structure for XML, REG, MSCR, and CAB files. It does other things as well and applications can vary. I am just going to cover the basics here. FYI - UC does not support REG, so this is a clear advantage.

Getting Started with XDA_UC
  • Create a folder on your storage card called XDA_UC
  • Dump your XML, REG, MSCR, and CAB files in it and you are ready to go.
  • Pretty easy right?
The best place to find out what other things XDA_UC does is here: Converting from UC to XDA_UC

You could just dump your files in the directory and go. Me personally, I like to keep my files organized on my computer the I used to do it for UC.

For that reason, I created the attached old school CMD file to create the XDA_UC folder on my computer so I can just copy it to my phone.
  • Unzip the file to your SdConfig folder right below the "Storage Card" folder.
  • Edit the file to represent your folder structure.
  • Run the CMD and it will delete and recreate the XDA_UC folder for you (Warning - it will delete any files you put directly in the XDA_UC folder).
Please ask questions and I will try to add content to the post.
Attached Files
File Type: zip MakeXDA_UC.zip (369 Bytes, 59 views) Click for barcode!

Last edited by NinjaDuck; 08-12-2010 at 10:14 PM.
Reply With Quote
This post has been thanked 18 times.
  #7 (permalink)  
Old 03-06-2010, 10:55 PM
NinjaDuck's Avatar
VIP Duck
Offline
Pocket PC: RAPHAEL / TOPAZ / RHODIUM
Carrier: Verizon
Threadstarter
Location: Omnipresent
 
Join Date: Feb 2009
Posts: 825
Reputation: 6270
NinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the communityNinjaDuck is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Some additional information you might fined helpful

Some additional information you might fined helpful

There are variables to use for folder paths

%CE1% \Program Files
%CE2% \Windows
%CE4% \Windows\StartUp
%CE5% \My Documents
%CE6% \Program Files\Accessories
%CE7% \Program Files\Communication
%CE8% \Program Files\Games
%CE11% \Windows\Start Menu\Programs
%CE12% \Windows\Start Menu\Programs\Accessories
%CE13% \Windows\Start Menu\Programs\Communications
%CE14% \Windows\Start Menu\Programs\Games
%CE15% \Windows\Fonts
%CE17% \Windows\Start Menu

Learn how to create or repack cab files without buying a program

I was going to write this, but there already is a great thread that talks about how to build cabs (old school style).

Check out this thread (and give thanks!):

Last edited by NinjaDuck; 12-15-2010 at 09:38 PM.
Reply With Quote
This post has been thanked 17 times.
  #8 (permalink)  
Old 03-07-2010, 01:22 PM
neudof's Avatar
Halfway to VIP Status
Offline
Pocket PC: Samsung Galaxy Note 2
Carrier: Sprint Advantage Club
Location: MN
 
Join Date: Nov 2008
Posts: 654
Reputation: 1830
neudof is halfway to VIP status based on repneudof is halfway to VIP status based on repneudof is halfway to VIP status based on repneudof is halfway to VIP status based on repneudof is halfway to VIP status based on repneudof is halfway to VIP status based on repneudof is halfway to VIP status based on repneudof is halfway to VIP status based on repneudof is halfway to VIP status based on repneudof is halfway to VIP status based on repneudof is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn how to use UC (User Customization)

This is AWESOME!
Thank you for creating this for all of us UC n00bs!!
This is exactly what I was looking for!
__________________
2GB of free online storage accessable from any device with Dropbox: http://db.tt/DhSdics
Please click "Thanks" if I have helped or inspired you.
Reply With Quote
  #9 (permalink)  
Old 03-09-2010, 10:59 AM
Whotahn's Avatar
H the F Up!RED DRAGONS!!
Offline
Pocket PC: TouchPro 2
Carrier: Big Red V
Location: Notwherawanta-b,KS
 
Join Date: Mar 2009
Posts: 909
Reputation: 2660
Whotahn is a VIPWhotahn is a VIPWhotahn is a VIPWhotahn is a VIPWhotahn is a VIPWhotahn is a VIPWhotahn is a VIPWhotahn is a VIPWhotahn is a VIPWhotahn is a VIPWhotahn is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn how to use UC (User Customization)

Quote:
Originally Posted by neudof View Post
This is AWESOME!
Thank you for creating this for all of us UC n00bs!!
This is exactly what I was looking for!
NICE WORK!!! Oddly enough I have sahimied, I have PIM, I have SPB, I have XDA_UC, and Ziggy back up before......but never have I taken the time to learn UC. Now I am going to, you have done a great job at putting this together for peeps to understand. Looking forward to more info! kudos!c
__________________
HTC ThunderBolt
Perfect Storm ROM by chingy51o & Team Mik
Rooted / S-Off
Reply With Quote
  #10 (permalink)  
Old 03-09-2010, 11:20 AM
briggs's Avatar
mcom
Offline
Pocket PC: Panther 850e, RhodiumW500, BlackBerry8220
Carrier: Telus & Rogers
Location: Ontario
 
Join Date: Oct 2008
Posts: 1,041
Reputation: 3380
briggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIPbriggs is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn UC / Registry / XML Provisioning / CAB Editing {2010-03-08}

sticky this
__________________
Touch Pro 2 O/C 749mHz: LEAD ROM Mar. 5 2011 6.5 Release Candidate multi carrier lite
Treo Pro ROM: Cooked my own 21911 6.5 from raiderfan's kitchen.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2


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 08:21 PM.


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