Dear XDA,
Please help me figure out an issue. I have noticed a problem with custom ROMs running 4.0.4 and 4.1.1/4.1.2, ROMs such as Resurrection Remix, Omega, Rootbox etc on my GTI900 Galaxy S2: the volume adjust sound is ugly and old. Upon checking the /system/media/audio/ui folder, I have found a file named VolumeIncremental.ogg which sounds completely different than the standard Android volume adjust sound. However it is not used when turning the volume up or down. Actually, I couldn't find the volume increment sound that's currently being used in /audio/ui! Where the hell is it stored?!
I've tried decompiling the Settings.apk and SystemUI.apk, thinking that I could find the string that specifies which sound to use for volume up/down, but to no avail. That has led me to discovering and having a look at Settings.db in /data/data/com.android.providers.settings/databases/. The only thing that I found using Sqlite3explorer was an entry with ID 45, name volume_adjust_sounds_enabled and value 1. Other values were along the lines of low_battery_sound with value /system/media/audio/ui/LowBattery.ogg to give you an idea of what I was looking for.
Where could this volume increment sound be changed from? Perhaps a new entry in Settings.db with something along the lines of volume_adjust_sound and the value /system/media/audio/ui/VolumeIncremental.ogg? Or perhaps decompiling an apk which holds the default values for ringtone path, alarm, notification and hopefully volume up/down sounds?
Edit: Perhaps build.prop may have the answer? Maybe something along the lines of ro.config.volume_adjust_sound=derp.ogg?
If someone could clarify this for me, that'd be ideal!
Thank you in advance.
Regards,
Trafiq
Please help me figure out an issue. I have noticed a problem with custom ROMs running 4.0.4 and 4.1.1/4.1.2, ROMs such as Resurrection Remix, Omega, Rootbox etc on my GTI900 Galaxy S2: the volume adjust sound is ugly and old. Upon checking the /system/media/audio/ui folder, I have found a file named VolumeIncremental.ogg which sounds completely different than the standard Android volume adjust sound. However it is not used when turning the volume up or down. Actually, I couldn't find the volume increment sound that's currently being used in /audio/ui! Where the hell is it stored?!
I've tried decompiling the Settings.apk and SystemUI.apk, thinking that I could find the string that specifies which sound to use for volume up/down, but to no avail. That has led me to discovering and having a look at Settings.db in /data/data/com.android.providers.settings/databases/. The only thing that I found using Sqlite3explorer was an entry with ID 45, name volume_adjust_sounds_enabled and value 1. Other values were along the lines of low_battery_sound with value /system/media/audio/ui/LowBattery.ogg to give you an idea of what I was looking for.
Where could this volume increment sound be changed from? Perhaps a new entry in Settings.db with something along the lines of volume_adjust_sound and the value /system/media/audio/ui/VolumeIncremental.ogg? Or perhaps decompiling an apk which holds the default values for ringtone path, alarm, notification and hopefully volume up/down sounds?
Edit: Perhaps build.prop may have the answer? Maybe something along the lines of ro.config.volume_adjust_sound=derp.ogg?
If someone could clarify this for me, that'd be ideal!
Thank you in advance.
Regards,
Trafiq