I can easily automate input events using something like this:

adb shell input tap 300 300

And I am doing this, indeed, to automate configs exporting process for some owner installed apps.

Although, I would like to automate configs exporting process for apps installed by other phone users, but I had no success, so far. This is because other users can't enable ADB.

My phone is using Android 9 (Lineage OS).

  • @alecxs When I use ADB Input Events, the command is only going to work for user 0. I want to be able to use for users 11 and 12, for example. Feb 1, 2021 at 15:44
  • 1
    so your question is how to enable usb-debugging for multi-user?
    – alecxs
    Feb 1, 2021 at 15:50
  • if that allows me to use input for other users: yes Feb 1, 2021 at 15:54
  • 1
    – alecxs
    Feb 1, 2021 at 16:07
  • @alecxs I really apreciate it but there's nothing I can do, since I don't know how to enable developer options for secondary users on Lineage 16. <3 Feb 9, 2021 at 20:24


You must log in to answer this question.

Browse other questions tagged .