4

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

 1 year ago
source link: https://forum.xda-developers.com/t/rom-beta-11-lineageos-18-1-for-xperia-sp.4212377/page-2#post-87748287
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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

marce74

Member
Apr 9, 2020
[QUOTE = "Unagi Dojyou, publicación: 84469499, miembro: 10232449"]
No. Solo RoarTheGapps_GO_20201214.zip .
Debería leer readme.txt .
[/CITA]
Amigo no pude instalar el RoarTheGapps_GO_20201214.zip me dio un error y perdona mi inexperiencia no entendí como colocar el archivo "tgi-mini" en tgi_config_files_v3.zip en la misma ruta del zip de gapps

marce74

Member
Apr 9, 2020

Friend I could not install the RoarTheGapps_GO_20201214.zip it gave me an error and forgive my inexperience I did not understand how to place the file "tgi-mini" in tgi_config_files_v3.zip in the same path of the gapps zip

Unagi Dojyou

New member
Oct 20, 2019
Friend I could not install the RoarTheGapps_GO_20201214.zip it gave me an error and forgive my inexperience I did not understand how to place the file "tgi-mini" in tgi_config_files_v3.zip in the same path of the gapps zip

I'm sorry my poor English.

First, download RoarTheGapps_GO_20201214.zip and tgi_config_files_v3.zip.
Second, unzip tgi_config_files_v3.zip. There will be tgi-mini.
Third, copy RoarTheGapps_GO_20201214.zip and tgi-mini to your devices.
Fourth, flash RoarTheGapps_GO_20201214.zip in TWRP.

If you cannot understand this, please watch my video.

rbertoche

Senior Member
Jun 26, 2014 Rio
Very nice, thank you again Adrian!
I didn't install yet cause I have a chipped screen which kinda blocks TWRP
I'll probably buy a replacement part sometime soon so I can run this!

Wyjek

Member
Feb 16, 2015

linrunner

New member
Mar 26, 2019
Just revived the old sweetie with this build. Great. Thank you @AdrianDC

Reactions: AdrianDC

blackmonk19

Member
Sep 4, 2018 London
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.

🤦‍♂️ Wish i read this before i tried installing Magisk... I'm stuck in a bootloop now! I dont have the fastboot driver anymore after a clean windows install few months back and windows wont install it automatically now... Any tips, please, thanks! 😉

Jadimo

Senior Member
Dec 31, 2014
🤦‍♂️ Wish i read this before i tried installing Magisk... I'm stuck in a bootloop now! I dont have the fastboot driver anymore after a clean windows install few months back and windows wont install it automatically now... Any tips, please, thanks! 😉

You will find a fastboot and adb installation tool in this thread - You may need to search for udpated links on last pages if the main one doesn't work for You.

Hey @AdrianDC, I see you generously provide support for a wide range of old SONY devices, would you please support Xperia L, it would really be nice to see taoshan resurrected again.

jurkoman

Senior Member
Oct 24, 2015
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

Hello, i tried install your latest LOS 18.1 and 17.1 with f2fs /data and /cache partition and in every startup there is decryption unsuccessful. I did more things with twrp and only result is format data to ext4. Already tested many roms with f2fs for this device and benchmark results always gives more than 20 percent more score and performance is really better. For this device is needed converting to f2fs because it lags a lot.
It is little bit restrictive and on Android 9 i can install on f2fs but its still in beta and not usable for daily using comparing with oreo or nougat. Simply best is nougat with fusion kernel 1.4 but little bit old.
If you will have more time, dear developer, can you look into this rom with f2fs? Or send some small fix? It will be very nice if we can use A10 on this old but still cool device with more performance.

Last edited: Aug 18, 2021

xosro

New member
Nov 7, 2016
Hello,
Does this ROM support Host Card Emulation (HCE) via NFC? I installed "NFC Check by Tapkey" and it says:
HCE is not supported (supported on most devices running Android 4.4 or later)
Thanks

Reeseishere

New member
Oct 23, 2021

Tomoms

Senior Member
Anyone know if Full Disk Encryption (FDE) works with xperia SP and this lineageOS build?

@Jadimo @AdrianDC @Wyjek @blackmonk19 @Tomoms @marce74 @Godecki @Ungewiss

Just tried it for you. It does work. TWRP is also able to decrypt /data correctly.

I'm sorry my poor English.

First, download RoarTheGapps_GO_20201214.zip and tgi_config_files_v3.zip.
Second, unzip tgi_config_files_v3.zip. There will be tgi-mini.
Third, copy RoarTheGapps_GO_20201214.zip and tgi-mini to your devices.
Fourth, flash RoarTheGapps_GO_20201214.zip in TWRP.

If you cannot understand this, please watch my video.

Hi. It shows error when I flash RoarTheGapps_GO.

greetings adrian !

my nexus 5 finally expired in a spontaneous bootloop, and although i am now the happy owner of a oneplus 5T (running lineage 18.1), i dug out old faithful xperia sp as the backup of my backup (now ex-) nexus, and turned it on after god knows how long

41% battery when it booted

i found this thread and marvel that you have produced a rom that is as current as my main phone, and i'm pleased to give it a whirl

my question : is any twrp =/> 3.5 appropriate ?

i'v downloaded the current version twrp-3.6.0_9-0-huashan, but will be pleased to have you confirm it's an okay choice

once again, many thanks for your ongoing support of this fine old hardware... time for mine to take another curtain call in the theatre of life

Scorpion2185

Member
Oct 30, 2019
Is ok if I have TWRP 3.2.2-0?

I installed it (LineageOS) but doesn't work.
After splash screen for some minutes It reboots on TWRP recovery.
How can I fix this?
The phone had Android 8.1 (AdrianDC version).
Do I need to flash a kernel?
I did normal wipe out and reflashed LIneageOS zip.

So I am thinking about wiping out all, to keep Telegram and Whatsapp session what should I keep?
And I don't want to have to reinstall TWRP.
Thanks.
Is ok if I have TWRP 3.2.2-0?

instructions explicitly state twrp 3.5 is required (or newer, i would expect should be okay, though i haven't yet tried)

And I don't want to have to reinstall TWRP.

would appear that you are asking for the impossible then

Reactions: Scorpion2185

Scorpion2185

Member
Oct 30, 2019
I downloaded and installed twrp-3.6.1_9-0, didn't know was easy to update.
I used it to update it.

I can confirm that it works, takes some time to start responding decently.
I flashed open_gapps-arm-11.0-pico-20210101-UNOFFICIAL-AdrianDC in case I need Gapps.

With RoarTheGapps_GO_20210709 and tgi-mini it reboots on recovery as before.
I remember having problem on 8.1 using other Gapps file.
I guess that to be able to use another version you need to be lucky.

For this phone a GO version of Gapps could be useful.

Reactions: ralfbergs

ralfbergs

Senior Member
Dec 6, 2014
Just for the record: I just used twrp-3.7.0_9-0-huashan to install this ROM (I know 3.5 is recommended, but the version I used was not available at the time Adrian recommended 3.5, so I wanted to try the latest-and-greatest ), OS build lineage-18.1-20210125-UNOFFICIAL-huashan.

The ROM seems stable, but aaaaaaawfully slow (obviously due to the very limited RAM available on this ancient device).

hannor

Senior Member
Nov 30, 2015 Budapest
I also tried this ROM (many thanks to Adrian for the effort), but I can confirm that at this beta stage it is unusably slow.

Top Liked Posts

  • 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
    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
    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
    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.
    Hell yeah! Starting off 2021 with a bang! Thank you Adrian

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK