Install Android P on Sony Xperia XZ2
In this article
Installing Android P (9.0) on your Sony Xperia XZ2 gives you the latest features, improved gestures, and security updates. The official way is through Sony's software update, which rolls out over the air (OTA) or via PC Companion. If you haven't received the update yet, or if you want to force it, follow the steps below. This guide covers both the official OTA update and the manual method using Sony's PC software. No rooting or unofficial files are needed.
What You'll Need
- A Sony Xperia XZ2 (model H8216, H8266, H8276, H8296 – all support Android P)
- Stable Wi-Fi connection (recommended to avoid data charges)
- Sufficient battery – at least 50% charge, or keep the phone plugged in
- Backup of important data (optional but recommended)
- A PC with internet connection (for the manual method using Xperia Companion)
- USB cable (original Sony cable preferred)
Step-by-Step
Method 1: Over-the-Air (OTA) Update
- Back up your data – Go to Settings > System > Backup and turn on backup to Google Drive, or use the Xperia Companion backup tool on your PC. This ensures you don't lose anything if something goes wrong.
- Connect to Wi-Fi – Go to Settings > Network & Internet > Wi-Fi and connect to a stable network. The update file is large (around 1.5 GB), so a stable connection is essential.
- Check for the update – Go to Settings > System > Software update. Tap “Check for updates”. If Android P is available for your device, it will appear as “Android 9.0 Pie”.
- Download the update – Tap “Download”. The phone will download the update in the background. You can continue using your phone, but it’s best to let it finish without interruption.
- Install the update – Once downloaded, tap “Install”. The phone will restart and show a progress bar. Do not turn off the phone during this time. It may take 10-20 minutes.
- Complete setup – After installation, your phone will boot into Android P. Follow the on-screen setup prompts. Your apps and data should be intact.
Method 2: Manual Update Using Xperia Companion (PC)
- Install Xperia Companion – On your PC, go to the official Sony support website and download Xperia Companion for Windows or Mac. Install it.
- Back up your phone – Open Xperia Companion and connect your phone via USB. Click “Backup” and follow the prompts to create a full backup on your PC. This is important because the manual update may wipe your data.
- Enable USB debugging (optional but helpful) – On your phone, go to Settings > System > About phone and tap “Build number” 7 times to unlock Developer options. Then go to Settings > System > Developer options and enable “USB debugging”. This is not strictly required for the update but can help if you encounter issues.
- Connect your phone to the PC – Use a USB cable and plug your phone into the PC. Unlock your phone screen and allow the connection when prompted.
- Start the software update – In Xperia Companion, click “Software repair” (or “Update” if available). If an update is available, it will show the new version. Follow the on-screen instructions.
- Wait for the process to finish – The software will download the update and install it on your phone. Your phone will restart several times. Do not disconnect the USB cable until the process is complete.
- Restore your data – After the update, you can restore your backup using Xperia Companion.
Common Mistakes
- Not backing up – Skipping backup can result in losing photos, contacts, and app data if the update fails or if you use the manual method.
- Low battery – Starting the update with less than 50% battery can cause the phone to shut down mid-update, which can brick the device.
- Using a faulty USB cable – A damaged or non-original cable can cause disconnections during the manual update, leading to errors.
- Interrupting the update – Turning off the phone or pressing buttons during installation can cause the update to fail.
- Ignoring storage space – The update requires about 2 GB of free space. If you have less, the download may fail. Free up space by deleting unnecessary files or apps.
Tips
- Update over Wi-Fi – Always use Wi-Fi to avoid data charges and ensure a stable connection.
- Keep your phone plugged in – During the OTA update, it’s a good idea to plug your phone into a charger to prevent battery drain.
- Clear cache after update – If you notice any glitches after the update, go to Settings > Storage > Cached data and clear it. This can resolve minor issues.
- Check for carrier-specific versions – If you bought your phone from a carrier, the update may be delayed. You can check with your carrier or use the manual method with Xperia Companion.
- Do not root – Rooting your device will prevent you from receiving official updates and may void your warranty. Stick to official methods.
Troubleshooting
“No update available” or update not showing
If your phone says it’s up to date but you know Android P exists, wait a few days – updates roll out in waves. You can also try the manual method with Xperia Companion, which often gets the update earlier. Alternatively, check Sony’s official support page for your model to see if the update is being rolled out.
Update fails to download or install
First, restart your phone and try again. If that doesn’t work, clear the cache of the “Software update” app: go to Settings > Apps > See all apps > Software update > Storage > Clear cache. Then try again. If it still fails, use the manual method with Xperia Companion – it often bypasses OTA issues.
Phone stuck on boot loop after update
This is rare but can happen. First, try a soft reset: press and hold the power button and volume up button simultaneously for about 10 seconds until the phone restarts. If that doesn’t work, you may need to perform a factory reset – but this will erase all data. To do this, turn off the phone, then press and hold the power button and volume down button until the phone vibrates, then use the volume keys to navigate to “Factory reset” and confirm. If you have a backup, you can restore after.
Battery drains quickly after update
This is normal for the first few days after a major update – the system is reindexing and optimizing. If it persists after a week, go to Settings > Battery > Battery usage to see which apps are consuming power. You can also try a cache clear as mentioned in Tips.
Wi-Fi or Bluetooth not working after update
Go to Settings > Network & Internet > Wi-Fi and toggle it off and on. If that doesn’t work, go to Settings > System > Reset options > Reset Wi-Fi, mobile & Bluetooth. This will forget all saved networks and paired devices – you’ll need to reconnect them. If the problem persists, you may need to do a factory reset.
Frequently Asked Questions
Will I lose my data when updating to Android P?
If you update via OTA, your data is usually preserved. However, it’s always recommended to back up before any major update. The manual method with Xperia Companion may erase data if you use “Software repair” – but the “Update” option should preserve data. Always back up first.
Is Android P the same as Android 9.0?
Yes, Android P is the codename for Android 9.0. Sony’s update will show as “Android 9.0 Pie”.
Can I update to Android P if I have a carrier-locked phone?
Yes, but the update may be delayed by your carrier. You can still use the manual method with Xperia Companion, but ensure that your phone is not SIM-locked to a carrier that hasn’t approved the update – in that case, the manual method may not work. Check with your carrier for their update schedule.
What if my phone is rooted? Can I still install Android P?
Rooted phones cannot receive OTA updates. You would need to unroot your phone first. The official method is to use Xperia Companion’s “Software repair” which will restore the original firmware and unroot the device – but this will wipe all data. After that, you can update to Android P.
How long does the update take?
The OTA download takes about 10-20 minutes depending on your internet speed. Installation takes another 10-20 minutes. The manual method may take longer, up to an hour, because it downloads the full firmware.
Will Android P be the last update for my XZ2?
No, the XZ2 is eligible for Android 10 (Q) as well, but that’s a separate update. Android P is the first major update for the XZ2. Sony has promised two years of major updates for its flagship devices, so you can expect Android Q later.