Back to Silas S. Brown's home page
Python utilities for S60 phones
You will need Python for S60. See the Gradint page
for instructions. You can put Python on one of the default softkeys to launch it faster (on my device the control for this is located in Menu / Settings / Phone / General / Personalization / Standby mode / Shortcuts).
- A simple stopwatch for S60 (because at least some models don't have one as standard)
- Auto-answer if you want to let someone call you to listen to a meeting without your having to worry about answering the phone. Can optionally be set to text them at the meeting's start time if they haven't called yet.
- Backup SMS inbox to text file a simple script that backs up the phone's SMS inbox to a text file on the memory card (useful if you can't use PC Suite but want to read/save the SMS on a computer)
- Backup contacts to text file a simple script that backs up your phone's contact list to a text file full of VCARD entries on the memory card (useful if you can't use the PC Suite to back up). To restore, here is a script to import all contacts from the VCARD (VCF) file (S60 can usually open the VCARD file itself without this, but some versions show just the first card).
- Backup contacts to CSC file like the above
but writes the .CSC format used by the Windows Mobile application PIM Backup.
This can be used to copy your S60 contacts to Windows Mobile without needing a Windows PC.
After PIM Backup has been run once, it sets itself to be able to open these CSC files;
should work on any WM2005+ device with or without touchscreen (but not Windows Phone 7 or above which is a different system).
- Here is a script to convert CSC back to VCF for copying Windows Mobile contacts to S60, Android etc.
- PIM Backup's .pib files are actually zip files that can contain these CSCs as well as message files etc.
You can manipulate them with Unix tools---for example, to generate a report of a WM phone's SMS delivery failures, first back up the contacts and messages, then unzip the .pib file and do something like set -o pipefail;for Num in $(iconv -f UTF-16 -t UTF-8 < msgs_*.csm | grep "message you sent to .* was not delivered" |sed -e "s/.*message you sent to //" -e "s/was not delivered.*//" -e 's/+44/0/'|sort|uniq); do echo -n "$Num: "; iconv -f UTF-16 -t UTF-8 < contacts_*.csc | grep $(echo $Num|sed -e s/0//)|sed -e 's/";.*//' -e 's/"//' || echo '(unknown)';done
- To-Call List: takes a text file of notes (one per line) and formats it for your phone's Web browser, adding links to any phone numbers and to any of your phone's contacts whose names are mentioned. You can then browse through the notes and directly call the numbers.
- Cleanup: Deletes browser cache files, downloads, interrupted downloads etc that are kept in C: folders not usually shown.
I also have some notes on using t.sina's S60 client
, and on encoding video for various phones and other devices
All material © Silas S. Brown unless otherwise stated.