Use this tutorial in order to learn how to successfully flash the latest Android 5.1 LMY47D factory image for the 2012 Nexus 7 Wi-Fi tablet. The new firmware file has been released and up until the Android 5.1 OTA Update is released by Google all the advanced user can upgrade their tablets using the factory image files.

Note that this guide usually wipes clean the tablet from all files, but you can find a small workaround in the tutorial, one that you can use to avoid the entire 'factory reset' process. Before starting the installation process you should check the guidelines below first:

  • use this post only for the 2012 Nexus 7 Wi-Fi model.
    - do not try to use this post on any other different Nexus 7 tablet version, as the instructions below aren't going to work and you will brick their firmware.
  • if your 2012 Nexus 7 Wi-Fi tablet is rooted then the root access will be completely revoked.
    - also, if there are any custom Recoveries installed on it, then these will too be wiped from your device.
  • installing an Android factory image will always restore your tablet to its factory settings.
  • if your device is running an Android 100% stock firmware then you can avoid the 'factory reset' by using the "important note" info listed in the tutorial, as it teaches you about a small workaround you can use and prevent the tablet from getting wiped completely of all files.
  • in case your 2012 Nexus 7 tablet has a custom ROM installed on it, then you cannot avoid the 'factory reset' and you will lose all data that's stored on it.
  • make sure to enable USB Debugging from Developer Options, as it allows your computer to detect the tablet.
  • check the battery charge level of your device and make sure that it is over 50%, so that it won't power off during installation.
  • this is a guide that has to be used only by advanced Android users, we cannot be held responsible in case you brick the Nexus 7 nor in case you lose any data files.
  • read the entire post and do not skip any steps.

If you are a novice when it comes to installing Android factory images for your device, then it would be best for you to stay away from this guide as there many things that can go wrong. You should wait until Google rolls out the official Android 5.1 OTA Update files for your tablet.

How to install Android 5.1 LMY47 Factory Image for 2012 Nexus 7 Wi-Fi:


If you are installing this update over a clean Android 5.x, then you should know that you can avoid the 'factory reset' using the info below:

  • after the factory image file is downloaded you need to extract its contents on your PC.
    - the download link is listed in the tutorial at step 1.
  • open the folder and then use a file editing tool in order to open the 'flash-all.bat' script.
  • find the -w characters and remove them completely.
    - without these two characters the Android 5.1 factory image installation will not trigger the factory reset command.
  • save and close the editing tool.

Setup the Android SDK for your PC now:

  • download Android SDK from here.
  • extract its contents on your PC.
  • launch the SDK Manager exe, install all the packages and drivers.
  • next, download the Google USB Driver from here.
  • update / re-install the Google USB drivers of Nexus 5 on your computer.

Now you can start the installation process of this new factory image.

  1. Download Android 5.1 LMY47D Lollipop tgz file from here.
  2. Extract the archived files on your PC and save them all to a single folder.
  3. Power off and then boot your Nexus 7 in Bootloader Fastboot Mode.
  4. Go to the folder you've extracted at step 2 and launch a command prompt there.
  5. Connect your Nexus 7 to your computer via USB Cable.
    - make sure that the PC has detected your tablet.
  6. Initiate the Android 5.1 LMY47D installation process by launching the 'flash-all.bat' script file.
    - confirm the installation process and then wait until all files are flashed with success.
  7. Reboot your tablet in normal mode after all the files have been successfully installed.

NOTE: the first boot process of this new ROM will take more than 10 minutes, but you can disconnect the device from PC while it loads all of its new files.

In case the first boot process takes longer than 30 minutes or the device enters into a boot loop, then you will be forced to repeat the whole guide more than once. Use the comments field for any extra help that you may require.

corner-left-up dots-three-vertical