yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] marhensa:
step 4, where do you type that command?

is it on terminal emulator?

yes usb otg speed is quite fast (also fast-draining battery too),

i tried copying it with solid explorer, but the date modified still changed.

maybe i should try it by terminal command like you suggest.

---

Sent from Android Device
[Samsung Galaxy Nexus] doggydog2:
yep.. not user friendly, especially when organizing more folders, but preserving timestamps is critical. after 20years of same file operation on dos, unix, windows, os2 etc, google wants to change the game. what what whaaat.
[Samsung Galaxy Nexus] marhensa:
found the (so-called) solution...

--- PRESERVING DATE MODIFIED ON NEXUS DEVICE ---

From Android to PC: Use MTP

From PC to Android: Use Droid Explorer

cheers.. ;)
[Samsung Galaxy Nexus] zuberio:
Successfully moved all my GNex photos to my N5 and preseve file created/modified date

I'm not going to lie, this was painful - but I think I've worked out the kinks.

Required:

- Source Device

> USB OTG Capable

- Destination Device

> USB OTG Capable

> Rooted

- PC (Win7x64 for me)

> ExifTool

> Bulk File Changer

- USB Stick

- OTG Cable/Connector

Steps:

1) Copy media (jpgs, 3gps, mp4s) from source device to USB stick via OTG. This could take a while depending on how much media you're copying. Don't worry about preserving the created/modified date here as you'll be fixing it on the PC using the embedded EXIF data.

1.5) While the above is happening, place ExifTool and Bulk File Changer in the following folder on your PC C:\filecreatedatefix

2)

Cut

and Paste the media from the USB stick over to the following folder on your PC C:\filecreatedatefix\files

3) Run the following 3 commands (one at a time) to change the created date and modified date stamps on the files to the created date in the embedded EXIF data.

C:\filecreatedatefix\exiftool "-FileCreateDate<CreateDate" "-FileModifyDate<CreateDate" -ext .jpg -r C:\filecreatedatefix\files

C:\filecreatedatefix\exiftool "-FileCreateDate<CreateDate" "-FileModifyDate<CreateDate" -ext .3gp -r C:\filecreatedatefix\files

C:\filecreatedatefix\exiftool "-FileCreateDate<CreateDate" "-FileModifyDate<CreateDate" -ext .mp4 -r C:\filecreatedatefix\files

3.5) Any files that still aren't fixed need to be done so manually using Bulk File Changer

4)

Cut

and Paste the media back to the USB stick in a folder like D:\Camera

5) Plug the USB stick via OTG Cable into the Destination Device and then open a terminal window

6) Type "su" (no quotes) to enter root user mode

7)

Archive copy

the files from the USB stick over to the destination directory using a command like the following

cp -a /sdcard/usbStorage/sda1/Camera/* /sdcard/DCIM/Camera

This could take a while depending on how much media you're copying.

8) You're done! You may need to restart the destination device in case plugging/unplugging a USB stick destabilizes it.
[Samsung Galaxy Nexus] tase25:
Thank you thank you.

I've been looking for something like this for a long time. It doesn't work on everything, like videos and files without without the EXIF data.

But this is definitely nice to have.
[Samsung Galaxy Nexus] Air:
omg, strugled throug that issue on my way from my nexus 5 to my OnePlus One...

Did it that way:

1. Copied all Images to my Mac

2. Sorted all Files by modified date (oldest first) with automator (see attachment)

3. Copied the output (list of files with full path in order of modification) into a TXT-File

4. Used a small perl script to push each file by "adb push" to my phone.

5. Now the order is okay, of course the modification date is gone again but because the oldest file was pushed fist it's still the oldest, even when only by seconds.

Here is my Script:

------------------------------------------------------------------------------------------

use strict;

use warnings;

my $filename = 'files.txt'; #change files.txt to your txt-file

open(my $fh, '<:encoding(UTF-8)', $filename)

or die "Could not open file '$filename' $!";

while (my $orig = <$fh>) {

chomp $orig;

my $phone = $orig;

$phone =~ s/\/Volumes\/HDD OSX\/TEST/\/storage\/sdcard0/g; # here you build the path on your phone from the path on your computer

system("./adb push \'$orig\' \'$phone\'");

}

[/script]

------------------------------------------------------------------------------------------
[Samsung Galaxy Nexus] amd_h4x0r:
I can confirm that using adb push while booted into recovery will preserve original timestamps when copying files back to the phone.
[Samsung Galaxy Nexus] marhensa:
yes, but the ownership and permission is ****ed up, you cant even move / delete file.

i have the solution, simple, but we have to be rooted.
[Samsung Galaxy Nexus] amd_h4x0r:
I tried the Droid Explorer solution but it didn't preserve the file timestamps. Was there a setting you had to change?
[Samsung Galaxy Nexus] DR3W5K1:
[MENTION=4544860]osm0sis[/MENTION] has a flasable zip to restore proper permissions after adb pushing files in recovery.
[Samsung Galaxy Nexus] osm0sis:
Yup! Check my Odds and Ends thread. :)

http://v.ht/osm0
[Samsung Galaxy Nexus] vickylahkarbytes:
Hi guys,

After struggling for 2 days, I found out how to preserve the timestamp of files from android to PC.

1. Go here = adbshell.com/commands/adb-pull

2. Download this to any folder in PC = drive.google.com/open?id=15zYiKfsVfBlKAlKGYGtuNCQbDEoMLkGl

3. Inside folder hold SHIFT + Right click mouse -> Open command window here

4. Type adb pull -a /sdcard/whatsapp F:\whatsapp

5. Press enter

This command will transfer the whatsapp folder from your internal memory of ur android to the F drive of ur PC in the whatsapp folder
[Samsung Galaxy Nexus] anmac1789@gmail.com:
have you tested this on folders to verify and match the folders created on PC match on android for all 3 date & timestamps (date created, date modified, date accessed) ???????? For example, when you connect your android phone to your PC, see the date created, date modified and date accessed of those folders within windows. Did you verify that those same folders or files match with the transferred files/folders on your PC?
[Samsung Galaxy Nexus] vickylahkarbytes:
Yes it bears the original time stamp of WhatsApp

Yes, it retains the original timestamp of whatsapp when it was created. For PC, you can use this technique and in mobile you can use Total commander file explorer. Both preserve the original time stamp.
[Samsung Galaxy Nexus] anmac1789@gmail.com:
This adb method only preserved the date modified, date accessed of FILES, the date created is today's date

For directories (folders), all 3 dates are current date and time. They are not preserved

If you compare the dates and times of files and folders from within windows 10 explorer:
[Samsung Galaxy Nexus] rudolph323:
12 years later this issue still persists..
[Samsung Galaxy Nexus] anmac1789@gmail.com:
I agree, the date modified seems to not work properly across linux (android) and windows even though windows is heading towards an ARM based future..for now, I have a indepth way to preserve the date modified of folders and files even though it might be cumbersome..
[Samsung Galaxy Nexus] Renate:
Create date is always pretty worthless.

copy C:\file D:\

The create time of D:\file is a second ago because the file was just "created" on D:

ADB uses 32 bit Unix epoch for modification dates.

That's the only date the protocol sends over.
[Samsung Galaxy Nexus] anmac1789@gmail.com:
what even is 32-bit modification date ? how come adb/android can't keep other filetimes ? whats the reason for this ?
[Samsung Galaxy Nexus] Renate:
Since early Unux time has been measured in seconds since January 1, 1970.

If you store this as a 32 bit value and you interpret it as signed value, the highest date is in 2038.

Java has used milliseconds since January 1, 1970 but stored as a 64 bit value.

The highest date is 1/2 a billion years in the future.

Dos has used a packed time with with a time resolution of two seconds. :eek:

Windows uses 100 nanoseconds since January 1, 1601 as a 64 bit value.

ADB uses a protocol that closes the sending of a file with a "DONE" packet that has a 32 bit value for modified time.

Unless the protocol changes that's all you get.

For photos, often the filename has a nice timestamp in it.

It might also have embedded EXIF data with timestamp, latitude, longitude...

Semi-related: When transferring files between two Windows computers and you care about it:

Don't use a normally formatted flash drive. That will truncate all the timestamps to 1 second precision.

Use non-standard NTFS formatting of the flash drive which preserves 100 nanosecond precision.
[Samsung Galaxy Nexus] anmac1789@gmail.com:
Ok thanks for this info it's highly useful for me. What does packed time mean ? How come Java/linux doesn't use nanosecond precision like windows does ? DOS is the wierdest protocal I have ever dealth with I am avoiding using any mode of storage utilizing DOS as much as possible. I completely despise it. Why does ADB only use 32-bit and not 64-bit resolution of time ? Will there be a new protocol for android in the future ? The filename is useful to know the timestamps beause the date taken and the filename is usually the exact timestamp, however the date modified might be a few seconds off from the date taken, which I don't really understand. Also, I've tested out taking multiple pictures with a camera watermark with a xiaomi mi max and that phone mostly takes pictures with the exact second matchup between the date modified and date taken. I have not come across any samsung phone which rivals this (might be manufacturer difference in camera sensor technology).

That's what I have learned, always connvert any USB flash storage, ssd, hdd to NTFS before storing files as FAT32/ExFAT doesn't preserve windows 100 nanosecond precision.
[Samsung Galaxy Nexus] Renate:
Cameras often have "taken" time and "process" time and whatever.

If you look at all the times in the EXIF you'll be scratching your head.

DOS saved local times so a diskette saved at noon somewhere would always read as "noon" anywhere.

This is really bad. Nowadays anything saves times as UTC and lets the OS print it out how it likes.

7 bits year-1980
4 bits month
5 bits day
5 bits hour
6 bits minutes
5 bits seconds/2
----------------
32 bits

The stupid thing is, if they made the year 6 bits they could have had 1 second resolution.

Of course, that means this would be obsolete in 2043!
[Samsung Galaxy Nexus] anmac1789@gmail.com:
2038 vs. 2043 is not much different. Also, is this why on android camera apps, i see the date modified difference from date taken approx 1 second because android apps use Java to code ? and Java as u said has a 1 second time resolution ? or am i misunderstanding something here...Why does the second have to 5 bits/2 !?!?!?!??!?!?!?!??! makes my skin itchhh
[Samsung Galaxy Nexus] Renate:
Because when you add up all the bits you only have 5 bits for seconds instead of 6 bits.

DOS time was designed to be easy to display, but difficult to calculate.

Most any OS nowadays can find the difference between two times by simple subtraction.

You can't just subtract DOS times.
[Samsung Galaxy Nexus] anmac1789@gmail.com:
how does DOS calculate times ? is it using the bits as above ?
[Samsung Galaxy Nexus] Renate:
You have to do a whole calendar calculation.

DOS: What is the difference between August 3, 2023 and June 29, 2019?

You have to calculate what day of the year August 3 is.

You have to caclulate what day of the year June 29 is.

You have to consider all the years between them and if any of them are a leap year.

Unix: What is the difference between 1717043511 and 1701234567?
[Samsung Galaxy Nexus] anmac1789@gmail.com:
omg ok I see now the difference it's alot easier using unix epoch
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] AleksandarST15:
I installed cm7.2 on my st15 but i noticed that led notification blinks too fast. When i tried to change it in settings, it remains the same. Color change works fine...Is there any config file where i can fix this or at least reduce blink rate?
[HTC EVO 3D] amdultra:
in sgs 2 review http://www.anandtech.com/show/4686/samsung-galaxy-s-2-international-review-the-best-redefined/ the adreno 220 fall short compared to ulp geforce and the sgx 540 in omap 4430 on benchmark

if you look at the fill rate table chart the adreno 220 is the weakest while the mali 400 on sgs 2 is the fastest. this lead me to think why the exynos chipset always got the same special FX on gameloft games like the ipad 2 version

but actually in real world perfomance the adreno 220 got the same special effect on gameloft games(NOVA 3 , MC 3) like the mali and can run it fast on QHD resolution witrh playable speed

my lg optimus 2x overclocked (cpu.gpu)with the best kernel + rom cant run nova 3 full effect with playable speed even with reduced texture on wvga resolution

on the other hand i dont have any information if the omap 4430 can run gameloft game with fx turned on in playable speed,so maybe someone can share any info?
[XPERIA X10 Q&A, Help & Troubleshooting] Mechoka:
[Q] HELP "Viber" not work on"Achotjan_X10i_ Remplacement Rom_Lite Version"

Hello friends,

Help

"Viber" does not work for me on this ROM-"Achotjan_X10i_ Remplacement Rom_Lite Version"

or "v9 Final released FTF File xperia s firmware ported to x10":confused:

Does anyone know why?:crying:

Any solution
[XPERIA X10 Q&A, Help & Troubleshooting] Mechoka:
Can anyone help ???:rolleyes:
[XPERIA X10 Q&A, Help & Troubleshooting] Ultimategeppie:
Hi Mechoka,

I don't have the answer to your question, so I can't help you on that.

But i can tell you for sure that you need to pass more information.

* What is Viber.

* What part of is isn't work / what did you expect.

* What did you try to do fix the problem.

* Did it work on other ROMS

* Did you do something funky to your phone

* Etc.

Good luck,

Kind regards,

UltimateGeppie
[XPERIA X10 Q&A, Help & Troubleshooting] like.no.other87:
I can't help you, but in fact i have the same problem as you, in that 2 ROM´s. Now i´m in " Achotjan_Stock_Remplacement_Rom | X10i_2.3.3_6.0.B.0.743_V2.0", and works perfectly.
[XPERIA X10 Q&A, Help & Troubleshooting] sin81:
I tried manytime and may have to try another rom because Viber doesnt work anymore
[XPERIA X10 Q&A, Help & Troubleshooting] Mechoka:
This is Viber "https://play.google.com/store/apps/details?id=com.viber.voip&feature=search_result#?t=W251bGwsMSwyLDEsImNvbS52aWJlci52b2lwIl0."

just does not work only on this 2-roms :(
[XPERIA X10 Q&A, Help & Troubleshooting] Prodigy:
Viber is basically a free messaging and calling app. It has some compatibility issues with some ROMs, especially when you restore data on different ROMs.

Yes, these are the questions I was about to ask. Thanks to ultimategeppie for his time on this.

Could you tell in more detail what's wrong with the app? Did you restore data from another ROM?

What you can try, is this:

Go to Settings > Applications > Viber > clear data

When you face application problems, that's the first thing you shall try. Beware you'll lose all your messages, and you'll have to re-enter your mobile number again.

If that doesn't work, go to xrecovery or CWM recovery, go to advanced (not sure in CWM) and select "Fix Permssions", then reboot.

Cheers.
[XPERIA X10 Q&A, Help & Troubleshooting] Mechoka:
Thank you

but these things have been tried and have no effect :crying:

"Viber" Does not start at all !!!!
[XPERIA X10 Q&A, Help & Troubleshooting] Prodigy:
Then I guess that's an app issue, contact the app developers and send them a bug report.

If you really need the app, change ROMs.

But there're alternatives such as Kakaotalk etc. I use that nowadays instead of Viber, which I had issues with too.

Good luck.
[XPERIA X10 Q&A, Help & Troubleshooting] Mechoka:
Thanks a lot :good:

Regards
[XPERIA X10 Q&A, Help & Troubleshooting] Viber Team:
Viber

Hi,

This is a member of the Viber R&D Team!

If you are running Viber on a customized ROM, it may result in side effects. At this stage, due to the large variety of customized ROMs available, we support only the basic ones, such as CM7 and MIUI.

You can try to uninstall\reinstall it might help :)

If you have any questions we'd be happy to assist. :)

Viber Team
[XPERIA X10 Q&A, Help & Troubleshooting] Mechoka:
Thanks

Regards:good:
[XPERIA X10 Q&A, Help & Troubleshooting] Viber Team:
Our pleasure to help :)

For more questions/doubts, please feel free to contact us again.
[Transformer TF300T General] funnel71:
I thought I'd start a thread solely dedicated to problems with the upgrade since the announce thread seems to be getting loaded fast.

I'm one of those with problems, but don't know why. The first boot was great. I rebooted, and now stuck in endless boot loop. My tablet is encrypted, so I have to type password initially, then type it again, and I'm at my desktop, but while it's loading apps, it freezes, crashes, and begins all over again. I'm going to try to wipe data to solve this, which sucks because I spent a lot of time putting my app collection together (well, it seemed like a lot of time :) ) but I need to unstick this.
[Transformer TF300T General] turdbogls:
I would try cold booting it...it may help.

I downloaded the update this morning, it stopped at 95%. I then rebooted and the download finished...went to install it, passed the integrity check but errored our on installing (android with red triangle).

So it booted back into ICS. Went to check for update again and no Update found message....rebooting,cold rebooting, removing the . blob file isnt working...i am stock rooted with stock build.prop.....only thing not stock is the boot animation. Someone help me out or let me know how to manually update this thing....I would really hate to have to factory reset but I am willing to do it as a last resort.

Edit: I had some frozen apps that I forgot to defrost...so anyone that renamed system apps or froze them with titanium...you need to get them back working then reboot before applying the update. Learn from my experience.
[Transformer TF300T General] jgaf:
stuck on a boot loop too :/ it boots and it after a couple of seconds restarts. Tried doing cold boot once and keeps doing it

Fixed it unnistalling EZoverclock
[Transformer TF300T General] funnel71:
Wish I would have seen that earlier. The wipe helped in the loop regard, but I'm having trouble getting my root back. Checker says no, voodoo acts like it doesn't need to restore anything. I do seem to still have root access via ADB though.

Anyone got any command line knowledge to get things back in order so root checker will show green again?
[Transformer TF300T General] jgaf:
So far my I/O benchmark scores seem worst than before :/
[Transformer TF300T General] godutch:
but does it feel more responsive?
[Transformer TF300T General] jgaf:
For now it feels about the same, I had a bunch of tweaks that helped the past FW be better, so right now without those tweaks it feels pretty good
[Transformer TF300T General] funnel71:
I'm wondering if the update changed something on the file system. I have such inside system/cabin but it still says no root access.
[Transformer TF300T General] paedz718:
I'm experiencing major issues since the update. was rooted w/ a modified build prop file. restored original build.prop file and saved root w/ OTA rootkeeper and unrooted before I upgraded. I even rebooted the tab. The download & install of the JB firmware went flawlass. But now I keep getting the same error messages/force close boxes, one right after the other - process.com.google.gapps, Google Account Manager, among other Google apps (Google Talk, Picassa), also saw an Asus Sync in there. They all appear to be sync and account related apps. I did a factory reset figuring it would clear out all accounts, syncing & whatever is causing the force closings and they still pop up as soon as I boot up to the JB screen. I cant re-add my account b/c Google Account Manager has force closed. Not sure what my options are besides using my warranty and trading this one in. anyone experiencing the same issue and have any ideas on how to solve it?
[Transformer TF300T General] godutch:
I haven't tried to get into recovery yet, usually turn off device and power on pressing either volume up or down + power button and see if you can factory reset / wipe dalvik cache from there
[Transformer TF300T General] paedz718:
tried a factory reset a few times that way, no dice. my bootloader is still locked so I never installed TWRP or CWM to keep my warranty intact or else I'd reflash the JB update. but as it came as an OTA, i think I'm pretty screwed here
[Transformer TF300T General] funnel71:
This may sound crazy to you, but if you've already wiped then it doesn't matter. Go and get the .30 firmware from Asus, extract the first zip into root of sdcard, the extract will be a zip too. Tablet should pick it up, think its a downgrade and prompt you to continue. It reloads, but when finished you will still be on jellybean. That's what I did to solve another problem and that was the result. Not what I wanted but it might help you.
[Transformer TF300T General] paedz718:
that does sound pretty crazy, but I'm crazy enough to try it. what issue were you having that you thought to try this method? and did it solve it. "not what I wanted" makes me think it didn't help you. so you say it picks it up like a downgrade, but doesn't actually downgrade anything? i'm thinking the upgrade didn't go thru correctly and some system apps didn't update properly causing all my issues. I even called ASUS to RMA this pad, they didn't even know the JB update was rolling out, telling me the lastest OTA was still ICS. they are clueless.
[Transformer TF300T General] zosX:
Is it possible to downgrade to previous firmware to restore all of my originally installed apps? It seems if you root, then uninstall system apps the jellybean update fails. I factory reset, but it seems that whatever you uninstall or modify doesn't get restored that way. I'm reluctant to go through pushing .30 over via adb. Is there a way I can just drop an update.zip on my internal sdcard and reboot into recovery somehow? Any help would be greatly appreciated. I'm pretty confident I can root jelly bean by manipulating the file system. I'll leave that for later. Just waiting for CM10 to become a bit more stable before pulling that trigger. The asus firmware isn't so bad anyways. So....how do I "downgrade" to .30 or even .29 and restore the tablet to pure factory???
[Transformer TF300T General] jgaf:
AFAIK you can't, you need to find out what system apps you removed and push them back using adb then reboot
[Transformer TF300T General] zosX:
Surely I can take a factory blob and push it over. I'm looking at a downgrade guide now. The blob is over 300 megs. Surely it has all the system apps with it.
[Transformer TF300T General] xaueious:
The full ICS blob was 800MB. The upgrade.zip for the JB update alone was 300MB using patch.

The problem I am having is some weird force closes in the Settings app. But nothing too major there.

I came from a fully stock ICS, so the improvement in browsing (Chrome, especially) is much better.

There are still some stuttering in the OS, but overall I am pleased with the improvements.

I am finding that I cannot change the keyboard locale when attached to the dock. THis isn't a huge deal for me though.
[Transformer TF300T General] funnel71:
My issue was...

I was rooted on .30. After the update to jb I got stuck in a reboot loop. It got to the desktop then crashed.

Thought I could resolve by wiping data. When I did that, lost root and cannot get it back due to updates to the permissions of the /data folder.

So I thought why not try and reinstall .30. And you know my result.

I learned later my looping was most likely caused by the ezoverclock app, but I read that too late. So I'm on jb without root and appear to be stuck that way until another exploit is found or I unlock the boot loader.