FORUMS
Remove All Ads from XDA

[ROM][SNAPSHOT][5.1.1] CyanogenMod 12.1 for Xperia SP

2,161 posts
Thanks Meter: 12,646
 
By AdrianDC, Recognized Developer on 15th March 2016, 05:38 PM
Post Reply Email Thread

Code:
#include <std_disclaimer.h>
/*
 * Your warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */

About CyanogenMod
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.1 (Lollipop),
which is designed to increase performance and reliability over stock Android for your device.

All the source code for CyanogenMod is available in the CyanogenMod Github repo.
And if you would like to contribute to CyanogenMod, please visit our Gerrit Code Review.

Downloads Links
CyanogenMod 13.0 Now Official :
XDA : http://forum.xda-developers.com/xper...t/rom-t3347677
Nightly : http://download.cyanogenmod.org/?device=huashan

CyanogenMod 12.1 (Unlocked Bootloader) :
Final Build : https://mega.nz/#F!uk0iWSKS!KQ1HKLXJC6oPpoO61zK7Sg

Google Applications (optional) :
OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 5.1, Micro or Pico)

Recommended Recovery (optional) :
TWRP 3.0 : http://forum.xda-developers.com/xper...overy-t3309938

About GApps : Flash the GApps before the first boot. If not, a clean flash is recommended.

Flashing and updating
CyanogenMod clean install :
- (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool
- (Optional) Wipe the data & cache (Backup to make sure not to loose data)
- Flash the CyanogenMod 12.1 ROM zip from the Recovery
- (Optional) Flash the GApps
- Reboot

CyanogenMod update / upgrade :
- (Information) Don't wipe anything unless you want to
- (BETA UNOFFICIAL) Nothing to wipe when switching
- Flash the latest CyanogenMod 12.1 ROM zip from the Recovery
- (Optional) Flash the GApps on first update. Not required later, but do update sometimes
- Reboot
Additional Links
Development : https://github.com/AdrianDC/android_device_sony_huashan

Issues and reports
- Report issues only if you use the ROM kernel
- If an additional mod is installed, make sure it's unrelated, and mention it
- Make sure the issue wasn't discussed earlier in the threads
- Share a log of the error with CatLog for example

Q&A - FAQ
About CM-12.1 : https://en.wikipedia.org/wiki/CyanogenMod

Main Q&A Thread : http://forum.xda-developers.com/xperia-sp/help/qa-cyanogenmod-12-1-t3070956

Q : Is root access included into CM ?
A : Go into Settings, About Phone. Tap "Build number" 7 times.
> Go back, open Developer options. Change "Root access" option.

Q : Is the ROM suited for daily usage ?
A : Definitely yes.

The CyanogenMod team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!

CyanogenMod available for Huashan also thanks to :
- The CyanogenMod Team
- Mrcl1450 (Marcelo)
- uberlaggydarwin (Brinly)
- Everyone involved in working and testing.
XDA:DevDB Information
Cyanogenmod 12.1, ROM for the Sony Xperia SP

Contributors
Adrian DC
Source Code: https://github.com/CyanogenMod/andro...e_sony_huashan

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x

Version Information
Status: Snapshot
Current Stable Version: SNAPSHOT
Current Beta Version: UNOFFICIAL

Created 2016-03-15
Last Updated 2017-03-20
The Following 48 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
 
 
15th March 2016, 05:38 PM |#2  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 12,646
 
More
Reserved
FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : OpenGApps Micro Ok
- GPS : Ok
- WiFi : Ok (real SONY MAC address)
- Bluetooth : Ok (real SONY MAC address)
- WiFi Hotspot : Ok (2.4GHz and 5GHz)
- RIL - Phone - Data : Ok
- Camera : Ok
- Camcorder : Ok
- Accelerometer : Ok
- Compass : Ok
- Gyroscope : Ok
- AOSP sensors : Ok
- FM Radio : Ok
- Vibrator : Ok
- Microphone : Ok
- Audio & external audio : Ok
- Bluetooth audio : Ok
- NFC : Ok
- Kernel : Ok
- Graphics : Ok
- 3D Rendering : Ok
- Offline Charging : Ok (with SONY design)
- SEPolicies : Fully enforced
The Following 8 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
15th March 2016, 05:48 PM |#3  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 12,646
 
More
About my CyanogenMod 12.1 Addons packages
  • FM Transmitter : Enables the FM transmission, built in the QCOM FM (Verify your country's laws first)
  • Gestures : Add my Gestures Doze implementation (108747)
  • QuickBoot : Add the hibernation feature to the developer settings

Current local manifest of the ROM build
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://github.com/CyanogenMod/android -->
<manifest>

  <project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
  <project name="CyanogenMod/android_device_sony_common" path="device/sony/common" remote="github" />

  <project name="CyanogenMod/android_hardware_qcom_fm" path="hardware/qcom/fm" remote="github" />
  <project name="CyanogenMod/android_hardware_sony_DASH" path="hardware/sony/DASH" remote="github" />
  <project name="CyanogenMod/android_hardware_sony_thermanager" path="hardware/sony/thermanager" remote="github" />

  <project name="AdrianDC/android_device_sony_huashan" path="device/sony/huashan" remote="github" />
  <project name="AdrianDC/android_kernel_sony_msm8960t" path="kernel/sony/msm8960t" remote="github" />
  <project name="AdrianDC/proprietary_vendor_sony" path="vendor/sony" remote="github" />

</manifest>
The Following 22 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
15th March 2016, 05:48 PM |#4  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 12,646
 
More
Reserved
The Following 18 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
15th March 2016, 06:33 PM |#5  
sadab's Avatar
Senior Member
Flag Dhaka
Thanks Meter: 46
 
More
Unhappy SD Card
Can anyone will tell me what causes my external sd to change directory . On previous build(20150710) my sd card location was on /storage/sdcard1 but after flashing any latest update my sd card location changes to /mnt/media_rw/sdcard1/ . I can't use my sdcard . It happened on every latest update i flashed . i didn't find any way to fix my sd card location that's why i can't update the rom to latest build . I clean installed the rom . but the result was zero.

EDIT : The actual problem is on the latest build's kernel image . I just flashed the latest build and after the boot i flashed the my old 20150710 build's kernel . Now the external sd card location is on the /storage/sdcard1 directory .
15th March 2016, 09:10 PM |#6  
Junior Member
Thanks Meter: 5
 
More
Feature request: An option to toggle video stabilizer on/off on CM 12.1 stock camera
First of all, i apologize if i'm rude to posting here and suddenly asking something. I was already asking this question on Q&A thread for 5 days, and still no answer. I assume, that my question on Q/A thread was impossible to do in normal way.

My request are an option to toggle video stabilizer on/off when recording video using CM 12.1 Stock camera app, or disable it all the way.

I don't know if it possible via flashing some update, third party camera app or have to edit some system parameter using root apps. I will gladly become first tester if it will available.

When recording video at sufficient light situation, most of the time, video stablizer works well. But when it comes to low light situation, video stabilizer become a hassle and even, degrade the quality of videos. (unnecessary stabilize, videos shaking by itself because capturing noise as stabilized point.)

Thanks alot. You are doing great work for humanity!
17th March 2016, 10:07 AM |#7  
Junior Member
Flag Cabanatuan City
Thanks Meter: 1
 
More
Will this rom wont lag after a few days? Most of these roms does :C
17th March 2016, 10:43 AM |#8  
Arvind7352's Avatar
Senior Member
Flag Mumbai
Thanks Meter: 1,424
 
More
Quote:
Originally Posted by lescrios

Will this rom wont lag after a few days? Most of these roms does :C

Flash it and try your luck

Unofficial builds are stable as of now

Development talks in Development Thread please, else use the search tool in Q/A Thread.

Sent from my Xperia SP using Tapatalk
The Following User Says Thank You to Arvind7352 For This Useful Post: [ View ] Gift Arvind7352 Ad-Free
17th March 2016, 10:58 PM |#9  
AbboodSY's Avatar
Senior Member
Flag Homs
Thanks Meter: 230
 
More
Quote:
Originally Posted by lescrios

Will this rom wont lag after a few days? Most of these roms does :C


Of course it will lag even if your phone is the Z10 as long as you are squeezing it with all android apps ! keep in mind that the SP has approximately 500MB of free ram so it wont stay smooth if you filled it with all GP store's apps! and please everyone stop asking such noob questions in the development thread!!

Sent from my Xperia SP using XDA Forums Pro.
18th March 2016, 12:50 AM |#10  
dic1911's Avatar
Senior Member
Thanks Meter: 757
 
More
Quote:
Originally Posted by MizoSome

Of course it will lag even if your phone is the Z10 as long as you are squeezing it with all android apps ! keep in mind that the SP has approximately 500MB of free ram so it wont stay smooth if you filled it with all GP store's apps! and please everyone stop asking such noob questions in the development thread!!

Sent from my Xperia SP using XDA Forums Pro.

you're right, but those noobs don't even read before they ask *sighed*
The Following User Says Thank You to dic1911 For This Useful Post: [ View ] Gift dic1911 Ad-Free
18th March 2016, 02:08 AM |#11  
gmsalomao2's Avatar
Senior Member
Thanks Meter: 55
 
More
Currently on nightly 2016-02-24

I was trying to install gReader Pro 4.2 from Play Store and always getting "error -505" after trying many many things, I decided to install from ADB and got this error:

Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

I have installed gReader on my Nexus 7 with CM12.1, so it's probably not related to Lolipop incompatibility.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes