Created
March 15, 2024 20:56
-
-
Save rios0rios0/32fddd8d4bf0fba0d1f9f63f8abe2e2a to your computer and use it in GitHub Desktop.
Android Debug Bridge (ADB) First Run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo usermod -aG plugdev $LOGNAME | |
sudo vi /etc/udev/rules.d/51-android.rules | |
lsusb | |
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4ee7", MODE="0666", GROUP="plugdev" | |
sudo udevadm control --reload-rules | |
adb tcpip 5555 | |
adb forward tcp:5555 tcp:5555 | |
adb connect 10.0.0.202:5555 | |
adb reverse tcp:9090 tcp:9090 | |
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment