[Q][[I9505] How to show 'Phone options' menu via adb shell
I would like to ask you how to show 'Phone options' menu(with Power off, Restart, Flight mode, etc) via adb shell. Normally it can be triggered via long pressing power key. Using keyevents gave no results:
-adb shell input keyevent keycode 26 only presses(not long presses)
-adding sleep/wait statement also does not work
-sendevent /dev/input/event0... also does not work and is device dependant.