• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][BETA][11] LineageOS 18.1 for Xperia SP

Search This thread

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,960
Î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 18.1 (Unlocked Bootloader) :
Xperia SP (Huashan) - Development : https://mega.nz/folder/bgVwHBha#dgbTpERhUxprd4OmVHz6Zw
Google Applications (optional) :
Information : Flash the GApps before the first boot. If not, a clean flash is recommended.​
Recommended Recovery (optional) :
Disable the default Low-RAM features (optional) :
Low-RAM Property Patcher : http://forum.xda-developers.com/-/-t3737373
Tools required for bootimage patches such as root :
Informations and references :
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 the device​
- Wait a few minutes for optimizations to finish and the SIM to load before the setup​
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​

About the builds

Issues and reports
- Report issues only if you use the ROM original kernel
- If an additional mod is installed, make sure it is unrelated, and mention it
- Make sure the issue was not discussed earlier in the thread
- Acquire ADB logcat logs to a file : how-to-take-logs-in-android
- If the device crashed and rebooted, retrieve this file from the device : /proc/last_kmsg
- Use Permissive Kernel Patcher and share logcat logs if it solves issues

Legal
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​
- Arne (arco68)​
- Everyone involved in working and testing​

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

Contributors
AdrianDC

Version Information
ROM OS Version: Android 11
ROM Kernel: Linux 3.4.x
Status: Beta
 
Last edited:

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,960
Île-de-France
adriandc.github.io
ALSO WORKING ON SONY HUASHAN
  • YouTube Presentation :


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

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,960
Île-de-France
adriandc.github.io
FEATURES AND ISSUES
Code:
Boot                       : Ok
GApps                      : Ok
Partitions (Data, Cache)   : Ok
Bluetooth                  : Ok
WiFi                       : Ok
WiFi Hotspot               : Ok
USB Tethering              : 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
Gestures                   : Ok
FM Radio                   : Ok
Vibrator                   : Ok
Microphone                 : Ok
Audio & music              : Ok
Bluetooth audio            : Ok
Video playback             : Ok
NFC                        : Ok
Kernel                     : Ok
Graphics                   : Ok
3D Rendering               : Ok
Clock                      : Ok
DRM                        : Ok
Offline Charging           : Ok
USB                        : Ok
USB OTG                    : Ok
Encryption                 : ? (May fail to encrypt, TODO)
SEPolicies                 : ? (Permissive, TODO)
Kernel CVE                 : Partially outdated
Root                       : Ok (with ADB)
TWRP                       : Ok (TWRP 3.5.0 recommended, system restore may need a ROM reflash due to a TWRP internal issue)

CHANGELOG
Code:
Future release:
  - Work in progress

25/01/2021:
  - Upgrade release on Android 11.0.0_r27 January

03/01/2021:
  - Update release on Android 11.0.0_r19 December
  - Calendar fixes to support Android Go builds without widgets
  - CPU deep sleep repaired, improving the battery life
  - GPS functionalities restored

02/01/2021:
  - Initial public release on Android 11.0.0_r19 December

28/12/2020:
  - Initial beta testers release on Android 11.0.0_r19 December
 
Last edited:

marce74

Member
Apr 9, 2020
20
1
I have the twrp-3.3.0-0-huashan.img version installed, can I upgrade to 18.1 or is it necessary to have the twrp 3.5 version?
 
Last edited:

AdrianDC

Recognized Developer
Dec 22, 2009
2,206
12,960
Île-de-France
adriandc.github.io
I have the twrp-3.3.0-0-huashan.img version installed, can I upgrade to 18.1 or is it necessary to have the twrp 3.5 version?

As stated twice in this thread, TWRP 3.5.0 is the recommended version.
If anything goes wrong on an older version of TWRP, the issues can't be analyzed.

Also, updating the TWRP version is a 60 seconds job at most,
I hardly see any reason to wonder about keeping an older one if everything still works.

PS: Please don't PM directly after a public post asking for the same thing, I answer only when available.
 

marce74

Member
Apr 9, 2020
20
1
Thanks AdrianDC for your answer, I already updated twrp 3.5.0 and installed rom 18.1 and encountered crashing issues of play store, launcher and system UI, I also constantly lose wifi signal, screen stutters due to to the high consumption of RAM and finally the device gets too hot this did not happen to me in the previous versions
I have tried to use another launcher, it stops and won't start
 
Last edited:

globe79

Senior Member
Apr 1, 2013
68
33
Sony Xperia SP
Moto G
Due to the fact that my original battery had widened a bit and damaged the case's mounting screws, I was already thinking about a funeral for the Xperia SP. You've piqued my curiosity again! You don't leave much choice - you are crazy :D
 

Wyjek

Member
Feb 16, 2015
36
2
Outstanding work, the ROM is working fine, but after flashing Magisk with BootBridge, it doesn't boot, no Sony logo or anything. I had to use FlashTool in fastboot mode, flash TWRP and reinstall the ROM again.
 

Godecki

Senior Member
Oct 6, 2017
79
37
Outstanding work, the ROM is working fine, but after flashing Magisk with BootBridge, it doesn't boot, no Sony logo or anything. I had to use FlashTool in fastboot mode, flash TWRP and reinstall the ROM again.
Same for me, Magisk seems to be bricking the device. GApss work fine though.
 

Ungewiss

Senior Member
Nov 14, 2013
285
166
Thanks for the 01/25 update, it works just fine!

WPA2 with PMF or WPA3 are not able to connect. This is nothing new, though. I never managed to connect the XSP to such wireless networks :)
 

marce74

Member
Apr 9, 2020
20
1
[QUOTE = "Ungewiss, publicación: 84392055, miembro: 5546831"]
Gracias por la actualización del 25/01, ¡funciona bien!

WPA2 con PMF o WPA3 no se pueden conectar. Sin embargo, esto no es nada nuevo. Nunca logré conectar el XSP a tales redes inalámbricas.:)
[/CITAR]
tienes problemas con el lanzador con mi dispositivo tengo problemas de estabilidad
 

Unagi Dojyou

New member
Oct 20, 2019
4
0
This rom is very nice. Thank you.
But I cannot use magisk with BootBridge for Sony ELF.
I use gapps that make for Android Go edition,because opengapps use a lot of memory. It can download from here. Screenshot_20210203-120545_設定[1].pngScreenshot_20210203-120558_設定[1].png
 

marce74

Member
Apr 9, 2020
20
1
[QUOTE = "Unagi Dojyou, publicación: 84416357, miembro: 10232449"]
Esta rom es muy bonita. Gracias.
Pero no puedo usar magisk con BootBridge para Sony ELF.
Utilizo gapps que hacen para la edición Android Go, porque los opengapps usan mucha memoria. Se puede descargar desde aquí . View attachment 5208065View attachment 5208059
[/CITAR]
Unagi Doj, ¿podría especificar cuál debo descargar si mi dispositivo es ARM? Me gustaría probar cómo funciona, por favor envíeme una captura.
 

Unagi Dojyou

New member
Oct 20, 2019
4
0
Unagi Doj, ¿podría especificar cuál debo descargar si mi dispositivo es ARM? Me gustaría probar cómo funciona, por favor envíeme una captura.
I use RoarTheGapps_GO_20201214.zip.
When I tried it first,TWRP said there aren't enough space. So, I placed "tgi-mini"file in tgi_config_files_v3.zip in the same path of that gapps zip. It installed only play store and work like nomal gapps.
But Goggle Drive cannot use with error. Chrome,Youtube,Gmail GO is OK.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 19

    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 18.1 (Unlocked Bootloader) :
    Xperia SP (Huashan) - Development : https://mega.nz/folder/bgVwHBha#dgbTpERhUxprd4OmVHz6Zw
    Google Applications (optional) :
    Information : Flash the GApps before the first boot. If not, a clean flash is recommended.​
    Recommended Recovery (optional) :
    Disable the default Low-RAM features (optional) :
    Low-RAM Property Patcher : http://forum.xda-developers.com/-/-t3737373
    Tools required for bootimage patches such as root :
    Informations and references :
    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 the device​
    - Wait a few minutes for optimizations to finish and the SIM to load before the setup​
    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​

    About the builds

    Issues and reports
    - Report issues only if you use the ROM original kernel
    - If an additional mod is installed, make sure it is unrelated, and mention it
    - Make sure the issue was not discussed earlier in the thread
    - Acquire ADB logcat logs to a file : how-to-take-logs-in-android
    - If the device crashed and rebooted, retrieve this file from the device : /proc/last_kmsg
    - Use Permissive Kernel Patcher and share logcat logs if it solves issues

    Legal
    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​
    - Arne (arco68)​
    - Everyone involved in working and testing​

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

    Contributors
    AdrianDC

    Version Information
    ROM OS Version: Android 11
    ROM Kernel: Linux 3.4.x
    Status: Beta
    10
    FEATURES AND ISSUES
    Code:
    Boot                       : Ok
    GApps                      : Ok
    Partitions (Data, Cache)   : Ok
    Bluetooth                  : Ok
    WiFi                       : Ok
    WiFi Hotspot               : Ok
    USB Tethering              : 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
    Gestures                   : Ok
    FM Radio                   : Ok
    Vibrator                   : Ok
    Microphone                 : Ok
    Audio & music              : Ok
    Bluetooth audio            : Ok
    Video playback             : Ok
    NFC                        : Ok
    Kernel                     : Ok
    Graphics                   : Ok
    3D Rendering               : Ok
    Clock                      : Ok
    DRM                        : Ok
    Offline Charging           : Ok
    USB                        : Ok
    USB OTG                    : Ok
    Encryption                 : ? (May fail to encrypt, TODO)
    SEPolicies                 : ? (Permissive, TODO)
    Kernel CVE                 : Partially outdated
    Root                       : Ok (with ADB)
    TWRP                       : Ok (TWRP 3.5.0 recommended, system restore may need a ROM reflash due to a TWRP internal issue)

    CHANGELOG
    Code:
    Future release:
      - Work in progress
    
    25/01/2021:
      - Upgrade release on Android 11.0.0_r27 January
    
    03/01/2021:
      - Update release on Android 11.0.0_r19 December
      - Calendar fixes to support Android Go builds without widgets
      - CPU deep sleep repaired, improving the battery life
      - GPS functionalities restored
    
    02/01/2021:
      - Initial public release on Android 11.0.0_r19 December
    
    28/12/2020:
      - Initial beta testers release on Android 11.0.0_r19 December
    9
    ALSO WORKING ON SONY HUASHAN
    • YouTube Presentation :


    IMPORTANT FEATURES TO KNOW
    • Boot sequence : Once the LEDs light up :
      - Press Volume - to open LineageOS 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
    3
    I have the twrp-3.3.0-0-huashan.img version installed, can I upgrade to 18.1 or is it necessary to have the twrp 3.5 version?

    As stated twice in this thread, TWRP 3.5.0 is the recommended version.
    If anything goes wrong on an older version of TWRP, the issues can't be analyzed.

    Also, updating the TWRP version is a 60 seconds job at most,
    I hardly see any reason to wonder about keeping an older one if everything still works.

    PS: Please don't PM directly after a public post asking for the same thing, I answer only when available.
    2
    Hell yeah! Starting off 2021 with a bang! Thank you Adrian :)