Skip to content

Instantly share code, notes, and snippets.

@mmalchuk
Created November 18, 2017 11:13
Show Gist options
  • Save mmalchuk/8665149b7f08fdef5191c66b5c7fc60b to your computer and use it in GitHub Desktop.
Save mmalchuk/8665149b7f08fdef5191c66b5c7fc60b to your computer and use it in GitHub Desktop.

Revisions

  1. @deloz deloz revised this gist Jan 30, 2017. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -8,7 +8,7 @@ https://dl.twrp.me/hammerhead/
    https://download.chainfire.eu/supersu

    Enable USB debugging.
    Reboot into bootloader (power off, volume down + power on or adb reboot-bootloader)
    Reboot into bootloader (power off, volume down + power on or sudo adb reboot-bootloader)
    # Wait for boot loader to start
    # Install factory ROM:
    unzip hammerhead-m4b30z-factory-625c027b.zip
    @@ -25,13 +25,13 @@ sudo fastboot flash recovery recovery.img
    sudo fastboot reboot

    # Wait boot to finish for application upgrade.
    adb push SR1-SuperSU-v2.79-SR1-20161221223537.zip /sdcard/
    adb push SR3-SuperSU-v2.79-SR3-20170114223742.zip /sdcard/
    adb reboot-bootloader

    # [Wait for bootloader to start]
    sudo adb start-server
    sudo fastboot flash recovery twrp-3.0.3-0-hammerhead.img
    sudo fastboot reboot-bootloader
    # on the screen, Navigate into Recovery mode -> Install -> zip, select SR1-SuperSU-v2.79-SR1-20161221223537.zip -> Swipe to confirm Flash
    # on the screen, Navigate into Recovery mode -> Install -> zip, select SR3-SuperSU-v2.79-SR3-20170114223742.zip -> Swipe to confirm Flash
    # Reboot System

  2. @deloz deloz revised this gist Dec 25, 2016. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -11,9 +11,9 @@ Enable USB debugging.
    Reboot into bootloader (power off, volume down + power on or adb reboot-bootloader)
    # Wait for boot loader to start
    # Install factory ROM:
    unzip hammerhead-m4b30x-factory-10cfaa5c.zip
    cd hammerhead-m4b30x
    unzip image-hammerhead-m4b30x.zip
    unzip hammerhead-m4b30z-factory-625c027b.zip
    cd hammerhead-m4b30z
    unzip image-hammerhead-m4b30z.zip
    sudo fastboot flash bootloader bootloader-hammerhead-hhz20h.img
    sudo fastboot reboot-bootloader #or power off/start bootloader
    sudo fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.30.img
    @@ -25,13 +25,13 @@ sudo fastboot flash recovery recovery.img
    sudo fastboot reboot

    # Wait boot to finish for application upgrade.
    adb push SR1-SuperSU-v2.78-SR1-20160915123031.zip /sdcard/
    adb push SR1-SuperSU-v2.79-SR1-20161221223537.zip /sdcard/
    adb reboot-bootloader

    # [Wait for bootloader to start]
    sudo adb start-server
    sudo fastboot flash recovery twrp-3.0.2-0-hammerhead.img
    sudo fastboot flash recovery twrp-3.0.3-0-hammerhead.img
    sudo fastboot reboot-bootloader
    # on the screen, Navigate into Recovery mode -> Install -> zip, select SR1-SuperSU-v2.78-SR1-20160915123031.zip -> Swipe to confirm Flash
    # on the screen, Navigate into Recovery mode -> Install -> zip, select SR1-SuperSU-v2.79-SR1-20161221223537.zip -> Swipe to confirm Flash
    # Reboot System

  3. @deloz deloz revised this gist Oct 7, 2016. No changes.
  4. @deloz deloz revised this gist Oct 7, 2016. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -11,12 +11,12 @@ Enable USB debugging.
    Reboot into bootloader (power off, volume down + power on or adb reboot-bootloader)
    # Wait for boot loader to start
    # Install factory ROM:
    unzip hammerhead-mob31e-factory-90504514.zip
    cd hammerhead-mob31e
    unzip image-hammerhead-mob31e.zip
    unzip hammerhead-m4b30x-factory-10cfaa5c.zip
    cd hammerhead-m4b30x
    unzip image-hammerhead-m4b30x.zip
    sudo fastboot flash bootloader bootloader-hammerhead-hhz20h.img
    sudo fastboot reboot-bootloader #or power off/start bootloader
    sudo fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.29.img
    sudo fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.30.img
    sudo fastboot flash boot boot.img
    sudo fastboot flash cache cache.img
    sudo fastboot flash system system.img
    @@ -25,13 +25,13 @@ sudo fastboot flash recovery recovery.img
    sudo fastboot reboot

    # Wait boot to finish for application upgrade.
    adb push UPDATE-SuperSU-v2.78-20160905010000.zip /sdcard/
    adb push SR1-SuperSU-v2.78-SR1-20160915123031.zip /sdcard/
    adb reboot-bootloader

    # [Wait for bootloader to start]
    sudo adb start-server
    sudo fastboot flash recovery twrp-3.0.2-0-hammerhead.img
    sudo fastboot reboot-bootloader
    # on the screen, Navigate into Recovery mode -> Install -> zip, select UPDATE-SuperSU-v2.76-20160630161323.zip -> Swipe to confirm Flash
    # on the screen, Navigate into Recovery mode -> Install -> zip, select SR1-SuperSU-v2.78-SR1-20160915123031.zip -> Swipe to confirm Flash
    # Reboot System

  5. @deloz deloz revised this gist Sep 14, 2016. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -11,9 +11,9 @@ Enable USB debugging.
    Reboot into bootloader (power off, volume down + power on or adb reboot-bootloader)
    # Wait for boot loader to start
    # Install factory ROM:
    tar -zxvf hammerhead-mob30y-factory-7f05cd7f.tgz
    cd hammerhead-mob30y
    unzip image-hammerhead-mob30y.zip
    unzip hammerhead-mob31e-factory-90504514.zip
    cd hammerhead-mob31e
    unzip image-hammerhead-mob31e.zip
    sudo fastboot flash bootloader bootloader-hammerhead-hhz20h.img
    sudo fastboot reboot-bootloader #or power off/start bootloader
    sudo fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.29.img
    @@ -25,7 +25,7 @@ sudo fastboot flash recovery recovery.img
    sudo fastboot reboot

    # Wait boot to finish for application upgrade.
    adb push UPDATE-SuperSU-v2.76-20160630161323.zip /sdcard/
    adb push UPDATE-SuperSU-v2.78-20160905010000.zip /sdcard/
    adb reboot-bootloader

    # [Wait for bootloader to start]
  6. @deloz deloz revised this gist Aug 7, 2016. 1 changed file with 10 additions and 10 deletions.
    20 changes: 10 additions & 10 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    # Download latest Android image
    https://developers.google.com/android/nexus/images
    # Download latest Android image, "hammerhead" for Nexus 5 (GSM/LTE)
    https://developers.google.com/android/nexus/images#hammerhead

    # Download latest TWRP
    https://dl.twrp.me/hammerhead/
    @@ -11,27 +11,27 @@ Enable USB debugging.
    Reboot into bootloader (power off, volume down + power on or adb reboot-bootloader)
    # Wait for boot loader to start
    # Install factory ROM:
    unzip hammerhead-mob30p-factory-6ceae57a.tgz
    cd hammerhead-mob30p
    unzip image-hammerhead-mob30p.zip
    sudo fastboot flash bootloader bootloader-hammerhead-hhz20g.img
    tar -zxvf hammerhead-mob30y-factory-7f05cd7f.tgz
    cd hammerhead-mob30y
    unzip image-hammerhead-mob30y.zip
    sudo fastboot flash bootloader bootloader-hammerhead-hhz20h.img
    sudo fastboot reboot-bootloader #or power off/start bootloader
    sudo fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.29.img
    sudo fastboot flash boot boot.img
    sudo fastboot flash cache cache.img
    sudo fastboot flash system system.img
    # add params -S 256M if remaining memory is not enough . eg: fastboot flash -S 256M system system.img
    # add params -S 256M if remaining memory is not enough . eg: sudo fastboot flash -S 256M system system.img
    sudo fastboot flash recovery recovery.img
    sudo fastboot reboot

    # Wait boot to finish for application upgrade.
    # Re-root:
    adb push UPDATE-SuperSU-v2.76-20160630161323.zip /sdcard/
    adb reboot-bootloader

    # [Wait for bootloader to start]
    sudo adb start-server
    sudo fastboot flash recovery twrp-3.0.2-0-hammerhead.img
    sudo fastboot reboot-bootloader
    Navigate into recovery -> Install zip and install UPDATE-SuperSU-v2.76-20160630161323.zip
    Reboot
    # on the screen, Navigate into Recovery mode -> Install -> zip, select UPDATE-SuperSU-v2.76-20160630161323.zip -> Swipe to confirm Flash
    # Reboot System

  7. @deloz deloz revised this gist Jul 17, 2016. 1 changed file with 31 additions and 26 deletions.
    57 changes: 31 additions & 26 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,32 +1,37 @@
    # Download latest Android image
    https://developers.google.com/android/nexus/images
    http://www.devfiles.co/download/iLJJIo60/recovery-clockwork-touch-6.0.1.4.5-hammerhead.img
    http://www.devfiles.co/download/4MJLDH5K/BETA-SuperSU-v2.66-20160103015024.zip

    # Download latest TWRP
    https://dl.twrp.me/hammerhead/

    # Download latest SuperSu
    https://download.chainfire.eu/supersu

    Enable USB debugging.
    Reboot into bootloader (power off, volume down + power on or adb reboot-bootloader)
    Wait for boot loader to start
    Install factory ROM:
    unzip hammerhead-mmb29v-factory-6356d31e.tgz
    cd hammerhead-mmb29v
    unzip image-hammerhead-mmb29v.zip
    fastboot flash bootloader bootloader-hammerhead-hhz12k.img
    fastboot reboot-bootloader #or power off/start bootloader
    fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.28.img
    cd image-hammerhead-mmb29v
    fastboot flash boot boot.img
    fastboot flash cache cache.img
    fastboot flash system system.img
    # Wait for boot loader to start
    # Install factory ROM:
    unzip hammerhead-mob30p-factory-6ceae57a.tgz
    cd hammerhead-mob30p
    unzip image-hammerhead-mob30p.zip
    sudo fastboot flash bootloader bootloader-hammerhead-hhz20g.img
    sudo fastboot reboot-bootloader #or power off/start bootloader
    sudo fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.29.img
    sudo fastboot flash boot boot.img
    sudo fastboot flash cache cache.img
    sudo fastboot flash system system.img
    # add params -S 256M if remaining memory is not enough . eg: fastboot flash -S 256M system system.img
    fastboot flash recovery recovery.img
    fastboot reboot
    Wait boot to finish for application upgrade.
    Re-root:
    adb push BETA-SuperSU-v2.66-20160103015024.zip /sdcard/
    sudo fastboot flash recovery recovery.img
    sudo fastboot reboot

    # Wait boot to finish for application upgrade.
    # Re-root:
    adb push UPDATE-SuperSU-v2.76-20160630161323.zip /sdcard/
    adb reboot-bootloader
    [Wait for bootloader to start]
    fastboot flash recovery recovery-clockwork-touch-6.0.4.5-hammerhead.img
    fastboot reboot-bootloader
    Navigate into recovery -> Install zip and install BETA-SuperSU-v2.66-20160103015024.zip
    Reboot

    ------
    via https://www.reddit.com/r/Nexus5/comments/49dyo4/android_601_build_mmb29v_now_available/d0rws7o
    # [Wait for bootloader to start]
    sudo fastboot flash recovery twrp-3.0.2-0-hammerhead.img
    sudo fastboot reboot-bootloader
    Navigate into recovery -> Install zip and install UPDATE-SuperSU-v2.76-20160630161323.zip
    Reboot

  8. Instead of looking elsewhere, it is better to come here together revised this gist Jun 6, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -15,6 +15,7 @@ cd image-hammerhead-mmb29v
    fastboot flash boot boot.img
    fastboot flash cache cache.img
    fastboot flash system system.img
    # add params -S 256M if remaining memory is not enough . eg: fastboot flash -S 256M system system.img
    fastboot flash recovery recovery.img
    fastboot reboot
    Wait boot to finish for application upgrade.
  9. Instead of looking elsewhere, it is better to come here together created this gist Mar 29, 2016.
    31 changes: 31 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,31 @@
    https://developers.google.com/android/nexus/images
    http://www.devfiles.co/download/iLJJIo60/recovery-clockwork-touch-6.0.1.4.5-hammerhead.img
    http://www.devfiles.co/download/4MJLDH5K/BETA-SuperSU-v2.66-20160103015024.zip
    Enable USB debugging.
    Reboot into bootloader (power off, volume down + power on or adb reboot-bootloader)
    Wait for boot loader to start
    Install factory ROM:
    unzip hammerhead-mmb29v-factory-6356d31e.tgz
    cd hammerhead-mmb29v
    unzip image-hammerhead-mmb29v.zip
    fastboot flash bootloader bootloader-hammerhead-hhz12k.img
    fastboot reboot-bootloader #or power off/start bootloader
    fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.28.img
    cd image-hammerhead-mmb29v
    fastboot flash boot boot.img
    fastboot flash cache cache.img
    fastboot flash system system.img
    fastboot flash recovery recovery.img
    fastboot reboot
    Wait boot to finish for application upgrade.
    Re-root:
    adb push BETA-SuperSU-v2.66-20160103015024.zip /sdcard/
    adb reboot-bootloader
    [Wait for bootloader to start]
    fastboot flash recovery recovery-clockwork-touch-6.0.4.5-hammerhead.img
    fastboot reboot-bootloader
    Navigate into recovery -> Install zip and install BETA-SuperSU-v2.66-20160103015024.zip
    Reboot

    ------
    via https://www.reddit.com/r/Nexus5/comments/49dyo4/android_601_build_mmb29v_now_available/d0rws7o