how to use it ?!!!
i have debain system I'm using scrcpy and i found this tool to make device connecting automatic i follow all steps but when reach to this path ~/.cargo/config not found Config file so i make one I'm not sure is it the right way ? and after finish everything what i shall i do ?
i follow all steps
Which ones? What did you execute?
You must install the the Rust toolchain first to build it: https://www.rust-lang.org/tools/install
Good afternoon. I have two Android devices. tablet and a smartphone. On the tablet The SCRCPY works extremely well. On the smartphone (GALAXY NOTE 20 ULTRA) I can not connect. How could I know why this happens. Thank you.
A "FLASKH" APPEARS ON THE SCREEN AND DISAPPEARS. Nothing happens
"FLASH"
i follow all steps
Which ones? What did you execute?
You must install the the Rust toolchain first to build it: https://www.rust-lang.org/tools/install
yes i already install it i follow all your steps should i execute a file after finish all steps ?
I can't write english well my env : windows 64bit, android
plug in Phone
- find devices serial install scrcpy folder open "command prompt" ex) ~\scrcpy-win64-v2.3.1>
Ctrl C+V
adb devices
this's list of devices serial and copy anywhere to use
2-1. install rust 2-2. intall visual studio C++
3-1. download source https://github.com/rom1v/autoadb Code Button at the top of the page and Local, download ZIP "autoadb-master" & Unzip
3-2. build autoadb-master folder open "PowerShell" //must be PowerShell not command prompt windows key + R, shell:startup <= PowerShell
PowerShell in autoadb-master folder ex) ~~~~\autoadb-master>
Ctrl C+V
cargo build --release
created target folder and close PowerShell
3-3. check command autoadb into "target" folder, into "release" folder open "command prompt" "Must command prompt" windows key + R, cmr in command prompt ex) ~\autoadb-master\targer\release>
Ctrl C+V
autoadb printf 'Device connected\n'
and check serial before copyed
and close command prompt
3-4. autoadb setting ctrl+c, all file in release folder and ctrl+v, all file to "scrcpy folder" "scrcpy folder" where "scrcpy.exe" is located
and open must "command prompt" ex) ~\scrcpy~~~>
Ctrl C+V
autoadb scrcpy -s copyed_serial
input copyed serial instead of "copyed_serial"
you did it unplug & re type or copy "autoadb scrcpy -s copyed_serial" wait for it, wait for it just "_" not working now plug phone and pop up the phone screen
====================================================== not enough
I want start windows auto stard autoadb and waiting pluging if plug in run without console
-
you don't miss copyed_serial still using
-
copy "scrcpy-noconsole.vbs" file ex) installed_scrcpy_folder\scrcpy-noconsole.vbs
paste same local &rename the copy to you want ex) you_want.vbs
open "you_want.vbs" to Notepad
strCommand = "cmd /c scrcpy.exe"
to
strCommand = "cmd /c autoadb scrcpy -s copyed_serial"
and save
Create Shortcut for you_want.vbs https://www.wikihow.com/Create-a-Desktop-Shortcut
shortcut file
Ctrl X
This PC \ C Dive\User\the_name_you_set\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Ctrl V
-
check Now computer turn off & on plug in usb-c to Phone "pop up"
-
Apply options if you want apply option open to Notepad "you_want.vbs" file
strCommand = "cmd /c autoadb scrcpy -s copyed_serial"
paste "copyed_serial" after
ex)
strCommand = "cmd /c autoadb scrcpy -s copyed_serial --turn-screen-off --stay-awake"
save
E N D
just download and upzip this zip file to scrcpy folder in exists scrcpy.exe file autoadb.zip
ex) i'm using noconsole, autodb, windows64bit and android12.
"scrcpy-noconsole.vbs"file edit to notepad
cmd /c scrcpy.exe
upper sentence chage to below
cmd /c autoadb scrcpy -s your_device_serial