yashsingh1/xdaforums huggingface dataset:
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] bamdadkhan:
hi, i fixed my problem by manually installing magisk from recovery.. so i don't know but it works for me now. hopefully next OTA will be painless. too bad lineage now depends on their own shïtty recovery (EDIT: fück censorship). i miss TWRP and the ability to fix problems without adb and another device.
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
...I don't think Lineage depends on TWRP. The only problem is that TWRP does not know the public key of LOS and therefore will refuse to install the ota, but the system will do this anyway on its own...

And I think you could try to (re-)install the update anyways... I think...
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] dreDREb13:
Hmm, how strange. Still refuses to work. Maybe it has something to do with Magisk being installed as well? Though I also manually installed Magisk via recovery upon initial install, so I'm not sure what could've been done then that would affect install now.

Anyways, I've gone ahead and attached the log file for the latest attempt with the new Dec 7 package you made. Maybe it'll shed some more light potentially.
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
Okay, WTF? The log states the update was successful and also Magisk has been (re-)installed by addon.d?!

Could you make sure that the slot has not been switched? Just reboot after a successful boot of the (new) os into the recovery and check the "current-slot" entry. Then apply the update, reboot, reboot to recovery and recheck... When the slot changed everything is fine!
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] dreDREb13:
Keeps showing me as being in slot A. I'm coming off a phone which was before the partitioning method that's been implemented, so perhaps I've been missing a key piece of info this whole time. Apologies if that's the case!
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
I would have PN you, but you blocked that so:

Here just some notes, which may help you:

You begin in slot a.

Boot your phone and (re-)install the update

Reboot your phone for the update

Now reboot into the recovery. It should now display slot b as active (or vice versa).

Reboot and enjoy the update...

When you plan to install Magisk you, don't need to do anything as it should survive the otas by using addon.d

Hope that clarifies something...

P.S. Nice profile picture!
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] dreDREb13:
Hmm, it's very strange. I do all those steps but for some reason the phone doesn't want to boot into slot B no matter what happens. It's also being completely unresponsive in fastboot mode for me, so I can't even attempt to manually switch to slot B. I may just flash stock and try this all from scratch because it's quite puzzling to me.

For what it's worth I've opened up my messaging again, that way any future convos concerning this can keep this thread clutter-free. Thanks for bearing with me in the meantime!

🤙
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] bamdadkhan:
well i'd usually rather install the OTA manually than having to deal with LOS recovery : / but i get it that most ppl just want stuff to work : )

anyway i don't know what you did but until now updates were showing up a week late for me. now i checked and there's one from yesterday and also from dec 3rd. so something did get fixed : ))))

EDIT: btw OTA works now, but every time i have to reinstall magisk manually. don't know if this is a bug or not. also livedisplay doesn't seem to work. don't remember if it worked before..
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
OTA updates are intentionally delayed by 5 days, so we could test them and I can (worst case) abort their rollout... I guess I'll reduce this delay to 1 day, so it is not THAT huge anymore...

For Magisk: When you install them using the LOS Updater app it _should_ reinstall itself automatically (just logcat during the update, you'll see that Magisks installer gets executed as it would be by the recovery). I don't know what you mean with "manual install", but I guess you refer to the way over the recovery. When you do that the addon.d scripts seems to get ignored, so yeah... That's an other issue... Not for today :)
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] xdauserart:
Hey, thanks for the efforts! To report an issue, I have after installing 483676ac commit from master of Dec 8, 2020 2:47am GMT+0300.

GPS won't work for me in RunnerUp (shows waiting for gps message), Yandex Maps (no gps). Another app, GPSTest, shows satellites but does not show lattitue or longitude.

Some log from `adb shell logcat`:

12-14 13:40:45.476 26726 26726 V org.runnerup.view.StartActivity: StartActivity. - Pastebin.com

Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

pastebin.com
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
Ah yes, so it does not work at all? Damn it. I've already put that on my tracker (https://gitlab.simonmicro.de/android/lineage/lineage-pdx201/-/issues/15) but thought only some apps were affected. Currently I'm still waiting for the final fix for the notification led, but that will take some more time until its done...
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Thapsus-cz:
Hi, so far I have had problems with GPS, yesterday after installing the build from 11.12. (clean flash) for the first time, gps started working on the Strava app, which has so far reported no gps.
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] xdauserart:
Actually Yandex Maps worked with location identified based on GSM. Did not see it on GPS
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
I'm sorry for that - I'll be on it when ever I find time for this. But as always: The time before new year is the worst 😐
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] xdauserart:
Will reflashing software binaries from Sony help with GPS and WiFi issues? Probably it will install correct drivers or something. https://developer.sony.com/file/download/software-binaries-for-aosp-android-10-0-kernel-4-14-seine/
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
I seriously doubt that - the SODP binaries are for the open source drivers, so it is really possible that the drivers of the kernel wont work with their firmwares. Also the AOSP based on SODP by Sjll does work - so it is more a LOS thing.

But hey - you have backups! So a little test wouldn't hurt :)
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] bamdadkhan:
so after testing as a daily driver for a few weeks, i've come across some issues:

- full screen apps don't work: the setting reverts itself immediately

- livedisplay is crippled: night shift (or whatever it's called) does not work, nor is there even a setting for the display calibration to make colours more realistic (the 'natural' setting in iirc 'advanced')

- sound only works in calls when using the mic and the earpiece, switching to speaker makes the other party only hear garbled noises, headset doesn't work at all

- fingerprint unlock works but there is something broken with passing the biometric auth data to apps, e.g. my banking app says 'failed' immediately after saying 'fingerprint recognised', other apps throw similar errors

- battery light does not work: when testing the colours it's okay but nothing happens when a charger is plugged in

- wifi hotspot doesn't work: it turns itself off and says 'error'

i know it's possible these come from upstream, and there's always a chance that i'm doing something wrong. i did a clean flash a few OTA updates ago, and i'm not seeing these problems on my a5ylte with the same lineage version, but i'm using call recorder by skvalex and viper4android so these might have something to do with the sound issues.

i just wanted to document these so others know what to expect and maybe someone has ideas for a fix.
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
Hmmm, I can't confirm the following:

> sound only works in calls when using the mic and the earpiece, switching to speaker makes the other party only hear garbled noises, headset doesn't work at all

I've just finished a call using it.

> fingerprint unlock works but there is something broken with passing the biometric auth data to apps, e.g. my banking app says 'failed' immediately after saying 'fingerprint recognised', other apps throw similar errors

Lockwise works. Nextcloud works. "My O²" works. What apps you are having problems with?

> battery light does not work: when testing the colours

Yeah, we are still working on polishing the kernel driver. And making sure we don't break everything on older devices. Marjin was working on that, soo uhmm... Yeah. Idk whats the state on that...

I try to track the issues over here. But currently I'm full with other stuff and I have no internet since weeks... :cry:
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] adem_blackv:
@Simonmicro Hi

Does your ROM support GCam?
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
I don't think GCam has any special requirements, except the Google frameworks... So - I guess yes?
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] adem_blackv:
Yep

Full support of Camera2 API

As I know stock ROM and LOS from @Sjll doesn support RAW output and other options

Spoiler content hidden.

Here images what sould be supported for working GCam
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] adem_blackv:
@Simonmicro

Is it possible to add GCam support in your ROM?
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
What exactly do you want? The default camera of the LOS is already used (Snap). We could migrate it to Snap2, but this would "downgrade" the feature set of the app (loosing the qrcode scanner). When you want the Google Camera you should be able to just install it using the Google Play Store or just download the respective apk and patch the config as already by @Sjll done for her version of the rom.

I would like to not include it by default, as the main goal of LOS is to be clean from any Google stuff by default. Also this version of LOS tries to maximize the used Open-Source code, which would also interfere with this goal.
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] KriiXOne:
It is already supported, grab the config from SODP-AOSP thread and put it on any google camera mod apk, Nikita seems to work the best for me
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Estebanium:
Is there any known issue with WhatsApp and voice messages? It is not possible to hear and voice messages. However it is possible to hear Signal voice messages. Moreover mobile data is not working. The howto was a bit confusing. At step 9 I was in the recovery, but I had no idea how to flash Boot, vendor and such. I then booted to bootloader, but that seemed also wrong. Finally I was able to flash it in fastboot.

Edit:

Did I get it right? I can sideload just the OTA package in step 9? This seams strange to me, because to that point there is no system installed.
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
@Estebanium

At step 9 you are booted inside the LOS recovery - this recovery allows you to install zip files. As I do not provide any incremental OTAs every ota contains the system, vendor, recovery and so on by itself. When you then run the installer of this ota (by installing it via recovery) all these partition will be flashed simultaneously.
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] xdauserart:
I updated using `adb sideload ` and https://gitlab.simonmicro.de/androi...obs/6519/artifacts/download?file_type=archive (found at https://gitlab.simonmicro.de/android/lineage/lineage-pdx201/-/pipelines for master branch). Now org.linegateos.snap camera won't tak e pictures and freezes. Before the update it took pictures and Open Camera didn't took and froze as now LOS camera does. Thanks

Here last messages from `adb shell logcat `. Actions were: open it, press take photo icone. Result: it flashes, shows picture on the screen, then freezes.

02-13 11:25:22.851 642 1233 I mm-camera: <MCT >< INFO> 4458: mct_pipeline_p - Pastebin.com

Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

pastebin.com
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
The picture problem is know - and I must admin it is surprising it worked at you at some point! I've got it on my list, but I can pnly fix it the next time I've got time, so yeah - check out the progress over https://gitlab.simonmicro.de/android/lineage/lineage-pdx201/-/issues/16

Thanks for your report.
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] waveBidder:
When I was installing this on Saturday, and I found this a bit unclear. I was able to install nano but not micro (micro installed, but the phone wouldn't boot and said it was bricked. Cue panic. Re-followed instructions w/nano instead and no problems).

I freaked out a bit when the GPS wasn't working, but turns out my house just kills the signal. Was working fine for either maps, osm+ or Fito track when out from under the rock. The front camera is working for open camera but not the default camera as above.

My fingerprint reader isn't working for Keepass2 to do quick unlocks (ironic, as that is actually the only thing that really needs it). It looks to be some sort of Java NullPointerException. Copying it proved somewhat difficult (can't just highlight it for some reason). Lmk if the details would be useful and I'll see if I can figure it out.

More that all that though, thanks to all the devs working on LineageOS, and particularly Simon and Martin for putting this together and Simon for maintaining, and Sjll for her work on this ROM and the 18.1 one! Its a real quality of life upgrade having this available. Y'all are awesome.
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
The OpenGApps sizes are pico < nano < micro and so on. I'm sure that pico works, as I use it myself and (based on the size) also nano should work. I know that micro+ is broken - but as I said, I do not want to increase the system image size more to keep the update (and packages) small...

Hehe - same for me (gps). The cameras are still fun... Somewhere is some config screwed up... Also somebody (...) told me that the camera2 HALs are beyond messy...

Okay. Nett2Know... I'll add it to my issue list. Damn it...

On behalf of the whole team: Thank you 😄
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] waveBidder:
So after having done an update, where I had to manually flash all the things (neither the actual phone updater or adb sideloading worked, and I had to re-install updated gapps), the other party can only hear me if I have my bluetooth headphones connected, which is rather awkward for answering the phone. Strangely, as with the other user, Signal works fine for phone calls. If there's anything I can do to help debug, lmk.
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
Hmm, could this be a problem with the embedded devices firmware? Could you flash back a new version of stock, boot into the a/b slots and wait a while, so the embedded controllers get updated? Also which software binaries version are you running?
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] bamdadkhan:
anyone else having problems with the latest OTA? it boots then immediately shuts down. lineage recovery is a crapchute and says i need to reformat, but changing active slots - essentially going back to the may 10 release - works.

i'd like to know if this is reproducible by anyone..
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
Shoot, I can confirm! I had not yet restarted my phone for a while and therefore not noticed that yet. I'll take it down ASAP and look further into it (I'm also restoring an older version of it). Sh*t!
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] bamdadkhan:
thanks : ) let me know if i can help in any way..
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
Okay. Fixed. I've recently switched to a whole new repository architecture and somehow messed up a path for the SELinux permissions. So let us just not talk about this https://github.com/Simonmicro-Andro...mmit/470a6588ca88ff8554ee6e7ecb09e7aad3566bb1 stupid mistake :P

I'll retest the next branch this time, before blindly merging into the master (which was a mistake for itself).
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] bamdadkhan:
umm i really don't want to nag but in the latest (jun 13th) update signature spoofing got turned off? is there any chance you could re-enable it?
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
It should be active, but as I've switched to a whole new build structure, it could slipped through - could you retest with https://gitlab.simonmicro.de/androi...obs/7529/artifacts/download?file_type=archive ? As it is the newest build and should contain all latest patches.

No problem - after all I'm sorry for all inconveniences and I'm not able to test all features for a new release, so I'm happy when someone notices any problems and reports them!
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] bamdadkhan:
sadly, it still doesn't work:

i don't know what is the problem really because it says it supports spoofing but then it does not work. i didn't change anything, and even tried reinstalling microg.

EDIT: upon further investigation the problem seems to be that i somehow lost root : ( should i flash the stock lineage root zip again or does this have something to do with your build?
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] bamdadkhan:
okay so flashing magisk back fixed the root issue, but the signature spoofing is still off.

EDIT: you probably already know, but maybe this helps: https://github.com/microg/GmsCore/wiki/Signature-Spoofing

according to this there are some ROMs where this is implemented as an additional per-app permission setting or a global one in developer options. maybe the functionality is there in newer lineage OS builds but the GUI part isn't? i'm just guessing here, i'm not a developer.

EDIT2: i reinstalled the 06-09 OTA and this fixed my problems immediately. please reply if you have a new build available and i'll try to test ASAP.
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
Wait, so the signature spoofing is now working or not? I'm confused.
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] bamdadkhan:
no, i went back to an earlier one. please see the screenshot above for what happens on the latest build. really weird.
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
CONFIRMED - I have somehow messed up the local_manifests to not include my patched frameworks base. I'll fix, rebuild and report back ASAP. Sorry for this - the whole time I assumed I messed up the patch itself...

EDIT: I forgot to push it. That's embarrassing...
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
Okay, fixed (and confirmed using an app from F-Droid) - OTA will be released soon.
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] bamdadkhan:
thank you. you are a gentleman and a scholar.
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] bamdadkhan:
sooo is this ROM abandoned now?
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
Yes and no. Is it still my daily-driver? Yes. Have I any time to fix the current OTA builds? No. Any time to port to LOS 18+? Also no. So, I promise that I will update the post when I intent to not maintain this port anymore (and then also switch my daily-driver), but for now there also won't be any updates, as something somewhere upstream broke again...

A bigger problem is that I do not want to break anything with future updates (sjll had some great additions, but they would need a reformatted data partition) and therefore also have to go that extra step of ensuring this - which take even more time.

So yeah. This is the status now... As promised: When I give this port up, you will be notified.
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] bamdadkhan:
thanks for the detailed reply. i am also using your ROM as a daily driver so i will wait patiently. also if you need a beta tester i'm here. i can always use my work phone for emergencies and i have backups.. : )
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
Hey, little note here: I've just got the builds up and running again! So the updates are rolling again - at least for LOS 17.1 .
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] bamdadkhan:
applying the latest update results in a bootloop early in the boot process.. i'm trying to reinstall the nov 8 one.

---

EDIT: tried installing it from recovery to both slot a and b, but no joy. it doesn't even get to the bootanimation, freezes on 'SONY'. fml.

---

EDIT2: tried doing the install process with all the images again, flashed the OEM update to slot a and b, no joy. tried flashing TWRP (because it doesn't suck ass like lineage's crap recovery) and seeing what's up, but i can't decrypt my /data even with the pattern>password from here: https://twrp.me/faq/openrecoveryscript.html

so at this point i have no options but to format my /data without a backup (again, because lineage recovery is useless) and this means i might as well install sailfish or something.. : (

tl;dr i don't blame you Simonmicro or the lineage guys (only for not including TWRP by default), but ppl should really be careful with the latest update, especially if you use magisk too, because i have a feeling its after-update script is what's responsible for this mess..
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
FML - the update is indeed broken. But for me the system boot up fine an then crashes after logging in for the first time - meaning something with the encryption causes the kernel to panic. Classic. If you get stuck during the boot phase you may need to flash opengapps again (in case you used it before). I'll pull the latest update and hope the upstream get's this under control with the next releases :)
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] bamdadkhan:
hmm well i wasn't really using gapps, so that wouldn't have helped. as i've said, this is expected. currently i've lost all my data so i'll try Sjll's stock-based (i guess, up until now i thought everything is SODP-based) work, but i'll probably end up here again : )

just one odd question, is it possible to strip lineage's awful recovery from the OTA updates? that way TWRP wouldn't be overwritten and i could have proper backups and decrypt /data in recovery.. or would that potentially break even more stuff?
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
Well, it also affects me - and I'm DD this build. I am very f*ed, as my latest backup is from the 2021-10-03... I guess I've also lost some 2FAs... Whatever: This evening I will try to figure out what went wrong with some new engineering builds, hopefully the new kernel did not wipe the encryption keys from the keymaster... Hopefully. In case I'm unable to recover anything I have to think if it still worth weekly building this... Well, well...

F @bamdadkhan
[Sony Xperia 10 II ROMs, Kernels, Recoveries, & Oth] Simonmicro:
Well... The kernel of the current builds triggers a double free call on something inside the EXT4 filesystem - as my system only crashes on first login I assume something is really broken inside the decryption routines... Which is very, very bad... I'll try to use an other version of the kernel, but I guess all data is doomed at this point.

And regarding the Lineage Recovery: I could strip it, but won't be able to include any replacement (I have currently no time to integrate or even port the TWRP fork for SODP)... So, I'll let it be as it is.