[ROM] [11] LineageOS 18.1 [OFFICIAL]

Search This thread


Senior Member
Oct 29, 2021
Sony Xperia XZ2 Compact
Xperia XZ2
But i'm running H8216 firmware and flashed LineageOS 18.1 on this.
Congrats, but it's still not listed as supported model in the wiki. I don't have japanese models of all tama devices (xz2, xz2p, xz2c, xz3). I've already spent much money on all international models and i don't see myself in buying other models to get them supported.
  • Like
Reactions: cuynu


Senior Member
Mar 25, 2018
sd works fine nfc if sov37 converter can't work unless you have a h8216 machine
My model is H8216 and NFC on it and the memory card does not work. On the laptop, the card is detected correctly, including the files stored on it. For proof, I can insert screenshots or upload a video on youtube with these problems.

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    Good news, we will go 18.1 official in next week.

    #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. This ROM will never work with any versions of Google Camera (GCam)!
    3. You need to flash Stock Android 10 before flashing this ROM.
    4. For VoLTE, you need to boot into stock firmware and enable it before flashing this ROM!

    Downloads Links
    LineageOS website

    Google Applications (optional):
    Information: Flash the GApps before the first boot. If not, a clean flash is recommended.

    Flashing and updating
    How to flash

    Make sure you are upgrade to Official Android 10.0 from Sony
    Unlock bootloader is necessary.
    To disable AVB 2.0 using fastboot:
    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
    For vbmeta.img, you can download it anywhere you found.
    More steps see wiki

    Never flash oem from SODP!!
    If you flashed oem and meet any issues, I could only say you are a hanhan.

    Root access:
    Flash Magisk in recovery.

    You could download it here: Link
    fastboot boot twrp.img

    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
    Everyone involved in working and testing

    XDA:DevDB Information
    Lineage 18.1 for Xperia XZ2, ROM for the Xperia XZ2

    Sjll, Olivier
    Source Code: https://github.com/sony-sdm845


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

    Version Information

    Created 2020-11-27
    Last Updated 2021-05-26
    Glad to tell everyone who are waiting for LineageOS 18.1.
    I uploaded the 20210515 build for Akari, but I don't have device to test.
    From the result on XZ3, everything works fine.
    Please test and feedback, if there is no bug, we will get official 18.1 support sson.
    So latest build is 18.0 from November?
    Seems a big pause in development.
    I will try building with the 18.1 sources on Lineage GitHub and see what happens.....

    Edit: Fixed the build errors but it wont boot and devs seem to have moved on.
    Back to 17.1 nightlies
    I don't have battery drain issue to begin with so can't tell the difference sadly, but yeah flashed and everything still works fine as before!
    Uploaded a new lineage-18.1-20210515-unofficial-akari.zip again.
    This removed 2 crashing prebuilt system Apps, enjoy.