LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.

Notices


Reply
  Search this Thread
Old 01-16-2024, 04:48 PM   #1
maybeJosiah
Member
 
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish maybe
Posts: 195
Blog Entries: 2

Rep: Reputation: 5
Unhappy How to check Android 5.1.1 timestamps?


I know File class in Android only supports last modified. I checked with a terminal on an Android 13 device and Android actually has accessed at, modified at, and changed at. I installed a terminal on like my old Android 5.1.1 Lollipop and found it does not have stat which is what I would need for this. How can I get things with timestamps as I could use on another device? How can I check if that Android even has all those timestamps? I know I can make a .ab file from like my device but does that store everything? If it does, can I unzip it or is it basically useless except as a restore on that device? I also have data on SD card on this phone. I would rather not upgrade Android and risk losing data. What can I do? I am trying for files off that device in human understandable format with all that can be preserved. I think one of like my computers has an SD card reader but for such an old phone, unsure. I have Android Studio and know how to use it if needed. This device is unrooted with locked bootloader and developer options enabled. I use it as a phone still. X E.

Last edited by maybeJosiah; 01-16-2024 at 04:50 PM. Reason: Device spec maybe
 
Old 01-16-2024, 05:43 PM   #2
maybeJosiah
Member
 
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish maybe
Posts: 195

Original Poster
Blog Entries: 2

Rep: Reputation: 5
https://zzzcode.ai/answer-question?i...b-82fd1cba9376
This seems like it could install stat. Trying it. Bonus, I can access all these attributes using Runtime.getRuntime().exec("command") in Java code if stat is installed. X E.
 
Old 01-16-2024, 06:27 PM   #3
maybeJosiah
Member
 
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish maybe
Posts: 195

Original Poster
Blog Entries: 2

Rep: Reputation: 5
Here is what I have tried: Termux, fails to install because of WiFi, Qute, pkg not found, BusyBox, requires root, apt-get install coreutils, fail. Maybe it is like my WiFi though. zzzcode.ai comes up with nothing more. X E.
 
Old 01-16-2024, 07:08 PM   #4
maybeJosiah
Member
 
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish maybe
Posts: 195

Original Poster
Blog Entries: 2

Rep: Reputation: 5
Exclamation

Termux unable to install bootstrap packages. It is an old LGMS330 running LG powered by Android with MetroPCS. I do not know how to install stat or use anything to get like all timestamps. I know most phones it would be stat.

https://zzzcode.ai/answer-question?i...2-7dc0fe8ff432
It seems I should get coreutils, but what version, like my tar will not extract a 9.4 binary seemingly. I really should get advice before screwing with this. X E.

Last edited by maybeJosiah; 01-16-2024 at 09:44 PM. Reason: info maybe
 
Old 01-17-2024, 05:56 PM   #5
maybeJosiah
Member
 
Registered: Jan 2024
Location: USA
Distribution: Ubuntu, Android, Ubuntu Touch, Jolla Sailfish maybe
Posts: 195

Original Poster
Blog Entries: 2

Rep: Reputation: 5
I just plugged like my LGMS330 into like my Ubuntu computer and had access to main accessible internal storage and SD card. I did not know Ubuntu could do that. Windows can't normally read SD cards on phones. I checked if stat would work on it from like my Ubuntu computer, just one timestamps, modified at. It displays more but all always same. I rsync ed data and last modified to like my Ubuntu computer. If this thing has any other timestamps accessible then those were recorded. I guess as solved as it can be. X E.
 
  


Reply

Tags
android, backup, files, timestamp



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Patents Are Turning BlackBerry and Nokia, Which Used Android, Into Anti-Android Fronts That Tax Android OEMs LXer Syndicated Linux News 0 10-14-2017 09:05 AM
Partition check, check double check Vincentius Linux - General 0 12-25-2004 05:47 AM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 02:10 AM
squid timestamps chamkila Linux - General 1 05-08-2003 08:59 AM
Timestamps Config Programming 2 04-22-2002 02:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 04:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration