So now that we know how to build the firmware from source, I thought I’d try a few firmware modifications. My first goal was simply to:
- Change the time on the lock screen to 12-hour format. Indicate PM with a magenta shadow.
- Change the date on the lock screen to MM/DD/YYYY format.
- Try to improve the battery charge level indication on the lock screen by tweaking the voltage thresholds.
These 3 modifications only required changes to the source file MAKERphone.cpp. Additionally I modified MAKERphone.h to identify this experimental firmware as version 99.0.1, to distinguish it from the latest release 1.0.1 on which it is based. All changes are annotated with my initials FCP so that they can easily be located in the source code.
Note that I did not attempt to change the time and date formats throughout the firmware; so on other screens, times will still be in 24-hour format, and dates will still be DD/MM/YYYY. I anticipate that CircuitMess will eventually incorporate more complete and flexible updates to address these issues into future firmware releases.
The modified source code and resulting firmware.bin can be found in this zip file: MakerPhone Experimental Firmware Mod 99.0.1.zip