# Find Alarm Settings on Android
dir="/data/user_de/0/com.android.deskclock/databases"
cd $dir
sqlite3 alarms.db
.tables
#get column names
PRAGMA table_info(alarm_instances);
select * from alarm_instances;
# This will update the database
# but alarm app seems to ignore it
UPDATE alarm_instances SET hour=9 WHERE _id=1;
#changing this value doesn't seem to show in clock app
# Another place to look
cd /data
#at this point enable an alarm andthen
find -mmin -10s
cd /data/system/users/0
file settings_system.xml
# this is an Android Binary XML
# that's ok, we can make it a regular XML file
xml2abx -i settings_system.xml
# to convert it back
abx2xml -i settings_system.xml
###NOTE###
# I've tried changing values in both file
# but clock app doesn't show changes