Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have a bunch of alarms on my Android phone and I want to change their current ringtone to a new one. The new ringtone is in MP3 format and is located in the sdcard. Is there any way to change them all at once, rather than opening the alarms one by one?

share|improve this question

migrated from superuser.com Oct 2 '12 at 12:24

This question came from our site for computer enthusiasts and power users.

add comment

1 Answer 1

up vote 3 down vote accepted

No. As far as I know, you will have to change them all manually.

You may want to try out other alarm clock apps, though. I use Alarm Clock Extreme (free & paid), and while I can't batch update in that either, I can set defaults for every option for new alarms.

If you really want a bunch of alarms to have one ringtone that can be updated later, you could use Llama. One of the features in that app is that you can set a ringtone to a profile (called a LlamaTone). Then when you create an alarm, you tell it to use the Llama ringtone; Llama registers as an option for ringtone selection. In the future, you only change the Llama ringtone, and all the alarms will be updated. Basically, you are creating an alias or shortcut.


Edit Yes, you can! If you have root, that is. The main alarm clock app keeps all of its alarms in a SQLite database. You can run a sql query to update them in one go.

First, create a new alarm with the ringtone you want ALL other alarms to use. Then run the commands below (in bold). Modify the alert to be the same as the alert you wish to use.

sqlite3 /data/data/com.android.deskclock/databases/alarms.db

sqlite>.headers ON

sqlite>select * from alarms;

_id|hour|minutes|daysofweek|alarmtime|enabled|vibrate|message|alert|intent|no_dialog
 1|15|5|0|0|1|1||content://media/external/audio/media/27||0
 2|15|12|0|0|1|1||content://media/internal/audio/media/58||0

sqlite>update alarms set alert="content://media/internal/audio/media/58";

sqlite>select * from alarms;

_id|hour|minutes|daysofweek|alarmtime|enabled|vibrate|message|alert|intent|no_dialog
1|15|5|0|0|1|1||content://media/internal/audio/media/58||0
2|15|12|0|0|1|1||content://media/internal/audio/media/58||0 
share|improve this answer
    
the built in alarm clock has a default for new alarms, at least on ICS and later it does, it's in the settings menu in the app. –  ewanm89 Oct 2 '12 at 13:56
    
I have about at least 70 alarms in my phone. Today one of my friend tried to prank me by changing all these alarms ringtone to a new scary one. She must have been way too bored to do so. Anyway thank you very much for your answer, now I'm going to change it back to the original ringtone. –  user433531 Oct 2 '12 at 17:43
1  
Your pain of editing 70 alarms moved me to find a better solution. Hopefully you have root (and hopefully you see the solution before you have finished all 70 alarms!). –  Stephen Schrauger Oct 2 '12 at 19:25
    
It's just brilliant, thanks a million! I have done like you said and everything went back to normal now. More than 100 alarms and the query took place in a blink of eye! –  user433531 Oct 3 '12 at 10:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.