22

Is there a Play Store log file?

Or should I be looking where apps are installed on the phone for time/date stamps?

  • 1
    there is another possible that is if your device is rooted then you can access your /system folder.There you can see all installing files. – Ramesh Akula Jul 11 '12 at 4:12
8

TitaniumBackup also displays this when you go to the batch (backup/restore) tab. You can have it sort your apps by date of installation, name, size and so on.

It should be noted that you need to root your phone to do so.

| improve this answer | |
  • Superb - already have this installed. Ta. – Umber Ferrule Jul 16 '12 at 13:51
13

Many apps available from Play Store show the install and update time of the installed apps. I've tested three of them and have given instructions to use them appropriately.

Elixir 2

After installing and launching it, go into Applications → tap on your app's entry → View Details.

Applications Info

Install and launch the app → tap your app's entry.

Solid Explorer

Install and launch the app → from the left sidebar select Applications → User apps → tap on your app's entry.

(Click an image to enlarge it; order of images: Elixir 2, Applications Info, and Solid Explorer)

IMG: IMG: IMG:


Command-line

If you want a command-line way, follow these instructions:

Setup in PC and execute the command:

adb shell dumpsys package

You might end up with overwhelming information about all the installed packages including the date/time stamp you're seeking. If you want the said stamps for a specific package whose package name you're aware of, then enter:

adb shell 'dumpsys package PKG_NAME | grep -e "firstInstallTime" -e "lastUpdateTime"'     # replace PKG_NAME with the package name of your app

Its output possibly would be like,

firstInstallTime=2015-07-04 15:49:50
lastUpdateTime=2015-07-04 15:49:50

Note that the info is originally available in the file /data/system/packages.xml.

Alternatively, if you've Google Play Store installed, then take its backup using ADB, extract the backup to locate the database localappstate.db. Open that file in PC using an SQLite database viewer like DB Browser for SQLite or on Android using apps like SQLite Editor / aSQLiteManager. The said apps may need root access so I recommend to stick with the SQLite viewer for PC.

The table appstate in that file has the columns first_download_ms delivery_data_timestamp_ms. The latter shows when the app was installed and the former shows when the download was initiated by Play Store.

Limitation: Play Store wouldn't show date/time stamp for side loaded apps.

| improve this answer | |
  • can we detect by this dumpsys command if it was installed from Play Store or from apk? – Suncatcher Jan 26 at 19:31
  • 1
    Yes, search for the string 'installerPackageName' in the dump. Alternatively, type the command "adb shell pm list packages -i PKG_NAME". – Firelord Jan 27 at 0:01
  • if it is empty (not found), does it mean I need to worry about malicious intrusion? – Suncatcher Jan 27 at 19:39
  • @Suncatcher It means that it was not installed by an another package, such as an installer. The app was either sideloaded by the user, or, it was shipped by the oem. – Firelord Jan 28 at 1:02
  • I see that you have asked this as a question. Did you try that second adb command I mentioned in the comment? Xiaomi could have made changes in some standard strings in the dump so that's what you may have found nothing in it. Try that other command. If you are using Android 8 or above, sideloaded apps are assigned the installer name of the system's package installer app. – Firelord Jan 28 at 1:06
4

I didn't find a place in the stock-system which tells this. But there are useful tools around like AppMonster which display this information along (besides, AppMonster allows you to backup your apps, and in the Pro-Version even does so automatically on install as well as update -- so you can revert to a previously installed version easily in case of trouble with an update).

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.