dysquard / pgpa

65 stars 31 forks source link

GUIDE: Fixing touch issues with Android 11 & 12 #105

Open Eidenz opened 3 years ago

Eidenz commented 3 years ago

Hello there,

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

The problems:

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:

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

Using the .bat file I attached to this issue:

Fix_Touch.zip

sergio-vilchis commented 3 years ago

Genius!

Gseed59 commented 2 years ago

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

Xwicked-knightX commented 2 years ago

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

Eidenz commented 2 years ago

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

yh888 commented 2 years ago

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

Eidenz commented 2 years ago

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.

Rafael-Nicolau commented 2 years ago

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...

azadiran59 commented 2 years ago

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

Bion88 commented 2 years ago

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