Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Install Android P (Developer Preview)

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Android P (also called Android 9.0 Pie) was released as a developer preview before its final public version. If you want to install the developer preview, you need a compatible Pixel device and a willingness to deal with bugs. This guide covers the official methods: enrolling in the Android Beta Program (easiest) or flashing the system image manually (more control). Both methods are only for supported devices; installing on unsupported hardware is not covered here and may brick your phone.

What You'll Need

  • A compatible Google Pixel device (e.g., Pixel, Pixel XL, Pixel 2, Pixel 2 XL – check Google's official list for the exact models).
  • A computer (Windows, macOS, or Linux) with a USB cable.
  • For the flash method: Android SDK Platform Tools (includes ADB and Fastboot). Download from the official Android developer site.
  • Backup your data – the flashing method will wipe your device.
  • Enable Developer Options and USB Debugging on your phone (Settings > About phone > tap Build number 7 times, then Settings > Developer options > USB debugging).
  • Ensure your device battery is above 50%.

Step-by-Step

Method 1: Enroll in the Android Beta Program (Over-the-Air)

  1. On your computer, go to the official Android Beta Program website (google.com/android/beta) and sign in with the Google account you use on your phone.
  2. Look for your device in the list of eligible devices. If you see it, click Enroll next to it.
  3. Accept the terms and conditions. The enrollment is free but note that the preview is for testing and may have bugs.
  4. On your phone, go to Settings > System > System update and check for updates. The Android P preview should appear as an over-the-air update. Download and install it like any other system update.
  5. Wait for the update to download and install. Your phone will restart automatically.

Method 2: Flash the System Image Manually (Advanced)

This method is for when you want to flash the exact factory image, or if the beta program isn't available for your device. It will erase all data on your phone.

  1. On your computer, download the correct Android P factory image for your exact device model from the official Android developer website. Make sure the filename matches your device (e.g., "sailfish" for Pixel, "walleye" for Pixel 2).
  2. Extract the downloaded ZIP file to a folder on your computer. Inside, you'll find a flash-all.sh script (macOS/Linux) or flash-all.bat (Windows), along with image files.
  3. Install Android SDK Platform Tools on your computer. The adb and fastboot commands will be in the platform-tools folder.
  4. On your phone, go to Settings > Developer options and enable OEM unlocking (this allows the bootloader to be unlocked).
  5. Power off your phone. Then boot into the bootloader by holding the power button and the volume down button simultaneously for a few seconds.
  6. Connect your phone to the computer with a USB cable.
  7. Open a terminal/command prompt in the folder where you extracted the factory image.
  8. Run the flash script. On Windows, double-click flash-all.bat; on macOS/Linux, run ./flash-all.sh in the terminal. This will unlock the bootloader (if not already unlocked) and flash the new system.
  9. Wait for the process to finish. The script will reboot your phone automatically. The first boot may take several minutes.

Common Mistakes

  • Downloading the wrong factory image for your device model – always double-check the code name.
  • Not enabling OEM unlocking before trying to flash – the bootloader will fail to unlock.
  • Using a faulty USB cable or port – use the original cable and a direct USB port on your computer.
  • Interrupting the flashing process – do not unplug the phone or close the terminal until the script finishes.
  • Forgetting to back up data before flashing – the manual method wipes everything.

Tips

  • Before installing, read the official Android P release notes to know what bugs to expect.
  • Keep your phone charged above 50% to avoid shutdown during installation.
  • If you use the beta program, you can easily leave it later by unenrolling on the same website, which will prompt an OTA back to the stable version.
  • After flashing, sign in to your Google account and restore your backup if you made one.
  • If you're not comfortable with command line tools, stick with the beta program method.

Troubleshooting

If something goes wrong, try these in order:

  1. Update doesn't appear: Make sure your device is listed as eligible on the beta site, and that you're signed in with the same Google account on both the site and your phone. Restart your phone and check again.
  2. Boot loop after flashing: This can happen if the image didn't flash correctly. Go back to the bootloader (power + volume down) and run the flash script again. If it persists, try a factory reset from recovery mode (this wipes data).
  3. Fastboot not recognized: On Windows, you may need to install the proper USB drivers for your Pixel. On macOS/Linux, ensure you have the latest platform-tools and that USB debugging is enabled.
  4. Phone stuck on Google logo: Wait a few minutes – first boot after a flash can be slow. If it stays for more than 10 minutes, force reboot by holding power + volume down, then try the flash again.
  5. Apps crashing frequently: This is common on preview builds. Report bugs through the Android Beta feedback channel, or revert to the stable version by unenrolling and installing the OTA.

Frequently Asked Questions

Will I lose my data with the beta program?

No, enrolling in the beta program installs the update over the air and preserves your data. However, downgrading to the stable version later may wipe your data.

Can I install Android P on a non-Pixel phone?

Officially, no. The developer preview is only for Pixel devices. Unofficial ports exist for other phones, but they are not supported and can harm your device – we don't recommend them.

How do I go back to the stable version?

If you're in the beta program, unenroll on the beta website and then check for updates on your phone – you'll receive an OTA back to the stable version. If you flashed manually, you'll need to download the stable factory image and flash it using the same method.

Is Android P the same as Android 9.0?

Yes, Android P was the codename for Android 9.0, which was officially named Android Pie.

Will my apps work on Android P?

Most apps should work, but some may have compatibility issues or crash because it's a preview. Developers use this version to test their apps for the final release.

Do I need to unlock the bootloader for the beta program?

No, the beta program uses a standard OTA update and doesn't require an unlocked bootloader. The manual flash method does require unlocking.