Earlier, this week Google has announced the Android preview build for the public at I/O 2017. Google also discussed the new features that are coming to Android as a part of the Android O update. Have a look here for the new features in Android O. So, if you are a pixel or Nexus smartphone user and very enthusiastic to test out the preview build of the Android O? There are two ways for installing the Android O developer preview on your devices, follow our guide below.

How to Install Android O in Google Pixel & Nexus devices

Method 1: Through official OTA update from Google, only for registered devices. Not a registered device? Don’t worry. We have provided the Signup link below.

Method 2: Manually, unlocking and flashing the official zip from the Google. This one required patience & knowledge about rooting and other stuffs. This will also erase all the data from your device.

Compatible Devices: Google Range includes Pixel, Pixel XL, Nexus 5X & 6P, Nexus player, Pixel C.

If you do not have any one of the devices mentioned above, do not follow this method; it may brick your device. Also, follow this guide carefully at your risk. We are not responsible for your errors.

Method 1: Installing Android O through OTA

  1. The easiest way of two. Get ready your device, Backup all your data.
  2. Open the Beta Signup link, register your device with the same email of your device.
  3. After a couple of hours, check for system updates on your device. There should be showing one for you
  4. Accept the terms and make sure your device is ready with some optimal battery left.
  5. Wait for the update to download and then install.
  6. Once you reboot, your device will be ready with Android O preview.

You have done updating to preview. Once Android O is officially released for your device, you will get an OTA update to the Stable version. Immerse yourself in the new features of Android O. Don’t forget to share your experience in the comments below.

Method 2: Unlocking & Flashing Android O

Pre-requisites:

  1. ADB and fastboot.
  2. Before we proceed to the process of unlocking the bootloader, it is crucial to know that this process will erase all your DATA. So take a BACKUP of all your data on the target device.
  3. USB Drivers
  4. A little patience and presence of mind to follow the steps.
  5. Appropriate Android O-beta build for your device (link)

How to Unlock the Bootloader

If your device is locked, unlock the device’s bootloader using one of the following commands in the Fastboot mode:

  • For Nexus 5X or Nexus 6P, update your fastboot tool to the latest available version (>=23.0.1), and then run this command:

fastboot flashing unlock

  • for an older device, run this command:

fastboot OEM unlock

The right command should give you a confirmation screen, erasing all the data on the device.

Flashing Android O Developer Preview:

  1. Download the appropriate preview image for your device from this link, then unzip it to a directory containing the ADB.
  2. Connect your device to your computer over USB.
  3. Start the target device in fastboot mode, Using the ADB tool: With the device powered on, execute the command:

adb reboot bootloader

(Alternatively, you can use the key combo: Turn the device off, Press and hold Volume Down, then press and hold Power to boot into bootloader menu.)

  1. Open the extracted directory of the beta image and open the terminal there by holding down the shift, simultaneously right clicking the mouse.
  2. Run the following command, or you can execute the flash-all script that comes in the zip.

Fastboot flash-all

  1. This script installs the necessary bootloader, firmware, and operating system. Once it finishes, your device will reboot.

Steps for Re-locking the Bootloader:

Now relock the bootloader for security.  Again locking the bootloader will wipe the data on some devices. After locking the bootloader, if you want to flash the device again, you must unlock again, which will wipe the data again.

  1. Start the device in fastboot mode again, using any one of the methods as described below.

Then, Run the command:

fastboot flashing lock

or, for older devices, run:

fastboot OEM lock

This method is hefty and has certain drawbacks. This process limits the OTA updates, and you need to flash the factory image later on, for the stable build. So unless you are geeky and comfortable doing this stuff, we don’t recommend this method to you. If you are stuck in between, let us know from comments below.