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

[Unofficial] Lineage 18.1 for Xperia X Performance [Treble]

Search This thread

Sjll

Recognized Developer
Jun 4, 2017
510
591
Chongqing
Lineage 18.1 for Xperia X Performance
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. You need to flash Stock 41.3.A.2.149 and boot into it before flashing this ROM.
3. This ROM is suitable for dual and single model
4. You will meet a delay when recognize sim at the first boot.
5. VoLTE is supported, but you need to enable it on stock firmware at first.
6. We support Gcam, but you need to install Gapps at first.


Downloads Links
LineageOS 18.1:
Unofficial:

Google Applications (optional):
NikGapps:
https://nikgapps.com/ (ARM64->Android R->core,)
Information: Flash the GApps before the first boot. If not, a clean flash is recommended.

Flashing and updating
LineageOS clean install:


Download the latest build of LineageOS ROM
Full wipe and factory reset (recommended / backup to make sure not to loose data)
Flash the LineageOS ROM zip from the Recovery
Flash the GApps to have the Google Applications (optional)
Every additional zip you want to flash (optional)
Reboot
LineageOS update/upgrade:

Download the latest build of LineageOS ROM
Wipe cache and dalvik cache
Flash the latest LineageOS ROM zip from the Recovery
Every additional zip you want to flash (optional)
Reboot

About the builds:

Source: https://github.com/linelessos

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
The SODP Team.
Olivier
Chippa_a
Everyone involved in working and testing

Contributors
@erikcas @Sjll
ROM OS Version: 11.0
ROM Kernel: Linux 4.4.x

Version Information
Status: Beta
 

Attachments

  • photo_2021-04-05_11-24-17.jpg
    photo_2021-04-05_11-24-17.jpg
    75.7 KB · Views: 458
Last edited:

Sjll

Recognized Developer
Jun 4, 2017
510
591
Chongqing
FEATURES AND ISSUES
Code:
- Boot: Ok
- Bluetooth: Ok
- WiFi: Ok
- WiFi Hotspot: 2.4 Ghz Only
- 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: No test
- Offline Charging: Ok
- USB: Ok
- USB Tethering:  Ok
- USB OTG: No test
- Encryption: No
- SEPolicies: Permissive
 
Last edited:

PPGX5II

Senior Member
Installed it with stock NicksGapps and it works fine but couple of issues which I reported on other Lineage versions are still there, double tap to wake not working and physical camera key not working. Those should be easily repro-able and I did fresh installation.
I will report more if I find any.
 

Sjll

Recognized Developer
Jun 4, 2017
510
591
Chongqing
when are you going to support 5ghz wifi bandwith
5Ghz hotspot? Not sure our hardware support it.

and does it have support for gcam and if not could i flash camera2api enabler to use it
Why not try Gcam and get the answer before you asked this question?

Installed it with stock NicksGapps and it works fine but couple of issues which I reported on other Lineage versions are still there, double tap to wake not working and physical camera key not working. Those should be easily repro-able and I did fresh installation.
I will report more if I find any.
Physical camera key needs to be enabled in Settings.
 
  • Like
Reactions: PPGX5II

Sjll

Recognized Developer
Jun 4, 2017
510
591
Chongqing

URGENT notification! For 20210418 build

Here providea temp fix, for bluetooth, doze issue. I will fix it in next build.


1. Enable USB debug and allow debug as root in developer settings.
2. Run
Code:
adb root
adb shell mount -o remount,rw /vendor
adb pull /vendor/etc/vintf/manifest.xml

3. Open mainfest.xml with text editor, then Remove these codes in it:
Code:
<hal format="hidl">
        <name>android.hardware.bluetooth.audio</name>
        <transport>hwbinder</transport>
        <version>2.0</version>
        <interface>
            <name>IBluetoothAudioProvidersFactory</name>
            <instance>default</instance>
        </interface>
        <fqname>@2.0::IBluetoothAudioProvidersFactory/default</fqname>
    </hal>
4. Save and run
Code:
adb push manifest.xml /vendor/etc/vintf/manifest.xml
adb reboot
 
Last edited:

elFlexor

Member
Oct 18, 2011
7
1
i9100
Sony Xperia Z1
(y)
trying to update from 20210419 to 20210429 now, but getting stuck in boot loop.. Is a full wipe required?

Edit: oof never mind, I just let it bootloop and when I came back from lunch it was fine
 
Last edited:

wryunj

Member
Mar 28, 2012
12
2
Hmm, so I got round to installing this, lazily didn't reinstall stock and went straight from the SODP Lineage 16 to this. What could go wrong?

Apparently, what could go wrong is that the 'call' screen never appears, so I can't pick up phone calls, OR if I initiate phone calls they work but I can't hang up. Weird. Looks great otherwise, though!

(also, struggling to get GPS fix)

Would actually following the instructions here solve my problems?


EDIT: Aha, just that the default phone app wasn't set. How odd.
 
Last edited:

aymnga

Senior Member
Apr 14, 2014
96
10
after boot, it asked me to enter password but I don't have any password before flashing this ROM. No lock screen, not signed to any google account.
unnamed.jpg
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Lineage 18.1 for Xperia X Performance
    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. You need to flash Stock 41.3.A.2.149 and boot into it before flashing this ROM.
    3. This ROM is suitable for dual and single model
    4. You will meet a delay when recognize sim at the first boot.
    5. VoLTE is supported, but you need to enable it on stock firmware at first.
    6. We support Gcam, but you need to install Gapps at first.


    Downloads Links
    LineageOS 18.1:
    Unofficial:

    Google Applications (optional):
    NikGapps:
    https://nikgapps.com/ (ARM64->Android R->core,)
    Information: Flash the GApps before the first boot. If not, a clean flash is recommended.

    Flashing and updating
    LineageOS clean install:


    Download the latest build of LineageOS ROM
    Full wipe and factory reset (recommended / backup to make sure not to loose data)
    Flash the LineageOS ROM zip from the Recovery
    Flash the GApps to have the Google Applications (optional)
    Every additional zip you want to flash (optional)
    Reboot
    LineageOS update/upgrade:

    Download the latest build of LineageOS ROM
    Wipe cache and dalvik cache
    Flash the latest LineageOS ROM zip from the Recovery
    Every additional zip you want to flash (optional)
    Reboot

    About the builds:

    Source: https://github.com/linelessos

    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
    The SODP Team.
    Olivier
    Chippa_a
    Everyone involved in working and testing

    Contributors
    @erikcas @Sjll
    ROM OS Version: 11.0
    ROM Kernel: Linux 4.4.x

    Version Information
    Status: Beta
    1
    when are you going to support 5ghz wifi bandwith
    5Ghz hotspot? Not sure our hardware support it.

    and does it have support for gcam and if not could i flash camera2api enabler to use it
    Why not try Gcam and get the answer before you asked this question?

    Installed it with stock NicksGapps and it works fine but couple of issues which I reported on other Lineage versions are still there, double tap to wake not working and physical camera key not working. Those should be easily repro-able and I did fresh installation.
    I will report more if I find any.
    Physical camera key needs to be enabled in Settings.
    1
    I don't know about the mic issue, but to run Banking Apps your device has to pass SafetyNet. To achieve this: Flash Magisk, then go to Settings and activate MagiskHide. Install the MagiskHide Props Config module. After reboot install Termux from PlayStore. Open the App, type "su", then type "props". Select 1 and choose a new fingerprint from a different Xperia device.