Xtr126 / XtMapper

Advanced keyboard and mouse input mapping tool
https://xtr126.github.io/XtMapper-docs
GNU General Public License v3.0
189 stars 21 forks source link

android x86 9 xtmapper problem #6

Closed kahunama closed 1 year ago

kahunama commented 1 year ago

After android x86 9 xtmapper is installed, the interface opens normally, click active with su and then click overlay prompt to reactivate. When searching /storage/emulated/0/Android/data/xtr.keymapper/files in the file manager, xtmapper.sh is not found, and xtmapper cannot work! The same is true for reinstalling xtmapper! I don't know what the problem is, it's the same in several versions.

Xtr126 commented 1 year ago

I have also experienced this problem in certain Android ROMs, sometimes restarting the app fixes it. But it didn't happen in Bliss OS so I didn't care about it that much. I will look into this issue, thanks for your report. You could also run this command chmod 777 -R /storage/emulated/0/Android/data/xtr.keymapper and try again. If the script wont get written at all, use this command in terminal with root (su) to run the remote service env LD_LIBRARY_PATH=$(echo /data/app/*/xtr.keymapper*/lib/x86_64) CLASSPATH=$(echo /data/app/*/xtr.keymapper*/base.apk) /system/bin/app_process /system/bin xtr.keymapper.server.InputService

kahunama commented 1 year ago

I have also experienced this problem in certain Android ROMs, sometimes restarting the app fixes it. But it didn't happen in Bliss OS so I didn't care about it that much. I will look into this issue, thanks for your report. You could also run this command chmod 777 -R /storage/emulated/0/Android/data/xtr.keymapper and try again. If the script wont get written at all, use this command in terminal with root (su) to run the remote service env LD_LIBRARY_PATH=$(echo /data/app/*/xtr.keymapper*/lib/x86_64) CLASSPATH=$(echo /data/app/*/xtr.keymapper*/base.apk) /system/bin/app_process /system/bin xtr.keymapper.server.InputService

Still the same problem, but I found a problem after deleting and reinstalling, I don't know if it has something to do with it.

Screenshot_20230228-234140

Xtr126 commented 1 year ago

Commit https://github.com/Xtr126/XtMapper/commit/86721e28325fac3d60c423e55c9e225dd787b3b9 fixes your issue hopefully. Closing this for now.

kahunama commented 1 year ago

After installing xtmapper1.4, the problem is the same as before. The files generated in the directory are as follows:

Screenshot_20230309-022235

Xtr126 commented 1 year ago

After installing xtmapper1.4, the problem is the same as before. The files generated in the directory are as follows:

Screenshot_20230309-022235

Can you also try with this APK? xtmapper.zip

If nothing works use this command in a root shell instead to activate:

env LD_LIBRARY_PATH=$(echo /data/app/*/xtr.keymapper*/lib/x86_64) CLASSPATH=$(echo /data/app/*/xtr.keymapper*/base.apk) /system/bin/app_process /system/bin xtr.keymapper.server.InputService
kahunama commented 1 year ago

Thank you very much for your hard work! now android x86 9.0 r2 finally works. I used the latest 1.4(5) you sent. Has been successfully run in an arcade game.

Screenshot_20230313-002912 Screenshot_20230313-005855 Screenshot_20230313-003340 Screenshot_20230313-005754

kahunama commented 1 year ago

In the billiards game in another QQ game, the mouse can also be used as a touch and click. But the mouse pointer is a bit ghosted!

But now it has improved a lot, and it is already available, and there are unexpected surprises. Thank you very much!

Screenshot_20230313-005015

Xtr126 commented 1 year ago

Good to know that it works now. Thank you for testing