yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Not me
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
I am on an old 2020.12 firmware because every time I tried an upgrade, whether via fastboot or regular update, some feature or other was broken.

Have more recent firmwares solved the notification led problem, where less than the entire spectrum is available (i.e., no yellow)?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] andreux481:
Hi guys. I have some questions as I am having problems with official lineage 17.1 and my xz2 compact. The rom is installed together with magisk however I cannot find a twrp version that works. I can't get supersu to work with which I might be able to uninstall system applications that I don't need. Even xposed framework I can't use some modules. Can someone help me? thank you
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
I abandoned the search for a TWRP that works with LOS. There is recent one for SODP but apparently it does not work with Lineage.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] 30jp:
I have Sony XZ2 c with Lineageos 17.1 and Magisk and works fine.

Twrp and Supersu is not needed.

In Magisk I have Magiskhide turned on and Busybox for Android NDK and MagiskHide Props Config (with terminal set up properly) and Systemless Host installed. In System Developer Options, I turned on Enforce Allow apps on external storage. For file management I use Mixplorer and it gets root permission from Magisk. That works fine for me.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Same here.

What does "with terminal set up properly" mean (if other than installing the right fingerprint)?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] 30jp:
It's the same. You just have to do it.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] nokian95ita:
is there someone that have tried to install sony camera app?

work?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Yes, it works, but only if you set selinux to permissive. Look for an app on fdroid to do that on every boot.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] nokian95ita:
please can you explain me how i can install it?

i have another question: i installed lineageOS today on my xz2c and all sems to work fine except the memory card that it say "there is a problem i ned to format card" it format but it return to show the notification with the first text
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Install F-Droid and search for SELinuxModeChanger, then set SELinux to permissive.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] nokian95ita:
thanks for the help but i am not willing to trade security for sony camera app. instead I have a big problem: I followed step by step the installation instructions on the lineageOS wiki web page but in the end I always get the same result: the memory card asks me to be formatted and it never formats and it doesn't work even formatting it with the pc and the google photo app crashes on startup and does not uninstall even via adb

Edit 1

now after reboot and getting another time the same error i permormed an hard reset via android and google photos work and the phone was able to formatt memory card. i am coping same file and after i will reboot another time

Edit2

after reboot i say me that it need to format the memory card!!!!!!!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Sorry, I do not have this problem.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Hi!

Upgrading this ROM to newer builds, whether via inbuilt update app or via recovery, almost always creates problems for me (Magisk installed). Any idea how best to do this?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] 30jp:
What problems do you have? The internal update works fine for me and I also have Magisk.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Depends - I only tried updating three times, only 2020 builds. At one point the stock camera did not work (I set linux to permissive). At one other time I got frequent wifi disconnects on both 2.4 GHz. Finally, Magisk got messed up and after reinstalling it I could no longer pass safetynet. Each time a clean re-install of the new rom solved the problem completely.

Now I am afraid to try again. :)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] 30jp:
I started in January 2021. After the first update I had to install Magiks again, but the last few times everything works by itself. I thought that in one of those updates there was a change so that you don't have to reinstall Magisk every time.

I have never had a problem with wifi. I tried the stock camera for a week, but went back to the standard camera which works fine for me.

Root and Saftynet also work well. I don't have to do anything to them after an update. I have installed picco Gapps and via Github Netguard (firewall). The XZ2c works like a charm.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
So have you automatically updated to every new version?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] 30jp:
Yes and that went well.

The first installation (adb, fastboot, recovery) I did with Linux. That was simple and easy. With win 10 on laptop and desktop I could not install the drivers. I followed the instructions on the LineageOs site.

Install LineageOS on xz2c | LineageOS Wiki

wiki.lineageos.org
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ssdnvv:
Short question: I assume backup via adb in lineageos recovery is the only option to save complete system state before updating. Does backup & restore work reliably that way?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
I just bit the bullet. Upgrading killed Magist and the stock camera. But this time around simply reinstalling Magisk via adb/recovery solved Magisk - but not the camera.

Uninstalling stock cam and then re-installing it via adb/recovery solved it, however.

So I am satisfied. Thanks again
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] 30jp:
Nice to hear. You can also open recovery with the power button and then reinstall Magisk from sd card. (Developer options, advanced startup.) Goes a bit faster than using the computer.

How about wifi and saftynet?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Wifi is stable. Safetynet passes.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ssdnvv:
Anyone? How Do you backup before updating/upgrading?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] 30jp:
I make a backup of the apps with OAndBackupX (F-Droid) on my sd card, but have not needed it so far.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ssdnvv:
Unfortunately OAndBackupX doesn't work for - due fo a strange bug it never completes the initial steps of granting all rights on lineage_xz2c-userdebug 10 QQ3A.200805.001 c27bccbe12 (version from September last year). With twrp available on my former smartphones I did a full backup before upgrading because upgrades tended to fail whenever I didn't do a backup beforehand.

Without that I dont not really feel confident enough to do an upgrade. I waited a long time for the twrp developer to maybe finalize his/her work on twrp for LOS on XZ2c, but I don't seem to have luck on this field either...
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] 30jp:
I have Magisk installed and it gives OandBackupX "superuser" rights.

That is probably why it works well for me.

I have the LineageOs 17.1 from March 26, 2021.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ssdnvv:
Thanks for your reply. I have Magisk installed, too.

@ All the others - how do you backup your apps/partitions? I read Titaniumbackup is not reliable when using LOS?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] PerfectJam:
I

Maybe I'll say a stupidity, but with TWRP (I used it for flashing Magisk), you can maybe make a full backup of your phone ?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] userx404:
Finally switched from stock to Los. It's really nice but i still have to test it for some more days.

The first i've noticed - max audio level is really silient compared to stock rom. Is this a known issue? If so, how to fix it?

Thx
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] lba810701:
Hi! I don't hear a big difference, but you could improve with PowerAmp Equalizer, the stand alone app for muaic listening. On Spotify and Youtube it improves much for me.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Upgraded Magisk from 22.0 to 22.1 and now I cannot pass SafetyNet despite my efforts. Anyone experienced this?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] 30jp:
No. Safetynet is working. Same with new LineageOs.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] PerfectJam:
Heya,

Just upgrading from LineageOS 17.1 31 march build version to 16 april build version, and I lost Magisk root. I still have the application on my phone, but it seems I need to flash Magisk from the recovery to get root again.

Unfortunaltely, I can't find back the twrp version that works on this LineageOS 17.1. Someone cal help me or pointing me a page where I can download it please ?

Edit : forget it, I installed magisk from the LineageOS recovery, and all work again perfectly well !
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Ermann123:
Sometimes after reboot, external SD-Card is not recognized. In around 30-40% of the cases.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] 1xcalibur1:
Is the camera working with this ROM or not? I'm a bit confused...
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] IDariuz:
same issue here
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ssdnvv:
twrp doesn't work with LOS 17.1
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ssdnvv:
But twrp isn't working with LOS 17.1!?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
It does work, but make sure you choose the right version (the stock, not SODP one); install it correctly.

See https://xdaforums.com/t/rom-11-lineageos-18-0-unofficial.4195805/post-84616281
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] userx404:
No big difference within audio- or youtube app but very silent and mono (bottom speaker) when on speaker mode on a call.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] userx404:
Switched to Los last week and camera is working so far.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
LOS stock camera works. Sony's camera only works if you set SELinux to permissive.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] lba810701:
Sorry, haven't got experience with ( handsfree ) speaker mode on call. I don't use it. But maybe there are some speaker boost apps on playstore what could help you.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] carrphaze:
Hi. I was install LineaseOS 17.1 to xz2c. Then, installed the app that I use.

But, Some apps not work because, Rooting detected from my Phone.

Of course, I didn't rooting. (Wipe and only installed LOS and gapps)

I think I recognize it as a Rooted device due to the settings such as build.prop.

To solve this problem, I've tried Magesk or some other method( LOS Recovery -> pull build.prop and Modify), and there's still a problem.

I want to know which part of build.prop or what elements of something else are recognized as a routing device and how to solve this problem.

How should I fix something?

----

I posted a message on the wrong thread yesterday. sorry and Thanks to landsome
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] xddqxddq:
If you have magisk installed you can check the magiskHide Props Config to assign the fingerprint to the stock rom of your device. Also you can hide magisk in settings and try the "universal safetynet fix" magisk module. Applying these all could help, but im no expert :D
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] carrphaze:
Thank you for your answer.

You have installed magisk and installed magiskHide Props Config 5.4.0 and universal safety net fix 1.1.1.

But Safetynet ctsProfile failed, and some apps works well, but others didn't.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] userx404:
Whats the difference between lineage-17.1-20210507-nightly-xz2c and lineage-17.1-20210430-nightly-xz2c ?

The changelog doesn't list any changes.

Also the file size is quiet the same.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Sjll:
Here is the rebase kernel for LineageOS 17.1/18.0/18.1, which tag at LA.UM.9.3.r1-01700-sdm845.0. You can try and feedback to us. Some wired issues like TF card reading should be fixed.

Steps: Flash dtbo in fastboot and sideload the Anykernel3 in LineageOS Rec.

Device:

akari > XZ2

apollo > XZ2C

akatsuki > XZ3

Downloads for : Sony Xperia XZ2 | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] lba810701:
Hi! This kernel for xz2c dualsim ( h8324 ) seems good. But if I try to make more then a few pictures ( 3-5 ) the sony stock camera goes to a little slow, then freezee.. Not just the cam soft, the whole mobile slowing down. ( force stop the cam doesn't help, just reboot solve it ). With lineage cam, good... Until i start the sony cam. I'm on the 0430 LOS17.1 Anyway, thanks for the up to date kernel for us!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Sjll:
Thanks, this is a known issue. This kernel will still keep testing status until we solved all bugs.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] :
Hello;

I've tried the last 2 rom (20210514 and 20210507) on a xz2c device, with and without gaps, but I always have the following issue:

The microphone does not seem to work when using applications like wire, skype, ...

On the other hand normal voice calls and audio recorder works perfectly.

Does anyone else have this issue or an idea how to fix it?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] anjomale:
I have the same problem.

I'm stuck in "LOS Recovery" and I can't go back or get out of there.

I've tried twrp, ubuntu, etc.

Code:

"Failed to flush cached data: No space left on device (28)".

"w: failed to read / sys / class / thermal / thermal_zone75 / temp: No such device"
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] _glook:
Hello, I tried following this to get TWRP installed along with Lineage: https://xdaforums.com/t/rom-11-lineageos-18-1-unofficial.4195805/post-84616281

Everything works fine, except I can't save anything to internal storage, or even create a new folder. My folder is instead filled with folders named with a string of random letters and numbers. When I try and mkdir in an adb shell inside of /sdcard, I get "required key not available". It basically makes my internal storage unusable, which makes life pretty difficult, since a lot of apps rely on that (not to mention not having that storage available to begin with). Does anyone know what the problem might be?

EDIT: It seems in those instructions where it says not to format data, I should instead format the data. Seems to be working much better now.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] anjomale:
That procedure was for the Xperia XZ2 Compact Dual, model H8324, correct?

My model is SO-05K.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] _glook:
Yeah, it's the dual. Everything has been running fine now.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Amunhateb:
If anybody else is fighting Google Pay to start working properly.

I did the following (not sure if all steps are necessary).

1. Magisk Hide google play services (no google pay in the hide list for me)

2. install 3 Magisk modules:

Safety net fix (https://github.com/kdrag0n/safetynet-fix/releases)

Magisk Hide props config

Busybox for android

3. Install terminal app from play store.

4. now you can follow this instruction -> https://xdaforums.com/t/fix-magisk-manager-20-3-ctsprofile-false-gpay-and-banking-apps.4080921/

5. Clean storage for play services, play market and google pay.

select xz2 compact from the model list
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] userx404:
removed
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Amunhateb:
Hello Olivier,

Is there any chance you'll fix stock camera for 17.1? I see you have plans to fix it for LOS 18.1 but this ROM is officially abandoned. I would love to update to 18.1 but some of my health releated apps are not working properly on android 11.

Thanks for your work!

p.s. Also I see that 17.1 has a build from May. Does it mean that automatic official 17.1 updates will still be available for 17.1 (sec patches at least)?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] cyh123:
Who has the resources of lineage17? Can you compress one for me? I tried to find it, but it didn't work out. I really need it. thanks!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Mintoll98:
hi, does anyone have the latest or any lineage 17.1 build left with the recovery
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] DrTrax:
LineageOS Build Archive

Takes time to load, search/filter for "xz2c" and request the file

⚠⚠⚠ Be aware, they might be modified (unofficial mirror) ⚠⚠⚠
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Mintoll98:
Have you heard what kind of bass sound on this firmware? He's just on top, unlike the official one. This is what happens here an improved sound engine is installed. Can we get him out of here somehow? Or maybe who knows which one it is installed. Maybe who knows what kind of audio device is there and if it is separate from the firmware that can be installed on another phone
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] DrTrax:
https://xdaforums.com/t/app-officia...fx-v2-5-0-5-new-features-7-0-support.2191223/

This is the only thing I am aware of "SoundFX" or "Audio Enhancer" although I never used one in my life...

I also think, there was/is a Magisk Module for newer version of Android...

Feel free to look around, maybe you'll find something that suits to you :)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Ungewiss:
What I mean is that I don't hear anything and the one I call also does not hear anything. There is just no sound and nothing is transmitted.

Charging indication works.

If I open the LED notification option, I can set the brightness for do not disturb and normal notification mode. If I try to change either, it seems like the LED is at max brightness and any setting I choose is completely ignored. Looks like the internal brightness level is not correct.

If I want to change the color by app, and choose e.g. missed call, I can set whatever I want. The LED does not turn on.

Ok.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Olivier:
A new build is up, please check the changelog in the OP.

Note: The target device name has been changed to "xz2c" - this is because a device called "apollo" already exists in Lineage. This change doesn't affect the functionality/the user experience of the ROM though.

I can partly reproduce this issue - I can still hear the other person, but can't be heard.

This was an issue and is fixed in the latest build - Sjll couldn't reproduce it anymore because she was already on a new build. :p

EDIT: I've created a private telegram group - in case anyone wants to join, just PM me.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Ungewiss:
Great stuff. Also the (broken?) calendar is now working properly.

I don't use gapps and battery life is insane. Completely works in daily use, even the notification led is now usable with lineage! With the stock firmware I regularly missed the led notification, since it was kind of broken. Now it's really good since you can set the interval and duration to your needs :)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Olivier:
Good news: As announced in the XZ2 thread, I've managed to port the stock camera (SemcCamera) - you can find it in the OP ("add-ons").
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] z1c-me:
Single or Dual Version

Is this ROM only for the Dual version of the XZ2 Compact? Or also for the Single version?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] lba810701:
Hi to all!

I can't download the .618 ftf from sony, so I flashed .672. Booted it up once. Everything worked.

After that, I'm used payload dumper for extract bin files from los17.1 zip. I flashed they with fastboot. Rebooted to LOS recovery, sideloaded opengapps, rebooted. Uploaded boot.img to phone, made rooted boot file with magisk, flashed it bacjnto phone with fastboot. Now, it seems good, i've got root but... My navbar is completting missing. On setting / buttons theres nothing about navbar. Usually I'm using Fluid gesture navigation, i could set it up, and works normal. But if i'm set it up to hide origi navbar, I couldn't reach pop up keyboard downest side... Example, when you type somewhere your phone number, you can't see number " 0 ", or " + " or * # "... It seems as if stretched, but just the keyboard when using it.

There is someone met with a similar problem? Is there an option to make it back to "normal" ( with 3 dots navbar ) or i must reflash the whole thing from the begenning?

Anyway, it's a good rom, and thanks for your effort and help!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Olivier:
A new build is up, please check the changelog in the OP - all major issues should be addressed now (except for SELinux).

It should work on both variants, but I can't tell for sure - I only own the dual SIM model.

This is fine, but you can also flash the ZIP using Lineage recovery (which can be installed by fastboot flashing a Lineage boot.img first)

I can't reproduce this bug unfortunately, but I also don't use Magisk. Switching between gestures and the navigation bar works fine for me. BTW, you can also search the settings app if you can't find what you're looking for.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] lba810701:
Hi to all!

Thanks fpr the reply. In the meantime, I'm searched the net about the missing navbar, and found to check out the system/ build.prop and insert a line to it, and it was: " qemu.hw.mainkeys=0 " ; Now, my navbar is back, and now I've got a normal home buttons config page too.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Ungewiss:
What do I have to do that the build system spits out a .zip containing the payload image instead of the individual partition images?

I pulled in the branches using a local_manifest, brunched the userdebug xz2c and build successfully, but no zip :)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Olivier:
Did you build the "bacon" target? Anyway, I've added build instructions to the OP.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Ungewiss:
Oh dear, why do things always change :) I was building the default droid target xD
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] z1c-me:
TWRP menu isn't showing up at rebooting

I downloaded and successfully flashed boot.img with "fastboot boot boot.img".

But at the following boot, the TWRP menu isn't showing up.

Instead it is booting in stock ROM.

This is the same with the boot images of MartinX3.

What I' am doing wrong?

Build version is 52.1.A.0.672.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Danj1:
Flashing is done by "fastboot flash boot boot.img".

You can boot into recovery by pressing "power"+"Volumen down" at the same time until you see the Sony logo. A short while after you should see the lineage recovery.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] juancho0703:
failed installation

failed installation

in version 20200525

How can I install it could help me because in version 20200520 it was installed well and it had a luxurious function :confused::crying::crying:
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] z1c-me:
NFC not functioning?

Do others too experience NFC is not functioning?