Scrcpy In Kali Linux

 Scrcpy Not Working With APT

We All Know That Kali Linux Has Removed Scrcpy From Its Orignal  Repository So The
sudo apt install scrcpy 
Is Returning Unable To Locate Package Scrcpy
So, To Solve This, We Have To Manually Install Scrcpy. To Do This, We Need To First Clone The GitHub Project With This Command:
sudo git clone https://github.com/Genymobile/scrcpy.git







.









After Cloning you Have To Go To That Directory And Type ls To list Files In That Directory
cd
ls



.













After this, you have to make the 'install_release' Bash file executable. For that, we need to execute the following command:
sudo chmod +x install_release.sh







.









After this, you have to install the requirements to be able to install Scrcpy without any errors. To do this, execute the following command:
apt install git cmake pkg-config meson ninja-build gcc libsdl2-dev adb libavformat-dev libavdevice-dev libusb-1.0-0-dev


.













After this, you have to finally run the install_release.sh to install Scrcpy on your computer. To do this, run the following command:
sudo bash install_release.sh

Now scrcpy Is Installed To run It follow the steps below:-
Step 1: Install ADB (Android Debug Bridge) If you haven't already, install ADB on your computer. ADB is a command-line tool used to communicate with your Android device. Step 2: Enable USB Debugging on Your Android Device On your Android device, go to "Settings." Scroll down and select "About phone." Find "Build number" and tap it multiple times until you see a message that says "You are now a developer." Now go back to "Settings." Scroll down and select "Developer options." Enable "USB Debugging." Step 3: Connect Your Android Device to Your Computer Use a USB cable to connect your Android device to your computer. Step 4: Open a Terminal Window Step 5: Verify ADB Connection In the terminal, type the following command to ensure your Android device is properly connected: adb devices
You should see your device listed. Step 6: Install Scrcpy Scrcpy is already installed according to my previous steps. Step 7: Start Scrcpy
scrcpy
In the terminal, Run Scrcpy using the following command:

This will start the Scrcpy application and mirror your Android screen on your computer. Step 8: Control Your Android Device Now you can interact with your Android device from your computer: Use your computer mouse and keyboard to control your Android device. Drag and drop files between your computer and Android device. To exit Scrcpy, press Ctrl + C in the terminal
That's it! You can now use Scrcpy to mirror and control your Android device on your computer. Enjoy your Android experience on a larger screen

Its Done 

Now you have successfully installed Scrcpy on your computer. If you encounter any errors during the installation, please comment on this post, and I will surely reply.
That's All Thank You  

Comments

Popular posts from this blog

Introduction