Maybe this is a question especially to the developers, but I'm sure there are some other guys, that can advise me or give some hints.
I'm going to create my own rom with the mkrom-tool and I want to add some special programs. I also want to integrate my tomtom software to the rom. Therefore Ii don't have to reactivate every time, when Ii install the xda.
Now my question: Is this possible? Is there enough space to add this program?
What will i have to do?
Thanks...
Stefan
1) Create a snapshot file using 'ssnap' in your SE ROM
2) Install TomTom to the \Windows directory by moving the .cab to the device and double-clicking it. The CabInst program in the SE ROM will offer the option of installing to an alternative location.
3) Set everything up the way you want it. (i.e.: Twiddle all the settings, and install POIwarner and recent camera database also.)
4) create another snapshot.
5) Copy the two snapshot files to the PC, and compare them using a compare tool. (UltraEdit comes with one).
6) Filter the differences for things you do not need, such as 'last used' items in the file explorer and such...
7) Set up 'mkrom', adding the 3.17.03 ROM image, and test that it works by creating a ROM using the config that's in there.
8) Select what you want to lose, because 1.2 is full. Add the files the snapshot difference tells you are new into the 'files1' or 'files2' subdir, making sure the total file sizes for each doesn't grow.
9) Add the changed and new registery keys to default.reg
10) Run 'mkrom'
11) Presto.
I never found TomTom in ROM to be really useful, because it's big meaning you lose almost everything else, if it even fits. And for it to be useful, you always need the maps on SD-card anyway. Why not create an SD-card backup of the entire setup of your machine the way you like it on an old 16 or 32 MB SD-card? Then you can just put that onto your SE ROM device right after cold-boot, and you're in business.
Hi,
i want to install the programs to a directory on the mmc card.
But if i do so, it installs in the root.
Now, thats not looking nice, and its hard to find anything there then.
I want create a directory for games and programms on the card.
How can i do that?
I can only choose between, Memory Card, Storage and Main Memory.
And that sucks!
Maybe u can user WinCE CAB Manager and edit the *.cab installation directory to any directory u prefer.
You can use the freeware CabInstall and install program directly from the SD.
Yes, but on the on hand this would be a lot of work, changing every single files directory in the cab and on the other hand it wouldn´t work out with Progs, that have an exe intallation, like the game AoE.
Thos Progs, first install on the PC and then on the PPC, and there are no editable CABs at all.
I thougt about changing the installation interface inactive sync , but i´m not a coder.
But maybe, there is somebody out there, who had the same idea like me and realised it already.
The Best solution ever: have a look at the attached files, open the TXT file first (the instructions)
You will not need any additional Software (except e Regestry editor like PHM Regedit), just follow the instructions and use the attached files.
Workes great I am having this now for 4 months!
if you install the programmes to the SD/MMC card, and they make their own folder, put the SD/MM card into a card reader on the pc and select the entire folder as hidden. this means that the programme still works, but does not show up when you explore the card. this does not work if u are using your phone as a card reader.
Sorry DerliebeWolf, The BEST solution is the follow (Tested on WM2003Se):
- Download a registry editor 4 Ur PPC
- Open AskDir_ON.reg with the program
- Reset your PPC
manually:
- Go to \HKLM\SOFTWARE\Apps\Microsoft Application Installer\fAskDest
- Change DWORD value (dec) from 0 to 1
- Reset your PPC
If you install a cab file or an exe file from the pc (that copy the cab into your ppc and then execute it), Windows Mobile will ask you in wich folder you want to install the sw.
Note that you can have problems with some applications (because they're not installed in their own directory)
Check out Nonentity's File System Tweak http://forum.xda-developers.com/vie...order=asc&highlight=file+system+tweak&start=0
Cabinstaller is the best and easy software i could recommend for this. Run the cab installer software once and set it to run for all installations, the whenever u try to install a cab file, it will prompt you for the path of installation. It also has an option to disable deleting of cab file after installation. Do you want anything more than this? and to the max, it is free ware! Its easy to get, if you can't find,I have it in my site' software section. www.cartystudios.com
oh yes, i've forget that cabinstall associes .cab files to it (and then, when you execute an exe from the pc, in the ppc will be opened always with cabinstall in auto)
They're the 2 Best Solutions
I'm writing a little tool to restore my settings after a hard reset.
One of the problems I've run into is that I can't "overwrite" the splash screen image in the windows folder.
I'm using visual basic and the "file.copy" command.
Does anyone know how to overwrite this file (and probably also other files in "rom")? Would an api function to copy the file work better?
Total Commander, and MortScript, succeeds in copying another file to \windows\welcomehead.96.png, so there must be a way
B
Let me give you some hints:
1. You must edit ROM to change files.
2. Please go to URL
http://forum.xda-developers.com/viewtopic.php?t=34171
on2003 said:
Let me give you some hints:
1. You must edit ROM to change files.
2. Please go to URL
http://forum.xda-developers.com/viewtopic.php?t=34171
Click to expand...
Click to collapse
OK. I'll Rephrase my question:
I want to write a program to copy the file:
\storage card\welcomehead.96.png
to:
\windows\welcomehead.96.png
on a WM5 device. I'm not interested in editing the rom.
I know it's possible to write a program that can copy the file, since both total commander for PPC can do it and MortScript can do it.
It does not work when using "file.copy" in visual basic. So i'm asking if anyone knows if there's an API function I can use to do it, or if there is some other way to do it.
"Cooking a new rom" is not an option for me. Because:
I want to be able to use whatever rom i want, and I am making a tool which i can run to do the following after a hard reset (or rom upgrade):
- copy files (typically shortcuts to progs intalled on the storage card, files in my documents etc.) from the storage card to the device
- set registry entries the way I want them
- install the cab files I want "automatically"
I've got it all sorted, except that it bombs when i try to copy the file "welcomehead.96.png" to the windows folder.
B
bredita said:
on2003 said:
Let me give you some hints:
1. You must edit ROM to change files.
2. Please go to URL
http://forum.xda-developers.com/viewtopic.php?t=34171
Click to expand...
Click to collapse
OK. I'll Rephrase my question:
I want to write a program to copy the file:
\storage card\welcomehead.96.png
to:
\windows\welcomehead.96.png
on a WM5 device. I'm not interested in editing the rom.
I know it's possible to write a program that can copy the file, since both total commander for PPC can do it and MortScript can do it.
It does not work when using "file.copy" in visual basic. So i'm asking if anyone knows if there's an API function I can use to do it, or if there is some other way to do it.
"Cooking a new rom" is not an option for me. Because:
I want to be able to use whatever rom i want, and I am making a tool which i can run to do the following after a hard reset (or rom upgrade):
- copy files (typically shortcuts to progs intalled on the storage card, files in my documents etc.) from the storage card to the device
- set registry entries the way I want them
- install the cab files I want "automatically"
I've got it all sorted, except that it bombs when i try to copy the file "welcomehead.96.png" to the windows folder.
B
Click to expand...
Click to collapse
You just have to overwrite the existing file...
1. Open the file
2. Write data
3. Close
Cheers,
.Fred
You just have to overwrite the existing file...
1. Open the file
2. Write data
3. Close
[/quote]
Thank you very much for your reply. I'll try that
B
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