android-keyboard-gadget icon indicating copy to clipboard operation
android-keyboard-gadget copied to clipboard

Stuck on opening

Open TheRealSalad opened this issue 4 years ago • 10 comments

Xiaomi Redmi 7A Kernel 4.9.112 Android 9, Miui 11.0.7.0 global Magisk 20.4 Recovery PitchBlack 64bit (system is 32bit)

Once i start the app, only this text show us: opening /dev/hidg0 and /dev/hidg1 and it is stuck here. I have also turned on hid keyboard and mouse in usb gadget tool and allowed magisk root perms. (Rucky from nethunter store works fine). The weird this about this is that the app worker only once, i dont know what i did to make it work, but it doesnt now. Thanks for answers.

TheRealSalad avatar Jan 09 '21 13:01 TheRealSalad

Exactly the same issue here and with the same device.

Kernel 4.9.250 Android 10, HavocOS 3.12 Official GSI ROM (running as ARM64 with custom vendor) Magisk 21.2 OrangeFox Recovery Project R11 64 bit

Device shows correctly as keyboard and mouse in computer.

Flopster101 avatar Jan 14 '21 02:01 Flopster101

So, after some digging, i have found this error when opening: Failed to get file list remote.hid.keyboard.client

TheRealSalad avatar Jan 28 '21 13:01 TheRealSalad

Also, after few minutes of running the app, i have found those:

remote.hid.keyboard.client/ remote.hid.keyboard.client.MainActivity#O] disconnect: not connected (req=1) (BufferQueue Producer)

remote.hid.keyboard.client/ remote.hid.keyboard.client. MainActivity#0] dequeue Buffer: BufferQueue has no connected producer (BufferQueue Producer)

remote.hid.keyboard.client/ remote.hid.keyboard.client. MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed! (InputDispatcher)

TheRealSalad avatar Jan 28 '21 13:01 TheRealSalad

  • Oneplus 7T
  • Kernel: 4.14.117-perf+
  • Android 10.0.15.HD65BA
  • Magisk 21.4

I used USB Gadget Tool to modify my configfs and the PC recognizes the phone as a keyboard successfully. I am also stuck on this message: opening /dev/hidg0 and /dev/hidg1 after granting superuser access.

Kuuhhl avatar Feb 16 '21 21:02 Kuuhhl

Asus zenfone max pro m1 Kernel 4.4.262-Project-Infinity Nebula Android 10 stock rom Magisk 22.0

Same issue here, the app is stucked at opening /dev/hidg0 and /dev/hidg1.Is there any way to temporarily fix this issue. I used the USB Gadget tool to modify the config FS. Screenshot_20210331-090855

enn25 avatar Mar 31 '21 03:03 enn25

So, recently, i installed a custom rom named CrDroid with android 10 to see, if it would make any difference, and it actually worked, the rom is based on 64 bit core. Some more info;

Kernel: 4.9.249-@AOiSPdev-g3c62dba2380a

Android 10, API 29, crDroid v 6,14

magisk 21.4 (newer version causes system to crash for some reason) amr64-v8a

Well, maybe it didn't work because of the 32 bit system? Not sure.

TheRealSalad avatar May 02 '21 10:05 TheRealSalad

Or maybe the stock roms and somewhat locked or whatever

TheRealSalad avatar May 02 '21 10:05 TheRealSalad

I had the same problem and resolved it by disabling SELinux. On my device SELinux re-enables itself after every boot, so you may have to do this repeatedly.

gatesps avatar Jul 08 '21 19:07 gatesps

download this apk and install

, then open it and give it superuser permissions and hit androidsu

and they write this:

setenforce 0

and it should already work

ferhacks avatar Aug 25 '21 18:08 ferhacks

Thank you so much, it worked

Dne st 25. 8. 2021 20:21 uživatel ferhacks @.***> napsal:

download this apk https://store.nethunter.com/en/packages/com.offsec.nhterm/ and install

, then open it and give it superuser permissions and hit androidsu

and they write this:

setenforce 0

and it should already work

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pelya/android-keyboard-gadget/issues/187#issuecomment-905768369, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASLM7XTIQRHTVVIYXBNSILLT6UYEFANCNFSM4V3TI4WQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

TheRealSalad avatar Aug 25 '21 18:08 TheRealSalad