Arian04 / android-hid-client

Android app that allows you to use your phone as a keyboard and mouse WITHOUT any software on the other end (Requires root)
GNU General Public License v3.0
109 stars 4 forks source link

App doesn't work #25

Open srt54558 opened 2 months ago

srt54558 commented 2 months ago

Describe the bug Hello, the app always says "device not connected" (even tho it is) and when exporting debug log it says "error getting logs". The app didn't manage to make the phone a HID device so I used "USB gadget tool" (which I like to use more). No keys are being sent to the pc

To Reproduce Steps to reproduce the behavior:

  1. Open app
  2. Try anything
  3. See error

Expected behavior The app should work as intended; be a keyboard app

Screenshots It's only showing the built in error messages

Device details (please complete the following information):

Additional context Keyboard emulation works on "Rucky" (a app for running ducky scripts)

I love the idea and I'm so happy someone did it because the old app "USB keyboard" doesn't work (Pixel 8 Pro has no 32bit support)

Arian04 commented 2 months ago

working on some improvements right now that'll make it easier to debug some issues like this. After I get those finished I'll follow up on this.

Windows81 commented 2 months ago

Try this debug build out. I encountered a very similar problem (#29) and was able to clarify the issue a bit better. You might be in luck.

Arian04 commented 2 months ago

i was actually wondering if this was the same issue, thanks for linking the build! If it works then we have our answer, but if not then I'm working on improved debugging right now.

Arian04 commented 2 months ago

haven't made as many improvements to debugging as I planned to since I've been pretty busy but can you uninstall the app (if you still have it installed), install the latest one from the Github releases page, try it, and if it's still broken, export logs from the bottom of the settings page and attach them here.

Windows81 commented 2 months ago

(In reference to #29)

Doesn't work. I don't see any HID fallback option in the settings. Before I first boot the app, I already have had added hid.keyboard and hid.mouse to g2 through USB Gadget Tool. After I launch the app and fix character permissions, there is no observed change. Additionally, all the other functions of g1 and g2 work normally.

Thank you once again for the help!

debug_log_me.arianb.usb_hid_client_1713067249.txt

Arian04 commented 2 months ago

yea i havent added that option yet, my reply was meant for the author of this issue