I just upgraded from an Android 10 phone to an Android 14 phone.
In both phones, I noticed that for folder/files, there are two properties: "Modified" and "Changed"
It seems that "Modified" is analogous to the "last modified" timestamp on most filesystems. I can change "Modified" but I can't seem to change "Changed"
My use case: I put all my photos into a folder structure on my windows computer. All file modified timestamp are set to the EXIF timestamp. The folder modified timestamp is set to the newest file modified timestamp. I then use rsync to sync it to my phone. If I open Mixplorer or a Gallery, all my albums/folders are sorted nicely. (Photos can be sorted by "Date Taken" but not folders).
Well, when I upgraded to my Android 14 phone, I noticed that all the gallery apps I use and Mixplorer don't sort by "Modified". Perhaps they use "Changed"
I don't know how the API works exactly to read the folder/file properties. Whatever they are doing seems to have changed in behavior between Android 10 and 14 where Modified is no longer used and something else such as "Changed" is used. I'm guessing all the apps havent changed their code based on android version so I assume it is something in an API change.
So I'm really just looking for a solution. Can I revert this behavior? Is there a way to sync "Changed" (if that's whats really being used) to "Modified"?
ctime
i.e. the time when the file's metadata was last changed. And "Modified" ismtime
i.e. the time when the actual file contents were last changed.ctime
also changes whenevermtime
changes but not the vice versa. You can setatime
/mtime
to any past timestamp but there's no straightforward way forctime
. It's meant to be used by the operating system. Seestat
.