Lost all data of Samsung S9 for no apparent reason, like a factory reset

This is a recurring problem for a while, mentioned in the weekly update threads Week 41, 2023: Development and Testing Updates as if part of the T release publication, but it seems to me most or many recoveries are unpublished since maybe mid August.

A workaround is proposed within the above link

An alternate method to get the partitions

Anecdotally this may happen if storage is > 85% – this seems excessive headroom but I treat that as a limit.