
And today we are going to show you how to flash the 4.3 factory images to your nexus device. Before starting make sure you have a backup of all your necessary data because once you have flash the factory images then your device will be entirely erased leaving no data back!
Disclaimer : Attempt this at your own Risk! Recommended that you may please read the detail Disclaimer before your proceed. By reading this you may Please accept our policies to get the instructions leading you root your Device. Please don't use these steps in rooting a non prescribed device.
Warning :Make Sure you bootloader is unlocked. You cant continue with your bootloader locked. check your device section for more help.!!
Actually the process s quite simple. So lets begin!!
I. Setup adb and fastboot on your computer
The thing is not reeally hard, but it's often device specifc (Windows drivers and all that) so if you need any help, check the hacking sub-form for your device. The gist of it is
- Install adb and fastboot drivers in you're usng Windows
- Install the adb and fastboot binaries from the Android SDK for your platform (Win, Mac and Linux are supported)
- Adjust your path parameter or keep track of where you've installed adb and fastboot.
II. Download the factory image for your device
You can find them all here: Factory images for nexus devices. Once you've downloaded it, you need to unpack the tar file. On Windows, use a program like 7-zip. On a Mac or a Linux computer, the included archive tool will extract them.Once extracted, place the content of the folder in the same directory you have the fastboot binary installed. Keep the same file names.
III. Boot to the bootloader, and flash the images
Connect your Nexus to your computer via the USB port. Make sure you have USB debugging enabled.
Once connected, open the terminal or command prompt on your computer. Make sure you're in the folder where you have the fastboot binary and the files from the factory image download. While your phone is connected, run the following command:
Windows:
Code:
adb devices
Mac and Linux :
Code:./adb devices
Now look on to your Nexus screen and you will have to authorize the USB connection if this is the first time you've connected your phone to your computer with debugging enabled. Choose YES to authorize it.
Your command line should return a serial number telling you everything is connected and communicating. If it doesn't, ask for assistance in your device section -- there are plenty of folks there who can help. If it does show you the serial number, proceed to the next step.
At the command line, enter the following command to boot into the bootloader:
Windows:
Code:
adb reboot-bootloader
Mac and Linux:
Code:
./adb reboot-bootloader
Don't unplug anything. Your Nexus should reboot into the bootloader, and you'll see the green robot and colorful text on a black screen. This is what you want.
Next, try this command to see if fastboot is set up correctly.
Next, try this command to see if fastboot is set up correctly.
Windows:
Code:
fastboot devices
Mac and Lnux:
Code:
./fastboot devices
As earlier, if you didnt see the serial number, hit your device section. This is always the trickiest part when using Windows. If you see the serial number, carry on.
Look at the files you extracted from the image download. You're looking for the following: flash-all.bat(Windows) or flash-all.sh (Mac and Linux). These are the scripts that will flash the new boot image, system image, radio, or whatever other image files are needed for your device. Once you start them, never unplug your phone or interrupt the process in the command line!
Windows:
Code:
flash-all.bat
Mac and Linux:
Code:
./flash-all.sh
You will see lots of scrolling text and the device will restart once. You'll know when it's done because your command line will tell you it's finished and return you to the prompt.
Comments
Post a Comment
comment your views !