How to script for change vibrate mode to ring mode.

R
rathasatekun
Gosoft (Thailand) Co.,Ltd.

I want to send script to change notification from muted or vibrate to ring mode ,

what script to set that

a year ago
Android
ANSWERS
RC
Raymond Chan Diamond Contributor
a year ago

What are the brand/model(s) and Android version(s) for the Android devices that you are targeting?

What about the active MDM APIS's  reported on these devices?

R
rathasatekun
a year ago

Brand Samsung 

OS version from 8 - 14

Client 2024++

Server SOTI 15.3

Depending on your model, take a look into the manufacturer's oem config app (if available).

Those may provide this possibility (instead of sending a script) as well and maybe also block the change of it (if wanted) or set the volume.

R
rathasatekun
a year ago

Brand Samsung 

OS version from 8 - 14

Client 2024++

Server SOTI 15.3

E
ENMod
a year ago

Hey Rathasatekun,

Thanks for posting on SOTI pulse. Thanks Raymond and Rafael for responding to the post, your expertise and willingness to help are greatly appreciated!

To change the notification settings from muted or vibrate to ring mode on an Android device using SOTI MobiControl, you can use the following legacy script command:

writesecuresetting -sys notification_sound 1
 

This command is intended to enable sound for notifications.

Note: The exact command may vary depending on the device configuration and software version. If this command does not work as expected, please check the device’s documentation and try more specific scripts based on your environment.

Technical Support, SOTI | Call Us | SOTI.net | Discussion Forum | Log a Case Online

R
rathasatekun
a year ago

thx but not worked on tested device 

I tested with 

Manufacturer
samsung
Model
SM-G715FN
Agent Version
2025.0.0.1108
OS Version
13
E
ENMod
12 months ago

Hey Rathasatekun, 

Thanks for the update. What did you observe in the logs? Also, as we would require further testing to see if it is possible I would suggest to open a case with us for detailed troubleshooting. Thank you for your understanding.

Technical Support, SOTI | Call Us | SOTI.net | Discussion Forum | Log a Case Online