i have create the folder '\Storage Card\XDA_UC'
now, i dont know how to do with the following instructions.
can someone guide me with this?
maesus said:
XDA_UC installation tips are generally similar as listed here. http://forum.xda-developers.com/showthread.php?p=3611692
I made some modifications so that the sequence of the installation will be like this:
My.tsk file from "\Storage Card\XDA_UC"
and if not present Cook.tsk from Windows Folder.
import *wifi*.*xml and *mail*.*xml provisional registry settings for WiFi and Email setup.
Copy Over User Files.
Check for "\Storage Card\XDA_UC\Copy2Root" if present, Disable Manila from Homescreen then Copy files from "\Storage Card\XDA_UC\Copy2Root" to the root of the device, Then checking for existence of wallpaper_TF3D.png or wallpaper_TF3D.jpg in "\Storage Card\XDA_UC\Copy2Root\Windows" and adding that to
[HKCU\Software\HTC\Manila]
"HomeBackgroundPath"="\\Windows\\wallpaper_TF3D.jp g"
Import registry files from "\Storage Card\XDA_UC\Copy2Root\Windows\manila.reg" If present
Re-enable Manila on Homescreen and redraw it. Now also works for the Sense 2.1 and up versions.
.xdas files in "\Storage Card\XDA_UC"
Silently run Legacy SDConfig.txt from Storage Card
(If your using RunCC.exe or Autorun you do not need to point to or use SDAutorun.exe or SDConfig.txt) Thanks to RoryB
Commands for SDConfig.txt can be found here....
.cab files in "\Storage Card\autoinstall"
This makes it compatible with your storage card's setup for Tom's Autoinstall.
.cab files in "\Storage Card\XDA_UC"
.cab files in "\Storage Card\XDA_UC\Storage", These cab files will be tempted to install to Storage Location. Not recommend using this method. Please use Manual instead.
.cab files in "\Storage Card\XDA_UC\Manual",These cab files will start with Full User interaction capabilities to choose where to install to.
.reg files in "\Storage Card\XDA_UC"
.xml files in "\Storage Card\XDA_UC"
.mscr files in "\Storage Card\XDA_UC"
.cer files in "\Storage Card\XDA_UC"
Create Shortcuts and more from Registry Keys
More information here....
Copy over welcomehead.192.01.png & welcomehead.192.02.png present in "\Storage Card\XDA_UC\Copy2Root\Windows" to the Windows folder.
Copy over welcomehead.96.01.png & welcomehead.96.02.png present in "\Storage Card\XDA_UC\Copy2Root\Windows" to the Windows folder.
Actually everything is copied over from Copy2Root folder to root, but the above Splashcreens get their file atributes removed before this happens.
Add native support for .mscr, .mortrun, .xda, xdai, xdas & .xdaz files
Well, I hope this is good enough to explain everything. Good luck with setting up your XDA_UC!
Click to expand...
Click to collapse
or is that i need to follow this? http://forum.xda-developers.com/showthread.php?t=684865 or http://forum.xda-developers.com/showthread.php?t=366337
i'm a newbie, so, can someone explain more easily?
Try this one:
http://forum.xda-developers.com/showthread.php?t=795711
It's for Energy customized rom, but it will help you understand how xda_uc works.
Just a few tips:
-You can put all the .cab files of programs you want to install in XDA_UC folder, as well as all the .reg files
- Create the folder Copy2Root inside XDA_UC folder. Inside Copy2Root folder, put all the files and folders you want to be copied to their respective places in the phone memory. Use the same path that the original files have, including folders.
For instance, inside Copy2Root I have the folder "Windows" and inside "Windows" I have the folder "Rings" with all the sounds I want to restore at each hard reset.
Another example: if you want to copy something to the root of you phone's memory, just put the file in the Copy2Root folder. If you want to copy a file to the Windows folder, create the folder Windows in Copy2Root folder and inside it put the file you want to copy.
thanks for reply
joooe said:
Try this one:
http://forum.xda-developers.com/showthread.php?t=795711
It's for Energy customized rom, but it will help you understand how xda_uc works.
Just a few tips:
-You can put all the .cab files of programs you want to install in XDA_UC folder, as well as all the .reg files
- Create the folder Copy2Root inside XDA_UC folder. Inside Copy2Root folder, put all the files and folders you want to be copied to their respective places in the phone memory. Use the same path that the original files have, including folders.
For instance, inside Copy2Root I have the folder "Windows" and inside "Windows" I have the folder "Rings" with all the sounds I want to restore at each hard reset.
Another example: if you want to copy something to the root of you phone's memory, just put the file in the Copy2Root folder. If you want to copy a file to the Windows folder, create the folder Windows in Copy2Root folder and inside it put the file you want to copy.
Click to expand...
Click to collapse
then no need to use these software?
* DoeDoe's SDConfig.txt creator.
* .reg -> xml conversion tool
* XML Notepad 2007
* CeRegEditor (can find registry changes)
* DaveShaw's Folder Copy utility
* Registry capture Logger
and, is that i need to locate those reg file from where the application folder in the device then straight away copy them to XDA_UC folder?
Stick with the basics, for now.
Here's what I do: I customize the phone to my needs in every option needed. Then, I grab a registry editor, and search for the entries that correspond to the changes I've made.
Once I find them, I export that registry key to the XDA_UC folder as a .reg file. Then I repeat for all the entries that matter to me.
When hard resetting, XDA_UC will enter those registry files into the wm registry to activate your options.
So, in teory, you will only need a registry editor.
ok...
i will try
thanks again..
Related
is there a auto config for the new windows WM05 as there was for the 2003se??
here..
paste this autoconfig.exe inside startmenu/programs
u still need the autoconfig.txt and put it inside the folder /windows
AUtoconfig.txt
Does anyone have the format for the entries in the autoconfig.txt file?
I want to add SRS WOW HD Software to my XDA Atom ROM.
I extracted SRS WOW HD from SRSWOW.cab using WinCE Cab Analizer. It gave me following files:
_setup.xml
WINDOWS FOLDER
Registry Settings.rgu which I will rename to 2fa6d543-6c47-47d3-9615-c83f6386446e.rgu
n1958 & QooQoo SRS_WOWHD_ARM.inf
WOWHD_ARM_WCE_PPC2005_Driver.dll in WINDOWS FOLDER
WOWHD_ARM_Panel.cpl in WINDOWS FOLDER
What to do after This Step?
DO I HAVE TO PUT ALL FILES IN ONE FOLDER?
DO I HAVE TO RENAME ANY OF ABOVE FILES?
DO I HAVE TO DELETE ANY OF ABOVE FILES?
MAKE ANY OTHER CHANGES?
WILL THE SHORTCUT ICON AUTOMATICALLY CREATED IN POCKETPC ?
Is it possible for me to cook a personal ROM? I have tried alot of ROMs here but ever since HTC's new official ROM was out (asia) , I find it really good for me. One thing i hate from the ROM compared to cooked roms are that everything is disorganised. Everything is in 1 program file. In cooked Roms, the chefs have already taken the liberty to assign each app to their appropriate folders (apps,connection,multimedia, etc)
I would like to do the same , however it takes alot of time for me to do so but I can manage that. What i really want to do is, after organising the apps to their respected folders, and installing all of my needed softwares on the phone, how do i make a complete backup of the ROM, and then save it on my computer perhaps. So then i could flash my phone with the backup ROM and the next time i were to flash my phone, everything would be there (my apps, my organised folder).
Will it be possible (i'm sure it's possible, i just need the right software / app to do it)
You're going to need a Kitchen to cook your own ROM; assuming you have a Raphael device, have a look at this thread:
Useful Links Thread
http://forum.xda-developers.com/showthread.php?t=439783
Many folks use Da_G's Kitchen ... but there are other great Chefs that have made their Kitchens avalaible.
HTH,
Thank you for the link hilaireg. It's very helpful.
After reading the available tutorials, i have a question. Most of the kitchens are using pre-existing ROMS.
I would like to use a new official HTC ROM to start with. "-HTC Touch Pro-MRII-RUU_Raphael_hTC_Asia_WWE_5.07.707.2_Radio_Signed_Raphael_52.58.25.30_1.11.25.01_Ship"
I noticed that all the tutorial require a .nb file which they say comes in the package. However, when i extracted the .exe file , a few files were extracted alongside a .nbh file. But there is no .nb file. What do i do?
arvin2212 said:
Thank you for the link hilaireg. It's very helpful.
After reading the available tutorials, i have a question. Most of the kitchens are using pre-existing ROMS.
I would like to use a new official HTC ROM to start with. "-HTC Touch Pro-MRII-RUU_Raphael_hTC_Asia_WWE_5.07.707.2_Radio_Signed_Raphael_52.58.25.30_1.11.25.01_Ship"
I noticed that all the tutorial require a .nb file which they say comes in the package. However, when i extracted the .exe file , a few files were extracted alongside a .nbh file. But there is no .nb file. What do i do?
Click to expand...
Click to collapse
You need to have NBHextract Tool it will be in include in kitchen...me too trying to cook on same build with no results. It's no easy try try that's it...
krish_nank, Is this your first time building a ROM?
If so, we're on the same boat...
I tried using NBHextract Tool but when i run the .exe a pop up cmd window comes out and then dissappears. I added the program manually in cmd, and here is what it says , but it doesn't do anything although i have place my .nbh file in the same folder with it.
"
C:\Users\xda>C:\Users\xda\NBHextract.exe
=== NBHextract v1.0
=== Extract contents from HTC NBH files
=== (c)2007 xda-developers.com
=== by: pof & TheBlasphemer based on itsme perl scripts
Usage: C:\Users\xda\NBHextract.exe <nbh file> [-v]
C:\Users\xda>
"
arvin2212 said:
organising the apps to their respected folders, and installing all of my needed softwares on the phone
Click to expand...
Click to collapse
If you just want to organize your existing app then all you have to do is go to this folder,
\\\Windows\Start Menu
This folder has all the icons for the programs. So now you can arrange/ rearrange icons, create folder and move the links to the respective folders as you see fit. Total Commander can be used for this.
If you want a way to install apps after installing a new ROM, you can use UC you can read about it here
http://forum.xda-developers.com/showthread.php?t=366337
But if you just want to build custom ROM then the easiest kitchen is Da G's. If you want a fully loaded kitchen try At0mAng - Advance Kitchen - V2
nnkumar73 said:
If you just want to organize your existing app then all you have to do is go to this folder,
\\\Windows\Start Menu
This folder has all the icons for the programs. So now you can arrange/ rearrange icons, create folder and move the links to the respective folders as you see fit. Total Commander can be used for this.
If you want a way to install apps after installing a new ROM, you can use UC you can read about it here
http://forum.xda-developers.com/showthread.php?t=366337
But if you just want to build custom ROM then the easiest kitchen is Da G's. If you want a fully loaded kitchen try At0mAng - Advance Kitchen - V2
Click to expand...
Click to collapse
Both Da_g's & AtomAng kitchen or based on some OS build we ...we want to dump a ROM & Rebuild it on our own way we want.......
krish_nank said:
Both Da_g's & AtomAng kitchen or based on some OS build we ...we want to dump a ROM & Rebuild it on our own way we want.......
Click to expand...
Click to collapse
okay, my bad. Then I am sure you have seen the ROM reconstruct thread. Hope that thread helps you.
Have a look at the first three posts in the following thread:
[TUT] Sous-Chef's Guide to Da_G's Simple Kitchen
http://forum.xda-developers.com/showthread.php?t=490787
Essentially, once you unpack the "-HTC Touch Pro-MRII-RUU_Raphael_hTC_Asia_WWE_5.07.707.2_Radio_Signed_R aphael_52.58.25.30_1.11.25.01_Ship" executable, you run a script that performs the actions required to prepare the NBH file for custom cooking.
That should get you started.
HTH,
krish_nank said:
Both Da_g's & AtomAng kitchen or based on some OS build we ...we want to dump a ROM & Rebuild it on our own way we want.......
Click to expand...
Click to collapse
With my kitchen do this...
Backup the OEM and SYS folder...
If you have the NBH file already place it in the BaseROM folder
If you do not have the NBH file then run the EXE downloaded from HTC, let it go all the way to the first install screen and dont do anything yet, go to your temp folder on the computer, dig around the folders if there are many, you will see ruu_signed.NBH, copy and paste into the BaseROM folder of kitchen.
Once NBH is in the baserom folder start my kitchen
Select 2, 1, 1 and let it do its thing
When extraction is completed and you are back at main menu select option 8, move dumped OEM/SYS from Temp
When that is done select option 6 Copy Extracted ROM XIP from Temp
When that is done your new dumped ROM is ready to be built.
Delete or do not select any duplicate packages
Clean out the new OEM/SYS folders. There is a lot of junk in there that can be removed, welcome folder, do a search in the OEM/SYS folders for *.3gp and remove the welcome movie and blah blah blah...
If you take the time to look at the folder structure of the OEM and SYS folder you should be able to figure it out pretty quickly.
If you need further help you may ask in my kitchen thread.
Hope this is a start for you guys...
nnkumar73, Thank you for your suggestion but i already known about manually doing it from the start menu folder. However it's not practical as , i would have to do it everytime i reflash my phone. If there is a new rom available, and i were to try it and somehow wanted to go back with my older ROM, i would have to do all the moving etc all again.
hilaireg once again, thank you for the link..
At0mAng, Thank you very much as well. I will follow your steps and see how it goes. I appreciate your effort of posting the right steps for it. Thank you.
DELETED.......................
Just an addition to previous posts
arvin2212 said:
C:\Users\xda>C:\Users\xda\NBHextract.exe
Click to expand...
Click to collapse
I can see u missed out the command : nbhextract ruu_signed.nbh
arvin2212 said:
3.If you do not have the NBH file then run the EXE downloaded from HTC, let it go all the way to the first install screen and dont do anything yet, go to your temp folder on the computer, dig around the folders if there are many, you will see ruu_signed.NBH, copy and paste into the BaseROM folder of kitchen.
Click to expand...
Click to collapse
The easiest way is to use any packer apps like winrar. u can extract the nbh directly. if u r using total commander will be a lot easier. just press ctrl+pg dn & u can extract the file instantly.
Thanks to everyone's help especially At0mAng,
I finally extracted the ROM. I can see aloto of files in SYS and OEM folder.
What i would like to know now is, how do i create folders (icons are not neccessary for the folders) so that i can group installed apps in them according to category? Example is, A multimedia, navigation and games folder is created and , my apps are stored in the folders according to their functions. Like GPS tool goes into navigation and so on..
To simply copy files from \Windows to another directory, you can use an initflashfiles.txt in the OEM. Syntax is:
Directory("\Windows\Start Menu\Programs\Tools"):-File("Enable Proxy.lnk","\Windows\Enable Proxy.lnk")
If you are trying to just place Start Menu items in different folders, it's a bit more complicated. There are many places that this can happen.
1) In \OEM\OEM_Lang_0409\initflashfiles.dat
You can edit this file in Notepad if you remove the ReadOnly bit in Windows. Once you've edited it in Notepad and saved it, you need to re-open it in a Hex editor and delete the first 2 bytes "ff fe". Once you delete those first 2 bytes, save the file and reset the ReadOnly flag. In this file is where I define the Folders I want to use in my "Start Menu" folder like this:
; Start Menu contents
Directory("\Windows\Start Menu")ermDir("Programs")
Directory("\Windows\Start Menu")ermDir("Settings")
Directory("\Windows\Start Menu\Programs"):-Directory("Games")
Directory("\Windows\Start Menu\Programs"):-Directory("Navigation")
Directory("\Windows\Start Menu\Programs"):-Directory("Internet")
Directory("\Windows\Start Menu\Programs"):-Directory("Multimedia")
Directory("\Windows\Start Menu\Programs"):-Directory("Office")
Directory("\Windows\Start Menu\Programs"):-Directory("Phone")
Directory("\Windows\Start Menu\Programs"):-Directory("Tweaks")
Directory("\Windows\Start Menu\Programs"):-Directory("Tools")2) *.provxml files
You need to edit these files with a unicode editor. Personally I use EmEditor. You'll notice that in mose packages in \OEM and \SYS there is a _Lang_0409 dir that goes along with it. It's "usually" in this folder where you'll see a *.provxml file. If you open these in EmEditor you'll see that there are lots of file operations. You want to seach or the line containing the *.lnk. In that line you can set the patch of where you'd like the icon installed.
There may be other places that this happens as well, but that's just off the top of my head.
Good Luck!
-e
eras2r said:
To simply copy files from \Windows to another directory, you can use an initflashfiles.txt in the OEM. Syntax is:
Directory("\Windows\Start Menu\Programs\Tools"):-File("Enable Proxy.lnk","\Windows\Enable Proxy.lnk")
If you are trying to just place Start Menu items in different folders, it's a bit more complicated. There are many places that this can happen.
1) In \OEM\OEM_Lang_0409\initflashfiles.dat
You can edit this file in Notepad if you remove the ReadOnly bit in Windows. Once you've edited it in Notepad and saved it, you need to re-open it in a Hex editor and delete the first 2 bytes "ff fe". Once you delete those first 2 bytes, save the file and reset the ReadOnly flag. In this file is where I define the Folders I want to use in my "Start Menu" folder like this:
; Start Menu contents
Directory("\Windows\Start Menu")ermDir("Programs")
Directory("\Windows\Start Menu")ermDir("Settings")
Directory("\Windows\Start Menu\Programs"):-Directory("Games")
Directory("\Windows\Start Menu\Programs"):-Directory("Navigation")
Directory("\Windows\Start Menu\Programs"):-Directory("Internet")
Directory("\Windows\Start Menu\Programs"):-Directory("Multimedia")
Directory("\Windows\Start Menu\Programs"):-Directory("Office")
Directory("\Windows\Start Menu\Programs"):-Directory("Phone")
Directory("\Windows\Start Menu\Programs"):-Directory("Tweaks")
Directory("\Windows\Start Menu\Programs"):-Directory("Tools")2) *.provxml files
You need to edit these files with a unicode editor. Personally I use EmEditor. You'll notice that in mose packages in \OEM and \SYS there is a _Lang_0409 dir that goes along with it. It's "usually" in this folder where you'll see a *.provxml file. If you open these in EmEditor you'll see that there are lots of file operations. You want to seach or the line containing the *.lnk. In that line you can set the patch of where you'd like the icon installed.
There may be other places that this happens as well, but that's just off the top of my head.
Good Luck!
-e
Click to expand...
Click to collapse
Somehow, i am not able to find this file , initflashfiles.dat in my OEM_Lang_0409 folder. :?
Do you have Windows Explorer setup to view all system/hidden files? (Tools->Folder Options-->View)
If using a kitchen that supports it (mine does for sure) you can create a new, blank text file in a package folder, initflashfiles.txt
it uses the same format eras2r posted above, but gets appended to initflashfiles.dat during the cooking process
in this manner you can have initflashfiles.dat changed on a per-package basis, it's also easier because you don't have to worry about the first 2 bytes etc.
e.g. \Packages\beer\initflashfiles.txt
When cooking rom check box next to package "beer"
now the contents of \Packages\beer\initflashfiles.txt get appended to initflashfiles.dat automatically during cooking, don't get applied if box is not checked
similarly this initflashfiles.txt can go in any folder in \OEM and \SYS as well
eras2r, yes , it has already been configured to show hidden files & folders
Da_G, i get what you mean, roughly. What you're saying basically is that i can manually create a txt file for initflashfiles and leave it in the packages folder?
Also i am not sure about the syntax that eras2r posted. I find it alittle well above my level of knowledge. Maybe someone can guide / explain to me regarding this?
Right right, an initflashfiles.txt can go in any subfolder under \OEM \SYS or \Packages
You can create the file with notepad, no need to worry about removing things with a hex editor or otherwise using anything other than notepad.
The syntax is as follows:
using this example to create a directory:
Code:
Directory("\Windows\Start Menu\Programs"):-Directory("Tools")
Directory("\Path\to\create\directory\in\goes\here"):-Directory("Name_Of_Directory_To_create_in_path") - essentially you're saying "Switch to the folder named \Path\to\create\directory\in\goes\here and create a new folder named Name_Of_Directory_To_create_in_path inside of it.
similar syntax to copy a file from one directory to another:
Code:
Directory("\Windows\Start Menu\Programs\Tools\"):-File("Fieldtest.lnk","\Windows\Fieldtest.lnk")
Directory("\Path\to\copy\file\in\goes\here"):-File("destination_file_name.ext","\source\path\to\filename.ext") - here you're saying "navigate to \Path\to\copy\file\in\goes\here, copy file from source \source\path\to\filename.ext, rename it to destination_file_name.ext when copying (you can use the same filename here if you don't want it renamed, renaming is useful for files that might be indexed by windows media player, or the windows help system, etc.
That should clear it up a bit, let me know if it doesnt
I know most chefs have moved on to the Visual Kitchen, but I would greatly appreciate some insight on a problem I'm having with the old'style kitchen.
I moved the GSensorCalibrator & GSensor SDK from the OEM folder to the PACKAGES folder. I added a supporting OPTION.XML (Unicode, like the others) and collapsed the contents of 0409 folder to the respective package folder, removed the 0409 folders, and then renamed the packages as follows:
.\Packages\02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0
.\Packages\02_PACKAGE_Raphael_SensorSDK_3_3_18182326_1
The ROM loads up fine from the BuilOS tab of PkgToolsBuildOs 6.x-5.3 and the output of the log pertaining to the package above shows the following:
Code:
Processing: Packages\02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0
Processing: Packages\02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0... Searching for dsm file
Dsm = Packages\02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0\9f517713-bb2d-4e77-8de8-e0638bf94c40.dsm
Processing: Packages\02_PACKAGE_Raphael_SensorSDK_3_3_18182326_1
Processing: Packages\02_PACKAGE_Raphael_SensorSDK_3_3_18182326_1... Searching for dsm file
Dsm = Packages\02_PACKAGE_Raphael_SensorSDK_3_3_18182326_1\c7a71384-f73c-47ac-bd20-610e0dfb3b11.dsm
The Cabinet Tool section of the log shows this:
Code:
-- adding packages\9f517713-bb2d-4e77-8de8-e0638bf94c40.rgu
-- adding packages\c7a71384-f73c-47ac-bd20-610e0dfb3b11.dsm
-- adding packages\c7a71384-f73c-47ac-bd20-610e0dfb3b11.rgu
Notice that the .DSM for the GSensorCalibrator is missing - not sure why. I've even tried recreating the file and using BUILDDSM.
The RGU Comp section of the log shows this:
Code:
package "02_PACKAGE_Raphael_GSensorCalibrator_1_0_18192126_0" does not contain .rgu file "8f517713-bb2d-4e77-8de8-e0638bf94c40.rgu"
importing registry file ".\Registry\c7a71384-f73c-47ac-bd20-610e0dfb3b11.rgu"...
I checked the usual stuff: .RGU file format (Unicode, like others), .PROVXML format (same like others, although irrelevant at this point), duplicate .DSM/.RGU, multiple .RGU/.DSM in the package folder.
I'm completely stumped; I'm sure it's something I'm overlooking but for the life of me, I can't figure out why PkgToolsBuildOs 6.x-5.3 is not "picking" up the GSensorCalibrator .RGU file.
* UPDATE *
Deleting the .DSM files and creating blank empty ones seem to solve the problem ... which still has me confused as I started off with empty .DSM to begin with.
As I suspected, if the Cabinet Tool section does not show a .DSM for an .RGU expect problem with the package in question.
Need to use BuildDSM.exe to add the rgu to the package for the old kitchen.
Also make sure the rgu is read only.
That's how I assumed it was supposed to function - the .DSM essentially provided a folder contents list of sorts.
That said, it appears that the version of PkgToolsBuildOs I'm using will search for the .RGU file in the folder ... when the .DSM file is empty (0 byte).
Cheers,
GSLEON3 said:
Need to use BuildDSM.exe to add the rgu to the package for the old kitchen.
Also make sure the rgu is read only.
Click to expand...
Click to collapse
The RGU does NOT need to be read only...
Is that the extent of YOUR helpful commentary?
Based on XDA_UC (by Noonski). I used it in my ROMs and the idea is just great.
But there are some issues that I want to fix and also I have some new ideas.
So I started new project.
1. XDA_UC is based on MortScript, and I use C#. This affects only engine. You can use your mscr files for customization =)
2. XDA_UC runs in background, it's almost silent. I want to add feedback to show what's happening now.
Official Russian forum is here.
This application will install all cab files, reg tweaks, provxmls, run mscr scripts, copy files (and more) from given folder. Use it after you upgraded your ROM to restore everything.
Information for Chef's updated 2010/07/07
UC_NET new feature - Using variables updated 2010/07/02
UC_NET new feature - Portable commands updated 2010/07/07
UC_NET tutorial - HOWTO create shortcuts updated 2010/07/02
Requirements: NetCF 3.5
Main features:
portable, supports localization, uses OS functions (if possible, for example for installing provxml), predictable - you can control order of everything, error reporting, full customization log.
Quick start:
1. create folders on your storage card
Code:
XDA_UC
XDA_UC\Manual
XDA_UC\Copy2Root
XDA_UC\Run
XDA_UC\Execute
"XDA_UC" is a place for all .cab, .reg, .mscr, .cer files that should be automatically installed to device.
"Manual" is a place for all cab files you want install in usual "visible" mode with all questions.
"Copy2Root" is a place for all files and folders that should be automatically copied to device.
"Run" is a place for you self-extracting archives.
"Execute" is a place for you self-extracting archives if you want to continue customization while them working.
2. run UC_NET.exe, select your XDA_UC folder and press customize button.
XDA_UC_NET features:
1. It runs with any ROM that has NETCF 3.5. You don't need to install or cook it. Just take exe and run it.
2. It searches for XDA_UC folders on your storages and then you can choose what folder you want to use for customization. And you can even select any other folder as a root for customization.
3. How it works. When you select folder and press "Customize!" program uses this algorithm:
Install MSCRs
RunWaitFiles - run apps from the Run folder and from coomand files UC_NET_Run
RunNoWaitFiles - run apps from the Execute folder and from coomand files UC_NET_Execute
Install XMLs ("*.*xml" from XDA_UC)
Install CERTs ("*.cer" from XDA_UC)
Install CABs silent to device memory ("*.cab" from XDA_UC)
Install CABs manual ("*.cab" from XDA_UC\Manual)
Install REGs ("*.reg" from XDA_UC, uses FS_TaskMgr.exe)
Install RGUs ("*.rgu" and "*.cereg" from XDA_UC, uses FS_TaskMgr.exe)
Copy Directories (see UC_NET_CopyDirectories)
Copy Files (see UC_NET_CopyFiles)
Move Files (see UC_NET_MoveFiles)
Delete Files (see UC_NET_DeleteFiles)
Create Shortcuts (see UC_NET_CreateShortcuts)
Install PIB (restore you contacts, uses last pib file and PPCPimBackup.exe)
if portable mode is disabled in menu, at the end of customization program will read arguments from registry and do these actions:
XDAUC_CopyDirectories (XDA_UC DirCopy feature)
XDAUC_DeletFiles (XDA_UC Delete feature)
XDAUC_CopyFiles (XDA_UC FileCopy feature)
XDAUC_CreateShortcuts (XDA_UC AutoShortCut feature)
4. FS_TaskMgr.exe and PPCPimBackup.exe are used for some actions, program will search for these files in current folder, in \Windows and in the selected XDA_UC folder. Both files are included.
5. Program logs every step – you can see what is happening right now. Errors are shown separately – you can see if something wrong happened.
6. All files processed in strict alphabetical order. For example, if you want to install SlideIT.cab before DanishPack.cab, you can just change names: 1_SlideIT.cab, 2_DanishPack.cab.
7. Program will first search and use XDA_UC\1, XDA_UC\2, … XDA_UC\99 folders (1-99 in alphabetical order), before using base XDA_UC. For example, you want to install some reg files before installing cab files, and you want to install first.cab right after installing these reg files. How to do this?
Go to XDA_UC folder, create subfolder "1" and move these reg files to XDA_UC\1.
Go to XDA_UC folder, create subfolder "2" and move this first.cab to XDA_UC\2.
8. You can structurize your setup folders by using Groups. Programm will show you menu and let to choose what you want to install. Read more here.
Ready!
Release history.
NETCFv35.Messages.EN.wm.cab - install it and you will see detailed descriptions of errors (if any)
If you want to translate program to your language - please follow instruction in included UC_NET_Localization_SRC.zip.
Update 2011/03/20 - new Fr and Sk localizations - http://forum.xda-developers.com/showpost.php?p=12231359&postcount=238
Information for Chef's
UC_NET v0.6
2010/07/07
option to run on any boot you like
you can configure wait timeout
you can set any folder as root folder (not only XDA_UC)
you can display your own Welcome Message in any language.
see attached readme.txt for more details
UC_NET v0.5
2010/07/02
put UC_NET_FirstBoot.lnk in your StartUp folder if you want run UC_NET.exe with these arguments
/CreateShortcuts
/CopyDirectories
/CopyFiles
/DeleteFiles
registry key
Code:
[HKEY_LOCAL_MACHINE\Software\XDA\Delete]
"Environment.SpecialFolder.Startup\\UC_NET_FirstBoot.lnk"=""
will delete this UC_NET_FirstBoot.lnk link after first boot.
registry key
Code:
[HKEY_LOCAL_MACHINE\Software\XDA\AutoShortCut]
"Environment.SpecialFolder.Programs\\UC_NET Customize.lnk"="\\Windows\\UC_NET.exe"
will create shortcut for users in programs menu.
command line parameters
/CreateShortcuts - creates shortcuts for all files listed under
HKLM\Software\XDA\AutoShortCut
/CopyDirectories- copies all directories (including all files and subfolders) listed under
HKLM\Software\XDA\DirCopy
/CopyFiles- copies all single files listed under
HKLM\Software\XDA\FileCopy
/Delete- deletes all files listed under
HKLM\Software\XDA\Delete
read more about XDA_UC commands format here:
http://forum.xda-developers.com/showthread.php?t=562568
UC_NET extends XDA_UC
You can use variables in your commands
and it will work with any localization of windows.
for example, this key will delete UC_NET_FirstBoot.lnk from Startup folder.
Code:
[HKEY_LOCAL_MACHINE\Software\XDA\Delete]
"Environment.SpecialFolder.Startup\\UC_NET_FirstBoot.lnk"=""
IMPORTANT - UC_NET doesn't show GUI to user if started with command line.
I think this is the most confusing part of original XDA_UC - your ROM depends on something that user will do on first (second) boot.
Therefor I disabled GUI - If user wants to use customization he will start it from start menu, and of course in this case user will know what's up. Correct me if I'm wrong.
Another difference from original XDA_UC - UC_NET will not install all cab files from windows folder. I can add this feature, but I don't know why Chef will put cab files into his "perfect" ROM. The same with reg files - what kind of chef needs to import reg files AFTER the ROM is ready? =)
please, post your comments and requests!
You can use these variables in you commands:
Microsoft Environment.SpecialFolder Enumeration members:
Code:
Environment.SpecialFolder.ApplicationData
- The directory that serves as a common repository for application-specific data for the current roaming user.
Code:
Environment.SpecialFolder.Favorites
- The directory that serves as a common repository for the user's favorite items.
Code:
Environment.SpecialFolder.Personal
- The directory that serves as a common repository for documents.
Code:
Environment.SpecialFolder.Programs
- The directory that contains the user's program groups.
Code:
Environment.SpecialFolder.StartMenu
- The directory that contains the Start menu items.
Code:
Environment.SpecialFolder.Startup
- The directory that corresponds to the user's Startup program group.
UC_NET v0.5 adds more variables
Code:
StorageManager.Profiles.SDMemory
- will be replaced in runtime with value of
HKLM\System\StorageManager\Profiles\SDMemory\Folder
Code:
StorageManager.Profiles.MoviNand
- will be replaced in runtime with value of
HKLM\System\StorageManager\Profiles\MoviNand\Folder
Code:
StorageManager.Profiles.INAND
- will be replaced in runtime with value of
HKLM\System\StorageManager\Profiles\INAND\Folder
UC_NET v0.9.4.2 adds more variables
Code:
ShellFolders.Windows
- value of HKLM\System\Explorer\Shell Folders\Windows
Code:
ShellFolders.StartUp
- value of HKLM\System\Explorer\Shell Folders\StartUp
Code:
ShellFolders.Recent
- value of HKLM\System\Explorer\Shell Folders\Recent
Code:
ShellFolders.Programs
- value of HKLM\System\Explorer\Shell Folders\Programs
Code:
ShellFolders.ProgramFiles
- value of HKLM\System\Explorer\Shell Folders\Program Files
Code:
ShellFolders.MyDocuments
- value of HKLM\System\Explorer\Shell Folders\My Documents
Code:
ShellFolders.Fonts
- value of HKLM\System\Explorer\Shell Folders\Fonts
Code:
ShellFolders.Favorites
- value of HKLM\System\Explorer\Shell Folders\Favorites
Code:
ShellFolders.Desktop
- value of HKLM\System\Explorer\Shell Folders\Desktop
Code:
ShellFolders.ApplicationData
- value of HKLM\System\Explorer\Shell Folders\Application Data
UC_NET extends XDA_UC with portable commands:
UC_NET_Magic_CreateShortcuts
UC_NET_CopyDirectories
UC_NET_CopyFiles
UC_NET_MoveFiles
UC_NET_CreateShortcuts
UC_NET_Delete
UC_NET_Run
UC_NET_Execute
UC_NET_BackupReg
Just create text file (UTF8 and Unicode supported), fill this file with command arguments and put it to any XDA_UC folder (to root, or to root\1 and so on).
UC_NET_Magic_CreateShortcuts, creates shortcuts for all exe files in given folder and its subfolders.
base filename UC_NET_Magic_CreateShortcuts format:
create_shortcuts_here=folder_with_exe_files
create_shortcuts_here=folder_with_exe_files
...
base filename UC_NET_CopyDirectories format:
to=from
to=from
...
base filename UC_NET_CopyFiles format:
to=from
to=from
new in v0.9.3.1 - You can use "*" and "?" wildcards in UC_NET_CopyFiles, (if you are using mask, destination parameter should be a folder name, as you cannot copy several files to one file)
...
base filename UC_NET_MoveFiles - new command v0.9.3.1, works exactly like UC_NET_CopyFiles, but moves files. You can use it to rename files as well.
to=from
to=from
...
base filename UC_NET_CreateShortcuts format:
link="target"
link="target" params
...
base filename UC_NET_Delete format:
file_to_delete
file_to_delete
directory_to_delete
...
You can use "*" and "?" wildcards in UC_NET_Delete -
for example
Code:
StorageManager.Profiles.SDMemory\_test_del\*.txt
will delete all txt files in my folder _test_del on storage card.
base filename UC_NET_Run format: - new command v0.9.3.1
each line of such file is a path to your application (or script, or anything that can run). UC_NET will start program and wait until it finishes. You can pass parameters to your program. In this case Use quotes around path and then place a parameters.
for example:
"notepad.exe" my_text_file.txt
this will start notepad.exe and pass my_text_file.txt as parameter.
base filename UC_NET_Execute format: - new command v0.9.3.1
works exactly like UC_NET_Run, but doesn't wait for complete and continue with next customization step.
UC_NET_BackupReg - new command v0.9.4.0, uses FS_TaskMgr.exe /regxpkey feature.
format for this command is
filepath=[regkey]
filepath2=[regkey2]
...
See attached examples. Tell me if it's not clear how to use this feature.
You can have more than one file with parameters - just add something to base filename. For example UC_NET_CreateShortcuts1.Settings.Advanced will be parsed as well as UC_NET_CreateShortcuts.txt
HOWTO create shortcuts
A shortcut is a small file containing the name of a target program file that the shortcut represents. The shortcut might additionally specify parameters to be passed to the target program when it is run. Shortcuts are very commonly placed on Start Menu.
option 1: UC_NET_Magic_CreateShortcuts protable command
use UC_NET to create shortcuts for all programs in given folder
Before you read remaining part of this tutorial you need to know
-the name of a folder with target programs (should be real folder you have on your device)
-name of folder for your new shortcuts (any name you like)
now download UC_NET_v0.5_portable_commands_example.zip from the first post and open UC_NET_Magic_CreateShortcuts.txt file.
There is a line in this file. It is a command, that will be processed by UC_NET when you press "Customize".
Code:
Environment.SpecialFolder.Programs\My Util=StorageManager.Profiles.SDMemory\MyPortableUtils
Format is:
<destination folder>=<source folder with target programs>
You can find '=' character and everything before it is a destination folder
Code:
Environment.SpecialFolder.Programs\My Util
Environment.SpecialFolder.Programs - is a variable, that points to the place where all Start Menu shortcuts are stored.
"My Util" - is a name for new folder under start menu where all new shortcuts created by this command will be stored.
For example, if you want create shortcuts for GPS utilities you can change this part to
Code:
Environment.SpecialFolder.Programs\GPS
everything after '=' character is folder with target programs
Code:
StorageManager.Profiles.SDMemory\MyPortableUtils
Replace this string with your path - folder with target programs, and you ready.
For example, if your GPS utilities are here
\Storage Card\util\gps you should change this part to
Code:
\Storage Card\util\gps
Save your file and put it in your XDA_UC folder.
Start UC_NET, choose this folder and perss [Customize!]
option 2: UC_NET_CreateShortcuts protable command
control and tune every shortcut for every program you want
Before you read remaining part of this tutorial you need to know
-the name of a target program file (should be real program you have on your device)
-name of your new shortcut (any name you like)
now download UC_NET_v0.5_portable_commands_example.zip from the first post and open UC_NET_CreateShortcuts1.txt file.
There are two lines in this file. Each line is a command, that will be processed by UC_NET when you press "Customize".
The second line shows an example how to create shortcut with parameters, it's a bit tricky and for now delete this second line. You can return to it later, when you understand simple shortcut creation.
Let take first line:
Code:
Environment.SpecialFolder.Programs\Test Portable.lnk="\Storage Card\_new_distrib\portable\LiteNote\LiteNote.exe"
format is
<shortcut name>="<target program file>"
You can find '=' character and everything before it is a shortcut name
Code:
Environment.SpecialFolder.Programs\Test Portable.lnk
Environment.SpecialFolder.Programs - is a variable, that points to the place where all Start Menu shortcuts are stored.
"Test Portable" is a name for my new shortcut - when I open Start menu I want to see this name. You can change it as you wish.
".lnk" - is a file extension, do not change it.
For example, if you want create shortcut for chess game you can change this part to
Code:
Environment.SpecialFolder.Programs\Chess.lnk
everything after '=' character is target program file
Code:
"\Storage Card\_new_distrib\portable\LiteNote\LiteNote.exe"
Replace this string with your target program file path and you ready.
Do not remove quotes.
For example, if your chess gameis here
\Storage Card\games\chess\chess.exe you should change this part to
Code:
"\Storage Card\games\chess\chess.exe"
Do this for all your shortcuts. (copy this line and edit it)
Save your file and put it in your XDA_UC folder.
Start UC_NET, choose this folder and perss [Customize!]
option 3: XDA_UC registry command AutoShortCut
UC_NET can read XDA_UC registry commands, you can use them as well.
These commands are not portable, and you should uncheck "Portable" option in menu or use command line switches. example:
Code:
[HKEY_LOCAL_MACHINE\Software\XDA\AutoShortCut]
"Environment.SpecialFolder.Programs\\GPS\\SeaSGEE.lnk"="\\Windows\\SeaSGEE.exe"
read more about this type of commands in XDA_UC thread.
And you can make these commands more portable if you use variables - replace \Storage Card with StorageManager.Profiles.SDMemory, this will work even if Storage Card has different name in new ROM.
How to create shortcut with parameters?
MSDN says
Place quotes around the target path so that SHCreateShortcut can correctly parse the target file from any following arguments.
Click to expand...
Click to collapse
example - creating shortcut to enable FileDialogChanger:
Code:
[HKEY_LOCAL_MACHINE\Software\XDA\AutoShortCut]
"Environment.SpecialFolder.Startup\\filedlgchgs.lnk"="\"ctlpnl.exe\" filedlgchg 1"
Hello...
...i am a german cook and im cooking ROMs for my Blackstoen (HD) ...
I love XDA_UC and i try your new version...
thanks for aour work !!!!!
Looks great, gonna try it out in my roms
Thanks!
This is nice If you could get away from using the FDCSoft task manager to import .reg files it would be perfect!
Idea looks great.
The only thing I'm missing here is;
*Quick lauch icons on the 3 home screens
-Would like to backup these icons in the exact order and every app should be installed, so each quick launch icon should referr to that perticular app.
After every install of any new energy ROM it is so much work to order and fill in the 3 home screens quick launch icons and apps
Kind Regards
[email protected]
ROM: Energy Dinik style 22nd June
Radio: 2.10.50.28_2
HSPL: 2.08 HSPL
History
[2010/11/02] UC_NET v 0.9.4.4
new command "Refresh Today screen" is added. Just create an empty file UC_NET_RefreshToday.txt in your folder, and the program will refresh today screen.
This command is executed after all other things in the folder, as a last step.
the program will show the message about cprog.exe if you run PPCPimBackup.exe, using UC_NET_Run command. It works exactly like it works when you are restoring pib file.
UC_NET_BackupReg is improved - the program now checks if registry keys exist, and doesn't create empty files if key doesn't exist.
UC_NET_Delete, UC_NET_Copy and UC_NET_Move are improved - all of them support masks now, and all these commands work with files and directories.
for example, now you can delete all files and directories in a folder with one UC_NET_Delete command, if you give it \myFolder\* as a parameter.
if you need a command that works only with files, add "Files" to its name (for example, UC_NET_CopyFiles)
if you need a command that works only with directories, add "Directories" to its name (for example, UC_NET_DeleteDirectories)
small bugfixes
Code:
[2010/10/22] UC_NET v 0.9.4.3
[LIST]
[*] Now the program uses safe code to control power during customization.
This version of UC_NET doesn't use registry keys related to power and back light to prevent device from sleep during customization.
Previous version, like original XDA_UC, used registry to keep back light "always on" - it's unsafe, because if your device was reset before the end of customization, these registry keys were not restored.
[*] Polish localization is updated (thanks to Bysio)
[*] UC_NET current version is added to log file.
[*] Sense SDK message boxes were replaced with standart message boxes to make program more stable (because there are no bugfixes for Sense SDK)
[/LIST]
[2010/10/14] UC_NET v 0.9.4.2
[LIST]
[*] new localizations were added:
Chinese (Simplified),zh-Hans
Polish, pl
Spanish, es-ES
[*] [Cancel] is added to the list of groups.
[*] [Pause] and [Resume] were added to customization window. You can use this to tell program you want to pause before next step of customization.
[*] New commandline parameter /base="path to your folder" - use it if you want to select any of your folders when UC_NET starts.
[*] "Create shortcut" is added to the main menu - use it to create shortcut in Start Menu, that will launch UC_NET and automatically select current folder.
[*] new variables:
"ShellFolders.Windows" - value of HKLM\System\Explorer\Shell Folders\Windows
"ShellFolders.StartUp" - value of HKLM\System\Explorer\Shell Folders\StartUp
"ShellFolders.Recent" - value of HKLM\System\Explorer\Shell Folders\Recent
"ShellFolders.Programs" - value of HKLM\System\Explorer\Shell Folders\Programs
"ShellFolders.ProgramFiles" - value of HKLM\System\Explorer\Shell Folders\Program Files
"ShellFolders.MyDocuments" - value of HKLM\System\Explorer\Shell Folders\My Documents
"ShellFolders.Fonts" - value of HKLM\System\Explorer\Shell Folders\Fonts
"ShellFolders.Favorites" - value of HKLM\System\Explorer\Shell Folders\Favorites
"ShellFolders.Desktop" - value of HKLM\System\Explorer\Shell Folders\Desktop
"ShellFolders.ApplicationData" - value of HKLM\System\Explorer\Shell Folders\Application Data
[*] log file now includes all variables for current ROM in the beginning
[*] errors and warnings summary are added to the end of log file.
[/LIST]
[2010/09/28] UC_NET v 0.9.4.0
[LIST]
[*] UC_NET_CopyFiles is fixed. (it was broken in 0.9.3.1, it always worked as move command).
[*] UC_NET_BackupReg - - new command, uses FS_TaskMgr.exe /regxpkey feature.
format for this command is
filepath=[regkey]
filepath2=[regkey2]
...
[*] system variables are now supported for Copy2Root folder.
see attached UC_NET_v0.9.4.0_test.zip
for example everithing from Copy2Root\Environment.SpecialFolder.StartMenu
will be copied to \Windows\Start Menu if you run 0409 localization of Windows Mobile.
[*] UC_NET_DeleteFiles is renamed to UC_NET_Delete as it can delete files and folders.
[/LIST]
[2010/09/27] UC_NET v0.9.3.1
[LIST]
[*] *.cereg files are supported
[*] program now uses last pib file, this allows you to keep several backups in the same folder and only the latest will be restored with PIMBackup.
[*] empty groups are hidden in the group list, especially root folder
[*] "*" and "?" masks are supported for UC_NET_CopyFiles command (if you are using mask, destination parameter should be a folder name, as you cannot copy several files to one file)
[*] same command files in a folder are processed in strict alphabetical order, (for ex. UC_NET_CopyFiles_0 comes first, then UC_NET_CopyFiles_8)
[*] UC_NET_MoveFiles - new command, works exactly like UC_NET_CopyFiles, but moves files. You can use it to rename files as well.
[*] UC_NET_Run - new command, each line of such file is a path to your application (or script, or anything that can run). UC_NET will start program and wait until it finishes. You can pass parameters to your program. In this case Use quotes around path and then place a parameters.
for example:
"notepad.exe" my_text_file.txt
this will start notepad.exe and pass my_text_file.txt as parameter.
[*] UC_NET_Execute - new command, works exactly like UC_NET_Run, but doesn't wait for complete and continue with next customization step.
[*] Run - special folder (like Copy2Root). You can create Run folder and place your your application (or script, or anything that can run) in this folder. UC_NET will try to execute everything from Run folder. It's good for self extracting archives for example.
UC_NET will wait for every program before it will start next (like UC_NET_Run command).
[*] Execute - special folder, works exactly like Run, but doesn't wait.
[*] Current version of Fr and De localizations are included.
[/LIST]
[2010/07/30] UC_NET v0.9.2.1
[LIST]
[*] Presets from v0.9.1 are replaced with [URL="http://forum.xda-developers.com/showpost.php?p=7413758&postcount=68"]more powerful Groups[/URL]. See attached QuickStart_XDA_UC_advanced_template.zip
[*] Dutch translation - thanks to [URL="http://forum.xda-developers.com/showpost.php?p=7412941&postcount=64"]webpatrick[/URL]
[/LIST]
[2010/07/27] UC_NET v0.9.1
[LIST]
[*] New presets system - more flexible customization.
You can sort you programs and tweaks and install only part of them! (And install another part later)
=) see included UC_NET_presets_template.zip for example.
[*] Arabic localization is ready ([URL="http://forum.xda-developers.com/showpost.php?p=7363890&postcount=51"]thanks to AbdullahSZ[/URL])
[*] Check if ROM security is relaxed (and fix it if needed)
[*] DisableFinalMessage - new option for Chefs. Use it if you want to disable "...Reset Now?" dialog.
[*] You can use comments in your portable commands. Any line that starts with a #, ; or // is a comment.
[*] Fixed bug with Copy Folders. (thanks to log file =)
[/LIST]
[2010/07/22] UC_NET v0.8.1
[LIST]
[*] (W)VGA improvements
[*] Russian localization ready, [URL="http://forum.xda-developers.com/showthread.php?t=709557"]read here to add more languages[/URL]
[*] for chefs - option to disable Exit in menu.
[*] you can add your own message to UC_NET_WelcomeMessage.txt and save put it to your folder. message will be shown when you select this folders. (For example, imagine you have one folder for games, one for GPS and so on).
[*] small tweaks here and there. =)
[/LIST]
[2010/07/19] UC_NET v0.7
[LIST]
[*] new GUI is created using [URL="http://forum.xda-developers.com/showthread.php?t=648906"]Sense Interface SDK v1.39[/URL].
[*] delete command now can delete the specified directory and any subdirectories and files in the directory.
[*] warning is displayed if pim.vol and PPCPimBackup are used at the same time
[/LIST]
[2010/07/07] UC_NET v0.6 new features
[LIST]
[*] for chefs - new option to run on any boot with any folder selected
[*] for chefs - new option to display given message in any language when program autoruns
[*] for users - wildcards are supported for Delete command. for example
[CODE]StorageManager.Profiles.SDMemory\_test_del\*.txt
will delete all txt files in my folder _test_del on storage card.
[/LIST]
[2010/07/02] UC_NET v0.5 new features
new portable command UC_NET_Magic_CreateShortcuts. example.
new variables for SDCards names
rgu files supported (as reg files)
you can open last log from menu now.
internal engine improvement - UC_NET detects ROM files in copy and replace operations.
[2010/06/29] UC_NET v0.4 new features
NEW - portable commands. Now you can put files with commands in your XDA_UC folders. I suggest to use this in-place of XDA_UC registry commands.
New - portable mode (active by default, see menu). "Portable" means no commands from registry will be used. This is good for users. UC_NET will just process selected folder and do not recreate shortcuts defined by Chef and so on. Tell me how do you like this new feature.
pim.vol copy to root is supported.
internal engine feature - delete locked files on next reboot.
[2010/06/26] UC_NET v0.3 new features
now you can use any folder on device as a root for customization.
command line params
/CreateShortcuts - creates shortcuts for all files listed under
HKLM\Software\XDA\AutoShortCut
/CopyDirectories- copies all directories (including all files and subfolders) listed under
HKLM\Software\XDA\DirCopy
/CopyFiles- copies all single files listed under
HKLM\Software\XDA\FileCopy
/Delete- deletes all files listed under
HKLM\Software\XDA\Delete
loacalization support - no more hardcoded strings like \Windows\Start Menu\Programs\, that depends on ROM locale. Use Environment.SpecialFolder Enumeration
for example, this key will delete UC_NET_FirstBoot.lnk from Startup folder.
Code:
[HKEY_LOCAL_MACHINE\Software\XDA\Delete]
"Environment.SpecialFolder.Startup\\UC_NET_FirstBoot.lnk"=""
Package for Chefs is released - tested it in my own ROM
[2010/06/25] UC_NET v0.2 new features
support XDA_UC Copy2Root feature - copy everything from Copy2Root folder to device, without any reg keys.
run MortScript files if any. MortScript must be installed or cooked (you can install using cab and UC_NET of course =).
you can run TaskManager right from UC_NET window.
save log as text file.
timestamps in log.
[2010/06/24] UC_NET v0.1 - first release, preview.[/CODE]
NRGZ28 said:
This is nice If you could get away from using the FDCSoft task manager to import .reg files it would be perfect!
Click to expand...
Click to collapse
UC_NET uses FDCSoft task manager in silent mode. It's almost invisible =)
Anyway, now I finished with most features, and will implement registry files parser. (It's strange, but there is no such thing in WinAPI).
Tried it today and it works perfect! Thanks for sharing! (You got the date wrong in v0.4 change log)
Where can I put folders and files to have automatically copied over. In SASHIMI, you put them in the Auto/Root folder
For example:
\Storage Card\SASHIMI\Auto\Root\Program Files
The folder and all it's sub-folders and contents would be copied to \Program Files
I tried naming a folder within the XDA_UC folder CopytoRoot and DirCopy and neither worked. What do I need to do?
name it Copy2Root
not CopyToRoot
I have an idea for next v0.5:
I see it's not very clear how to create shortcuts with XDA_UC.
Imagine this - you can create shortcuts for all *.exe files in folder (and its subfolders). Just
1. create text file named like UC_NET_Magic_CreateShortcuts.txt in your XDA_UC folder
2. add parameters to it
destination folder=source folder
destination folder 2=source folder 2
and so on.
for example if I add
Code:
Environment.SpecialFolder.Programs\My Utils=\Storage Card\MyPortableUtils
UC_NET will create folder My Utils in Start Menu and then it will create shortcuts for all programs from \Storage Card\MyPortableUtils in this folder.
What do you think? =)
[2010/07/02] UC_NET v0.5 new features
new portable command UC_NET_Magic_CreateShortcuts. example.
new variables for SDCards names
rgu files supported (as reg files)
you can open last log from menu now.
internal engine improvement - UC_NET detects ROM files in copy and replace operations.
Hi. I'd like to use yout app on my Omnia2 with Rapid's Sense 6.5, but there are some issues.
All I did was:
Copy the cabs in an XDA_UC named dir placed in my "install" folder on Storage Card.
Uncompressed the app, started the exe.
Selected the XDA_UC dir.
Pressed customize.
Then it installed MortScript.cab, and none of the others. Instead it says: [13:09:19][13:09:20][\Storage Card\install\XDA_UC][Install CABs silent][ERROR]\Storage Card\install\XDA_UC\cabname.CAB, Exception:wceload.exe returns -2147024891
for all of the cabs I want to install(cabname is always different ofc). Could you help me please?
wceload.exe returns -2147024891, "access denied", on you ROM.
Try this - install one of your cabs manually.
If installing cab by tapping on it, would normally display a security
warning for not being signed, then wceload.exe will fail in silent mode.
In this case you need to relax your ROM security.
This is in the Requirements of original XDA_UC:
"The Rom should have the security relaxed in HKLM\Security\Policies\Polices by setting the value 0000101a to a 1.
So unsigned installations and Mortscript do not give a security error."
Try to add this to your registry.
serfer222 said:
wceload.exe returns -2147024891, "access denied", on you ROM.
Try this - install one of your cabs manually.
If installing cab by tapping on it, would normally display a security
warning for not being signed, then wceload.exe will fail in silent mode.
In this case you need to relax your ROM security.
This is in the Requirements of original XDA_UC:
"The Rom should have the security relaxed in HKLM\Security\Policies\Polices by setting the value 0000101a to a 1.
So unsigned installations and Mortscript do not give a security error."
Try to add this to your registry.
Click to expand...
Click to collapse
I see, thanks. There is a registry app in which I can disable security. I'll do that.
Thanks agai and keep up the good work!
This is pretty awesome. Lightweight alternative to SASHIMI. It works great!