android-touch-record-replay icon indicating copy to clipboard operation
android-touch-record-replay copied to clipboard

mysendevent: permission denied (recompiled) + request for 64-bit support

Open akivura opened this issue 6 years ago • 11 comments
trafficstars

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.

akivura avatar Oct 28 '19 01:10 akivura

Can you try to make the file from this repo executable? instructions

You can do it by running the command: chmod +x mysendevent

or

image

Cartucho avatar Oct 28 '19 20:10 Cartucho

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.

akivura avatar Oct 31 '19 21:10 akivura

I had the same issue and @akivura answered worked for me. Thanks

teriblus avatar Nov 05 '19 18:11 teriblus

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

Cartucho avatar Nov 05 '19 19:11 Cartucho

@akivura could you give it a try with the new executable mysendevent-arm64 that we added to the repo.

Cartucho avatar Dec 09 '19 18:12 Cartucho

@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 (:

Cartucho avatar Mar 26 '20 07:03 Cartucho

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 avatar Apr 21 '20 20:04 AMerkuri

@AMerkuri thank you for the info, it didn't work on the Emulator?

Cartucho avatar Apr 23 '20 07:04 Cartucho

@AMerkuri thank you for the info, it didn't work on the Emulator?

Yes on NoxPlayer.

AMerkuri avatar Apr 23 '20 07:04 AMerkuri

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.

kajeagentspi avatar May 17 '20 20:05 kajeagentspi

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.

HippyS avatar Feb 22 '21 14:02 HippyS