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

Search This thread

dtrunk90

Senior Member
Oct 29, 2021
320
147
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
320
147
32
Sony Xperia XZ2 Compact
Xperia XZ2
  • Like
Reactions: DrTrax

Raphos

Senior Member
Jul 31, 2015
238
92
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
29
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).
 

Raphos

Senior Member
Jul 31, 2015
238
92
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
238
92
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

  • There are no posts matching your filters.
  • 1
    It seems to me that split screen functionality does not work. (no complains, just want to report.)
    ?
    Screenshot_20220717-015613_Yandex Music.png
    1
    Thanks for your respond. Hmm, interesting... Than it's just my device. Maybe this is my reward for not making a clean flash...?
    I tried activating split screen by setting "System", "Buttons" "Recents long press action" to "Splti Screen" and than... pressed long. but nothing happend. Using other buttons has the same result, while the action "Last App" works this way just fine.
    Is there an other way to activate split screen?
    Open recents and hold the app icon, then press "split top"
    1
    Open recents and hold the app icon, then press "split top"
    Oh yeah, thank you very much! That's very good to know. This way it works with my device, too.
    1
    After a long time of testing, it turns out, that the setting "SCREEN_OFF_POWER_STATE=0" in libnfc-nci.conf (/vendor/lib) seems nevertheless to be the key to get NFC working in my case (except for the Mirafare-bug mentioned above). However, after each LOS update, the file is overwritten again (SCREEN_OFF_POWER_STATE=1). The consequence: NFC crashes again after some minutes. Is there any chance that the default setting could be set to 0 (also in the file itselft, it is stated that 0 is the default setting)?
    Yeah, a magisk module would be the only solution since you seem to be the only one affected by this and i don't want the controller to be in sleep-state while screen is off. That would mean we all couldn't use NFC anymore when screen is turned off.
    1
    Hello,
    I'm still on an old H8314 unlocked Android 9 52.0.A.11.3
    working quite ok but some bug are there.
    I'm looking for a daily driver, seems this one is ok ?

    What's the best update option now ?
    Using sony EMMA tool in flash mode is ok? Do I need to go to Android 10, then 11, then 12 ?

    or just taking the xperiafirm 52.1.A.3.49 and flash it with newflasher ?

    thanks for your help
    Please read the install instructions in the official wiki
  • 8
    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
    Thanks Dtrunk90 and Lineageos for support our XZ2C device! :)

    I know that in principle I would have to do a clean install to switch from 18.1 to 19.1 rom, but since I have a lot of applications ( 96 piece ) and gmail accounts ( 3 piece ) and email address settings ( 6 ) on my phone, I tried to make it dirty for the first time. A refresh from 18.1 to 19.1, saying if I fail I will do it from the ground up.
    BUT, it worked without any serious error at first try. The process if someone is interested in:

    - Downloaded everything, and put they to my adb folder. The los.zip, the los.recovery.img, and gapps.12.1-arm64.zip ;
    - Booted phone to fastboot mode ;
    - In fastboot " fastboot flash boot lineage-19.1-20220617-recovery-xz2c.img " ;
    - Plug uff USB, then rebooted into recovery with key combo ;
    - In recovery if I choosed the upgrade from adb ( sideloads ) I've got error message, something like: " los recovery error package is for product xz2c but excepted 8324... "
    - after that, In the recovery I enabled adb ;
    - then from pc " adb reboot sideload " ;
    - after it " adb sideload lineage-19.1-20220617-nightly-xz2c-signed.zip " ; <- it went perfectly now
    - rebooted to recovery from recovery ;
    - then " adb sideload MindTheGapps-12.1.0-arm64-20220605.zip " ;
    - rebooted phone once ;
    - made patched magisk boot img file with magisk app
    - rebooted to fastboot, then flash patched magisk boot img ;

    All of my programs, settings, passwords, mail accounts, are remained as they was. What I've looked at so far is all working. The rooting process still good. My Telekom and Bank applications could still hided from they root detection. And what surprised me was, that the poweramp equalizer also works properly, although on my other " gaming " phone on an xperia x compact ( kugo ) also under lineage os 19.1 i can't work it at all. And here is perfect. ( At least in addition to spotify ).

    Thanks again!

    Edit: My phone is a H8324 ( DualSim , EU version )
    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.