Make sure you do this before you start:
Make sure that you already made a full backup of your device before the installation process to avoid regrets in case you brick your device; just take note that there are lots of things that might go wrong during the process from faulty USB wires to problems like OS-device incompatibility. Making a backup of your device is the best way to make sure that you don’t end up wasting your device considering the fact that most devices today use different firmware versions even if they have the same model information. So make sure that you have backup 1st before proceeding to the next step below.
Prepping up the device for installation:
To make the device ready, follow the steps below:
- Go to Device Settings -> About Tablet (or Phone)
- If you have never enabled Developer Option, then you need to tap 7 times on “Build Number” to activate Developer Options in settings. By default, this option is hidden.
- Developer Options should be enabled now on your device. Tap on it and check on “USB Debugging”.
You can download the newest available system images here, and then flash (install) them to your device. The following section contains the instructions from Google on how to flash a system image. For information on specific devices, see here if you need more help.
Flash the system image:
1. Download the appropriate system image for your device by here, then unzip it to your local hard-drive .
2. Connect your device to your computer using a USB Cable.
3. Start the device in fastboot mode by any of the following ways:
• Using the adb tool(device must be already turned on in this method), execute-
adb reboot bootloader
• Using a key combo(make sure that you turn off your device if you prefer this method):
Turn it on then immediately hold down the right key combination for your device till your device shows something like the image below.
*It takes some few trials or practices getting the right timing depending on the device so don’t be discourage right away if you don’t have a result similar to the image above
*The image above also varies depending on what android version you have in your device.
4. Unlock the device’s bootloader by following any of these methods below if needed:
• If you are updating an older device, run this command:
fastboot oem unlock
The target device will show you a confirmation screen. (This erases all data on the target device.)
• If you are updating a Nexus 5X or Nexus 6P device using the hammerhead or angler builds, update your fastboot tool to the latest available version (>=23.0.1), and then run this command:
fastboot flashing unlock
Click this for more detailed instructions.
5. Open a terminal and go to the unzipped system image directory.
6. Execute the flash-all script. This script installs the necessary bootloader, baseband firmware(s), and operating system.
Let the script finish and reboot your device then you can lock the bootloader for security:
1. Start the device in fastboot mode again, as described above.
fastboot flashing lock
or, for older devices, run:
fastboot oem lock
Locking bootloader will wipe the data on some devices. After locking the bootloader, if you want to flash the device again, you must run fastboot oem unlock again, which will wipe the data.
Note: Don’t do these steps above if you’re not comfortable doing these steps. Just wait for Google or your device’s manufacturer to release a version for public use. You might end up bricking your device if you don’t follow these steps correctly. This is just a guide assuming that you’re familiar with android app development or if you are adventurous enough to risk your device for the sake of learning.
Please rate this article or express your thoughts through comments.