Maybe, I could help.
I am still running JomSocial 4.9.5 on Joomla 5 with php 8.4.
It works very fine

I have it as ZIP File and I can provide it to you, if the support here allows that.
I also have an older version 4.9.1 and both run good on Joomla 5

I will go JS 5 soon because I need to go J6
saguaros , what do you say?
We all have to keep this community alive and since he already bought JS 5 and I don't see any issue if he willingly wants to downgrade for a while.
J5 is only for J6 or am I mistaken?
Cheers