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
  #131 (permalink)  
Old 10-17-2010, 01:58 AM
El Ha$oN's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Evo 4G - Rooted
Carrier: Sprint
Location: NY
 
Join Date: Oct 2009
Posts: 112
Reputation: 65
El Ha$oN is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to El Ha$oN
Re: Learn UC / XDA_UC / Registry / XML Provisioning / CAB Editing {2010-08-12}

Quote:
Originally Posted by NinjaDuck View Post
Are you organizing in to folders, or just changing the order?
into folders and the order
Reply With Quote
  #132 (permalink)  
Old 10-17-2010, 11:17 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)
Re: Learn UC / XDA_UC / Registry / XML Provisioning / CAB Editing {2010-08-12}

Quote:
Originally Posted by El Ha$oN View Post
into folders and the order
The proper thing to do is to build ROM specific scripts to move the files and capture the registry info.

The cheap way is to backup your start menu --> Falsh the ROM --> Delete Start Menu --> Restore backup.

Registry info is here:
HKLM\Security\Shell\StartInfo\Start\
Try DotFred task manager, total commander, or Resco Registry to export the parts you need.

Some of the script tutorials in the begining of the thread should help you with the file operations.

Here is a Mort script I use to backup some of my information:
Code:
StatusHistorySize(10)
StatusInfo( "UC Setting BAckup", "by Ninja Duck" )
StatusMessage( "Backing up data", ST_LIST, TRUE )
StatusMessage( "Opera 10 Settings", ST_LIST, TRUE  )

MkDir("\Storage Card\Backup")
MkDir("\Storage Card\Backup\Program Files\")
MkDir("\Storage Card\Backup\Program Files\Opera Mobile 10")
MkDir("\Storage Card\Backup\Program Files\Opera Mobile 10\Profile")
MkDir("\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage")

XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\1\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\1", TRUE, TRUE )
XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\2\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\2", TRUE, TRUE )
XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\3\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\3", TRUE, TRUE )
XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\4\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\4", TRUE, TRUE )
XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\5\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\5", TRUE, TRUE )
XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\6\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\6", TRUE, TRUE )
XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\7\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\7", TRUE, TRUE )
XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\8\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\8", TRUE, TRUE )
XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\9\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\9", TRUE, TRUE )
XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\10\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\10", TRUE, TRUE )
XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\11\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\11", TRUE, TRUE )
XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\12\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\12", TRUE, TRUE )
XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\13\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\13", TRUE, TRUE )
XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\14\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\14", TRUE, TRUE )
XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\15\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\15", TRUE, TRUE )
XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\16\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\16", TRUE, TRUE )
XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\17\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\17", TRUE, TRUE )
XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\18\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\18", TRUE, TRUE )
XCopy( "\Program Files\Opera Mobile 10\Profile\DataStorage\19\*.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\DataStorage\19", TRUE, TRUE )
MkDir("\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\secure")
XCopy( "\Program Files\Opera Mobile 10\Profile\secure\wand.dat", "\Storage Card\Backup\Program Files\Opera Mobile 10\Profile\secure", TRUE, TRUE )

StatusMessage( "Audio Manager Settings", ST_LIST, TRUE  )
MkDir("\Storage Card\Backup")
MkDir("\Storage Card\Backup\Application Data")
MkDir("\Storage Card\Backup\Application Data\HTC")
MkDir("\Storage Card\Backup\Application Data\HTC\AudioManager_Eng")

XCopy("\Application Data\HTC\AudioManager_Eng\*.vol", "\Storage Card\Backup\Application Data\HTC\AudioManager_Eng", TRUE, TRUE )
 

StatusMessage( "RSS Feeds", ST_LIST, TRUE  )
MkDir("\Storage Card\Backup")
MkDir("\Storage Card\Backup\Program Files")
MkDir("\Storage Card\Backup\Program Files\RSS Hub")
MkDir("\Storage Card\Backup\Program Files\RSS Hub\ChannelData")
XCopy("\Program Files\RSS Hub\ChannelData\Channels.opml", "\Storage Card\Backup\Program Files\RSS Hub\ChannelData", TRUE, TRUE )

StatusMessage( "YOUTUBE", ST_LIST, TRUE  )
MkDir("\Storage Card\Backup")
MkDir("\Storage Card\Backup\WINDOWS")
MkDir("\Storage Card\Backup\WINDOWS\YouTube")
MkDir("\Storage Card\Backup\WINDOWS\YouTube\Favorite")
XCopy("\WINDOWS\YouTube\Favorite\*.*", "\Storage Card\Backup\WINDOWS\YouTube\Favorite", TRUE, TRUE )

StatusMessage( "REGISTRY BACKUP", ST_LIST, TRUE  )
RUN("\Windows\dotTaskMgr.exe", "/regxpkey \\Storage Card\\Backup\\Manila-Layouts.reg [HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila\CHT\Layouts]")
RUN("\Windows\dotTaskMgr.exe", "/regxpkey \\Storage Card\\Backup\\Manila-Home.reg [HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila\Home]")
RUN("\Windows\dotTaskMgr.exe", "/regxpkey \\Storage Card\\Backup\\Manila-LM.reg [HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Manila]")
RUN("\Windows\dotTaskMgr.exe", "/regxpkey \\Storage Card\\Backup\\Manila-CU.reg [HKEY_CURRENT_USER\Software\HTC\Manila]")
 
StatusMessage( "Finished" , ST_LIST, FALSE)
Vibrate(550)
__________________
Some requests I have filled: Click Here
Reply With Quote
  #133 (permalink)  
Old 01-01-2011, 08:18 PM
frozenbutt's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro 2
Carrier: Telus
Location: Ontario
 
Join Date: Nov 2007
Posts: 79
Reputation: 150
frozenbutt is keeping up the good workfrozenbutt is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn UC / XDA_UC / Registry / XML Provisioning / CAB Editing {2010-12-15}

A quick question. I just flashed after spending hours trying to make sure it would go well. hahaha no luck. I used xml provision maker to create my xml files and did the rest with settings exporter from NRGZ28 and export settings in sense. Flash went ok but I didn't get my mail, wifi or a bunch of other settings back. It appears that XDA_UC didn't run my xml files.

Do they have to be saved as unicode the same as reg files? I created them on my pc so they were probably ansi.

Is there anyway of provisioning xml files one at a time or seeing what is going on or is there a switch for creating a log file. I may have errors in the xml files that I don't know about and with the Energy rom's running of xda_uc in the background I don't see what is happening. I know I got all my cabs installed but not much else.

ty
Reply With Quote
  #134 (permalink)  
Old 01-01-2011, 10:13 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)
Re: Learn UC / XDA_UC / Registry / XML Provisioning / CAB Editing {2010-12-15}

Quote:
Originally Posted by frozenbutt View Post
A quick question. I just flashed after spending hours trying to make sure it would go well. hahaha no luck. I used xml provision maker to create my xml files and did the rest with settings exporter from NRGZ28 and export settings in sense. Flash went ok but I didn't get my mail, wifi or a bunch of other settings back. It appears that XDA_UC didn't run my xml files.

Do they have to be saved as unicode the same as reg files? I created them on my pc so they were probably ansi.

Is there anyway of provisioning xml files one at a time or seeing what is going on or is there a switch for creating a log file. I may have errors in the xml files that I don't know about and with the Energy rom's running of xda_uc in the background I don't see what is happening. I know I got all my cabs installed but not much else.

ty
To diagnose:
  1. Empty your XDA_UC folder and put one XML file (that did not run) in the root of this folder.
  2. Run XDA_UC from the tools folder. Did it work?
If it worked, then there was something wrong with the directory you had the file in.

If it does not work, feel free to PM me the contents of of the XML and I will take a look.
Reply With Quote
  #135 (permalink)  
Old 01-01-2011, 10:30 PM
frozenbutt's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro 2
Carrier: Telus
Location: Ontario
 
Join Date: Nov 2007
Posts: 79
Reputation: 150
frozenbutt is keeping up the good workfrozenbutt is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn UC / XDA_UC / Registry / XML Provisioning / CAB Editing {2010-12-15}

I will try that out. I did find out to my embarrassment that I should have checked my "great utility", xml provision maker. Seems that there is an issue with the files that it creates.

http://forum.ppcgeeks.com/htc-touch-...ml#post1390450

garbage at the beginning of the file. I had to install another program just to see it and clean it out. Also found that this thing doesn't store the passwords so I am looking for something to create the htcaccountmanager xml. The email accounts I will go back to makisu.

I am learning but I seem to have a lot of bumps on my forehead. It will be nice once I have this all done. Then I won't be so reluctant to flash and try new roms.
Reply With Quote
  #136 (permalink)  
Old 01-02-2011, 01:50 PM
frozenbutt's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro 2
Carrier: Telus
Location: Ontario
 
Join Date: Nov 2007
Posts: 79
Reputation: 150
frozenbutt is keeping up the good workfrozenbutt is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn UC / XDA_UC / Registry / XML Provisioning / CAB Editing {2010-12-15}

Can you tell me in what order XDA_UC processes files. I noticed that when it did run and my pim backup file was processed it could not find my email accounts which tells me that it must have run the pim backup restore before the email.xml file. Anyway I can effect the order in which it processes files?
Reply With Quote
  #137 (permalink)  
Old 01-03-2011, 12:40 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)
Re: Learn UC / XDA_UC / Registry / XML Provisioning / CAB Editing {2010-12-15}

Quote:
Originally Posted by frozenbutt View Post
Can you tell me in what order XDA_UC processes files. I noticed that when it did run and my pim backup file was processed it could not find my email accounts which tells me that it must have run the pim backup restore before the email.xml file. Anyway I can effect the order in which it processes files?
I am not an expert in XDA_UC. I only use the portions I use:

XML --> CAB --> REG --> MSCR

There are more things it does if you need them.

You can get more information here:
[UC]XDA_UC Autoconfiguration User2User Thread
Reply With Quote
  #138 (permalink)  
Old 03-16-2011, 11:52 PM
BumRush37's Avatar
Lurker
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
 
Join Date: Jun 2010
Posts: 11
Reputation: 10
BumRush37 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn UC / XDA_UC / Registry / XML Provisioning / CAB Editing {2010-12-15}

I need some mortscript help please. After all the research I've done, I thought the following would work:

Filename is My.mscr and it is placed in my XDA_UC folder on my storage card (using NRG ROM). This is what is in the file:

Copy("\Storage Card\My Documents\HOME.lnk","\Windows\Start Menu\Programs\")
Copy("\Storage Card\My Documents\Home.png","\Windows\")
Copy("\Storage Card\Program Files\WinMoSpeed\WinMoSpeed_710.lnk","\Windows\Sta rtUp\")
RegWriteString("HKLM","Security\Shell\Startinfo\St art\HOME.lnk","Icon","\Windows\Home.png")
RegWriteDWord("HKLM","Security\Shell\Startinfo\Sta rt\HOME.lnk","Rank", 999)
EXIT


None of the files get copied, but the registry keys are created (after a reset of course). I can't figure out why the files are not copied.

Thanks for any help!

Bum
Reply With Quote
  #139 (permalink)  
Old 03-16-2011, 11:57 PM
BumRush37's Avatar
Lurker
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint
 
Join Date: Jun 2010
Posts: 11
Reputation: 10
BumRush37 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn UC / XDA_UC / Registry / XML Provisioning / CAB Editing {2010-12-15}

forgot to subscribe to thread, so had to post again... sorry for taking up the space with a useless post
Reply With Quote
  #140 (permalink)  
Old 03-23-2011, 08:33 PM
frozenbutt's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro 2
Carrier: Telus
Location: Ontario
 
Join Date: Nov 2007
Posts: 79
Reputation: 150
frozenbutt is keeping up the good workfrozenbutt is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Learn UC / XDA_UC / Registry / XML Provisioning / CAB Editing {2010-12-15}

An xml question...

Is there a parm for the toggle for deleting files off the server when you delete them from the phone. I keep forgetting to change this after a flash and it defaults to delete from server. Then when I get home all me emails from that day that I read and deleted are gone forever. I would like to just add a parm to change that to "not delete from server" to my xml for email accounts.
__________________
Energy.RHODCDMA.29022.Sense2.5.Cookie.2.0.July.04
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 04:46 PM.


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