GPS tagging of photos used to work perfectly in both the standard “Camera” app as well as in “Open Camera”, but recently both store only NUL
bytes in the EXIF tags, e.g.:
$ exiftool -v3 IMG_20230410_160315_759.jpg
[…]
| + [GPS directory with 11 entries]
| | 0) GPSLatitude = undef undef undef (0/0 0/0 0/0)
| | - Tag 0x0002 (24 bytes, rational64u[3]):
| | 00bc: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [................]
| | 00cc: 00 00 00 00 00 00 00 00 [........]
| | 1) GPSAltitude = undef (0/0)
| | - Tag 0x0006 (8 bytes, rational64u[1]):
| | 00d4: 00 00 00 00 00 00 00 00 [........]
| | Warning = Tag ID 0x0001 GPSLatitudeRef out of sequence in GPS
| | 2) GPSLatitudeRef =
| | - Tag 0x0001 (2 bytes, string[2]):
| | 0054: 00 00 [..]
| | 3) GPSSpeed = undef (0/0)
| | - Tag 0x000d (8 bytes, rational64u[1]):
| | 00dc: 00 00 00 00 00 00 00 00 [........]
| | 4) GPSProcessingMethod =
| | - Tag 0x001b (4 bytes, string[4]):
| | 006c: 00 00 00 00 [....]
| | Warning = Tag ID 0x0005 GPSAltitudeRef out of sequence in GPS
| | 5) GPSAltitudeRef = 0
| | - Tag 0x0005 (1 bytes, int8u[1]):
| | 0078: 00 [.]
| | 6) GPSSpeedRef =
| | - Tag 0x000c (2 bytes, string[2]):
| | 0084: 00 00 [..]
| | Warning = Tag ID 0x0003 GPSLongitudeRef out of sequence in GPS
| | 7) GPSLongitudeRef =
| | - Tag 0x0003 (2 bytes, string[2]):
| | 0090: 00 00 [..]
| | 8) GPSTimeStamp = undef undef undef (0/0 0/0 0/0)
| | - Tag 0x0007 (24 bytes, rational64u[3]):
| | 00e4: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [................]
| | 00f4: 00 00 00 00 00 00 00 00 [........]
| | Warning = Tag ID 0x0004 GPSLongitude out of sequence in GPS
| | 9) GPSLongitude = undef undef undef (0/0 0/0 0/0)
| | - Tag 0x0004 (24 bytes, rational64u[3]):
| | 00fc: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [................]
| | 010c: 00 00 00 00 00 00 00 00 [........]
| | 10) GPSDateStamp =
| | - Tag 0x001d (11 bytes, string[11] read as undef[11]):
| | 0114: 00 00 00 00 00 00 00 00 00 00 00 [...........]
Other apps accessing the GPS data (inter alia OsmAnd~ and OpenTopoMap) work perfectly. Older photos (latest as of 2023-03-13) have proper GPS tags. IIRC, there has been an OS update since then (the build ID ends in 2023040400), but I did not touch any of the settings of the camera apps.
Any idea how I could fix the issue?