Copying photos to Nexus 4 without losing timestamp - Nexus 4 Q&A, Help & Troubleshooting

I copied all my photos to my Nexus 4, but in Gallery they all show up in the wrong order. It is seeing the picture taken date as today's, as in, when I copied the photos. Some of these are from 2010/2011 so obviously this is incorrect and now I can't see a chronological view of my pictures.
Is there a way to fix this error? I have tried copying over MTP, PTP and now also via Samba, but it is impossible it seems to preserve the timestamps.
I haven't had this problem moving between phones before.

Nope.
Sent from my Nexus 7 using xda app-developers app

That's a shame.
Is there an app that can look at the EXIF data and re-touch the files to give them new last modified dates that match up with that EXIF data? Thereby fixing the problem? I've done some reading and it seems to be an issue with the FUSE to fat32 symlinks or something something (I am not a smart man).

Passa91 said:
That's a shame.
Click to expand...
Click to collapse
Yeah... it is. MediaServer should be smart enough to use EXIF data if it exists, instead of just going by the file's date (falling back to that if EXIF data doesn't exist). Another little glitch in Android that needs fixing.

What about using some software to modify the timestamp on the phone when connected in mass storage mode?
I'm not yet allow to post links, so google "modify file timestamp" and the link to trickyways looks good!
HTH

Related

Transferring Pictures to storage loses date taken, scrambled pics in gallery

When I transfer my pictures from my old phone to the internal storage of the Nexus 4 all of the "Date Taken" info is erased resulting in scrambled pictures in my gallery. When I scroll through them with the bar on the right it shows that the pictures were all taken at the same day.
A little more info, I am going from a sensation with an SD card that has all of my pictures on them. When I simply transfer the DCIM folder to the root of the nexus storage the dates are lost.
Is there a work around for this?
all mine are in tact... I transferred my pics to my computer from my One X and then transferred from the computer to my Nexus 4. I can even sort by date in the gallery and all that info is correct... not sure what is going on to be honest or how to fix... but I just wanted to report that all looks normal on my end.
EDIT: here's screenshot FWIW.
co.ag.2005 said:
all mine are in tact... I transferred my pics to my computer from my One X and then transferred from the computer to my Nexus 4. I can even sort by date in the gallery and all that info is correct... not sure what is going on to be honest or how to fix... but I just wanted to report that all looks normal on my end.
EDIT: here's screenshot FWIW.
Click to expand...
Click to collapse
THanks for the response. A little more info to clear up the specific problem.
A little more info, I am going from a sensation with an SD card that has all of my pictures on them. When I simply transfer the DCIM folder to the root of the nexus storage the dates are lost.
The attached file shows dates ranging from april 2010 to nov 2012. Makes no sense.
ArmandHammer said:
THanks for the response. A little more info to clear up the specific problem.
A little more info, I am going from a sensation with an SD card that has all of my pictures on them. When I simply transfer the DCIM folder to the root of the nexus storage the dates are lost.
Click to expand...
Click to collapse
hmmm. interesting. I wonder if they got lost going to the SD card or maybe the phone just behaved differently than my One X. FWIW, I put my pics in /sdcard/DCIM/Camera
Good luck, not sure how to help out!

[Q] pics out of order

After moving all my pictures from my One X to the Nexus 4 they wont order correctly when sorting by date. This is a problem in the stock gallery as well as in Quick Pic. I've always ordered my photos by date in descend order but the phone doesnt seem to be reading the dates on the photos correctly. Even tried the "Fix Date" option in quickpic but it makes no difference. Anyone else experiencing this or know of any way to fix it so it ready the EXIF data correctly? Its annoying having to hunt through my pictures for one that was taken days ago. :/
I think when you copied them onto the new device it refreshed the dates.
Sent from my Nexus 4 using Tapatalk 2
I suspected the same except when I view the details of the pictures in quick pic the correct dates are there
Apparently the problem is that neither Gallery nor QuickPic sorts the pictures by EXIF date but by "file modified date". According to the author of QuickPic the "fix date" feature does not work on Nexus 4 because of the EXT4 file system.
If you still have your old phone then the easiest way to fix this problem is the following:
1. Copy all your new pictures made by the Nexus 4 to your PC.
2. Delete all the pictures on your Nexus 4
3. Copy the pictures from your old phone one by one in the desired order to your Nexus 4
4. Copy your new pictures from your PC in the desired order too
That should make them appear correctly in the Gallery.
Thanks for the info. I ended up downloading an app that lets you edit the date modified and have been slowly changing the dates. Its a big job though with hundreds of pictures. Honestly I've just learned to live with it, all new photos are in order anyway.
Which app is it? I'm interested too
Sent from my Nexus 4 using Tapatalk 2
Photo Editor
https://play.google.com/store/apps/details?id=com.iudesk.android.photo.editor
regP said:
Photo Editor
https://play.google.com/store/apps/details?id=com.iudesk.android.photo.editor
Click to expand...
Click to collapse
Or you could edit the dates on a computer and then adb push them back to your phone.
---------- Post added at 08:29 PM ---------- Previous post was at 08:28 PM ----------
Had the same issue
How can you change the date modified with Photo Editor? The only way I found in it was too totally change all the attributes including the file name to NOW but not to some time in the past.
Sent from my Nexus 7 using Tapatalk 2
You can type in the DateTime field and manually input the date you want. No need to edit any other field.
Hmm... I'm probably missing something here, maybe you can point me in the right direction?
Here is what I'm doing:
1. I open photo editor
2. I click on file browser or on gallery (tried both of them) and select the picture to modify
3. I click the save button (the floppy disk icon in the top right corner)
4. I chose MODIFY
5. The EXIF editor opens showing me 3 DateTime fields which all contain already the correct date and time the picture has been taken
6. I click OK and Overwrite
The result is that this picture jumps to the top of my list in gallery or QuickPic as it is the newest file modified. Checking the folder with a file manager the date of the picture is actually NOW and not the taken date from the past.
As you need root access to modify the "date modified" and this app does not request root access, this does not even come as a surprise to me.
I'm just really wondering how you manage to accomplish our goal.
Sent from my Nexus 7 using Tapatalk 2
i feel your pain man..
i feel your pain. really.
http://forum.xda-developers.com/showthread.php?t=1840238
anyway, there's a lot easy way to fix it than renaming hundreds of photos one by one.

[Q] Restore deleted photos, strange problem

Hi there, I really need your help!
Whilst setting up an owncloud server and messing with the app on my phone it had somehow created a duplicate camera folder. Now instead of looking in that folder to check photos (they both said they had the same number in) I just took another picture, checked what folder went up in value and deleted the other, STUPIDLY!
So as you can guess, 90% of my photos and vids were in the folder I deleted. I've tried all ways to get the nexus 4 mounted as a drive but to no avail. I used a piece of software called Dr.Fone and it did actually see all the missing photos but upon restoring them most were screwed when you actually wanted to open them (thumbnails were fine) or the resolution/file size was not the same as the original.
Now, if I browse my phone and go to my camera folder I can see EVERY file in there, 10GB worth and all the right file sizes etc. My phone says I have 12gb free space so something is obviously up. I can't seem to copy these over or view them either. Again if I got in to the photos app I can see 95% of the thumbnails fine but they just won't open.
Does anyone have any ideas if or how I can get these photos back as there are lots of my young daughter on there including her 1st birthday party
Quite ironic really that it was the setting up of the backup solution for ours phone that led to this!!!!!!
TIA
Do not take anymore pictures or add anymore files to the disk or you will further corrupt it and overwrite the old ones.
Sent from my Nexus 4 using XDA Free mobile app

Best way to transfer photos to phone without losing date?

I'm used to just having everything on a memory card which is not option here obviously
Sent from my Nexus 6P using Tapatalk
There was an option in Quickpic called fix date which I guess reads the photo date and transfers it to the file date but I haven't used that app in a while.
If you copy the files, the date in the EXIF data (which is the most important one) will be preserved. And unless you modify them, the modified date in the file properties will also stay the same.
Thanks guys. NBH - I'll check that
Airmark - you're right. The only issue is that the gallery apps that I tried is using the modified date instead of the metadata date
I've tried this many times. Only way I found that reliably works is to adb push the files to the phone in recovery then fix permissions. Unfortunately that means unlocking bootloader, flashing TWRP and formatting data to remove the encryption.
Doesn't Google Photos keep all the metadata?
just thought it's worth sharing - Google mentioned they are finally fixing this
https://code.google.com/p/android/issues/detail?id=18624
kboya said:
Doesn't Google Photos keep all the metadata?
Click to expand...
Click to collapse
That's exactly what I was going to say. Each photo you take stores the metadata, so it shouldn't be an issue. Even if you plug your phone into your computer, not only are they named by date and time, but the metadata will always be present in the photo.

Photos date are off

Tried to copy photos from my Note 5 to Nexus 6P however, the date on the photos are off and sometimes unknown. I tried to transfer it wirelessly and through OTG cable but no luck.
What is the correct way to transfer photos without losing its date?
Thanks
Can you reproduce this by copying pictures to other devices or your computer to make sure it's a problem with your Nexus?
dannydoowop said:
Can you reproduce this by copying pictures to other devices or your computer to make sure it's a problem with your Nexus?
Click to expand...
Click to collapse
Hello Danny,
I tried to copy the photos to my computer then transfer it via cable to Nexus 6P\Internal storage\DCIM\Camera
however, once the pictures/videos are transferred they lose their created date.
do you have another way for me to try ?
Not sure.
As mentioned, are the time records correct when the pics are on your computer? Have you tried to transfer pics to another handset? What about a different folder for the pics because \DCIM\Camera is as you know the original folder for pics taken by the device's camera.
Trial and error might a solution.
dannydoowop said:
Not sure.
As mentioned, are the time records correct when the pics are on your computer? Have you tried to transfer pics to another handset? What about a different folder for the pics because \DCIM\Camera is as you know the original folder for pics taken by the device's camera.
Trial and error might a solution.
Click to expand...
Click to collapse
Tried to transfer it to my Tab S2 and i got the same result but the dates on my pc are correct. glad to know its not my nexus only.
Would love to know a fix for this
dannydoowop said:
Not sure.
As mentioned, are the time records correct when the pics are on your computer? Have you tried to transfer pics to another handset? What about a different folder for the pics because \DCIM\Camera is as you know the original folder for pics taken by the device's camera.
Trial and error might a solution.
Click to expand...
Click to collapse
Looks like the issue from the photos it self. It got corrupted somehow when i backed it up
Good to hear that you find at least half of the solution.
Maybe you just start messing around with the Google Photos app. Automatic backups are a fine thing to have.
And...please just use inline answer, quoting me everytime just blows the thread up.
Yathani said:
Looks like the issue from the photos it self. It got corrupted somehow when i backed it up
Click to expand...
Click to collapse
why not just use picasa, and eliminate all the hassle of moving.

Categories

Resources