yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] mali_zeeko:
Hi, yesterday I upgraded from LOS18.1 to 20.

It is possible to make dirty flash upgrade. I followed instructions from Upgrade to a higher version of LineageOS (e.g. lineage-19.1 -> lineage-20), but failed to install MindTheGaaps (version mismatch failure). From recovery rebooted to bootloader and installed LOS20 recovery. Rebooted to recovery, installed LOS20 without Factory reset + Format data / factory reset, rebooted to recovery again and successfuly installed MindTheGaaps for LOS20. Rebooted to system. Had to clean cache of Wallpapers app because it was crashing. Gave permission to access storage.

Thanks to drunk90 and others for their work!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Thanks. I'll check this out later. Still at work :-/
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] EzawaTami:
Take your time :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
For several devices the updater is crashing if the priority mode is activated while updating.

In the bug tracker they claim it's device specific, but different devices from different vendors having this bug.

Do you know if it's really device specific?

Also my clock in my statusbar is disappearing after some time and coming back if I swipe down and expand it.

Maybe its a crash.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
The prio mode in updater was fixed on 5th of January: https://review.lineageos.org/c/LineageOS/android_kernel_sony_sdm845/+/347023

You're right it was crashing on the first build from 4th of January but the 2nd build from 11th of January has the fix included.

There's an option to hide the clock on home screen afaik. Maybe you've enabled that? If it's a crash a log would be helpful since I didn't noticed such behavior on my side.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
thank for your reply

I restored my data, so how could I transfer them, including text messages, to my new phone, without crashing everything?

to remind, here is what happened to me today:

https://xdaforums.com/t/help-thread-ask-any-question-noob-friendly.2257421/post-88028051

what exact command lines might I type to adb transfer to old phone// laptop// new phone?

thank you!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Try the APP "Neo Backup".
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] GT500s:
Complete teardown of my XZ2c . Phone is dual sim so H8324 not H8314 . Problem is when i unlocked bootloader i flashed newest Android 10 stock rom but for H8314 because sim slot cover is 1 SIM . I think guy before lost original from dual and bought single sim . The problem with no sim and no wifi still exists but now at least i'm 100% sure of right model number . Is my xz2c completly down of mistaken rom flash or need to try all H324 firmwares ? Could it be that some hardware is broken cause wrong stock rom flashed ?

EDIT

SORRY EVERYONE . WRONG THREAD
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Hey, sorry that it took so long but I just added these in hope to fix the modem crashes for you: https://review.lineageos.org/c/LineageOS/android_device_sony_tama-common/+/348104

Let me know if it works so I can remove it from my todo list.

Also thanks for the github link which helped me a lot.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] EzawaTami:
Thanks! I've added the scripts several weeks ago and no random reboots have occured ever since. I'll update tomorrow and let you know if there are further problems, and you may remove it from the todo list for now ;)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Sorry for the late response to this. I've finally tested the audio balance settings. In my opinion this is how audio balance should work. Put the slider to the very right will only output on the right speaker while putting it to the very left will only output on the left speaker. Putting it just a bit right/left will balance audio correctly. So, I don't think this is an issue.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] HeshamAlaa:
Hi there I'm trying to update 18.1 to 20 on Sony xz2 but I can't

it gives me that the package is for product akari but expected h8296

Can anyone help me
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
update recovery first
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] HeshamAlaa:
I try to update the recovery but it didn't work what is the correct way to do that
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
check the wiki
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] HeshamAlaa:
I tried to do that but it didn't work what is the correct way to do that
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] scaniathe:
fastboot flash boot <recovery_filename>.img

fastboot reboot recovery (without usb cable, unplug when reboot before boot to recovery)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Any news?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] HeshamAlaa:
Is there any way to update without losing the data?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
This has nothing to do with recovery. Updating recovery doesn't wipe data. Check the wiki on how to upgrade: https://wiki.lineageos.org/devices/akari/upgrade
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] moto4user:
does anybody experience that "optimization" issue with killing background tasks?

E.g. I can't really use two tasks simultaneously: Osmand (foreground) and any audio player (background) - background tasks get killed after 10-20 minutes. I know that "dontkillmyapp" page, all optimizations, that I could find, are turned off.

Is the workaround with "xposed + eternal lock" the only one which really works?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Ermann123:
Similar here!

When running - I assume - poorly programmed and memeroy hungry apps, some of the resident apps geht killed after a while. Really annoying behavior... But it occurs on several devices with differant lineage roms
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] bromanbro:
I would guess it's due to Android 11+ taking more RAM
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] moto4user:
so, LOS 17.1 (Android 10.0) would help? :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] bromanbro:
Uhh I wouldn't run outdated LOS lol...in that case you may just as well rollback to stock. I could be wrong about that being the cause of apps closing, but A11 stuff like scoped storage increased RAM requirements.

That said, pixel 3a has 4gb and was upgraded to A12, so not sure if it has the same apps closing issue.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] EzawaTami:
Working like a charm(y)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Ermann123:
After weekly OTA update some apps that require login are prompting again for the password suddenly
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you. That was the cause.

This feature was automatically enabled.

(I did a fullwipe before upgrading to los20)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
hi :)

I have a little question for the expert you are ;) :

I earned those days that Volte looks like to be working as the contrary of a norm/standard : means each manufacturer have to agree with the manufacturer, for each model, each android version, to make volte working well.

if they dont talk, it cant be working. Mean it's like a proprietary/secret solution.

but

does latest android/lineage updates could add the VoLTE information regarding all operators in the world to make it supported?

or could users do it?

Looks like all 4G models phones in the workd could run volte if they are well software configured by either manufacturer and service provider. For the olders, mean they will never take the time to do it (instead of having volte for every lte device or none), but can the lineageos developper, or the end user (the subscriber) update himself, or asking to his provider, to do it?

it would be very nice to make wowifi/volte enabled on all LTE phones.. thank yu for your reply :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you but I am not an expert, I just had some free time some time in the past. xD

Sadly the TAMA devices have distinct stock vendor images with region specific mobile operator information.

But sony changed it for newer devices, so you don't need to install a matching region anymore.

Sadly I forgot if you need to flash a matching stock firmware first before switching to LOS 20 / SODP

It depends if the distinct partition containing the operator specific stuff gets overwritten by custom ROM.

If yes it doesn't matter which stock firmware you flashed before jumping to a custom ROM.

It just needs to be the newest.

As example the Xperia 1/5 IV. There you probably just need the "Customized EU UK" firmware.

PS: On my XZ2 here in Germany using O2 VoLTE works.

I am just unsure if VoWIFI works.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
well, I have the h8216, plus E5603 and e2333; I was wondering about how to parameter android to make volte working?

what if I do so with operator services even abroad, for each country?

itss mainly for europe, france (free/orange/byg/sfr) plus paneuropean networks..

no way to force it out in android?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
From what i can tell is: We/I don't ship firmware. For example the mbn files containing the operator specific stuff are part of that. I only ship the modem configs which simply contain the path to the mbn file to use. So it's important to flash the latest regional stock rom before switching to LOS.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] smanet:
Hi there! I started with tinkering with XZ2C I had laying around, with a stock 10.0 firmware.

So I got to unlock the bootloader and went through all the install guide, but ... I can't get past the recovery image, I mean, I get stuck in a bootloop, with no recovery at all. @MartinX3 past work got me saved, with TWRP recovery. What am I missing?

Thanks all!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
The easiest way would be to flash the stock firmware on both slots (you can change the slots with fastboot and flash them with xperifirm).

But please use your region firmware for VoLTE.

Then flash the boot image like described here https://wiki.lineageos.org/devices/akari/install and then boot the recovery to install the LOS20 zip file.

Also you should boot the stock firmware once until you see your apps to make sure your modem has the newest update.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
how would I do?

last region firmware?

i have changed from stock to lineageos to ungoogle my phone ; well, somebody told me with github.com/sonyxperiadev it could work, by changing modem config files switch, per sim slot

i dont understand it so much, but I followed the official lineage how to of their website.

I dont have free mobile volte (released in 2021/22) working yet.

please notice that ISP provider said that "samsung and sony are not going to "work a second", on all of their device solt before 2021" to implement free mobile volte.

it's a huge, for me toward beyond simple boycott of those two brands, imho (forever), making those phone forever out of volte working. Even if all LTE devices, few or several years old, could electronically work with it !

but if you find a way to "update" those modem files", by backing up lineageos20 original ones, or just by not reinstalling the whole phone, Im willing to try the attempt =)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] casouzaj:
Any chances to have face unlock included in any future build?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] smanet:
Thanks Martin! About the stock firmware: can I flash a H8314 (in my case, IT one) on H8324 ? I don't mind having a second SIM, but as far I can remember, I couldn't use VoLTE with original firmware (FR one). Just to tinker a bit more, I flashed the CET1... sometimes, Italy is considered in Central Europe! :D

Just to put it down, I did:

download a firmware with xperifirm

download newflasher and put it in the firmware folder you downloaded

phone powered off, keep pressed vol down and plug the USB cable

start newflasher, follow the messages

power up the phone

To change partition, in fastboot mode, use "fastboot --set-active=a" (A slot) "fastboot --set-active=b" (B slot)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
hey

looks like yu are the official maintener of lineageos official on XZ2/akari ;)

how could we get working vowifi and volte on lineage 20? or to check who are the operators presents in the ISP list supported for this device, runnig lineage 20?

thank you
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Check the SonyOpenTelephony notification to know which modem config is used against https://github.com/LineageOS/android_device_sony_tama-common/tree/lineage-20/modem-config
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] smanet:
Installed! Working great!

It's not my dialy phone, so if in need for a test... just ask!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
thank you, but..

how, with such information, could we use this?

mcfg_sw/generic/euro/hutch/vlvw/dk/mcfg_sw.mbn

mcfg_sw/generic/euro/dtelekom/vlvw/cz/mcfg_sw.mbn

it's a file for each ISP provider in the worldd?

how could it be injected to lineage?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
It can't be injected. Those mbn files are part of the sony stock firmware. We don't ship firmware. That's one of the reasons you have to flash latest stock for your region before switching to LineageOS.

EDIT: The only thing which can be done is adding more modem configs like S123.4 and add the correct path to the corresponding mbn file inside. If you're missing some config but the mbn file exists you can try to add it if your device is rooted to test. If it works I can add it to the rom.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
well, I dont undersand everything

I have few questions :

a/ how to list specific country ISP within github?

b/ old older phones, 2018 and before, whom get not updates anymore since a while.. how to get this working? I have several xperia devices older than XZ2, whom systems are "up to date" since few years ; how to update them anyway?

c/ Im looking for the ISP sony declined to update.. I dont see it in the list

d/ are you a sony engineer? :D

thank you!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
a/ that's not possible afaik. you could clone the repository locally and use some grep stuff in linux maybe

b/ you cannot. just an example: vendor V stopped updating its device D in 2020. now provider P adds VoLTE/VoWifi support in 2021 but the mbn files in latest firmware of device D are outdated because they don't contain the VoLTE/VoWifi support. There's no way to update them afaik.

c/ sony doesn't decline to update any provider configs. sony just stops updating the device and thus it's not getting any changes anymore

d/ no
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
a/ yes, mbn files are binary firmware files for the modem. sony or maybe the modem manufacturer creates those mbn files. sony stopped providing firmware updates for the tama platform in march 2021. so asking for any updates in october 2021 will for sure be rejected since these devices are not planned to receive any further updates.

b/ you cannot write binary files without knowing any low-level hardware stuff about the modem. if you can get those mbn files somewhere, feel free to try it (at your own risk!).

c/ no, this whole modem/radio config stuff is f*d up

d/ i don't think so
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
hello

thank you for answering

a/I was thinking, about those volte ISP blob : it an be done by sony or.. qualcomm?

b/why volte is just not a simple text conf file, could be brought within the phone just by the users, like for apn?

c/how sailfish have succeed to make free mobile volte working on their phones, on xperia?

d/ newers xperia does have the free mobile volte working?

if I uderstand well, even with blobs of recent android or lineage versions, those volte profiles cant work well with 4/5/6 yeas old xperia?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
a/<<a/ yes, mbn files are binary firmware files for the modem. sony or maybe the modem manufacturer creates those mbn files. sony stopped providing firmware updates for the tama platform in march 2021. so asking for any updates in october 2021 will for sure be rejected since these devices are not planned to receive any further updates.>>

maybe, as the LTE norm asks for every LTE device could do volte : lets force them.

even apple pushed volte to their lte device...

I think we must try to sue them for abandon of LTE devices...

btw:

b/ I activated encryption on my lineage ; but at startup, it's not asking for a locked pin? it was doing so with huawei, without pin lineage was not starting.. is not normal?

c/ why dont we try to put our own volte system? what about those guys?

About sysmocom background and company culture

Free and Open Source Software sysmocom was founded by two veterans of the Free / Open Source Software (FOSS) community. As such, from senior management down to every engineer we truly understand FOSS

www.sysmocom.de

First steps in VoLTE support for Ubuntu Touch

ubports.com

https://www.jeroenbaten.nl/UT-VoLTE-proposed-technical-architecture.pdf

sailfish looks like to made it well.

d/ btw, what are the best lineage roms for xperia e2333 and E5603? thank yu =)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
well, there is a good reason for them to do :

they're supposed to be LTE/VOLTE-norm compliant for all LTE device they solt ; the good reason to update all (or give instructions to do simpler), is that they have to do their job.

for me, it's either the manucaturer, or the customer, who pays this lack of feature well functionning. The next step, I think, is a class action. I guess lot of french free mobile subscribers cant await for a new brand or new model to get volte working. iPhone 4 users have sued, and won, against apple for job badly done.

it's sad, but it's the reality.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
well boys, I just learned few hours ago that the missing ISP freemobile is well present in the Xperia 1 IV models.

it has been released mid 2022, while they now have that isp volte on it. At least.

how would it be possible to export that profile?

thnk you a huge =)

Xperia 1 IV (XWCT-754)

Xperia 10 IV (XQCC-54)

are supposed to be okay wih it
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
explain me how, Id like to test it this weekend =)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
Im pursuing my quest into free mobile volte/vowifi regarding olders models , solt before 2022 :

someone suggests me that :

<<I think you need to find an expert on .mbn files or do a lot more reading. This is only a guess, but if we assume the VoLTE data is “multiplexed” (?) with the 4G/5G data, then a driver for a phone without VoLTE could be substantially different from an updated driver for that same phone with VoLTE support…if VoLTE is mostly handled on the finrware level, not the OS level.>>

how could I find a such possibility?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
From what i read you're still trying to add mbn files from other phones. Since these are binary firmware files specifically for the devices modem they won't work on other modem hardware.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] smeakush:
Ive got a problem with bluetooth. My headphones connect without any unusual behavior but when i play a mp3 file or yotube video it just pauses after 5 to 10 seconds. When i press play again, the sound plays from my phone instead of my headphones. My headphones are sony wi-c310 and they work perfectly with any other phone i connect them to. Updating the phone, resetting bluetooth settings etc does not work, no fix seems to work for me.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Can you provide logs please? Also try to disable hd audio (if available) and see if it workarounds the problem. If yes, let me know so i can buy them and see if i can fix it.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
yes, because it's a bit my quest :

having free mobile mbn file, and findiing a way, even asking to qualcom guys, to get it worked in my phone (supposed to be the sony job) to have volte/vowifi working. As LTE standard, says.

do you know where is the lineageos repo/git for both

Xperia 1 IV (XWCT-754)

Xperia 10 IV (XQCC-54) ?

I thank you vm =)

sorry for being so determined ;)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
There's no LineageOS for both of these devices. But you should check the official firmwares from sony anyway since they contain the mbn files. Check xperifirm here on XDA. But as said: They won't work on tama platform since the hardware is different. And these are binary files you cannot just edit. I don't think you'll receive any (helpful) response from qcom.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
thank you for your reply

it's very surprising that no freemobile ISP file has been publicly made. I have not only XZ2, but two others, olders, LTE.

maybe we could work on tama for them? It would be a good societal/ecologic initiative ;)

for qualcomm, for sure if I dont try, I wont get anything. That, for all manufacturers.

edit: I have tried with xperifirm, unfortunately it doesnt get DL any version anymore.. and the thread I saw on xda says on his last comments, since 2023 (or before) that tool looks like to encounter issues for any download. On my side, I tried with three different windows computers, no way to get anything..
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] bromanbro:
Yeah it's rough that carriers block volte based on regional firmware. There isn't much that can be done, especially if stock doesn't give volte (or if the carrier didn't release a10 for their region). Modem firmware is 200% proprietary so it's not something that can be edited...lest without being sued. If your region is dropping 3g calls and doesn't have a10 for your region you'll need stock FW to use volte.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nextgoodone:
@dtrunk90 Hi. I can confirm problem on the last LOS build. Unfortunately I've sold my XZ2 few days ago (for 1 III :D ), so I can't provide logs. My headphones were Sony WI-C200 and when I played any audio, after about 20s it paused and did not disconnect but after hitting play button, audio was playing from speakers.

EDIT: I had LOS with only Gapps and Sony fingerprint for safetynet.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] scaniathe:
I download last update via OTA and start install but phone shutdown and now i have black screen i can not start phone 🤔
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] osa355:
For me, the OTA update went through correctly and the smartphone works fine except for one thing. It doesn't connect to my Sony SRS XB40 Bluetooth speaker in the Music center app :/ This speaker works fine outside of the app.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Are you able to get into fastboot mode? In such cases you can try to switch the slot back to the previous working one:

fastboot --set-active=a

or

fastboot --set-active=b

depending on which slot the working slot is.

And then re-do the OTA update.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] scaniathe:
Phone wakeup alone after 2 hours and update install correctly. Strange things 😁 after this i reflash system via recovery. I used this phone only for flash different custom roms for different phones 😁

I don't understand these slots. It's like there are 2 systems or 2 partitions?