SecondScreen icon indicating copy to clipboard operation
SecondScreen copied to clipboard

How do I turn off SecondScreen's profile from adb shell?

Open vi opened this issue 6 years ago • 1 comments

Sometimes SecondScreen prevents using touchscreen (touchable area gets heavily desynched from visible area), so pressing "Turn off" button becomes a problem.

Even after rebooting the device the profile remains on until I unlock the device for the first time (auto-start programs don't auto-start until I unlock). And typing PIN or sliding the slider is not possible due to touchscreen effectively being mangled.

There should be a way to turn off profile from adb shell. Additionally it would be nice to have automatic profile turn off after countdown if confirmation button is not pressed.

vi avatar Aug 11 '19 11:08 vi

https://github.com/farmerbb/SecondScreen/issues/70#issuecomment-645458460 Found a solution: From adb shell, type:

wm size reset wm density reset

gyurmogyuri avatar Mar 07 '21 17:03 gyurmogyuri