20

When switching between ROMs, I've found it helpful to have a list of the applications that I had installed before wiping and flashing the new ROM.

Is there a way to export such a list to a file so I don't have to create one manually?

1
  • Old question but anyway: you can export packages installed from f-droid from within the app. You get CSV formatted data with quite a bit of detail. Jul 1, 2021 at 6:08

3 Answers 3

16

With a Terminal Emulator app (or via adb shell), you can use the following command to get a list of installed applications:

pm list packages

There are some optional switches for this command that will give you more information, such as the location and name of the APK file as well. Keep in mind that this command lists both 3rd-party app as well as system ones that came pre-installed on your device.

If you are generating the list for the purpose of re-installing the apps on the new ROM, you might want to look into the AppBrain App Market app. Once you are signed in with your Google account and synced up, it will save the installed apps as a list that you can view and manage online. After installing a new ROM, you simply download the AppBrain app from the Market first and use it to re-install other apps from the saved list by doing the following:

  1. Launch AppBrain app.
  2. Select the Manage And Sync option.
  3. Sign in with the same Google account as you did before.
  4. Tap the My lists... button and select the list you've created previously.
  5. Tap the Add all apps button. This will queue up all of the applications you had installed on the previous ROM for installation.
  6. Go back to the previous screen and tap the Execute changes button which will automatically bring you to the Market page for installing the apps.
1
  • Fyi this didn't work for me on Android 8 Jul 1, 2021 at 6:09
7

I would suggest the open-source app "List my apps". This app displays a list of installed apps and lets you:

  • different output formats (txt, html, ...)
  • Share with other apps, such as a text editor
  • Copy text to paste somewhere
  • Define format for output (version, datadir, ...)

https://f-droid.org/packages/de.onyxbits.listmyapps/

1
  • This appears to be no longer maintained. Also it doesn't export links to f-droid for apps installed from there Jul 1, 2021 at 6:10
3

packages.xml located in /data/system/ contains it

Some interesting links that might answer your question:

1
  • Doesn't work with stock Android 4.3 -- the /data folder appears empty (probably due to SELinux).
    – Henning
    Sep 11, 2013 at 15:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .