Smart Systems for Home

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

Install Android 11 Developer Preview on Your Google Pixel

· 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

This guide walks you through installing the Android 11 Developer Preview on a compatible Google Pixel phone. This gives you early access to new features and lets you test your apps against the latest OS before the public release. Before you start, understand that this is beta software: it may have bugs, poor battery life, and some apps may not work. You will also need a computer (Windows, Mac, or Linux) and a USB cable.

What You'll Need

  • A compatible Google Pixel device (Pixel 2, Pixel 2 XL, Pixel 3, Pixel 3 XL, Pixel 3a, Pixel 3a XL, Pixel 4, or Pixel 4 XL).
  • A computer with internet access.
  • A USB cable that can transfer data (not just charge).
  • Your Pixel's screen lock (PIN, pattern, or password) disabled or known, because you'll need to unlock the bootloader.
  • Back up all important data on your phone. The installation will wipe your device.
  • Enable Developer Options and USB Debugging on your phone: go to Settings > About phone and tap Build number seven times. Then go to Settings > System > Developer options and turn on USB debugging.

Step-by-Step

  1. Download the correct factory image. On your computer, visit the official Android Developer website (developer.android.com) and find the Android 11 Developer Preview factory image for your exact Pixel model. Download the ZIP file.
  2. Install platform tools. Download the Android SDK Platform Tools for your computer's operating system from the same site. Extract the ZIP to a folder you can easily find (e.g., C:\platform-tools on Windows, or ~/platform-tools on Mac/Linux).
  3. Unlock the bootloader. This is required to flash a factory image. On your phone, go to Settings > System > Developer options and enable OEM unlocking. Then turn off your phone. Boot into the bootloader by holding Power and Volume Down together for a few seconds. Connect your phone to your computer via USB. Open a command prompt or terminal in the platform-tools folder and run: fastboot flashing unlock. On your phone, confirm the unlock using the volume keys and power button. This wipes your phone. Once done, your bootloader is unlocked.
  4. Extract the factory image. On your computer, extract the downloaded factory image ZIP. Inside, you'll find another ZIP file (e.g., image-device-build.zip) and a script file (like flash-all.bat for Windows, or flash-all.sh for Mac/Linux).
  5. Run the flash script. Make sure your phone is still in the bootloader (fastboot mode) and connected. In the command prompt/terminal, navigate to the folder where you extracted the factory image. Run the appropriate script:
    • Windows: double-click flash-all.bat or run it in the command prompt.
    • Mac/Linux: run ./flash-all.sh in the terminal.
    The script will flash the new system and reboot your phone. It may take several minutes. Do not unplug the phone during this process.
  6. Set up your phone. Once the phone reboots, you'll see the Android setup wizard. Follow the on-screen steps. You can restore from a backup if you made one, but note that backups from Android 10 might not restore perfectly to a developer preview.
  7. Re-lock the bootloader (optional but recommended). After you've confirmed everything works, you can re-lock the bootloader for security. Boot back into the bootloader (Power + Volume Down) and run: fastboot flashing lock. Confirm on the phone. This will wipe your phone again, so do it only after you've set up and backed up your data.

Common Mistakes

  • Wrong factory image: Downloading the image for the wrong Pixel model will fail. Double-check your model number in Settings > About phone.
  • USB drivers not installed: On Windows, you may need to install Google USB drivers. If fastboot doesn't recognize your device, install the drivers from the Android developer site.
  • Not unlocking the bootloader first: You must unlock the bootloader before flashing. Skipping this step will cause the flash to fail.
  • Interrupting the flash: Unplugging the USB cable or letting the computer sleep during the flash can brick your phone. Keep the cable connected and prevent sleep.
  • Forgetting to back up: The bootloader unlock wipes your phone. If you didn't back up, you lose everything.

Tips

  • Keep your phone charged above 50% before starting.
  • Use the original USB cable that came with your Pixel if possible; third-party cables may cause connection issues.
  • If you're not comfortable with command-line tools, consider waiting for the public beta, which can be installed over the air via the Android Beta Program without a computer.
  • After flashing, give the phone a few minutes to settle. The first boot may be slow.
  • Join the Android Beta community forums for known issues and workarounds.

Troubleshooting

If something goes wrong, here's what to try in order:

  1. Fastboot not recognizing your device: Check your USB connection, try a different port, and ensure USB debugging is enabled. On Windows, reinstall the Google USB drivers.
  2. Flash fails with an error: Re-download the factory image and verify the checksum (SHA-256) if possible. Make sure you extracted both ZIP files correctly.
  3. Phone stuck in bootloop (restarts repeatedly): Boot into recovery mode (Power + Volume Down, then select Recovery) and do a factory reset from there. This wipes data but often fixes boot issues.
  4. If all else fails, restore your previous version: Download the Android 10 factory image for your device and flash it using the same steps. This will bring you back to the stable version.
  5. If the phone won't boot at all: Hold Power + Volume Down for 30 seconds to force restart into bootloader, then try flashing again.

Frequently Asked Questions

Will this wipe my phone?

Yes, unlocking the bootloader wipes your phone completely. The flashing process itself also formats the data partition. Always back up before starting.

Can I go back to Android 10 after installing the preview?

Yes, you can flash the Android 10 factory image using the same steps. This will also wipe your phone, so back up any data you want to keep.

Do I need a computer to install the developer preview?

Yes, the developer preview requires a computer and a USB cable. The public beta (which comes later) can be installed over the air without a computer.

Will my apps work on the developer preview?

Most apps should work, but some may crash or have visual glitches because they haven't been updated for Android 11. This is normal for a developer preview.

Is it safe to use as my daily driver?

It's not recommended. The developer preview is meant for testing, not daily use. It may have serious bugs, poor battery life, and missing features.

What if I don't have a Google Pixel?

The Android 11 developer preview is only available for Google Pixel devices listed in the requirements. Other phones will need to wait for the public release or use a custom ROM, which is not covered here.