How to send keyevents in recovery mode (TWRP)

The soft keys on my phone are not working. I am trying to install Gapps aroma pack, but cannot continue the installation after the GUI loads due to the non-responsive soft keys. How can I send a key event when in recovery mode? I am using TWRP.

I have tried mounting /system and directly calling /system/bin/input and /system/bin/sendevent. But they are not working. I think the binaries from CyanogenMod are not compatible with TWRP.

Thank you.

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by elmo.little
2 hours ago
Last post by melyssa65
3 hours ago
Last post by cara54
4 hours ago
Last post by pansy.heaney
4 hours ago
Last post by pierre54
55 minutes ago
Last post by cloyd23
19 minutes ago
Last post by luz.bruen
21 minutes ago
Last post by jarrod.mayert
17 minutes ago