detectRomProfile

Classifies the running ROM and collects integrity/spoofing signals.

Inspects vendor-specific ro.* version properties and Build fields (fingerprint, tags, type, model) to determine the ROM RomProfile.family and confidence, and flags conditions such as test-keys, non-release build types, model mismatches and emulator fingerprints.

Return

A populated RomProfile describing the detected ROM.