Launch-On-Boot
Launch-On-Boot copied to clipboard
Android 12 on RPI4, Launch on Boot is not working
Hi,
I have installed an android 12 version of LineAgeOS on a Raspberry Pi 4. (From https://konstakang.com/devices/rpi4/LineageOS19/)
I tried to use Launch on Boot (instaleld with F-Droid), but it is not working, nothink happened at boot. Did i forgot something ?
With another app (Autostart Manager it worked adding Enabled Applications Overlay Authorisation
Also having this issue on TCL 50" 4-Series Smart Google TV I've enabled "Display over other apps" to my "target app" but I don't see "Launch on Boot" in the list of apps I can give that permission to as well.
Is there a ADM command that can be run to enable this autostart? Sounds like they disabled something in 10 and 11?
The same is happening for me on Chromecast with Google TV, Android version 12. I took a crack at fixing it and added android.permission.SYSTEM_ALERT_WINDOW
to the manifest, which did enable me to turn on the "display over other apps" permission, but it still didn't work.
This alternative did work for me, so apparently running an app at boot is still possible somehow, but that app isn't open-source (and I didn't feel like reverse-engineering) so I can't see if they've done anything significantly different. I'm not an Android dev anyway, so I'm not sure I'd be able to recognize if they have.
The manifest for that app doesn't seem hugely different; it seems like it just requests android.permission.SYSTEM_ALERT_WINDOW
(and internet permissions, because everything has to have ads). It also targets SDK version 30, which I tried doing for Launch on Boot in case that's important, but it still doesn't seem to work. Also, targeting SDK version 31+ makes all apps disappear from the selection menu except a very few (like the Play Store and Settings).