Xperia P Running AOSX |
Update Xperia P LT22i to Android 4.4.3 KitKat with AOSX Custom ROM:
Sony Xperia P is one of the most durable mid-range devices out there. It is powered by a NovaThor chipset, which allows better performance and minimal battery usage. The most prominent feature of Xperia P is the battery life. If you are an average user, who does not keep the phone’s screen on, practically whole time, then you can can get 3 days of usage out of it. With stamina mode turned on, Xperia P does not drop even a single percent of battery in standby mode.
Xperia P has a 4 inch display and qHD resolution. Other specs include 1 GB RAM and non-expandable storage. Xperia P is deported with Gingerbread out of the box and later updated to Jelly Bean 4.1.2, after Ice Cream Sandwich update. This phone is capable of running most of heavy games available in Play Store. Some action-packed games like Iron Man might lag a bit. However, most os games run smoothly.
Sony has cut off support for Xperia P LT22i which means it will no longer receive OTA updates. It is stuck to Android 4.1.2 Jelly Bean. However, thanks to developers community, Xperia P can be updated to Android 4.4.3 KitKat using a custom ROM. There are number of custom ROMs available. Android Open Source Xperia aka AOSX is a new project, which develops AOSP ROMs for Xperia devices, mainly using NovaThor chipset. Xperia P is lucky to be included in this project, since it offers the best of Android stock experience.
To install 4.4.3 KitKat AOSX Custom ROM on Xperia P LT22i, you need to have unlock the bootloader of your device. You also require working fastboot and a set of fastboot commands. Just pick the right section for you from below
About ROM:
This custom ROM has been developed by percy_g2 who has been working on many other custom ROMs for Xperia P. He is a renoened developer. This ROM is based on Android Open Source Project. It offers stock Android experience, which is both fast and stable that Sony-theme Android OS. It is simple and bloatware free. If you want to support his development, then you can donate to percy_g2.
Screenshots:
   
Working Features:
CyanogenMod’s Superuser
CyanogenMod’s File Manager
CyanogenMod’s Torch
CyanogenMod’s BusyBox
CyanogenMod’s Browser
OmniROM Recovery (TWRP)
OmniROM music player (Apollo)
OmniROM equalizer (DSP Manager)
Google Play Store And other basic features not included in the bugs list below
Known Bugs:
FM Radio
WiFi Direct
NFC tags
A2DP
HDMI
Requirements:
You must have unlocked the bootloader of your smartphone
How to unlock bootloader of any Xperia Device Officially
If you ever want to relock your bootloader in future and revert all the settings to factory state, then you will need to backup TA partition. TA partition contains DRM keys, Bravia Engine functionality and your warranty papers verification. If you do not backup TA partition before unlocking bootloader, then you will never be able to revert back to factory state. Even if you do not want to relock bootloader ever, we still advise you to backup TA partition for future use. Visit the following link for a detailed guide on backing up TA partition on Xperia devices.
How to backup TA partition in Xperia devices
Before doing anything like rooting or flashing, you will need to backup your data and other things as well. You must take care of few things to make sure that all the process is done smoothly. Please read all the precautions listed below to make sure that you do everything correctly to save your device from any kind of unwanted damage.
Disclaimer:
The methods involved in flashing custom ROMs and rooting your phone are highly custom and may result in bricking your device. They have nothing to do with Google or the device manufacturing company. 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.
Important Precautions:
Battery: Battery of your smartphone must be charged over 70%. Installation process takes very little time with battery drop of about 5 to 6% but do not risk it. Sometimes, phone is stuck in bootloop and then you realize that you need battery. Many other unfortunate things can happen, so it is highly recommended that battery must charge above 70% at least.
ADB and Fastboot Drivers: Most of newbies are not aware of ADB and fastboot. ADB means Android Debug Bridge. ADB and Fastboot are two most essential tools for Android development. Therefore, before doing anything like rooting or flashing, or even connecting your device to PC, you need these driversset up. Mostly, drivers are already installed or automatically installed in some cases, but to avoid any confusion, you must set up ADB and Fastboot drivers. Once they are seet up, you do not need to do this again for future use. Follow given link to install ADB and Fastboot drivers on your PC.
How to Install ADB & Fastboot Drivers HERE
Install ADB and Fastboot Drivers quickly with Minimal ADB & Fastboot Installer
USB Drivers Specific for Device Just like ADB drivers, there are some specific USB drivers for every smartphone. Without these drivers, it is impossible to establish a secure connection between device and computer. When you connectyour smartphone or tablet to PC, windows automatically finds and installs USB drivers. If this is your case, then you can skip this step. Those who are experiencing connection issues must install USB Drivers specific for their devices. Installing Sony PC Companion will install all essential USB drivers itself. Download from link below for your PC.
Sony xperia P LT22i USB Drivers – Download Here
Verify Model Number of your Device: This is one of the most important parts. Keep in mind that you must use only those files which are specified for you phone model. You must check everything twice because using an incorrect file can hard brick your device. It means, it will be no longer available for use. Therefore, always keep in mind that you must check phone model of your device before proceeding.
This guide is for xperia P LT22i only!
Backup your Data: Flashing a custom ROM will always require a clean wipe. It means you will have to wipe all data on your smartphone by performing a factory reset. It means, not only SD card, but installed applications and games witll be deleted too. Therefore, make a backup of your important data before flashing this custom ROM. If there is a SD card inserted in your smartphone, you may removeit. Copy all data in the internal memory of your device. Those games or appliacations, which have external data stored on phone memory, back it up before it’s too late. For those, who have a CWM installed, they should make a Nandroid Backup. This way, if you do not like this custom ROM, you can easily restore your previous ROM
To install AOSX custom ROM on LT22i Xperia P, you need to download following files.
Downloads:
ROM zip - Dev Host (~194 MB) ==> HERE
If you want Gapps then download from here ===> HERE
Instructions:
First of all, make sure that you have unlocked bootloader of Xperia P. If not, then do not proceed!After unlocking bootloader, follow these stepsDownload and put the ROM zip anywhere on your PCNow extract boot.img from it and put it in Fastboot folder or Minimal ADB and fastboot Installer folderNow copy full ROM zip (boot.img must be inside zip) to phone’s SD CardAlso copy Gapps zip to phone’s SD CardNow turn off your smartphoneConnect USB Cable with your PC onlyNow hold Volume Up on your phone and plug in USB cable in smartphoneIt will turn LED blue[If using ADB & Fastboot Tools] Inside fastboot folder, hold Shift on keyboard and right click mouse[If using ADB & Fastboot Tools] Click on Open Command Window[If using ADB & Fastboot Tools] In the command window, type fastboot flash boot boot.img and press Enter[If using ADB & Fastboot Tools] It will flash the boot.img in few seconds[If using ADB & Fastboot Tools] Now type fastboot reboot and press Enter[If using ADB & Fastboot Tools] Now read on after [If using Minimal ADB & Fastboot][If using Minimal ADB & Fastboot] Run Minimal ADB and Fastboot installer[If using Minimal ADB & Fastboot] Type fastboot flash boot boot.img and press Enter[If using Minimal ADB & Fastboot] It will flash boot.img in few seconds[If using Minimal ADB & Fastboot] Type fastboot reboot and press EnterNow when your device is booting up, press power button or volume up/down to enter recovery modeNow navigate to Install Zip from SD Card and install ROM zip and then Gapps zip the same wayUse volume keys to navigate while power button to make selectionsGo to main menu and wipe cache partition, dalvik cache and factory reset deviceIt will be done in few minutesNow just reboot your Xperia PFirst reboot will take a little longer!That’s all
If you have got any questions, feel free to ask us in comments below
Troubleshooting:
Phone is stuck in bootloop:
This is called a bootloop or soft brick. This has probably happened becasue you did not perform a complete wipe before flashing ROM. It is best to perform a clean installation. To resolve this issue, you have to turn off device by pulling out battery. Now put battery in again and boot into CWM mode. To do so, press volume down button repeatedly while device is booting up. Once in CWM mode, you have to perform a Factory reset. After you have done factory reset, now navigate to advanced and wipe dalvik cache. The last thing you need to do is to wipe cache partition. After you have done all 3 step explained here, your device will reboot properly. You may also face this issue if you are flashing this custom ROM over another custom ROM already installed. To resolve this issue, you will have to flash stock ROM via Odin PC, then install CWM and then flash the ROM. Otherwise, even if ROM boots up properly, already installed files of previous ROM might conflict with new ROM. The only condition when you can flash a custom ROM over another is when it is an update of already installed ROM. You do not even have to perform a factory reset in this case. However, you have to wipe cache partition and dalvik cache in this case.
Battery percentage is not calibrated:
This problem occurs very often after flashing a custom ROM. This is a minor issue and it can be easily resolved. The best way to resolve this issue is to let the battery fall down to minium. When it is about to be finished, boot ito CWM mode by pressing volume down button repeatedly. In CWM mode, locate the option called Wipe battery stats. With this option, you will wipe previously stored battery stats information on device. After doing this, do not turn on the device. Just plug it into its AC adapter and leave it for 4 to 5 hours. After you turn it on, not only battery percentage will be calibrated, you will also see and improvement in battery life of your smartphone.
Extreme battery drain:
In this case, follow same steps as explained in above section. If problem still persists, copy all data on your smartphone’s SD Card and internal memory to a PC. Now format internal and external memory of device. Now copy all data back to your device. Also check those apps, which are using too much battery inbackground. You can monitor background apps using GSam Battery Monitor. You can download it from Play Store. You can freeze such apps using Titanium Backup. It will improve your device’s battery life.
Phone unable to enter Fastboot mode:
Fastboot mode is used to flash .img and .elf files on Android devices. Every device has its own specific method for entering fastboot mode. For your device, visit previous page.
If your device is not entering fastboot mode, you need to install ADB and Fastbootdrivers using guide provided in second page. Also install USB drivers specific for your device. If you have PC Companion installed on your PC, you must close it completely in order to avoid problems. Also try different USB ports of your desktop PC or laptop. If your problem is still persisting, ask us in comments below.