pgpa icon indicating copy to clipboard operation
pgpa copied to clipboard

GUIDE: Fixing touch issues with Android 11 & 12

Open Eidenz opened this issue 4 years ago • 9 comments

Hello there,

I'm writing this for anyone who might have touch issues when using the app on newer android versions.

The problems:

  • whatever you do, the screen does not respond to touch inputs
  • you can "unstuck" the screen by touching it with 5 fingers, but your gamepad doesn't work

Why is this happening? Android keeps on adding extra security with newer updates, and they added one in Android 12 (and some A11 devices) which prevent any untrusted apps from simulating touch inputs, such as Panda Gamepad.

The solution: You must allow untrusted apps to simulate touch inputs or add Panda Gamepad as a trusted app. Here's how:

prerequisites:

  • USB debugging enabled
  • USB debugging (Security Settings) / grant permissions via USB enabled
  • Install via USB enabled (might not be required)

Doing it yourself (you need to be in an ADB environment, since you will be running ADB commands):

  • Activate Panda Gamepad (following their tutorial)
  • Open a CMD and type the following command: adb shell settings put global block_untrusted_touches 0

Using the .bat file I attached to this issue:

  • Activate Panda Gamepad (following their tutorial)
  • Unzip the Fix_Touch file to the same folder as your Panda Gamepad activator and start "Fix_Touch.bat"

Fix_Touch.zip

Eidenz avatar Nov 20 '21 18:11 Eidenz

Genius!

sergio-vilchis avatar Dec 03 '21 01:12 sergio-vilchis

Thanks for this... But now. The screen is ok.. controller work on Android .. but all button didnt work when i launch a game.... Idea ?

Gseed59 avatar Dec 14 '21 15:12 Gseed59

yes this fixs the mouse clicks not working, but keyboard key presses still not functioning..? And Ideas there?

Xwicked-knightX avatar Jan 02 '22 17:01 Xwicked-knightX

Sorry, no idea about keyboard issues.. This guide is focused around gamepads and touch issues.

Eidenz avatar Jan 02 '22 17:01 Eidenz

I updated Android 12 and then I couldn't use the touch screen, I solved it according to your solution, however it still doesn't map properly. Now decided to downgrade Android version

yh888 avatar Jan 16 '22 12:01 yh888

I updated Android 12 and then I couldn't use the touch screen, I solved it according to your solution, however it still doesn't map properly. Now decided to downgrade Android version

Please make sure you did not turn off USB debugging afterward. It needs to stay on at all times if you want to use the app.

Eidenz avatar Jan 17 '22 09:01 Eidenz

Hello, currently on a Edge e20pro with android 11 on it. I tried the fix, didn't work. I let USB debugging on, off course, activates perfectly, but can't find on this phone the option to grant permissions via USB, Your fix also says it has completed the task, but it still don't work. Don't know, but is the project abandoned? Haven't seen nothing new in the last months...

Rafael-Nicolau avatar Feb 01 '22 18:02 Rafael-Nicolau

سلام پس از به‌روزرسانی جدید اندروید (12) می‌توانم برنامه پاندا موس پرو فعال کنم. ولی وقتی داخل بازی میرم نه موس و نه کیبورد کار نمیکنه. کسی کمکم کنه . دیگه کلافه شدم میخوام دانگرید کنم

azadiran59 avatar May 02 '22 23:05 azadiran59

How to restore this setting? can you create a .bat file? Thanks

Bion88 avatar May 17 '22 02:05 Bion88