17

I recently got a Nexus 4, and I've got a question regarding the volume warning that pops up if you raise the volume too much. Is it possible to disable or remove this warning? I want to be able to raise the volume with the phone in my pocket (with the volume buttons) without having to pick up the phone. I listen to podcasts with low or bad audio and need to raise it above the warning level.

2
  • 1
    I only seem to get the warning the first time I raise the volume after a reboot.
    – pelms
    Dec 11, 2013 at 22:06
  • It's possible using Xposed Framework if you have a rooted phone. Detailed instructions here: gs4.wonderhowto.com/how-to/…
    – bmaupin
    Sep 4, 2014 at 15:00

3 Answers 3

10

This is a known issue (or feature) in Android 4.2, and there's probably no fix for now.

UPDATE 2013-12-10: According to Marius Hofert, it is still an issue in 4.4.

2
  • Okay, to bad :/ Feb 14, 2013 at 8:37
  • 3
    It's (still!) an issue in Android 4.4 (kitkat). People have reported that it can be fixed with a custom rom, but I believe Google should provide a switch to turn it off. Nov 9, 2013 at 23:51
3

Android source code explains it perfectly in AudioService.java For any experienced Android hacker, It's quite easy to patch it out though.

//==========================================================================================
 // Safe media volume management.
 // MUSIC stream volume level is limited when headphones are connected according to safety
 // regulation. When the user attempts to raise the volume above the limit, a warning is
 // displayed and the user has to acknowlegde before the volume is actually changed.
 // The volume index corresponding to the limit is stored in config_safe_media_volume_index
 // property. Platforms with a different limit must set this property accordingly in their
 // overlay.
 //==========================================================================================

 // mSafeMediaVolumeState indicates whether the media volume is limited over headphones.
 // It is SAFE_MEDIA_VOLUME_NOT_CONFIGURED at boot time until a network service is connected
 // or the configure time is elapsed. It is then set to SAFE_MEDIA_VOLUME_ACTIVE or
 // SAFE_MEDIA_VOLUME_DISABLED according to country option. If not SAFE_MEDIA_VOLUME_DISABLED, it
 // can be set to SAFE_MEDIA_VOLUME_INACTIVE by calling AudioService.disableSafeMediaVolume()
 // (when user opts out).
1
  • How about an inexperienced "hacker" who happens to be a developer? What is the best option? Custom ROMS, patching the stock version, etc. I would like to ensure I still received OTA updates for the Nexus 4.
    – RevNoah
    Oct 29, 2013 at 14:14
1

This seems to be an implementation of the European Union regulations to limit the volume to 85db unless the user confirms they want to raise the volume higher (BBC news article).

I guess this does not apply in the US and other regions?

It's possible that some custom ROMs may let you disable this feature.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .