[ROM][12L][XZ2C][OFFICIAL] LineageOS 19.1

Search This thread

dtrunk90

Senior Member
Oct 29, 2021
248
108
32
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 12.x (S),
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 19.1:
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

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 19.1 for Xperia XZ2 Compact, ROM for the Xperia XZ2 Compact

Contributors

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

Donation
https://paypal.me/dtrunk90

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

Version Information
Status:
Stable

Created 2022-05-05
Last Updated 2022-06-17
 
Last edited:

dtrunk90

Senior Member
Oct 29, 2021
248
108
32
Sony Xperia XZ2 Compact
Xperia XZ2
  • Like
Reactions: DrTrax

Raphos

Senior Member
Jul 31, 2015
237
91
Elsass
Hi,

Thanks for your work guys !
Like my work? Donate here
I will (y). I did ;)

Dirty flashing over official Lineage OS 18.1 safe or not?
It works for me. Coming for Los 18 (backup data before !).
Install Los 19 recovery and then Los 19 zip file.

The rom seems to work. Didn't use it a lot, will see tomorrow...

At first test I will say it's slower than Los 18. Before an application starts, I have the application icon showing in big on screen but not always.
 
Last edited:
  • Like
Reactions: dtrunk90 and DrTrax

jan8045

Member
Dec 30, 2011
24
8
Sony Xperia XZ2 Compact
Coming from 18.1, I somehow did not manage to directly flash 19.1 Recovery (wouldn't boot but I somehow might have messed up while flashing), so I followed the more complicated procedure:

1. Flashed original Android 10 ROM with Newflasher on slot a
2. Flashed original Android 10 ROM with Newflasher on slot b
3. Flashed recovery on slot b
4. ADB sideloaded LineageOS in recovery of slot b on slot a (automatically flashed on inactive slot a).
5. ADB sideloaded GAPPS and Magisk in recovery of slot a.

Result: Works like a charm and is stable. Many thanks (I donated).
 

DrTrax

Senior Member
Jan 23, 2013
74
15
GT-i9250
Can someone tell me whether it's possible to use DualSIM and MicroSD at the same time?
LOS 18 automatically deactivates the 2nd SIM after detecting a microSD
 

Raphos

Senior Member
Jul 31, 2015
237
91
Elsass
Does the unofficial build support the H314 version of the XZ2C? I get an error during the installation from adb sideload. The phone says "Package is for product xz2c but expected H8324"
Hi,
I had this error when I tried to install the Lineage-19.1-2022....zip direct in Los 18 Recovery (I didn't sideload).
So I've installed Lineage-19 recovery...img with fastboot, enter into recovery and apply the Lineage-19.1-2022....zip update.
That works.
 
  • Like
Reactions: Magchild

sometx

New member
May 23, 2022
2
0
非常感谢您的作品,请问这个版本什么时候才能进入官方通道呢?😘😋(sorry to use Chinese,my English very not good)
 

Raphos

Senior Member
Jul 31, 2015
237
91
Elsass
So "stable" means everything working and ready for daily use?
Hi,

I don't think you will find someone here who can tell you "everything" is working.

Ready for daily use, it depends what you need...

I'm using daily this rom since May 10. What is working :
- Phone call (send and receive)
- Data 4G
- Sms
- Wifi 5Ghz
- Camera
- Location
- Bluetooth
- Sd card
- Access point
- File transfer to computer
- Battery is good
- Magisk - root
 
  • Like
Reactions: zpunout

glockmane88

Member
Dec 16, 2020
29
10
Hi,

I don't think you will find someone here who can tell you "everything" is working.

Ready for daily use, it depends what you need..

Just asked cause the MartinX3 ROM (I know SODP based) is marked as Alpha and this here as Stable so I wondered.. I installed it on one XZ2C and the second will follow later.. Seems good, could restore most Apps with Migrate.. But flashing is weird, does it switch Slots sometimes?
 

wtor68

Member
Nov 4, 2017
23
9
Are there any plans to go to an official release of lineageos, means are there any blocking bugs open?
Thanks (also for yor great work for that device)
 

zastor61

New member
Jun 5, 2022
2
0
Hi, a i am new here and also new to custom ROMs. Just to confirm that i managed to flash this build on my phone and so far haven't encountered any problems. But i do have a question - how do updates work on unofficial builds of LineageOS? @dtrunk90 will you provide updates to this build by OTA updates or how does this work? Or should i just switch to official build for consistent updates?
 

Top Liked Posts

  • 2
    Yes - using the two options that allow mobile appear to just use the mobile network - is there a way to know for sure? With the Wi-Fi only option selected calling fails with the message: "Connect to a wireless network to make a call" even though the device is connected to the internet via wifi.

    On possibly related note, I have been getting notifications today from Open Device ModemConfig. It typically says "Slot 0" for the title with the message itself saying "Modem configuration: S264.8 Firmware file: mcfg_sw/generic/row/tmobile/vl/us/mcfg_sw.bin". When toggling out of Airplane mode the message itself is "No modem configuration found" until it switches back to the message above (presumably after it has restarted the modem). Other than blocking all notifications from Open Device ModemConfig, is there a way to silence this notification?
    There's only one notification channel you can block. So you could also block whole notifications for that app. I'm doing that myself. It's just for debugging purposes if some modem configs are missing i can ask which S1234.1 and i can check if the config exists or if i have to add it. But it's also not my app. It's from https://github.com/sonyxperiadev/SonyOpenTelephony
  • 4
    Official builds are now available!

    In order to switch from unofficial to official builds a clean flash is required. Please refer to the official installation guide on how to clean flash properly.
    3
    Does it support VoLTE and/or VoWiFi for Europe carriers ? For example T-Mobile PL ?
    Or I have to add IMS configs by myself ?
    Yes, orange, play, telekom and many others got added here: https://review.lineageos.org/c/LineageOS/android_device_sony_tama-common/+/327624
    But better wait for the build of tomorrow since SonyOpenTelephony isn't working on latest build right now.
    3
    Hi

    I'm looking to flash my phone as I've run into the Stock issue where the secondary mic stops working (annoying.. happened after a factory reset).

    Anyhoo..

    I'm weighing up between Official 18 and Unofficial 19. I saw the Sony camera doesn't work with Unofficial 18. Doe it work with 19?

    Thanks!
    Only as a magisk module but it's not the stock version camera but an updated apk. Check xperiance at gitlab.

    I would suggest waiting for the official 19.1 builds. Everything is in place, just some stuff needs to be merged from someone with write privileges to those repositories.
    2
    Yes - using the two options that allow mobile appear to just use the mobile network - is there a way to know for sure? With the Wi-Fi only option selected calling fails with the message: "Connect to a wireless network to make a call" even though the device is connected to the internet via wifi.

    On possibly related note, I have been getting notifications today from Open Device ModemConfig. It typically says "Slot 0" for the title with the message itself saying "Modem configuration: S264.8 Firmware file: mcfg_sw/generic/row/tmobile/vl/us/mcfg_sw.bin". When toggling out of Airplane mode the message itself is "No modem configuration found" until it switches back to the message above (presumably after it has restarted the modem). Other than blocking all notifications from Open Device ModemConfig, is there a way to silence this notification?
    There's only one notification channel you can block. So you could also block whole notifications for that app. I'm doing that myself. It's just for debugging purposes if some modem configs are missing i can ask which S1234.1 and i can check if the config exists or if i have to add it. But it's also not my app. It's from https://github.com/sonyxperiadev/SonyOpenTelephony
    2
    So i tried this release with an clean install of lineagesos 19.1 (and the recovery). Works so far, also the mentioned bug that the very first call after a fresh install isn't working, doesn't happen here. The first incoming call was correctly signaled and the call itself was working like expected.
  • 5
    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 12.x (S),
    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 19.1:
    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

    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 19.1 for Xperia XZ2 Compact, ROM for the Xperia XZ2 Compact

    Contributors

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

    Donation
    https://paypal.me/dtrunk90

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

    Version Information
    Status:
    Stable

    Created 2022-05-05
    Last Updated 2022-06-17
    4
    Official builds are now available!

    In order to switch from unofficial to official builds a clean flash is required. Please refer to the official installation guide on how to clean flash properly.
    3
    Hi

    I'm looking to flash my phone as I've run into the Stock issue where the secondary mic stops working (annoying.. happened after a factory reset).

    Anyhoo..

    I'm weighing up between Official 18 and Unofficial 19. I saw the Sony camera doesn't work with Unofficial 18. Doe it work with 19?

    Thanks!
    Only as a magisk module but it's not the stock version camera but an updated apk. Check xperiance at gitlab.

    I would suggest waiting for the official 19.1 builds. Everything is in place, just some stuff needs to be merged from someone with write privileges to those repositories.
    3
    Does it support VoLTE and/or VoWiFi for Europe carriers ? For example T-Mobile PL ?
    Or I have to add IMS configs by myself ?
    Yes, orange, play, telekom and many others got added here: https://review.lineageos.org/c/LineageOS/android_device_sony_tama-common/+/327624
    But better wait for the build of tomorrow since SonyOpenTelephony isn't working on latest build right now.
    2
    Hi,

    Thanks for your work guys !
    Like my work? Donate here
    I will (y). I did ;)

    Dirty flashing over official Lineage OS 18.1 safe or not?
    It works for me. Coming for Los 18 (backup data before !).
    Install Los 19 recovery and then Los 19 zip file.

    The rom seems to work. Didn't use it a lot, will see tomorrow...

    At first test I will say it's slower than Los 18. Before an application starts, I have the application icon showing in big on screen but not always.