Skip to content

Instantly share code, notes, and snippets.

@johnwatsondev
Last active February 11, 2019 11:21
Show Gist options
  • Save johnwatsondev/ce993a9134d8dfeaa177da1b1889007a to your computer and use it in GitHub Desktop.
Save johnwatsondev/ce993a9134d8dfeaa177da1b1889007a to your computer and use it in GitHub Desktop.
Root phone and install Gapp

Software

  1. TWRP --- Recovery

Install TWRP

adb reboot bootloader

fastboot flash recovery twrp-3.2.3-0-hammerhead.img

fastboot reboot
  1. CF-Auto-Root

Install it

1. extract CF-Auto-Root-hammerhead-hammerhead-nexus5.zip to folder
2. go into folder,
3. chmod 755 root-mac.sh
4. sh root-mac.sh
  1. Open-GAPPS

Download the zip package based your device.
Put the zip file to device's sdcard.
Then use the TWRP recovery to install it.

// load to recovery mode
adb reboot recovery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment