Remove dummy file system code

Zero-sized file system may use 12 kB of flash


The minimum size of the file system included in NokiX scripts is 64 kB. In addition to this, in phones with external EEPROM chip, the file system needs also an extra 64 kB of flash for temporary storage. This means that it is practically not possible to use the file system in all DCT-3 models.

Luckily most script developers have understood this and even if their scripts utilize the file system for advanced features, they usually work also without the files.

However, usually the file system presence is detected run-time, i.e. the scripts use the file system functions, and detect that there are no files (and the file system is full because no space has been reserved). This means that all code for the file system is included in your phone even if you do not want to use the file system at all.

"null_file_system.nrx" script solves this problem. When "null_file_system.nrx" is executed, it inserts very small dummy functions (10 bytes in total) in the flash and registers them as NokiX file system API functions. When other scripts then references to the file system, they get addresses of there dummy functions and the true file system code is not inserted in the flash.

Using this script saves more than 12 kB of flash space if you do not need the file system (and if you use any script having file-system-related functionality). 


Download Null File System 1.00
Developed for NokiX Scripts snapshot 6.10.2006.
This script must be excuted before any other script that references to the built-in file system functions of NokiX. It is recommended to insert this script in beginning of the processing list.
CAUTION: Trying to modify the built-in firmware of a mobile phone may make it practically unrepairable. This applies especially to phones that does not have a separate EEPROM chip for settings and calibrations (e.g. most Nokia 3xxx phones). Before trying to update the flash memory, you need to understand the functions of your flashing program and the whole flashing process, including any checksum updates required. NuukiaWorld does not give any support in flashing-related questions.

6.12.2007 - nuukiaworld@gmail.com
No email support or answers to technical questions.

To see NuukiaWorld's finest appearance, update your web browser!