[05/24/2009 - v.12] Opera Backup/Restore Script - Windows Mobile Development and Hacking General

I use SASHIMI after every hard reset or flash. I got tired of browsing to the \Windows directory and waiting forever for it to list the files and then wait again to be able to go into the Opera9 folder just to copy the bookmark file and put in my SASHIMI directory. I'm not sure how many of you are the same way, but I've made a script to make this process 100 times faster! I've worked on this script off and on for a month or so now, tweaking it here and there.
My last tweak came about as a result of Opera build 15233 (found here) storing the Opera files in \Application Data instead of \Windows. This causes M2D to not pull the favorites from Opera on the internet tab. This was a big downside for me but all the benefits of this build over build 15202 kept me on the newer build. I had been building this script as I go, with intentions to release it to the public but never got around to it. Well this last tweak put me in gear to share it. Anyways on to the script...
The script allows you to backup/restore a few Opera files to/from a folder of your choosing. It will prompt you on first run to create the settings file the script uses to hold the paths. It will prompt you to select the path for the files to be backup'd to. The script will try to detect the Opera path on first run and if it's not able to determine the path it will prompt you to select it as well. Go to "Backup\Restore" to choose the file(s) to be backup'd or even restored from a backup. Go to "Set Paths" to change the backup path or Opera path later on.
[Change Log]
v.10 - 01/01/2009
Inital Release:
-Script settings file must be created and will prompt to do so on first run.
-Settings file creation prompts for backup path and tries to auto-detect Opera path, but will prompt if it cannot determine path.
-Allows you to backup/restore the following Opera files:
*Bookmark file
*Saved passwords
*Opera settings
*Skin
-If the Opera path is set to "\Application Data\Opera9" a new option will apear on the main screen to copy the bookmark file to "\Windows\Opera9" so M2D will read it and display the bookmarks on the internet tab.
-For skin and saved passwords, the script will create a sub-folder for each file in the backup path the same as they are in Opera directory.
-If backup folder or Opera folder are deleted or renamed for some reason the script will detect the original path no longer exists and will take you to the "Set Paths" menu.
v.10 Download
v.11 - 01/04/2009
-Added cookies file to listing of files to backup/restore
-Script will add filename for cookies file to the settings file automatically on startup.
v.11 Download
v.12 - 05/24/2009
-Added "Clear Cache" option to main page.
-Added check to detect old Opera folder and prompt to change if folder changes (upgraded Opera) and old folder still exists.
-Changed/deleted paths no longer force you to path menu, but now asks if you want to change. It will take you directly to the folder picker if answered "Yes".
-Moved "M2D Bookmarks" & "Clear Cache" options to sub-menu "Tools".
-Added a "Current Path" page to show the current defined path prior to changing the path.
-New icon added. Thanks to jmckeejr @ XDA!
-Added an "All Files" option to the file list to backup/restore all files at once.
v.12 Download
Enjoy and feel free to post any feedback/suggestions/problems.

Can you please upload/mirror to other download sites? MediaFire, 4shared etc? Megaupload sucks big time...
Thanks

Moe5508 said:
Can you please upload/mirror to other download sites? MediaFire, 4shared etc? Megaupload sucks big time...
Thanks
Click to expand...
Click to collapse
I added a mirror link to Upload Jockey...hope that helps.

I am using ASUS P320. Unfortunately it does not have enough internal memory. Latest version of Opera give me "Out of Memory" error. Do you have an idea how i can change the cache/virtual files directory of Opera to storage card?

jaskiratsingh said:
I am using ASUS P320. Unfortunately it does not have enough internal memory. Latest version of Opera give me "Out of Memory" error. Do you have an idea how i can change the cache/virtual files directory of Opera to storage card?
Click to expand...
Click to collapse
Type opera:config in the address bar of Opera and go to the user prefs section. You can change it there.

hey debarron thanks so much for this great tool, I'm glad that I'm not the only one that feel the frustration whenever upgrading the opera ,
anyways, I wanna know if it's possible to add a script to copy the "cookies4" file? I like to do that because I wanna save myself the trouble of logging in to every forums and sites that needs a login whenever I'm upgrading the opera.
Thanks again.

baymon said:
hey debarron thanks so much for this great tool, I'm glad that I'm not the only one that feel the frustration whenever upgrading the opera ,
anyways, I wanna know if it's possible to add a script to copy the "cookies4" file? I like to do that because I wanna save myself the trouble of logging in to every forums and sites that needs a login whenever I'm upgrading the opera.
Thanks again.
Click to expand...
Click to collapse
Well I'm glad to see someone else can get use out of this script other than me. I can add the cookies file no problem. I will update the cab shortly.

First post updated....

Super [email protected]!
Tnx for this script!
Happy new Year

Thanks very much for doing this,
on the other hand, looks like the only link that works was the one from zShare (at least for me), so here's the direct download link for that site:
http://www.zshare.net/download/53696793f54a91ec

Can you please post another link to this, I can' get it from uploadjocky nor zshare, thanks guys!
EDIT: Nevermind I got, thanks!!!

Thanks for this bud, I was just getting ready to write a small script to backup my passwords. I am not too familiar with mort yet, so glad you already did it. So, to repay you, I have made an icon and added it to your exe/cab. I was also wondering if you could add or help with adding "Backup ALL". This would save a lot of time.

jmckeejr said:
Thanks for this bud, I was just getting ready to write a small script to backup my passwords. I am not too familiar with mort yet, so glad you already did it. So, to repay you, I have made an icon and added it to your exe/cab. I was also wondering if you could add or help with adding "Backup ALL". This would save a lot of time.
Click to expand...
Click to collapse
Thanks for the icon...it looks good. Heck of a lot better than I would be able to do. When you say "Backup ALL" you mean you want to be able to backup/restore all the files you can currently backup/restore in the script in one step, right?

debarron said:
Thanks for the icon...it looks good. Heck of a lot better than I would be able to do. When you say "Backup ALL" you mean you want to be able to backup/restore all the files you can currently backup/restore in the script in one step, right?
Click to expand...
Click to collapse
That would be awesome. Make it a lot easier if you want to do a full restore. I am flashing a new ROM everyday, and I could maybe use part of that script to make run through UC for effortless restore If it was ok with you any way. I havent had a lot of time since I started customizing ROMs, so it would be awesome if you could add that in(just the full restore/backup part).

First post updated....there are a few others changes I have made previously as well as the "All Files" option in the file listing.
jmckeejr said:
That would be awesome. Make it a lot easier if you want to do a full restore. I am flashing a new ROM everyday, and I could maybe use part of that script to make run through UC for effortless restore If it was ok with you any way. I havent had a lot of time since I started customizing ROMs, so it would be awesome if you could add that in(just the full restore/backup part).
Click to expand...
Click to collapse
Use whatever you need out of my script...it's fine with me.

thanks for the "all items" feature, i haven't tried it yet but I imagine it will be a lot faster and easier than what I was doing with the last version. Thank you!

thank u so much for writting this. great program on the level os pim, sashimi n htc weathermaster. u have saved me atleast 5 min

Thank you for this great app. Could it be possible that you publish your script without the UI (i mean, not the cab, just the script)? hence we could add it to Sashimi to be executed after a ROM flash!
Thanks

can u use this to move other files to the sashimi directory as well or just opera files?

kika.93 said:
Thank you for this great app. Could it be possible that you publish your script without the UI (i mean, not the cab, just the script)? hence we could add it to Sashimi to be executed after a ROM flash!
Thanks
Click to expand...
Click to collapse
Why would u want to execute the script after a flash when u can just backup to the AUTO\Root directory in SASHIMI and have SASHIMI automatically restore? That's what I do. My backup location is set to "\Storage Card\SASHIMI\Auto\Root\Windows\Opera9" and my files are restored automatically after every flash/hard reset.
But if you really want just the script, you can always grab it out of the "\Program Files\Opera Backup\" directory.
savior02 said:
can u use this to move other files to the sashimi directory as well or just opera files?
Click to expand...
Click to collapse
Sorry, this script is currently just for Opera files. Are there other files u had in mind?

Related

small utility: cab batch install (a batch installer) with source

Introdution:
This small app will help you out when you have a bunch of cab files to install after flashing the new rom.
How to use:
1. Select or input a directory that contains a bunch of cab files.
2. Generate the list file that is [INSERT SELECTED DIRECTORY]\batch-list.txt. You can manually edit this file to select which to install.
3. Batch install. It will promot you if you really want to install that file.
Problems:
1. The small utility can not silently install cab files.
Todo:
1. More UI friendly to select the files.
Note:
I am rather new at windows mobile programming. I have learned it from scratch. The whole program uses pure C and winapi, no managed code, no MFC/ATL.
Acknowledge:
Thanks legedug for packaging the cab file.
Copyleft:
The source code is available, anyone can modify it and redistribute it. But you should contain at least a piece of my name in it and should distribute with full source code.
reserved for future.
Or no future.
thank you very much for this tool
Will try it! This will be super good as my P3600i constantly needs a hard reset due to all available roms are for P3600. I'll let you know how this go! Thanks
This will differentiate itself from other similar programs (TierAutoinstall) if it can popup when dialogs are displayed after installs on some cabs.
Tested. I really like it!
No bug so far and here are my findings and suggestions:
1. Yes we need silent installation
2. Pick a directory: this need to pick up sub-directories. My cabs saved in "Storage Card/PDA SW/Common". It won't pick up cab file in "Common" directory.
3. Some cab files require restart - If I choose restart now, it won't resume batch install. (I can choose not to restart now to by-pass it)
jackkkkk said:
Tested. I really like it!
No bug so far and here are my findings and suggestions:
1. Yes we need silent installation
2. Pick a directory: this need to pick up sub-directories. My cabs saved in "Storage Card/PDA SW/Common". It won't pick up cab file in "Common" directory.
3. Some cab files require restart - If I choose restart now, it won't resume batch install. (I can choose not to restart now to by-pass it)
Click to expand...
Click to collapse
Ok, you can manually input the directory. I do not know how to invoke folder selection dialog. If anyone know , please help me.
Nice!! Wish I would have seen it a couple of hours ago before I reflashed for WM 6.1
stanglifemike said:
Nice!! Wish I would have seen it a couple of hours ago before I reflashed for WM 6.1
Click to expand...
Click to collapse
You can try it next time
helloworld1 - this app is shining jewel in dull xdadev world.
kudos.
just improve it a bit(exit option, folder select dialog..)
nothin said:
helloworld1 - this app is shining jewel in dull xdadev world.
kudos.
just improve it a bit(exit option, folder select dialog..)
Click to expand...
Click to collapse
Thanks for your kudos. I will continue develop this little app making it better and easier to use.
First trying, put on \Storage Card\Program Files\CabbatchInstall and make it shortcut to \windows\Start Menu\Programs; it works
So I make it on cab file to put the programs such as above:
legedug said:
First trying, put on \Storage Card\Program Files\CabbatchInstall and make it shortcut to \windows\Start Menu\Programs; it works
So I make it on cab file to put the programs such as above:
Click to expand...
Click to collapse
Ok, thanks ,I will cab it next time.
I would welcome if this would install silently...otherwise its great because its so simple - no hassle like with sashimi, which is great, but too much work for the first time!
thanks man, this is actually exactly what i needed
im actually gonna flash today so I will your app a run and see how it works
however I have seen other tools like this or there about here on xda which use a combination of code and mort script for the silent install part
quick feedback ..the exit function don't work
absorber786 said:
im actually gonna flash today so I will your app a run and see how it works
however I have seen other tools like this or there about here on xda which use a combination of code and mort script for the silent install part
quick feedback ..the exit function don't work
Click to expand...
Click to collapse
Yes, I forget to add it. There is a big OK button to do that.
I fail to make upgrade recently because I don't have visual studio 2008 as in the lab before.
This one is written in pure C. So It can run without any additions.
laser21 said:
I would welcome if this would install silently...otherwise its great because its so simple - no hassle like with sashimi, which is great, but too much work for the first time!
Click to expand...
Click to collapse
It can not install things very silently. Because you have to select where to install.
My ambition plan is to parse the XML manually and let it really silent.
Now I don't have a Windows OS and Visual Studio. I will delay upgrade this software.
I have released the source, it is welcome for anyone to help.
Ok so i have tried it a couple of times..and after using the tool from v3patel(see my sig) im sorry.....
v3patel's is mortscript; quick and already allows for a silent install. However, my suggestion fro you to get the silent install working is to have a look at the command he uses in his script and see you can replicate it for your tool....
If it works, i will be more than to hard-reset my device to test...(and it better work lol)
helloworld1
excuse me;
can this be used to install all ones cab file apps etc, after a system hard reset if all cabs are say kept in a pacific folder for that purpose.
thanks

sUC - suiller UC way [9 Feb 2010]

ABOUT
The purpose of this CAB is to reach a sort of UC way but with a very easy & friendly approach
HISTORY
I come from Diamond world, so because this CAB can be adapted for other platform/devices why not preparing a separate sUC.cab to use for enabling ALL the stuff (ramdisk, pimbackup,ram recovery,etc...) included in Dia Duit rom series?
what have I to do with this cab?? simply it will apply these features:
Latest stable MortScript is inscluded & ready to go, so no more needs to install as separate cab
Choose between 3 speed profiles: 1. fast (takes more ram & battery), 2. balanced (not heavy tweaked but not funny) & 3. untouched (default WM6 settings)
GPS profile: TomTom, iGO, Navigator or default WM6
Everyday auto recover RAM feature (at 4.30AM) + automatic sms/contacts/calls backup/fav manila people (trough pre-configured pimbackup app, PimBackup included)
Ramdisk (2Mb) feature (optional)
A new way for a fully automated CAB/REG/EXE/CPY installation/copy after every hard-reset/rom upgrade
UPX executable, compress (fully automated) exe files from fresh installed cabs, this saves space & gives faster app load times
Easy & fast tweaking method without 3rd part software: tweak registry scripts (with comments)
Tips enabled by default to preserve a bit more battery life (for ex 3 secs of led blinking instead 5, increased battery life counter,etc) + increased speaker sound volume + many example for setting automatic alarms, rings, etc...
Moved MAIL + Attachments folders from main memory (My Device) to external one (Storage Card)
3 / 4 rows configuration
This should work on every WM based rom, also because I added the auto recognition of "Storage" name... so should work without troubles also on NON WWE roms (except for CABi installation)
DOWNLOAD sUC.cab HERE
DOWNLOAD sUC_source.zip HERE
BEFORE INSTALL (mandatory)
create in your "Storage" (the BIG one) a folder called "Backup and Restore", then inside it a folder CAB (inside this another folder called CABi), then at the same level of CAB folder create a folder called CPY, then REG, then EXE
so practically your basic structure should be like:
Code:
Storage Card (or whatever name)
=> Backup and Restore (folder)
=> CAB (folder, put here all the cabs you want install on main memory)
=> CABi (folder inside CAB folder, specific for "must go into Storage", see notes)
=> REG (if present all reg files here will be joined to default WM registry)
=> CPY (if present all files here will be copied under their correspondent folders)
=> EXE (if present all .exe & .mscr files will be launched)
all files in the CAB folder will be installed (automatically) into "device", the ones in the CABi folder will be installed into "Internal Storage" (or whatever you have, always automatically), from REG folder all *.reg/*.rgu files will be loaded on the fly, from CPY all files will be copied (with overwrite) into correspondent folders (for ex useful for copying personal dlls, wav/wma/mp3 files or background, etc...), for finish from EXE folder will be launched your executables (personally never needed, but who knows?) & if present all *.mscr scripts... pay attention to exe files that needs user interaction
INSIDE THE CAB (a deeper explanation)
when your sUC cab is installed it simply creates a registry entry under [HKLM\init\]"Launch69"="2ndboot.exe", this permits the script 2ndboot.mscr (launched by 2ndboot.exe) to be loaded upon system reboot (just one time)
this script, if the structure mentioned above isn't found, it will create automatically all the folder & default reg files needed under your storage card, the name isn't important because it should guess itself its correct name, so don't care if your storage is called something like "MyBigStorageCard"
then it will ask you some questions... such as if you use ActiveSync, which GPS performance adopt, etc... all this info, which at 1st you'll pay high attention, will be stored under your storage card in a file called config.txt ...why?? simple... because next time you will flash or hard-reset your phone you wont have to push a button the script will found that previous stored config file & it will take all the info needed for final rom configuration to skip all annoying questions after every upgrade/HR
note: there is also an hidden option that should be used only by experts, to enable this option simply add by hand to your config.txt file the line: FastInstall=1
this will skip all countdown menu & messages... personally I use this option because flashing a lot this saves much time more
next it will look in the CAB folder for installing your CABs into "device" or main memory
next in the CABi folder for installing CABs into your storage card (you need to do this just 1st time, I'll explain later...)
next it will look at a file called upxlist.txt (must filled before), where simply you will specify all the *.exe file you want to compress after every cab installation... for example your upxlist.txt could look like:
Code:
\Program Files\Navigator\TomTom Navigator.exe
\Program Files\9.5 Beta\Opera9.exe
\Internal Storage\Program Files\Binaryfish\All Mobile Mines\All Mobile Mines.exe
note: every line for every EXE file, pay attention that you can compress just EXE files coming from extra CABs, because EXE files present in the rom are read-only
next it will copy a set of basic reg files with many tips/tricks/examples inside, useful for making many customizations
note: of course if you have previously prepared the folder structure & you have copied your REGs files under the REG folder they will be processed together the files above
next it will look in the CPY folder and will replicate the found folder structure (with files too), for example create inside it a folder \windows with some file inside & it will copy all found files under \windows on your device, or create \program files\myapp & it will create that folder structure in your device, of course it works also for Internal Storage even if it has no sense, anyway just a note it doesn't create empty folder, to create an empty folder just use a single .mscr script (something like: MkDir("\mydir") ) & copy it in your EXE folder
next it will look in the EXE folder & will launch all the exe files inside it, if found it will launch also all *.mscr scripts
next if found (you'll understand better upon an HR), it will ask you to restore your backed-up start menu, so you don't have to re-arrange your icons again
next if found, it will ask you to restore your last PIM backup & will reboot
notes:
right now CABi procedure works only on WWE roms (due to translations work to be finished), anyway there is a trick to skip CABi installation, or better make by hand just once (read few lines below)
installing cabs into Storage Card sometimes will fail, this simply because some cabs need confirmation/accept license & so on, so don't expect will work 100%, also many cabs require to be installed into main memory so NOT into Storage Card, for ex I use to install into Storage Card simple cabs such as games
sometimes pim backup restore can fail, try to restore by hand after installation; backup are divided into week days (monday, sunday, etc... "Last" is the last saved backup)
if you put sUC.cab in your CAB folder wont re-processed of course, useful if using sUC together with UC/UC2 installation method (see at bottom)
if you still use the 1st sUC release way your personal scripts still work like before, simply move them under EXE folder, or transport as reg entries directly into your personal reg file & copy it under REG folder, you can find on the same folder some examples (to clean all your old stuff simply empty the REG folder, modded REG files wont be touched on future upgrades)
you don't need to re-install every time your CABi, just install them once, then on next upgrade answer No or simply edit your config.txt & change the correspondent value; after CABi installation on a clean boot go with your explorer under "\windows\start menu" folder & re-organize your start menu structure (cut/past links, create/delete folders, etc...), remember to don't delete "Settings" folder even if empty, then go under sUC menu & backup your StartMenu, on next upgrade sUC will detect start menu backup & it will reinstall automatically... because the content of your storage card isn't erased after a rom upgrade/hard-reset your installed CABs will stay there untouched, so backed-up start menu has inside correct links
is possible to move TomTom, iGO, Navigon, etc... definitively into your storage card, so you don't need to install them every time: copy entire nav software folders from \program files to \internal storage\program folders, re-create icon shortcuts (copy/past as shortcut in your start menu), for iGO you have to edit sys.txt (under iGO folder) & change the path of base installation
in the same way is possible to skip for example FingerKeyboard installation from related cab, simply take a look at this short guide
INSTALLATION
note: to migrate in every new sUC version simply move your reg mods in your Personal.reg file, erase all the rest of reg files because they will be re-generated with the new ones, remember that on upgrades reg files wont be touched so pay attention on what you mod
if the rom is UC compliant simply create a called SDConfig.txt file in the root folder of your Storage Card, for example your SDConfig.txt could look like (pay attention to upper-lower case & no empty lines):
Code:
LOCK:Enabled
CAB :\Internal Storage\Backup and Restore\CAB\sUC.cab
LOCK:Disabled
RST: Reset
in this way at reboot will start standard sUC procedure (remember MortScript is included & also that sUC cab wont be re-processed even if present in CAB folder), instead if the rom isn't UC compliant simply install sUC as any normal cab, then it will ask to restart (or restart manually) & automated procedure will begin on reboot[/b]
bye,
davide
OK, that's all very nice, but WTF is it?
Wouldn't hurt to have an "about" section in the post for ppl who see this thing the first time in their life.
GENIAL !!!!!!
aiiro said:
OK, that's all very nice, but WTF is it?
Wouldn't hurt to have an "about" section in the post for ppl who see this thing the first time in their life.
Click to expand...
Click to collapse
yep... you right sorry, I'll correct soon...
suiller
OMG~ You finally made it available!!! I'm going to test it with my HD and will report back once everything is organised
I didn't mean to sound rude, sorry... Anyway, thanks for the addition, but still - what is UC? User Configuration? Could You post some screenshots too to make it more comprehensible for dumbusers like me?
jackkkkk said:
suiller
OMG~ You finally made it available!!! I'm going to test it with my HD and will report back once everything is organised
Click to expand...
Click to collapse
oh FRIEND! I found you
yep, I'm looking here around to see if my mad projects can be useful
the cab isn't still perfect but should work, of course I haven't a different device from diamond so all you will be a sort of beta tester
I've removed all specific diamond stuff, so it should work
Of course this is just a starting point, I'm dedicating much time to develop this small piece of "software", thx also to many other friends
You know as it works, so you should feel a bit like at home
aiiro said:
I didn't mean to sound rude, sorry... Anyway, thanks for the addition, but still - what is UC? User Configuration? Could You post some screenshots too to make it more comprehensible for dumbusers like me?
Click to expand...
Click to collapse
yep you are right... UserConfiguration, the only difference is that you don't need to write any config file, at least not as "normal" user, it's enough to copy under correct folders the CAB plus other stuff you want installed/loaded after every flash/hard-reset
I'll porvide soon a video-guide, so it will be for sure more clear
OK, OK, nuff with making fun of me Or were You seriuous with video guide?
Cos I just had a brilliant idea - I'll install the damn thing and look for myself
I think I should have done that in the first place. But still, I believe screenshots would save some time understanding what's it really about.
Yeah Screwed Up Click for life
no no I'm serious friend... but I'll suggest to wait a couple of days because I'm working on a new version where is possible to cut-off all the specific HTC/manila stuff & above all I'm re-commenting all the registry entries that interact with OS
no no I'm serious friend... but I'll suggest to wait a couple of days because I'm working on a new version where is possible to cut-off all the specific HTC/manila stuff & above all I'm re-commenting all the registry entries that interact with OS
Hi,
really don't want to be rude or offence, but ... isn't this something like SASHIMI????
If so ... where are sUC's pros?
kind regards
fwt
almost... but it's very very simple... I'm testing an heavy modified version able to run on almost every WM6.x base device
OK the CAB is ready for testing purposes... please re-read 1st post because I'm making a better, I hope easier, description of features... thx
bye,
davide
Mate, this piece of software is plain GENIUS!
So much easier than the UC thing, with all the boring scripting. This way you just place in folders, and you are (mostly) done! Amazing stuff!
I have some questions/requests for you though...
Is there a way to repeat the procedure (restore at 1/2 start up), at a later time? This could be useful, for example, if some files get corrupted, or you just want to revert back to default cabs/settings, etc. So I guess what is needed is a way to manually activate the procedure.
Second thing is regarding mail settings. Is there a way to back this up? My hotmail settings get destroyed after every HR.
Cheers.
Forgot to mention, a manual activation of this procedure would also help if (for example) you want to make multiple program installations. This way you could just use the folder CAB, without wasting time on every single program you are installing/testing...
Cheers
krale said:
Forgot to mention, a manual activation of this procedure would also help if (for example) you want to make multiple program installations. This way you could just use the folder CAB, without wasting time on every single program you are installing/testing...
Cheers
Click to expand...
Click to collapse
hmm... it could be a good idea... even if some phases can't be reverted, or better it's very complicated to "go back"... such as for ramdisk
anyway many phases are yet accessible as indipendant scripts just take a look under "\Backup and Restore\scripts" folder, of course other script could be extrapolated but I'll do probably on next version... let's say this is a testing purpose version because I have to "think" that this app must work on many (almost all I hope) wm6.x based devices
As one of the end (l)users who first saw this in Suiller's Dia Duit rom series, I can attest to this resolving one of the major grievances of Windows Mobile rom-upgrades. With some "smart" planning ahead, getting everything back can now be mostly scripted by simply placing the install file in the correct directory. Same with restoring data from your pimbackup, or adding registry settings. Once again we have a case where the xda-developers have surpassed the "offficial" roms in user friendliness.
I have since moved on to WM6.5 (still on my Diamond), but I sorely miss sUC from my later roms.
//Svein
updated sUC, corrected some small issues
I corrected some default/samples reg files, so I suggest to erase all default *.reg files under REG folder to update correctly
move your personalization to something like "MyRegPers.reg"
please reports here bugs/issues/suggestions or whatever... thx

(Maybe) UC v3.0 - Get the BEST from user customization!

Ok, i was bored about rewriting sdconfig.txt everytime i changed the romlanguage, so i decided to make something that will avoid this, and will avoid to write the sdconfig.txt too
What are the main goals of my project?
Install everything you want without careing about romlanguage
automatize every process
How it works?
Simple. Put your cabs/exes/provxml/xml to import/run in your storage card folder "FB_Install"
Ok. You said that I can install exes, but if i need to add arguments to the execution of the file?
Simple again. Create a file (as an example, if your exe is "myexe.exe") naming myexe.arguments. in it write your arguments. You can use the arguments only on exes.
Well, and if i want to skip some files?
Just create (as an example, if your file is "mycab.cab") a mycab.skip file. This works with all types listed here (cabs, xml,provxml,exes)
Well, i need to hide the customization while I install a cab. How to do that?
Again simple. If your cab is mycab.cab, create a file with name mycab.hide
And if i want to don't reset at end?
Create a file with name "NoResetAtEnd"
Ok, i have that folder but right now i don't want to install anything. how to do that?
Create a file with name "SkipCustomization"
Ok. That's nice. But how i can add my own config codes as i done on UCv2?
Create a file "AddToConfig.txt" and add there your config codes. this will be appended after the other config codes generated by the program.
I want to create some shortcuts. How to do that?
Create a Shortcuts.txt containing the shortcuts to create. You have some IDs:
%SD%
%PROGRAMS_STARTMENU%
%PROGRAM_FILES%
%STARTUP%
%MYDOCUMENTS%
This will allow you to create an universal shortcuts.txt without careing about language.
Each line contains a shortcute to create. Example line:
%PROGRAMS_STARTMENU%\Test.lnk:%SD%\myprogram.exe
this will create a "Test.lnk" in \windows\start menu\programs folder pointing to \Storage card\myprogram.exe (that for wwe).
I want to copy some files in the windows folder. How?
Create a folder in FB_Install called "CopyInWindowsFolder". all files there will be copied to the windows folder. You can do that for Programs,Favorites,Fonts,Startup,Program files folders creating folders:
CopyInWindowsFolder
CopyInProgramsFolder
CopyInProgramFilesFolder
CopyInFavoritesFolder
CopyInFontsFolder
CopyInStartupFolder
I want to install some cabs to storage card instead of internal storage. how?
Just create (as an example, if your file is "mycab.cab") a mycab.ToSD file.
I will include that feature on my future ROMs, but if someone is interested i can release it here.
EDIT: yes i know that noonski done something similar but i was searching about something integrated
Nice idea. Good luck.
One thing though. There might be a clutter of files created but users which can get confusing? How about just parsing one file with all directions?
rjmjr69 said:
Nice idea. Good luck.
One thing though. There might be a clutter of files created but users which can get confusing? How about just parsing one file with all directions?
Click to expand...
Click to collapse
thanks. added other features on first post.
Maybe I missed it but is there anyway to automate .cabs to be installed on storage card?
MrDSL said:
Maybe I missed it but is there anyway to automate .cabs to be installed on storage card?
Click to expand...
Click to collapse
i'm working on that too
michyprima said:
i'm working on that too
Click to expand...
Click to collapse
If you can get that to work then it would be awesome..So far theres no automated option that works to install on storage card..
MrDSL said:
If you can get that to work then it would be awesome..So far theres no automated option that works to install on storage card..
Click to expand...
Click to collapse
Well, i can say i now i got it to work. Requires a bit of work but it works. Well, visual studio is EXTREMELY powerful
Looks really good, I really like to try this UC
This is also a nice tool
finally got it to work right.
Now it can install CABs to storage card without problems
I want that in my ROMs too. Can you share it here?
solved problems on installing cabs too. The installation dll will NOT be executed so you won't need to care about user interaction while installing
Definatly interested in checking this out since it can install to storage card.
hope u make it available..
MrDSL said:
Definatly interested in checking this out since it can install to storage card.
hope u make it available..
Click to expand...
Click to collapse
well that's something for cooks not for users (it needs to be cooked in to work) so if i release it you can't use it at least when someone use it in his rom...
To me it looks like MrDSL is a cook. The ROM linked in his signature is made by him.
Are there any news? Will you release it here soon?
A powerfull alternative;
Will it get released? I'm eager to test it Virtually in an Embedded WM6 environment;
Windows (Embedded) CE/WM6 PowerToy: DiskPrep;
http://forum.xda-developers.com/showthread.php?t=655377
I'm glad though that User Customizer DevPrep (CPY2 Storage Card possible) saved my day(s) until now!
Soon most readers from this thread too IMNSHO,
Senax

[APP] (20/08/09) HideFolder - Show/Hide Folders in HTC Album (CAB)

Update
I have now created a CAB for the script.
It will install a link to the program in Programs under the Start Menu.
IMPORTANT: You need to have MortScript installed. There is a CAB in \Program Files\HideFolder. If you already have MortScript you can delete this CAB.
The new cab is at the end of this post.
-------------------------------------------------------------------------
Hiding folders from HTC Album has been discussed elsewhere, maybe for different reasons than mine !
When I select 'Storage Card' a list of folders appear that have no interest to me and do not contain any images that are mine.
I have written a script that allows you to Show or Hide folders from HTC Album. I included the ability to 'Show' folders in the event that you may want to temporarily hide a folder but re-enable it at some point.
You need to have Mortscript installed on your device !
Unzip the file and copy to your device.
When you run the script you will be given a choice whether you want to:
1) Show a Folder
2) Hide a Folder
3) Exit the Script
When you select Show or Hide you will then be asked to select the folder.
If you select Show: A previously hidden folder will be enabled (If the folder is not hidden you will get a message informing you of the error)
A confirmation message will be displayed and you are done.
If you select Hide: The selected folder will now be hidden from HTC Album (If the folder is already hidden you wil get a message informing you of the error)
A confirmation message will be displayed and you are done.
I've run the script in as many combinations as I can think of and all seems to work, please let me know if there is something I hae missed.
CAB Now available see above.
Thanks for such a necessary utility, I was actually looking for this for some days now...I needed this... you know to hide some things when your is taken over by some enthusiast who wants to check out everything in it and occasionally press wrong links....
This app. does its work what it supposed to do but I have Resco photo manager installed the hidden folder is visible in this photo manager...is there a way it could be hidden to resco as well.
great,
is this also possible for HTC Music Player ß
I don´t want to see my ringtones and others on the SD card.
thanks
I edit the registry to hide the folders. This saves me a lot of work. Simple enough. Thanks
Mesquire said:
I edit the registry to hide the folders. This saves me a lot of work. Simple enough. Thanks
Click to expand...
Click to collapse
Can you share the registry edits...pls.
Do you have the same tweaks for music ???
Does this work for HTC HD2? I have tried it an error, unknown function selectdirectory?
A non responding thread...
Application does not work with the newer builds 6.5.x
Here you go.... to all who want to hide folders for whatever reasons, go to this link and follow directions and viola, job done!!! no cabs to install or extra steps that make it complicated, all's you need is a reg-edit on your phone and your good to go!!!
http://pocketnow.com/tweaks-hacks/how-to-hide-folders-with-pictures-from-htc-album
ENJOY AND HAVE FUN!!!
^^^
having some trouble figuring that out could you help
Apologies
Hi All,
I am really sorry that I have not been able to respond to recent requests.
I have some personal stuff going on at the moment which has meant my head has been inserted up an unattractive part of my body.
I am sorting myself out and will try to help where I can in the next few days.
Apologies and thanks in adavnce for your understanding.
Hide more then one folder????
it seems as if i can only hide 1 folder and not multipl folders. How can I hide multiple different folders? When i attempt to do another folder the error always says this folder is already hidden and its not.
Thanks man, nice little app!!
tried on hd2, doesnt work

Frequent Rom Flashing.. Backup email settings and restore..

Gurus,
I tried searching for this but in vain. I keep flashing all the great roms posted here frequently. And every time i have to configure my email accounts from scratch and this is a real pain. Is there any way to backup the settings like we do in PIM backup and restore upon reflashing the ROM'S?
Help greatly appreciated...
Thanks,
Raj
prudviraj said:
Gurus,
I tried searching for this but in vain. I keep flashing all the great roms posted here frequently. And every time i have to configure my email accounts from scratch and this is a real pain. Is there any way to backup the settings like we do in PIM backup and restore upon reflashing the ROM'S?
Help greatly appreciated...
Thanks,
Raj
Click to expand...
Click to collapse
Same here, what is best method to backup & restore phone settings regardless of what ROM we are using.
What about Microsoft my phone?
get makisu from HERE
(its a plugin to sashimi, but it will run standalone too)
run it, (it may take a few moments to start, be patient) enter your account details, add as many as you like, including wifi settings
tutorial video HERE
copy the xml file it creates (created mine as program files/makisu/makisu.xml)
get the microsoft cabinet sdk from HERE
extract it, and in the BIN folder is an .exe file called makecab.exe
I coppied that file out to its own folder, i dont use anuthing else in the sdk.
put makecab.exe and makisu.xml in a folder together, rename the xml to _setup.xml
open a command line window, and browse to that folder.
(Useful tip for vista/7, with the folder open on screen, hold shift and right click, you will get the option to 'open command window here')
issue the command
makecab /D COMPRESS=OFF _setup.xml mail.cab
(set mail.cab to whatever.cab name you want)
Thats it, copy the cab to your phone and run it when you need to set up your email accounts (and wifi if you set that too, very handy, i've automated 5 email accounts and 3 wifi networks)
(You could also just stop at the xml stage, and next time you hard reset, instal makisu and then choose 'provision xml' and browse to the makisu.xml file and it will install the settings.)
@samsamuel - I've just found this post (after searching for "rename email account"!!) and it's awesome.....just what I've been looking for!! Now I can reload my mail settings whenever I flash....assuming I can find a way to rename the current (incorrect) mail account I just added, otherwise I'll have to go for the delete/re-create option
Thanks again for posting about "makisu" - shame I have to register on yet another forum I'll never use just to get it....unless it's hidden on XDA somewhere?
Mark.
This is all that you guys need.
This will take care of provisioning for Wi-Fi Configs, Email Configs and Certificates.
leepriestenator said:
This is all that you guys need.
This will take care of provisioning for Wi-Fi Configs, Email Configs and Certificates.
Click to expand...
Click to collapse
After you make the xml with the program, how do you access it on the phone for restoration of settings? I don't need it right now but I am making xml's since I have had to hard reset my phone 4x already (and not because I was flashing a ROM) and re-creating all the settings is such a pain. I read into the sashimi and makisu but those apps make my head spin. There has to be a simpler way. Thanks in advance.
Edit: I think I got it. Either I use Makisu to access the xml or make the cab using the post above. If I make the cab and I want to use Quick cab (since it is much easier to use), where does the file install? \Windows?? It was unclear from the previous post since the instructions are for a different cab making utility.
k8sh said:
Edit: I think I got it. Either I use Makisu to access the xml or make the cab using the post above. If I make the cab and I want to use Quick cab (since it is much easier to use), where does the file install? \Windows?? It was unclear from the previous post since the instructions are for a different cab making utility.
Click to expand...
Click to collapse
it doesnt install any files anywhere, not in teh way you mean, its just setting/changing/applying settings. Think of the xml file as a script that makes changes as it runs.
For me, i have makisu in my autoinstall folder, so it gets installed at hard reset, and i run teh xml file (also on my sd card) manually when i am ready to apply it. (I flash a lot, so sometimes i dont want email setting up, because i am gonna flash again in a few minutes).
I no longer bother creating the cab, because with the xml file you can just open it in notepad and add anotehr email account, make other small adjustments, whatever, which you cant do with a cab, you have to rebuild the whole thing from scratch. (for some reason wince cab manager cant open that cab.)
Well if you are on a custom rom, every chef support some form of UC or the other (User Customization).
In addition to Sashimi / Makisu you can also use SDConfig.txt & XDA_UC if your ROM supports it.
Google them and you'll find more info.
This looked like it would do the trick. When I run it I get a visual basic error. I have netcf v4 installed. Is there another file required to make this run?

Categories

Resources