ROM Customization Tool - Pandora PreConfig Launcher - 8525, TyTN, MDA Vario II, JasJam ROM Development

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.

Related

Problems with 1.40 ROM & 1.13 Radio and O2 XDA 2s UK

Hi,
I upgraded my XDA 2s last week to the 1.40 Type I ROM along with the Type I Radio 1.13 and customised my Extended ROM in the 1.40 kitchen. I have been experiencing some weird problems though and wondered if anyone else had had the same things and if there is a workaround.
1) I had trouble with GPRS reconnecting but then foudn the post about changing Caller ID version so that one is sorted.
2) My bluetooth headest has gone weird on me a couple of times during calls, it suddenly adds a question mark to the headset icon in the top bar and switches the call to the phone which is quite annoying (and dangerous when driving!)
3) It seems that my settings for sounds and notifications keep going back to default, particularly my SMS tone, which is just a WAV file in the Windows directory.
4) Sometimes when i switch it on a white light comes on the screen for a second then it switches off again and has to be pressed again. A soft reset cures this normally.
I really like 1.40 apart from these irritations as I really want to keep WMP10. If anyone has any insight, I have posted the contents of my config.txt file to see if anything could be causing issues.
Thanks for any help,
Fin
EXEC:\Extended_ROM\TPDisable.exe
CAB: \Extended_ROM\BA_Version_140.CAB
CAB: \Extended_ROM\Album_BlueAngelAKU26_Generic_WWE_RC20.CAB
CAB: \Extended_ROM\IA_CallerID_1.20_WWE.CAB
CAB: \Extended_ROM\MIDI561.sa.CAB
CAB: \Extended_ROM\ClearVue2.4.381WWE_withoutBP_OzUp.sa.CAB
CAB: \Extended_ROM\Java_V10.1.2.49_BA_WWE_0901_unremovable.CAB
CAB: \Extended_ROM\CAB-MMS-2.0.0.21-BlueAngel-Generic-ENU-27Dec04.sa.CAB
CAB: \Extended_ROM\BA_OEM_PA_Remove_WiFi_Logo.sa.CAB
CAB: \Extended_ROM\BA_Camera_Driver_Patch.sa.CAB
EXEC:\Extended_ROM\TPEnable.exe
CAB: \Extended_ROM\BA_cm_rm_map_o2_v3.CAB
CAB: \Extended_ROM\O2UK_AP_09212004_BA_1.sa.CAB
CAB: \Extended_ROM\O2UK_Button9_WWE.sa.CAB
CAB: \Extended_ROM\O2UK_Connection_Setting.sa.CAB
CAB: \Extended_ROM\O2UK_Hide_WLan_message.sa.CAB
CAB: \Extended_ROM\O2UK_PIE_homepage.sa.CAB
CAB: \Extended_ROM\O2UK_Regional_TimeZone.sa.CAB
CAB: \Extended_ROM\VideoMMSB12_BA.sa.CAB
CAB: \Extended_ROM\TrayLaunch.CAB
CAB: \Extended_ROM\FINIIW.CAB
CAB: \Extended_ROM\RESCOEXPLORER.CAB
CAB: \Extended_ROM\rescoreg.CAB
CAB: \Extended_ROM\FTP.CAB
CAB: \Extended_ROM\SoftReset.arm.CAB
CAB: \Extended_ROM\RAR.CAB
CAB: \Extended_ROM\PocketMSN2K3SE.CAB
CAB: \Extended_ROM\BA ExtROM Unlock WORKING.CAB
CAB: \Extended_ROM\battery_OU_081304.sa.CAB
CAB: \Extended_ROM\install.ARM.CAB
RST: Reset
I am being tortured by the fail in re-connect gprs, could you tell me how to solve me by the 'Caller ID version' that you suggest on your post.
Best regards
Patrick Choy
xda 2s GPRS Connection Issues
mfchoy wrote:I am being tortured by the fail in re-connect gprs, could you tell me how to solve me by the 'Caller ID version' that you suggest on your post.
Hi Patrick
You have to unhide and unlock your extended ROM and replace the Caller ID cab file with older version of the same file that is available on the wiki site in the Blue Angel ROM kitchen. From memory, I believe the older version of the file you need is the one with the 14 suffix. are you familiar with unhiding ans unlocking the extended ROM?
Best Regards
Chris
Thanks Chris but I am not familiar with playing around with the ext rom, do you think there is patches out there that I can apply, otherwise, you walk me through step by step how to do it.. if it's not too troublesome.
Best regards
Patrick Choy
Instead of unlocking the ROM, can't you just copy the photo contact cab file to the phone, rename the IA*.DLL's and then execute the cab file to load the program? Obivously this will be removed after a hard reset.
1.40 Extended ROM GPRS Problems
HennyB wrote:
Instead of unlocking the ROM, can't you just copy the photo contact cab file to the phone, rename the IA*.DLL's and then execute the cab file to load the program? Obivously this will be removed after a hard reset.
Click to expand...
Click to collapse
Mmmm... that might work, although since the existing version of the program is also running, there may be some conflicts, unless you could stop it before starting the replacement... Not sure on that... "The Last One" or "Happy Goat" could probably advise if you if you PM one of them.
mfchoy wrote:
Thanks Chris but I am not familiar with playing around with the ext rom, do you think there is patches out there that I can apply, otherwise, you walk me through step by step how to do it.. if it's not too troublesome.
Click to expand...
Click to collapse
As far as I know there are no patches available at this time. We are still waiting for O2 to release their version of the 1.40 software, which will also include the Blackberry client software. Its only a 50:50 chance that their update will also contain some GPRS, Bluetooth and WiFi improvements, but I would not hold my breath....
The wiki site (wiki.xda-developers.com) is really the place where all the knowledge resides, plus the various ROMs and CABs. It explains explains all in great detail and I would encourage you to read the sections on Blue Angel. In the meatime, here are some specific links to help you step by step through the ROM unhide and unlock process.
http://wiki.xda-developers.com/index.php?pagename=BA_ERK_X_Zip
Once you have unhidden and unlocked the Ext ROM, you will be able to replace the Caller ID file with the older version (1.17), which can be fould here:
http://wiki.xda-developers.com/index.php?pagename=BA_ERK_Applications
The 1.40.147 extended ROM seems to differ from other extended ROMS in that you do not have to update a Config.txt file. You just copy in the new CAB files using the same file naming scheme as the other files in the Ext ROM. I cheated a bit here, by just renaming the older version of the file after I downloaded it (not really good CM practice but it worked for me ). So after unhiding and unlocking the ROM:
1. Download the 1.17 version of the file from the link above to a folder on your device
2. Look at the file name of the Caller ID CAB currently in the extended ROM and rename the file you downloaded to the exact same name.
3. Delete the current Caller ID CAB from your extended ROM.
4. Copy the Caller ID file you just renamed into the extended ROM.
5. Re-Lock and Re-Hide the extended ROM per the instructions at the link above.
6. Then perform a Hard Reset and the modified extended ROM file will reload. WARNING! Remember that a hard reset will ERASE all the date and 3rd party apps you currently have on your device. You will have to resynch with outlook and reload any apps you want again after the hard reset, so make sure all is backed up before you do any of this.
So that's what I did. You could try the trick that HennyB suggested first of course and see if that works. The other option is to wait for the new ROM from O2. And if you do not want to mess with the Extended ROM, but can't wait for the new O2 update, try going back to the current 1.31 ROM from O2 and installing in 'corporate mode' when prompted. The 1.31 ROM always had a very stable GPRS connection for me.
Hope that helps
Regards
Chris
Caller ID
I have done this previously. All you need to do is copy the Cab file over to you device. Typically to temp folder. Use file explorer to navigate to the Temp folder and double tap on the CallerID cab file. A window will open staing that it cannot copy IACIDSync.dll. Select cancel, and find this file in the windows directory and rename it. Go back to temp folder and double tap the callerID cab file. It then states their is a problem with another IA*.dll file (cannot recall the name). Go to windows and change the file name. this has to be done on 2-3 files. Then the cab file will finally load.
Caller ID
I have done this previously. All you need to do is copy the Cab file over to you device. Typically to temp folder. Use file explorer to navigate to the Temp folder and double tap on the CallerID cab file. A window will open staing that it cannot copy IACIDSync.dll. Select cancel, and find this file in the windows directory and rename it. Go back to temp folder and double tap the callerID cab file. It then states their is a problem with another IA*.dll file (cannot recall the name). Go to windows and change the file name. this has to be done on 2-3 files. Then the cab file will finally load.
HennyB wrote
I have done this previously. All you need to do is copy the Cab file over to you device. Typically to temp folder. Use file explorer to navigate to the Temp folder and double tap on the CallerID cab file. A window will open staing that it cannot copy IACIDSync.dll. Select cancel, and find this file in the windows directory and rename it. Go back to temp folder and double tap the callerID cab file. It then states their is a problem with another IA*.dll file (cannot recall the name). Go to windows and change the file name. this has to be done on 2-3 files. Then the cab file will finally load.
Click to expand...
Click to collapse
Sounds like this is the workaround then. Certainly seems easier than the ROM "surgery' and if you ever have to do a hard reset, you could modify the ROM then..
Regards
Chris
I have done this previously. All you need to do is copy the Cab file over to you device. Typically to temp folder. Use file explorer to navigate to the Temp folder and double tap on the CallerID cab file. A window will open staing that it cannot copy IACIDSync.dll. Select cancel, and find this file in the windows directory and rename it. Go back to temp folder and double tap the callerID cab file. It then states their is a problem with another IA*.dll file (cannot recall the name). Go to windows and change the file name. this has to be done on 2-3 files. Then the cab file will finally load.
Click to expand...
Click to collapse
Hi Henny, the rename that you say mean just change the name to something else, correct me if I am wrong about what you say. And crbrow51, you mean if I perform a hard reset, everything that I do according to Henny will be gone, isn't it.
Best regards,
Patrick Choy
I just renamed the IA* files to IA*.dlb from .dll and then executed the cab.
I am definitely running version 1.17 of the Photo Contact program but still have GPRS program. Photo contacts seems to work more reliably though.
Now I dont believe that changing the version of photo contacts will solve the radio problem.
Hennyb wroteI just renamed the IA* files to IA*.dlb from .dll and then executed the cab.
I am definitely running version 1.17 of the Photo Contact program but still have GPRS program. Photo contacts seems to work more reliably though.
Well that fix worked for me, although I did it via the extended Rom update and hard reset. Is it conceivable that a hard reset is needed to completely flush the effects of the existing Caller ID version...? Anyhow, here is a link to a thread that has some more pointers to possible GPRS connection fixes
http://forum.xda-developers.com/viewtopic.php?t=21972&highlight=
mfchoy wrote: Hi Henny, the rename that you say mean just change the name to something else, correct me if I am wrong about what you say. And crbrow51, you mean if I perform a hard reset, everything that I do according to Henny will be gone, isn't it.
Yes, if you do the workaround to bring this file in without updatinf the extended ROM, then the change is lost on a hard reset.
Regards
Chris
Removed phonealarm program (which I thought was great) and now GPRS is working flawlessly.
Not sure if changing to photo contacts helped the situation or not.
What is phonealarm?
What Is Phone Alarm?
Its a great profile and repeating audible alerts program for PPC PE devices.
You can download the trial at
www.pocketmax.net
try AlarmToday by the same developer. Great products, first class support.
Also, as an aside, i have both working on my device with no GPRS problems. My bet is that the caller id cab file downgrade fixed the problem as it di for me ;-)
Regards
chris
Also, as an aside, I have both working on my device with no GPRS problems. My bet is that the caller id cab file downgrade fixed the problem as it di for me
Click to expand...
Click to collapse
GPRS on my phone even with the caller ID downgrade did not work properly until Phonealarm was uninstalled.
I believe the compatibility problem is with the new O2 Asia 1.40 ROM. Users have reported the same problem on the Pocketmax.net forum for phonealarm.
http://www.pocketmax.net/phpbb2/viewtopic.php?t=565
Mmm.. interesting... Which version of PhoneAlarm are/were you using? I had trouble with 1.20 and went back to 1.13... I was thinking of moving to the O2 Asia ROM, to see if there were any improvements to bluetooth connectivity. Guess I could do that and use O2 Plus instead of PhoneAlarm... Thoughts..?
Regards
Chris
Re: What Is Phone Alarm?
cbrow51 said:
Its a great profile and repeating audible alerts program for PPC PE devices.
You can download the trial at
www.pocketmax.net
try AlarmToday by the same developer. Great products, first class support.
Also, as an aside, i have both working on my device with no GPRS problems. My bet is that the caller id cab file downgrade fixed the problem as it di for me ;-)
Regards
chris
Click to expand...
Click to collapse
Thanks
Mmm.. interesting... Which version of PhoneAlarm are/were you using? I had trouble with 1.20 and went back to 1.13... I was thinking of moving to the O2 Asia ROM, to see if there were any improvements to bluetooth connectivity. Guess I could do that and use O2 Plus instead of PhoneAlarm... Thoughts..?
Click to expand...
Click to collapse
I was using 1.22 and the new Asia ROM.
I do not use bluetooth but one of my friends does and said that the older ROM with the bluetooth patch is better than the new 1.40 Asia ROM.
I had a same issue with GpRS not being able to reconnect. Drove me nuts as we use mobile mail to our devices.
Installed the older called id cab (1.17) (just renamed one file) and now its all good.
Also my XDA2s now does not freeze when gprs is reconnecting.
Thanks!

automatic install without hacking rom!

Hi Folks,
i found a trick to make an autoinstall from strorage card (like from extended Rom)!
autorun.exe looks for the file config.txt on the place is in registry stored in:
"HKLM\Comm"
"AutoRunCFG" = "\Speicherkarte\Autoinstall\config.txt"
so i changed the registry entry and now i am able to put config.txt and the files to install on every place i want.
on windows Mobile 2003 devices this works wonderful!
on problem i have now with windows mobile 5 devices:
when installing a question appears where to store files (device or storage card)!
can anybody help me to get rid of this question during automatic cab install??
i want install all cab files to device without any questions!!
pbelcl: apologies for my ignorance, but is this very different to a 2577 folder?
with a 2577 cab we could use this info:
http://forum.xda-developers.com/viewtopic.php?p=225375#225375
and choose a default install folder I think for WM5.
V
Thanks for your quick answer!
i read the other tread and if i understood it right i have to remove the .dll file from my cabs?
i'll try this and tell you if it worked ....
I think the other way round.
I've never done it before, but you need to make a custom cab and .inf file, and specify the installation location in therere, and then the "choose a location" dialog doesn't come up. I'm not sure, I'll try this at home later.
V
vijay555 said:
...I'll try this at home later.
Click to expand...
Click to collapse
Thanks, that would be interesting for me because i cant generate cab files because i hav no developer software for this.
i also have access to a cab file manager (at a customer) where i can edit the cab files and change them as i need it.
if it is possible to generate an "empty" cab file for me that would be nice ....
pbelcl: I never use the cabwizard either, I use cab manager. To make an empty cab, take any normal cab (download one of mine?) and just remove all the files from it. That's what I always do!
V
vijay555 said:
.just remove all the files from it. That's what I always do!V
Click to expand...
Click to collapse
ok, this is also my way to get an empty cab file
there is one question interesting:
Sometimes there is a "CheckFile.exe" and a "CeSetup.dll" in the cab file.
Do i need them for any work during install this cabfile or can i delete them also?
I remove everything from my cabs, and then use cab manager and drag and drop stuff. So I've never used those files. I will have to read up on how to make a "normal", but I don't think they're necessary if you didn't put them in there!
V
Hi folks,
again my last problem with automatic install on WM5 devices:
when my automatism starts to install the cab files (from where ever) each time there comes a popup windows where to install the cabfile (storage card or device).
for my routines it is not important becaue most of my cab files only set some registry keys and dont install files on the device!
Does anybody know how i can get rid of this window and install the files to device WITHOUT question popup window??

WM5/WM6 Application Package - Rapid Installation using CeleSetup

Guys,
Enjoy the best breeds of PPC applications, now in one single click without installation. All of the applications will run directly from SD card.
Filename: VibranzePPCAppsV1.zip
Download URL: http://www.esnips.com/doc/52a3bbb4-97b1-4f7a-8643-0a72423f3c06/VibranzePPCAppsV1
MD5Sum: 614F6731BAE0246B455C199ECE627C53
Installation Instruction:
1. Extract the zipped file and move it to \SD Card\
2. Execute CeleSetup.exe
3. Soft Reset
4. Find the applications under "Start - Programs - Tools"
Note:
- If your SD card volume name is not "SD Card" then you need to edit the file CeleTool.ccs and CeleTool.reg and replace "SD Card" with the proper name, eg. Storage Card, etc.
- To not install the applications that you don't like, just delete the folder of the application name under \SD Card\Tool\.
- Do backup before you try.
- All the software provided is for educational purposes only, if you like it please purchase the copy from the original author.
Many thanks to Yonsm for creating this great tool!
Cheers,
Vibranze
Can't open the link. Maybe just because the campus network sucks!!!
Follow the steps and executed CeSetup.. somehow after restart couldn't see tools in Programs.. any idea why?
satriani25 said:
Follow the steps and executed CeSetup.. somehow after restart couldn't see tools in Programs.. any idea why?
Click to expand...
Click to collapse
Hi,
I'm not sure what happened with your installation, but make sure that under your Storage card you have the Tool folder and CeleSetup.exe like the one shown in attachment.
Cheers,
Vibranze
okies.. trying it now.. btw the file should be in .rar extension and not .zip extension right??
and with regards to editing the css file..
BEEP
IFEX %C\Jeodek
LINK %P\Tools\Java.lnk,%C\Jeodek\Jeodek.exe
IFEX
IFEX %C\ClearTemp
LINK %P\Tools\Clear Temp.lnk,%C\ClearTemp\ClearTemp.exe
IFEX
IFEX %C\Metro
LINK %P\Tools\Metro.lnk,%C\Metro\MetroSP.exe
should i replace all instances of %C and %P with "Memory Card"??
okies.. follow the steps and tried again.. this time it worked.. without editing the css file.. think the problem was i restarted the PPC even before i get any popout so this time i waited for a longer period of time till i get the popout. kudos to vibranze for this wonderful set of applications!
satriani25 said:
okies.. follow the steps and tried again.. this time it worked.. without editing the css file.. think the problem was i restarted the PPC even before i get any popout so this time i waited for a longer period of time till i get the popout. kudos to vibranze for this wonderful set of applications!
Click to expand...
Click to collapse
Side note.. if you have the same applications already installed.. it is preferred if u use the applications from the Tools folder.. The setup kinda deregistered some files in the original application installed thus resulting in it not working probably especially in TCPMP..
Regards...
Archive file is bad!! - Corrupted!!
gesamgr said:
Archive file is bad!! - Corrupted!!
Click to expand...
Click to collapse
Hi,
It's not corrupted as I downloaded it many times.
Anyway, here is the new version and the new link.
http://www.zshare.net/download/3943298f4821e7/
Cheers,
Vibranze

[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

importing registry keys

hey guys, after miri's recent v19 rom release, i've got to the point where manually reinstalling stuff is getting more of a chore than a pleasure, so i've been playing around with sdconfig.txt and self-built .cab files...
however, there are some things i cant configure due to them being in the registry.
so far this is what ive done:
- used 'CeRegEditor' to capture the active registry (both stock rom, and fully configured the way i want it to be)
- compared the 2 files, and saved the output to another file
- copied this file (i've tried both .cereg, and .reg formats) to sd card, and attempted to run. when executed from my HD, the file format is unrecognised and will not import the registry values.
so, what have i missed? why wont a .cereg or .reg file 'install' on my HD?
the idea is to have this registry file in the sdconfig.txt (or a cab, and exec'd from sdconfig.txt), so on hard reset it is a completely 'hands-off' re-install.
Create a Cab file. You can create Cab files that only install registry settings. Take the '2_Way_Plus_InCall_Recording' cab file and build upon that maybe. Edit the '_Setup.xml' to include your registry settings and then you can install them just as you would install a Cab file.
How many registry setting do you want to change?
.reg file is 260 line file - 25kb.
while there seems to be a limit on what the registry is holding, it is configuring some of the more simplier and silly things...
- Device name
- Owner info
- Manila Weather
- power settings
- 'changescreen' app settings (app found on these forums)
- 'HD tweak' app settings (again, found on these forums)
at this point in time, it's more of a proof of concept, rather than finalized version. now i know how to get things working, i can fine tune the reg settings and provision my phone.
it seems 'ceregedit' does not correctly convert reg > XML (or reg > CAB).
however, i found another tool called 'SDConfigGen', which does correctly convert reg > XML. i've been able to use the XML in my sdconfig.txt, which is what i wanted!
while the above reg keys work, it's not an exact build of how i had my phone before...
there are some things i would like to automatically configure:
- pre-configured Wifi profiles (theres maybe 4 AP's i use)
- automatically set 'touchflo 3d' as the default theme.
- a complete hands-off install. (things like pre-setup the HTC auto-configure "sim card change")
- automatically accept a security certificate from our activesync server (i have activesync config in a .cab file, but it requires you to manually click 'yes' to the security cert install box)
im sure a google will help with a few points above!
Ok I'm not sure if you program at all or if this would really easy your pain much but you can download a trial version of Visual Studio 2008. It has a project option to build cab files for ppc devices. Might be worth a look if you have a lot of keys to do. Its not much better than doing them by hand though. I've included a screen shot of VS doing it so you can see. BTW its obviously been scrunched up.
Try this
veehexx said:
hey guys, after miri's recent v19 rom release, i've got to the point where manually reinstalling stuff is getting more of a chore than a pleasure, so i've been playing around with sdconfig.txt and self-built .cab files...
however, there are some things i cant configure due to them being in the registry.
so far this is what ive done:
- used 'CeRegEditor' to capture the active registry (both stock rom, and fully configured the way i want it to be)
- compared the 2 files, and saved the output to another file
- copied this file (i've tried both .cereg, and .reg formats) to sd card, and attempted to run. when executed from my HD, the file format is unrecognised and will not import the registry values.
so, what have i missed? why wont a .cereg or .reg file 'install' on my HD?
the idea is to have this registry file in the sdconfig.txt (or a cab, and exec'd from sdconfig.txt), so on hard reset it is a completely 'hands-off' re-install.
Click to expand...
Click to collapse
I used this to do what your trying to do, it will not import .reg files on the trial version but theres an older version on piratebay that will:
Heres a link to a trial for 30 days: http://www.ocpsoftware.com/products.php?nm=cecabmgr
SDConfig Builder
Hi,
try SDConfig Builder

Categories

Resources