Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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? #54

Open
EspenYan opened this issue Jul 7, 2020 · 2 comments
Labels

Comments

@EspenYan
Copy link

EspenYan commented Jul 7, 2020

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
  1. 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
  1. 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
Copy link

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

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

@issue-label-bot issue-label-bot bot added the bug label Jul 7, 2020
@sb00820016
Copy link

Hello...I know I am bit late. I am facing the same issue. Have you found any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants