[ROM][13][pdx206] LineageOS 20 for Sony Xperia 5 II [OFFICIAL]

Search This thread

kopap

Senior Member
Dec 23, 2010
135
38
Komotini
OnePlus 6T
Sony Xperia 5 II
Hi!
Quick question: Does this ROM pass SafetyNet if I don't install any root tools like Magisk?

Just out of habit I installed Magisk and have been fighting SafetyNet ever since. But I don't really use root for anything, so I would be able to live without it just fine.

Then I read somewhere that official LineageOS installs pass SafetyNet by default if you don't install Magisk or any other root-related apps at all. Could someone please confirm or deny this?
No official lineage rom passes safetynet
 

owlery_hk

Senior Member
Dec 9, 2016
74
26
Sony Xperia 5 III
Has anyone else had this problem where the lock screen does not appear properly, and is overlayed on what ever screen you were on before turning the screen off?
This happens to me intermittently seemingly at random, andI am unable to unlock the phone.
Only way to exit the screen is to reboot the phone.


unnamed (1).png
 
  • Like
Reactions: ogi96

javiwz

Senior Member
The Google pay stopped working after some days, I installed the shamiko, disabled the deny list, the safetynet all passed, but G Pay still not working...
 

Attachments

  • Screenshot_20230602-011650_Yet Another SafetyNet Attestation Checker.png
    Screenshot_20230602-011650_Yet Another SafetyNet Attestation Checker.png
    160.8 KB · Views: 52
  • Screenshot_20230602-012347_Servicios de Google Play.png
    Screenshot_20230602-012347_Servicios de Google Play.png
    504.8 KB · Views: 52

ogi96

Member
Mar 4, 2013
45
19
Sony Xperia 5 II
Has anyone else had this problem where the lock screen does not appear properly, and is overlayed on what ever screen you were on before turning the screen off?
This happens to me intermittently seemingly at random, andI am unable to unlock the phone.
Only way to exit the screen is to reboot the phone.


View attachment 5921589
Happens to me sometimes. This bug first appeared in the Android 13 QPR2 update(build 20230324). You can bypass it by opening and closing the camera.
 

Trip_180

Member
Feb 24, 2023
27
5
I only got one report complaining audio not working on pdx203 in gitlab issues and when I asked for logs, the person reporting the issue is not providing one, so I didn't think much of it.

While I am not able to reproduce the issue locally, I have provided some steps and possible fixes in your gitlab issue, can you please check them out and report them in the gitlab issue?

Much appreciated, and sorry for the late reply.

EDIT:
I think it would be better to also add some background information here (might not be very accurate).

Devices like Xperia 1 II and Xperia 5 II have an amplifier built-in named Cirrus Logic CS35L41, and it needs to be kickstarted and calibrated before it becomes full functional.

In current Lineage OS, the calibration part copies the code from SODP (Sony Open Devices Project) [1], and the calibration is done at boot time, where the amplifier will enter calibration mode, play silence music for 2 seconds, and then we can have the calibration data by reading the amplifier's internal state.

The problem why the speaker does not work in your devices is because something goes wrong during the amplifier calibrates itself, as I can see in the logcat. However, most of the devices will successfully play the silence music for 2 seconds and finish the calibration. So I am not able to determine why your device fail to calibrate that way. And if your devices' amplifier cannot be calibrated by playing silence sounds, it will fail to play any music through your speakers.

So instead of doing this self-calibrating step, the (possible) fix takes another approach, where it loads the factory calibration data directly from the TA partition. This is how audio is calibrated in stock.

Again, since I can't reproduce this problem locally, and considering this problem does not happen in most of the users, The fix may or may not work, but it does not require the amplifier to play the 2-second calibration sound and calibrate itself, which causes your problem.

The related patch is now on LineageOS's gerrit, if you want to take a look:

[1]: https://github.com/hellobbn/vendor-...mmit/16e5da4f90f9766a06f4701e0af67bec23863298
I want to emphasize again that it is not us as maintainers being lazy. Your problem is actually not a very common and general issue, since most of the device can calibrate the amplifier successfully and it remains unknown why your device fail that step. If we can't reproduce the problem locally, it would be very hard to find the root cause.

CC @Trip_180 if you are still interested
Hi, I thought I answered a few months ago but forgotten it. I tried the patched test build and the speakers still didn't work and I gave up because it's my main phone and I couldn't continue testing. Do you know if the problem has been solved? I read in the thred that a third user had the same problem
 

Trip_180

Member
Feb 24, 2023
27
5
XQ-AS52 qui, sfortunatamente sto riscontrando anche il problema con gli altoparlanti non funzionanti (l'auricolare per le chiamate funziona). L'ultima build e il 2023-03-17, lo stesso problema e anche la build 2023-03-16 con patch collegata sopra si comportano allo stesso modo nel mio caso.

Ecco un logcat completo dal momento dell'accensione, nel caso in cui sia d'aiuto: xq-as52-logcat.txt

Anche il mio numero di modello cambia in XQ-AS72 dopo aver eseguito il flashing di questa ROM e tornare allo stock utilizzando Newflasher è nella migliore delle ipotesi pignolo: l'unica cosa che ha funzionato l'ultima volta è stato ribloccare il bootloader e ripristinare utilizzando il compagno Xperia.
hi, did you finally find a way to fix it?
 

clfbbn

Senior Member
Mar 29, 2014
109
103
Hi, I thought I answered a few months ago but forgotten it. I tried the patched test build and the speakers still didn't work and I gave up because it's my main phone and I couldn't continue testing. Do you know if the problem has been solved? I read in the thred that a third user had the same problem
No it hasn't been resolved yet, sadly... Seems there is something wrong with the amplifier, but i have no idea why.
 

Nightmare_19

Member
Jan 29, 2023
27
0
In recent versions, the phone will appear inexplicably out of signal, and then, the system crashes and restarts!
 

ArKov47

Member
May 13, 2017
5
0
Good day to all! Such a problem: I put this firmware on SOGO2. NFC does not work (it is displayed in the quick settings, but it does not work). How to solve this problem?
 

kyasu

Senior Member
Sep 23, 2012
665
3,098
Tokyo
Good day to all! Such a problem: I put this firmware on SOGO2. NFC does not work (it is displayed in the quick settings, but it does not work). How to solve this problem?
Please provide the following information.
Code:
$ adb root
$ adb shell getprop vendor.radio.ltalabel.model
$ adb shell getprop persist.vendor.nfc.config_file_name
 

2okPze5.png

LineageOS is a free, community built, aftermarket firmware distribution of Android 13, which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

Instructions

Please read 'Install LineageOS on pdx206'.
  • Flash Gapps (MindTheGapps-13.0.0-arm64 is recommended) as add-ons. That is, after flushing LOS, reboot into recovery and flush Gapps.
Enjoy!

NOTES

Downloads
https://download.lineageos.org/pdx206

Sources
https://github.com/LineageOS/android_device_sony_pdx206
https://github.com/LineageOS/android_device_sony_sm8250-common
https://github.com/LineageOS/android_kernel_sony_sm8250

Contributors
LineageOS team

ROM OS Version: Android 13
ROM Kernel: Linux 4.19
Based On: LineageOS
Status: Stable

Created 2023-01-07
Last Updated 2023-02-11
I'm new to xda I don't know if I should ask this here..I'm using xperia mark 5 ii in India there is no volte support can flashing lineage os gives me volte?
 

Yoannjap

Senior Member
Sep 20, 2017
87
11
Sony Xperia 5 II
Hey, does someone got this problem of fingerprint recognition not working after 14h~24h after a reboot? Vert painful for me, I have to reboot my phone twice a day...
 

Top Liked Posts