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

Search This thread

scaniathe

Senior Member
Jun 12, 2014
470
102
Wadowice
Xiaomi Mi 9
Samsung Galaxy S20
Hi. Today it was a whim to open the phone to replace the battery . Unfortunately I damaged the display in the process. Also I wanted to thank everyone for the nice cooperation and super system. I end the adventure with the XZ2. Interestingly, the battery looks like new. It is not stuffed. Instead, I had problems with the usb socket. Charging had to be done with the original charger. I already started to miss :)
Regards.
 
Last edited:
  • Sad
Reactions: dtrunk90 and osa355

cuynu

Senior Member
Aug 3, 2021
176
33
Xperia XZ2
Hi. Today it was a whim to open the phone to replace the battery . Unfortunately I damaged the display in the process. Also I wanted to thank everyone for the nice cooperation and super system. I end the adventure with the XZ2. Interestingly, the battery looks like new. It is not stuffed. Instead, I had problems with the usb socket. Charging had to be done with the original charger. I already started to miss :)
Regards.
I saw you on xz2's xda forum a long time ago
 
  • Like
Reactions: scaniathe

dtrunk90

Senior Member
Oct 29, 2021
620
304
33
Sony Xperia XZ2 Compact
Xperia XZ2
https://bin.disroot.org/?443d8cd916208ff1#5pPdPHVKQaPfTZpsQuRevNxoHbhu7NcXGp9xshh6KD9z
problem is almost all files are kind of binary files or very specifiic archives that only sony could extract I guess?Im unable to "explore" almost all heavy files..
 

MartinX3

Recognized Contributor
Sep 14, 2014
6,096
3,101
Mars
martinx3.github.io
Somehow the NFC stopped working.

I don't know if these logs are useful

Code:
03-19 00:14:06.826  3935  4717 I com.android.nfc: ConfigFile - Parsing file '/vendor/etc/libnfc-nci.conf'
03-19 00:14:06.826  3935  4717 I com.android.nfc: ConfigFile - [NFC_DEBUG_ENABLED] = 0
03-19 00:14:06.826  3935  4717 I com.android.nfc: ConfigFile - [NFA_STORAGE] = "/data/nfc"
03-19 00:14:06.826  3935  4717 I com.android.nfc: ConfigFile - [SCREEN_OFF_POWER_STATE] = 1
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [POLLING_TECH_MASK] = 0x2F
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [P2P_LISTEN_TECH_MASK] = 0x00
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [PRESERVE_STORAGE] = 0x01
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [NFA_MAX_EE_SUPPORTED] = 0x02
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [AID_MATCHING_MODE] = 0x01
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [DEFAULT_SYS_CODE] = {FE:FE}
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [NFA_AID_BLOCK_ROUTE] = 1
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [OFFHOST_AID_ROUTE_PWR_STATE] = 0x3B
03-19 00:14:06.827  3935  4717 I libnfc_nci: [INFO:NfcAdaptation.cc(708)] NfcAdaptation::InitializeHalDeviceContext: INfc::getService()
03-19 00:14:06.833  3935  4717 I libnfc_nci: [INFO:NfcAdaptation.cc(734)] NfcAdaptation::InitializeHalDeviceContext: INfc::getService() returned 0x7431cdb4b0 (remote)
03-19 00:14:06.840  3935 13293 W libnfc_nci: [WARNING:gki_ulinux.cc(98)] gki_task task_id=0 terminating
03-19 00:14:06.843  1115  1115 D [email protected]: Nfc::open Enter
03-19 00:14:06.845  1115  1115 D NxpHal  : nfc_debug_enabled : 1
03-19 00:14:06.884  1115  1115 D [email protected]: Nfc::open Exit
03-19 00:14:06.977  3935 13294 W libnfc_nci: [WARNING:nfa_ee_act.cc(2173)] nfa_ee_nci_mode_set_rsp p_rsp->status:0x00
03-19 00:14:07.002  3935  4717 I libnfc_nci: [INFO:RoutingManager.cpp(151)] RoutingManager::initialize()Waiting for EE info
03-19 00:14:07.005  3935 13294 W libnfc_nci: [WARNING:HciEventManager.cpp(152)] Incorrect Pipe Id
03-19 00:14:07.016  6214  6498 D AusweisApp2: card_nfc     : NfcAdapterStateChanged: true
03-19 00:14:07.048  2825  2994 D SecureElementService: getReaders() for com.android.nfc
03-19 00:14:07.132 12748 12748 W FrameTracker: Missing HWUI jank callback for vsyncId: 46700, CUJ=J<SETTINGS_TOGGLE::toggle_nfc>
03-19 00:14:07.132 12748 12748 W FrameTracker: Missing HWUI jank callback for vsyncId: 46730, CUJ=J<SETTINGS_TOGGLE::toggle_nfc>
03-19 00:14:07.132 12748 12748 W FrameTracker: Missing HWUI jank callback for vsyncId: 46775, CUJ=J<SETTINGS_TOGGLE::toggle_nfc>
03-19 00:14:07.132 12748 12748 W FrameTracker: Missing HWUI jank callback for vsyncId: 46851, CUJ=J<SETTINGS_TOGGLE::toggle_nfc>
 

dtrunk90

Senior Member
Oct 29, 2021
620
304
33
Sony Xperia XZ2 Compact
Xperia XZ2
Somehow the NFC stopped working.

I don't know if these logs are useful

Code:
03-19 00:14:06.826  3935  4717 I com.android.nfc: ConfigFile - Parsing file '/vendor/etc/libnfc-nci.conf'
03-19 00:14:06.826  3935  4717 I com.android.nfc: ConfigFile - [NFC_DEBUG_ENABLED] = 0
03-19 00:14:06.826  3935  4717 I com.android.nfc: ConfigFile - [NFA_STORAGE] = "/data/nfc"
03-19 00:14:06.826  3935  4717 I com.android.nfc: ConfigFile - [SCREEN_OFF_POWER_STATE] = 1
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [POLLING_TECH_MASK] = 0x2F
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [P2P_LISTEN_TECH_MASK] = 0x00
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [PRESERVE_STORAGE] = 0x01
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [NFA_MAX_EE_SUPPORTED] = 0x02
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [AID_MATCHING_MODE] = 0x01
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [DEFAULT_SYS_CODE] = {FE:FE}
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [NFA_AID_BLOCK_ROUTE] = 1
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [OFFHOST_AID_ROUTE_PWR_STATE] = 0x3B
03-19 00:14:06.827  3935  4717 I libnfc_nci: [INFO:NfcAdaptation.cc(708)] NfcAdaptation::InitializeHalDeviceContext: INfc::getService()
03-19 00:14:06.833  3935  4717 I libnfc_nci: [INFO:NfcAdaptation.cc(734)] NfcAdaptation::InitializeHalDeviceContext: INfc::getService() returned 0x7431cdb4b0 (remote)
03-19 00:14:06.840  3935 13293 W libnfc_nci: [WARNING:gki_ulinux.cc(98)] gki_task task_id=0 terminating
03-19 00:14:06.843  1115  1115 D [email protected]: Nfc::open Enter
03-19 00:14:06.845  1115  1115 D NxpHal  : nfc_debug_enabled : 1
03-19 00:14:06.884  1115  1115 D [email protected]: Nfc::open Exit
03-19 00:14:06.977  3935 13294 W libnfc_nci: [WARNING:nfa_ee_act.cc(2173)] nfa_ee_nci_mode_set_rsp p_rsp->status:0x00
03-19 00:14:07.002  3935  4717 I libnfc_nci: [INFO:RoutingManager.cpp(151)] RoutingManager::initialize()Waiting for EE info
03-19 00:14:07.005  3935 13294 W libnfc_nci: [WARNING:HciEventManager.cpp(152)] Incorrect Pipe Id
03-19 00:14:07.016  6214  6498 D AusweisApp2: card_nfc     : NfcAdapterStateChanged: true
03-19 00:14:07.048  2825  2994 D SecureElementService: getReaders() for com.android.nfc
03-19 00:14:07.132 12748 12748 W FrameTracker: Missing HWUI jank callback for vsyncId: 46700, CUJ=J<SETTINGS_TOGGLE::toggle_nfc>
03-19 00:14:07.132 12748 12748 W FrameTracker: Missing HWUI jank callback for vsyncId: 46730, CUJ=J<SETTINGS_TOGGLE::toggle_nfc>
03-19 00:14:07.132 12748 12748 W FrameTracker: Missing HWUI jank callback for vsyncId: 46775, CUJ=J<SETTINGS_TOGGLE::toggle_nfc>
03-19 00:14:07.132 12748 12748 W FrameTracker: Missing HWUI jank callback for vsyncId: 46851, CUJ=J<SETTINGS_TOGGLE::toggle_nfc>
Since when? After the last OTA update?
 

cuynu

Senior Member
Aug 3, 2021
176
33
Xperia XZ2
Somehow the NFC stopped working.

I don't know if these logs are useful

Code:
03-19 00:14:06.826  3935  4717 I com.android.nfc: ConfigFile - Parsing file '/vendor/etc/libnfc-nci.conf'
03-19 00:14:06.826  3935  4717 I com.android.nfc: ConfigFile - [NFC_DEBUG_ENABLED] = 0
03-19 00:14:06.826  3935  4717 I com.android.nfc: ConfigFile - [NFA_STORAGE] = "/data/nfc"
03-19 00:14:06.826  3935  4717 I com.android.nfc: ConfigFile - [SCREEN_OFF_POWER_STATE] = 1
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [POLLING_TECH_MASK] = 0x2F
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [P2P_LISTEN_TECH_MASK] = 0x00
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [PRESERVE_STORAGE] = 0x01
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [NFA_MAX_EE_SUPPORTED] = 0x02
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [AID_MATCHING_MODE] = 0x01
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [DEFAULT_SYS_CODE] = {FE:FE}
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [NFA_AID_BLOCK_ROUTE] = 1
03-19 00:14:06.827  3935  4717 I com.android.nfc: ConfigFile - [OFFHOST_AID_ROUTE_PWR_STATE] = 0x3B
03-19 00:14:06.827  3935  4717 I libnfc_nci: [INFO:NfcAdaptation.cc(708)] NfcAdaptation::InitializeHalDeviceContext: INfc::getService()
03-19 00:14:06.833  3935  4717 I libnfc_nci: [INFO:NfcAdaptation.cc(734)] NfcAdaptation::InitializeHalDeviceContext: INfc::getService() returned 0x7431cdb4b0 (remote)
03-19 00:14:06.840  3935 13293 W libnfc_nci: [WARNING:gki_ulinux.cc(98)] gki_task task_id=0 terminating
03-19 00:14:06.843  1115  1115 D [email protected]: Nfc::open Enter
03-19 00:14:06.845  1115  1115 D NxpHal  : nfc_debug_enabled : 1
03-19 00:14:06.884  1115  1115 D [email protected]: Nfc::open Exit
03-19 00:14:06.977  3935 13294 W libnfc_nci: [WARNING:nfa_ee_act.cc(2173)] nfa_ee_nci_mode_set_rsp p_rsp->status:0x00
03-19 00:14:07.002  3935  4717 I libnfc_nci: [INFO:RoutingManager.cpp(151)] RoutingManager::initialize()Waiting for EE info
03-19 00:14:07.005  3935 13294 W libnfc_nci: [WARNING:HciEventManager.cpp(152)] Incorrect Pipe Id
03-19 00:14:07.016  6214  6498 D AusweisApp2: card_nfc     : NfcAdapterStateChanged: true
03-19 00:14:07.048  2825  2994 D SecureElementService: getReaders() for com.android.nfc
03-19 00:14:07.132 12748 12748 W FrameTracker: Missing HWUI jank callback for vsyncId: 46700, CUJ=J<SETTINGS_TOGGLE::toggle_nfc>
03-19 00:14:07.132 12748 12748 W FrameTracker: Missing HWUI jank callback for vsyncId: 46730, CUJ=J<SETTINGS_TOGGLE::toggle_nfc>
03-19 00:14:07.132 12748 12748 W FrameTracker: Missing HWUI jank callback for vsyncId: 46775, CUJ=J<SETTINGS_TOGGLE::toggle_nfc>
03-19 00:14:07.132 12748 12748 W FrameTracker: Missing HWUI jank callback for vsyncId: 46851, CUJ=J<SETTINGS_TOGGLE::toggle_nfc>
Mine still working fine after OTA, even used nfc contactless to payment with pos via google pay yesterday
 
  • Like
Reactions: dtrunk90

osa355

Senior Member
Mar 25, 2018
52
13
I think since the 20230215 release

@cuynu @casouzaj did your NFC work in lineageos 19?
My Sony SRS XB20, Sony SRS XB40, Sony SRS XB41 and Sony SRS XB43 speakers also paired properly after NFC, even from LineageOS 19.0 and earlier. Now I checked and also the fast pairing after NFC is correct. There were moments on LineageOS 19 that NFC did not work, which I wrote about in the LineageOS 19 topic, but that's what two releases had from what I remember. Maybe you came across those that didn't have a working NFC like me? After a clean install of LineageOS 20 again, NFC returned as working.
 
Last edited:

MartinX3

Recognized Contributor
Sep 14, 2014
6,096
3,101
Mars
martinx3.github.io
I didn't work ever since I unlocked its bootloader. It came back to life only with the first unofficial LineageOS 20.0, released last October, if I'm not mistaken, and remained that way since then.
That sounds weird. My NFC continued to work after unlocking.
yes, 19.1 official last build
So I assumed it's again the same issue preventing my NFC in 19.1.
My Sony SRS XB20, Sony SRS XB40, Sony SRS XB41 and Sony SRS XB43 speakers also paired properly after NFC, even from LineageOS 19.0 and earlier. Now I checked and also the fast pairing after NFC is correct. There were moments on LineageOS 19 that NFC did not work, which I wrote about in the LineageOS 19 topic, but that's what two releases had from what I remember. Maybe you came across those that didn't have a working NFC like me? After a clean install of LineageOS 20 again, NFC returned as working.
Do you mean Bluetooth?
NFC had not enough range for speakers.
 

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.