• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

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

AdrianDC

Recognized Developer
Dec 22, 2009
2,187
12,864
0
Île-de-France
adriandc.comeze.com




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,187
12,864
0
Île-de-France
adriandc.comeze.com
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


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,187
12,864
0
Île-de-France
adriandc.comeze.com
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

Elite Member
Aug 24, 2012
2,711
1,316
113
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.
 

puppetminds

Senior Member
Mar 2, 2015
72
20
0
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
0
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
553
0
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
0
43
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
Jul 29, 2015
155
64
0
near the beach
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