How to Disable Safe Volume Warning (no Root required)

0

Okay, we all know that the safe volume warning is there for a good reason: to prevent us from going deaf in the long run. But for many of us, it is more of an unnecessary evil. It doesn’t think about how noisy your surroundings are, or how badly sound leaks from your headphones (take those stiff plastic lumps that came bundled with your smartphone, for instance).

The warning stays put until you take out your device, unlock it, and then disable the notification. This might sound a bit fussy, but for daily passengers, runners and cyclists, it can be nothing short of a nuisance. There are a lot of ways to get rid it for good, but most of them make use of the Xposed framework, and consequently require a rooted phone.

Not all of us are comfortable with the risks and difficulties of rooting, so this guide will describe a procedure that works on all devices irrespective of root access. All credit goes to XDA author Mishaal Rahman. This won’t void your device warranty in any way, we only ask you to be careful and behave responsibly while using this tweak.

Downloads

This method requires two apps:

While the plugin is free, Tasker is a paid app priced at around 3 dollars. However we totally recommend buying the app, it is one of the best Android automation tools you will ever find anywhere. The app itself requires a little bit of getting used to, but once you do that, possible uses are virtually endless. There are a lot of plugins available in the Play Store (such as AutoTools) to supplement the app.

Apart from these, you will also need to download and install the ADB binaries and your appropriate device drivers in your PC.

Procedure

Granting Permissions

  1. Download and install the above-mentioned apps.
  2. Now go to Settings-> About Phone and tap Build Number seven times, until Developer options are unlocked.
  3. Go back to the main Settings page, and open Developer Options.
  4. Enable USB Debugging.
  5. Connect your device to your PC using a USB cable.
  6. In your PC, open the folder where you installed the ADB Binaries. Press Shift+Right Click, and select open command window here.
  7. Now type the following command and press Enter.
    adb devices
  8. If your device is connected properly, it will show up in the terminal along with a long alphanumeric string.
  9. Now enter the following command:
    adb shell pm grant com.joaomgcd.autotools android.permission.WRITE_SECURE_SETTINGS
  10. This command will grant permission to AutoTools to modify Global, Secure and System settings.

Creating Profiles on Tasker

We will create two profiles in Tasker. One is to bypass the safe volume state setting every time your device boots up. This might seem adequate, but Android periodically resets the safe volume level even without a restart. Therefore the second profile is for periodically bypassing the safe volume state.

Profile1: To Disable Safe Audio Warning on Boot  

  1. On your smartphone, open the Tasker app.
  2. In the profiles tab, tap on the ‘+’ button at the bottom to add a new profile.
  3. Select Event, and Tasker as the event category. Select Monitor Start. This profile triggers every time Tasker starts up, and is more reliable than the Device boot event. Also, as Tasker will launch in the background every time the phone reboots, the effects are identical. To set Device boot as the profile, select ‘Event’, and ‘System’ as the event category. Select ‘Device Boot’.
  4. Now press the back button on the top left, and add a new task to the event. You can name your task anything as per your choice.
  5. Add a new action in your task by pressing the ‘+’ button at the bottom.
  6. Select ‘Task’, and ‘Wait’ as the Task Action.
  7. In the seconds bar, adjust the slider to 30 seconds (this is when the safe volume level is set).
  8. Now add another action to your task (by pressing the + button), and select Plugin. Select AutoTools and scroll down to Secure Settings.
  9. Tap the pencil icon next to Configuration. AutoTools Secure Settings will open up.
  10. Select ‘Custom Setting’.
  11. Now input the following data in the corresponding fields:
    1. Setting Type-> Global
    2. Name-> audio_safe_volume_state
    3. Input type-> Int
    4. Value-> 2
  12. Return to Tasker main screen.

Profile2: To Disable Safe Audio Warning Periodically

  1. In the Profiles tab, tap on the ‘+’ button to add a new profile.
  2. Select ‘Time’, and set both From and To fields to the same value. Select Repeat and set it to 24 hours.
  3. Press the back button to return to the Profiles tab. Now link the new profile to the same task you created earlier.

Import XML Scripts

That’s all there is to it. If this sounds too much work, you can download premade XML scripts to your phone and import them to Tasker. Download links are given below.:

Steps to import XML Scripts:

  1. Download and save the XML files in your device’s internal storage.
  2. Open Tasker. Open the overlay menu by tapping on the three vertical dots at the top right corner of the screen.
  3. Select Preferences. Disable Beginner Mode.
  4. Return to the Profiles tab.
  5. Long press on the Profiles tab itself, and select Import.
  6. Navigate to the directory where the XML files were saved, and select one of the files.
  7. Repeat the process for the other file.

Reboot your device for the changes to take place. If this is your first time with Tasker, you should play around with some more tasks and profiles. We hope you find this guide useful. Enjoy!