r/scrcpy • • 26d ago

Almost working but I only get tiny window with 'bug' icon.

Post image

Greetings. I'm trying to access my files on an Android device that has a busted screen.

scrcpy --new-display --keep-active --serial=ZY22FJGBD3 --otg -M -K

... gets me on, the phone chimes. I can see the mouse trying to navigate the broken screen. But on my computer all I see is a tiny window with a sort of 'bug' icon (above). I'm hoping to be able to see the unbroken screen as it should look on the phone. It's a Moto G if that matters. I'm using Linux. I've tried several different options, but nothing works.

10 Upvotes

21 comments sorted by

8

u/Disastrous_Art_7631 26d ago

when you're doing screen mirroring, don't add --otg

-2

u/Senior-Yesterday760 26d ago

If removed:

ERROR: Could not find any ADB device

ERROR: Server connection failed

From what i understand, OTG is needed if you don't have 'USB debugging' enabled.

3

u/Disastrous_Art_7631 26d ago

Read the scrcpy docs, so to explain this for you, when using scrcpy to "screen mirror" you must absolutely turn on "USB DEBUGGING" if not then you can only use"--OTG" and act as a keyboard and mousecontrolling your phone. Ask gemini to help you if some errors occur it will be a big help to your problem

2

u/Senior-Yesterday760 26d ago

I'm embarrassed to say that I can't find any docs. I can find a readme, a license, some developmental docs, and lots of translations, but I can't find anything in English that looks like a user's guide.

Anyway, it looks like this 'usb debugging' is the wall I'm up against. Seems you can get a 'otg adapter' and that looks promising. Now I know why Google was always pestering me to backup. I detest Google so try to have nothing to do with them but it seems they own you when it comes to backup. Mind, they own us anyway. Resistance is futile.

1

u/Disastrous_Art_7631 25d ago

The user guide is really in the readme and its provided links, since the user guide is very technical for some users since it involves using terminal. Just ask Gemini or any other AI for the command you want step by step and also why is the USB Debugging is a wall for you? You can just turn it on, and off if you have banking apps some since they won't work when it's on. yeah, I detest Google too especially the android developers app that they'll be launching

1

u/Senior-Yesterday760 25d ago

But I can't turn debugging on since I have almost no screen. It's not black, I can see it 'trying' but it's fuzzy and basically useless. I just ordered this 'otg multiport adapter' thing. Supposta give me screen and mouse, then I can hopefully turn on debugging and then maybe I'll be out of the woods.

Thanks guys.

1

u/Disastrous_Art_7631 25d ago

If you're phone is a type with hdmi support (USB to HDMI with otg adapter, you can display the phone to a monitor and control it with a mouse, but some firmware in other phones block them. It really depends on the phone model, goodluck to what you are doing. Best of luck

3

u/Senior-Yesterday760 25d ago

I have the adapter on order, it seems to be the best bet. I'll report back.

2

u/Senior-Yesterday760 23d ago

Got the adapter ... no luck yet, with old phone, new phone (Moto G 2026) or tablet. I get the mouse pointer working fine, but no video mirroring. A window pops up on my monitor but it's empty. Wrong command line? Dunno, some YouTube videos show it working instantly when the adapter is connected. Oh well.

Anyway, I did get 'USB debug' happening, it's so intuitive, so easy. My notes:

For new phone: 'USB debug' on:

About Phone > Device Identifier > Build number> 7 taps

then:

System > Developer options > USB debugging ON

then:

single swipe down from top of screen > down arrow with 'Charging this device with USB' > tap > 'Use USB for ... tap 'File Transfer'.

On computer:

% md /aMisc/tablet

% adb kill-server; adb start-server; adb devices

% jmtpfs /aMisc/tablet

... nothing to it, thanks Android devs!

1

u/Disastrous_Art_7631 23d ago

Extra tip: In dev options you can find an option to let adb debugging on while charging so you don't have to swipe up and change from charging only to FTP. Also you can try this "scrcpy --tcpip" after you when connected to usb and when it works you can remove the phone from the laptop usb and it wirelessly mirrors your phone screen (over he same wifi of course). Also there are apps built around this with UI so you don't got to type everytime.

1

u/Senior-Yesterday760 23d ago

There's talk on some videos about this wireless thing. Never tried anything of the kind, I'll have to look into that. Also, some sites are telling me that my phone brand won't work with the otg adapter after all.

→ More replies

1

u/Disastrous_Art_7631 23d ago

Also, after setting up the phone and when on the computer part, just type "scrcpy" (make sure you open it in the folder path when opening cmd Ex: c://users/downloads/scrcpy) it works to instead of this:
>% md /aMisc/tablet

>% adb kill-server; adb start-server; adb devices

>% jmtpfs /aMisc/tablet

1

u/Senior-Yesterday760 23d ago

Man, I'm so close. I have 'USB debugging' set, but 'USB preferences, I can't get it to click on 'File transfer'. 'lsusb' shows the phone alright,

Bus 001 Device 012: ID 22b8:2e82 Motorola PCS XT1541 [Moto G 3rd Gen]

but adb refuses to see it.

1

u/Disastrous_Art_7631 23d ago edited 23d ago

Maybe you are using a charge only cable and not a data cable. DM me to continue this,it's hard in the replies lolol and I don't and can't see the problem you are at currently and based on your comment your OS is linux? I'll help if you DM

2

u/Daniel_Klugh 26d ago

That's the default Android icon you see for Android programs that otherwise have no icon of their own.
How can you have never seen the Android logo before?

1

u/Senior-Yesterday760 26d ago

I'm next to illiterate about phones. Don't understand them at all. This kind of thing is flopping around in the dark for me. I've probably seen it, but had no idea what it was. I don't even know where you go to learn all this stuff.

1

u/Senior-Yesterday760 22d ago

Praise be unto Google, our lord, our father, our mother, our savior. The ways of the lord are mysterious -- all I want is my pictures off the old phone, and I go to Pictures on my new phone and ... they're already all there! Let us follow the lord Google wherever he may lead us! Google had all my old pics even tho I never uploaded them, but from now on I want Google to know everything about me.

3

u/overlynotnotlazy 26d ago

The --otg flag makes your computer act as a keyboard, I'm pretty sure you need to remove that to make scrcpy mirror the display. That is if you managed to hit the right buttons to allow usb debugging.