[ROM][SNAPSHOT][7.1] LineageOS 14.1 for Xperia SP

Search This thread

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,973
Île-de-France
adriandc.github.io
Lineage-Header_zps5k1so3nb.png~original

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 LineageOS
LineageOS 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 LineageOS is available in the LineageOS GitHub repo.
And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.

Official LineageOS website : http://lineageos.org


Downloads Links
LineageOS 14.x (Unlocked Bootloader) :
Xperia SP (Huashan) - 14.1 : https://mega.nz/#F!zp8mxS4B!X-_vO7IzoFpW12IdSn0S_A

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.x : http://xdaforums.com/xperia-sp/orig-development/-t3309938

Informations and references :
Kernel CVEs : Security patches status https://cve.lineageos.org/android_kernel_sony_msm8960t
About LineageOS updates : ChangeLog available on https://download.lineageos.org/huashan/changes/
About LineageOS device side : See my GitHub trees linked below


Flashing and updating
LineageOS clean install :
- (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool
- (Optional) Install TWRP Recovery to the FOTA partition (Read the TWRP thread)
- (Optional) Wipe the data & cache (Backup to make sure not to lose data)
- Flash the LineageOS ROM zip from the Recovery
- (Optional) Flash the GApps to have the Google Applications
- (Optional) Every additional zip you want to flash
- Reboot

LineageOS update / upgrade :
- (Information) Don't wipe anything unless you want to
- (CM / UNOFFICIAL) Nothing to wipe when switching
- (FUTURE RELEASES) Might need clean, informations will be updated
- Flash the latest LineageOS 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

LineageOS official upgrade from older builds :
- (Information) Read the following post : Update & Build Prep
- (Optional) Backup your applications and / or ROM
- (CM / UNOFFICIAL) Flash the EXPERIMENTAL migration build and reboot to Android
- Flash the latest LineageOS ROM and reboot to Android

LineageOS addonsu for root access :
- (Information) Read the Root section of the Q&A thread
- (Download) Download the addonsu for arm : LineageOS Downloads / Extras
- (Optional) Flash the zip on a working Lineage installation (once)
- (Information) Upon ROM updates, the addonsu is preserved
- Reboot


About the builds


Issues and reports
- Report issues only if you are using 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
LineageOS 14.1 Huashan Regular Questions and Answers : Q&A Thread

About LineageOS Legal : http://lineageos.org/legal/

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




LineageOS available for Huashan also thanks to :
- The LineageOS Team
- The CyanogenMod Team
- Everyone involved in working and testing​


XDA:DevDB Information
LineageOS 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: Snapshot

Created 2016-12-31
Last Updated 2020-08-15
 
Last edited:

AdrianDC

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

FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : OpenGApps Micro Ok
- Partitions (Data, Cache) : Ext4 and F2FS supported
- ROM Recovery : Broken for signed official (see below)
- FOTA 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
- Lights : Ok, advanced colours control, Multiple LEDs, LEDs Brightness, ...
- MicroSD : 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, 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 : Works but system gets slower
- SEPolicies : Fully enforced
 
Last edited:

AdrianDC

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

IMPORTANT FEATURES TO KNOW
  • Boot sequence : Once the LEDs light up :
    - Press Volume - to open the ROM recovery,
    - 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:

kimikim0

Senior Member
Oct 11, 2011
831
219
it should stable like cm nightly right ? thank you as always

Sent from my Nexus 5X using Tapatalk
 

KelleyCook

Senior Member
Mar 29, 2013
245
150
Moto G Stylus 5G
Another early adopter here.

I'll state that this first LineageOS release is quite good --

Amazingly for a totally new ROM that I never heard of before last week, it might be as good if not slightly better than the Dec25 Cyanogenmod 14.1 release that had been years in the making that I was running previously.

I think I'll keep it.
 
Last edited:

engr_exxi

Senior Member
Nov 5, 2011
312
124
Manila
Is it possible to enable the root access by Developer Options like CyanogenMod ROM?

For future questions like this, please refer to the Q&A section because first it has already been answered and secondly let us keep this thread mainly for the discussion of the rom development. We know some are new members. But please read thoroughly because every word and detail counts then sometimes in the end you will come looking and posting haaaalp! When it has already been explained in the first place.
 
  • Like
Reactions: AdrianDC

ag.steel

Member
Mar 1, 2014
27
2
system freeze

Hi,

Just flashed this rom (full clean flash, *NO* google apps), coming from official stock rom (4.3).

Found one case were the system freezes completely (to restart the device you need to push 5sec the OFF button under the cover), here is how to reproduce :

- install and start Firefox for android (in my case it is version 51.0beta7)
- go to youtube.com and play a video
- tap the android multitask button
- in multitask mode, sound starts to stutter, then after some seconds the system freezes completely.

In general, sound is stuttering when playing a video (or maybe only a sound) in the background via the default web browser also.
Otherwise media playing is fine (default music player and video player) when multitasking.

I find it strange that a user app (Firefox mobile in this case) can completely freeze the system!?
 

OsGhaly

Senior Member
Jan 26, 2014
605
351
Cairo
Hi,

Just flashed this rom (full clean flash, *NO* google apps), coming from official stock rom (4.3).

Found one case were the system freezes completely (to restart the device you need to push 5sec the OFF button under the cover), here is how to reproduce :

- install and start Firefox for android (in my case it is version 51.0beta7)
- go to youtube.com and play a video
- tap the android multitask button
- in multitask mode, sound starts to stutter, then after some seconds the system freezes completely.

In general, sound is stuttering when playing a video (or maybe only a sound) in the background via the default web browser also.
Otherwise media playing is fine (default music player and video player) when multitasking.

I find it strange that a user app (Firefox mobile in this case) can completely freeze the system!?

I tried to reproduce this issue and I can assure that the sound is shuttering when multitasking, and the video will stop playing completely after a while if it was playing in the background.. But I didn't face any freezing or hanging..
So, I think it can be a Firefox problem as you said you are using the beta version of FF and I am using FF latest release 15.1.0 or you may have other apps running in the background that eating up your ram.

Sent from my Xperia SP using Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 89
    Lineage-Header_zps5k1so3nb.png~original

    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 LineageOS
    LineageOS 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 LineageOS is available in the LineageOS GitHub repo.
    And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.

    Official LineageOS website : http://lineageos.org


    Downloads Links
    LineageOS 14.x (Unlocked Bootloader) :
    Xperia SP (Huashan) - 14.1 : https://mega.nz/#F!zp8mxS4B!X-_vO7IzoFpW12IdSn0S_A

    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.x : http://xdaforums.com/xperia-sp/orig-development/-t3309938

    Informations and references :
    Kernel CVEs : Security patches status https://cve.lineageos.org/android_kernel_sony_msm8960t
    About LineageOS updates : ChangeLog available on https://download.lineageos.org/huashan/changes/
    About LineageOS device side : See my GitHub trees linked below


    Flashing and updating
    LineageOS clean install :
    - (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool
    - (Optional) Install TWRP Recovery to the FOTA partition (Read the TWRP thread)
    - (Optional) Wipe the data & cache (Backup to make sure not to lose data)
    - Flash the LineageOS ROM zip from the Recovery
    - (Optional) Flash the GApps to have the Google Applications
    - (Optional) Every additional zip you want to flash
    - Reboot

    LineageOS update / upgrade :
    - (Information) Don't wipe anything unless you want to
    - (CM / UNOFFICIAL) Nothing to wipe when switching
    - (FUTURE RELEASES) Might need clean, informations will be updated
    - Flash the latest LineageOS 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

    LineageOS official upgrade from older builds :
    - (Information) Read the following post : Update & Build Prep
    - (Optional) Backup your applications and / or ROM
    - (CM / UNOFFICIAL) Flash the EXPERIMENTAL migration build and reboot to Android
    - Flash the latest LineageOS ROM and reboot to Android

    LineageOS addonsu for root access :
    - (Information) Read the Root section of the Q&A thread
    - (Download) Download the addonsu for arm : LineageOS Downloads / Extras
    - (Optional) Flash the zip on a working Lineage installation (once)
    - (Information) Upon ROM updates, the addonsu is preserved
    - Reboot


    About the builds


    Issues and reports
    - Report issues only if you are using 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
    LineageOS 14.1 Huashan Regular Questions and Answers : Q&A Thread

    About LineageOS Legal : http://lineageos.org/legal/

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




    LineageOS available for Huashan also thanks to :
    - The LineageOS Team
    - The CyanogenMod Team
    - Everyone involved in working and testing​


    XDA:DevDB Information
    LineageOS 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: Snapshot

    Created 2016-12-31
    Last Updated 2020-08-15
    38
    Reserved

    FEATURES AND ISSUES
    Code:
    - Boot : Ok
    - GApps : OpenGApps Micro Ok
    - Partitions (Data, Cache) : Ext4 and F2FS supported
    - ROM Recovery : Broken for signed official (see below)
    - FOTA 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
    - Lights : Ok, advanced colours control, Multiple LEDs, LEDs Brightness, ...
    - MicroSD : 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, 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 : Works but system gets slower
    - SEPolicies : Fully enforced
    38
    Last year I thought that Marshmallow will be last Android version for our phone but you surprised us with Nougat.
    AdrianDC, i know, it's rude to ask you, but will you look on development Android GO based on Android O for XSP?

    I'm already working on and running Android O (master branch) on my Huashan so I guess the answer is yes... ;)
    36
    Reserved

    IMPORTANT FEATURES TO KNOW
    • Boot sequence : Once the LEDs light up :
      - Press Volume - to open the ROM recovery,
      - 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
    26
    1. Official Lineage builds are getting progressively fixed on the new build servers & infrastructure
    2. Due to the new signing process of the ROM, there are new issues that arise and will have to be looked into
    3. I'll give infos about what the builds are meant for & about the migration solution we'll have
    4. Do not flash new builds unless you know what you are doing and have a backup, let us test for now
    5. If you have non-booting issues... The device can't die, it's a Sony ! Just power it off (Key combo or reset on the back) + fastboot
    6. Since 2 weeks my SP has a broken SIM card holder & is dismantled, I might be able to access the lab to resolder the new one this week
    7. I'm awfully busy with all Android projects and non-Android projects so please bare that in mind


    ;)