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 luz16
1 hour ago
Last post by ollie.blick
4 hours ago
Last post by uschinner
4 hours ago
Last post by roosevelt50
3 hours ago
Last post by marisa79
4 hours ago
Last post by maude.spencer
3 hours ago
ROMs
Started by witting.reyna
Last post by schiller.xavier
2 hours ago