PDA

View Full Version : Handmade config.txt for ms_.nbf (extended ROM image)...


nugged
16th March 2004, 02:29 AM
...Third day I spend to find how to persuade mine i-mate to use it's extended ROM as backup image source :)... Have some troubles, maybe someone will be interested:

1. I've started from filling extended ROM with .CABs needed by me. Great. It works but I want to have more. So for now I am "on research":

2. I have installed all needed software and configured mine device to consist of all needed soft and settings for me.

Than I made self extracted image of my device (registry, \Storage, \Windows, etc.) except of Storage Card, of course, by SPRITE SOFTWARE BACKUP.

I get about 10 megabytes self-extracting .exe, named (for example)
_install.exe and I have wrote it in ROM file and include in config.txt string like this:

EXEC:\Extended_ROM\_install.exe

but I meet some troubles, and stuck...

1. that self-extractor looking to place one runtime dll from itself in current directory where it is. Of course it can't (rom is readonly for it).
And it fails with the 'cant extract DLL...' error, and... That's it!

After that I need to install any RegEdit manually from SD card, change registry for Exteneded_ROM to be visible, manually copying file _install.exe from that ROM to \temp\, than run - and only after that I bring my backup image to life...

Does config.txt supports some kind of commands like COPY for me to copy that .exe from Extended_ROM to \temp\ and then run?
Or config.txt have no ability to make copies of files?
Than, hypothethically, I need another simple programm like copy.exe to do this manually from command line?

After all this I just expect to get restored image of mine Himalaya already packed with soft and configured for me...
Fellows, what you think about it?



One more: how to exclude config.txt from being visible in PocketWord if I want to left extended_ROM to be open? (for ex. I put there .exe's that don't require installation)?


Sorry for mine English :)

-------
BTW: GREAT LITTLE DEVICE, after first XDA it's like more oxygenic :)... O3 :) (ozoned :).

Xant
16th March 2004, 09:59 AM
Yes, config.txt supports COPY commands, check this thread
http://forum.xda-developers.com/viewtopic.php?t=6648

To make the ext-rom visible you can also edit one of the cab-files which only updates registy settings with WinCE Cab - Manger and add the registry setting to make ext-rom visible ( I think it is :
HKLM\System\StorageManger\Profiles\TRUEFFS_DOC
MountFlag 0 : but check this... )



Alex

nugged
16th March 2004, 10:23 AM
WOW! THANKS! I supposed about CPY1: CPY2: cause I saw them in autorun.exe with hex editor... So It is! great... Let's try...

I'll write results here.

Only weary thing that I neen every time to rewrite all ROMs (somewhy when I delete Nk.nbf & radio rom and left only extended rom - upgrade will not end normally and device after hardreset enters into bootloader...

nugged
16th March 2004, 01:22 PM
YES! From empty Himalaya after hardreset I now recieve FULLY LOADED MINE device! :) even with setted up today :) and all else :)!

Wow!. :).

Here is attached make_visible_Extened_RAM.CAB sized in 400 bytes - it will just only modificate registry to make Exteneded_ROM subdir visible.
Maybe someone will need it.