- download last factory image from Google Dev platform and unzip
- download last TWRP recovery for Nexus 5
- download last SuperSu version for Nexus 5
- adb devicesDevice should be listed here
- adb reboot bootloaderReboot on bootloader
- open flash-all.shin factory folder and remove-win line "fastboot -w update image-hammerhead-.zip" in order to not erase all your files and applications
- ./flash-all.shWill take some time
- adb reboot bootloader
- fastboot flash recovery <TWRP recovery file>Install TWRP
- Enter recovery on phone, enter adb sideload menu.
- adb sideload <SuperSu file>
- reboot system
- verify root on phone with "Root Checker" app
          Last active
          March 14, 2016 20:36 
        
      - 
      
- 
        Save guillaumewuip/16dca9cb54071bcd0f23 to your computer and use it in GitHub Desktop. 
    Update rooted Nexus 5 from UNIX
  
        
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment