FORUMS
Remove All Ads from XDA

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

2,161 posts
Thanks Meter: 12,646
 
By AdrianDC, Recognized Developer on 3rd March 2018, 03:43 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
About the LineageOS 15.1 features : https://www.xda-developers.com/linea...enshots-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
Downloads mirror : https://basketbuild.com/devs/AdrianDC

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/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
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: Nightly

Created 2018-03-03
Last Updated 2019-08-06
The Following 50 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
 
 
3rd March 2018, 03:43 PM |#2  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 12,646
 
More
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
The Following 35 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
3rd March 2018, 03:43 PM |#3  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 12,646
 
More
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
The Following 31 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
3rd March 2018, 07:30 PM |#4  
Senior Member
Flag Kraków
Thanks Meter: 1,072
 
More
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!

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.
The Following 12 Users Say Thank You to ze7zez For This Useful Post: [ View ] Gift ze7zez Ad-Free
3rd March 2018, 08:00 PM |#5  
kimikim0's Avatar
Senior Member
Thanks Meter: 195
 
More
finally !! thank you @AdrianDC
The Following User Says Thank You to kimikim0 For This Useful Post: [ View ] Gift kimikim0 Ad-Free
3rd March 2018, 09:47 PM |#6  
Senior Member
Flag Paraćin
Thanks Meter: 27
 
More
@AdrianDC you are the KING!
The Following 3 Users Say Thank You to MadMaxPN For This Useful Post: [ View ] Gift MadMaxPN Ad-Free
3rd March 2018, 10:05 PM |#7  
DahakePL's Avatar
Recognized Contributor
Flag Kalisz
Thanks Meter: 2,302
 
Donate to Me
More
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
The Following 3 Users Say Thank You to DahakePL For This Useful Post: [ View ] Gift DahakePL Ad-Free
3rd March 2018, 11:51 PM |#8  
scruffy1's Avatar
Senior Member
Flag near the beach
Thanks Meter: 63
 
More
so, having no experience with lineage, but loving oreo on the sp, what's the difference ?

obviously people love lineage, but why ?

sell it to me, people....
3rd March 2018, 11:57 PM |#9  
Senior Member
Flag Paraćin
Thanks Meter: 27
 
More
Quote:
Originally Posted by scruffy1

so, having no experience with lineage, but loving oreo on the sp, what's the difference ?

obviously people love lineage, but why ?

sell it to me, people....

https://youtu.be/WfE3ClKRaWY
4th March 2018, 12:30 AM |#10  
scruffy1's Avatar
Senior Member
Flag near the beach
Thanks Meter: 63
 
More
thanks for that... gestures ! i see....

edit : well, i'm sold

oreo is great, but this is even greater


thanks adrian
The Following User Says Thank You to scruffy1 For This Useful Post: [ View ] Gift scruffy1 Ad-Free
4th March 2018, 09:25 AM |#11  
AdrianDC's Avatar
OP Recognized Developer
Flag Île-de-France
Thanks Meter: 12,646
 
More
You can find the highly detailed LineageOS 15.1 features list by @MishaalRahman here :
https://www.xda-developers.com/linea...enshots-video/
The Following 11 Users Say Thank You to AdrianDC For This Useful Post: [ View ]
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