I have been processing a ton of photos from my RV trip, all taken with Android phones, and I get some with the wrong orientation. I can correct this in digikam, which is my collection management tool. When corrected, they stay correct after that.