How to access Diagnostics Menu programmatically or by any means other than physical touch key input?

Discussion in 'Clarity' started by Arctiic, Jul 17, 2023.

To remove this ad click here.

  1. I have a damaged screen digitizer. I have root access and USB debugging enabled, but I can't figure out how to invoke the diag menu via ADB shell. Any help?
  2. To remove this ad click here.

  3. MrFixit

    MrFixit Well-Known Member

    I have a feeling that you would have better luck posing this type of question in the Android Developers Forum -
  4. I have it posted up on Android SE, but no responses.

    On XDA I posted it up in the HH thread since there wasn't any other thread specific to automotive head units, but I think I'll just post it up as a new thread in General. Thanks!
  5. pigrew

    pigrew Member

  6. I've already tried most of the input device scan codes enumerated in the various keyboard config files found on the head unit, but these only appear to invoke native Android functions rather than these touch key functions. Allegedly, all input devices should have a character map stored somewhere that dictates how each input key's scan codes will be interpreted, but I've yet to look further into that regard. As for the power key input, I believe they are referring to `keyevent 26` which on the head unit only toggles the display on and off, rather than being the equivalent of the Audio button.
  7. To remove this ad click here.

Share This Page