Maybe my bad English is the reason for it. I try again.
I am looking for an way that allows install apk from "Unknown sources" without switching that under Security in UI.
This option should be activated from first start and also after Factory Reset.
There must be an file where the Information is stored. That is what I am looking for.