[ROM][13][AKATSUKI][OFFICIAL] LineageOS 20.0

Search This thread

dtrunk90

Senior Member
Oct 29, 2021
489
261
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 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/akatsuki

Pass SafetyNet
Some apps like banking/payment apps or games require to pass SafetyNet.
There are 2 options:

Option 1: Without Root
1. Download the latest release of ih8sn here.
2. Replace the content of system/etc/ih8sn.conf inside the zip file with:
Code:
BUILD_FINGERPRINT=Sony/H8266/H8266:8.0.0/51.1.A.3.159/620448843:user/release-keys
3. Install the zip file through recovery.

Option 2: With Root
1. Install latest Magisk APK through recovery.
2. Install Universal SafetyNet Fix as Magisk module.
3. Install MagiskHide Props Config as Magisk module.
4. Run the following command either in ADB shell or a Terminal emulator app like Termux after running su to set a certified fingerprint:
Code:
props
5. Enable Zygisk and deny list and add some Apps to the deny list to hide rooting status.

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

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

project_2501

Member
Oct 6, 2022
32
5
One thing worth noting with this build: the notification LED is way too bright, had to set it below 15% for it to appear like it did before upgrading to 20. When will 20 become official on Sony devices? Monthly updates with the security patch would be nice until it is official.
 

dtrunk90

Senior Member
Oct 29, 2021
489
261
32
Sony Xperia XZ2 Compact
Xperia XZ2
One thing worth noting with this build: the notification LED is way too bright, had to set it below 15% for it to appear like it did before upgrading to 20.
Thanks, I'll add this to my TODO list and check if i can reproduce it.
When will 20 become official on Sony devices? Monthly updates with the security patch would be nice until it is official.
I can't answer that. The LineageOS team is still working hard on 20. No ETAs - that's the rule. ;-) I'll see if I can provide monthly updates, but no promises. You won't get a notification or OTA updates anyway because it's an unofficial build. Unofficial builds need manual updating.
 

nickholtus

Senior Member
Aug 26, 2011
2,407
2,468
Roms works great, except when i flash gapps, its not showing up.
Tried this:

Go to recovery
factory reset
Flash rom (sideload)
Flash gapps (sideload)
reboot.

After reboot, no gapps show up.
Tried mindthegapps and NikGapps

Any tips?
 

dtrunk90

Senior Member
Oct 29, 2021
489
261
32
Sony Xperia XZ2 Compact
Xperia XZ2
Roms works great, except when i flash gapps, its not showing up.
Tried this:

Go to recovery
factory reset
Flash rom (sideload)
Flash gapps (sideload)
reboot.

After reboot, no gapps show up.
Tried mindthegapps and NikGapps

Any tips?
Classical A/B device user error. You have to reboot to recovery after flashing rom to switch to the other slot (which is also mentioned in the official install guide @ lineage wiki).
 
Last edited:
Nov 30, 2022
13
0
16
i spent 3 days to unlock bootloader in my sony xz3, i tried everything because of that i got weird viruses on my laptop i don't know what to do now i am feeling sad
 
Nov 30, 2022
13
0
16
I have read all the information! my problem is with bootloader, it says bootloader unlock allowed : No
i have xz3 japanese model sov39
 

Attachments

  • _20221201_023612.JPG
    _20221201_023612.JPG
    74.1 KB · Views: 43
Nov 30, 2022
13
0
16
If you can help me with this or if you have any software to bypass or unlock this bootloader I will be grateful !!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    First official build will be available on Friday! I've already updated this thread so I don't have to do it later.
    1
    Thank you so much...
    I've been using 19.1 since it became official !
    Now 20.0 ! Yet installed and everything is working fine.

    For others : Please follow strictly the Lineage Setup Howto in order to avoid troubles !
    1
    @dtrunk 90
    Thank you very much for your work. The transition from LOS 19.1 to 20 went pretty smooth.

    I've recognized a small bug in LOS 20. Automatic display turnoff is not working properly, the screen gets a little bit darker and turns off after the appropriate time, but it turns on again after about 4 seconds. Then the process repeats itself.

    When I press the hold button the screen turns off and stays that way, so it is only a minor issue.

    The problem only occurs when the option settings->security->displaylock is set to none.

    My xz3 modell is Sony/H9493 (found in the log) with the official LOS 20. If you need further information please advice me how to do that.
    1
    Code to replace in conf file is "BUILD_FINGERPRINT=Sony/H8266/H8266:8.0.0/51.1.A.3.159/620448843:user/release-keys" This thread is for XZ3 h8416. Just wanted to confirm if "H8266" in the code is not a mistake.
    There's no certified fingerprint for XZ3 in MagiskHide PropsConf: https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf/blob/master/common/prints.sh
    That's why I've used the one from XZ2 Dual.
    1
    @dtrunk 90
    Thank you very much for your work. The transition from LOS 19.1 to 20 went pretty smooth.

    I've recognized a small bug in LOS 20. Automatic display turnoff is not working properly, the screen gets a little bit darker and turns off after the appropriate time, but it turns on again after about 4 seconds. Then the process repeats itself.

    When I press the hold button the screen turns off and stays that way, so it is only a minor issue.

    The problem only occurs when the option settings->security->displaylock is set to none.

    My xz3 modell is Sony/H9493 (found in the log) with the official LOS 20. If you need further information please advice me how to do that.
    I was able to reproduce it. Will put it on my todo list. Thanks for reporting!
  • 5
    New build from today uploaded
    3
    First official build will be available on Friday! I've already updated this thread so I don't have to do it later.
    2
    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/akatsuki

    Pass SafetyNet
    Some apps like banking/payment apps or games require to pass SafetyNet.
    There are 2 options:

    Option 1: Without Root
    1. Download the latest release of ih8sn here.
    2. Replace the content of system/etc/ih8sn.conf inside the zip file with:
    Code:
    BUILD_FINGERPRINT=Sony/H8266/H8266:8.0.0/51.1.A.3.159/620448843:user/release-keys
    3. Install the zip file through recovery.

    Option 2: With Root
    1. Install latest Magisk APK through recovery.
    2. Install Universal SafetyNet Fix as Magisk module.
    3. Install MagiskHide Props Config as Magisk module.
    4. Run the following command either in ADB shell or a Terminal emulator app like Termux after running su to set a certified fingerprint:
    Code:
    props
    5. Enable Zygisk and deny list and add some Apps to the deny list to hide rooting status.

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

    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
    1
    i know its beta but is it sutible for daily use ?
    I think so, yes. But better wait for the official builds. I won't provide any new builds unless there's a bug which needs to be fixed.
    1
    If you can help me with this or if you have any software to bypass or unlock this bootloader I will be grateful !!
    You cannot unlock a bootloader if it says no. And that's also mentioned in the install instructions. And apart from that jp models are not supported in this rom anyways.