View Full Version : Write to ROM
Khurram
23-04-2006, 11:23 PM
I want to write make my application package a part of existing ROM and wants wheneever set hard set it installed (Dont want to burn ROM for each type of machine)
OR
once my program intsalled in memory, hard reset should not disturb it and will remain at machine startup
any luck?
Thanks,
Khurram
levenum
24-04-2006, 08:24 AM
Hi Khurram!
There is a relatively simple solution to keeping your program after hard reset, without adding it to ROM and re flashing the device.
Most devices have either extended ROM, or better yet a file store, which is not erased by hard reset, but can be freely written to. (I think extended ROM needs unlocking before you can write to it).
Here's how to make your program restore it self automatically after hard reset: In the file store create a directory named 2577. In that directory place a file called autorun.exe
The system will launch autorun.exe automatically after hard reset, so you can write one to do what ever you need (install programs, restore settings etc.)
I'm not sure about the extended ROM, but I believe the procedure is similar.
P.S. You should ask technical questions like this in development and hacking forum.
Good luck!
Khurram
24-04-2006, 11:25 AM
levenum, Thanks a lot for the help , i will try and let you know. one thing the "2577" should be created how (any help will be appreciated) and will that folder and file also store at storage "E ROM" or will have to cook ROM for this.
also , any disadvantage of it as compare to Cooking a ROM
Regards
Khurram
levenum
24-04-2006, 11:35 AM
In order:
2577 is an ordinary folder which you create just like any folder. (2577 is the processor type) The system simply knows to look for autorun.exe in that folder.
I don't know about E ROM, sorry.
The disadvantages of using file store (that I can think of) is the fact that the user can easily delete the content if he chooses to. Also most WM5 devices don't have "file store".
But if that is not a problem for you, the great advantage of it, is that you can replace any file, using just the explorer which means you can quickly test and modify your app without cooking ROM and re flashing.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.