I'm wondering about how is a signatureOrSystem permissions enforced on custom ROMs.
Docs say:
A permission that the system grants only to applications that are in the Android system image or that are signed with the same certificates as those in the system image.
Where is this certificate? In case I'm using a custom ROM, say CyanogenMod, can I obtain their certificate, which I'm assuming is freely available, and sign my application so that it could use such a permission (only with that ROM of course)?
Thanks ;)