How To Get A Custom Charging Sound On Motorola (Or Any Android, Really)

I have a Motorola smart phone. Recently, I wanted to change the charging sound. As it turns out, the charging sound is one of the few sounds that can't be changed through a simple options menu. After discovering how to get a custom charging sound, I decided to write this guide for anybody else who's confused on how to get custom charging sounds on Motorola (though I'm fairly certain this is applicable to any Android phone).

For this to work, you'll need:
  • A Computer
  • Android Debug Bridge (ADB)
  • SetEdit
If you don't have ADB set up on your computer and don't know how to set it up, follow this video guide and/or this text guide. If you don't have SetEdit, install it from the Aurora Store or Google Play Store.

Step 1: Get Your Desired Charging Sound

In my case, it was an HEV suit line. Preferably it should be in a safe place where you can easily access it. Make sure to copy down its file location.

Step 2: Grant SetEdit editing permission via ADB

We must grant SetEdit editing permission. This will be done via ADB (I will assume you know how to use ADB at this point).

Open SetEdit. When you open the app, you should see a button that says "System Table" on it. Click on it, and a drop-down menu will appear. Click on "Global Table". Look for the row that dictates the charging sound, usually named "charging_started_sound" or something similar. When you click on that row, a box will appear, click "Edit Value." When you try this, it should say that SetEdit requires a certain permission to function.

The second line of text has what we need, copy that string somewhere (in my case, it was pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS, yours should be similar if not the same) and close SetEdit. In ADB, write "adb shell [your text string here]." For me, it was adb shell pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS.

Step 3: Edit the value on SetEdit

Go back to SetEdit. Go back to the charging sound row. Click "Edit Value" and you should now be able to edit it. Edit the location of the sound effect for "charging_started_sound" to instead be the location of your chosen sound file.

The original value for the charging sound on my phone

The new value for my new sound

If you have any questions or comments, please email me at crackworth@protonmail.com