installation
Mac install adb, the easiest way is to use homebrew,
- Install homebrew: ruby -e "$ (curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- 安装adb:brew cask install android-platform-tools
connection
I am a network wireless connection, command (5555 is the default port):
adb connect 10.58.88.35:5555
Other connections can refer to: https://blog.csdn.net/c1063891514/article/details/79039384
End into the app with root privileges (shell)
- adb root
- adb remount
- adb shell
- busybox vi etc/hosts
Common Commands
- adb devices
- ...
Or direct it to see the document, the portal