The official Android 5.1.1 LMY48M Lollipop factory image is now live for all the 2013 Nexus 7 Wi-Fi tablets. If you want to update or to restore your tablet to its default state, then you can use the factory image files and install a clean new Android 5.1.1 OS build.

The new LMY48M Android 5.1.1 firmware packs a new StageFright security patch that should get rid of this bug once and for all. This firmware build will also be released over the air for all Nexus 7 users, but up until then you can flash the factory image in order to run it.

An Android 5.1.1 factory image removes all the files from your smartphone and it is a great method for you to restore your tablet to a stock Lollipop state. Below you can find the guidelines that you should read before starting the updating process:

  • use this post only for the 2013 Wi-Fi version of Google Nexus 7 tablets.
    - do not try to update any other different devices with the files that you will find in this post.
  • installing a 'factory image' file on your tablet is going to remove all the files from your device.
    - you can use a small workaround that will allow you to flash the LMY48M Android 5.1.1 OS as an update instead of removing all the data from you device.
    - the instructions are listed in the tutorial part of this post.
    - this workaround is only going to work only for those 2013 Nexus 7 Wi-Fi tablets running the 100% Android 5.1.1 LMY48I stock firmware build.
    - if you are running a custom ROM or an older Android build, then you will lose all data from the device.
  • backup all the important files before starting the installation part of this post.
  • make sure to enable USB Debugging option from Developer Options menu.
    - if the Developer Options doesn't show up in Settings, then you should unhide it first.
    - go to Settings> About Device and tap 7 times on the Build Number section.
    - return to Settings and there you should find the Developer Options.
    - open it, scroll down and enable USB Debugging.
  • this is a tutorial that you should use only in case you are an advanced user.
  • we cannot be blamed in case you brick your Nexus 7 nor in case you lose any data in the process.
  • check the battery charge level of your tablet and make sure that it is over 50%, it will prevent the device from powering off during installation.
  • read the whole guide and make sure not to skip any steps we've listed below.

Now that you know all of the above you can continue to the next part of this post.

How to flash Android 5.1.1 LMY48M Factory Image for 2013 Nexus 7 Wi-Fi:

If you are running 100% stock Android 5.1.1 build number LMY48I on your tablet, then you can install the 'LMY48M factory image' as an update by avoiding the whole 'factory reset' process.

Note that the small workaround listed below is not going to do anything in case your tablets runs an older Lollipop build than LMY48I or a custom ROM.

Here's what to do to avoid "factory reset" process:

  • go to the tutorial part of this guide and find the 'flash-all.bat' script file.
    - you will find the file after the new factory image files have been extracted.
  • open 'flash-all.bat' script in a file editing program.
  • now, locate the -w characters and delete them both.
    - these two characters are the ones triggering the factory reset process.
  • save the changes and continue to the next step.

Now that you've done all of the above you can continue to the next part of this post.

Next, setup the Android SDK for your computer:

  • download the Android SDK from here.
  • install the Android SDK on your PC.
    - make sure that you remember where the installation folder is located.
  • find the SDK Manager executable and open it.
  • now you should install all the SDK packages and drivers.
  • after the SDK packages are flashed you should locate the 'platform-tools' folder.
    - this is the folder where you need to place all the Android 5.1.1 factory image files.
  • download the USB Drivers from here and install them on your PC in case the Nexus 7 is not detected by your PC.

Since you've gone past all the info above you can continue to the installation process below:

  1. Download the Android 5.1.1 LMY48M factory image from here.
  2. Extract all the archived files in the LMY48M file.
  3. You have to place these files in the 'platform-tools' folder under the SDK directory.
  4. Switch off your Nexus 7.
  5. Now, boot it in Fastboot Mode.
  6. Connect your Nexus 7 to your computer using the usb cable.
  7. Go to 'platform-tools' folder where you've placed all the factory image installation files.
    - make sure that your tablet is recognized by the PC.
  8. For the Android 5.1.1 installation to start you will have to launch the 'flash-all.bat' script.
    - confirm the installation and wait until the process is done.
  9. When the Android 5.1.1 is flashed successfully you will see a confirmation shown in the Windows CMD screen.
  10. Reboot your tablet and then unplug it from computer as the installation should be successful.

Note that the first boot process of this new Android 5.1.1 LMY48M is going to take at least ten minutes before it loads all the new files.

If the first boot process doesn't go past the Nexus boot animation screen after 20 minutes or it has entered in a boot loop, then you will be forced to repeat the whole guide more than once. If you do repeat the tutorial then you will have to make sure not to skip any steps. Use the comments field below to ask for any extra help.

corner-left-up dots-three-vertical