yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] zpunout:
Hi,

Thanks for creating this awesome OS for the XZ2c. I updated LOS from 17.1 to 18.1 on my H8324 XZ2c. Now that the SemcCamera (stock camera) is not working anymore, I was wondering how big of a job it would be to get it working again. I'm asking because if it is not looking likely to ever happen, I'll consider reinstalling the previous LOS 17.1.

BTW, I love the LOS gesture navigation which frees up more of the 5 inch screen real estate.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] userx404:
Wasn't it possible to record the screen with the recorder app some time ago?

Not 100% sure about that but now i'm only able to record audio.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Ermann123:
HI!

Is there a way of signature spoofinf in order to get MicroG running?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] odiad:
Hi, I've installed just LOS 18 with gapps, but I wasn't able to install magisk. After Sony-logo I had loops. Without Magisk it worked.

I used Magisk 20.4, maybe too old? Can somebody tell me which Magisk is working? maybe with download-link? And how to install? I installed LOS, reboot into recovery, installed GAPPS, reboot into recovery, and installed Magisk. Was maybe just the sequence wrong?

And is it possible to flash Magisk now after complete installation, without killing all data (so without starting from the beginning?)?

Greetings Odiad
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Follow the installation procedure. I installed magisk 23 right after gapps.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Cerhio:
Just an update from me: everything is working great! Battery is awesome and it's running fast.

Only thing I'd note is that:

-low brightness is practically black.

-google assistant doesn't work with "okay google" when the screen is off.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] userx404:
I've also reported this some time ago but in the meantime i noticed it's pretty nice to go that dark e.g. when you read something in a totaly dark room. The minimum brightness of the original rom was quiet a bit too brightly in some situations.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] odiad:
Hi. I can not confirm that good battery life. At least not compared to stock. In standby I had with rooted stock Rom, using Greenify to kill apps in background but with activated Google location sharing, a power consumption of 1%/hour up to 2%/hour. With Bluetooth and listening music in background for 2 hours (display off) I had maybe 3% - 4%/hour.

With lineage 18 I have 2%/h in energy saving mode, so no location sharing, reduce data transfer, etc. So best case. Normal use has already approx. 4% without music in background. For me stock was better. PS: Los 18 also rooted, Greenfield, same apps installed.

But - generally Los 18 works really fine. No important bugs so far for me, and Rom feels really fast. And no frozen screen (I had sometimes with stock Rom - that was really annoying).

I can confirm issue with camera button and ok Google problem when screen is off. But this doesn't matter to me. I am curious on next updates.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] odiad:
Hi. Does LOS18 supports second Sim card? I have installed newest version 09.07., and I just tried to use 2 SIM. Phone booted, and both SIM had no access to network (no signal), and after some seconds phone rebooted. And this happens again and again.

After removing second SIM the first SIM worked normal again.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] palamosteliaro:
This rom seems stable to be daily (so far) its very responsive, battery life is ok.

For anyone wondering: I tried A LOT gcams, only this one worked and it actually produces decent images and videos.

I only managed to get viper4android working after freezing the built in audiofx application included with titanium backup. Using audio modification library didn't help, it actually broke v4a. Installing just v4a and enabling legacy and compatibility mode (with audiofx frozen) did the trick.

Fingerprint is slow, cant compare with stock because i got rid of it as soon as i got the phone in my hands :)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] zpunout:
I tried the gcam you linked to on my XZ2 Compact (H8324) running Lineage 17 (not 18) but gcam failed to launch on my device. However, I do have a modded version of Sony's stock semc camera working with help from this guide: https://blog.andresgomez.org/2020/0...nux-4-5-bringing-back-sonys-stock-camera-app/

Unfortunately, this semc camera doesn't work (at least for me) on LineageOS 18.1 , just 17.1. I'm satisfied using LOS 17.1 for now. At least it supports full gesture navigation which frees up a bit more screen real estate :-)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] palamosteliaro:
If you are interested in 18.1 and want to use gestures, you can remove the navigation bar with Substratum Lite and nonavbar.apk. I tried it and it works!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Strange, the gcam works for me on both 17.1 and 18.1. Unfortunately, HDR+ does not work, which mostly destroys the need for using it. GCam Go is as good or better.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] userx404:
Has anyone of you tried OpenGapps with this Rom yet?

https://sourceforge.net/projects/opengapps/files/arm64/20210715/open_gapps-arm64-11.0-nano-20210715.zip/download
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Yes. They work perfectly well.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] jan8045:
​

You saved my phone (XZ2 Compact) from being bricked and discarded! Many, many thanks!​

Maybe one small addition to the tutorial: The recovery of LineageOS in Slot A has to be used for flashing (ADB sideloading) further things like OpenGapps, Magisk etc...
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] a.bispo:
Is there any info on whether that semc version would work on LOS 18.1?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
afaict, it will never work
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] shalemaci:
Hi everyone,

I think I have done a mistake. I used Lineage OS 18.1, everything worked fine but when i checked in Trust parameters I saw that my vendor.img file was obsolete and I should update it.

So I went to Sony and used their Emma update tool. I only used the firmware update, not the software update as they recommended if I wanted to keep my data and custom rom.

Since I have done this I get the "your device is corrupt and can't be trust" and the device shuts down.

I was wondering if a new flash or repair option via recovering could resolve my problem.

Thank you,
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mailx:
What's the reason? Could find any explanation here. The first post only says it does not work "at the moment".
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
As far as I understood, a library incompatibility.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] userx404:
Hi

Is the sony service menu integrated in this rom.

*#*#7378423#*#* does nothing. It seems I bricked my my loudspeaker with a test app from playstore. The sound of my bottom speaker is quiet silient and ugly now.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] aikattx:
Latest update 23 july 2021 has been fantastic ! Battery life slightly improved . Thanks
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Garfield24:
Hi,

had the same problem after experimenting with the phone. You can usually still get into fastboot and flash mode by holding VOLUME-UP or alternatively VOLUME-DOWN while plugging a USB cable from your computer.

Follow the instructions on page 1 of this thread that I made to recover the phone with TWRP and Newflasher (post by Garfield24 on page 1 of this thread). See if you can make it work using those instructions. Post here, if it worked for you.

Greetings
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Afaik, Volume UP for fastboot (blue light) and Volume DOWN for flash mode (green light).

After entering fastboot, don't forget to 'fastboot reboot bootloader' before commencing the procedure to flash stock rom (use Garfield24's instructions or those on the official LOS installation page).
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] a.bispo:
How many on-screen hours are you getting from it?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Daedalus1979:
Hello all,

Since short I installed LOS to my Xz2c and now I am getting it up to my old Sony Z3c when it comes to adding all the apps that were also on my old phone. Now I notice that not all apps can be installed, Disney+ says it is not suitable for my device and I am missing another app as well, that is not even showing in the app store. Am I missing something here?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] aikattx:
4.5-5 hours sot with moderate use, always mobile data with 15-10% left at the end of the day. If i play heavy games like wild rift non stop, confirmed 2.5-3 hrs sot
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] a.bispo:
Wow, that's great!

I get less than 3h sot, moderate use, wifi mostly. I charge it every other day.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] zpunout:
I had jamming loudspeaker issues which were resolved with an ultrasonic cleaner for golf clubs. Unfortunately, the cleaning destroyed my microphones because I didn't cover the microphones with tape and Blu-Tack first to protect them. Now I have an XZ2c which only can be used with a headset. Don't know if your issue is the physical speaker, hardware or software though.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] madcow_mda:
Do I need any special steps if I install LineagoOS on my XZ2 compact Dual-sim. or is the installation proces identical for the single-sim and dual-sim devices?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Follow the installation procedure on the official ROM site. It worked for me on the dual sim.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Cerhio:
Has anyone managed to get Google Assistant working? If so, does anyone have instructions?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] userx404:
Is it possible that this could be a sw issue? I don't think so. I don't think this app could manage a persistent change in audio config. The app was capable to set the audio output frequency to 20-20000Hz and the speakers delaminated on the low frequency.

I already orderd both replacement speakers. I you are skilled you could replace your mics as well.

I know this is off-topic and this post belongs to the hardware thread but I was just asking for the sony service menu or something equivalent shipped with this rom.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Do recent versions of this ROM pass SafetyNet without Magisk? On my XZ1c, both LOS 17.1 and 18.1 do so (since relatively recently, to be sure).
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] gvine89:
I'm on the latest version of LOS 18.1 on XZ2 Compact. SafetyNet only passed after installing Magisk and MagiskHide Props.

I've been able to add cards to Google Pay with MagiskHide, but contactless payments are not working. Sometimes the phone isn't detected at all by the reader, sometimes it says "only use one card at once" on the reader.

Anyone had any experience getting contactless payments working?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Thanks. Same here. Works with Magisk. I was wondering whether the same system tweaks that works on the XZ1c - as well as some generic AOSP-based ROMs - without root would work on the XZ2c too.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] gvine89:
I tested NFC by pairing some bluetooth headphones (MDR-1000X) which was successful.

So NFC is working, just contactless payments broken for me.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] t.Lancer:
Have have serious issues with trying to install gapps. I've probably tried every combination.

first coming from 17.1 I did a clean install of 18.1 + gapps. then after setting things up, magisk via recovery. after a reboot I keep getting errors from all google apps that google play services are needed. Didn't have that before with 17.1, so I try to install it. supprisingly it works. but almost all google apps crash on load, even after clearing data. only uninstallign and reinstalling helped. but eventually after another restart it all starts again saying that play services are missing.

additionaly to these issues I also, like some other users lost wifi and network after installing magisk.

So I do another clean install 18 to 18, factory reset, go through it all again, same effect again after magisk. OK so it must be magisk. I try different versions, 23 or 21.4, same thing.

I go all the way and restore stock firmware on both slots, install lineage, set it up then install gapps and again I get the problem with missing play services. I have not yet installed magisk at this point. So clearly I have no clue what is going on. I reinstall play services.

So I go through it all again, I am able to setup the google apps, restore my data. all looks good. maybe it was just a fluke since google wanted to do the setup. I do another restart and once again, play services no longer work. Now play store keeps crashing again and I seem to have wasted 2 days on this and I didn't even get as far as installing magisk. All I have is lineage and opengapps nano.

it is ridiculous. I do not understand what is causing this.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Me neither. What version of gapps are you using? For me the opengapps 11 test versions on sourceforge.net work great.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] t.Lancer:
I've been using https://opengapps.org/

I have managed to get it working using mindthegapps, still had permission issue with google services during setup but I have been able to install magisk and everything is working so far.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] a.bispo:
I have also tested NFC by connecting to a Sony SBH24 bluetooth receiver. It works for a couple of times (the NFC tag is detected by the phone and bluetooth enables/disables), but after some time it won't work anymore until I go back to the settings and manually turn NFC off and on again.

Also, was able to finally get 3h30 hours of SOT out of it, by manually disabling mobile data disabled when I'm on WiFi. I have the "Mobile data always active" setting disabled in the developer settings, but apparently doing it manually is much more effective.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] XDA Devil:
deleted
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Ermann123:
Anyone an idea about how to enable signature spoofing , in order to activate MicroG?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] t.Lancer:
Ok it seems to be fixed now on the latest nightly and newest gapps. after doing yet another reset after getting it to work with the mindthegapps and magisk. I still had issues with google services. including location not working, even if other apps are able to acquire location.

So now I reinstalled lineage nightly from 6th of august and opengapps from the 7th and magisk 23. And finally it seems to all work. I made sure both slots were flashed so that everything is the same after a reset. and so far it has been working. lcoation and google services are working, no erros, no missing permissions. backup restore worked.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] najodleglejszy:
--deleted--
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] odiad:
Have you tried dual SIM function? I tried in July, and generally dual phone worked with one SIM, but when I inserted second SIM phone did not connect to internet. Did not with both SIM. And when I remember correctly it crashed during I tried to change internet setting. After removing second SIM phone worked normal again.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Hi. Never tried two sims.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] therobbot:
Will VoLTE work with this?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] BENETNATH:
can we consider LOS as a good daily driver for our xz2c now ?

I'm still on 52.0.A.11.3 but i miss magisk and can't find a boot.img..
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Raphos:
Hi,

Since a long time :eek:
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] BENETNATH:
Yes, been a while. other stuff to do than just checking ^^

What's the best way to go directly to LOS?

Unlocked bootloader
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] najodleglejszy:
follow the official guide on their website https://wiki.lineageos.org/devices/xz2c/install
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] zpunout:
I'm considering updating from LineageOS 17.1 with functioning stock camera (with help from Magisk and SELinux switcher) to a much more secure LineageOS 18.1 without Magisk. The only thing holding me back is that I'll lose the stock camera's enhanced functionality. Any news about whether it's technically possible to port Semc Camera to work on LOS18.1 without the need for root?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] jontis:
I'd say no. While I do love both the x2zc, and the LOS concept, I have been suffering for a long time from poor connectivity, both mobile data and phone calls. I have issues registered on github about that if you want a more detailed description. As it is now, I'm looking into getting a pixel 4a instead.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
In my case, LOS works much better than stock. My stock phone would fail to reconnect to the tower in some cases if it lost connectivity for a short while. It's a bug other people had, which sony failed to solve for years, and LOS resolved. Plus better battery life and customization.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] dude_user:
I was able to get VoLTE to work with AT&T.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] aaawqw:
Same here. I have to give up los since I can barely use mobile network, which is definitely essential to me. Only stock works fine.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] patroj:
Using mine as a daily driver with NO issues.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] zpunout:
Using my H8324 variant with no connectivity issues. I did have a few other strange bugs after first boot because I installed over LOS 17.1 but they were resolved after going into the menu and doing a factory reset.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Yes, make sure to install over stock (or at least full reset).
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] najodleglejszy:
no connectivity issues here either.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] aaawqw:
Of course I did a clean install over stock (52.1.A.3.49). The issue was still there. I'm pretty much sure there's nothing to do with clean/dirty flash and I did it right. sjll and I tested about this few months ago and, so far, no result, at least for the carrier I'm using (China Unicom).
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] zpunout:
Which frequency bands are being used by China Unicorn? Maybe the answer can be found by looking at that?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] aaawqw:
LTE-FDD band 1/3/8, mainly 1/8, depending on where you are.

IDK if it's Qualcomm or LOS to blame but I have to stay on stock now.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] jontis:
Interesting. Some of us have problems. Some don't. I even got an extra carrier in the dual SIM to try to get better connectivity. Same issue with that. This being in Sweden, and having problems with both Telenor and Tele2 networks.

Here's the issued I created if that helps:

https://gitlab.com/LineageOS/issues/android/-/issues/?author_username=jontis
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] jontis:
I'm curious about one thing, I've been trying to get vowifi to work.

The way I've seen it recommended is turn on vowifi in the settings, which I find, and it shows vowifi turned on.

Then set it to airplane mode and turn on wifi. You are then supposed to be able to make calls by vowifi.

However, the SIMs are disabled, and the settings are not accessible anymore. Has it lost it's knowledge about the phone numbers and that identity? Then how is it supposed to make the vowifi call? I only get "mobile network not available", and no option to select any of the 2 SIM accounts it has. Am I missing something or is this an issue?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Cerhio:
Are there any issues with updating via the built in updater? I've noticed it doesn't ask me to restart the phone after the install.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] aaawqw:
Curious as well. But seems our issues are not the same. I DO HAVE signal and SIM(s) enabled, LTE enabled, but I just can't connect to the internet, even just resolving domain names will fail (e.g. nslookup in termux), no connection at all. I even thought if it's LOS set DoH default and the default server doesn't work here in China so I turned it off, however nothing changed... From then I'm sure there's something wrong with the modem/los network stack/something else.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] jontis:
I got a little further on the vowifi part. I realised there was a preference to set to chose if it would go wifi over mobile. When I set it to wifi, the error message change to "connect to a wireless" Problem is that it was connected to wireless and it worked great for other data, so I guess something else in the connection to carrier through ip data did not work. Looking into IMS and APNs now. Has your data ever worked?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Amunhateb:
Hello guys. I am facing an issue with charger. When I am unplugging my xz2c from 12V QC3 charger the device may become unresponsive. Black screen with no possibility to turn it on. I can see that some processes are working(can receive some alerts soundwise). But bluetooth and other connectivities are dropped down. I can only force reboot by pressing power + volume down(up) to force reboot it. Same issue was on LOS 17.1.

Not sure that logcat is related but the timing is seems really close to when I faced issue the last time.

Spoiler content hidden.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] najodleglejszy:
has anyone else been having touch issues recently? I've been getting lots of ghost touches since the last week or so, or the screen becoming completely unresponsive at times, and I'm not sure if it's a software or a hardware issue.

edit: I found a video that shows something very similar to what I'm experiencing:

since they're running stock software, I assume it's hardware then :/
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] old.splatterhand:
For sure it is a hardware fault.

Mine has this too (and i have seen many xz2c user's in a German forum suffering from this problem), but it is not all the time. It goes away, like it comes. At the end, it is not rom related.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] aaawqw:
It's not that uncommon for xz2c users to have touch issues. I'm afraid it's on hardware side.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] najodleglejszy:
it seems that it's got something to do with static building up on the screen and interfering with touches. this guy has found a method of fixing that, apparently, although they mention in the comments that it's a temporary fix

https://www.reddit.com/r/SonyXperia/comments/k44lhl
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] zpunout:
I've had ghost touches on my XZ2c H8324. To see better what was happening, I activated the "show touches" setting in Developer Options. I noticed that by cleaning around the edges, especially where the groove is makes it better for a while.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] userx404:
I had it in the past. Thought it was caused by an old scratch. I replaced the LCD front a few month ago. No issue so far.