Android Enterprise disable auto rotate (Zebra TC57)
If you can get the write secure setting permission prompt to come up and then manually accept that prompt at the device level then you can use the writesecuresetting script.
writesecuresetting -sys accelerometer_rotation 0
Thanks for the suggestion, but if I have to manually interact with the device I may as well just manually change the setting. Although I do appreciate that once you have given MobiControl permission future scripts would be automatic. In my case this is the only scripted setting that I would need to change.
I use this script with the device WT6000:
writesecuresetting -sys user_rotation 3
writesecuresetting -sys user_rotation 1
writesecuresetting -sys user_rotation 0
Those are great scripts María but their usage in Android Enterprise is a little up in the air right now. Your AOSP only WT6000 is almost certainly using Device Administrator for management and not AE. More info can be found on this megathread:
Do we have a solution to block the screen in landscape mode using script or other for Zebra TC21/Android 10 Enterprise.
I'm block for the moment, can someone help me please ?
Thanks in advance.
Since my post Zebra has added controls for auto rotation.
This is the only way I know to turn off auto rotation on zebra devices.
As a further note in my specific use case the users have times where they need the screen to still rotate. I ended up using Soti Settings Manager and gave the users the ability to turn it on and off on their own.
Thanks for your reply, so in fact you are telling me that we CAN'T BLOCK the screen in landscape mode but only in portrait ?
I try to use stage now using these settings :
- Font Size -> Default
- Display-> Largest
- Auto Rotate -> Turn Off
But the screen is automatically block in Portait not in landscape, it really impact them because it's more confortable to work in landscape mode.
Any idear to fix this problem, maybe from a Soti Technician/Engineer ?
If i let user choose by them-self the portrait/landscape mode a lot of them will do nothing... So i need to configure it by default for them.
In most cases, espcially for the more recent device models in Android-Enterprise platform, whether or not some particular device Settings option be configurable remotely is determined primarily by whehter firmware engineers of the device includes codes in the device firmware for MDM software or OEMConfig/AppConfig compliant app to call. A secondary factor is whether Google has defined in the Android-Enterprise platform standard MDM API to support configuration of some commonly used parameters, and include standard codes for OEM firmware engineers to include during the development of the device firmware. Hence, if neither of the above are available for any particular Setting parameter on the device of interest, it is virtually useless to ask engineer from any MDM software vendor to come up with any fixes. There is just no software entry point for any MDM software to make configuration request.
Note that you are not explicitly setting the device orientation to portrait or landscape, you are configuring the auto-rotate feature to be disabled. The devices will lock into whatever orientation they are currently in at the point in which the configuration is applied. If your devices are in portrait mode when you turn off auto-rotate then that is what they will stay in. With A10 Zebra devices however you should be able to put the device in the orientation that you want and there should be a small indicator on screen that the user can manually tap in order to change the orientation, even with auto-rotate set to disabled.
For a Zebra A10 device, what is the method to lock orientation to landscape? I understand using the Display Manager CSP to turn autorotate on/off. Where is the indicator you referenced?
If you set the auto-rotate to disabled on an Zebra A10 device you can just put the device in the orientation that you want it to be in and an indicator will appear in the bottom corner of the screen allowing the user to manually reorient the device in their preferred position.