Smart Systems for Home

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

Install Android 12 Developer Preview: Easier Than You Think

· 6 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

Yes, you can install the Android 12 Developer Preview on a compatible Google Pixel phone, and it's actually a straightforward process—no compiling code or unlocking the bootloader required. The preview gives you early access to new features and UI changes, but it's meant for developers and early adopters, so expect bugs and app compatibility issues. Before you start, back up your phone, because installing the preview wipes all data.

What You'll Need

  • A Google Pixel device (Pixel 3 or newer, including Pixel 3a, 4, 4a, 5, and later models). The preview is not available for other brands.
  • A computer (Windows, Mac, or Linux) with a USB cable to connect your phone.
  • Google USB drivers installed on your computer (for Windows; Mac and Linux usually work without extra drivers).
  • Your phone's bootloader must be unlocked—this is required to flash the preview. Unlocking wipes your phone, so back up first.
  • Android SDK Platform Tools (ADB and Fastboot) downloaded from the official Android developer site.
  • At least 50% battery charge on your phone to avoid interruptions.

Step-by-Step

  1. Back up your phone. Go to Settings > System > Backup and turn on backup to Google Drive, or use a local backup to your computer. Unlocking the bootloader and flashing the preview will erase everything.
  2. Download the Android 12 Developer Preview image. Visit the official Android Developer website (developer.android.com) and find the Android 12 preview page. Download the factory image for your specific Pixel model. Make sure you download the correct variant—don't mix up models.
  3. Install Android SDK Platform Tools. Download the platform-tools zip from the same site, extract it to a folder on your computer (e.g., C:\platform-tools on Windows, ~/platform-tools on Mac/Linux).
  4. Enable Developer Options on your phone. Go to Settings > About Phone and tap “Build Number” seven times until you see “You are now a developer.”
  5. Enable USB debugging and OEM unlocking. Go to Settings > System > Developer Options (or Settings > Developer Options on some versions). Turn on “USB debugging” and “OEM unlocking.” The latter may be grayed out if your phone is carrier-locked or if you haven't connected to the internet recently.
  6. Unlock the bootloader. Connect your phone to your computer via USB. On your computer, open a command prompt or terminal in the platform-tools folder. Run adb reboot bootloader. Your phone will restart into the bootloader (fastboot) screen. Then run fastboot flashing unlock (on older Pixels, it might be fastboot oem unlock). Follow the on-screen prompts on your phone to confirm. This wipes your phone, so make sure your backup is complete.
  7. Flash the developer preview. After unlocking, your phone will reboot back to the normal system. Re-enable USB debugging (it resets after unlocking). Then run adb reboot bootloader again. Once in fastboot, extract the downloaded factory image zip file. Inside, you'll find a script (flash-all.bat on Windows, flash-all.sh on Mac/Linux). Run that script from the command line. It will flash the preview and reboot your phone automatically. Do not unplug the phone during this process.
  8. Set up your phone. After the flash, your phone will start fresh. Follow the on-screen setup, sign in with your Google account, and restore your backup if you want.

Common Mistakes

  • Downloading the wrong image. Each Pixel model has its own factory image. Flashing a Pixel 5 image onto a Pixel 4a will fail or brick the device.
  • Skipping the bootloader unlock. You must unlock the bootloader before flashing. If you skip it, the flash will fail with an error.
  • Not having USB drivers (Windows). Without proper drivers, your computer won't recognize your phone in fastboot mode. Install the Google USB driver from the Android developer site.
  • Interrupting the flash. Unplugging the USB cable or closing the command window mid-flash can leave your phone in a broken state. Let the script finish completely.
  • Forgetting to re-enable USB debugging after unlocking. Unlocking resets developer options, so you need to turn USB debugging back on before flashing.

Tips

  • Use a short, high-quality USB cable to avoid connection drops.
  • Keep your phone plugged in during the entire process to avoid battery drain.
  • If you want to go back to Android 11, download the official Android 11 factory image for your device and flash it the same way—it's fully reversible.
  • Join the official Android Beta program (if available) for over-the-air updates instead of manual flashing, but note that the Developer Preview is usually not part of the public beta program.
  • Expect bugs. The Developer Preview is not stable; don't install it on your daily driver unless you're prepared for crashes and app issues.

Troubleshooting

If the flash fails or your phone doesn't boot, try these in order:

  1. Check the error message. Common errors like “fastboot: command not found” mean you're not in the right folder or platform-tools isn't in your PATH. Navigate to the folder where you extracted platform-tools and run commands from there.
  2. Reinstall USB drivers (Windows). If your computer says “device not recognized,” install the Google USB driver and try again.
  3. Restart the flash. If the script fails halfway, you can manually flash the individual images (boot, system, vendor, etc.) using fastboot commands. The factory image folder includes a list of images; run fastboot flash for each.
  4. If your phone is stuck in a boot loop. Boot into recovery mode (hold Power + Volume Down, then select Recovery) and do a factory reset from there. This wipes data but may fix the boot loop.
  5. If all else fails, flash the Android 11 factory image. Download the stable Android 11 image for your device and flash it using the same steps. This will restore your phone to a stable version.

Frequently Asked Questions

Will installing the Developer Preview void my warranty?

Unlocking the bootloader and flashing a developer image is not officially supported by Google for consumer devices, so it may void your warranty. However, you can relock the bootloader (using fastboot flashing lock) after flashing, which may restore warranty status, but it wipes your phone again.

Can I install it on a non-Pixel phone?

No, the Android 12 Developer Preview is only officially available for Google Pixel devices. Other manufacturers may release their own previews later, but not through the same method.

Will I lose all my data?

Yes, unlocking the bootloader and flashing the preview wipes your phone completely. Back up everything important before starting.

Can I get OTA updates after installing the preview?

If you join the Android Beta program (when available), you may receive over-the-air updates for preview builds. But the Developer Preview itself is not typically updated via OTA; you'll need to flash new builds manually.

Is it safe to use as my daily driver?

No, the Developer Preview is unstable and may have serious bugs. It's intended for developers to test apps, not for everyday use. Use a spare phone if possible.

How do I go back to Android 11?

Download the Android 11 factory image for your device from the official site, unlock the bootloader if you haven't, and flash it using the same steps. This will erase your data and restore Android 11.