4. Edit INITFLASHFILES.TXT
-=-=-=- -=-=-=- -=-=-=- =-=-=- -=-=-=-
First let's take a look at a typical INITFLASHFILES.TXT file:
Code:
;My initflashfiles.txt
;Make your directories here:
Directory("\My Documents\"):-Directory("Tutorials")
;Copy your files here:
Directory("\My Documents"):-File("MyRinger.mp3","\windows\zzz-MyRinger.mp3")
Directory("\My Documents\Tutorials"):-File("Adding_Files2Kitchen.txt","\windows\zzz-Adding_Files2Kitchen.txt")
;End of File
The best way to do this is to copy and paste and then edit a new line!!
As you see above, there are basically two commands:
Directory("\existing_directory\")Directory("new_di rectory")
Directory("destination_directory"):-File("destination_filename","source_path+filename" )
In the above example where it says ";Make your directories here:", well ya, it makes your directories. If it already exists, nothing bad will
happen. Always create them unless you are positive they exist in the typical windows directory structure! In the example above the directory "\My Documents\Tutorials" is created.
Where it says ";Copy your files here:", this copies your files around. In the example the file "\windows\zzz-MyRinger.mp3" is copied to "\My Documents\MyRinger.mp3", and "\windows\zzz-Adding_Files2Kitchen.txt" is copied to "\My Documents\Tutorials\Adding_Files2Kitchen.txt".
And anything with a ";" is ignored as a comment line.
The examples above are included in the zzz_my_files_oem.zip attached so you have a working OEM. The mp3 is a star-wars ringer, the txt file is this tutorial (when first published).
Edit-Tip: You could start out with "MyRinger.mp9" in your OEM and copy to "\My Documents\MyRinger.mp3" so it only shows up in your ringer list once!
Edit-Tip2: If you add a file to this OEM and want it to stay in "\Windows", there is no need to create an initflashfiles.txt entry for it. This would be usefull if you want to add .cab files to your rom and optionally install them with TierAutoInstall...
5. Copy "zzz_My_Files_OEM" to your USER_OEM or OEM folder(s).
-=-=-=- -=-=-=- =-=-=- -=-=-=- -=-=-=-
Alrighty then folks, enough fun, drop it into your kitchen of choice.
PPCKitchen folks, copy zzz_My_Files_OEM to your USER_OEM folder.
Every one else, copy it to your ..\OEM folder.
6. Flash and enjoy!
-=-=-=- -=-=-=- =-=-=- -=-=-=- -=-=-=-
Build your rom and Flash! Now everyTime you need to hard reset, re-flash, you can keep your Ringers, needed text files, *.tsk themes, work documents,
configuration settings for certain programs, password files, latest pimbackup file, just about anything can be cooked into a rom! And yes,
you can edit the RGU file with some registry edits if you wish and know how...the registry edits is beyond the scope of this tutorial.
This has been a great timesaver for me in the past, and I hope it will be for too. If you can think of an idea for another tutorial, send me a
pm to let me know and I will see what I can do...
HAVE FUN!!!
Stuff you can install with this information:
-=-=-=- -=-=-=- =-=-=- -=-=-=- -=-=-=-
- Your ringers, wav's, other sounds, .TSK themes, icons, and other customizations.
- Use it to install password files, configuration files
- Your personal data files like MSOffice files for work or play.
- Combine with TierAutoInstall, and add your commonly used cab files.
- Use to install those programs with one.exe like Ms.Pacman.
- Advanced users can customize their start menu. (Another tutorial idea...)
- And many more uses!
So if you have ever had to hard-reset, if you have ever had memory-card issues, Don't you want to KNOW that the files you need most are already in your Rom?