Closed cjonhammar closed 3 years ago
Not so easy. The audio files are played before the hack. And the file system is a read only squashfs. I can't overwrite the files without flashing the whole partition.
You can actually change it /mnt/mtd/ipc/cfg/En.wav - change the wav file to something with no sound. If I remove that file it talk in chinese, even during reboot so the changes are if you put a silent file there you have no voice
And what about the 2nd wav when the connection is done?
Thing is, the WAV file @alekslyse mentioned isn't really a WAV file. It's simply a renamed text file.
The real WAV files are in /mnt/mtd/ipc/app/res/En
but they can't be replaced cause the file system is read-only.
Maybe you can make an option script to disable those or replace them with custom sounds @roleoroleo? I wasn't able to figure out how to replace files or mount files from the SD to replace the ones in the read-only memory on bootup.
We could try to turn the volume down.
yes sorry my fault for not checking. I just did see a wav file and assumed it was the voice. sorry for that
Gave it a try and it indeed works, nice!
Trying to figure out how to replace the sounds now since the SD Card seems to only get mounted pretty late into the whole boot process so trying to copy files off of it won't work as easily :(
Managed to do it now! Had to mount the SD Card directly in the boot.sh for a short while, then copy the files over, then umount it again. Works now :D
The sd is mounted in a temporary folder (/var/sdcard if I remember correctly). You could copy the file from /var/sdcard to /tmp and then use mount --bind.
Working fine in 0.09 Thanks a bunch!
Using it as a babycamera, and when we have power outage etc the baby gets awakened by that female voice who is letting the baby know that the camera is connecting to internet. :)