[ROM][13][AKARI][OFFICIAL] LineageOS 20.0

Search This thread
Same here. The ROM works smoothly except the battery life. I need to charge everyday.
Since I just recently got this model, if I downgrade to previous version, will the power consumption be better than LOS 20?
I don't remember, but one thing is certain for me to keep using LOS 20: the NFC radio. It never worked for me, ever since I unlocked the bootloader. It started working only with the first unofficial LOS 20 build, back last October, and kept this way thus far.
 
  • Like
Reactions: zeus7777777

Hichem2006

Senior Member
I don't remember, but one thing is certain for me to keep using LOS 20: the NFC radio. It never worked for me, ever since I unlocked the bootloader. It started working only with the first unofficial LOS 20 build, back last October, and kept this way thus far.
hello, just asking another question. do you have any issues with the Pixel Launcher on the NikGapps package crashing with the new builds being QPR2?
 
hello, just asking another question. do you have any issues with the Pixel Launcher on the NikGapps package crashing with the new builds being QPR2?
No, I don't. I flashed lastly the May 29 full package. Pixel Launcher works as always. I saw that a May 31 build is available. I will certainly flash it along the next LOS build.

EDIT: Downloading the 0607 LOS 20 build right now.

EDIT2: Running the 0607 build with with latest Nikgapps full. Haven't noticed any changes so far. Everything seems to work, just like the previous releases.
 
Last edited:

Hichem2006

Senior Member
No, I don't. I flashed lastly the May 29 full package. Pixel Launcher works as always. I saw that a May 31 build is available. I will certainly flash it along the next LOS build.

EDIT: Downloading the 0607 LOS 20 build right now.

EDIT2: Running the 0607 build with with latest Nikgapps full. Haven't noticed any changes so far. Everything seems to work, just like the previous releases.
thank you. so I guess the NikGapps package has been updated to work on QPR2 Android 13
 

TK2023618

New member
Jun 18, 2023
1
0
Hello, my Bluetooth is not working properly. It will disconnect shortly after being connected.
 

lm8lm8

Senior Member
Nov 10, 2020
177
18
hi lm8lm8,
what do you need?

still in my quest of "free mobile" service provider volte and vowifi on xz2 (it's looks like officials from service provider told only 1 sony device is compatible volte haha), im trying to experience the mcfg_sw.bin hack to get it on my xperia :
eg with :

even latest xperia, customers told me sony didnt moved a finger about getting vowifi on it (phones bought less than a year ago!!)

if you see any idea to solve this issue...

in a way,, Im sure it was on xda I saw a post saying xz2 model is locked on it's ESP, means the hack would be impossible.. hope Im wrong, but Id really like to test it
 
Last edited:

MartinX3

Recognized Contributor
Sep 14, 2014
6,099
3,101
Mars
martinx3.github.io
@dtrunk90
Since the new june security update (2023-06-21) I can't use
Code:
/sys/class/power_supply/battery/_charging_enabled
anymore.
If I do
Code:
echo 0 > /sys/class/power_supply/battery/charging_enabled
it jumps back to to 1 and it charges again.

Also sadly my NFC is still broken since the may update.
 

dtrunk90

Senior Member
Oct 29, 2021
620
304
33
Sony Xperia XZ2 Compact
Xperia XZ2
@dtrunk90
Since the new june security update (2023-06-21) I can't use
Code:
/sys/class/power_supply/battery/_charging_enabled
anymore.
If I do
Code:
echo 0 > /sys/class/power_supply/battery/charging_enabled
it jumps back to to 1 and it charges again.

Also sadly my NFC is still broken since the may update.
That's because we have a charging control HAL now. You can find it in settings > battery. That's probably the reason why it jumps back to 1.

NFC is working fine here on all my test devices.
 

MartinX3

Recognized Contributor
Sep 14, 2014
6,099
3,101
Mars
martinx3.github.io
That's because we have a charging control HAL now. You can find it in settings > battery. That's probably the reason why it jumps back to 1.

NFC is working fine here on all my test devices.

Weird, it is deactivated by default.
But I will migrate to it and remove my battery app.
Thank you.

Yeah, probably because I used SODP before I think.
Maybe I should reflash the device with the latest stock firmware in the future and reinstall LOS 20.
 

dtrunk90

Senior Member
Oct 29, 2021
620
304
33
Sony Xperia XZ2 Compact
Xperia XZ2
Weird, it is deactivated by default.
But I will migrate to it and remove my battery app.
Thank you.

Yeah, probably because I used SODP before I think.
Maybe I should reflash the device with the latest stock firmware in the future and reinstall LOS 20.
If it's disabled it shouldn't jump back to 1,that's a bug then. I'm in contact with the main dev regarding that.
 

dtrunk90

Senior Member
Oct 29, 2021
620
304
33
Sony Xperia XZ2 Compact
Xperia XZ2
Thank you.

Also it doesn't stop if it should.
I tested it now (charging via USB from my laptop).
It stopped / vibrated at 80% and then it continued.

The same bug I had with the charger app and the terminal "echo @ /sys/" before.
Hm you should probably make sure there's no other mod interferring with the charging control/sysfs node. I didn't tested the issue with jumping back to 1 yet but i know that the charging control works for me perfectly well. The only issue i recognize is that when reaching the limit it jumps back to limit - 1%. That should be fixed in the future once the change got merged.
 

MartinX3

Recognized Contributor
Sep 14, 2014
6,099
3,101
Mars
martinx3.github.io
Hm you should probably make sure there's no other mod interferring with the charging control/sysfs node. I didn't tested the issue with jumping back to 1 yet but i know that the charging control works for me perfectly well. The only issue i recognize is that when reaching the limit it jumps back to limit - 1%. That should be fixed in the future once the change got merged.

Weird
I don't use any mod and it only started with the new HAL.

Where do you see the -1%?
Here it just stays at 80.
 

MartinX3

Recognized Contributor
Sep 14, 2014
6,099
3,101
Mars
martinx3.github.io
Hm you should probably make sure there's no other mod interferring with the charging control/sysfs node. I didn't tested the issue with jumping back to 1 yet but i know that the charging control works for me perfectly well. The only issue i recognize is that when reaching the limit it jumps back to limit - 1%. That should be fixed in the future once the change got merged.

Weird
I don't use any mod and it only started with the new HAL.

Where do you see the -1%?
Here it just stays at 80.
 

dtrunk90

Senior Member
Oct 29, 2021
620
304
33
Sony Xperia XZ2 Compact
Xperia XZ2
Weird
I don't use any mod and it only started with the new HAL.

Where do you see the -1%?
Here it just stays at 80.
It happened when i was charging connected to my pc in limit mode. Nevermind, it's fixed on gerrit already.

If it keeps charging you can check the logcat. There's a tag where it logs the start/stop reasons to. Can't remember now without checking the Java code.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    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/akari

    Pass SafetyNet
    Some apps like banking/payment apps or games require to pass SafetyNet.

    1. Download the latest release of ih8sn here.
    2. Replace the whole 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.

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

    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
    6
    First official build will be available in a few hours! I've already updated this thread so I don't have to do it later.
    5
    Wow! Thanks a lot, @dtrunk90 ! I dirty-flashed this ROM over the official LOS 19.1 one. Also the full Nikgapps package for A13 and the latest Magisk Delta Canary. Things that never worked for me before are now up and running: AAC Bluetooth coded, and most amazingly, NFC and, thus, contactless payments! I'm certainly keeping this ROM running on both my XZ2 and XZ3 phones. Hope you keep updating it at least after each monthly security patches by Google.
    We're going official once lineage 20 is ready. Then weekly builds are automated.
    4
    New build from today uploaded
    3
    Hi there! I started with tinkering with XZ2C I had laying around, with a stock 10.0 firmware.
    So I got to unlock the bootloader and went through all the install guide, but ... I can't get past the recovery image, I mean, I get stuck in a bootloop, with no recovery at all. @MartinX3 past work got me saved, with TWRP recovery. What am I missing?
    Thanks all!
    The easiest way would be to flash the stock firmware on both slots (you can change the slots with fastboot and flash them with xperifirm).
    But please use your region firmware for VoLTE.

    Then flash the boot image like described here https://wiki.lineageos.org/devices/akari/install and then boot the recovery to install the LOS20 zip file.

    Also you should boot the stock firmware once until you see your apps to make sure your modem has the newest update.