Update Android version on Nexus 7

Without losing data!

  1. Download correct Android factory image from Google (e.g. for Android 4.3 on Nexus 7 wifi: https://developers.google.com/android/nexus/images#nakasijwr66v)
  2. Flash the new bootloader from the image (e.g. for Android 4.3 on Nexus 7 wifi: bootloader-grouper-4.23.img)
    1. adb reboot bootloader
    2. fastboot flash bootloader bootloader*.img
    3. fastboot reboot-bootloader
  3. Update to new version of Anroid by updating from the factory image
    1. fastboot update image*.zip

Done! No data or user account deleted!

Rooting

Rooting a Nexus 7 is very easy but requires an unlocked bootloader and a custom recovery. I recommend using TWRP.

  1. Flash TWRP from here (fastboot flash recovery FILENAME.img).
  2. Reboot into recovery (adb reboot recovery or hold Power+VolDn, then select Recovery).
  3. Flash SuperSU from this post. I’ve seen some people complain that doing so via CWM doesn’t work, but flashing through TWRP and selecting Fix Superuser Permissions at the end does the trick.
  4. You should be rooted.

http://www.androidpolice.com/2013/07/26/how-to-update-your-2012-nexus-7-to-android-4-3-jwr66v-and-root-it-right-now/