Skip to content

Instantly share code, notes, and snippets.

View rwarner's full-sized avatar

Ryan Warner rwarner

View GitHub Profile
@rwarner
rwarner / nexus-dirty-flash-checklist.md
Last active September 6, 2016 18:11 — forked from davidofwatkins/nexus-dirty-flash-checklist.md
A simple step-by-step guide for flashing a minor update and re-rooting for Nexus devices

Nexus Dirty Flash Checklist

This is a simple step-by-step guide for flashing a minor update (e.g., monthly security update) and re-rooting for Nexus devices.

This is meant to be more of a reminder checklist for those who do this semi-regularly; if you haven't done this before or don't know much about adb and fastboot, you should probably find a more detailed guide (see here for the Nexus 5X or here for the Nexus 6P).

Option 1: OTA Sideload (Recommended)

The easiest way to update your nexus device manually is through the OTA downloads provided by Google.

Keybase proof

I hereby claim:

  • I am rwarner on github.
  • I am rwarner (https://keybase.io/rwarner) on keybase.
  • I have a public key whose fingerprint is 9A74 81C0 3347 9100 A1D0 FFF8 8D9D 8A58 4792 47C5

To claim this, I am signing this object:

@rwarner
rwarner / Refreshgitignore.md
Last active August 29, 2015 14:01
Refreshing the git ignore file in your repo after commit .gitignore

git rm -r --cached .

This removes any changed files from the index(staging area), then just run:

git add .

git commit -m ".gitignore is now working"

@rwarner
rwarner / UpdatingwithRootN5.md
Last active August 29, 2015 13:56
Updating with root on Nexus 5

#Updating with root on Nexus 5

Remember, there are three different driver installs

*Fastboot for the bootloader

*ADB for when the device is booted

*ADB for when in recovery and are at the sideload screen

@rwarner
rwarner / FlashingCustomRoms.md
Last active December 30, 2015 04:39
For reference when switching between roms or starting over.

##Upgrading or Flashing Custom Roms

###Dirty Flash

  • When you flash over a new version of a rom over an old version.

  • E.g. Cyanogenmod Nightly -> Cyanogenmod Stable / Newer Nightly

      1: Nandroid backup
      2: Format /system (in Mounts and Storage)
    

3: Format /cache (in mounts and storage)