The smartphone from Google and LG - Nexus 5 - is undoubtedly an interesting product. You can even loudly say that today this smartphone is truly the most worthy and high-quality of the entire Nexus line. We must give credit to LG for the work done. They were able to create good device for little money, which is a definite plus in the smartphone market.

Due to its popularity and streamlined design, the device receives all the latest updates from Google. What can I say? The smartphone turned out to be so successful that LG released an updated version of this device - Nexus 5X, changing only the hardware of the gadget (that is, they modernized it, making it completely modern and relevant). And the Nexus 5 works like a charm! But users often have a question: how to flash Nexus 5? Therefore, today we will devote ourselves to this problem.

Before talking about the firmware, it is worth mentioning what changes in the device’s hardware after the procedure. The essence of this “game” is to change operating system devices. What OS is pre-installed on the LG Nexus 5? That's right, Android. It is the version of Android that we will change today. For example, if you have KitKat 4.4, then you can install Lollipop or another available version on your phone using the official over-the-air device update.

What do you need to know before flashing?

First, you need to undergo some instruction before performing basic actions. In no case should we belittle these recommendations, because you can be left with nothing, that is, with a non-working smartphone. So, what do you need to know before flashing your favorite phone?

  1. The device must have a charge of at least 60-80 percent for uninterrupted use.
  2. Be sure to use only original components (USB cable, power supply, etc.).
  3. To download data (firmware, update software) you need an Internet connection with unlimited (unlimited) traffic. In principle, tariffs with limited traffic may be suitable if this does not cause you any inconvenience. If you are unsure about your tariff, be sure to check with your Internet provider.
  4. If you just need to update the software version of your Nexus 5 smartphone, then the following paragraph is at your service.
  5. If you want to install stock firmware using a computer, then go to the appropriate paragraph.
  6. If you are in doubt about your choice, read all the instructions and choose the most suitable one.
  7. The main thing for you is to remember the following fact: you do all actions performed with the device at your own peril and risk. No one guarantees the correctness of flashing using third party programs(this does not apply to official software version updates). Therefore, it is better to think carefully about your decision several times, so as not to walk around with a “brick” rather than a Google Nexus phone

Updating the operating system version over the air

If you don’t know the meaning of “by air,” then we’ll tell you. This means that the update will be performed directly from the phone itself without the use of a computer or cords.

  1. First connect to an available wireless network Wi-Fi.
  2. Now go to the “Settings” menu and find the “About device” item. Here we will need a tab called “Software Update”. Click the Update button.
  3. If your smartphone says that updates are already installed on your device, it means there are no available firmwares for your device. That is, the latest available version of the operating system is installed.
  4. Otherwise, you need to agree to download the updates and wait for it to complete. When finished, click on the Install button. After this, your Nexus 5 will begin a system update, during which the device cannot be used. Do not turn off the phone under any circumstances, do not try to reboot it, or remove the battery - you may end up with a “brick,” that is, a completely inoperative device.
  5. Only when you see the familiar home screen and a message that you have successfully completed the firmware update procedure, can you use the device as usual.

Install stock firmware

Preparatory work

  1. Charge your smartphone to at least 70-80 percent.
  2. Download the drivers https://yadi.sk/d/tj4QEzxr34GU9C and extract them into new folder on a computer or laptop.
  3. Now you will need to install the downloaded drivers. To do this, we put the Nexus 5 into Fastboot mode as follows: turn off the device, and when turning it on, simultaneously hold down the Power button and the volume down key for ten seconds.

  1. By using USB cable connect to the computer.
  2. On a PC or laptop, go to the device manager and look for our smartphone there. Click on it right click mouse and launch its properties. In the window that appears, switch to the Driver tab and click on “Update”. Now the computer will ask you to select the update method, where you must select the driver from the list of installed ones. Next, we move along the following path: first “Show all devices”, then go to “Install from disk”. Now go to the folder created in the second step and find the android_winusb.inf file there and click OK. Next, we simply install the driver using the prompts in the pop-up windows.
  3. Now download ADB and Fastboot on your PC. Please note that these programs must be installed in accordance with the computer system bit size. That is, if you have Windows x32, then download the utility for x32/86. The situation is similar with Windows x. The downloaded archive needs to be unpacked into a new folder. Do not make Russian folders or subfolders under any circumstances. For example, the program path D:\Program\ADB is incorrect. It would be correct to do this: D:\Programms\ADB.
  4. Now download the stock firmware for your smartphone. The firmware files must be unpacked into the ADB folder, which should not have other subfolders

On this preparatory work are declared completed. Be sure to check that the instructions are followed correctly so that problems do not arise in the future. Next, let’s move on to the actual firmware process itself.

Flashing

  1. To begin, repeat the third point of the previous paragraph - switching the device to Fastboot mode.
  2. Connect using a cable USB smartphone to a personal computer.
  3. The third step will be to launch the utility from the ADB folder (seventh paragraph of the previous paragraph) - the file is called flash-all.bat. All you have to do is wait until the device is flashed.

Problem Solving

Of course, it happens that not everyone is able to flash the firmware for the Nexus 5, or any other device, the first time. And often users have some problems. Most frequently asked question in such cases, it is an eternal reboot of the device. What to do?

  1. Turn off the power to the smartphone using the power button.
  2. Enter the phone into Fastboot mode (if you have forgotten how to do this, then return to the third point of the “Preparatory work” paragraph).
  3. So, now launch Recovery Mode, where you should see an Android icon with an exclamation mark. Press the power and volume down buttons again.

  1. In the menu that appears, we will need to select wipe data/factory reset. Reboot your device using reboot system now.
  2. Ready! You are amazing and have stock firmware on your smartphone.

Answers to some questions

Friends, let’s answer for ourselves some of the questions that most often arise among users even after successfully flashing the device.

  1. Will official Google updates be sent to the device over the air if I revert to stock firmware? Yes, you will receive updates as expected.
  2. Will the official warranty for repairs be void? Of course, your warranty will not expire. However, in order to return the device to the store or official service center, you will need to block the Bootloader and reset the hacking flag.

Let's sum it up

So, today we learned how to flash or reflash the LG Nexus 5 smartphone. We also looked at the solution to one of the most common problems - the device constantly rebooting. In addition, we have answered two frequently asked questions about stock firmware. Now you can consider yourself completely savvy in this matter. Good luck, dear friends! Don't forget to share your results in the comments.

And unlocking the bootloader Great news for everyone who has already purchased a brand new Nexus 5X smartphone, for those who have just decided to acquire an innovative gadget in all respects, as well as for those who have no idea how Android smartphone or the tablet can function correctly without .

Thanks to a guest on the XDA-Developers forum, user with the nickname TheDj408, we have plenty to offer you detailed instructions on obtaining Root on a new one Google smartphone Nexus 5X, with some simple manipulations you can install custom TWRP recovery on your Nexus 5X along with a modified bootloader.

Even for an inexperienced Android user, the process will not be too difficult. To get Root on the Nexus 5X, you need to activate developer mode on the device and enable USB debugging, then the gadget must be connected to a computer with installed program(as an option you can use) and then execute 2-3 commands.

To perform all these manipulations, you will definitely need zip file with SeperSU, an image with TWRP recovery for Nexus 5X and a modified bootloader ().

Important! In the process of unlocking the bootloader on the device, all your downloads and data will be erased, the Nexus 5X will simply return to factory settings, so you need to take care in advance of the safety of the personal data stored in the device’s memory.

Getting Root on Nexus 5X - detailed step-by-step instructions

1. Unlock Nexus 5X bootloader using command fastboot oem unlock, to confirm, you need to press “yes” using the power button and volume key.
2. Reboot the device, bypassing the settings, because they will have to be re-entered.
3. Reboot the smartphone again into bootloader mode (command adb reboot-bootloader), after which you need to flash the modified bootloader using the command fastboot flash boot file_name_boot.img.
4. Reboot the device again to make sure that the bootloader has been flashed correctly.
5. Reboot the smartphone into bootloader mode again using the command adb reboot-bootloader. Flash the modified recovery. To do this you need to use the command fastboot flash recovery file_name_with_recovery.img.
6. Reboot the device into recovery again, selecting the option "allow modifications".
7. Move to section Wipe by selecting "format data".
8. Reboot your Nexus 5X again, intentionally skipping the setup options.
9. Make sure that data encryption settings are not enabled on the device (settings -> security -> encrypt data).
10. Copy to internal memory smartphone zip file with SuperSU, then reboot it into recovery using TWRP to install SuperSU on the smartphone.

The final stage is to reboot the device, taking into account the full range of necessary settings. As a result of such manipulations, you will get root on the Nexus 5X.

Important! SuperSU needs to be launched from the application tray and allowed to update binary files via the network.

Need to install new firmware on a Nexus smartphone or tablet, or suddenly turned the gadget into a brick? This article will tell you in detail how to install official firmware on Nexus devices.

What is needed for firmware?

1. Computer or laptop (Windows OS)

2. Original, undamaged MicroUSB cable

3. Charge your Nexus device to at least 30%

Instructions on how to flash a Nexus device with official firmware

1. Put your Nexus into Bootloader mode

Option 1

a) Turn off the device

b) Clamp buttons at the same time Volume Down And Nutrition

Option 2

a) Run the program Adb RUN(works only when “USB Debugging” is enabled, if you have not done so earlier)

b) Connect Nexus to your computer using USB

c) Select the ADB RUN menu Reboot -> Reboot Bootloader

2. Unzip the downloaded firmware (the firmware is in two archives)

3. In the program ADB RUN go to menu Run SCRIPT

4. Move the firmware files to the explorer window that opens and close the window

5. Press the Enter button and the firmware will begin (during the firmware do not pull out the USB cable)

If you can't flash it? (Unlock Bootloader)

Some Nexus update scripts don't include instructions to unlock the Bootloader, so you'll have to do it yourself! The procedure is performed once and does not need to be repeated.

1. Connect Nexus to computer

4. After the device has rebooted into special mode, unlock Bootloader Nexus for this we return to the main menu ADB RUN and go to the menu Manual Command ->Bootloader Unlock and Lock (Nexus) -> Unlock Bootloader

On Nexus you will be asked if you want to unlock the bootloader (volume up/down keys, power selection) select YES

Possible problems with firmware

Error waiting for device

If you have for a long time in the command window the message waiting for device is lit - this means:

  • The driver is not installed or installed incorrectly - reinstall or install
  • Android device is not in Bootloader mode - switch to the appropriate mode
  • Incorrect connection to the USB port - use the rear USB ports 2.0 computers, do not use USB hubs
  • Try flashing the firmware on another computer

Sometimes there comes a turning point when the firmware gets boring and you want to sit on the “good old stock”. This instruction It is also suitable for people who have some technical problems and need to return the device under warranty (we remove the hacking flag).

Instructions for installing stock firmware on Nexus 5

All your data will be deleted. If you want to save important information, then I recommend making a backup. Everything you do, you do at your own peril and risk. The author is not responsible for the “bricking” of your device.

Preparing to flash stock firmware on Nexus 5

  • We charge the device to at least 70%.
  • Download the drivers and unpack them into any folder.
  • Installing the drivers: “First, you need to put your smartphone into Fastboot mode (Power +Volume down for 10 seconds when turned on). Then we go to the device manager -> RMB on our device -> properties -> driver -> update -> search for drivers on this computer -> select a driver from the list already installed drivers-> show all devices -> install from disk -> go to the folder with our drivers, select the file android_winusb.inf -> Ok -> Android ADB Interface -> Yes -> install."
  • Download ADB and Fastboot depending on the OS bit depth: , . Unpack the archive into any folder. It is necessary that there are no Russian letters and numbers along the way. I unzipped my folder to d:\ADB
  • Download the file with the firmware.

Installing stock firmware on Nexus 5

  • Put Nexus 5 into Fastboot mode:
    1. Turn off the smartphone.
    2. Press the Power + “Volume -” button for 10 seconds, fastboot starts
  • Connecting the device to the computer
  • Unpack the archive with the firmware into the ADB folder. It is necessary that you unpack not a folder into a folder, but precisely the files that are in the archive with the firmware into the folder with ADB. If this point is not entirely clear, you can watch the video.
  • We go to the folder with ADB (my ADB folder is located at the following path “D:\ADB”). And run the file flash-all.bat

We are waiting for the firmware to finish

If Nexus 5 is stuck in eternal loading

  1. Turn off the smartphone by holding the Power button for 10 seconds
  2. Press the Power + “Volume -” button, fastboot starts
  3. Go to Recovery Mode
  4. We see an android with an exclamation mark, hold down the Power button and volume “-“
  5. Select wipe data/factory reset and confirm the choice.
  6. And now we reboot the smartphone using the reboot system now item
  7. Enjoying the stock firmware

For those returning Nexus 5 under warranty

If you are going to return your smartphone under warranty, then you need to lock the Bootloader and reset the hacking flag, otherwise you will be denied warranty. This flag shows service center unlocked Whether the Bootloader was ever unlocked.

Resetting the "jailbreak flag" and locking the bootloader on Nexus 5


If you unlock the bootloader again, then Device tampered will take effect again true.

Detailed step-by-step instructions for flashing LG Nexus 5X (Bullhead) to the original firmware with an unlocked bootloader in Fastboot mode.

Attention!

For all further manipulations with the device, an unlocked bootloader is required. To unlock it, this instruction can help.

Installation instructions

    Create a folder in the root of the C:\ drive named " Android».

    Download the archive with the original firmware image and unpack it into the “Android” folder. Find current version available on the official website.

    Open a command prompt and go to the created folder Android team « cd c:\Android\"(commands are written without quotes).

    Connect your phone to your computer using a USB cable.

    Make sure that the computer finds the device via ADB.
    To do this you need to enter " adb devices" to the command line. When a request appears on the phone for permission to debug via ADB on this computer you must press " Ok", while selecting the item " Always allow from this computer" If the device is visible, the text “ List of devices attached" and a list of all devices (for example, xxxxxxx device). If instead of “device” it says “offline” or the list is empty, then you need to update ADB, check the drivers/cord, change USB port/computer.

    Reboot your phone into bootloader mode.
    To do this, you need to turn off the device, turn it on while simultaneously holding down the Volume Down key and the Power button, or command line enter " adb reboot bootloader" If everything is done correctly, the message will appear on the smartphone screen Start and Android “lying” on its back with open lid.

    The first time you connect to a computer in Fastboot mode, the system may ask for drivers. To install them, you must specify the path to the folder with the downloaded drivers. If this does not happen and the device is not detected, you need to go to “ device Manager", expand drop-down menu " Other devices" and double-click on the item " Unknown device "(or " Android 1.0") with an exclamation point in a yellow triangle. In the " General» click on the button « Update driver", refuse to search the network and specify the path to the folder with drivers, while activating the item " Including subfolders" A warning may appear stating that the publisher could not be verified, but you should still ignore this message and continue with the installation. After some time, the drivers will be installed.

    Check the availability of the device in bootloader mode by entering the command " fastboot devices" If the device is connected correctly, the device identifier with the word “fastboot” will be displayed (for example, “ xxxxxxx fastboot"). If nothing is displayed or “waiting for devices...”, then you need to update the drivers, change the USB port, or try to do these steps on another computer.

    Now you can start installing the firmware in one of two ways. Both methods require that the phone is in bootloader mode.

    Method 1 (Automatic)

    • At the command line enter " flash-all.bat" and wait for the firmware installation to complete.

    When the operation is complete, the device should reboot. The initial startup may take some time, but no more than five minutes. If after this time the device is still “hanging” at boot, it is necessary to perform the so-called. Hard Reset. To do this you need:

    • Put your phone into bootloader mode.
    • Use the volume buttons to select the item Recovery Mode and press the power key to confirm your choice.
    • When a small recumbent robot appears with a triangle and the text " No command", hold down the power button and press the volume up key once, then immediately release them simultaneously. The phone will be booted into stock recovery.
    • Now you should select the item “ wipe data/factory reset" and on the next screen - " Yes -- delete all user data».
    • After deleting data is complete, select “reboot system now”.

    This time the device should boot without problems.

  • Method 2 (Manual)

    On the command line, perform the following steps one by one:

    1. To clean the system:
      • fastboot erase boot
      • fastboot erase cache
      • fastboot erase recovery
      • fastboot erase system
    2. Now you need to flash the bootloader and reboot:
      • fastboot flash bootloader bootloader-bullhead-*.img
      • fastboot reboot-bootloader
    3. Next, flash the modem and reboot the device again:
      • fastboot flash radio radio-bullhead-*.img
      • fastboot reboot-bootloader
    4. And finally, flash the system in this way (if you remove the -w parameter, the user files will be saved):
      • fastboot -w update image-bullhead-*.zip
    5. Or unpack the archive image-bullhead-*.zip and manually flash all system components as follows:
      • fastboot flash system system.img
      • fastboot flash boot boot.img
      • fastboot flash recovery recovery.img
      • fastboot flash cache cache.img
    6. For complete cleaning enter user data:
      • fastboot erase userdata
      • fastboot flash userdata userdata.img
    7. Wait for the operation to complete and reboot the phone manually:
      • fastboot reboot