ADB Connect Map is a tool that scans and maps all devices that can be connected via ADB, whether through USB or Wi-Fi. It generates and maintains a device_map.json file with up-to-date device information. This map is then used to create a user-friendly menu, allowing you to easily connect to your devices via scrcpy for remote access and control.
- Automatically scans and updates a
device_map.jsonwith detailed device information. - Displays a user-friendly CLI menu for selecting a device to connect to.
- Supports both USB and Wi-Fi connections.
- Uses
scrcpyto remotely access Android devices. - Easy device selection and connection, with error handling and device authorization checks.
- Python 3.x
adb(Android Debug Bridge) installed and properly configuredscrcpyinstalled on your system (for screen mirroring)
git clone https://github.com/yourusername/adb-device-manager.git
cd adb-device-managerpip install -r requirements.txt- Install ADB and make sure it’s added to your system's PATH.
- Download
scrcpyfrom the official GitHub releases page.
brew install scrcpy
brew install android-platform-toolssudo apt install scrcpy
sudo apt install android-tools-adb
vbnet
Copy codeBefore using the tool, you need to scan your connected devices to populate the device_map.json file.
Run the following command to update the device map:
python update_device_map.pyAfter updating the device map, run the following command to start the device selection menu:
python connect_device.pyThe CLI will present a list of available devices and ask you to select one to connect to. You can exit at any time by selecting option 0.
This project is licensed under the MIT License - see the LICENSE file for details.