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

Search This thread

dtrunk90

Senior Member
Oct 29, 2021
347
161
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/akari

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

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-22
 
Last edited:

dtrunk90

Senior Member
Oct 29, 2021
347
161
32
Sony Xperia XZ2 Compact
Xperia XZ2
Will this build eventually be official or will you be keeping it unofficial?
It will be official once i know there are no blocker bugs. There's still an issue with the very first incoming call after a clean flash because no notification is popping up. So you can't answer the incoming call. But all following incoming calls are working. Not sure what's the problem yet.
 
  • Like
Reactions: zpunout

Rachsutha

Member
Apr 10, 2015
43
8
มันจะเป็นทางการเมื่อฉันรู้ว่าไม่มีบั๊กตัวบล็อก ยังคงมีปัญหากับสายเรียกเข้าแรกสุดหลังจากล้างแฟลชเพราะไม่มีการแจ้งเตือนปรากฏขึ้น จึงไม่สามารถรับสายเรียกเข้าได้ แต่สายเรียกเข้าที่ตามมาทั้งหมดกำลังทำงานอยู่ ยังไม่แน่ใจว่ามีปัญหาอะไร
It's caused by the launcher, I tried changing the launcher and it works fine. There's only one problem I've reported. I won't report any problems that I can fix myself.
 

scaniathe

Senior Member
Jun 12, 2014
428
89
Wadowice
It will be official once i know there are no blocker bugs. There's still an issue with the very first incoming call after a clean flash because no notification is popping up. So you can't answer the incoming call. But all following incoming calls are working. Not sure what's the problem yet.

I remember this bug from lineage 18.1 unofficial version
 
Last edited:

sunv

Member
Sep 11, 2016
6
1
Thanks for your work, will you fix the problem of nfc not working properly afterwards?
 

dtrunk90

Senior Member
Oct 29, 2021
347
161
32
Sony Xperia XZ2 Compact
Xperia XZ2
Almost great, but the rom still doesn't pass cts in case of no root.
Ok so there are ways to bypass `ro.boot.verifiedbootstate` being orange but such hacks are not allowed in lineage. If you need to pass SafetyNet you'll have to root. Sorry.

EDIT: Just in addition: Changing the fingerprint is not enough. ctsProfile check will still fail. `ro.boot.verifiedbootstate` has to be green which is only the case if the bootloader is locked which isn't possible on our tama devices. Magisk will set verifiedbootstate to green.
 
Last edited:
  • Like
Reactions: Rachsutha

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    1. Yes
    2. Please refer to the upgrade guide. Everything except upgrading to 19.1 recovery (due to a change) is described there: https://wiki.lineageos.org/devices/akari/upgrade (and no you don't have to install stock 10 because you've done that already for 18.1)

    Many thanks for your quick answer!
    It worked really smoothly after upgrading to the 19.1 recovery.
    1
    one option is to upgrade to los 19.1
    in the firmware archive, the path META-INF / COM / ANDROID is looking for the metadata file, copying from the archive and changing it, you can open the file with the help of the total commander and change the bottom line pre-device = H8266, H8296, H8216, akari, akari_dual, save and transfer to the same place in the archive with the replacement of the old one. Make a data save.
    reboot into recovery and do formatting further gaps reboot system.
    Or just upgrade recovery to 19.1...
  • 13
    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/akari

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

    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-22
    3
    Hi @dtrunk90 . I saw that tama phones were promoted to official 19.1. Can you say it'll be possible to update from unofficial to official without formatting?
    > A full data wipe is needed if you are coming from something other than an official build of LineageOS.
    3
    @dtrunk now that there is an official build available,can you please provide a step by step guide on how to correctly update to Lineage 19.1 coming from Lineage 18.1. I have already downloaded all required files to update to 19.1 and would appreciate a step by step of how to update. Is it possible at all via Lineage Recovery?
    dirty flash:
    1. make a backup of all of your data
    2. update lineage recovery (fastboot flash boot command like described in the official install instructions)
    3. install 19.1 in new lineage recovery

    clean flash:
    1. make a backup of all of your data
    2. please refer to the official installation instructions

    Additionally: https://wiki.lineageos.org/devices/akari/upgrade
    3
    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.

    EDIT: And please don't forget to update recovery as well. Otherwise you'll notice an error message when trying to install 19.1.
    3
    Could you make sony stock camera work on this rom without magisk access. Many thanks . The rom work flawlesslly but camera quality so bad
    Yeah I'm still trying to get the camera working and it's easier for me while developing to use a magisk module. But once and if everything is running I'll provide a flashable zip.

    EDIT: The magisk module on gitlab was only a quickwin to get a newer version of the sony camera working but I'm already working on the same version which was on stock.