Sony Xperia P is a legacy device which is not going to receive anymore official updates after Android Jelly Bean. With the release of Android 5.0 Lollipop the Android enthusiasts still want to update their devices to latest Android version. Android 5.0 introduced Material Design which makes it the most beautiful Android ever. Sony Xperia P can be updated to Android 5.0 Lollipop using the CyanogenMod 12 custom ROM. This is not the official release of CM. It is based on Android 5.0.2. It is available for LT22i only. Most of the features are working perfectly in this custom ROM. This ROM is actively supported by developers so expect quick fixes for bugs that you report in this ROM. Rest of the installation details are given below.
- Unlock Bootloader of Xperia P. If you do not know how to do it or you have no idea about what it is, then follow this guide to unlock Bootloader of your phone. How to Unlock Bootloader of Xperia Smartphones
- Install USB Drivers for Xperia P using the drivers installer from the Flashtool installation folder. Download Flashtool from here. After installing USB Drivers, connect phone to PC using the USB cable so that USB drivers are installed properly and connection is established properly.
- Install ADB and Fastboot Drivers. | Mac ADB And Fastboot Drivers. To avoid the lengthy installation, use the Minimal ADB and Fastboot tools for your PC to make the installation quick. ADB Drivers work best on Windows 7. ADB and Fastboot Drivers might not work on Windows 8 or Windows 8.1.
- Charge your phone up to 50%. It is very important because phone should not turn off during flashing process. If the phone turns off during the flashing process, it can damage the device.
- Make a backup of all Contacts and Messages on phone. – Guide
- Backup SMS Messages
- Backup Call Logs
- Make a Nandroid Backup if any custom Recovery is installed already. If not, you will find a custom recovery later in this guide. – Guide
- Copy all the media files and anything else stored in the internal memory to a PC before flashing to save this data.
The methods involved in flashing custom recoveries, ROMs and rooting your phone are highly custom and may result in bricking your device, and has nothing to do with Google or the device manufacturer that is SONY in our case. Also rooting your device will void its warranty and you will be no longer eligible for any kind of free device services by the manufacturers/warranty providers. In case of any mishap we may not be held responsible. Follow these instructions to the letter to avoid any mishap or bricking. Make sure that whatever you do, you are doing it at your own responsibility.
- CyanogenMod 12 Android 5.0.2 Lollipop ROM Xperia P Lt22i Nypon (Download Latest Build)
- Android 5.0 Lollipop Gapps
Steps to Install CM 12 on Xperia P LT22i
- Make sure that bootloader is unlocked and phone is charged to 50% at least.
- Copy ROM zip and Gapps zip to phone’s internal memory.
- Now turn off phone wait for 5 seconds.
- Hold volume up button and connect phone to PC.
- The LED should remain blue, which means that phone is in fastboot mode.
- Now copy boot.img to Fastboot folder or Minimal ADB and Fastboot installation folder.
- Open that folder, hold shift button on keyboard and right-click on mouse.
- Click on Open Command Window Here.
- Type fastboot devices and press Enter.
- It should only one fastboot connected device in return. If it showing more that one, then disconnect any other connected device or close any Android Emulator. Also make sure that PC Companion is completely disabled if installed.
- Now type fastboot flash boot boot.img and press Enter.
- Type fastboot reboot and press Enter.
- While phone is booting up, press Volume up/down/power to enter recovery mode.
- In the recovery mode, select Install and navigate to the folder where ROM zip is placed.
- Install the ROM zip.
- Install Gapps zip the same way and reboot the phone.
- Performing factory reset and wiping Dalvik cache after installing ROM is highly recommended!
- The phone will boot up to home screen in 5 minutes.
- To install Google Applications, copy downloaded Gapps zip file to phone and flash it the same way as ROM. Factory reset is not required this time.
- That’s all!
Got any question? Ask me in the comments below 🙂