[ROM][UNOFFICIAL] LineageOS 18.1 for Xperia 5 [EOL]

Search This thread

nethawk126

New member
Dec 25, 2021
1
0
非常感谢大佬,支言片语,无法表达五体投地钦佩之情,我的日版索尼xperia5已经成功刷上了大佬搞的18.1 lineageos,干净,清爽,丝滑,专业。非常激动,谢谢,非常感谢,牛逼
 

BrandonMCMFG

Member
May 17, 2020
33
5
Xperia XZ2
Nintendo Switch
Well, it looks like that is it for security updates with this ROM... i have been using this version of LineageOS 18.1 on my Xperia 5 now for about 3 months and it is the most stable and best ROM I have ever used. i wish there was a way to update this myself or carry on this project (that i think has been abandoned). Anyways Thanks Sjll for this great ROM. :)
 

ClownWorld

Senior Member
Oct 16, 2019
59
5
Worked fine but now it's boot looping like crazy, seems to drain battery fast. not sure if that's because of rom or it's just old. What could be the issue? it has these rapid restarts with the lineage animation on boot, sometimes boots up enough time for you to input the pin but then restarts. Seems stable in safe mode.

Could it be some root hack from some app, it doesn't seem to be due to changing launchers, could it be due to some developer settings change, doesn't seem like that's the cause though as I did it before. It started happening just as I changed VPN settings, and when it booted again the micro sd card was corrupted/tap to fix, which was also a surprise initially with the phone as this sd card should not be broken at all, but the phone seems to corrupt it sometimes, works fine on other devices.

I also wonder whether or not the bootloader should be re-locked after installing a custom ROM as it says it can't check for corruption.

The tap to fix on the micro sd just keeps showing after format on the phone.
 
Last edited:

nailyk

Senior Member
Oct 3, 2015
1,506
2,963
Hello @Sjll !

Thanks for providing this rom, with proper sources !
I am planning on building lineage based on your sources. Is this ok for you ?

Also, I noticed that the current Lineage sources you are using are based on a prebuilt kernel. Could you explain the reason why ?
Do you have kernel sources that you are currently building/using please ? (I am very bad with kernel stuffs :()


Thanks for your work !
 

ClownWorld

Senior Member
Oct 16, 2019
59
5
@Sjll Do you know what could be causing boot loops? It crashes / restarts before and during entering password on boot.

Edit: I did a reinstall once more, this time I use a different launcher/home app, currently no boot looping, also installed anti bootloop module for magisk, just in case.
 
Last edited:

BrandonMCMFG

Member
May 17, 2020
33
5
Xperia XZ2
Nintendo Switch
Hello @Sjll !

Thanks for providing this rom, with proper sources !
I am planning on building lineage based on your sources. Is this ok for you ?

Also, I noticed that the current Lineage sources you are using are based on a prebuilt kernel. Could you explain the reason why ?
Do you have kernel sources that you are currently building/using please ? (I am very bad with kernel stuffs :()


Thanks for your work !
Any update on this project so far? :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    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 11.x (R),
    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 LineageOS Legal : http://lineageos.org/legal/

    Important Information
    1. This ROM has nothing related to ODM images! So you don't need to ask/install anything like that, just follow the instructions.
    2. This ROM DOESN'T support Google Camera (GCam)!
    3. You need to flash Stock Android 11 before flashing this ROM.
    4. For VoLTE, you need to boot into stock firmware and enable it before flashing this ROM!
    5.If you cam from SODP ROMs, you need to go back to official Android 11 firmware, and boot into launcher.
    6.This ROM works fo both dual and single models.

    Downloads Links
    LineageOS 18.1:
    Unofficial-build:
    Link
    Recovery: Link

    Copy-partitions: Link


    Google Applications (optional):
    NikGapps, MindTheGapps. OpenGapps.
    Information:
    Flash the GApps before the first boot. If not, a clean flash is recommended.

    Flashing and updating
    How to flash

    Make sure you upgraded to Official Android 11.0 from Sony
    Unlock bootloader is necessary.
    Download latest platform-tools from google

    1. Install google's usb debug drivers.
    2. Download Lineage Recovery from above.
    3. Put your device into fastboot by holding volume up key.
    4. Type the following command to flash the recovery:
    Code:
    fastboot flash boot boot.img
    fastboot flash dtbo dtbo.img
    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
    5. Hold power key and volume down key, you will boot into recovery.
    6. Sideload the ROM package.
    7. Sideload the copy-partitions package.
    8. If you are first time to flash LineageOS, Wipe data plz.

    Gapps:
    After flashing ROM via siddeload, Reboot to recovery, choose Apply from ADB, then sideload the gapps package on your PC with adb tool:
    Code:
    adb sideload <PATH OF GAPPS>

    Never flash oem from SODP!!
    If you flashed oem and meet any issues, I could only say you are a hanhan.

    Root access:
    Sideload Magisk in recovery.

    Issues and reports

    Report issues only if you are using 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

    Also thanks to:
    The LineageOS Team
    The CyanogenMod Team

    XDA:DevDB Information
    Lineage-18.1 for Xperia 5, ROM for the Sony Xperia 5

    Contributors

    Sjll

    Source Code:

    Donation
    https://paypal.me/sjllls

    ROM OS Version: Android 11
    ROM Kernel: Linux 4.14

    Version Information
    Status:
    Stable

    Created 2021-10-21
    Last Updated 2021-10-21
    5
    FEATURES AND ISSUES
    Code:
    - Boot: Ok
    - Bluetooth: Ok
    - WiFi: Ok
    - WiFi Hotspot: Ok
    - Wireless display: Ok
    - RIL - Phone - Data: Ok
    - VoLTE: Ok
    - GPS: Ok
    - Camera: Ok
    - Camcorder: Ok
    - Lights: Ok
    - MicroSD: Ok
    - Accelerometer: Ok
    - Compass: Ok
    - Gyroscope: Ok
    - QTI sensors: Ok
    - Touchscreen: Ok
    - FM Radio: NA
    - Fingerprint: Ok
    - Vibrator: Ok
    - Microphone: Ok
    - Audio & music: Ok
    - Bluetooth audio: Ok
    - NFC: Ok
    - Kernel: Ok
    - Graphics: Ok
    - 3D Rendering: Ok
    - Clock: Ok
    - DRM: Widewine L3
    - Offline Charging: Ok
    - USB: Ok
    - USB Tethering:  Ok
    - USB OTG: Ok
    - Encryption: Ok
    - SEPolicies: Enforce
    4
    @Sjll
    Really great news, thank you so much - that's I was waiting for!
    Are you planning to go to official LineageOS builds?

    Until I solved the kernel build from source.
    4
    Hello @Sjll !

    Thanks for providing this rom, with proper sources !
    I am planning on building lineage based on your sources. Is this ok for you ?

    Also, I noticed that the current Lineage sources you are using are based on a prebuilt kernel. Could you explain the reason why ?
    Do you have kernel sources that you are currently building/using please ? (I am very bad with kernel stuffs :()


    Thanks for your work !
    1
    Any updates coming?