Xperia 10 III reinstall problem

Regarding the reinstalling SFOS…

It has come the time for me to reinstall it, since after too much experiments, my phone has become somehow unstable.

I do not remember which Android binary file I used back then. Since it has been working pretty good, I would like to use the same.

Is there a way to know (via shell) which android binary my Xperia 10 III is running on?

Thanks!