|
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 |
|
LinkBack | Thread Tools | Display Modes |
|
||||
Re: Learn UC / XDA_UC / Registry / XML Provisioning / CAB Editing {2010-08-12}
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
|
|
||||
Re: Learn UC / XDA_UC / Registry / XML Provisioning / CAB Editing {2010-12-15}
Quote:
If it does not work, feel free to PM me the contents of of the XML and I will take a look. |
|
||||
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. |
|
||||
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?
|
|
||||
Re: Learn UC / XDA_UC / Registry / XML Provisioning / CAB Editing {2010-12-15}
Quote:
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 |
|
||||
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 |
|
||||
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
|
|
||||
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
|
|
|
|