yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Zinara:
Ok, thanks. Then it behaves exactly like my tests after restarting the phone. As long as at least GSM network is available Wifi Call works. But as soon as the GSM connection gets too bad, or disconnected and reconnected once with flight mode, Wifi Call doesn't work anymore. You then have to restart the phone to make it work again.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] odiad:
Hi Again,

regarding frozen screen I tried now:

- clean flash of LOS20 latest version - no change (LOS20+MindTheGapss+Magisk)

- clean flash LOS20 version from March - no change (LOS20+MindTheGapss / no Magisk)

- Newsflasher Orig. Sony Android 10 - no change

I installed all the time all apps, because I haven't had problems in the past with these apps. And - I had even during I was in LOS-recovery a frozen screen. So for me it is quite clear hardware issue, but I am no expert. Any ideas what I can do?

BR

Odiad
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] odiad:
Edit: One comment regarding hardware issue - if it is hardware failure, why does the display reacts on touch again after switch off and switch on the display? Is this plausible?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] old.splatterhand:
Yes, i think it is. I had this two times with a HTC M8. The digitizer was defect.

I could only temporary solve it with switching the display on and off.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] DrTrax:
In my case, there was a hardware issue... While replacing the battery and bottom speaker, I might poked the ribbon cable slightly which caused the touchscreen not to react anymore by random. Now I have a new screen for a week and it works good again except for the super sensitive screen which I guess, is normal and I'm still used to the damaged one ^^
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] userx404:
Have replaced your display in the past?

I ran into a similar issue and figured out it was caused by a weaken sticker in a bottom corner where the LCD loosen itself from the frame. This leads to phantom touches on my device.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] zpunout:
The phone has never been opened and the touch screen is working fine as of a month ago with LOS20 (my friend is using it now so I won't have the phone for a while)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] norman0:
It looks like only the display of the switch is not working correctly. The status is displayed correctly for "Network and Internet". The actual function is available.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] GT500s:
Newest 'BiTGApps-arm64-13.0.0-v2.3-MINI.zip' is working without anu issue with 'lineage-20.0-20230721-nightly-xz2c-signed'. Clean flash on Monday.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] kurtn:
Why promoting a package that is not officially recommended? Can you guarantee OTA updates will be unproblematic?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] GT500s:
NOw Yes i can. Updated to newest LOS20 yesterday and working good.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] S00ly:
Thank you and congrats to dtrunk90 and the Lineageos team for this incredible work!

I'm glad I don't have to buy a new phone. It's good for my wallet and the planet !

My experience on upgrading from a Windows 11 PC :

- before upgrading, I installed Google One on the phone and asked it to save everything on the cloud. I had to switch on the parameter related to saving MMS pictures.

- I strictly followed the wiki https://wiki.lineageos.org/devices/xz2c/install . It is well detailed and explained.

- I had problem with the installation of USB driver. The install page https://developer.android.com/studio/run/oem-usb?hl=fr targets to https://developer.sonymobile.com/downloads/drivers/ which does not work anymore. I installed instead the one from https://developer.android.com/studio/run/win-usb?hl=fr . When in fastboot mode, my device was not recognized with an exclamation mark in the device manager. I had to go to the device manager and manually select the USB driver.

- I installed MindTheGapps as explained.

- I installed the patch for Safetynet pass as explained in the first page of this thread. Be careful to edit in place the ih8sn.conf without unzipping the whole package as this process will lose some metadata attached to the files on Windows. 7-zip can do that.

As results :

- If found back my contacts, my history call, my messages/SMS/MMS

- my applications got reinstalled automatically, but I had to configure manually most of them.

- I could easily install latest Google Contact, Phone, Alarms applications from Google Play and deactivate default applications

- Default camera application (Lineage Aperture) works great and use all pixels for both front and rear camera.

- Everything works perfectly even Android Auto, Professional Profile (Microsoft intune, Outlook, Teams, ...) , Bank applications

- My Sony Bluetooth headset works better. Before, I had to wait 2 seconds before hearing after a pause. Now it works instantly.

- Overall UI responsiveness seems improved compared to the stock version of Android 10.

- Google Play and Safetynet pass checker consider the Safetynet Test as passed.

- Only caveat is with the authentication application PingId. It detects that the phone is rooted even though it is not https://support.pingidentity.com/s/...callers-Phone-as-rooted-even-though-it-is-not

- Geekbench benchmark results done before/after does not show any significant difference.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] kurtn:
You know that safetynet can break at any time. Have a backup for mission critical tasks.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] hendrikmerkel:
I wanted to flash a Docomo Variant(SO-05K) , but failed again because of constant Error 28.

The phone had been purchased with Android 9 and was upgraded to Android 10 stock rom before strarting to install receovery (successfully) and lineage OS 20 (not successful)..

Is there any chance to solve this? - May be to install another OS before installation of lineage OS?

Thank you so much!

Hendrik
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] kjs111:
Hello,

I'm experiencing a problem with microphone in a call. It doesn't work in a normal call but it starts working in a loudspeaker mode. It happens since 3 weeks ago. I'ts a known issue? I'm looking to change to other rom but I like to know if it happens to someone before doing it.

Kind regards,
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Bank9:
Can someone please confirm that this Lineage version works in a XZ2c Docomo SO-05K?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Magchild:
Can you double check if the small hole at the bottom of the phone next to the USB c port is clogged with junk? I had very similar symptoms years ago until I took a sim eject tool and popped out some gunk.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Slacker54:
Deleted.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Slacker54:
Your version of Lineage is fantastic! Thanks a million. Everything runs remarkably smoothly and I haven't had any stability issues at all. That said, I have run into two minor issues and found workarounds for both but, especially for the GPS issue I describe below, the workaround is sub-optimal.

First, I am unable to edit the APN settings. And before anyone asks, yes, I do understand how to edit and add new APN settings but when I go to the APN settings screen there is no plus sign button to add new entries. If I try to edit the two entries that show up, everything is greyed out and I can't change anything. After much searching I found a video on YouTube that demonstrated how to use Nova Launcher to add APN entries when the APN settings seem to be locked. It is titled "APN settings are not available for this user SOLUTION" and posted by "VoloKin Project".

Second, Google Maps doesn't work. It keeps complaining that it is "Searching for GPS" or that the "GPS is lost" and it doesn't track my current location at all, or it gets stuck for 20-30 seconds before updating my position, and then gets stuck for another 20-30 seconds and keeps repeating this cycle. My workaround is to put the phone into Airplane Mode for a few seconds and then turn off Airplane Mode and wait 10-15 seconds. This puts Google Maps back to normal so that it tracks my location in real time for a fair while until I have to repeat the procedure.

My phone is not rooted, and all that I have installed besides the Lineage kernel is the MindTheGApps version 13 suggested in the install guide. I know that the Google Services are working because I can access the Play Store and use all my other Google services.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Dejmian:
How about RAM usage? It's better than stock Android 10 with full updates stock from SONY?

Coz I wanna change my system to lineageos only coz high ram usage on stock and this phone have only 4 GB RAM.

Can I add some "RAM" from SD card on lineageos? And .. If I Install Lineageos I have to root my phone or root comes with lineageos?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] kurtn:
No idea about RAM. Performance issues are usually not RAM related.

LineageOS comes with adb root. If you really need root for apps, use magisk. Be aware that degrades security and stability.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Markoz88:
I have a question about the volume. It's normal that is so low? I don't remember before, with stock ROM, but compared with other phones, it's very low. Notifications, calls, etc...

My phone is rooted. There is a workaround to get higher volume?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Alainros:
Good morning everyone, this is my second experience with LineageOS, I come from a xiaomi mi6 and with Lineage it was back to new.

I come to the question: Some applications check the state of the bootloader and they don't work because they see it unlocked, is it possible to go back to locking it?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] old.splatterhand:
At least, not as long as you are on LOS!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] kurtn:
It's not just the state of the bootloader. There are several device integrity checks an app can do. One is Google safetynet. You can cheat safetynet with magisk or ih8sn. Like every cheat that hole will be closed some day.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ssdnvv:
Hi

Just tried to upgrade an old installation (v.17.1 from 20200828) to current nightly, but installation failed with

E:Package is for product xz2c but expected H8324

Any idea how to get past this error?

edit: There was no way to get past this error than to go back to stock ROM and than flash LOS v20 freshly.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mirhl:
Once upon a time, yes it was. If not any at least as long as you had backupped your TA partition before unlocking.

Since yoshino boards (SDM835) this was no longer the case. Restoring TA did not carry the locked status with it (though it was still mostly good enough for DRM, unlike for tama)

It is alleged they moved part of the checks inside of the bootloader/trustzone/rpmb (TA unit 0x1046b has to match the result of some operation between 0x7da and 0x8b2 or something)

Then starting in 2019 with Xperia 1 (not earlier) they actually added for the first time official oem relock.

AFAIU it's not technically a bit-perfect restore, but for every practical intent and purpose that's seemingly enough.

There is also Universal SafetyNet Fix, and specifically to xperia features drm/suntory/secd/credmgrd fix.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] karimin:
+1 i am looking for this answer as well
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
Check the wiki page for the list of supported models
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] karimin:
already checked before posting . it says its for

H8314

H8324

but when click on

Don't see yours?

it says " If yours isn’t there it will either not work or we couldn’t test it " i was hoping some one can tell which answer is it. not working or couldnt test it.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
If it's not supported for your model you shouldn't install it. Docomo has another NFC chip. So the hardware is different.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] karimin:
thx for the clarification. was looking for in the used market for a phone to mod for my brother after his phone broke. and i stumbled on a cheap zx2 compact. after farther investigation i found its the Docomo.

thx for keeping this phone alive =) after checking the forums clearly so many ppl like this phone and thank you for the great work on its rom.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] kurtn:
Not soo many. But germans like small phones.

LineageOS Statistics

stats.lineageos.org
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] LeDaXX27:
Hi, is there a way to reduce the camera's resolution? I would like to set it to 12 or 16 MP when I am doing a lot of photos somewhere to save memory.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] kurtn:
LineageOS default camera is a very basic app. You are free to use any other app. OpenCamera has many advanced settings.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] proleksol2:
anyone pls help me. iam installing crdroid rom, but i hope someone there can give me a solution.

im following the instructions and then while sideloading rom, at 47%, crdroid recovery ask to reboot to continue the step and i press yes. Now the phone is dead and not showing anything even the indicator lamp not lighting. what must i do?

i cant enter fastboot or flashmode for now
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
This is not a crDroid support thread. Please ask somewhere else.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] proleksol2:
could you help me? i really need your solution to unbrick my xz2c
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] old.splatterhand:
It seems, whatever you have flashed, it isn't for your phone model and that's your problem.

And like dtrunk90 said, this doesn't belong here.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Triffix:
I have problem with microphone. Recipients complain they can't hear me. Switching to speaker gives minor improvement at best. Same problem when using wired headset. Bluetooth earbuds works acceptable. I can see there have been many reports during the years on this topic for LOS in general. But I've seen no solution. Any help wold be appreciated.

Running lineage-20.0-20230929-nightly
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
Sony has a huge problem with mic defects. I'm using the xz2c as a daily driver and can tell that it's not related to LineageOS. Not sure why it's the same with your wired headset though.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] linuxteddy:
Hi,

I have the same problem. I also found people complaining about the mic, check Microphone not working on calls, only whith speaker mode. In that thread I read that a guy experienced in repairing broke several displays, and therefore I thought about a different approach: assign the working secondary mic the work of the main mic per software. I asked this in the LineageOS forum: Howto make secondary mic the main one?

Perhapt @dtrunk90 can give a hint as to where in the LOS code such adaptions would have to take place, becaue he contributes to the android_device_sony_xz2c repo on GitHub.

Thx,

LT
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] commander-keen:
Hello,

while a search for "bluetooth" has not shown a corresponding result in this thread, but I have seen this on two different XZ2C phones (one not mine, just reported by a friend):

Bluetooth switching on and off every second.

You can watch this for hours. Also reboot doesn't change anything. It keeps switching on and off and on and off...

Build is from 13.3.23. (while I will probably be asked to update, I wanted to document the issue first, as the circumstances when it occurs are unclear to me)

This behavior has occurred on two different XZ2C phones. Therefore it seems to be a real bug.

PS: I googled how to save a logcat. These are attached.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Natsu2000:
Hello,

my phone always shows the following notification:

Open Devices ModemConfig

Slot 0

Modem configuration: S77.1

Firmware file: mcfg_sw/generic/euro/tef_o2/vlvw/de/mcfg_sw.mbn

If necessary to know:

I just installed LOS20 for the first time. I came from stock Android 10 rom and followed the LOS20 guide.

I wiped the data, installed LOS20, MindTheGapps, ih8sn and Magisk (by following the guide from magisk github). Everything works so far, but don't know what I have to to, to fix this.

Does anyone know how to fix this?

Thanks in advance
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] linuxteddy:
Hi,

I have a new problem: Trying to fix my mic problem simply by fetching another device an installing LOS, I already reached the step of installing the recovery with "fastboot flash boot boot.img". But trying to boot into the recovery I possibly somehow selected a different menu item and the device booted into whatever. First it stuck at the Sony logo, but I got it to boot at least into the original system.

My problem is that I don't get into fastboot anymore. Telling "adb reboot-bootloader" boots into the bootloader for a very short time. For very few seconds I can "fastboot devices" and get the device. Next it the device shuts down and gets charged. I can now only shutdown the device or boot into the original system.

What can I do? I don't feel like having done something wrong or not carefully, but I seem to be stuck.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] old.splatterhand:
Have you tried this:

shutdown the phone

hold the vol+ button

plug in the usb cable (which is connected to your pc)

keep holding the vol+ button until your led changes from red to blue

Maybe wait a bit longer, there was a time, the led changed to blue for a short time, then back to red, then back to blue again. After the second time in blue it stayed at it and i was in working bootloader.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] linuxteddy:
Today indeed I tried again, and after some cycles, the LED stayed blue. "fastboot devices" returned with a result. But other than before, the "fastboot flash boot boot.img" does not return for a long time, neither with success nor error message. Should and can I somehow reset the device?

At least the device is still able to boot into the system, so that not all hope is lost.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] old.splatterhand:
Maybe check if you have the latest platform tools running.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] linuxteddy:
I'm sure I do. I managed to flash the boot.img, but later I failed to boot into the recovery, and from then things went rather southwards.

With the same tools I already installed successfully another device of the same type. Now I try this one because the main microphone of the other device is broken.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] andy356:
How much of an impact does this really have? If the user didn't care about NFC, could the related code simply be disabled?

I understand that it would then violate the LOS Device Charter, and so this variant won't be on the LOS website.

But an as-good-as-official ROM with just that one functionality disabled would help out a lot of people who only have the option of buying the Japanese variant.

Edit: The crDroid ROM for XZ2C seems to have a Docomo variant, with 4 additional commits in the repo.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mongo0:
Maybe you need an udev rule for plugdev (if you're using linux...). It fixed my problems with fastboot and detecting/flashing devices : (change to your device id[s))

cat /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="[PRODUCT_ID_DEVICE1 (e.g. 'd001')]", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="[PRODUCT_ID_DEVICE1 (e.g. 'd002')]", MODE="0666", GROUP="plugdev"
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ssdnvv:
With newest version 20231110 and Magisk 26.4 Google wallet does not work anymore. How to get it working again?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] kurtn:
I've seen talk about plat integrity fix. I have a working cash wallet.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Prototyp41:
Hello everyone,

I come back to this forum I knew years ago for other phones.. and I'm happy to see it's still in shape! Thanks for your work.

I just got a second XZ2 Compact because I broke my previous one and I love it form factor (it is hard to find small screens today...).

I would like to try this ROM to renew, in a way, my smartphone but I would like to check few things before and I hope you can help.

1. Is it possible to reinstal stock ROM to come back to a "factory configuration"? Just in case it doesn't fit my actual needs or if it doesn't work properly on my smartphoen...?

Also, where can I find this XZ2 Compact stock ROM? And how to install it?

2. Do you have any feedback regarding battery life compared to stock ROM?

3. Do you have any feedback about camera/camera app quality compared to stock ROM? I think it still a tricky point for custom ROM developers and it's important for me.

4. Is there a specific build you recommand to start with? Maybe a more stable or reliable one? I don't want spend too much time on this. Do you know if developpers plan to release a "stabe" or final version soon?

Thanks in advance for your helps!

Alexandre
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] kurtn:
LineageOS has no final or stable version. I recommend to update once a month to get security patches. The updates will not delete your apps or data.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] fun0087:
First of all, if camera quality is important for you, stay on stock. The only port of Sony camera that works on Android 11+ versions is a Magisk Module available on gitlab but deprecated. Still shots work quite good and quality is comparable to stock, but video shooting lacks options (4K, 720p, slow motion etc.) and most importantly, stabilization. Your videos will be shaky as heck.

Other camera software do not rival with the stock app (although I have read that some were satified with open camera). On LOS, Aperture (camera app) is supposed to catch up and offer comparable features than the stock app, but I do not know how it currently performs in that regard.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Prototyp41:
Hello,

@kurtn and @fun0087, thanks for your precise answers! Aperture app should be fine.

Any adive regarding my first question?

"1. Is it possible to reinstal stock ROM to come back to a "factory configuration"? Just in case it doesn't fit my actual needs or if it doesn't work properly on my smartphoen...?

Also, where can I find this XZ2 Compact stock ROM? And how to install it?"
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
With xperifirm you can download stock firmwares, with flashtool (sony website) or newflasher you can flash them. Grab these tools here on XDA or from the sony website. Also, make a backup of your TA partition if you want to be able to fully get back to stock. Please use the search to get more info on how to use these tools or do the TA backup & restore.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dtrunk90:
Yeah, google is doing google things. I've updated the fingerprint in the first post we have to use now (just install ih8sn again in recovery with the modified config file). Not sure why google is doing such things or how they do it because if they now block the original android 8 fingerprint for this device this means even stock android 8 wouldn't pass play integrity anymore.

EDIT: That fingerprint alone didn't work too. I'll update the config with the values which are working fine for me now.

EDIT2: Done