Skip to content
Tenshi Hinanawi edited this page Dec 21, 2012 · 1 revision

If you have any issues at all or if you need to return it for warranty repair, just reflash your device back to stock. This makes it easy to recover from a brick.

Restore to Stock image

Here is a video guide by XDA user SladeNoctis.

  1. Turn on USB Debugging Settings/Developer Options/USB Debugging if it isn't already enabled.
  • If you do NOT see Developer Options in Settings, go to Settings/About Phone, scroll down to the bottom, and tap on the Build Number section 7 times. A pop-up should show telling you that you are "now a developer."
  1. Connect your phone to the computer via USB

  2. Check the ADB connection status with this command: If a serial number is displayed, the connection is successful

    adb devices

  1. Download the latest factory image for your Nexus device: here.

  2. Extract the factory image into the same directory as your ADB and Fastboot executables (on Windows it's "C:\android-sdk\platform-tools", on Mac/Linux dump it anywhere you like)

  3. Plug in your device. If you are booted into Android, open a command prompt to your ADB and Fastboot directory, then reboot to bootloader.

    adb reboot bootloader

Tip: If the device is off and/or Android is not available, press and hold both volume keys and the power button simultaneously. After holding all three buttons for a couple of seconds, your bootloader should launch. This should reboot you into the bootloader.

  1. Reflash the old bootloader. Replace <version-num> with the one you see in the folder.

    fastboot flash bootloader bootloader--.img

  2. Reboot your phone back to bootloader mode.

    fastboot reboot-bootloader

  3. Now type this. Replace <device> and <version-num> with the ones you see in the image filename.

    fastboot -w update image--.zip

Relock the Bootloader

Optional: If you need to relock your bootloader for warranty or security purpouses, stay in bootloader mode and run this in the computer:

Use this command to relock the bootloader.

fastboot oem lock

If your tablet hasn't already rebooted automatically, type

fastboot reboot

Sources

BA Logo

Bibliotheca Anonoma

Android Development Codex

Note: All non-Android projects have moved to the BASLQC Wiki.

Introduction

  • Introduction - A quick intro to the rationale and ideals of this guide, and smartphone modding in general.
  • General Setup - Learn how to install and run the tools you need to succeed.
  • Device Guides - Customized, fully decked out guides for rooting each and every device we could find.
  • General OS Customizations - General customizations that work on all devices of a specific OS.

Content Guidelines

  • General Guidelines - The ideals that you should uphold while working with and editing this guide.
  • Device Guide Templates - Templates and general guidelines for creating customized guides for a device.
  • Linux - Run a full desktop OS on your little mobile device; research is being made to make it comfortable to use in the mobile space.

Reference

  • Glossary - Contains all the crazy acronyms and word soup that you'll need to wade through when using this guide.
  • Android Buying Guide for Modders - While modding can fix up an outdated device, it will make your life easier to buy the right device from the start.
Clone this wiki locally