How to Flash Stock Rom on Nexus Devices
Here I describe two ways to Flashing Factory Image on Nexus Devices, the first way is the manner that I propose to vendors Factory Images of Nexus Devices. For the second one manner, possibly as an alternative if the primary method does now not work properly. If after flashing Factory Image on Nexus Device happen bootloop, please see the settlement of the trouble at the bottom of this post.
-------------------
The First Way
-------------------
Requirements: Your Nexus Devices have to have as a minimum 20-30 percentage of battery to perform the flashing process
Caution: Flashing System Image will delete all consumer facts. Make positive that you create backup statistics.
- Download and deploy Google USB Driver on your laptop.
- Download and installation 15 Seconds ADB Installer to your pc.
- Download System Image this is suitable on your tool, then unzip until you notice some documents like at the picture beneath into the comfy listing.
Example: manufacturing facility photos file Nexus 5X
The devices already guide Android 6.0.0 Marshmallow is Nexus 6P, 5X, 6, 5, 9, 7,and Player.
- On your Nexus Devices, Enable USB Debugging Mode and OEM Unlocking.
- Now, connect your device to pc thru USB Cable
- Once your tool is attached to a pc, then the device you want to get into Fastboot Mode, there are two methods to achieve this:
First method: Open a Command Prompt or Terminal and sort the command: adb reboot bootloader or adb reboot-bootloader
Second method: Turn off device , then turn it on and right away preserve down the applicable key mixture for your tool. For example, to put a Nexus 5 ("hammerhead") into fastboot mode, press and preserve Volume Up + Volume Down + Power because the device starts booting up.
Example: Nexus 6 Fastboot Mode
- Type the command: fastboot devices (to ensure the tool is connected or no longer)
- After that, then free up the bootloader of your tool through typing the command at the commad spark off or terminal: fastboot oem unlock
- Your tool will display a confirmation display screen. (This will erase all information at the goal device.)
- Once your tool efficiently Unlock, now go to the folder System Image which you have Unzip, then open your terminal in a way (in Windows, press the Shift key and Right Click, choose "Open command window right here"), (on Mac and Linux, Right click and pick out "Open Terminal")
- Then run the flash-all script (command: flash-all.bat for Windows and command: ./flash-all.sh for Mac and Linux). On a Mac or Linux, you may want a permission of execution to run the flash-all, if such type the command: chmod + x flash-all.sh
- Once the script is entire, your tool will reboots and after which you have to fasten bootloader for security by typing the command: fastboot oem lock (requirement: the device have to be on condition Fastboot Mode)
- After that, if you want Flash System Image once more, you need to open once more Bootloader tool.
- After flashing Factory Image is whole, if you want to get entry to the Root and set up TWRP to your Nexus Devices. See:
----------------------
The Second Way
----------------------
If the first technique is a hit, you then do no longer need to do this 2nd way, however if it approach the cohesion you get an errors like "didn't allocate 1043723460 bytes” or “replace package deal lacking machine.img,” , way you have to flash it manually. Follow the steps under:
- Unzip file image-bullhead-mdb08m.zip (This document for Nexus 5X) so you see some image files like this:
- After that, pass the picture documents bootloader-bullhead-bhz10i.img and radio-bullhead-m8994f-2.6.28.0.65.img to folder image-bullhead-mdb08m, so you see the image document is assembled as in this picture:
- Then open your terminal in a way (in Windows, press the Shift key and Right Click, choose "Open command window here"), (on Mac and Linux, Right Click and pick out "Open Terminal")
- Once open Terminal, then type a command just like the following one at a time:
fastboot flash bootloader bootloader-bullhead-bhz10i.img
fastboot reboot-bootloader
fastboot flash radio radio-bullhead-m8994f-2.6.28.0.65.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot erase cache
fastboot flash cache cache.img
fastboot flash restoration recuperation.img
fastboot flash machine machine.img
fastboot flash vendor seller.img
The following command is optional as it isn't typically necessary: fastboot layout userdata
(Please note: that formatting userdata will (obviously) wipe all consumer data from the tool, this consists of everything for your inner storage (images, song, documents, etc), apps, and system settings.)
- Once the flashing is complete, you have to fasten bootloader for security by typing the command: fastboot oem lock
- Once all are whole you can reboot the device with command: fastboot reboot
----------------------
Troubleshooting
----------------------
If you’ve encountered a hassle with the set up procedure, make certain which you’ve unlocked the bootloader of your tool and the USB Debugging is enabled, as described in the Prerequisites segment above.
-----------------------Stuck in Bootloop
-----------------------
If the flashing process is completed and your tool has rebooted, but it is now stuck in the bootloop displaying the loading display at startup, all you want to do is clear the cache partition. Here is the way to do that:
- Put your tool lower back into Fastboot mode.
- Use volume keys and navigate to Recovery Mode and press the Power key to confirm.
- In recuperation, use extent keys to navigate to "wipe cache partition" after which press the power button to confirm.
- Now reboot your device.
- If your device continues to be stuck in the bootloop, go back into Recovery and pick out "Wipe facts/Factory reset".
Berikan Komentar
<i>KODE</i>
<em>KODE YANG LEBIH PANJANG</em>
Notify me
untuk mendapatkan notifikasi balasan komentar melalui Email.