[ROM][13][XZ2C][OFFICIAL] LineageOS 20.0

Search This thread

dtrunk90

Senior Member
Oct 29, 2021
597
292
33
Sony Xperia XZ2 Compact
Xperia XZ2
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 13.x (T),
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 : https://lineageos.org/
About LineageOS Legal : https://lineageos.org/legal/

Important Information
1. This ROM will never work with any versions of Google Camera (GCam)!
2. You need to flash Stock Android 10 before flashing this ROM.

Downloads Links
LineageOS 20.0:
Official builds:
Link

Google Applications (optional):
MindTheGapps:
https://wiki.lineageos.org/gapps
Information: Flash the GApps before the first boot. If not, a clean flash is recommended.

Flashing and updating
Please refer to the official installation guide at https://wiki.lineageos.org/devices/xz2c

Pass SafetyNet
Some apps like banking/payment apps or games require to pass SafetyNet.

1. Download the latest release of ih8sn here.
2. Replace the whole content of system/etc/ih8sn.conf inside the zip file with:
Code:
BUILD_FINGERPRINT=Sony/H8324/H8324:8.0.0/51.1.A.3.159/620448843:user/release-keys
3. Install the zip file through 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 Logcat for example

Also thanks to:
Olivier
Sjll
The LineageOS Team
The CyanogenMod Team
Everyone involved in working and testing

XDA:DevDB Information
Lineage 20.0 for Xperia XZ2 Compact, ROM for the Xperia XZ2 Compact

Contributors

dtrunk90
Source Code: https://github.com/LineageOS

Donation
https://paypal.me/dtrunk90

ROM OS Version: Android 13
ROM Kernel: Linux 4.9
ROM Firmware Required: Official Android 10.0 firmware
Based On: LineageOS

Version Information
Status:
Stable

Created 2022-10-23
Last Updated 2022-12-19
 
Last edited:

dtrunk90

Senior Member
Oct 29, 2021
597
292
33
Sony Xperia XZ2 Compact
Xperia XZ2
  • Like
Reactions: fnoup
Hooray! Nice to see we still have stock-based LineageOS 20 / Android 13. Since XZ2 Compact is no longer my main phone, I can start testing it right away.

Just tried to login my Google Account, which requires FIDO/U2F. I tried plug in my USB key, and it seems USB OTG is not working. Kernel / dmesg log attached.
 

Attachments

  • dmesg.log
    11.9 KB · Views: 22

dtrunk90

Senior Member
Oct 29, 2021
597
292
33
Sony Xperia XZ2 Compact
Xperia XZ2
Hooray! Nice to see we still have stock-based LineageOS 20 / Android 13. Since XZ2 Compact is no longer my main phone, I can start testing it right away.

Just tried to login my Google Account, which requires FIDO/U2F. I tried plug in my USB key, and it seems USB OTG is not working. Kernel / dmesg log attached.
i just tried connecting my western digital external drive and it works on 19 but doesn't on 20. i guess it's the same issue you face so it's good i'm able to reproduce since i don't have such a usb key. I'll do some investigations. also thanks for the log file.
 
  • Like
Reactions: aaawqw
@dtrunk90 Do you know what changed with "wifi display" and "miracast" in lineageOS 18.1, 19.1, 20.0? I use the screen mirroring function with a Microsoft Display Adapter, and everything works well on 18.1. But on 19.1 and 20.0 I get a generic "wfd.service has stopped working" error when trying to pair. I'm sorry I don't have a log; I already downgraded back to 18.1.
 

dtrunk90

Senior Member
Oct 29, 2021
597
292
33
Sony Xperia XZ2 Compact
Xperia XZ2
@dtrunk90 Do you know what changed with "wifi display" and "miracast" in lineageOS 18.1, 19.1, 20.0? I use the screen mirroring function with a Microsoft Display Adapter, and everything works well on 18.1. But on 19.1 and 20.0 I get a generic "wfd.service has stopped working" error when trying to pair. I'm sorry I don't have a log; I already downgraded back to 18.1.
I probably need to pick some commits.
I'll put it onto my todo list. I first need to check if I have some options to test it here.
 
Last edited:
  • Like
Reactions: Magchild

dtrunk90

Senior Member
Oct 29, 2021
597
292
33
Sony Xperia XZ2 Compact
Xperia XZ2
@dtrunk90 Do you know what changed with "wifi display" and "miracast" in lineageOS 18.1, 19.1, 20.0? I use the screen mirroring function with a Microsoft Display Adapter, and everything works well on 18.1. But on 19.1 and 20.0 I get a generic "wfd.service has stopped working" error when trying to pair. I'm sorry I don't have a log; I already downgraded back to 18.1.
I've updated some blobs in 19.1. Let me know if it works for you after the next update tomorrow.
 

odiad

Senior Member
Jun 12, 2007
209
21
Sony Xperia XZ2 Compact
Hi dtrunk90. I'm using your rom now since 3 days, and until now all the things I'm do/use (normal user - no special things) is fine. Listening to Spotify via BT headset stucked yesterday a bit, but today in the car via BT it was fine again. Maybe it was Spotify itself...I have no USB OTG Adapter, so I can't check issues with external device via USB.
I did a clean flash, first stock A10, then LOS20, Gapps and Magisk.
So thanks a lot for LOS20, Greeting Odiad
 
  • Like
Reactions: dtrunk90

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    What is the maximum SD card for XZ2 Compact? I'm using Samsung Evo 256GB but was wondering if 512GB will work.
    Even 1 TB is working :)
  • 10
    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 13.x (T),
    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 : https://lineageos.org/
    About LineageOS Legal : https://lineageos.org/legal/

    Important Information
    1. This ROM will never work with any versions of Google Camera (GCam)!
    2. You need to flash Stock Android 10 before flashing this ROM.

    Downloads Links
    LineageOS 20.0:
    Official builds:
    Link

    Google Applications (optional):
    MindTheGapps:
    https://wiki.lineageos.org/gapps
    Information: Flash the GApps before the first boot. If not, a clean flash is recommended.

    Flashing and updating
    Please refer to the official installation guide at https://wiki.lineageos.org/devices/xz2c

    Pass SafetyNet
    Some apps like banking/payment apps or games require to pass SafetyNet.

    1. Download the latest release of ih8sn here.
    2. Replace the whole content of system/etc/ih8sn.conf inside the zip file with:
    Code:
    BUILD_FINGERPRINT=Sony/H8324/H8324:8.0.0/51.1.A.3.159/620448843:user/release-keys
    3. Install the zip file through 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 Logcat for example

    Also thanks to:
    Olivier
    Sjll
    The LineageOS Team
    The CyanogenMod Team
    Everyone involved in working and testing

    XDA:DevDB Information
    Lineage 20.0 for Xperia XZ2 Compact, ROM for the Xperia XZ2 Compact

    Contributors

    dtrunk90
    Source Code: https://github.com/LineageOS

    Donation
    https://paypal.me/dtrunk90

    ROM OS Version: Android 13
    ROM Kernel: Linux 4.9
    ROM Firmware Required: Official Android 10.0 firmware
    Based On: LineageOS

    Version Information
    Status:
    Stable

    Created 2022-10-23
    Last Updated 2022-12-19
    5
    First official build will be available on Friday! I've already updated this thread so I don't have to do it later.
    4
    Thanks for your work, I have been using your build since android 11, will this a13 version become an official build? (Machine Flip)
    Yes, should get the first official build in some days: https://review.lineageos.org/c/LineageOS/hudson/+/346756
    2
    One thing worth noting for the build: vibration (haptic feedback) feels a lot weaker than it should be; otherwise, it's pretty effecient and stable enough for daily use.
    2
    New build from today uploaded