[ROM][SNAPSHOT][9] LineageOS 16.0 for Xperia SP

Search This thread

AdrianDC

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

2okPze5.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 LineageOS
LineageOS is a free, community built, aftermarket firmware distribution of Android,
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 16.0 (Unlocked Bootloader) :
Xperia SP (Huashan) - Development : https://mega.nz/#F!SgFkRKYQ!uQDeX4uxji8D3ysNl-2iYA

Google Applications (optional) :
MindTheGapps : https://androidfilehost.com/?w=files&flid=170282 (Use packages for ARM, Android 9.0)
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

Configure the default Low-RAM features (optional) :
Low-RAM Property Patcher : http://xdaforums.com/-/-t3737373

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

LineageOS update / upgrade :
- (Warning) Do not update / upgrade between OFFICIAL and UNOFFICIAL builds
- (Information) Do not wipe anything unless you want to
- Flash the latest LineageOS ROM zip from recovery
- (Optional) Flash a GApps package on first install / upgrade. Not required later, but do update sometimes
- (Optional) Every additional zip you want to flash
- Reboot

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 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 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 Xperia SP also thanks to :
- Google AOSP
- The LineageOS Team
- CodeAurora Forums
- The CyanogenMod Team​

XDA:DevDB Information
LineageOS 16.0, ROM for the Sony Xperia SP

Contributors
AdrianDC

Version Information
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.4.x
Status: Snapshot
 
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 recommended
- Partitions (Data, Cache) : Ext4 and F2FS supported
- Bluetooth : Ok
- WiFi : Ok
- WiFi Hotspot : Ok
- RIL - Phone - Data : Ok
- GPS : Ok
- Camera : Ok
- Camcorder : Ok
- Lights : Ok
- MicroSD : Ok
- Accelerometer : Ok
- Compass : Ok
- Gyroscope : Ok
- AOSP sensors : Ok
- Touchscreen : Ok
- FM Radio : Ok
- Vibrator : Ok
- Microphone : Ok
- Audio & music : Ok
- Bluetooth audio : Ok
- NFC : Ok
- Kernel : Ok
- Graphics : Ok
- 3D Rendering : Ok
- Clock : Ok
- DRM : Ok
- Offline Charging : Ok
- USB : Ok
- USB OTG : Ok
- Encryption : Not tested yet
- SEPolicies : Enforced


ALSO WORKING ON SONY HUASHAN
Huashan-Music-Lights-Effects.jpg


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

NyQuilXT

Senior Member
Jan 15, 2016
180
364
Wow, this is awesome! Thank you for keeping this device still alive in 2019 and all your efforts for bringing LOS 16 to the Xperia SP!
 
  • Like
Reactions: AdrianDC

laim_name

Senior Member
Dec 5, 2013
109
41
OMG, this device travelled from 4.1 to stable 9.0
Isn't it amazing?
All thanks to FXP team, mrcl1450, AdrianDC and other guys who do commits on github.
I'm on XZ1C now, but sometimes im looking on development for my old XSP, because it's still lies on my table.
Wow, just amazing...
 
Miracast on Android Pie

Sadly Google has removed support for Miracast in AOSP P.

An attempt to revive the abandoned code for LineageOS 16.0 is ongoing and on review.

Sorry, I mistakenly wrote the previous post to the wrong thread.

I confirm, Miracast works correctly on android 9 for OnePlus One for custom ROMs:
Arrow OS and BootleggersROM.


Maybe this information will be useful.
 

MrCooper95

Senior Member
Dec 21, 2018
69
35
South of United Kingdom
Thank you for making this ROM Adrian, great work.

There's one issue though, the ROM keeps stuttering/lagging most of the time. Much more than your older LOS 16.0 April build.

Official LOS 15.1 does not have this issue.

I don't use GApps.
 
  • Like
Reactions: elsyafiq

Evilmonk100

Senior Member
Jun 6, 2018
64
6
micro gapps package is not install with latest LOS16. THE SYSTEM SAYS no space is available after flashing los16 (latest). so then how to install micro gapps in that case?
 

blackmonk19

Member
Sep 4, 2018
39
16
34
London
micro gapps package is not install with latest LOS16. THE SYSTEM SAYS no space is available after flashing los16 (latest). so then how to install micro gapps in that case?

Buddy, only Pico Gapps will fit... ;)

---------- Post added at 09:51 PM ---------- Previous post was at 09:27 PM ----------

Hey guys does anyone knows what Magisk version is compatible with this ROM?

Sent from my lavender using XDA Labs

I'm using the latest Magisk 19.3 with no issues... :D

Follow Adrian's guide > https://xdaforums.com/crossdevice-dev/sony/mod-boot-bridge-sony-elf-t3506883
 
  • Like
Reactions: Evilmonk100

Evilmonk100

Senior Member
Jun 6, 2018
64
6
Many thanks to adrian and his entire team who take efforts to developed stable version of LOS 16 For xperia sp. the rom is very stable and smooth everything is working fine in latest stable rom. gbu alwys adrian bcz of u all this device still stand in year 2019.

---------- Post added at 04:21 PM ---------- Previous post was at 04:17 PM ----------

AFAIK for LOS 16 only pico will fit

thats why i flashed mindgapps package. ty for reply.:eek:
 

jurko217

Senior Member
Jun 1, 2019
68
20
Poprad
Official mirror.

Hello AdrianDC, i have clicked the Official downloads page some times, but basketbuild is no longer active
(maybe month).
And next question: Development page is for beta builds ? Maybe this is answer, why my Xperia SP lags.
 

Ungewiss

Senior Member
Nov 14, 2013
285
166
Whats the difference between this and the official one? which one is more stable?

There is no "official" LOS 16.0 for this devices. Only 15.1. Adrian DC is the maintainer of both. When he finds the time he will probably make the required changes to the official builds, but in the meantime you can use this one.

Note that you need special migration builds if you want to switch between official and unofficial builds.

Regarding stability: the 15.1 branch has (for me, my wife and at least one other xda user) memory handling issues since September. So in general it is very stable, but might fill memory up and then freeze for a minute..
 
Last edited:
  • Like
Reactions: AdrianDC

Top Liked Posts

  • There are no posts matching your filters.
  • 25

    2okPze5.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 LineageOS
    LineageOS is a free, community built, aftermarket firmware distribution of Android,
    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 16.0 (Unlocked Bootloader) :
    Xperia SP (Huashan) - Development : https://mega.nz/#F!SgFkRKYQ!uQDeX4uxji8D3ysNl-2iYA

    Google Applications (optional) :
    MindTheGapps : https://androidfilehost.com/?w=files&flid=170282 (Use packages for ARM, Android 9.0)
    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

    Configure the default Low-RAM features (optional) :
    Low-RAM Property Patcher : http://xdaforums.com/-/-t3737373

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

    LineageOS update / upgrade :
    - (Warning) Do not update / upgrade between OFFICIAL and UNOFFICIAL builds
    - (Information) Do not wipe anything unless you want to
    - Flash the latest LineageOS ROM zip from recovery
    - (Optional) Flash a GApps package on first install / upgrade. Not required later, but do update sometimes
    - (Optional) Every additional zip you want to flash
    - Reboot

    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 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 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 Xperia SP also thanks to :
    - Google AOSP
    - The LineageOS Team
    - CodeAurora Forums
    - The CyanogenMod Team​

    XDA:DevDB Information
    LineageOS 16.0, ROM for the Sony Xperia SP

    Contributors
    AdrianDC

    Version Information
    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 3.4.x
    Status: Snapshot
    19
    Reserved

    FEATURES AND ISSUES
    Code:
    - Boot : Ok
    - GApps : OpenGApps Micro recommended
    - Partitions (Data, Cache) : Ext4 and F2FS supported
    - Bluetooth : Ok
    - WiFi : Ok
    - WiFi Hotspot : Ok
    - RIL - Phone - Data : Ok
    - GPS : Ok
    - Camera : Ok
    - Camcorder : Ok
    - Lights : Ok
    - MicroSD : Ok
    - Accelerometer : Ok
    - Compass : Ok
    - Gyroscope : Ok
    - AOSP sensors : Ok
    - Touchscreen : Ok
    - FM Radio : Ok
    - Vibrator : Ok
    - Microphone : Ok
    - Audio & music : Ok
    - Bluetooth audio : Ok
    - NFC : Ok
    - Kernel : Ok
    - Graphics : Ok
    - 3D Rendering : Ok
    - Clock : Ok
    - DRM : Ok
    - Offline Charging : Ok
    - USB : Ok
    - USB OTG : Ok
    - Encryption : Not tested yet
    - SEPolicies : Enforced


    ALSO WORKING ON SONY HUASHAN
    Huashan-Music-Lights-Effects.jpg


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

    Changes log
    • 11/10 : Update release with enforced sepolicies
    • 16/08 : Initial public release on Android 9.0.0_r46 August

    • 2018: Initial LineageOS 16.0 ports, internal bringup
      >>> Kept private for development purposes
    9
    Hi everyone !

    During this year heavily busy with work, I only made progress on Android 10 rarely, every 2 or 3 months, in a limited way.

    Got back on it this week, cleaned up things done over the year and finally resolved the Sony SEMC Camera stack on Android 10,
    as I don't want to put builds in public if major features do not work in a decent way.

    I almost merged everything upstream, only things like SEPolicies, CVEs and minor things are left.

    LineageOS 17.1 is now available in public : https://xdaforums.com/xperia-sp/orig-development/rom-lineageos-17-1-xperia-sp-t4147075
    5
    LineageOS 18.1 is now available in public : https://xdaforums.com/t/-.4212377/

    Happy New Year 2021!