#dash cam DVR Software https://github.com/maxneaga/open_dash_cam_android #apk https://play.google.com/store/apps/details?id=com.opendashcam #Or I made a copy here: https://archive.org/download/open_dash_cam/open_dash_cam_android/apk/open_dash_cam.apk #set Android device to power on whenever it is connected to power fastboot oem off-mode-charge 0 #set DASH cam software to launch whenever the device is powered on or unlocked #this doesn't seem to work any more https://f-droid.org/en/packages/news.androidtv.launchonboot/ #user termux-boot https://f-droid.org/en/packages/com.termux/ https://f-droid.org/en/packages/com.termux.boot/ cat > $HOME/.termux/boot/startup.sh #!/data/data/com.termux/files/usr/bin/sh termux-wake-lock am start --user 0 -n com.opendashcam/.MainActivity #You may want to enable termux cron jobs to make sure that the camera doesn't stop pkg install cronie termux-services #restart termux sv-enable crond crontab -e */5 * * * * $HOME/.termux/boot/startup.sh >/dev/null 2>&1 #to easily access recorded videos use amaze create a shortcut https://f-droid.org/en/packages/com.amaze.filemanager/ #Recordings are saved to: /sdcard/Android/data/com.opendashcam/files/Movies/ #use something like Syncthing to backup videos to a remote server https://search.f-droid.org/?q=syncthing