Instructions for firmware image system
Before you start, you need to backup everything you need to your computer from the device, because
Unlocking the bootloader erases all data from the device's memory! It is also necessary that the battery charge of the device is at least 30%, preferably 50%.
Standard warning
Remember -everything you do - you do at your own peril and risk! The authors of the manuals are not responsible for your actions!
1. Preparation First of all, you must enable unlocking the foreign loader on the device. To do this, activate the menu "For Developers" - "Settings - About phone", 7 times click on the field Assembly number (located at the bottom). In the "For Developers" menu, activate the ability to unlock the bootloader (5th item above).
To work you must download
prerequisite software (ADB / Fastboot). Unpack the downloaded archive to any place convenient for you on the computer,
in our example we will consider the wayC: \ Nexus that is, suppose the archive was unpacked to the root of the disk
WITH and its contents are in the folder
Nexus .
You also need to download the current firmware image from the header and unpack the contents of the archive.
in the same folder as the necessary software (ADB / Fastboot). Read more
1. Download the necessary software (ADB / Fastboot) from the header and unpack it into the Nexus folder on drive C.
2. Download the archive with the firmware (for example, on disk C).
3. Unpack the archive with the firmware.
There is one small nuance that sometimes puzzles users.
In addition, the latest versions, for example, WinRar behave somewhat strange.
In order not to lecture on what istgz, tarand Unix philosophy, explain on fingers:
- so, if the downloaded firmware archive has an extension.tar
- unzip it should be using WinRAR (or 7-Zip), this forms a folder with the same file
- then, click on this file with the right mouse button, select "Open" and select WinRar in the program selection window, and then select "Extract" in the menu of the archiver. Then we actually get the firmware components and the batch file.flash-all.bat that need to be moved to a folder C: \ Nexus .
4. Transfer the contents of the firmware to the desired working folderC: \ Nexus which now looks like this (ADB / Fastboot + firmware content).
All work is performed in the Command Line, to start it - press the Win + R key combination, in the input window type cmd and press "Open" / Enter key, or find the command line in Start - All Programs (Applications) - Standard (System) - Command line.
In the command line, go to the folder with the necessary software command:
Pay your attention if your working folder with the necessary software and firmware is located on another disk, for example,
D then the team
cd to go to the desired folder should be used with the key
/ d i.e .:
Put the device into bootloader / fastboot mode by simultaneously pressing a certain key combination and connect it to the computer. What combination of buttons to use on your device, see here -
https: //source.android...ing-into-fastboot-mode For firmware, try to use the complete original USB cable and USB 2.0 ports located directly on the motherboard (on the back of the system unit). Install the drivers, the drivers are in the folder
usb_drivers in the archive you downloaded with the necessary software, as well as in the header there is a link to the current Google drivers (Google USB Driver).
Read more
- Download drivers from the header.
- After downloading, extract the contents of a zip file to your computer in any folder and remember it.
- Connect your device to PC.
- Open the device manager on your computer.
- After opening, you will see a list of all devices connected to the computer in the device manager. Just find the Nexus device (it will most likely be in another device list with a yellow exclamation mark) and right-click and select "Update Driver".
- Choose:"Search for drivers on this computer" , after you will see a window with an offer "How do you want to find a driver?"
- Choose:"Search my computer for a driver" (Browse my computer for driver software) and then select the folder where you unpacked the downloaded Google USB Driver ZIP file (file name: latest_usb_driver_windows.zip ). Do not select a ZIP file, select the extracted folder. usb_driver and check the box "Including subfolders" (Include subfolders)
- During installation (as a security check), windows may ask for your permission to install drivers published by Google Inc. (click this button software) - click"Install"
- After the installation is complete, you will see an updated list of devices, including your Nexus device."Driver successfully installed"
At the command prompt, run:
If your smartphone / tablet (serial number) appears in the list - it means you did everything correctly.
2. Unlocking the bootloader If your bootloader was not unlocked earlier, or you blocked it back, then you need to unlock it for firmware.
Run the command:
or (depending on your device)
A message appears on the device’s screen stating that the boot loader has been unlocked and that
unlocking will erase all your data from the device’s memory , use the volume buttons to select Yes and confirm with the power button (Power).
After unlocking the bootloaderwithout fail It is necessary to reboot the device and initial configuration. Now, when loading, a warning will appear on the screen in front of the Google logo, indicating that it is impossible to check the security of a smartphone with an unlocked bootloader and a request to lock the bootloader back. Ignore this warning, it does not interfere with the operation of the device. Read more -
https://support.google.com/nexus/answer/61853813. Firmware image Images from Google provide for the possibility of firmware in two ways:
Method number 1 - simple automatic way.
- Turn off the device.
- Put your smartphone in bootloader / fastboot mode and connect it to your computer.
- Run the flash-all.bat file from the folder where the necessary software and firmware image are unpacked.
- Wait for the firmware process to complete.
- Reboot the device.
If during the firmware you get an error"error: update package missing system.img", then flush the second (per file) way. Method number 2 - manual step-by-step (file-based) method.
(Read more in the topics on the firmware of your device). - Turn off the device.
- Put your smartphone in bootloader / fastboot mode and connect it to your computer.
- Also unzip the archive in the folder where the firmware image is unpacked.image - ++++++ - *****. zip and copy these files to the root folder where the necessary software and firmware image are unpacked.
- On the command line, execute the following commands in turn:
fastboot flash bootloader bootloader - +++++ - *****. img
fastboot reboot-bootloader
fastboot flash radio radio - ++++++ - *****. img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot reboot
Where:
+++++ - the code name of your device;
***** is the build number or the bootloader / radio version (numbers change for new firmware versions).
- If with file firmware, after the command:
fastboot flash system system.img
You got the message:download max of 1073741824 bytes
error: cannot load 'system.img'
you must enter the following command instead:fastboot -S 512M flash system system.img
and then continue the procedure.
Ps. If you do not enter the two penultimate commands (fastboot flash cache cache.img and fastboot flash userdata userdata.img), then the process of the firmware will not completely reformat the partitions, thus the user files will remain. Post has been editedEnton - 09.03.16, 23:29