last sdconfig+tool package!!! - P3600 ROM Development

this is last sdconfig (to start at first reset, after rom flashing) and its tools packaged for rom cokkoer.
if you use my kitchens only have to add it into \sys or \packages folder, if use other kitchen:
edit config.txt into "\OEM\OEMOPERATORS" folder, adding this value just before
LOCK: Disabled
RST: Reset
the string:
CFG: \windows\sdconfig.txt
so you have
xxxxxxxx
xxxxxxxx
CFG: \windows\sdconfig.txt
LOCK: Disabled
RST: Reset
in your config.txt file
while the tool is stored into "personal" tab on settings, and under windows mobile you can access it every times you want.
sdconfig (not tool) at 1st startup, and before config.txt will be execute, search for all: cabs provxml and tsk files into:
\storage card\Cabs\ folder, if found populate in \windows\ the file called "sdconfig.txt", and install at costumization, all it found inside...
if not,(if doesn't found the \storage card\cabs\ folder) create a blanch \windows\sdconfig.txt"
the programs is able to automatic recognize of "storage card or scheda di memoria etc.. and esecuzione automatico or startup folders, no more need it sdconfig.ini!!!
bye!

new version, same but changed icons, so maybe someone can be happy seeing icon present and doesn't change the icon or delete my sign inside my appz!!!

what is sdconfigtool ? lol

simkard said:
what is sdconfigtool ? lol
Click to expand...
Click to collapse
sdconfig:
is used to install all cabs you want at 1st reeboting when you ppc goes to costumizing (you need: sd card inserted and a directory into sd called "\cabs" and into \cabs folder some cabs present!)
sdconfig tool:
if you want install more cabs in one step, the tools search for all cabs, provxml and tsk present into sd card and its subfolder, list all them to you, and you can choice al them you need and want install, the tools install all them for you, one step one, you can also choice for each cab where istall it, into system or into storage card!

Related

Relocation of Pocket IE cache to storage card

I am running the LVSW 3.30.2.1 version of WM6. The hack for WM5 in the wiki (http://wiki.xda-developers.com/index...ermes_Registry) does not work in this version. Does anyone know how to relocate the IE cache to a storage card in WM6?
Thanks!
try sktools or pocketmechenic. it works for universal running wm6
This hack from http://wiki.xda-developers.com/index.php?pagename=Hermes_Registry (1/2 way down the page) does work for Hermes variants on WM5/WM6 such as Cingular/The New AT&T/AT&T 8525 (my backup phone) and Softbank X01HT (my primary phone) (I made a registry entry for it but of course, I use my login name such as \Storage Card\LoginName\Profiles\Temporary Internet Files, etc).:
PocketIE Cache in storage card
Create these folders:
\Storage Card\Pocket IE\Temporary Internet Files
\Storage Card\Pocket IE\Cookies
\Storage Card\Pocket IE\History
Add the following registry keys, string data type:
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"Cache"="\Storage Card\Pocket IE\Temporary Internet Files"
"Cookies"="\Storage Card\Pocket IE\Cookies"
"History"="\Storage Card\Pocket IE\History"
You then would need to do soft-reset to get the new folders to work.
CES1951 said:
I am running the LVSW 3.30.2.1 version of WM6. The hack for WM5 in the wiki (http://wiki.xda-developers.com/index...ermes_Registry) does not work in this version. Does anyone know how to relocate the IE cache to a storage card in WM6?
Thanks!
Click to expand...
Click to collapse
PIE on Storage Card
Custel's WM6 has HTCustom (and other's like Pimp My Black) have options to change the location of PIE cache to the MicroSD card.
Just run HTCustom
Select the Pocket IE tab
and choose SD Card (or Main Memory)
Save will SoftReset your device
Be careful with the D-Pad option on the same screen. Some people don't like the way that changes the behavior of PIE as well as message reading.
Mark
crazyut said:
. . . I made a registry entry for it but of course, I use my login name such as \Storage Card\LoginName\Profiles\Temporary Internet Files, etc. . . .
Click to expand...
Click to collapse
Thanks, crazynut. The trick is in the registry string. This ROM includes reg strings as in the wiki and your reply, with the default path "\windows\Profiles\guest\*" I verified that that is the location where the cache files were stored and then tried changing that to "storage card\Profiles\guest\*" and modifying folder names on the storage card to match followed with a soft reboot. It didn't work, either. Could you spell out what you did in more detail?
CES1951 said:
Thanks, crazynut. The trick is in the registry string. This ROM includes reg strings as in the wiki and your reply, with the default path "\windows\Profiles\guest\*" I verified that that is the location where the cache files were stored and then tried changing that to "storage card\Profiles\guest\*" and modifying folder names on the storage card to match followed with a soft reboot. It didn't work, either. Could you spell out what you did in more detail?
Click to expand...
Click to collapse
N00b download one of the tweak tools either pimp my black V2.0 or Htcusom 1.4 and it will set the reg for you and your done.... no reg hacks no nothing just some clicking on the screen...
It works as in the wiki. I am not sure what Registry Editor you are using. You should be able to use Total Commander or a similiar product. I think a lot of people like PHM Registry Editor. I use Kilmist Registry Editor since I got my company to pay for it.
That being said, AustinSync said in another post that you can use one of the tweaking tools to click the location to the storage card (my experiencde with doing that tells me that they just do not let you choose which folder on the storage card).
Good luck.
Cheers
CES1951 said:
Thanks, crazynut. The trick is in the registry string. This ROM includes reg strings as in the wiki and your reply, with the default path "\windows\Profiles\guest\*" I verified that that is the location where the cache files were stored and then tried changing that to "storage card\Profiles\guest\*" and modifying folder names on the storage card to match followed with a soft reboot. It didn't work, either. Could you spell out what you did in more detail?
Click to expand...
Click to collapse

Auto Install Cabs onto Storage Card

Hi, I've read somewhere in the forum that is possible to use the ExtRom Autorun application to install the cabs you want after a Hard reset.
I have a question regarding that issue. Is it possible to change the config.txt file in a way that you can silently install apps not only on the main memory but also onto the Storage Card?
What I'm looking for is an autoinstaller of some kind...
Thanks in advance.
Sorry for my bad English!
...Anyone?
Hi
You can use WinCE Cab Manager to edit your cab files and change the Default Install Dir.
Open the cab you want to edit and then in Default Install Dir make a new folder named Storage Card (if you want to install on Storage Card). In Storage Card folder create the subfolder for your cab app then save.
You can also create a especific folder or shortcut to be created on start menu of your pocket pc.
Then you just copy all your edited cabs to ExtROM and when you hard reset your pocket they will be installed on Storage Card.
coxrui said:
Hi
You can use WinCE Cab Manager to edit your cab files and change the Default Install Dir.
Open the cab you want to edit and then in Default Install Dir make a new folder named Storage Card (if you want to install on Storage Card). In Storage Card folder create the subfolder for your cab app then save.
You can also create a especific folder or shortcut to be created on start menu of your pocket pc.
Then you just copy all your edited cabs to ExtROM and when you hard reset your pocket they will be installed on Storage Card.
Click to expand...
Click to collapse
Will try that, thanks!
------------------------
Obrigado pela ajuda, vou testar e depois digo como correu!
i tried that, but, i still have a question: with wince cab manager, if I'm doing that @coxrui the application is still asking for the location of the cab installation. how can i install it directly to storage card without asking?
P.S. solved: you have to use hard-code paths to storage card.

ROM Customization Tool - Pandora PreConfig Launcher

So here's the scoop. You got this killer rom, but it loads a whole bunch of stuff that you don't want. You get around this by resetting before the configuration starts after aligning the screen.
You might have a host of cabs that you always load, and after you flash you need to run each one. Every rom you use it's the same thing - flash the rom, then load all your cabs.
Or, you may have a program you want to execute, such as enabling SetHSDPA.
Here's a way to "automate" it so you can use the power and flexibility of the PreConfig funtion as an "after the flash" customization tool, and make subsequent installations much faster.
You'll need a folder on your storage card called CABS, and in that folder put the attached file called CFG.txt as well as the cabs / exe's etc (unless they're already in the ROM, then just point the config file to the correct path) that you want to run. The CFT.txt is the file that will tell it what to install, and is exactly like the PreConfig.txt file - see my extended rom thread for ideas on what you can do with it.
Basically, here's the contents of the CFG.txt file I attached:
LOCK:Enabled
CAB: \Storage Card\CABS\A2DPFix.CAB
CAB: \Storage Card\CABS\ATIFix.cab
CAB: \Storage Card\CABS\Cingular_WAP_MediaNet_MMS_Settingsv2_No_ICON_Change.cab
CAB: \Storage Card\CABS\Google Maps Cell.CAB
CAB: \Storage Card\CABS\Monopoly.cab
CAB: \Storage Card\CABS\NETCFv2.wm.armv4i.cab
CAB: \Storage Card\CABS\S2U2-0.72-WM5.cab
CAB: \Storage Card\CABS\Solitare.cab
CAB: \Storage Card\CABS\StartClean.cab
LOCKisabled
RST: Reset
Just list out your cabs or actions in this file - and be sure the files you are referring to are in the destination path.
To use this setup:
Edit the CFG.txt file and place in \Storage Card\CABS (if the folder isn't there, create it)
Copy your cabs/exes into this folder, being sure they are set to READ ONLY.
Install the attached cab, and after you reset it'll start the installation!
Once the installation is complete and the phone resets - you can remove the program from Settings-Remove Programs.
Important Notes:
Don't forget to make your CABs READ ONLY - or they'll delete after installing. YOU HAVE BEEN WARNED!!!
Ensure that the cabs you're installing does not require any user input. If it does, it will hang the installation process, you'll need to reset the phone, and not all of your stuff will get installed.
Known list of NOT COMPATIBLE files:
MS Reader
Sweet bro!!! I am all over it, will give it a go and let you know my results!!! Very cool stuff!
You Rock!
Downloading Now!
Can I put this on My Treo?
berdinkerdickle said:
You Rock!
Downloading Now!
Can I put this on My Treo?
Click to expand...
Click to collapse
sure, if it's WM5/6.
mattk_r said:
sure, if it's WM5/6.
Click to expand...
Click to collapse
Jokes on Me.
Seriously Though,
This is Great!
mattk_r said:
...clip...
Ensure that the cabs you're installing does not require any user input. If it does, it will hang the installation process, you'll need to reset the phone, and not all of your stuff will get installed.
Click to expand...
Click to collapse
We do want to be sure not to use apps that require a reset.
great! That's what I was looking for recently
Is there a way to get cab files to default to installing on a Storage Card? I'm trying to prevent it from asking me where I want to install it and thus causing this tool from hanging up.
Nevermind, I made a bad assumption (yes, I know what they say about assuming things) that the PreConfig Launcher would hang up waiting for input for where to install something. I just tested it out on a cab that allows a user to override the installation directory and everything worked fine.
Sorry.
kc_hubbard said:
Is there a way to get cab files to default to installing on a Storage Card? I'm trying to prevent it from asking me where I want to install it and thus causing this tool from hanging up.
Nevermind, I made a bad assumption (yes, I know what they say about assuming things) that the PreConfig Launcher would hang up waiting for input for where to install something. I just tested it out on a cab that allows a user to override the installation directory and everything worked fine.
Sorry.
Click to expand...
Click to collapse
You could edit your cabs and have them install to the storage card by default - or at least I think you could. I'm thinking something like %storage card%. If I get a chance I'll poke around WinCE Cab Manager and see if it's possible.
I just tested it by building a cab to install to the folder /Storage Card, and it worked fine.
mattk_r said:
I just tested it by building a cab to install to the folder /Storage Card, and it worked fine.
Click to expand...
Click to collapse
Matt,
While I'm not quite the noob the number of posts would indicate I am, I admit that I haven't done much w/ building cab's. In an attempt to build one to install directly to the storage card, I've used WinCE to alter the default directory and have altered _setup.xml file, both to no avail.
While my pride says not to ask you to tell me how you set the cab up to install to storage, I'm not above asking you to post the example you created to test this so that I can look it over and try to figure this out for myself.
Would you mind attaching a cab file that installs directly to storage for me? Please?
kc_hubbard said:
Matt,
While I'm not quite the noob the number of posts would indicate I am, I admit that I haven't done much w/ building cab's. In an attempt to build one to install directly to the storage card, I've used WinCE to alter the default directory and have altered _setup.xml file, both to no avail.
While my pride says not to ask you to tell me how you set the cab up to install to storage, I'm not above asking you to post the example you created to test this so that I can look it over and try to figure this out for myself.
Would you mind attaching a cab file that installs directly to storage for me? Please?
Click to expand...
Click to collapse
I could - but this is super easy. When you add a file, you get a window with three tabs, one being location. In that tab, you'll have the folder view. Click on the root '/' folder and press 'new folder'. Call it Storage Card.
That's it!
mattk_r said:
I could - but this is super easy. When you add a file, you get a window with three tabs, one being location. In that tab, you'll have the folder view. Click on the root '/' folder and press 'new folder'. Call it Storage Card.
That's it!
Click to expand...
Click to collapse
I must be an idiot to not have been able to figure that out (and my day job is computer programming, albeit on IBM Mainframes). Will work on this again once I'm back home. I'm sure big brother is already not too happy w/ all the time I spend on the forums anyway.
Thanks Matt!
so, if i were flashing a ROM i would flash, install the cab and then, assuming i already have my cabs and config files on my card, i hard reset and this should launch ok?
thanks,
mark
AximMarkSD said:
so, if i were flashing a ROM i would flash, install the cab and then, assuming i already have my cabs and config files on my card, i hard reset and this should launch ok?
thanks,
mark
Click to expand...
Click to collapse
From what I've done/learned no hard reset is required. You install the Pandora PreConfig Launcher and let your phone Restart. When it restarts, your cabs in the CFG.TXT file will be installed.
so after a flash or a hard reset (for whatever reason) you just install the cab and then soft reset and it will install your cabs?
AximMarkSD said:
so after a flash or a hard reset (for whatever reason) you just install the cab and then soft reset and it will install your cabs?
Click to expand...
Click to collapse
correct - as long as your cabs and the configuration file reside in the CABS folder on your storage card
mattk_r said:
correct - as long as your cabs and the configuration file reside in the CABS folder on your storage card
Click to expand...
Click to collapse
right.
thanks. that's a great tool.
pardon the ignorance but i've never played w/ the WinCE cab manager. can i change the default install location on commercial cabs that i've purchased (assuming they require no interaction during install)?
AximMarkSD said:
right.
thanks. that's a great tool.
pardon the ignorance but i've never played w/ the WinCE cab manager. can i change the default install location on commercial cabs that i've purchased (assuming they require no interaction during install)?
Click to expand...
Click to collapse
Yes you can change the default install directory.
Matt,
Thanks for this great program. It makes changing roms SOOO much easier!! When combined with WinCE cab manager, you can autoinstall just about any program. This thread should be stickied.
Quick guide on how to get programs to install to storage card used WinCE Cab Manager. This guide was modified from K's FlexiRom instructions:
Preparing the cabs
---------------------------
- To set the cabs to a static path, install WinCECab Manager.
- Open a cab with WinCE Cab Manager and click on "CAB Information".
- Double click on "Default Install Dir" then select "Installation Directory"
- Change the default install directory to what every use desire. Do this by creating new directories under "/". For most users wanting to install on storage card, change path to "/Storage Card/Program Files/cabname". Before moving on to the next step, make sure that once you make the folders, click the desired installation path and click "APPLY".
- After applying the new default installation path, choose "Do not allow user to select installation directory"
- Check if there "Setup dll" is present under Cab Information. If setup dll is present, delete it off. [this step is from K's instructions, not sure if it is necessary or not. I've been doing it.]
- Save the cab then right click on the can and select "Read Only" and click apply/OK.
- Check and prepare all the cabs you want to auto install and place them into the CABS Folder of your storage card.
PS Using WinCE Cab manager, you can also modify the shortcuts of the program.

[Tool] Mod of Suiller'UC -> SUPER EASY Auto restore (Like UC/UC2) Just by copy/paste

[Tool] Mod of Suiller'UC -> SUPER EASY Auto restore (Like UC/UC2) Just by copy/paste
Hi everyone,
I started the thread because I wanted to "promote" a nice way to restore cabs and regs after flashing.
I found this script way more useful than UC or UC2 as you don't have to edit files, convert reg to xml files etc. just put the file you want in folders and launch one script
... how this can be more simple ?
This nice script was just missing a script to copy files and folders to the device or the storage card.
This script should be device independent, so please test and report.
The first version of this script has been extracted from an other script created by Suiller for the rom Macadam V1.2. (discontinued)
I ripped the restore part of this script to use it on other roms
INSTALLATION/USE
Just Un-zip the attached file and place the folder "Backup and Restore" in the root of your storage card.
Then you just have to copy:
- .cab you want to install in the folder cab (cabi for those you want to install on storage card)
- .reg in the folder reg
- .exe for files you want to execute
- Files and folders in the folder "Files"
Files included in the zip:
- # Create Folder structure.mscr
- 1 install MortScript420 if needed.cab
- 2 Start Restore.mscr
- Config.mscr
- config.txt
- PimBackup.exe
- TaskMngr.exe
How to use:
1) Extract the zip into the root of your storage card
you will have a structure like:
\internal storage\Backup and Restore\CAB
\internal storage\Backup and Restore\CAB\CABi
\internal storage\Backup and Restore\EXE
\internal storage\Backup and Restore\Files
\internal storage\Backup and Restore\REG
...
2) install mortscript (if not already installed on your rom)
3) run the script "# Create Folder structure.mscr" if you want the "default" suiller UC structure (not mandatory)
4) populate the folders with .cab, .reg, .exe and files to match your needs
5) start the script "2 Start Restore.mscr"
6) be patient and note the the CABi script is not perfect (already installed cabs, errors etc... will fail)
Explanation for the folder "Files":
All files and folders in the folder "Backup and restore\files" will be copied to the divce starting from the root of the device.
Example:
\Backup and Restore\Files\Windows\Start Menu\Programs\Tomtom.lnk
\Backup and Restore\Files\Program Files\Home2\Db.xml
\Backup and Restore\Files\Internal Storage\Program Files\Opera Mobile\profile\opera6.adr
Will be copied to:
\Windows\Start Menu\Programs\Tomtom.lnk
\Program Files\Home2\Db.xml
\Internal Storage\Program Files\Opera Mobile\profile\opera6.adr
Note: The *.cab and *.reg execution is by alphabetical order, so if some cabs/regs need to be restore before others rename them (for example A_Resco explorer, B_Resco registry Etc ...)
Enjoy !
The only thing this script misses is:
- a copy folder where to put files and folders to be restored to device and internal storage(for shortcuts, ringtones, folders to copy/create automatically) - Done, thanks to Myself ... found inspiration around
- support of other roms for other phones (the name of "internal storage" for example) - done, thanks to Suiller - need feedback now
----------------------------------------------------------------------------------------------------------------------------------------------------
Edit:
V3.1 Added create folder "Files" in script "# Create Folder structure.mscr"
V3.0 Added Copy files and Folders
V2.1 Bug, not importing *.Reg - fixed
Changed some timings and paths
V2.0 Some improvements and auto detection of the name of the storage card
http://forum.xda-developers.com/showpost.php?p=3988330&postcount=9
V1.0 Simple restore Cabs and Exe
more infos:
daeshawn said:
sounds like an idea..personally i was never good with scripts etc..but looks like this simplifies it...i might give it a try tonight after work!! thanks
Click to expand...
Click to collapse
thanks !
this link can help:
http://forum.xda-developers.com/showthread.php?t=440683
for the usefulness of a COPYi, i think it's still interresting to be able to copy files from "internal storage" to "internal storage" for example to overwrite config files, or patch installed programs etc.
I think this function has been already written but not integrated with the actual script.
more info on what the previous version of this script was able to do, extracted from the link given before:
suiller said:
The previous version of this script was able to:
- after rom installation an automated procedure will ask you: configure general speed & GPS profiles; remove ActiveSync time change queue (stop popup every 5 min); left/right softkey configuration; CAB & CABi + REG + EXE installation/execution (as mentioned above) + upx compression phase, then choose backup method & eventually load a restore, restore previous saved Start Menu + tweakPers script and for finish reboot to apply changes
- once your cab installation is completed and the reboot phase is done you can open tweakPerm under Scripts folder (simple notepad is enough) and read carefully the comments inside, take inspiration & make changes (copy/paste) in the tweakPers script (an example is here); all these scripts are independent, so for example you can use tweakPers at any time, after every hard reset or a new flash the only one that wont touched is that script (this is the reason why your personalization should go in that file)
- then you can re-organize shortcuts in your "\windows\Start Menu" directory to fit your needs, then run the script "backupStartMenu", this will make a copy of your "final" start menu directory, useful to preserve your original Start Menu structure (in this way it can be restored automatically on next flash)
- the last important folder (always under "Backup and Restore" directory) is "pimbackup", under this directory will be saved automatic pim backups during night(contacts/sms/call logs/et cetera)
Click to expand...
Click to collapse
Tuto: How to format your diamond (not internal storage) before flashing:
Why this procedure ? : Because it works and because it's easier than flashing the original HTC stock rom before flashing a cooked rom... and also because flashing an original htc stock rom was not enough sometimes to stop my strange problems on my diamond when flashing rom's.
Here we go:
1. bring the device to bootloader. in diamond: (Volume down + reset)
2. Launch ActiveSync on PC
3. Go to connection settings
4. Uncheck the Allow USB Connection
5. Now, run mtty 1.42_538 on your PC.
- Select USB from the "Port" drop-down on the upper left corner of the dialog box and hit OK
- another screen will come up. Hit enter and that will show "USB>"
6. CMD>task 29
- wait untill finished then exit.
7. Flash the ROM of your choice.
Download executable and Infos: see attachment
Just one question. Has Suiller or Danny_and_2 given you permission to release this independently?
shaks1979 said:
Just one question. Has Suiller or Danny_and_2 given you permission to release this independently?
Click to expand...
Click to collapse
Hi Shaks,
I've sent previously PM to Suiller, if he disagree, I will remove it.
for me it's ok... and in the meanwhile I prepared a separate sUC.cab to use for high-personalizations also on uncapable UC roms, I haven't tried at 100%, but it worked perfectly in a couple of roms (for ex. the last I tested was the one made by Dazzza); the cab includes ALL the functions enabled by default on Dia Duit rom series, plus I removed stuff touching the SYS, so it should work on every diamond rom; I added also the auto recognition of "Storage" name... so should work without troubles also on NON WWE roms
attachments:
sUC.cab (is the pre-compiled, ready to run cab)
sUC.zip (is the source)
tweakPers.zip (is an example of personal tweak script, the only one the wont be touched on future upgrades, so put there all your very personal stuff)
MortScript420.cab (guess??)
if the rom is UC compliant simply your sdconfig.txt will look like:
Code:
LOCK:Enabled
CAB :\Internal Storage\MortScript420.cab
CAB :\Internal Storage\sUC.cab
LOCK:Disabled
RST: Reset
in this way at 1st boot will be installed both mortscript & sUC, then at 2nd boot will start standard sUC procedure
if the rom isn't UC compliant simply after rom flash run 1st mortscript cab & then sUC cab, it will ask to restart & automated procedure will start
If you have time, starting from this thread I can pass all the info you need, for example could be useful write a better guide for using this way, I tried but not so able to explain in few words perhaps making some real life examples... anyway good idea... I think a sort of unification must be made (sUC + UC + UC2, or whatever)
bye,
davide
ps: in the nataly rom series even if mortscript is yet installed the full version is required too, so reinstall the mortscript cab also in those roms
ps2: I added also the folder CPY always under "Backup and Restore" master folder, all files putted there will be copied (without overwrite) under \windows folder... for example I use it to install in a fresh rom my personalized icon dll, my background, etc... so after restoring the "Start Menu" the system will find without trouble the needed icon dll
Hi Davide,
Thanks A LOT for all this, there is a lot of work in those attachments ...
I'm not a developer but I can read a script.
This script contains a lot of changes since the one I use.
On the scripts you uploaded there is a lot of customisations and registry tweaks.
I think a lot of people will not want to modify the settings made by their "chef".
So, with your permission, I will try to remove all what is not related to the restore/auto install of cabs, regs and files.
I will also extract the script to create the folders on the internal storage for an initial setup of the solution
I prefer also to have for example pimbackup.exe in the folder "backup and restore" so nothing needed on the /windows folder.
If you agree, I will do those extraction of your code to make things simple:
- no installation (just copy)
- maybe extract the script to create folders architechture
- 1 script to start the restore of what is in the backup and restore folder.
- If users want to customize, they will extract registry keys in .reg files and put them in the /reg folder
This may take time as tomorrow I'm going to Greece for 2 weeks (for work :-s)
for me it's ok... you can make all the changes you feel/need
anyway the tweakPerm is just a base from where take "inspiration" for not skilled users, all personal stuff should go instead into tweakPers script
for example, I suppose, that many don't know how to setup a default ring, or sms sound, or alarms, etc... without a single touch by reading tweakPerm (copied into Back and Restore) they can have an idea
good job friend & have a nice trip
Ok,
Here is the "new" restore script based on the updated file received from Davide.
I removed all that's not related to the restore (many customisations of the rom); this script need no installation (except mortscript if not available in your rom)
What's included:
- # Create Folder structure.mscr
- 1 install MortScript420 if needed.cab
- 2 Start Restore.mscr
- Config.mscr
- config.txt
- PimBackup.exe
How to use:
1) Extract the zip into the root of your storage card
you will have a structure like:
\internal storage\Backup and Restore\CAB
\internal storage\Backup and Restore\CAB\CABi
\internal storage\Backup and Restore\CPY
\internal storage\Backup and Restore\EXE
\internal storage\Backup and Restore\REG
...
2) install mortscript if needed
3) run the script "# Create Folder structure.mscr" if you want the "default" suiller UC structure, but it's not mandatory
4) populate the folders with .cab, .reg and .exe files to match your needs
5) start the script "2 Start Restore.mscr"
6) be patient and note the the CABi script is not perfect (already installed cabs, errors etc... will fail)
Note:
The content of the CPY folder will be copied to the /windows folder.
TO DO:
If someone is able to create a copy routine (with overwrite) who can take in charge a complete structure it will be appreciated a lot.
Example:
(Using a new subfolder Backup and Restore\Files)
\Backup and Restore\Files\Windows\Start Menu\Programs\Tomtom.lnk
\Backup and Restore\Files\Program Files\Home2\Db.xml
\Backup and Restore\Files\Internal Storage\Program Files\Opera Mobile\profile\opera6.adr
Will be copied to:
\Windows\Start Menu\Programs\Tomtom.lnk
\Program Files\Home2\Db.xml
\Internal Storage\Program Files\Opera Mobile\profile\opera6.adr
Enjoy
sjauquet said:
Ok,
Here is the "new" restore script based on the updated file received from Davide.
I removed all that's not related to the restore (many customisations of the rom); this script need no installation (except mortscript if not available in your rom)
What's included:
- # Create Folder structure.mscr
- 1 install MortScript420 if needed.cab
- 2 Start Restore.mscr
- Config.mscr
- config.txt
- PimBackup.exe
How to use:
1) Extract the zip into the root of your storage card
you will have a structure like:
\internal storage\Backup and Restore\CAB
\internal storage\Backup and Restore\CAB\CABi
\internal storage\Backup and Restore\CPY
\internal storage\Backup and Restore\EXE
\internal storage\Backup and Restore\REG
...
2) install mortscript if needed
3) run the script "# Create Folder structure.mscr" if you want the "default" suiller UC structure, but it's not mandatory
4) populate the folders with .cab, .reg and .exe files to match your needs
5) start the script "2 Start Restore.mscr"
6) be patient and note the the CABi script is not perfect (already installed cabs, errors etc... will fail)
Note:
The content of the CPY folder will be copied to the /windows folder.
TO DO:
If someone is able to create a copy routine (with overwrite) who can take in charge a complete structure it will be appreciated a lot.
Example:
(Using a new subfolder Backup and Restore\Files)
\Backup and Restore\Files\Windows\Start Menu\Programs\Tomtom.lnk
\Backup and Restore\Files\Program Files\Home2\Db.xml
\Backup and Restore\Files\Internal Storage\Program Files\Opera Mobile\profile\opera6.adr
Will be copied to:
\Windows\Start Menu\Programs\Tomtom.lnk
\Program Files\Home2\Db.xml
\Internal Storage\Program Files\Opera Mobile\profile\opera6.adr
Enjoy
Click to expand...
Click to collapse
it's a good idea & above all not so difficult to implement... the overwrite thing depends, of course, if you want overwrite a file flashed inside the rom... in this case, as you know, it's not possible... better on some files could be possible but it's very complex
for the same speech upx compression works only with EXE files installed post the flashing phase, for example it will work with exe files from extra cab installation
suiller said:
it's a good idea & above all not so difficult to implement... the overwrite thing depends, of course, if you want overwrite a file flashed inside the rom... in this case, as you know, it's not possible... better on some files could be possible but it's very complex
for the same speech upx compression works only with EXE files installed post the flashing phase, for example it will work with exe files from extra cab installation
Click to expand...
Click to collapse
Yes, if someone can write this it will be mostly to copy/overwrite installed application with settings or shortcuts.
Hi,
is this method better than sashimi? just ive had sashimi fail once or twice recently with certain cabs.
thanks in advance
MG
Excelent thread - I tested and work correctly. Save a lot of time!
COPY> Maybe it will be easier create simple .bat for windows and 3 phaze will be on pc: copy files from PC to special folders in Diamond. What do you think? It is easy to wrote I think.
REG> Is one thing that not work correctly. I exported registry key from Rasco Explorer. Put this to reg folder but it was not imported to system Do you know why?
s2007 said:
Excelent thread - I tested and work correctly. Save a lot of time!
COPY> Maybe it will be easier create simple .bat for windows and 3 phaze will be on pc: copy files from PC to special folders in Diamond. What do you think? It is easy to wrote I think.
REG> Is one thing that not work correctly. I exported registry key from Rasco Explorer. Put this to reg folder but it was not imported to system Do you know why?
Click to expand...
Click to collapse
COPY ... yes, of course it's possible, but you can also do it easily with mortscript...
And the main goal of this script is to make all install automatic, so everyone can restore his PocketPC if he can copy/paste )
REG In my case it works perfectly, probably because I install resco registry before (via cab)
> REG In my case it works perfectly, probably because I install resco registry before (via cab)
I too but not work. Anyway it is not a lot of addiotional work for me.
And I used v1 your script not v2.
s2007 said:
> REG In my case it works perfectly, probably because I install resco registry before (via cab)
I too but not work. Anyway it is not a lot of addiotional work for me.
And I used v1 your script not v2.
Click to expand...
Click to collapse
You can try with the V2.0, just rename your backup and restore folder et create a new one with only a .reg file inside.
I just made a second test now and it was flawless (with bsb 6.5L)
Please ask me how can I do backup/restore settings of Today screen Panels/Pages (I use all time Chrome Editor to customize it but it take a lot of time ). Is there key in registry or config file that can I restore after reinstalation? I need fast restore after HR or rom update rom my Today (WM6.5) screen.
s2007 said:
Please ask me how can I do backup/restore settings of Today screen Panels/Pages (I use all time Chrome Editor to customize it but it take a lot of time ). Is there key in registry or config file that can I restore after reinstalation? I need fast restore after HR or rom update rom my Today (WM6.5) screen.
Click to expand...
Click to collapse
Sorry, I do not use Titanium, but you should find easily the keys in the registry
Hi this sounds great. I was always scared of by the normal UC or even SASHIMI. Your version is probably as easy as it gets.
Can I include PIMBackup with this?
The main goal is to restore my contacts/SMS/Call logs and then restore the manila favourite contacts tab. I thought this should be possible by just restoring the registry entries for the contacts tab, is that correct?
Cheers
konrad.schafers said:
Hi this sounds great. I was always scared of by the normal UC or even SASHIMI. Your version is probably as easy as it gets.
Can I include PIMBackup with this?
The main goal is to restore my contacts/SMS/Call logs and then restore the manila favourite contacts tab. I thought this should be possible by just restoring the registry entries for the contacts tab, is that correct?
Cheers
Click to expand...
Click to collapse
PIMBackup is included and if put in the folder EXE it will lauch automatically at the end.
The contacts are not stored in the registry, but in db files

Cab editing to install on SD Card

How can I edit my cabs to change their default installation folder to SD/program files, for example, instead of their default installation folder which is usually somewhere on the device memory ?
I have got an app on my PC called WinCE Cab Manager. I used it to edit a cab file, changed the installation folder to \StorageCard\program files......but what it did was created a folder & subfolder on the device memory & named them StorageCard\program files
yassero said:
How can I edit my cabs to change their default installation folder to SD/program files, for example, instead of their default installation folder which is usually somewhere on the device memory ?
I have got an app on my PC called WinCE Cab Manager. I used it to edit a cab file, changed the installation folder to \StorageCard\program files......but what it did was created a folder & subfolder on the device memory & named them StorageCard\program files
Click to expand...
Click to collapse
Should it not be "Storage Card" - with a space?
go in the CAB information properties,
edit installation directory,
add folder "Storage card" on root
add program files there or whatever.
for files then keep "install dir"
-
remember that installing on sd is not standard install.
papo said:
go in the CAB information properties,
edit installation directory,
add folder "Storage card" on root
add program files there or whatever.
for files then keep "install dir"
-
remember that installing on sd is not standard install.
Click to expand...
Click to collapse
Yes. I did that & the result was that it has created a folder on the device memory called Storage Card & installed the app in a subfolder in that folder.
It neglected the physical Storage Card completely. My objective is to change the default install dir of all my cabs so when I use XDA_UC, it automatically install them to the SD Card. What XDA_UC currently does is semi-auto install whatever I put in XDA_UC/SD, meaning that it runs the installer & asks me to select where to install the app.
oh.. And other thing is, if your card is not plugged in/initialized when UC will start, it may just create a folder Storage Card and then initialize SD as "Storage Card2" ... happened to me pretty messy.
You can make cabs which don't ask to ask:
wceload.exe "%1" /askdest
but there is no param. for default=SD
http://forum.xda-developers.com/showpost.php?p=5090353&postcount=74
I reckon you need a wceload.exe replacement, or to make a mortscript to click on SD option every time for you.
Anyway advice on that link above, that SD apps usually don't need re-installing is right too
Other option would be forgot the cab. make a zip file of all files and reg file and use mortscript to import them.
papo said:
oh.. And other thing is, if your card is not plugged in/initialized when UC will start, it may just create a folder Storage Card and then initialize SD as "Storage Card2" ... happened to me pretty messy.
You can make cabs which don't ask to ask:
wceload.exe "%1" /askdest
but there is no param. for default=SD
http://forum.xda-developers.com/showpost.php?p=5090353&postcount=74
I reckon you need a wceload.exe replacement, or to make a mortscript to click on SD option every time for you.
Anyway advice on that link above, that SD apps usually don't need re-installing is right too
Other option would be forgot the cab. make a zip file of all files and reg file and use mortscript to import them.
Click to expand...
Click to collapse
It is easy to zip all my cabs in one zip file. How do I create a reg file & how do I import them with mortscript & what do I do after importing them ?
yassero said:
It is easy to zip all my cabs in one zip file. How do I create a reg file & how do I import them with mortscript & what do I do after importing them ?
Click to expand...
Click to collapse
you got it wrongly, the last option was not using CAB at all.
I don't know what you are trying to do. Hard to guess. Why would you want to install on SD on the first place?
In my case, I am placing maps and files which programs can only use from SD, I have them in zip and unzipping with 7zip which accepts plenty of arguments.
You know that CAB is something like zip. You don't need to use CAB and can have the same results. And if you creating those cab yourself, why not just create zips. And you have it compressed better too.
- what is reg? file containing registry entries. if you don't have any you don't need that.
- nothing to do after
- for files:
you place all files in folders in this zip file, starting with "Storage Card"
this will check SD card, if it's present and then unzip file "file.zip"
I have this file and 7zG.exe files in ROM-windows folder, but you can change that below.
for this script to run you need mortscript.exe and 7zip programs, they are free
==
SetMessageFont(17, "Tahoma" )
While( not DirExists("\Storage Card"))
SleepMessage( 99, "Insert SD card", "SD card missing", false, DirExists("\Storage Card"))
EndWhile
RunWait("\windows\7zG.exe"," x \windows\file.zip -y")
I am not that knowledgeable technically. I do not not create Cabs. All I am trying to do is figure out a way to have the cabs I have installed silently on the SD after I flash any new ROM. I place all my cabs on Storage Card in folder XDA_UC/SD. This is not a silent installation. It needs user intervention as on each cab installation, it prompts me to select where to install to (device or SD Card). I am very humble when it comes to reg files & stuff like that. I do not know how to write them or how to use them afterwards.
I have always wanted my settings saved aswell to be applied on the next ROM installation. Thanks to NRG, his ROMs come with Settings Export app that simplifies things but exporting all settings to Storage Card in folder XDA_UC & accordingly it is applied at new ROM installation.
why do you want to install to SD card?
What pda you have? Are you low on internal memory?
I only put an app on SD if I had less then 5MB internal free.
You should use your internal memory for programs as it's faster and better protected against lost clusters and unfinished writes.
And to use SD for personal data, as pictures, mp3 as it's easier to make backup of it and access speed doesn't matter there so much.
There is no reason keeping more then 5MB free of internal memory.
A time ago I put update of opera on SD, once when it crashed, it damaged file structures and I lost half of my data on SD.
You can have silent installs to internal memory.
-
Other thing is, as someone wrote before, for most of the apps you don't need to install again on SD card if they are still there. Before you reflash, backup
folder \windows\Start Menu and after reflash, copy it back.

Categories

Resources