Skip to content

Instantly share code, notes, and snippets.

@barbixxxa
Last active November 9, 2020 20:26
Show Gist options
  • Save barbixxxa/23d6f3bc56b5d1c941da849d2bbe77a6 to your computer and use it in GitHub Desktop.
Save barbixxxa/23d6f3bc56b5d1c941da849d2bbe77a6 to your computer and use it in GitHub Desktop.
How to root motorola g5 (moto g5)

ROOT MOTO G5

  1. ADB - Install
  • sudo apt-get install adb
  1. FASTBOOT - Install
  • sudo apt-get install fastboot
  1. BOOTLOADER - Unlock
  1. TWRP - Install
  • Download the file to the computer at https://twrp.me/motorola/motorolamotog5.html
  • Connect the phone to the computer, restart the phone and access the recovery mode (press volume down)
  • Execute the command fastboot flash recovery /path/to/file/twrp.img
  • Reboot the phone when the installation succeeds
  1. MAGISK - Install
  1. VERIFY - Execute
  • adb shell
  • su
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment