Enter your email address below and subscribe to our newsletter

Here’s How to Install Android P Developer Preview on Pixel Devices!

Share your love

Android P is one of the recent Android versions available after the Android Oreo. With the development going at a rapid pace, another Android Developer preview has been launched with more details and features about what the OS upgrade has to offer. The first few versions of Android P (just like any other upgrade) won’t have much because these previews are usually designed for the developers who would want to know how the upgrade is working and further, make changes accordingly. However, even with you not being a developer, it is easy to get the latest Android P on your Pixel phone easily.

Getting Android P on your Pixel device is just the same as flashing an Android factory image and therefore, you only have to know a little more than the knowledge of tapping a button. Before we actually go through the detailed process of sideloading the updates, it is recommended that you know how to work with Android SDK and the Command Prompt/Terminal in order to avoid any potential harm during the process. In case if the Android Software Development Kit is not available on your PC, you can download it from the official website of Android Development and install it following the instructions. You can do the same with Terminal if you have a Mac.

Android P Developer PreviewWhat’s New in Android P Developer Preview 1?

  1. New Color Palette: Google is now using softer colors in the Android P with rounded edges. By Swiping down, you can view the quick settings and notification tray giving you a fair idea of the aesthetic functions of your device.
  2. Better notifications: Android has been leading the smartphone market because of its efficiency in handling the notifications when compared to other Operating systems. With Android P, it is widening the gap especially with the incorporation of smart replies, included in the messaging apps that show information about each notification, separately.
  3. Media Output: Google now added media output controls which operate better instead of the Bluetooth settings and the Cash button in the music app. For example, when you press the volume rocker, you can actually see a set of new controls that will allow you to view the connected devices.
  4. Screenshot Tools: Android is lacking the screenshot tools but the wait is no longer there, now. Starting with the Android P, one can directly edit a screenshot right from the notification instead of diving into the gallery and select the Markup tool to draw, write and crop on the screenshot and share it.
  5. Enhanced Security: Google is trying hard to elevate the security of the system in Android P and most of it is done in the background. There is a feature which can lock the device down just with a button. When enabled, it lets you disable the sensor just by pressing the power button and by tapping the ‘Lockdown’ option.

Install Android P Developer Preview 1 on Pixel Devices!

As mentioned earlier, to get the Android P Developer Preview, one has to manually flash the software image. By flashing the device, you’re acquiring control over the test environment or will be asked to reinstall the device. In cases where you’re considering the dabbling in ROMs which are bouncing around from one to the other, you can even try this. However, installing an image on the phone gets rid of all the data and therefore before proceeding, back up the data carefully.

Available System Images

  1. Pixel (Sailfish)
  2. Pixel XL (Marlin)
  3. Pixel 2 (Walleye)
  4. Pixel XL 2 (Taimen)

 

Android P Developer Preview System Images for Pixel Pixel XL Pixel 2 Pixel 2XL

How to Get the Flash Image of Android P?          

  • The factory image usually contains a script which flashes the device in the format of flash-all.sh and if you’re using the Windows, it will be in the form of flash-all.bat.
  • In order to flash the device, you will be needing a fastboot tool and you can get it from one of three sources below:
    1. From the Tools Package of Android SDK kit which can be downloaded either from here or from the SDK manager.
    2. From the compiled Android Open Source Project version.
  • Once you have the tool, add it to the PATH environment variable after setting the USB access for your Pixel device.

Enable Developer Settings and USB Debugging

  1. In order to manually download the flash image, you need to be a developer first. Go to the system settings> scroll to the option that says, ‘About Phone/Tablet’. Tap on the number around seven times till the dialog box there says that you’re a developer.
  2. Now go back to the settings and find a new option, saying ‘Developer options’. Tap on it and make sure that the options are turned on and the USB debugging is enabled.
  3. Now, plug your Pixel device into the computer and tap ‘OK” allowing the USB debugging while you stay connected to the computer. If this is done correctly, your downloading will get done easily.

Android P Developer Preview Developer Settings Change

Unlocking the Device Bootloader!

The Pixel phones are manufactured from the Google directly and therefore, will have a bootloader that you can unlock.  Therefore, in order to manually flash the software, you have to unlock the bootloader.

To do this, you have to get into the bootloader, first. You can either turn your phone manually off and then hold the power and volume down button together to enter the Bootloader menu or you can enter the commands in the command prompt.

Connect the device to the computer and then run below command only to see it return a string of characters after which you will be set to update the device.

./adb devices

Now go to the menu and then run the below command.

./adb reboot bootloader

There will be many things listed at the bottom including the lock of the device. It usually says locked so that you have to unlock it. In case if it is not, it means that you have already unlocked your bootloader in the past and did not lock it again.

Flashing the Image

The bootloader on your device is unlocked and it is time for you to flash the new firmware image. Initially, be sure that you’re in the bootloader menu and check that your bootloader is unlocked. Check whether your computer is communicating correctly with your device and that your serial number comes as the connected device. Enter the command:

./fastboot devices

Now, flash the updated bootloader.

./fastboot flash bootloader [bootloader file].img

On doing this, you will have a blank screen but there will be a dialog on your command prompt. When the flashing of the bootloader is done, reboot the backloaded making sure that things are working.

./fastboot reboot-bootloader

Here, you have updated the bootloader and now you have to flash the radios with cellular inbuilt radios in it. To do it, go to:

./fastboot flash radio [radio file].img

./fastboot reboot-bootloader

After being done with these processes, you can now flash the system image to your device.

To unlock the bootloader which is needed for flashing a stock image, you should enter a set of commands. Unlocking the bootloader will factory reset your device and therefore, all the data will be lost. Make sure that you have backed the data before in order to prevent any loss and then enter the command:

./fastboot flashing unlock

By doing this, a new dialog box will appear asking you if you want to unlock. The device will be factory reset again and in the case where you want to back out, you can go with ‘No’ and if you want to unlock the bootloader, press the power button and the volume up button together or enter the command:

./fastboot reboot-bootloader

Reboot the bootloader in order to be sure that things are going in the right way before you flash the firmware image.

The following code will erase the data on the device and therefore, you can delete ‘-w’ from the line, but then if you have a beta version Android, it is recommended to enter it as it is:

./fastboot -w update [image file].zip

With this, your phone will restart normally. All the device data will vanish and it will take a certain time before you can actually use the phone. You will be greeted just like at the start and will be taken through the device setup as if you have installed a new OS on your phone.

Why Use Flash Script for Flashing the Firmware Image?

In cases where you do not want to manually enter the commands, you can avail the scripts that are available with the downloaded system image in compressed folders. These script files are automated and therefore, can flash the bootloader, radios and the system image on its own. The only issue is that you should unlock the bootloader before you flash the script or else it will not run.

How to Downgrade to Oreo if you Didn’t Like Android P?

After having the maximum fun with the Android P Developer Preview, you might want to get back to the Android Oreo knowing that it is not stable as a daily driver. The process for it is indeed simpler and you have already learned to do it. There are only two changes in the above procedure, where you have to download the Oreo factory image and then flash it. Once you’re done flashing, you can lock the bootloader for increased security. It is easy to switch between both the upgrades, but doing this frequently might cause hassles to your device.

Concluding, Android P Developer Preview is exotic and it will take some time to get the best version available in the market. It might sound a bit worse, but it is not entirely difficult to get the preview on trying it for the first time. In case if you haven’t, it is still okay as all of us are not actually equipped with the knowledge of using the commands. Therefore, take time in reading through the guide and try till you’re successful but only be careful about the data.

Stay tuned to our blog for more details on Android P release date.

Source: 1, 2

Share your love
Harshil Patel
Harshil Patel

Harshil is a tech enthusiast with the zeal of changing the way people look at technology. He is often found testing out new gadgets when he's free!

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Stay informed and not overwhelmed, subscribe now!