|
| 1 | +# Remote-Screen-Scrcpy |
| 2 | + |
| 3 | +A simple **wireless screen mirroring tool** for Android devices using **scrcpy** and **ADB**. |
| 4 | +Mirror your Android device to a PC over Wi-Fi without keeping the USB cable connected. |
| 5 | + |
| 6 | +--- |
| 7 | + |
| 8 | +## Features |
| 9 | + |
| 10 | +- Mirror Android device to PC over Wi-Fi. |
| 11 | +- Launch scrcpy with the device screen off while keeping it awake. |
| 12 | +- Automatic detection of device IP for Wi-Fi connection. |
| 13 | +- Simple one-click batch script for setup. |
| 14 | +- Works with Windows (tested on Windows 10/11). |
| 15 | + |
| 16 | +--- |
| 17 | + |
| 18 | +## How to Use |
| 19 | + |
| 20 | +1. Connect your Android device via **USB**. |
| 21 | +2. Enable **USB debugging** in Developer Options. |
| 22 | +3. Run `main mirror.bat`. |
| 23 | +4. The script will: |
| 24 | + - Detect your device over USB. |
| 25 | + - Get the Wi-Fi IP of your phone. |
| 26 | + - Enable **ADB TCP/IP mode**. |
| 27 | + - Disconnect USB. |
| 28 | + - Connect over Wi-Fi and launch scrcpy. |
| 29 | +5. Enjoy wireless screen mirroring with your device screen turned off but device awake. |
| 30 | + |
| 31 | +--- |
| 32 | + |
| 33 | +## Optional scrcpy Flags |
| 34 | + |
| 35 | +- `--turn-screen-off` – Turns off device screen while mirroring. |
| 36 | +- `--stay-awake` – Prevents device from sleeping. |
| 37 | +- `--max-size 1080` – Limits resolution to 1080p for smoother streaming. |
| 38 | +- `--bit-rate 8M` – Sets video bitrate (higher = better quality, more network usage). |
| 39 | + |
| 40 | +--- |
| 41 | + |
| 42 | +## Notes |
| 43 | + |
| 44 | +- Make sure both your PC and phone are on the **same Wi-Fi network**. |
| 45 | +- If the script fails to detect the phone, reconnect via USB and ensure **ADB drivers** are installed. |
| 46 | +- Tested on Windows 10/11 (home/pro). |
| 47 | + |
| 48 | +--- |
| 49 | + |
| 50 | +## License |
| 51 | + |
| 52 | +This project is licensed under the **MIT License**. See the [LICENSE](LICENSE.txt) file for details. |
0 commit comments