Open akivura opened 4 years ago
Can you try to make the file from this repo executable? instructions
You can do it by running the command:
chmod +x mysendevent
or
The file from this repo is already executable when I download it, so chmod doesn't change the situation, and I got that first error again. However, when I made the file (https://drive.google.com/file/d/1eEWnOwWX8Dr1XFEKQeut9y1QT9fdJbDm/view) by https://www.reddit.com/user/Nova_Kin/ executable by using chmod, it worked well on my device. He said in a comment that the file from this repo is for 32-bit and it needs to be recompiled for 64-bit. That's where my knowledge ends. Thanks.
I had the same issue and @akivura answered worked for me. Thanks
Ohh ok, it needs to be recompiled for 64 bit then.
Could you please have a look at this answer: https://github.com/Cartucho/android-touch-record-replay/issues/18
@akivura could you give it a try with the new executable mysendevent-arm64
that we added to the repo.
@akivura @teriblus Could one of you please update the repo and give it a try with the mysendevent-arm64
file? so that people in the future do not run into the same issue as you did (:
adb.exe shell data/local/tmp/mysendevent-arm64 /dev/input/event4 /sdcard/getevent_input.txt
/system/bin/sh: data/local/tmp/mysendevent-arm64: not executable: 64-bit ELF file
Tried on Nox emulator Android 5 and 7.
@AMerkuri thank you for the info, it didn't work on the Emulator?
@AMerkuri thank you for the info, it didn't work on the Emulator?
Yes on NoxPlayer.
Ohh ok, it needs to be recompiled for 64 bit then.
Could you please have a look at this answer:
18
I compiled mysendevent using this method. You need to delete the mysendevent binary in /data/local/tmp/ otherwise it would just run the old version.
Ohh ok, it needs to be recompiled for 64 bit then. Could you please have a look at this answer:
18
I compiled mysendevent using this method. You need to delete the mysendevent binary in /data/local/tmp/ otherwise it would just run the old version.
Hi, can you please share the recompiled file for " x86,armeabi-v7a,armeabi". Thank you in advance.
I have a Samsung Galaxy Note 8 (Exynos 8895), Android 9. When I use the mysendevent from the project it gives an error:
/system/bin/sh: /data/local/tmp/mysendevent: not executable: 64-bit ELF file
Then someone refers me a version compiled for 64-bit, and when I tried, it says/system/bin/sh: /data/local/tmp/mysendevent: can't execute: Permission denied
. I don't know if I need to give further information. Thanks.