openstf / minitouch

Minimal multitouch event producer for Android.
Other
639 stars 236 forks source link

The MiniTouch command is sent to the Android10 version of the mobile phone, the screen does not perform the command action, what is the reason? #67

Open EspenYan opened 4 years ago

EspenYan commented 4 years ago

I independently used MiniTouch to send commands to the following Android10 mobile phones, and the mobile phone screen did not respond to operations.

Device Information:(abi version:arm64-v8a) HUAWEI Mate20Pro:S2D7N18B26001522 device product:LYA-AL00L model:LYA_AL00 device:HWLYA transport_id:4 SamsungNote9:271ddb713f1c7ece device product:crownqltezc model:SM_N9600 device:crownqltechn transport_id:5

Here are my steps:

  1. Running the service:
    >adb shell am startservice -a jp.co.cyberagent.stf.ACTION_START -n jp.co.cyberagent.stf/.Service
    Output: Starting service: Intent { act=jp.co.cyberagent.stf.ACTION_START cmp=jp.co.cyberagent.stf/.Service }
    >adb forward tcp:1100 localabstract:stfservice
    Output: 1100
  2. Running the agent:
    >adb shell export CLASSPATH=/data/app/jp.co.cyberagent.stf-LfyY2eDJhikwqDyDVg-ayg==/base.apk;exec app_process /system/bin jp.co.cyberagent.stf.Agent
    Output:Starting minitouch agent
    Listening on @stfagent
    >adb forward tcp:1090 localabstract:stfagent
    Output:1090
  3. Run MiniTouch:
    >adb shell /data/local/tmp/minitouch
    Output:
    open: Permission denied
    Unable to open device /dev/input/event1 for inspectionopen: Permission denied
    Unable to open device /dev/input/event4 for inspectionopen: Permission denied
    Unable to open device /dev/input/event3 for inspectionopen: Permission denied
    Unable to open device /dev/input/mice for inspectionopen: Permission denied
    Unable to open device /dev/input/mouse0 for inspectionopen: Permission denied
    Unable to open device /dev/input/event0 for inspectionopen: Permission denied
    Unable to open device /dev/input/event2 for inspectionUnable to find a suitable touch device
    using Android InputManager
    >adb forward tcp:1111 localabstract:minitouch
    Output:1111

    Image of the minitouch command I sent: image

Is there a problem with my steps or the device does not support it? Thanks for answering

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.56. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.