FORUMS
Remove All Ads from XDA

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

2,161 posts
Thanks Meter: 12,646
 
By AdrianDC, Recognized Developer on 17th August 2019, 06:05 PM
Post Reply Email Thread




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

Downloads Links
LineageOS 16.0 (Unlocked Bootloader) :
Xperia SP (Huashan) - Development : https://mega.nz/#F!SgFkRKYQ!uQDeX4uxji8D3ysNl-2iYA
Downloads mirror : https://basketbuild.com/devs/AdrianDC

Google Applications (optional) :
OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 9.0, Micro)
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://forum.xda-developers.com/xper...ment/-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
Device tree : https://github.com/LineageOS/android...e_sony_huashan
Kernel sources : https://github.com/LineageOS/android..._sony_msm8960t
Vendor blobs : https://github.com/TheMuppets/proprietary_vendor_sony

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
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.4.x

Version Information
Status: Stable

Created 2019-08-17
Last Updated 2019-08-17
The Following 20 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
 
 
17th August 2019, 06:05 PM |#2  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 12,646
 
More
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 : Permissive, enforcing is a work in progress

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
The Following 15 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
17th August 2019, 06:05 PM |#3  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 12,646
 
More
Reserved
Changes log
  • 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
The Following 13 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
17th August 2019, 09:31 PM |#4  
Senior Member
Thanks Meter: 243
 
More
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!
The Following User Says Thank You to NyQuilXT For This Useful Post: [ View ] Gift NyQuilXT Ad-Free
18th August 2019, 04:08 PM |#5  
laim_name's Avatar
Senior Member
Thanks Meter: 41
 
Donate to Me
More
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...
20th August 2019, 10:50 AM |#6  
Senior Member
Flag Kraków
Thanks Meter: 1,072
 
More
Video Miracast on Android Pie
Quote:
Originally Posted by AdrianDC

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.
21st August 2019, 02:21 PM |#7  
Junior Member
Flag South of United Kingdom
Thanks Meter: 4
 
More
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.
The Following User Says Thank You to KaBombaBoom For This Useful Post: [ View ] Gift KaBombaBoom Ad-Free
22nd August 2019, 12:19 PM |#8  
ghst7's Avatar
Senior Member
Thanks Meter: 82
 
More
Hey guys does anyone knows what Magisk version is compatible with this ROM?

Sent from my lavender using XDA Labs
12th September 2019, 08:00 PM |#9  
Member
Thanks Meter: 6
 
More
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?
12th September 2019, 08:18 PM |#10  
Senior Member
Thanks Meter: 243
 
More
Quote:
Originally Posted by Evilmonk100

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?

AFAIK for LOS 16 only pico will fit
13th September 2019, 03:51 PM |#11  
Junior Member
Poprad
Thanks Meter: 1
 
More
Recent 19.3 version
Quote:
Originally Posted by ghst7

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

Sent from my lavender using XDA Labs

Recent is compatible but you must flash it through Bootbridge.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes