yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] wombatch:
Hi, I wonder if someone can help me, maybe to understand a bit more but hopefully to help me resolve an issue I seem to have with Side A/B operation. I am trying to prove it is working before i seriously break something.

In essence I installed lineage-17.1-20200828-nightly-xz2c-signed using the guide at wiki.lineageos.org/devices/xz2c/install.

Before starting I had upgraded to H8314_Customized UK_1313-5398_52.1.A.3.49_R6C.

I haven't used the phone much, still feeling my way with A/B and Lineage recovery but anyway today there was an OTA update that went onto the system, it seemed to go OK and so I thought I would check if the old side (in my case B) could still be booted with the old level from "0828". Please be aware i never tried this before today so the problem could be anywhere.

Anyway, booted into fastboot and set the active side to be B, reboot and i get into Lineage recovery that says my android system is invalid or some similar message, and would i like to formate my data. I tried that once but it didn't help.

So my question is, how can I check? what can i do to make sure that the other side (in my case B) can actually be used as a viable system if an upgrade fails? Maybe I have totally missed the point of A/B in which case perhaps you can enlighten me.

Thanks very much for any help.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] tochom:
Yes, It works

Enviado desde mi Xperia XZ2 Compact mediante Tapatalk
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Hmmm... Did you OTA or sideload the latest build?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ExoDroid:
Did anyone manage to get Google Pay working? I fixed the SafetyNet check failing and was able to add my card to GPay, but when I go to the Contactless Setup screen, it says "Your phone does not meet security requirements".

Anyone else with the same problem?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] tochom:
Side load

Enviado desde mi Xperia XZ2 Compact mediante Tapatalk
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Thanks. I did a fresh install eventually. Camera works. OTA broke it somehow.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] wombatch:
I guess nobody knows, should I assume that something went wrong with the flash or the copy using the copy-partitions-20200903_1329.zip? Any suggestions (I tried rerunning the copy but it made no difference) I was hoping someone here might have some idea. Someone went to the trouble of wrting in the install document that without the copy I could end up with a brick I was hoping there would be some advice here (maybe the creators of the package have a small idea of what the final system should look like?)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Moniboi:
I have been using this ROM for about a week now and overall it's far nicer than the stock ROM. However, I have 2 slight issues.

1. Touch not working suddenly sometimes. Turning the screen off and on after about 1 second fixes the issue. I had a somewhat similar issue on the stock ROM, but in that case it only happened in Youtube and the solution was to close Youtube and open it again (the navbar still worked in that case). I actually think the way it was on stock ROM was far worse than the way it's in Lineage, but on Lineage it seems to happen occasionally on any app. Is there a solution to this? I have read on there being touch issues, but I'm not using the stock ROM anymore. The issue seems to also not be hardware related since it's different depending on which ROM I use. Therefore it's either that both ROMs happen to have a touch issue that's different in each case or there's something in the kernel (since Lineage uses the stock kernel) and the ROMs interpret it differently or something.

2. My SIM card suddenly stops being detected at times. Opening the tray and putting it back, which gets the SIM registered again is very quick and my phone doesn't restart on Lineage when taking the tray out, so it's not a lot of work to deal with it. This is specific to LineageOS, so I presume this one is a software issue.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] JeffLeeXZ2C:
Stable in normal usage, but I have a problem.

Why phone keep goes to flash mode(weak green led) when connected to pc while it's off?

Factory reset in recovery doesn't solve this.

My one is xz2 compact, bootloader unlocked.

(idk this is related to problem,)

USB debugging automatically turns on in every single boot, even it turned off before reboot.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Sjll:
I created a twrp build, it could works on LineageOS now.

You could download it here.:

https://androidfilehost.com/?w=files&flid=318609
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] matteopola:
Since your recovery is in a zip package, have we to install it through ADB sideload from lineage recovery?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] tetzlav:
Thank you!

If i flash it via "fastboot flash boot twrp.img" i can boot into twrp. But if i try to boot the system/linageos i'm hanging in a recovery-reboot-loop... "Fix recovery reboot loop" didnt solve this.

Im also not able to mount external microSD nor USB-OTG.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] hyfc:
Hi, I wonder what's the normal size of Lineage OS after getting installed, mine is 14.4 Gigabytes, which to me is too large considering the zip file is only 700 Mb. So is this normal or am i doing it wrong?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
Am I the only one with problems in sideloading new builds / nightlies? I gave up on using OTA updates because they generated problems in the past. So I've used sideloading for new builds.

But I could not boot the latest build (dirty sideload flash), even though I tried several times. Had to reset, but then I had problems with setup (System UI kept closing).

Kind of frustrating, especially as there are no changelogs...

***

Any news on the recent TWRP? Does it work? Well?

*** Later edit: installed well with another try. But for some reason, after the SD worked perfectly well, it seems to have been lost / ejected. A reboot solved it, and it's been OK for the past day.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] charos:
am I the only one that people cannot hear me on Teams? :)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] bertus_f:
The latest nightly build of LOS 17.1 (from 12-4) makes my XZ2C drown faster than normal, within a day. Current overall screentime is 52 minutes, 12 hours after the last full charge. Batterylife is 36%. Previous builds gave me at least 2 days. I didn't install new apps and didn't do anything different than before. Just a normal day.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] hadage:
What worked for me:

1. Boot into fastboot mode either with "adb reboot fastboot" or if you can only use the hardware keys check if "fastboot devices" shows sensible output and use "fastboot reboot" until you get something else than all "XXXXX".

2. Once you're in fastboot and "fastboot devices" shows sensible output do "fastboot boot twrp.img" then "fastboot reboot recovery".

From what I understand this allows to boot TWRP once. On the next reboot to recovery you'll boot into LineageOS recovery or whatever you had installed earlier.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] CHEIb00:
Please, can anyone tell me how I can sideload my self compiled los 17.1 on xz2c?

I get this error in los recovery:

“Error applying update: 26 (ErrorCode : : kDownloadMetadataSignatureMismatch)

Thanks in advance!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] userx404:
Can you tell me if Open Camera is also working or if you MUST use the stock cam?

The mayor issue for me is that stock cam doesn't support reduced/downscaled resolutions.

Thanks
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
You sure abt this?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] momomomonsterbill:
Thanks for your work! :) I have a question: In the XZ2 18.1 unofficial thread I read that "For VoLTE, you need to boot into stock firmware and enable it before flashing this ROM!" Is this also the case for this 17.1 official ROM? Does Volte work?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] lba810701:
Hi!

I'm upgraded from 2021.01.01 build to 2021.01.08 build, then after it no sound coming out of my phone's loudspeaker, headphones or bluethooth. I made the upgrade as usually:

Download it from settings / system upgrade, and let it finish the system upgrade on my phone.

Then before I restart the phone flashed the patched magisk kernel with fastboot, then sideloaded the sony camera zip file in recovery.

Until today, there aren't any error with thiese steps. Now, I haven't got any sound.

I attached a LOGCAT. ( " https://filebin.net/hbpg1ui84p7262pk " ) ;

I didn't do factory reset, can i flash the previosly build on it with sideload? Would this normally work? Because before I tried to "restore" a system with sideload, it always ended with a bootloop for some reason ... Maybe someone has some idea to fix thiese sound error?

Thank you in advance for your help!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
I had a similar issue with a previous update several months ago. Camera stopped working and un/re-installing did not remedy it. The update process seems broken somewhere. Had to completely reset.

I later sideloaded the update once via recovery and it worked then - after previously installing magisk.

Honestly, I will no longer update, given that I do not even know what the updates do (no list of changes). Or maybe do so in 6 months.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
By the way, does the notification led cover all colors now?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] bertus_f:
Both the stock camera and the Open Camera work on LineageOS 17.1. I prefer the stock camera: the pictures are much better (sharper). Open Camera is a nice app, but the quality is far less than the stock camera.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] bertus_f:
I upgraded today to build 2021.01.08 and also have sound issues. No sound at all, not from my speaker nor from my headphone. So I downgraded to the previous version of LineageOS 17.1 (January 1st, see https://www.lineageoslog.com/17.1/xz2c). You can downgrade as follows (make a backup first, it can go wrong!!!!):

- download lineage-17.1-20210101-nightly-xz2c-signed.zip on your pc

- get into recovery mode (press power+down button for a couple of seconds or type "adb reboot recovery" in your terminal)

- navigate to adb update in recovery mode and type "adb sideload lineage-17.1-20210101-nightly-xz2c-signed.zip" in your terminal

- you will get a warning when you downgrade, but I had no problems at all, so you can skip this warning if you have the nerves to downgrade :)

- afterwards I sideloaded the stock cam app

Now I've got sound again! Next week we'll hopefully have a better OTA update!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] curiousrom:
Broken Xperia XZ2 Compact (xz2c) 2021-01-08 Update?

Thanks guys for reporting the issue. :cool: 👍

Just a FYI several Xiaomi Mi Mix 2S polaris LineageOS 17.1 users reported the same issues with build 2021-01-08 as you can see here: Broken Xiaomi Mi Mix 2S 2021-01-08 Update

I wonder if the Xperia XZ2 Compact (xz2c) maintainer @Olivier is aware of this?

***

Edit: All LineageOS build 20210108 were removed from the LineageOS servers. Thank you devs!

***
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] testbug:
Like many others, I made the mistake of updating right away as well,

and I ended up in a bootloop after I downgraded.

Is my only option to wipe and reflash, or is there a chance of a fix?

I would like to avoid a reflash if I could.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] filtrator:
I'm in the same situation as testbug. LOS is not booting after the suggested downgrade by bertus_f. I backed up most essential data before trying to downgrade but I would prefer not to have to install most of the apps basically from scratch.

Might sideloading the defective 2021.01.08 build again be a valid solution? Or will this probably make things even worse?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
I had the same problems with previous updates. Sideloading did not work, but it's worth a try. I ended up resetting.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] filtrator:
Today the next nightly version of LOS war released (20210115), so I sideloaded it by LOS recovery. Well, the phone keeps bootlooping like before. So I see no other alternative as to perform a factory reset and spend hours in reinstalling all the apps :(

Man, I'm getting a bit too old for this...

At least my lesson learned is to never again try to downgrade LOS again. Better live with a bug to the next release.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] bertus_f:
I am sorry that my downgrade method as described, didn't work for you. I have added a couple warnings in my post, so others will be warned in front. Version 20210115 is working fine again with audio enabled, so you can install this version after performing a factory reset. For reinstalling the apps, you can write a script. I wipe my phone a lot of times, after installing new custom roms. I collect all the latest apk files on my Mac (see https://www.androidsage.com/2017/02...-android-device-pull-stock-apk-files-via-adb/) and install them after a factory reset with a bash script (adb install <appname>.apk).
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] lieuxnoir:
Flashing LOS 17.1 (build 20210115) on my XZ2 Compact fails.

Recovery used was Lineage Recovery, same build.

Here is the recovery.log. Relevant (I guess) stuff at the 349-second mark.

Device is the SO-05K model with the bootloader unlocked (followed this guide).

This was a first-time install. Got the error on this part, 5th step.

I hope you can help me. Thank you!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] lba810701:
Hi!

I think it"s because of your device is Docomo, japan version ( SO-05K ) and this LOS rom made for the Global versions ( H8314 and H8324 ). Docomo using a different radio baseband, and maybe different it's partitions layout?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] silencshadow:
Hello,

i try this guide: https://wiki.lineageos.org/devices/xz2c/install

but when i use adb reboot bootloader and then start into fastboot it doesnt recognize my Xperia XZ2C anymore... Device-Manager just shows "Android" device with no driver... i already installed xperia companion.... What is the problem? :-/

Using Windows 10

regards

Edit: I got it somehow running with "zadig-2.5" forcing "WinUSB (v6.1.7600.16385)" onto my "Android" Device in my Device Manager.

Next question, how does i get the Stock Cam running... im in love with LineageOS(so far) but the Camera is just.. "bad" i REALLY miss slowmotion etc... so how do i get the semcam running... i booted into recovery and adb sideloaded semcam ... when i restart the phone, its crashing with "Error Unknown Error." ... what should i do?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] lba810701:
Hi!

For stock cam you must set selinux mode to permissive.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] silencshadow:
How does i? And isnt it bad to turn this off?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Ermann123:
I am experiencing reproducible soft reboots while downloading larger amount of data for OpenStreetMaps,
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] silencshadow:
My Volume is around 25% quiter... i tested with the same song at the same time from the phone of a friend, he has the same phone... they got the same volume level after i decreased his phone by 25%.... Can i somehow increase the Volume? Its very quiet... :(
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] lba810701:
Hi!

If you are rooted, then there's an " SELinuxModChanger " program what can do it from enforcing state to permissive. You could find it: " https://f-droid.org/en/packages/com.mrbimc.selinux/ " ;
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] silencshadow:
App tells me that it was unable to gain root access. Bzw isn't it unsafe to turn a security feature off?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] lba810701:
Maybe you aren't rooted... yet. I think the easiest way to access root is:

- First, make a magisk patched boot img from your rom ...

( with pc, download the latest los.zip -> use 7zip to unzip -> it's conatining a " payload.img " which must extract with " payload_dumper " tool -> after used it, the output directory will be containing "boot.img" file, and copy it to your phone -> on the phone there's must be installed " magisk manager " app -> In the app choose Install -> method is: select and patch a file ( select the copied boot.img ) and start -> after finished, copy the "magisk_patched_***.img" from your phone to your pc )

- then with fastboot flash "the patched boot.img" to the phone's boot ....

- after rebooted it, you could grant root access via Magic Manager for the SELinuxModeChanger ....

- then set the status to permissive ;

About the safety, I found thiese for gathering information: " https://android.stackexchange.com/q...elinux-is-in-permissive-mode-what-should-i-be " ;

Sorry for the minor "grammatical" errors, my english is not perfect ...
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] silencshadow:
Ah okay, thank you, will look into it. Do you know how to raise the volume? The loudness is 25% less then my mates xz2c stock
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] 30jp:
Hello,

I have LineageOS 17.1 22 January updated with 29 January with OTA.

I have root with Magisk, Magiskhide props config and Busybox for android NDK.

Only now I can not see the new FastCharge preference into Battery settings.

I don't know if I'm doing something wrong, but everything else works fine.

No complaints whatsoever.

I only miss the Sony charging setting where you can specify what time in the morning the phone needs to be charged. But I now use a charger with less mA.

Thank you for LineageOS 17.1 for the Sony xz2c H8324.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Ermann123:
You could alternatively use the ACCA Magisk Module, and control it with the Acca App form F-Droid store. With this, you have also charging options (though not sure, if also with time control)
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] 30jp:
Hi,

Thanks for the suggestion. Will have a look at it this week.

I have now put Magisk Input Power Control on it. Let's see how it works out, then I can use ACCA as an alternative.

Thanks for the advice.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Jesus is God Almighty:
So this system has its own Kernel right? And then you guys install another kernel afterwards? That Gamma Kernel it seems. So what is the name of the Kernel in LOS?... Anyway... Just sniffing around.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] mod_terrik:
Anyone know if IMS works on this ROM with T-Mobile US? For stock, you need to flash the XZ3's OEM.sin files to get VOLTE on T-Mobile. Would like to know if those changes would stay if I flashed LOS after verifying VOLTE works in stock, or if it would wipe those changes away....

Thanks!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] ulogisk:
Pretty n00bish question... But I'll try anyway:

My vendor security patch level is 1. May 2020, is there any reason to update it?

If so, any other way to implemented than flashing stock rom?

If anyone would give me a short answer or link me to the right page that would be great!

Thanks!
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Glotzböbbel:
It's impossible to implement vendor secuity patches yet.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Jesus is God Almighty:
I am now running Lineage on my LGV20 H990N... Although not sure if everything works, I seemed to have a lot of issues in the beginning but maybe that is normal setup issues... although somewhat weird, but now it runs. I guess it might be setting things up, although it seemed to me to crash and did not understand what was going on as it is my first try.

So seemingly running stable now without issues, it seems it was just doing some setup things.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Jesus is God Almighty:
That was a disappointment, the browser was utter bull****, minimal nonsense and the sound did not sound so good from the small speaker and when I put it into the jack phone, it totally sucked with issues :/ Absolutely not going to trade my sound with that just to get A10. If anything I want to use the old mobile like a music player, and the issues with the Jack phone was just a killer and a total turn off. So now going back to my rooted A8 where there is no issues with that.

I might try Lineage on my other LG V20, another variant - but if the sound is as bad as it was here, then there is not much point in it.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] banannerz:
Hi all, I'm trying to install Magisk and need the boot.img file. Is the file listed here (https://androidfilehost.com/?w=files&flid=309552) the correct one I'm looking for?
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
That's expected, given the V's special DAC circuitry, which needs LG software.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Jesus is God Almighty:
Sad, very sad... It was just a terrible experience to say the least. I have returned to the Stock A8 and at the moment trying to install the DS version on both my two LG 20 that are different variations.

But I guess that what we have, the sound, when we support closed software :/

I just don't wanna give up that sound, kinda one of the main thing I am using my phone for - and when I get my new phone back, they will be, if anything used primary as players.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] landsome:
I have no idea about LG V series custom rom support (never owned an LG phone except for the Nexus 5X), but check to see if by any chance other custom roms are compatible with the audio software.

By the way, I had a HTC 10 and most of the excellent audio sw did not work on the custom roms, but at least HYTC did not have a secondary hi-fi dac, only good default amplification circuitry. I also had a Meizu 4 Pro, another 'audio phone', and then they managed to implement the audio tweaks in the audio software directly (I think via a Poweramp plugin). So it is possible - just rather unlikely.
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] banannerz:
Reporting a bug.

The auto brightness doesn't seem to work. If i try and change the brightness it seems that at random intervals during the day it resets itself to this one spot, about 33% of full. This is also reproducible when restarting the phone, it will reset itself to that same spot. If I switch out of auto mode and change the brightness, then switch back to auto mode, the brightness will change back to where i left it off, but after that, it will once again not respond to ambient lighting changes.

Build: lineage_xz2c-userdebug 10 QQ3A.200805.001 4b971e345e

Edit: so it looks like the phone is responding to ambient light changes. If it gets brighter, the display will automatically respond and get brighter as well. However, if ambient lighting gets darker, the display will only darken down to 30% brightness but no further. No matter how dark the room is, I have to manually adjust the brightness to go below that point. And again, at random intervals it will raise itself to around 30%
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] andreux481:
Hi, i flashed the rom and everything works fine.

But even though I got root with magisk I can't uninstall system apps as the system folder doesn't have RW permissions.

I can't even install TWRP because at every boot it always enters the lineage recovery.

Can someone help me?

I'm sorry for my english
[Sony Xperia XZ2 Compact ROMs, Kernels, Recoveries,] Ermann123:
After long idle time of not using the phone, connectivy over WIfi gets los.. This is reproducible.

Anyone else has this too?