yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] kenichioshima:
Hello, I like your development of lineage OS 20 for xz2 very much, I would like to ask if there are any plans to develop and maintain lineageOS21 for xz2 at present
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
It's planned but no ETAs
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] XceleratedGamer:
@dtrunk90 i noticed that your tama sony camera magisk module has worse processing than the stock sony camera and it does not have manual mode and video stabilisation like stock. could you make a new version with these things added to it?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Hey, sorry for the late response. I missed your post in the past but added the modem config file now: https://review.lineageos.org/c/LineageOS/android_device_sony_tama-common/+/389065
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ngasbr:
Thanks, it works (Volte).
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
This ROM is now EOL. LineageOS 21 will be officially available on 2024-05-17.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
Hi all,so just a quick question to those who already have LOS 20 installed and running. Has anyone checked to see if we can get a working TWRP recovery working with LOS 20 or is this still not a possibility?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Better wait for the official release if you don't want to flash again. That's just for testing. Twrp is not supported.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
Okay,got it @dtrunk90 but do you think there will be a possibility for a working TWRP with the stable LOS 20 release?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
I won't do any twrp work and i won't support ppl using it. That's not a "i don't like it" thing. More like a "i'm not the dev so i'm not responsible if anything doesn't work on my rom".
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] scaniathe:
going back to charging, it's the fault of the usb socket, not the system, also sorry for unnecessary spam
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
No worries. Thanks for the response. So i can remove that from my todo list.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] scaniathe:
basically, I had no problems with 20, everything works beautifully, but I can't reinstall it because I have no way to upload recovery, I'm on the road, I went back to 19 because of charging but here the same after checking other cables, it turned out that the socket or tape must be replaced regards

the only thing that annoys me is the volume sliders, in my opinion they don't fit the xperia, these rectangles would be better
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
Hi,can someone please help me? I have now tried everything i know of but the result stays the same. ADB will not find and flash the recovery image. I keep getting the error "cannot load 'recovery.img' : No such file or directory. The .img file is pasted in my adb folder,i have tried with the original file name of lineage 20.0 and added .img,tried it without .img, i have remamed it and tried to even drag it to command prompt and nothing is working. What is going on?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
You're in system32 while running the command. Change into your adb folder with "cd" command.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
@dtrunk90 thanks
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
Hi all, so i updated to LOS 20 yesterday on my H8216 XZ2 and so far it is problem free. No freezes or apps force close etc. The only problem i have found is still with the sound levels. There is no stereo seperation when adjusting the balance slider to the left in accessibility menu.

When adjusting to the right,only the right speaker has sound but when adjusting to left,both speakers play at very reduced volume. When stereo slider is center the left (top) speaker plays very soft and right (bottom) speaker plays with proper volume. @dtrunk90 please can this persistant sound issue be fixed now that is present since LOS 18 build already.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] scaniathe:
I don't have this problem. Maybe You speakers need replace
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
It is not my speakers. I went back to stock firmware briefly and there i have no problems. Anyway,i am not talking of distorted or crackling speakers here,i am talking about the stereo which does not work correctly
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] scaniathe:
try install viper4android
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] osa355:
I haven't had this problem on any version of LineageOS either. Maybe seriously one of the speakers you have damaged or a lot of dirt in one of the speaker holes.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
Okay so a damaged speaker that plays perfectly,just soft and wont play when sliding balance to the left in accessibility menu on LOS and has perfect volume and so on a stock rom with no problems at all. Does that really make sense?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] scaniathe:
try install viper4android reborn module maybe you have broken drivers
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
I doubt it but i will give it a try. I feel it is an LOS issue since LOS 18 now. All sounds and works fine when i go back to a stock rom.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
It's already on my todo list. Please be patient since I'm doing this in my free time.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
@dtrunk90 thank you,i do know you do this in your free time. I just wanted to check that it is still going to be looked at so thanks,i look forward to it getting fixed
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] osa355:
As I wrote, I do not have these problems on LineageOS 18 as on LineageOS 20. From what Scaniathe wrote, he also did not have these problems. It's weird that it works for everyone and not for you. As I said, it may be a hardware problem, not a software one.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
You clearly do not understand english it seems. So if it is a hardware isue,how then do both speaker work perfectly when i flash back to a stock rom if it is a hardware issue? Just because both of you dont have the issue or more likely,do not correctly understand the issue,it does not mean that it then simply does not exist for anyone else.

K,bye now
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Calm down everyone please. I couldn't check if i can reproduce it yet but I do understand what you mean.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
Thank you @dtrunk90 as long as you,who is working on building these Roms for our devices,understands the problem and are willing to help by looking in to the issue and hopefully can create a fix for it,i am happy and will wait until you have the time. It is a great rom otherwise and other than my problems with the speaker balance and volumes in accessibiliy menu,i wish we could get a better camera app as part of the rom.

Thanks again and have a good day further
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] scaniathe:
Womens 😁

I asked you to install viper4android the best for sound on android, but it's better to shout
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
She reported a possible bug, i didn't checked yet if i can reproduce so pls stop this discussion. it just doesn't make sense yet.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Hichem2006:
I mean, I had that issue since upgrading to stock Android 10, so I don't know how it can be a hardware issue
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] osa355:
It's interesting that since LineageOS 18 no one but you reported a problem and there were a lot of people here on the forum using roms from LineageOS 18 to LineageOS 20. People reported various problems but not about bad sound balance.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] osa355:
Do you also have sound problems?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Hichem2006:
yes. and as previously mentioned, I had them since upgrading to stock Android 10(locked bootloader at that time)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] osa355:
Strange..... Because everything works fine for me. At Scaniathe too. This is really very strange....?? To be honest, I'm stuck right now and don't know what to write.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Hichem2006:
ik a lot of XZ2 users who have this problem..so let's say ur lucky not to have it :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] osa355:
Well, that's how lucky it is :/
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Hichem2006:
hey, I tried to flash this ROM but everytime I flash the recovery image, it just hangs at the Sony logo. any ideas why?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
did you followed everything from the install instructions? the steps are the same for 20.0.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] scaniathe:
However, I managed to flash recovery without a pc and a second device, of course, bootloop, although the system is already working, so I went back to the tests, greetings
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] casouzaj:
@dtrunk90 ,your LineageOS 20.0 build is great. Thank you very much for it! It`s loaded in my XZ2 phone since last October. I thought you`d release a monthly build with Google` security patches. I`m not, absolutely, pushing you. Take your time, anyway.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
New build from today uploaded
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
hi,

thak you for this message

just :

a/ will it be your image, as the official of this andro/lineage release chosen?

b/ does lineage have few devs whom have xz2 so you're running a parallel initiative? or you do everything and then they check?

c/ how long could it takes between your image released on that thread, and the LOS makes it official?

d/ answer D may come later ;)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
I'm the official maintainer but LOS 20 is not released yet and I don't know when it will be the case. The official builds are built on LOS servers, signed with their key. This is an unofficial build which was built on my local machine and signed with test keys (that's why you get a warning from trust because of the build signature). That's the only difference.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
warning from trust?

you mean from bootloader?

or because I cant download anything?

I dont understand :x
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
@dtrunk90 can i update to new build via recovery? I do not have access either a Mac or Linux. Is a dirty flash possible although not recommended? I dont want to lose any of my current app data etc to update the build.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Update from previous 20 build? Yes, you can do a dirty flash in that case.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
Yes,from the previous LOS 20 build. Thank you
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Be more precise please. I can't answer if I don't understand what your problem actually is. Trust is an application you should know because it's in the notification bar after the first start.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] casouzaj:
There`s something really weird with the latest build. I dirty-flashed it over the October build. After it booted up, a lot of error messages of Google components missing. So, I flashed Nikgapps` full package (the same one I previously had). At first, without changing anything in Magisk setup, I couldn`t pass any of the PI tests. Then, out of nothing, basic and device integrities started passing. Nevertheless, my banking app requires that Google Play Services had SMS permission. Neither SMS, nor Call Logs permissions stick as active. As soon as I return to the previous screen, they both are shown as not allowed. Besides, Google News refuse to show any contents, and my multiple mail accounts in the Gmail app simply vanished. I wonder what I did wrong, or could have done differently. Any thoughts?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Trace.Oneil:
I had the exact same issue when i dirty flashed. Device even went into a bootloop after i eventually factory reset it. Eventually got it to boot back in to recovery. Wiped and factory reset in recovery again,it seems okay now. Will flash Gapps and Magisk today again when i get time and see what happens.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] scaniathe:
Thanks Boss 😁
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] osa355:
I also had to do after updating to a newer version from December Lineage OS factory settings through recovery because Google services stopped working and an error popped up. When the system started after factory settings, I didn't have any apks in it and the NikGapps package. Reinstalling NikGapps fixed the problem and now the system works fine. I don't use Magisk so I can't say.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Not sure why ppl use NikGapps if there's MindTheGapps (which is tested and supported by LineageOS) though 🤷‍♂️
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] scaniathe:
Because last version is 12L. I imstall Aurora and i have holy peace with google gapps
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
It's not. There's a MindTheGapps 13 build at my GDrive linked in the first post (where you downloaded the rom and recovery from) and there's also a 13 build on androidfilehost and mirror from LineageOS.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] scaniathe:
Not on the official website yet. Thank you
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Well, yeah because 20 is not official yet.

Here, these are the download links from LineageOS directly:

Downloads for : -Android- Generic Device/Other | 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.

androidfilehost.com

Mirror: http://downloads.codefi.re/jdcteam/javelinanddart/gapps

Both have MindTheGapps for 13.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] scaniathe:
Can You update updated build in first post thanks 😁
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
I've deleted my MindTheGapps builds on GDrive and added both links to the first post.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Hm? Because I didn't changed the "Last Updated" date?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] scaniathe:
order must be sometimes you don't want to read several pages and it's enough to look at one post for important info. Regards and thanks for the updates
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
hi guys

any idea when LOS 20 will be officialised? :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
No ETAs
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
First official build will be available in a few hours! I've already updated this thread so I don't have to do it later.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] binnoboiz:
how great is that!!! i can't wait for the official LOS 20
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] casouzaj:
Already running the official build. Dirty-flashed it over the latest unofficial one. No issues found, so far. Thank you very much!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
hi guys

I've tried to backup my previous huawei ale l21 p8lite 2015 alice from lineageos14 (andro7) to xz2 akari lineage20.

I backed it up , from huawei/adb, using as follow :

adb pull /sdcard ./

(to backup all the pics files voice memo etc)

and so for the apps :

adb backup -apk -shared -all -f backup-file.adb

it asks me a pw, I enter one

so I copied then to xperia, after fresh install of LOS20 (official since few hours),as follow :

adb push ./sdcard /

then to restore adb apps :

adb restore backup-file.adb

it asks me a pw, I enter it

its starts a new process on the lineageos, to restore

BUT

it stops/blocks/freeze process at

com.android.provider.settings

and that's almost ten times I do it back... it starts, but never ends.

am I doing something wrong? is there a bug?

I have developpers tools enabled/usb debugging enabled on both phones.

I think it's from the xz2, but I dont understand why.

btw, both phones have been encrypt-code locked from fresh install. Dont have any gapps installed.

thank you vm for help :)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] soulkeepermax:
I can not open nfc settings,once i choose to turn it on, it will turn it off immediately.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Japanese model?

See https://wiki.lineageos.org/devices/akari/
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] soulkeepermax:
Yeah,my xz2 model is 702SO.It doesn't matter if there is no solution. This is not a very important function.😊Thank you very much!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Maybe too early to say, but after the upgrade from 19 to 20 I experience that my memory leak, battery drain and sloppy device are fixed.

And finally my NFC works again with the better AOSP NFC.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
One issue is in 19 and 20.

It seems that the battery manager kills itself in deep sleep.

It takes some time until i see the statistics (blank ui until loaded) and I often see a cut in the batters usage diagram line.

So if it looses 1-3% in one hour deep sleep I see in the diagram a blank area until the drawing continues.

But also if later I look back into this battery manager diagram somehow android removes the empty spaces to fix the diagram.

Also in 19 and 20 there is a small issue controlling the brightness by swiping over the status bar.

If I swipe to the far left the dark screen becomes full bright, but if I open the quick settings the slider is on the left.

I need to touch this slider without moving it to get my screen dark.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Yeah I've spotted the same but don't know what causes this or if it's intended. I'll put it onto my TODO list and probably ask the other maintainers/devs.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Thank you

At least that means my battery is still fine :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Or both our batteries are broken lol
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Aaahhhhhhhhhhhhhhhhh
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] lm8lm8:
nobody? :o
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Please don't overwrite your A13 Apps with A7 System apps.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Spassd:
1 Noob Question and an Issue with my installation:

I flashed Android 10 with Newflasher as its told it needs A10 before Installation. How about making a new Installation of LOS 20? Do I then also first do factory reset, flash back to Android 10 and then install LOS 20 again? Or can I then also just install a new LOS 20 on top of old one?

And sadly it is not working for me:

Went from A10 with Newflasher and new Lineage 20 Recovery to LOS20 + Gapps + Magisk

But when I start up I can type my SIM PIN and afterwards when unlocking the lock screen it gets black. Then after some time restarts.

Now I installed again (no A10 before, no Gapps, no Magisk, no SIM Card inside) and now I just directly boot into a black screen ...

I can choose to allow USB Debugging at the first bootup but that s it ...

Correct Recovery and LOS so dont know why there is an issue? Also no errors when installing via sideload.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Did you flashed all sin files with newflasher? Which stock version did you flashed? Blobs are mostly from 52.1.A.3.49 so this is the recommended version. Flashing stock A10 before is required because we don't ship firmware. If you flashed it once before flashing Lineage you don't need to flash it again when upgrading. Also, did you rebooted into recovery after sideloading the rom? That's required because it'S an A/B device and you have to change the slot that way.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Spassd:
Sadly I dont even know what sin files are, but I can still clearly explain what I did:

1. Download Firmware with Xperifirm64 = H8324_Customized DE_52.1.A.3.49-R3C

I guess that is the only Firmware there so should be exactly what you told. Then put the Newflasher just inside the first directory and flashed by not keeping any data. So no idea if that also flashes sin files, but that s just the regular way that I did it.

And no I just directly installed LOS 20 after doing the copy partitions and also Gapps + Magisk.

Install LineageOS on akari | LineageOS Wiki

wiki.lineageos.org

Here I indeed see after the ROM I need to reboot into Recovery ... So will try now again. But do I need to reboot after every ZIP or only once after I did the ROM? From that link it sounds only once and then install all others.

Still now I installed ONLY LOS 20 and no other ROMs = rebooted to system directly and I still got stuck with the black screen :/
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Only once after the ROM:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Rachsutha:
launcher has a problem
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Which gapps package did you choose?

Redirecting…

If you're using something other than MindTheGapps that's the reason ;-)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] bromanbro:
Awesome glad to see xz2 on LOS20! :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] EzawaTami:
Hi @dtrunk90 . My XZ2 (H8296) is having random reboots due to modem crash starting from 19.1. Do you have any idea why this happens? Here's the log file:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] dtrunk90:
Which stock 10 version was installed before switching to los?

Was anything else installed in between stock and los?

Is there anything special to add (like airplain mode, no sim card present or such alike)?

Can you check if there's a modem.log somewhere (maybe in /data/misc/ril/bp-dumps/modem.log)?

Was there any hardware exchanged?

Any magisk modules installed or other addons like gapps?

At first glance it could be a kernel bug.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Yotoprules:
Hi, thank you for this hard work!

Is it possible to dirty flash upgrade from lineageos 18.1 to this version (android 11)? Or maybe to 19 then 20? Or is clean flash necessary?

Thanks!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] EzawaTami:
Thanks for the reply!

The lastest HK firmware 52.1.A.3.49 was installed before, and I did a factory reset before switching to los. I'm having gapps and magisk v25.2 with lsposed, shamiko and the sony camera.

There was no hardware exchanged, and I have one sim card and one SD card inserted.

I think the phone mostly reboots in areas with bad LTE signal, but I'm unable to find a modem.log. However I found a similar issue here https://github.com/sonyxperiadev/bug_tracker/issues/9

The last comment suggested some init scripts. Do you think that works, and where should I put those scripts (like init.sony-modem-switcher.rc)?