top | item 35152555

(no title)

greatjack613 | 3 years ago

If the screen was broken how did you manage to enable debugging and perform authorization?

discuss

order

textread|3 years ago

Not OP. I faced a similar problem once.

I found a friend that owned the same model of phone as mine. I used his phone to approximately eye-measure where on the screen I have to press after entering the Settings app.

Now I repeated these presses on my phone. Luckily, although my phone was broken and the screen had become almost fully black, the touches registered.

----------- edit:- If you find it difficult to find a friend that owns your unique phone, your local mobile shop might have a demo phone for you to try out.

Or Youtube search for a video titled "How to enable debugging permissions on Samsung S8?"

anonsec123|3 years ago

I actually have the perfect(?) solution to this ridiculous problem after it happened to me a couple of months ago.

Hit the Google Assistant button, ask it to turn on "TalkBack". Now you can browse the interface the same way someone blind would browse the interface. Plug in a USB keyboard.

From here you go to the Settings page and enable Developer Tools.

maven29|3 years ago

If you have assistant disabled, holding down volume-up and volume-down buttons together on the lockscreen should have the same effect

mikelovenotwar|3 years ago

The comment said 'mostly broke', many people are familiar enough with their phones and the various screens prompts to do this without looking at all, or with a little guess work with help from various only resources, images & videos.

drewtato|3 years ago

Perhaps the prompt wasn't on the broken part? Can also plug in a keyboard and use that if you know the sequence.

rom1v|3 years ago

Note that scrcpy has an OTG mode which allows to use the computer keyboard and mouse "as if" they were connected via an OTG cable: https://github.com/Genymobile/scrcpy/blob/master/doc/hid-otg... (in that case, USB debugging is not necessary)

> Can also plug in a keyboard and use that if you know the sequence.

For information, once the phone is unlocked and the authorization popup is open, the sequence to validate the authorization popup is Tab, Enter, Tab, Tab, Enter. The difficult part is to enable USB debugging to get the authorization popup without adb though.

freedomben|3 years ago

srcpy can actually emulate a keyboard and mouse in OTG mode! Discovering that was a thrill for my use case.

forgotpwd16|3 years ago

Either was already enabled or utilized a custom recovery and modified build.prop.

textread|3 years ago

I would love to read more about this solution. Would you please direct me to the appropriate XDA forum thread please. Please...:)