I'll state for potentially important context that I am prone to anxious overreaction (to the point of even breaking my phone preceding the Pixel after it was certainly compromised, prompting my full transition to a phone with GrapheneOS) and have only became insignificantly more digitally literate following these instances, so I'd like to apologise in advance for 1) the absence of retained logs - I factory reset the device -, and 2) my potentially uninformative descriptions or the mistakes I am oblivious to. I should also add I have no other device I can use for inspection at this time and am sending this from a borrowed phone.
That being said, allow me to explain - after experiencing increasingly sluggish performance more than usual, I began to inspect the logs on the phone which I had only done prior to attempt to familiarise myself gradually, and I noticed two things: constant HAL: ... messages, like 7 or 10 or so before more in the next timestap continuously in a stream, as well as repeated zygote: request rejected logs or something equivalent, and at this point, perhaps irrationally or rationally, I began to grow very worried. The issue had continued to persist for the next day or so even when I disabled dynamic code loading on all apps and revoked all background usage permissions, until at some stage I had read a log essentially saying that the vendor profile had been changed. It was at this point I grew very anxious, and decided to immediately wipe everything on the device (just a factory reset), and checked the logs after booting GrapheneOS again only to see a log informing me that the vendor profile had persisted. I tried to reflash the phone with a separate phone - following all the basic instructions that worked for first booting it, trying to unlock it after I changed the settings (OEM, developer etc etc), but I couldn't even get past that, I couldn't reflash the phone and the device/s I tried to use to do so bugged a lot when I used them. This issue happened a few months ago so its a bit blurry and I've put only details I have largely confirmed here, and I've been really too paranoid to do a lot since and could use some information and/or advice, even if it is only an idea of what could have happened or if this isn't as unusual as I assume, if anyone would be so kind. Thank you in advance.