[ROM][FINAL][7.1] CyanogenMod 14.1 for Xperia SP

Search This thread

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,968
Île-de-France
adriandc.github.io
logo-cid.png

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 7.x (Nougat),
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.

Official CyanogenMod 14.1 Release post : https://wiki.cyanogenmod.org/w/Huashan_Info


Downloads Links
CyanogenMod 14.x (Unlocked Bootloader) :
Xperia SP (Huashan) : https://mega.nz/#F!i4dnRRQS!Vg9KW-BnNg6jjcg35u7jXA

Google Applications (optional) :
OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 7.x, Micro or Pico)
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

Recommended Recovery (optional) :
TWRP 3.0 : http://forum.xda-developers.com/xpe...t/recovery-twrp-3-0-0-touch-recovery-t3309938

Useful alternatives to CM Updater (with Deltas) : CM Downloader on Play Store
About CyanogenMod : ChangeLog available on http://www.cmxlog.com/14.1/huashan/
About CyanogenMod 14 Device Side : See my GitHub trees linked below


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 ROM zip from the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot

CyanogenMod update / upgrade :
- (Information) Don't wipe anything unless you want to
- (BETA / UNOFFICIAL) Nothing to wipe when switching
- Flash the latest CyanogenMod ROM zip from the Recovery
- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
- (Optional) Every additional zip you want to flash
- Reboot

CyanogenMod day-to-day updates :
- (Information) Don't wipe anything unless you want to
- (Information) Being Nightlies, try to have a safe backup once a month
- Update to latest Nightly using CM Updater or CM Downloader (link above)
- Reboot


About the builds


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
CM-14.x Huashan Regular Questions and Answers : Q&A Thread

About CM-14.x : https://en.wikipedia.org/wiki/CyanogenMod

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
- Everyone involved in working and testing​

XDA:DevDB Information
CyanogenMod 14.1, ROM for the Sony Xperia SP

Contributors
Adrian DC
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x

Version Information
Status: No Longer Updated

Created 2016-09-14
Last Updated 2017-03-20
 

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,968
Île-de-France
adriandc.github.io
Reserved

FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : OpenGApps Micro Ok
- Dual Recovery : Ok (see below)
- WiFi : Ok (real SONY MAC address)
- Bluetooth : Ok (real SONY MAC address)
- WiFi Hotspot : Ok (2.4GHz and 5GHz)
- RIL - Phone - Data : Ok
- GPS : Ok
- Camera : Ok
- Camcorder : Ok
- MicroSD : Ok, only Ext4 support missing from ROM
- 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, Updating frequently
- Graphics : Ok
- 3D Rendering : Ok
- Clock : Ok (RTC real hardware clock, in TWRP recovery too)
- Powered-off alarm : Ok
- Offline Charging : Ok
- Encryption : Status unknown
- SEPolicies : Fully enforced


IMPORTANT FEATURES TO KNOW
  • Boot sequence : Once the LEDs light up :
    - Press Volume - to open CyanogenRecovery,
    - Press Volume + to open the FOTA recovery (TWRP usually) if available
  • Powered-off alarm : When you have set an alarm
    - If you power down the device, it will wake automatically 5 minutes before
    - If you let the device charge offline, it will automatically reboot 5 minutes before
  • Gestures : Events like hand-wave and pocket removal can be enabled in the Settings
  • Force reboot : You can reset the device by holding Power and Volume+ 5 seconds
 
Last edited:

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,968
Île-de-France
adriandc.github.io
Reserved

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_external_stlport" path="external/stlport" 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="CyanogenMod/android_packages_apps_FMRadio" path="packages/apps/FMRadio" 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>
 
Last edited:

Cyrus.xda

Senior Member
Jul 28, 2015
127
25
Mr Adrian once again your bless including us again what you did for our device is more than a magic sony support is very soon end even the promise of 4.4 is not true because its never update by sony... For an old phone like xperia sp from 2013 its completely fantasy to have nougat... We find a great man a great dev God bless you i really appreciate your kind and your time that really sacrifice for us i have a question from you mr Adrian after a very magical works like multirom im stick on multirom because its amazing i set official 4.3 on primary and cm 13 on secondary my question about when i can flash cm 14 on multirom as a secondary rom? Mr adrian i hope a great life for you a life with all success in all of chapters of your life im really sorry for my bad language ?

Sent from my Xperia SP using Tapatalk
 
  • Like
Reactions: Gshrestha

Onawt

Senior Member
Jun 29, 2016
54
49
Wow! ... just Wow!! This is unbelievable. The amount of time and work you put into this phone is unbelievable. If it wasn't for you, I would've already bought a new phone, but thanks to your awesome support I can still have an up-to-date software experience with the newest Android features and more.
I hope development for CM14 won't be as difficult as it was when moving from Kitkat/Lollipop to Marshmallow, but seeing that the alpha-build is already working pretty okay, I have faith in you getting to run our phone with CM14 better and faster, than it already did on CM13. Keep up the great work! You're a million times better in supporting our device than those million dollar phone companies.
 

miladn78

Senior Member
Oct 7, 2014
99
10
Thanks for your great ROM.
But I have a problem , I can't install V4Android ,It give me IO error.
 

kvazimode

New member
Sep 6, 2016
4
5
Works fine!
But I miss some CM13 features like themes, NFC toggler in top bar, buttons editor, buttons on locked screen editor, battery % indicator, etc. These are only Android 6 features, that are disabled in 7, or CM will add customization later?
 
  • Like
Reactions: Gshrestha

ParanoidNemo

Senior Member
Works fine!
But I miss some CM13 features like themes, NFC toggler in top bar, buttons editor, buttons on locked screen editor, battery % indicator, etc. These are only Android 6 features, that are disabled in 7, or CM will add customization later?
It's an alpha build..the features will be add later..right now they are interested in stability and bug fixes other than make everything work on 7

Sent from my Xperia SP using Tapatalk
 
  • Like
Reactions: AdrianDC

Top Liked Posts

  • There are no posts matching your filters.
  • 91
    logo-cid.png

    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 7.x (Nougat),
    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.

    Official CyanogenMod 14.1 Release post : https://wiki.cyanogenmod.org/w/Huashan_Info


    Downloads Links
    CyanogenMod 14.x (Unlocked Bootloader) :
    Xperia SP (Huashan) : https://mega.nz/#F!i4dnRRQS!Vg9KW-BnNg6jjcg35u7jXA

    Google Applications (optional) :
    OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 7.x, Micro or Pico)
    Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

    Recommended Recovery (optional) :
    TWRP 3.0 : http://forum.xda-developers.com/xpe...t/recovery-twrp-3-0-0-touch-recovery-t3309938

    Useful alternatives to CM Updater (with Deltas) : CM Downloader on Play Store
    About CyanogenMod : ChangeLog available on http://www.cmxlog.com/14.1/huashan/
    About CyanogenMod 14 Device Side : See my GitHub trees linked below


    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 ROM zip from the Recovery
    - (Optional) Flash the GApps to have the Google Applications
    - (Optional) Every additional zip you want to flash
    - Reboot

    CyanogenMod update / upgrade :
    - (Information) Don't wipe anything unless you want to
    - (BETA / UNOFFICIAL) Nothing to wipe when switching
    - Flash the latest CyanogenMod ROM zip from the Recovery
    - (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes
    - (Optional) Every additional zip you want to flash
    - Reboot

    CyanogenMod day-to-day updates :
    - (Information) Don't wipe anything unless you want to
    - (Information) Being Nightlies, try to have a safe backup once a month
    - Update to latest Nightly using CM Updater or CM Downloader (link above)
    - Reboot


    About the builds


    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
    CM-14.x Huashan Regular Questions and Answers : Q&A Thread

    About CM-14.x : https://en.wikipedia.org/wiki/CyanogenMod

    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
    - Everyone involved in working and testing​

    XDA:DevDB Information
    CyanogenMod 14.1, ROM for the Sony Xperia SP

    Contributors
    Adrian DC
    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.4.x

    Version Information
    Status: No Longer Updated

    Created 2016-09-14
    Last Updated 2017-03-20
    58
    Reserved

    FEATURES AND ISSUES
    Code:
    - Boot : Ok
    - GApps : OpenGApps Micro Ok
    - Dual Recovery : Ok (see below)
    - WiFi : Ok (real SONY MAC address)
    - Bluetooth : Ok (real SONY MAC address)
    - WiFi Hotspot : Ok (2.4GHz and 5GHz)
    - RIL - Phone - Data : Ok
    - GPS : Ok
    - Camera : Ok
    - Camcorder : Ok
    - MicroSD : Ok, only Ext4 support missing from ROM
    - 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, Updating frequently
    - Graphics : Ok
    - 3D Rendering : Ok
    - Clock : Ok (RTC real hardware clock, in TWRP recovery too)
    - Powered-off alarm : Ok
    - Offline Charging : Ok
    - Encryption : Status unknown
    - SEPolicies : Fully enforced


    IMPORTANT FEATURES TO KNOW
    • Boot sequence : Once the LEDs light up :
      - Press Volume - to open CyanogenRecovery,
      - Press Volume + to open the FOTA recovery (TWRP usually) if available
    • Powered-off alarm : When you have set an alarm
      - If you power down the device, it will wake automatically 5 minutes before
      - If you let the device charge offline, it will automatically reboot 5 minutes before
    • Gestures : Events like hand-wave and pocket removal can be enabled in the Settings
    • Force reboot : You can reset the device by holding Power and Volume+ 5 seconds
    44
    Reserved

    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_external_stlport" path="external/stlport" 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="CyanogenMod/android_packages_apps_FMRadio" path="packages/apps/FMRadio" 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>
    37
    GPS is perfect for me and I use it every day, can't tell for now.
    Neither for awake, for now I'm getting my best battery lifetimes & no deep-sleep issue.

    Small screenshot of tonight's work on 7.1 ;).
    36
    New 14.1 build coming soon, with various improvements and working camcorder.

    As always, DO NOT forget to upgrade GApps to 7.1 too.

    PS: Build restarted because camcorder commits were missing somehow.