[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
I recently bought some wireless earbuds for jogging. Used they are around 40-60€ at least where I am located. Model is Jabra Elite 7 Active. The lower series (3, 4,..) are also widely available, though I don't know if they support hd audio.
Wow, that's pretty expensive (at least for testing purposes only). Let's see if there's something in a lower price range.
 

Rrreutel

Senior Member
Sep 12, 2012
126
145
Hi @dtrunk90 I have some questions about how to make your magisk modules work on other Xperia devices , i.e. XZ1C. (this might not be the right place to discuss, but didn't find an appropriate thread, and not allowed to DM you).
 

dtrunk90

Senior Member
Oct 29, 2021
597
292
33
Sony Xperia XZ2 Compact
Xperia XZ2
I understand about time constraints, I was hoping for some initial pointers from you and do the porting work myself. Would that be an option? If so, I'd appreciate a PM, if not I'll leave it at this.
Here are some resources to read through:

Then try to understand what the gradle build file is doing
 
  • Like
Reactions: Rrreutel

GT500s

Senior Member
See 1st post about passing safetynet
I have SafetyNetFix 2.4.0 magisk module installed but still only SD
Screenshot_20230202-195731_Trebuchet.png
 
We have chosen not to enable this option in settings since it's known to cause troubles (including dataloss or non-booting devices. You can maybe build for yourself and see if you can make it work, but we won't include it in officials.
I understand that the option is turned off, that's why I manually enabled it. And that's fine.

However, when I enable adoptable storage now the whole OS crashes and goes into a boot loop, even though it can work with it fine.

Because if I first load LOS 18 and enable adoptable storage there, and then upgrade to 20 it will continue to work with no problems.

It's just the format that's crashing for some reason, and I figured maybe it's an easy fix :) That the format crashes is a regression since LOS 19
 

dtrunk90

Senior Member
Oct 29, 2021
597
292
33
Sony Xperia XZ2 Compact
Xperia XZ2
I understand that the option is turned off, that's why I manually enabled it. And that's fine.

However, when I enable adoptable storage now the whole OS crashes and goes into a boot loop, even though it can work with it fine.

Because if I first load LOS 18 and enable adoptable storage there, and then upgrade to 20 it will continue to work with no problems.

It's just the format that's crashing for some reason, and I figured maybe it's an easy fix :) That the format crashes is a regression since LOS 19
adoptable storage isn't supported for a good reason. please don't run these weird adb commands.
 
Last edited:

fnoup

Member
Feb 10, 2022
7
2
Hi,

First, thank you, overall L20 is working fine on my device!

However, some minor disturbances remain:
- the selection list for device flip action (in alarm settings) is... weirdly displayed... It kinda works so no big deal but I don't know if this is already tracked somewhere (I'm lost in gerrit)
- "Accessibility > Vibration & haptics" does not let you set the strength of vibrations. I don't know if this is just my device but it is quite weak and I miss notifications.

Thanks again!
 

dtrunk90

Senior Member
Oct 29, 2021
597
292
33
Sony Xperia XZ2 Compact
Xperia XZ2
Hi,

First, thank you, overall L20 is working fine on my device!

However, some minor disturbances remain:
- the selection list for device flip action (in alarm settings) is... weirdly displayed... It kinda works so no big deal but I don't know if this is already tracked somewhere (I'm lost in gerrit)
- "Accessibility > Vibration & haptics" does not let you set the strength of vibrations. I don't know if this is just my device but it is quite weak and I miss notifications.

Thanks again!
Device flip action is tracked on the issues project on gitlab and there's a fix for that in place on gerrit which waits for approval.
I'll check the vibration thing once i have time and put it on my todo list if i can reproduce it. Thanks for your feedback.
 

PerfectJam

Senior Member
Jan 11, 2013
68
10
Hello,

First of all, thanks for continuing maintaining this phone up to date !

Simple question, currently running LOS18.1, can I directly upgrade to LOS20, or should I up to LOS19.1 before ?

Best regards,
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hi Giacomo, what is the application? Maybe I can try it too.
    Hi, the two apps are:
    Io https://play.google.com/store/apps/details?id=it.pagopa.io.app
    CieID https://play.google.com/store/apps/details?id=it.ipzs.cieid
    I have a problem when doing the authentication with the ID card, when you have to leave the card attached to your phone.

    They both use https://github.com/italia/cieid-android-sdk to manage the nfc authentication
    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