My screen is cracked and I'm using an app called Vysor to be able to view the phone and to transfer files when my new phone comes in.

The problem I'm running into is that even though I'm in developer mode and I'm allowing usb debugging, the phone is not allowing Vysor to connect automatically and asks me to hit the "allow this app to connect" prompt. As the screen has deteriorated I cannot see that prompt anymore. If I revoke the permissions, I won't be able to see where to always allow next time I try and connect because the screen is hosed.

Is there a way to do this through the ADB command line, to revoke and then allow the app always? Or is there any other way to work with this?

  • 1
    If the dialog is usable via keyboard you could try to send key-events via adb: stackoverflow.com/a/8483797/150978 – Robert Jun 29 '20 at 16:26
  • are you talking about adb connection dialog RSA-key that of course can't accepted via adb. if adb already authorized you can just use scrcpy or adbcontrol – alecxs Jun 29 '20 at 18:32
  • If you still can connect via ADB, it might suffice to push the ADB key to the correct place. Not sure, though, as I never tried that. – Izzy Jun 29 '20 at 19:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.