页面

2015年7月26日星期日

Install Nexus 5 Android 5.1 Lollipop LMY47D Factory Image

Install In

Android 5.1 roll out is live now
Android 5.1 Lollipop Factory Image has been made available for download for the Nexus 5 smartphone. Follow the instructions listed in this post if you want to learn how to successfully flash this new LMY47D Android 5.1 file for your device.
This guide below will teach you how to flash anAndroid 5.1 factory image for your Nexus 5, but you should know that it will ‘factory reset’ the device in the process. However, note that you can work around the ‘factory reset’ process by modifying the Nexus 5 installation script file before starting the flashing process – you will find more about this in the tutorial.
Before starting the installation you need to check the guidelines below:
  • use this post only for the Google Nexus 5 smartphone.
    – do not attempt to install the factory image that you will find in this post on any other different device.
  • in case your Nexus 5 is rooted or it runs on a custom Recovery, then you should know that the process will remove these changes from your device.
  • the installation of Android 5.1 Lollipop LMY47D factory image will restore your device to its stock state.
  • you will also be asked to ‘unlock bootloader’ during process.
    – if your device is on an unlocked bootloader already, then you won’t lose the data that’s stored on your device.
  • make sure to backup and save all the important files before starting installation.
  • in the tutorial you will find a small workaround that teaches you how to avoid the ‘factory reset’ process.
    – every time someone installs a ‘factory image’ on their device the flashing process usually wipes clean the smartphone, but you can avoid that.
  • if your device sports a custom ROM now, then you can’t avoid the ‘factory reset’ process, which means that you will lose all data from your phone and your device will be restore to its original state.
  • enable USB Debugging for your device from Developer Options before starting Android 5.1 LMY47D factory image installation.
    – if Developer Options doesn’t appear under Settings, then you should go to About Phone and tap 7 times on ‘build number’ section.
    – after Developer Options is unhidden you will find it in Settings menu, scroll down and open it, then enable it and tick the ‘usb debugging’ option.
  • check the phone’s battery charge level, make sure that it is over 50% so that your Nexus 5 won’t power down during the installation process.
  • this is a tutorial that has to be used only by advanced Android users.
  • we cannot be held responsible in case you lose any data nor in case you end up bricking your Nexus 5.
  • read the whole guide and don’t skip any steps.
  • in case you need more help completing the guide you should use the comments field.
Now that your know all of the above you can continue to the next part of this post.

How to flash Android 5.1 LMY47D Lollipop factory image for Google Nexus 5:

IMPORTANT:
Users who are installing the update over another stock Android 5.x Lollipop firmware can avoid the ‘factory reset’ by editing the ‘flash-all.bat’ script. Here’s how to do it:
  • after you download the LMY47D Lollipop 5.1 factory image file you should extract its archived contents.
  • go to ‘flash-all.bat’ script and open it in a file editing tool.
  • remove the -w characters from the line of commands and then save changes.
  • close the file editing tool and continue to the next part of this post.
SETUP Android SDK and install Google USB Drivers:
  1. Download Android SDK ADB Bundle here.
  2. Extract its contents and place them on the C: partition of your computer.
  3. Find and launch the Android SDK manager. Confirm the installation of all drivers.
  4. Download Google USB Drivers zip here.
  5. Extract and then connect your device to your PC in order to install / update the Google Nexus 5 USB drivers.
If the Nexus 5 is not detected by your PC, then you should retry to install the usb drivers up until the phone is recognized.
Install Android 5.1 LMY47D Factory Image for Nexus 5:
  1. Download the Lollipop 5.1 LMY47D tgz file from here.
  2. Extract the archived contents of the factory image file and save them on your PC.
  3. Boot the Nexus 5 Bootloader Mode.
  4. Launch Windows CMD in the folder where you’ve placed all the Android 5.1 factory image files.
    – do it by pressing and hold SHIFT, right click on the folder’s empty space and select the ‘Open command window here’ option from the context menu.
  5. Use the USB cable and connect your Nexus 5 to your PC.
  6. After the phone is connected you should enter adb devices text in the command prompt.
    – if the phone has been detected you can continue to the next step.
  7. Unlock the N5 Bootloader by entering fastboot oem unlock– if your device is already on an unlocked bootloader you can skip this step, as otherwise you will lose all data once again.
  8. Start the Android 5.1 LMY47D installation now by launching the flash-all.bat script.
    – confirm the process.
    – now you need to wait until the flashing process is complete.
  9. After the installation is complete you can press any key when asked in order to reboot the Nexus 5 in Android 5.1 for the first time.
NOTE: the first boot process of this new ROM takes a while before it loads all the new files, don’t press any buttons.
If the first boot takes more than 30 minutes and it doesn’t boot or the phone enters into a boot loop, then you will be forced to repeat the whole guide more than once. If you need more help use the comments field below.

没有评论:

发表评论