Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gwparikh/2ec91e3d7691d215f893d0f5a7cda845 to your computer and use it in GitHub Desktop.
Save gwparikh/2ec91e3d7691d215f893d0f5a7cda845 to your computer and use it in GitHub Desktop.

Manual Nexus Update With TWRP, SuperSU, and ElementalX

  • (hopefully) instructions for taking OTA updates when TWRP recovery is installed

  • Will update, reflash TWRP, regain root, and (optionally) reinstall custom kernel

    1. Download these things:

    • latest factory image (what you're updating to)
    • latest TWRP
    • latest SuperSU
    • (Optional) latest ElementalX
    • Note: Check info at all downloads to make sure there are no incompatabilities (warnings about anything)
    1. Unzip factory image (twice)

    2. Install Update:


    adb reboot bootloader fastboot flash bootloader bootloader.img fastboot reboot-bootloader fastboot flash radio radio-angler.img fastboot reboot-bootloader fastboot flash boot boot.img fastboot erase cache fastboot flash cache cache.img fastboot flash recovery recovery.img fastboot flash system system.img fastboot flash vendor vendor.img

    3a. If you have a modified boot image, flash it now (you probably don't need to do this)

    fastboot flash boot modifiedboot.img

    1. Reflash latest TWRP:

    fastboot flash recovery <twrp_latest.img>

    1. Boot to recovery (using phone menu)

    2. Install latest SuperSU zip using TWRP menu

    3. (Optional) Install latest ElementalX using TWRP menu

    4. Wipe cache/dalvik

    5. Reboot system (If you are prompted by TWRP to install SuperSU, select NO)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment