[ROM][SNAPSHOT][8.1] LineageOS 15.1 for Xperia SP

Search This thread

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,968
Î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 8.x (Oreo),
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
About the LineageOS 15.1 features : https://www.xda-developers.com/lineageos-15-feature-list-overview-screenshots-video/
About the LineageOS 15.1 release : https://lineageos.org/Changelog-16/


Downloads Links
LineageOS 15.x (Unlocked Bootloader) :
Xperia SP (Huashan) - Official : https://download.lineageos.org/huashan
Xperia SP (Huashan) - Development : https://mega.nz/#F!G0UhlDQB!inUr23iQ9L2KKraBZRwvTg

Google Applications (optional) :
OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 8.x, Micro)
MindTheGapps : https://androidfilehost.com/?w=files&flid=170282 (Use packages for ARM, Android 8.x)
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

Recommended Recovery (optional) :
TWRP 3.x : http://forum.xda-developers.com/xperia-sp/orig-development/-t3309938

Configure the default Low-RAM features (optional) :
Low-RAM Property Patcher : http://forum.xda-developers.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
LineageOS 15.1 Mint / Hayabusa / Tsubasa 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 Xperia SP also thanks to :
- Google AOSP
- The LineageOS Team
- CodeAurora Forums
- The CyanogenMod Team​


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

Contributors
AdrianDC
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.4.x

Version Information
Status: Snapshot

Created 2018-03-03
Last Updated 2020-08-15
 

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,968
Île-de-France
adriandc.github.io
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 : Ok
- SEPolicies : Enforcing


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:

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,968
Île-de-France
adriandc.github.io
Changes log
  • 21/12 : Official nightly migration over Android 8.1.0_r52 December

  • 14/08 : Upgrade stable release on Android 8.1.0_r43 August
    >>> Multiple Kernel CVE patches and improvements
    >>> New settings for the status bar's clock (position, AM/PM)
    >>> Black lights selection resolved (blue light glitch)
    >>> Backuptool securities re-enabled (always update GApps for Oreo upgrades)
    >>> Media volume now has 25 steps instead of 15, call volume 7 instead of 5
    >>> Improvements to trigger the bootanimation earlier on boot
  • 12/07 : Upgrade stable release on Android 8.1.0_r36 July
    >>> Fully black mode implemented for Night mode
    >>> New carbon black style added for Light mode
    >>> Vendor security patch level added to device informations
    >>> Trust warnings management improved with toggles
    >>> Platform and RAM added to the About / Model & hardware dialog
  • 25/06 : Upgrade stable release on Android 8.1.0_r30 June
    >>> Introduced LineageOS Trust features
    >>> Status bar icons tints resolved: Battery percentage, VPN, network indicators
    >>> AOSP TwilightService reverted for LiveDisplay to prevent GPS always on
    >>> LineageOS Recovery new install/progress animation
  • 27/05 : Update stable release on Android 8.1.0_r26 May
    >>> CellularTile now has a detail view for Mobile Data
    >>> Dialer / Settings / Sounds and vibration settings improvements:
    ----- Do Not Disturb during calls option added
    >>> Snap GPS location feature fixed
    >>> Trebuchet Launcher improvements:
    ----- Predictive apps switch between day / night / headphones
    >>> Merged fixes for LineageOS properties and backuptool barriers
  • 11/05 : Upgrade stable release on Android 8.1.0_r26 May
    >>> LineageOS build structure changes / improvements
    >>> Work in progress fixes around LineageOS properties and backuptool barriers
    >>> Minor fix about the offline charger LED battery indicator
  • 05/05 : Update stable release on Android 8.1.0_r20 April
    >>> My implementation of FBNotifier backlight in the LEDs kernel driver
    ----- Resolves backlight always on issues in offline charger
    ----- Proper low-level solution avoiding deprecated brightness controls
    >>> Offline charger boot will reboot the device rather than direct boot
    ----- Restored the default AOSP behaviour for better support
    ----- Improves usability for MultiROM users (access to secondary ROMs)
    >>> Offline charger LED battery indicator brought back
  • 29/04 : Update stable release on Android 8.1.0_r20 April
    >>> Evolutions from frameworks/av to support legacy HAL1 Camcorder properly
    ----- Final solution found with Milos Ratkovic
    ----- Camcorder running fine on 720p and 1080p
  • 12/04 : Upgrade stable release on Android 8.1.0_r20 April
    >>> Common ROM sources updates
    >>> Minor device sources changes
    >>> Recent kernel CVEs updates thanks to Roman Yarullin
  • 31/03 : Upgrade stable release on Android 8.1.0_r15 March
    >>> Evolutions from frameworks/av to support legacy HAL1 Camcorder
    >>> Camcorder running fine on 720p YUV (restricted for now)
    >>> DocumentsUI (Files) showing internal storage by default
    >>> Logcat's Diag_Lib spam resolved and silenced
    >>> Sources improvements and cleanups related to AOSP P-DP1
    >>> Kernel binder 64 bits API
    >>> Lineage HighTouchSensitivity option brought back

  • 02/03 : Initial LineageOS 15.1 public XDA release
    >>> Status equal to equivalent AOSP 8.1 releases
  • 18/02 : Initial LineageOS 15.1 test users release
    >>> Status equal to equivalent AOSP 8.1 releases
  • 2017: Initial LineageOS 15.0 ports, internal bringup
    >>> Kept private in favour of the AOSP 8.0 / 8.1 releases
 
Last edited:

ze7zez

Senior Member
Aug 24, 2012
2,745
1,342
Kraków
nz.geoview.info
The competition between AOSP and Lineage for Xperia SP has begun

The competition between AOSP and Lineage for Xperia SP has begun.
Only one can be a winner.
Who?
Adrian!:good:

In the summer of 2017, I watched your huge successes in the development of the android.
Then I bought two copies of the C5303 expecting you to be able to prepare Android Oreo for them.
I was not disappointed.
For many months, I've been comparing ROM stock to next versions 7.1.2 and now 8.x.x.
I can not come out of admiration for your abilities.

Big, big thanks for the fun you give us, ROM users.
Adrian, you're amazing. Thanks to your skills and abilities, we still get new, efficient and stable versions of the android.
 

DahakePL

Recognized Contributor
Sep 29, 2013
3,002
2,592
Kalisz
You're kind of a legend for some people right now, even on the Z2 forums.
Amazing work as always, runs smooth and it seems to be one of your greatest creations.


Best regards from the XDA family
 

puppetminds

Senior Member
Mar 2, 2015
73
20
Tried installing the AOSP 8.1.0 with a complete wipe(System,Caches,Internal Storage...followed by formatting data[not sure if it matters....but just tried]), but Google Pay Services force closes every time. Is it the same issue with this LOS? Thanks in advance.
 

meysam1712

Member
Jan 23, 2018
29
3
Hi good afternoon the location not work fine and can't find my place and I have no problem with locations of rom 7.1.2 and work fine.
Any ideas?
Thanks.
 

Haxk20

Senior Member
Aug 18, 2015
494
554
Tried installing the AOSP 8.1.0 with a complete wipe(System,Caches,Internal Storage...followed by formatting data[not sure if it matters....but just tried]), but Google Pay Services force closes every time. Is it the same issue with this LOS? Thanks in advance.
Do not use pico version of Gapps there is probably bug in it still please use latest nano OpenGapps 8.1
 

MadMaxPN

Senior Member
Feb 2, 2012
150
27
44
Paraćin
Anyone have problem with Viber or similar chat app, if i'm in other app like browser it doesn't show notification, only show when i enter Viber, i had the same problem in Aosp rom... Seems like some ram management issue, or Viber maybe...
 

scruffy1

Senior Member
i installed pico

it faffs around a lot during the initial install with lots of apps crashing and stopping

and then after enough time to settle in, by ignoring the phone, it later works without any problems at all :)


i had to install maps (not part of pico), and the location was vague, but i don't turn services on for that anyway - google know plenty about me without stalking me too
 
  • Like
Reactions: DahakePL

Top Liked Posts

  • There are no posts matching your filters.
  • 50

    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 8.x (Oreo),
    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
    About the LineageOS 15.1 features : https://www.xda-developers.com/lineageos-15-feature-list-overview-screenshots-video/
    About the LineageOS 15.1 release : https://lineageos.org/Changelog-16/


    Downloads Links
    LineageOS 15.x (Unlocked Bootloader) :
    Xperia SP (Huashan) - Official : https://download.lineageos.org/huashan
    Xperia SP (Huashan) - Development : https://mega.nz/#F!G0UhlDQB!inUr23iQ9L2KKraBZRwvTg

    Google Applications (optional) :
    OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 8.x, Micro)
    MindTheGapps : https://androidfilehost.com/?w=files&flid=170282 (Use packages for ARM, Android 8.x)
    Information : Flash the GApps before the first boot. If not, a clean flash is recommended.

    Recommended Recovery (optional) :
    TWRP 3.x : http://forum.xda-developers.com/xperia-sp/orig-development/-t3309938

    Configure the default Low-RAM features (optional) :
    Low-RAM Property Patcher : http://forum.xda-developers.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
    LineageOS 15.1 Mint / Hayabusa / Tsubasa 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 Xperia SP also thanks to :
    - Google AOSP
    - The LineageOS Team
    - CodeAurora Forums
    - The CyanogenMod Team​


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

    Contributors
    AdrianDC
    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 3.4.x

    Version Information
    Status: Snapshot

    Created 2018-03-03
    Last Updated 2020-08-15
    41
    For information: I have been extremely busy with work over the last months,
    and spend when I can the little free time I have on my Sony 8960 devices and LineageOS.

    New 15.1 release: I just triggered a new 15.1 release for the Sony Xperia SP / T / TX / V to refresh the last one from August.

    There's about one thing that makes me against moving to 15.1 officially, including for other Sony 8960 devices of the family,
    and it needs time to be done properly and ready for official releases.

    About Android Pie: The AOSP 9.0 and LineageOS 16.0 releases I made since the Android Pie release (for internal testing only initially..)
    are almost finished as I (and some people I know) use it as daily since the start as well.

    I'll see if I have time to take care of a few things within the next weekend for the 16.0 sources.
    36
    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 : Ok
    - SEPolicies : Enforcing


    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
    32
    Changes log
    • 21/12 : Official nightly migration over Android 8.1.0_r52 December

    • 14/08 : Upgrade stable release on Android 8.1.0_r43 August
      >>> Multiple Kernel CVE patches and improvements
      >>> New settings for the status bar's clock (position, AM/PM)
      >>> Black lights selection resolved (blue light glitch)
      >>> Backuptool securities re-enabled (always update GApps for Oreo upgrades)
      >>> Media volume now has 25 steps instead of 15, call volume 7 instead of 5
      >>> Improvements to trigger the bootanimation earlier on boot
    • 12/07 : Upgrade stable release on Android 8.1.0_r36 July
      >>> Fully black mode implemented for Night mode
      >>> New carbon black style added for Light mode
      >>> Vendor security patch level added to device informations
      >>> Trust warnings management improved with toggles
      >>> Platform and RAM added to the About / Model & hardware dialog
    • 25/06 : Upgrade stable release on Android 8.1.0_r30 June
      >>> Introduced LineageOS Trust features
      >>> Status bar icons tints resolved: Battery percentage, VPN, network indicators
      >>> AOSP TwilightService reverted for LiveDisplay to prevent GPS always on
      >>> LineageOS Recovery new install/progress animation
    • 27/05 : Update stable release on Android 8.1.0_r26 May
      >>> CellularTile now has a detail view for Mobile Data
      >>> Dialer / Settings / Sounds and vibration settings improvements:
      ----- Do Not Disturb during calls option added
      >>> Snap GPS location feature fixed
      >>> Trebuchet Launcher improvements:
      ----- Predictive apps switch between day / night / headphones
      >>> Merged fixes for LineageOS properties and backuptool barriers
    • 11/05 : Upgrade stable release on Android 8.1.0_r26 May
      >>> LineageOS build structure changes / improvements
      >>> Work in progress fixes around LineageOS properties and backuptool barriers
      >>> Minor fix about the offline charger LED battery indicator
    • 05/05 : Update stable release on Android 8.1.0_r20 April
      >>> My implementation of FBNotifier backlight in the LEDs kernel driver
      ----- Resolves backlight always on issues in offline charger
      ----- Proper low-level solution avoiding deprecated brightness controls
      >>> Offline charger boot will reboot the device rather than direct boot
      ----- Restored the default AOSP behaviour for better support
      ----- Improves usability for MultiROM users (access to secondary ROMs)
      >>> Offline charger LED battery indicator brought back
    • 29/04 : Update stable release on Android 8.1.0_r20 April
      >>> Evolutions from frameworks/av to support legacy HAL1 Camcorder properly
      ----- Final solution found with Milos Ratkovic
      ----- Camcorder running fine on 720p and 1080p
    • 12/04 : Upgrade stable release on Android 8.1.0_r20 April
      >>> Common ROM sources updates
      >>> Minor device sources changes
      >>> Recent kernel CVEs updates thanks to Roman Yarullin
    • 31/03 : Upgrade stable release on Android 8.1.0_r15 March
      >>> Evolutions from frameworks/av to support legacy HAL1 Camcorder
      >>> Camcorder running fine on 720p YUV (restricted for now)
      >>> DocumentsUI (Files) showing internal storage by default
      >>> Logcat's Diag_Lib spam resolved and silenced
      >>> Sources improvements and cleanups related to AOSP P-DP1
      >>> Kernel binder 64 bits API
      >>> Lineage HighTouchSensitivity option brought back

    • 02/03 : Initial LineageOS 15.1 public XDA release
      >>> Status equal to equivalent AOSP 8.1 releases
    • 18/02 : Initial LineageOS 15.1 test users release
      >>> Status equal to equivalent AOSP 8.1 releases
    • 2017: Initial LineageOS 15.0 ports, internal bringup
      >>> Kept private in favour of the AOSP 8.0 / 8.1 releases
    21
    • 29/04 : Update stable release on Android 8.1.0_r20 April
      >>> Evolutions from frameworks/av to support legacy HAL1 Camcorder properly
      ----- Final solution found with Milos Ratkovic
      ----- Camcorder running fine on 720p and 1080p