Not an answer to your software question, but you will very likely struggle with overheating since your phone will almost necessarily be in direct sunlight for hours at a time. If you really need to do this, avoid mounting your phone with a case and try to use a mount that does not cover too much of your phone’s rear surface- cases and mounts can make it harder for your phone to dissipate heat.
It’s got what plants crave