I have been shown how to use a code in the dialer to access the Testing menu on my Sony Xperia. I believe that checking the settings in Service Tests/Security can reveal whether the phone has been tampered with, but I could do with some help analysing the entries on this screen.
I believe that if a DRM service is intact, for example WIDEVINE OK [ACTIVE] or WIDEVINE [Key OK] [Active] then the the phone probably hasn't had the bootloader unlocked, but what do the other entries mean?
I am trying to find out what each one should say normally and what it might say if the phone has been rooted or flashed with a custom ROM. I have two Sony phones and the entries vary slightly but they include:
Factory reset reason :
Rooting status :
Apologies if there is already a guide to this somewhere.