Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mirror my phones broken screen to my laptop via usb cable. #4759

Open
Rynoxl opened this issue Mar 14, 2024 · 6 comments
Open

Mirror my phones broken screen to my laptop via usb cable. #4759

Rynoxl opened this issue Mar 14, 2024 · 6 comments

Comments

@Rynoxl
Copy link

Rynoxl commented Mar 14, 2024

My phone has a broken screen and I need to see whats on it so I can save anything important?

@rom1v
Copy link
Collaborator

rom1v commented Mar 14, 2024

Is USB debugging enabled?

@ccsol01
Copy link

ccsol01 commented Mar 15, 2024

@rom1v , I need help! Here's the scenario:

1 - My girlfriend broke my screen (Honor Magic 2, running HarmonyOS 4);
2 - I turned my device off (stupid me, want to kill myself!);
3 - I have a pattern to unlock boot, so now I'm stucked;
4 - ADB don't recognize device, but fastboot does (in recovery mode?);
5 - ADB over WiFi was enabled but can't connect to device. Connection refused;
6 - Tryied an usb hub with HDMI but no success;
7 - Tryied some solutions that I've found around here, but got a little bit confused with all the information;
8 - Running scrcpy v2.1 on Windows 10 Pro with no privileges.
9 - Haven't tryied Linux yet.

Pardon my English ;D

@rom1v
Copy link
Collaborator

rom1v commented Mar 15, 2024

ADB don't recognize device

So you need to enable USB debugging, which is difficult without seeing the screen.

If you have another identical device, you could try to record the actions needed to enable USB debugging (#4556) and replay them on your device. But this won't be simple for the pattern to unlock boot (I'm not even sure OTG mode works during boot).

Talkback might also help apparently (#4718).

@ccsol01
Copy link

ccsol01 commented Mar 15, 2024

Right. But if remember USB debugging was enabled. Well, thanks for now.

@rom1v
Copy link
Collaborator

rom1v commented Mar 15, 2024

If you get nothing in adb devices, then it is not enabled (or the device is not detected).
If you get device unauthorized, then it is enabled, and it can be authorized: https://www.reddit.com/r/AndroidQuestions/comments/15ypn04/comment/jxdtsql/

@ccsol01
Copy link

ccsol01 commented Mar 15, 2024

It is detected by fastboot. Saw something about Windows drivers...I'll try on Linux, when I have the opportunity. Thanks @rom1v

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants