Is there any good FOSS app that could record the phone GPS location, but keep the data locally on the same phone, no dialing out?
Like the Google Maps location history, just not sharing it with Google services.
OsmAnd, as someone has mentioned. Though, I think it’s an extension and you have to activate it and customize the experience. I used GPSlogger in the past, too, when I was in field surveys to upload to my Nextcloud server.
F-Droid is fantastic for privacy respecting software.
Tiny Travel Tracker (Secure long term GPS tracker and log) The description seems very focused on keeping things private and as a Google Maps location history. I have not used it.
Abandoned though, last version of 2019-09-19.
Thank you for pointing that out. With 66 open issues, it would seem helpful to continue maintaining. Ah, well, free code is hard to keep working on.
OsmAnd
Fitotrack. Question is how often, how detailed? Google does this via their tracking network so it uses way less battery.
Leaving that on all day would produce pretty big files and suck up lots of battery.
You can create a new Fitotrack profile and set the details to pretty rough, this will save some space.
I would advise against OSMand, its interface is not perfect for recording and the App is huge so it will probably use up way more battery