Remapping the left button of Moto G9 Power

Hi all, I have /e/OS on my Motorola Moto G9 Power. I would like to remap the left hardware button, which is originally used to open Google Assistant. I found this post with instructions how to do it on a Xiaomi model. I was wondering whether it would be useful, and also safe, to try these instructions on my own phone? I haven’t installed or used TWRP before, but I am comfortable with CLI.

Any tips or advice is welcome, thank you!

1 Like

Hi,

No need for TWRP if you have /e/OS Recovery.

But with modern Android (I tested on A15), you can’t write files to system partition anymore :confused:
:warning: trying to re-write (as in “modify”) files to system partition, in recovery, will delete them!

Best bet would be to compile the ROM on your own, with a modified source file for keymaps.