Autostart one app after the device is started

Did you run the following commands before? You need to set the service as the device owner. I briefly tried this myself and was able to get a small sample locked in.