On my S9, trying:
#0#
Samsung Hardware Diagnostic Test Menu
https://technastic.com/samsung-secret-codes/
I get:
‘USSD Code Running’
then
‘Connection Problem or invalid MMI code’ - OK
Is /e/OS stopping this working, or does the installation of /e/OS, remove, alter or overwrite these functions.
Regain your privacy! Adopt /e/ the unGoogled mobile OS and online services