System Settings
Android 4.2+
Risk: MODIFIES_DEVICE
Set Setting: user_rotation
Modifies the 'user_rotation' parameter in Android system settings.
Command Syntax
adb shell settings put system user_rotation <VALUE>
Generic Syntax:
settings put system user_rotation <VALUE>
Real-World Usage Examples
Configure user_rotation
Sets user_rotation to 1.
adb shell settings put system user_rotation 1