yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] TheeWolf:
Of course, I lowered the volume as much as possible but it's still way too loud.

Second line in my post.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] odiad:
Hello,

expecting this is general issue with LOS18 - but maybe somebody can help. I installed gallery app, and app asked for access to SD card when I wanted to delete a photo. But I can't give access to root of SD card, only for folders on the SD card. But this is not accepted by the app. Any solution?

Regards Odiad
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
First of all: Which gallery app?

To your question: This is not an LOS18 issue, it's a change which was introduced with Android 11 (Scoped storage): https://developer.android.com/about/versions/11/privacy/storage

You should contact the developer of that gallery app instead. It's their task to migrate from legacy to scoped storage: https://developer.android.com/training/data-storage/use-cases#migrate-legacy-storage
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] odiad:
hello dtrunk90. It is "Quickpic Gallery: Photos and Videos". For me quite nice app, but as explained with problems to get write access on SD card.

Okay - thanks for the information.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
Oh and given the fact that you can select the folder their task is pretty much done afaik.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] GerogeRege:
Jeeeessshhh... dis... is... really awesome work guys. So glad I finally stomached the courage to unlock my old faithful xz2c tank and boy what a reward

Short story, I went through all of this because my phone's display was acting strange. All of the sudden when using it the touchscreen randomly freezed. Volume buttons and screen display itself worked, but no touchy touchy. This was random and the only fix* was to lock and unlock the phone, which was meh at first but managed to take my kind soul in the end. So, after a new cheapo emmc internal storage phone (now dead), countless factory resets, setting configurations and an existential dilemma i decided this obviously obvious software issue is tied to android 10 so let's move to something else. So here we are, Lineage recovery, no issue so far, install steps simply work and Life is good... until... reality strikes again and freezes the touch again and also my mind in a retard state, because i had to admit it's a hardware issue since it's happening in recovery too. Such a good ROM tough : )

Anyway, for whomever might have this issue, just change your screen, or try squeezing it from the sides#nojok, this helped me instead of lock/unlock and seemed to last a bit longer too. Looking back, issue might have been caused by a too tight grip on the sides from a bike phone holder, maybe the pressure damaged a connector, or maybe even tanks get hurt : )

Returning to the ROM, it's awsome, I'm on the latest 2022-01-28 nightly which seems stable and smooth so far.

Camera is super decent, i mean maybe i had my hopes too low from other comments, but for me it's barely a downgrade(to me, sony cam is kinda lame anyway *without manual)

Went with the official lineage install steps from here - https://wiki.lineageos.org/devices/xz2c/install

Everything was smooth... except for a small never ending sony boot logo screen after flashing los recovery(fastboot buttons and then quickly recovery buttons saved me)

Haven't tried calling, music, blt, gps, etc because i was to hyped finding out i need to change the display and no one knew, and they had to, apparently... but will definitely come back with more after using it longer as main.

So thanks you for this awesome rom.

In fact, do you guys accept donations? crypto? : )
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
Hey. Glad you like the rom. Most of the work was done by @Olivier and @Sjll and I'm the new maintainer beside of @Sjll

If you want to donate you can checkout my profile
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Mateuszz:
Hello, will I upload this os lineage to H8266?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
Pardon? Not sure if that was your question but H8266 is supported, yes. But you should look for the right forum because this is xz2c and you're looking for xz2 (akari).
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Mateuszz:
I wanted to upload this lineageos but I have the XZ2 dual H8266 version and I do not know if it is only for single sim?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
Please check the wiki page for a list of supported models: https://wiki.lineageos.org/devices/akari/
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] namenloserframderjoe:
Hi, is it correct, that USB OTG is not supported by this ROM? Can't find any settings and don't know, if it might be a problem with my device or due to the software.

Thank you very much and kind regards.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
USB OTG works. If you need NTFS support use the paragon app
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] namenloserframderjoe:
You're right, it works :) Thanks for your quick reply and your work!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] savvyyy:
Hi, if I'm on build 52.1.A.3.49 does that mean I can just follow the guide on wiki.lineageos.org ?

Is there a permanent root and recovery ?

Can I use bank apps after having lineageOS on ?

Thank you
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
the guide states to be on latest firmware. 52.1.A.3.49 is latest firmware, so yes.

recovery and root is always permanent. you can use magisk for root. simply install magisk apk through recovery (but keep in mind to reboot to recovery before as stated in the wiki).

yes, you'll have to hide root. either with magisk v23 and magiskhide or v24 and denylist.

please search for yourself how to do that, because this is a thread for the rom.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] savvyyy:
Thank you! I was just a bit confused because I saw a thread for a temporary root and couldn't see the need for one of there is a permanent method.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] zpunout:
I think the options are either downgrade to LineageOS17.1 or try Simple Gallery from F-Droid. I'm having a slow storage access problem with an old version of a marine navigation app which has made it barely usable and I might downgrade to LOS17.1 myself to use legacy storage access framework as a temporary workaround.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
There's still https://gitlab.com/xperiance/album
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] savvyyy:
Which Wiki ? Magisk wiki doesn't state to flash magisk apk through recovery if phone has ramdisk, which mine says it has. It does, however, say to get a "boot.img" from the extracted LineageOS zip file. I extracted but couldn't find it, any thoughts anyone ? Btw I've googled this quite a bit and only found old pacthed images for android 8 and 9.

Thank you all
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] savvyyy:
I actually just found something on an xz2 thread, I haven't quite worked out how to efficiently use the search function, I apologize.

I was just following magisk wiki and couldn't find mention of being able to sideload magisk straight from recovery and was worried I might ruin something and so was trying to get ahold of the boot.img for my use case as the wiki states. Thank you

EDIT: Magisk sorted by sideloading from recovery.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] savvyyy:
@dtrunk90 I've seen your input on the XZ2 thread and wanted to ask a couple of questions if that's ok.

You said you use GPay and it works fine, is that with official google services, microG or none of them ? Asking because I want to rid the phone of google services if I can get away with it. I'm even willing to drop GPay if I have to but not my banking apps so I'm trying to find the sweet spot.

Do you still recommend magisk v23 over v24 at the moment on lineage 18.1 ?

Is LineageOS recovery the only option at the moment ?

Thank you
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
I was referring to this

Install LineageOS on akari | LineageOS Wiki

wiki.lineageos.org

Yeah simply sideload the magisk apk
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
I'm currently using NikGapps but opengapps or mind the gapps should work too. I dont know if gpay works with microg. You'll need to hide root status (magiskhide + magiskhide props config for v23 or denylist + props config for v24) should do it.

Both are pretty straight forward.

Afaik you can patch boot.img manually like magisk suggests but in my opinion sideloading is way easier.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] zpunout:
Cool! I just installed it thanks.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] savvyyy:
Did you relock the bootloader to use banking apps or GPay ?

Safety net check passes, but banking apps flag up security issues.

EDIT: Nevermind got it working with Universal Safety fix. Thank you.

Need to find a way to bypass it with MicroG now :D

Thanks @dtrunk90
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] savvyyy:
Is anyone here using TWRP on their XZ2C with lineage 18.1 no issues ? Thank you
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Yes
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] savvyyy:
Thank you. Is this the version you're using?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
No, not the SODP one. I have to look for the proper one.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
I can find it among my files, if you need it. Here is the procedure I used:

Update to newest stock firmware

Enter fastboot via software, not buttons (i.e., bootloader via buttons > fastboot reboot bootloader)

fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

fastboot boot twrp.img

In TWRP: Advanced > Install recovery ramdisk > [choose] twrp.img

Reboot into installed TWRP

But be aware it breaks OTA in LOS18.1, i.e., if you OTA-update it won't boot.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ben_2777:
Hi everyone,

I will get a XZ2 Compact (single SIM) in few days. I am very interested testing this ROM; I have started reading this forum to get intels.

I did not find TWRP for this phone on official website, do you have a working TWRP link, please? Also I "may" use GAPPS, what version do you advise, please? (I will try not :) )
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
What's wrong with Lineage Recovery? You can grab it here: https://download.lineageos.org/xz2c

I personally prefer Open GApps nano because it installs the bare minimum + everything which is not available on Play Store. If you still need additional GApps you can just install them out of the Play Store.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ben_2777:
It seems I learned something, thanks :). I am quite new on smartphone customing. I did only 5x devices by myself ( I am not developper). I always asked myslef what is this file with the ROM! Now I understand :). Everyone only speak about TWRP. Hope interface is a bite similar, because when it comes "to wipe" options are not easy to me. Anyway thanks a lot for your help, I will dig how to use it.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
There's also a link to install instructions. The options in lineage recovery are a bit condensed compared to TWRP. But Lineage recovery is enough for basic things like wiping and flashing.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ben_2777:
Hi, maybe you did not have a look on it, for touch screen issue, many people fixed it like that: link crazy no. (I am still preparing my stomach :) )
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Emmok:
Hello. Can this be successfully installed on so-05k docomo variant?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
No. Please check the LineageOS wiki page of the device for a list of supported models.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] rafafaf:
Hi ! I am also very interested in finding a twrp that would work without tethering for xz2C (H8324).

It seems to me (but i could be wrong !) that a twrp variant has to be in-line with the dtbo partition used by the rom, or it won't boot. The only one i found working with official LOS releases (and unofficial ones by Olivier) is the one made by Sjll and available here : https://androidfilehost.com/?w=files&flid=318609 (apollo variant).

But i have 2 problems :

- it can't read my SD card (could maybe be resolved with formatting, but i have to backup everything first so not tried)

- i can't manage to install it as recovery ramdisk. Boot from "fastboot boot twrp.img" works fine, decrypting user partition too, but after install recovery ramdisk, it's stuck on twrp screen

And the main reason for using twrp is backup/restore, that i have been using a lot in the past ; it's quite useful to me, mainly for testing.

Anyway, thanks for any insight to help me :)

And thanks to devs for all the work on these roms !
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ben_2777:
Hey,

For information just made a clean flash of nightly 01/04/2022 version (no gapps, no root). It worked well tutorial is good. 1st time with LOS recovery, quite simple to use (only what is needed).

I have minors bugs with apps. I am trying to understand why. Logcat is attached, if you have some proposal :). I have a furtive message 0.5sec (nearly at every screen goes "ON" after standby), like "this app stopped working", but I don't have time to see , pop up just closed very fast.

I took apps on Aptoide (it seems good store) , Youtube apps not working , yahoo mail notifications doesn't work (outlook notification is working). Windy widget not working. and very important I tried to install pokemon go for my child, but login process failed :). I already read many thread where people complain that some game not working or require "google play service". I had 2x warning for "Signal" and "Ski Tracker". For ski tracker it just it won't work without google play serivce. I didn't know google was so much everywhere.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
You forgot to attach a logcat. For Pokemon Go maybe the device needs to pass SafetyNet. There's Aurora store which lets you download all apps from play store without the play store. Maybe check that instead of Aptoide.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ben_2777:
It is stranged. I do "attach files" bottom left, but nothing in the thread (xxx.txt). zip worked
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ben_2777:
(y)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
I'll have a look after work
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
So, I had a look on your logcat.

As a general hint: Make sure you have the latest app versions installed. It might be the case Aptoide doesn't have up-to-date APKs (older APKs aren't targeting Android 11 for example).

There's F-Droid and Aurora Store as other alternatives to Google Play and Aptoide.

1. YouTube App: You definitely need Play Services here. There's microG if you want to check that out. But I never tried it myself and I don't know if and how it can be flashed/installed on top of LineageOS. If you want to keep your Android degoogled just use a browser (maybe in privacy mode) and use the website instead.

2. Yahoo Mail: They seem to use Google Push Services which requires Play Services - Maybe asking the developers for help directly

3. Windy Widget: There's a warning in your log for location/camera/microphone background access. After some research I've found https://stackoverflow.com/a/64306401/1163457 So maybe ask the developers here too.

4. Pokémon Go: Afaik you have to pass SafetyNet because games mostly have some anti-cheat checks which blocks rooted or bootloader-unlocked devices. If you already have Magisk installed you can use MagiskHide Props Config to set an official fingerprint using ADB shell or Universal SafetyNet Fix to pass SafetyNet. And you'll need to either use MagiskHide (until v23 or Zygote + DenyList enabled for v24+). And if you don't have/need Magisk there's ih8sn from luk as a Lineage addon which seems to be a SafetyNet circumvention (never used it).

Hope I could help with all of these information.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ben_2777:
Thanks, you gave me enough information, to continue searching myself (aptoide uninstalled, you right aurora is good). You just confirm my first hypothesis around "MicroG" and using "Magisk". Around the ROM nothing strange after 2x days, no touchscreen issue, no battery draining, app camera bugging etc... I will keep inform on next version ;). Thanks again
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] DrTrax:
Some issues I have for you;

I ordered myself an nano SIM extension cable to keep my MicroSD and DualSIM and I realized that on Lineage OS 18.1, it doesn't accept the second SIM Card until I remove the micro SD...

I've checked on 4PDA for a guide to fix that and found that /vendor/build.prop is a line "persist.radio.apm_sim_not_pwdn = 1" which have to be replaced with either a 0 or 2 but the value is already a 0 and if I change that to 2, nothing changes except after a reboot, it stays on 0...

Can someone maybe test this out or take a look in the code?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
That property isn't used in our device tree or proprietary blobs. At least I couldn't find anything.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] DrTrax:
Uhm how can I submit a report since I see that this device/ROM is not EOL?

Is there a specific location for that like Jira or Github?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
LineageOS Wiki

wiki.lineageos.org
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ben_2777:
Hi,

Latest OTA update works fined (17/04/2022).

No battery optimization/ show notification activated even if screen locked/authorization did for apps

I found issue with basic notification SMS/MMS. After timer to lock smartphone is done (2min), I don't get the "notification sound" but it appears when I touched the start button and screen goes ON. With "SIGNAL" I got the notification sound even after smartphone is locked and screen off. (I did the test several times). Maybe this problem is also on others apps. "Outlook" was working good at the beginning, but sometimes I don't have the notification.

Also the sound when phone is ringing is "saturate" the max volume is at roughly 70% max volume. When you listen ringing sound in parameters it is ok, but not when someone calls it highly saturated (tested with "titania" sound). I had same kind of problem using speaker during call at max volume, the speaker is satured sometimes.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] userx404:
dtrunk90

Are there any plans to support 19.1 for XZ2c?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Amunhateb:
Hello guys,

recently battery drain has become insane. I am losing 60% over night in sleep mode from full charge. I don't know how to see whats draining. Battary manager is not showing anything, I am not even sure it's working - always empty list (here will be a list of "power consuming apps").
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
Yes, work is in progress already. Nearly done. Only one blocker issue which prevents the user from answering the very first call after a clean flash because no notification appears. All following calls are working fine. But that's a blocker issue. So I have to fix that before going official.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Cerhio:
Hey guys, I have to pull my recommendation for this Rom. Battery life has gone downhill, reception keeps dropping, auto installer no longer works. I lost 40% battery while on the phone for 30 minutes and ended up stranded without a working phone.

Things are so bad that I'm going to buy a new phone. I sure wish OP would have answered my previous posts to improve the rom but my posts seem to go unanswered.

Good luck to you all.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
It sounds like an hardware issue to me. Batteries naturally die after some years.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Cerhio:
This started with the second or third last update.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
I can have a look after 19.1 bringup. It's noted already on my todo list.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Cerhio:
I've been asking for months now but is the updater app working? I can download and install but when I try to restart from the app, it crashes.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
Sorry that i'm maintaining this device in my free time for free beside of a 40h/week job and a real life. Everything is open source, you can check it as well if you want. I'm all alone maintaining the tama devices right now.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Cerhio:
If you go through my posts, I've always been appreciative and helpful in what little I know about this phone and Rom. I just want to know if I'm wasting my time using the updater app.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
The updater app is a lineage thing. If you experience crashes pls check or open an issue over at gitlab. Its not device specific. I'm only maintaining the device related stuff.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Cerhio:
Jesus christ. I've wasted too much of my life using a broken rom. Why didn't you mention anything all those other times I've asked? I appreciate what you're doing but if we can't even install it properly, what's the point?

Ignore my first comments until I've had a chance to install it fresh.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
As I said, I don't have much time left. Doing support here on XDA is time consuming as hell. I only read here sporadically. And everything is written down in the wiki, like the "Report bugs!" section on https://wiki.lineageos.org/
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] userx404:
I also noticed this. 👆
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Cerhio:
I'm down to 50% after 30 minutes of use. Please let this be a warning to everyone that this rom is currently unreliable for daily use. Don't rely on your phone if you're on this rom.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
stop talking **** man. i'm using my xz2c as a daily driver without any problems. ppl like you are the reason i don't waste my time here.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Amunhateb:
I am not saying that its as bad as he says, but it's unusable man. I am sorry but one of the recent updates killed something. I hope you will be able to fix it but I would appreciate a latest stable version atleast for rollback, if its possible. I really dont wanna buy a new phone but currently I dont see what I can do. I loved this rom for its battery usage and its gone now. If its so stressful mb you should go unofficial for "as is". I do not expect anything to be fixed, I know how free software works. Thank you for all your work, but you should not take this negative remarks personally, you didnt break anything. This just happens and it is big one. If I remember it correctly Apr 1st build was fine.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Cerhio:
I say unusable because as a business owner, I can't be unaccessible. I'm only writing to warn others who rely on their phone to be aware of the issues.

I've always posted how much I appreciate and enjoy this rom and your hard work. I think this might be lost in translation.