Skip to content

Instantly share code, notes, and snippets.

@tkensiski
Last active August 29, 2015 14:21
Show Gist options
  • Save tkensiski/6624c469abddf88936d8 to your computer and use it in GitHub Desktop.
Save tkensiski/6624c469abddf88936d8 to your computer and use it in GitHub Desktop.
Reboot andriod with Andriod SDK
# If you do not have homebrew installed
# use this command to install it, or go check it out at http://brew.sh/
# ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# You will also need to turn on USB Debugging in the Developer Options menu under Settings.
# If that menu does not exist go to the About Phone menu and click the Build Number 7 times
# and it should make it show up
# Otherwise follow the steps below:
brew install android-sdk
android update sdk --no-ui --filter 'platform-tools'
# Accept the license...
# Plug phone into computer via usb
adb devices
# You should now see a device connected
# If not USB Debugging is not turned on or you did not accept the request to give the computer permission
adb reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment