Write Secure Setting Android Enterprise

N
Nicolò
CALZEDONIA S.P.A.

Good Morngin to all, 

We need to change the setting related to the screensaver on our Honeywell CT30 devices throug SOTI script.

The device is enrolled with Android Enterprise and it has Android 11. Agent version is 2024.1.6.1140.

The screensaver setting is activated by default and it start "While docked".
But we want to change the setting for start "When charging". 

So, we have found a way on old CT60 with Android Classic (Android 9), by sending a simple legacy script:


writesecuresetting -sec screensaver_activate_on_sleep 1
writesecuresetting -sec screensaver_activate_on_dock 0

This work well on old Android Classic devices, but it seems don't work on new Android Enterprise.
I've read some articles related to the fact that with Android Enterprise and with last version of Android, some script won't work correctly because of Google policy.

So I'm here to ask, if someone know a way to do this.
I see in the logs that when I sent the script, it seems to be not recognize correctly. 

On old CT60 once the script is done I see:

Custom log (URI:content://settings/secure SETTING:screensaver_activate_on_dock VALUE:0)
Custom log (URI:content://settings/secure SETTING:screensaver_activate_on_sleep VALUE:1)

But on CT30 I just see:

Script was sent to device (writesecuresetting -sec screensaver_activate_on_sleep 1 writesecuresetting -sec screensaver_activate_on_dock 0)

It seems the script is not recognized correctly from the device and the setting don't change.

Is there someone that can help me? 

Or maybe, it is just not possibile to do this with new Android version.

Thank you!

a year ago
Android
ANSWERS

Hey Nicolo,

have you tried it over the "Honeywell UEAM Connect" app ?

With the Version 2024.1.* you can easy create a Profile and send device config down.

N
Nicolò
a year ago

Hi Marcus, 

Sorry but I never hear about this application.

We had used in the past the "Enterprise Provisioner" application of Honeywell, where we can make a profile and then scan with CT30 / CT60 devices but we can't send this through SOTI. 
And in this application, we can just Enable or Disable the Screensaver funtion but I can't manage when the Screensaver must be show.

Is this another application? I can't find a download link, can you please share it?

Thank you very much.

N
Nicolò
a year ago

Hi Rafael, 

Thank you for sharing this, unfurtunately, it seems I can't modify the option I need. 

I can enable or disable Daydream and select wich option I prefer (Clock, Photo ecc..) but I can't change when I would active the option (during charge, in dock, both dock and charge or nothing).

At this point, maybe is not possibile to modiffy that setting.

Thank you

T
TGMOD@SOTI.net
a year ago

Hi Nicolo,

Thank you for posting on SOTI Pulse.

Thanks Marcus and Rafael for responding to the post, your expertise and willingness to help are greatly appreciated!

Has your query been resolved? 

If this post did not assist you in resolving the issue completely and you have additional questions, please do not hesitate to reach out or you can contact SOTI Support (support@soti.net) to open a new case and one of our support engineer will be there to assist you.

Kind Regards,
Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net |