screen mirroring | screen mirror in kali linux using android scrcpy (without installing any mirroring app).
Concepts:
- scrcpy
- ADB
Android Debug Bridge (adb) is a versatile command-line tool that lets you communicate with a device. The adb command facilitates a variety of device actions, such as installing and debugging apps, and it provides access to a Unix shell that you can use to run a variety of commands on a device. It is a client-server program that includes three components:
- A client, which sends commands. The client runs on your development machine. You can invoke a client from a command-line terminal by issuing an adb command.
- A daemon (adbd), which runs commands on a device. The daemon runs as a background process on each device.
- A server, which manages communication between the client and the daemon. The server runs as a background process on your development machine.
Requirements for screen mirroring:
Linux(i am using kali )
android devive with "USB debugging" on
android charger cable (data cable)
Basic linux understanding
adb
scrcpy
Getting Started:
Open linux terminal to start screen mirroring (as root) , install 'adb' (sudo apt install adb) and 'scrcpy' (sudo apt install scrcpy) . If scrcpy pre-installed then uninstall it using "sudo apt remove scrcpy" and then reinstall it using "sudo apt install scrcpy", because if it is pre-install then it can gave error on runtime.
screen mirroring |
I already installed it, Now come to android device.
Go to "settings" and then "About phone", now in About phone click on "Build Number (in some devices it is replaced by 'Software version')" seven times , now "Developer options" can be seen in settings"
screen mirroring |
now, go to Developer options and enable USB debugging .
Now,
Go back to your linux terminal , attach your charging cable (data cable) from android to your workstation
screen mirroring |
screen mirroring |
screen mirroring |
Comments
Post a Comment