Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable sound safe level notification in android

Tags:

android

In My android App I need to raise the volume and when I raise I get a notification like this:

"Raise volume above safe level ? Listening at high volume for long periods may damage your hearing"

How can I disable this function ?

like image 331
HK.avdalyan Avatar asked Oct 04 '13 11:10

HK.avdalyan


2 Answers

This limitation is baked into the Android OS, so the solution almost universal. You need to root your device first... Search for an applicable rooting method that goes with your device and root it. Then check out the link below. The author says "It works by simply setting the config_safe_media_volume_enabled system parameter to false at boot time. Because it uses the Xposed framework, it is device and rom independent"

http://forum.xda-developers.com/showthread.php?t=2338474

like image 197
Alper Avatar answered Nov 11 '22 22:11

Alper


(Some say) you can use Hearing Saver to disable (as a side-effect) the annoying warning; see here

like image 35
Marius Hofert Avatar answered Nov 11 '22 20:11

Marius Hofert