OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 Hardware => Topic started by: Howard Roark on April 22, 2005, 10:48:20 am

Title: Is Alarm0300.wav Hardcoded In Firmware?
Post by: Howard Roark on April 22, 2005, 10:48:20 am
Is the alarm sound file hardcoded in? I tried to copy it to my SD card to tale a look at its format but the system will not allow it.
Title: Is Alarm0300.wav Hardcoded In Firmware?
Post by: jomo on April 22, 2005, 11:37:36 am
Quote
Is the alarm sound file hardcoded in? I tried to copy it to my SD card to tale a look at its format but the system will not allow it.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76417\"][{POST_SNAPBACK}][/a][/div]

For the Flash-ROM based SL-C's, the Alarm300.wav sound is stored inside the Read-Only portion of the Flash file system and sim-linked to what-ever place it's needed (Ie PIM apps).  Basically, you can't get at it to change it.  They won't even let you change the destination of the sim-link.  However, on the 3000, it's probably stored in a non-user accessible portion of the hard-disk.  This offers the remote possibility of getting at the file.  How, I'll leave up to you, as I don't own a 3000.  You should probably try talking to iamasmith or one of his compadres as they are working on hacking Cacko to work on the 3000, which means they have some experience in getting at the non-user accessible portion of the microdrive.
Title: Is Alarm0300.wav Hardcoded In Firmware?
Post by: tumnus on April 22, 2005, 07:14:59 pm
If the file is on a read-only JFFS2 partition, then you can remount it read-write with the following command (WARNING - be very careful what you do after this as you could mess up your ROM, forcing you to reflash):

mount /mount/point -o rw,remount

and this to make it read-only again afterwards

mount /your/mount/point -o ro,remount

But if the calendar on the SL-1000/3000 is anything like earlier models, the alarm sound is compiled into the calendar binary so it doesn't actually use that wav file and cannot be changed.