----------------------------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------------------------

XDA:DevDB Information

XperiaSP Locked Bootloader (LBL) Cyanogenmod 12.0, ROM for the Sony Xperia SP

Contributors

Version Information

translated by Kizsde If you already have recovery installed, go to stepand continue from there.: As a first step, we should "root" our stock 4.3, so later on we can install a recovery tool:- a: Download the towelroot apk and click on the Lambda icon - b: On the phone, navigate toand check thecheckbox- c: Copy the tr.apk to your phone's SD card and install it- d: Estabilish an active internet connection on your phone- e: Run the towelroot app and once it loaded, tap on thebutton. This should "root" your phone.**The reason why the word "root" is between quotation marks, is because the towelroot app doesn't actually root your phone, but allows a superuser application to be installed on it. We don't actually need an SU app, but "root" is needed for the installation of the recovery.: Installing the Recoveries (source: [link] -a: On the phone, navigate toand check thecheckbox. If you don't have it listed, just tap thewithin4-5 times.-b: Connect your phone to the PC-c: Download the recovery pack created by dssmex -d: Extract thefile to your computer and depending on your operating system run the appropriatefile (install_mac.sh= MAC OSx; install_linux.sh= Linux; install.bat= Windows) **(On Windows a menu will appear, where you need to choose option "1" and the rest will be done automatically)-e: If the installation is successful and you see no, you can reboot your phone. Otherwise repeat the installation until it is completely error-free-f: After reboot, the phone indicates with some blinking lights and a slight vibration that you are now able to select from the recoveries (volume rocker down=TWRP recovery; volume rocker up=Philz recovery; camera button=CWM recovery). It is up to you which one you select, as all of them should be able to do the job just fine. Personally I recommend CWM and the guide will follow this method.: Installation of the CM12 rom:-a: Download the newest rom from here: [link] -b: Copy theto your phone, preferrably to the external SD card. (This can be performed during recovery too, but copying to the SD card is significantly slower this way, so before you do that please read section-c: During recovery selection, choose CWM(Quick CWM navigation guide: With physical buttons: Volume down=move down; Volume up=move up; On/off button=Enter/select menu option; || With swipe gestures: Swipe down: move down; Swipe up=move up; Swipe right=Enter/select menu option; Swipe left=back)-d: Make a backup of your current system, by going toand selecting theoption. This will create afolder on your SD card and the dated backups will be stored here.-e: Now go toand select theoption. This will erase the /Data /Cache partitions and delete the ".android_secure" folder on the SD card.It is advised to do the following when performing a clean install:It may happen that the installer is unable to format the system, so it needs to be perfomed manually by going to "mount and storage" and selecting the "format /system" option.-f: Navigate tothen browse to and select the previously copied CM11 rom-g: The CM12 rom should now be installed. If you don't prefer to install the Gapps pack, then reboot your phone with theoption, otherwise go to step: Installation of the google apps (Gapps):-a: Download the newest CM12 gapps from this list-b: Copy it to the external SD card-c: Go to CWM recovery again (camera button)-d: Navigate toand select the Gapps pack you just copied to the SD card: Installation of the SuperSU app:-a: Download the newest UPDATE-SuperSU-v2.**.zip -b: Copy it to the external SD card-c: Go to CWM recovery again (camera button)-d: Navigate toand select theyou just copied to the SD card-e: Once installation is done, reboot the phoneWhat works:USB Charging : OkUSB ADB : OkUSB MTP : OkVideo : OkAudio : OkSensors : OkScreen rotation : OkWLAN : OkWLAN Hotspot : Not testedGPS : OkGSM : OkGSM Data : Not testedGSM Voice : Not testedGSM SMS : Not testedBluetooth : OkNFC : OkCamera : OkFM Radio : OkKeyboard : OkMHL : Not testedOTG : Not testedWhat doesn't work:???Frequently Asked Questions + Useful info:- The first boot will always be slow. This is because once you enter your google account details it starts updating the google apps and your personal details, while downloading your own applications as well- The rom does not include Sony's own services and user interface- The rom is rooted by default- You cannot apply any custom kernels as the bootloader is locked- After first boot, turn off NFC (or at least try to remove the check from the checkbox, it will not be possible due to a bug), then reboot the phone. After this you will be able to turn it on/off as per usual.- The rom contains CWM and Philz recovery too (camera button=CWM; volume up=Philz)- Glove mode is turned on by default, but if you would like to turn it off, go to "Settings->Language & Input" and remove the check from the "High Touch Sensitivity" checkbox- To enable "Developer Tools" & "Performance" menu options, navigate to "Settings->About Phone" and tap "Build number" 4-5 times- Hijack is a script that enables useres to boot not only stock roms on a locked bootloader, but custom ones too like Cyanogenmod, aopk, pa, pac, slimkat, omni etc...- It is not possible to update a rom OTA, only from recovery. The method of updating the rom is the same as installing it from step (3), the only difference is that the "-d: wipe data/factory reset" part needs to be skipped- If you want to play games, it is a good idea to change the "Profile" to "Performance" under the "Performance" menu option for the duration of play- You can make the Google search bar disappear from the home screen by opening the settings menu of the Trebuchet launcher via long press. Then expand the advanced settings by swiping up the grey bar of Wallpapers Modules Themes. Here look for the Search bar and switch it off.ROM: cm-12-20160130-UNOFFICIAL-lbhuashan GAPPS: gapps-502-base-********-1-signed.zip SuperSU:-CyanogenMod update-source (nighty) -RIL source code update-Selinux disabled-Wifi mac loader fix-Audio fix-Audio vendor blobs update-glove mod settings fix-Adreno driver update-Add some tweaks-GSM fix-WIFI fix-BT fix-GPS fix-Camera fixed (1080p video recording OK)-FM radio fix-NFC fix-Hot reboot fixed-MrSteve555-neXusPRIME-dh.harald-KeiranFTW-cray_Doze-davidmarco-dssmex-DooMLoRD-Cyanogenmod5.0.x LollipopLinux 3.4.xCyanogenModNightly2014-11-202016-01-30