Android Disable HDMI CEC control

4.2k Views Asked by At

How I can switch off HDMI CEC control via adb shell ?

enter image description here

2

There are 2 best solutions below

0
On BEST ANSWER
adb shell settings put global hdmi_control_enabled 0
0
On

Anyway, you can emulate key press sequences for Menu-> ... ->CEC Control menu item selection exactly for your device using:

adb shell input keyevent <key_event_code_for_menu>
adb shell input keyevent <key_event_code_for_down>
etc.

and, for example .bat file. Key event codes you can get from Official Documentation. Also take a look at this answer of Rene Barbosa.