Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add/implement additional convenience scripts #8

Open
schnatterer opened this issue Nov 12, 2021 · 0 comments
Open

Add/implement additional convenience scripts #8

schnatterer opened this issue Nov 12, 2021 · 0 comments

Comments

@schnatterer
Copy link
Owner

schnatterer commented Nov 12, 2021

  • applogcat
  • listPackages
  • packageId, e.g. for app name packageId signal -> org.thoughtcrime.securesms
  • app label (Name for packageId) - aapt dump badging /data/app/..../base.apk | grep application-label-en-GB
  • appVersion - sudo grep $packageId /data/system/packages.xml | grep userId | sed 's/.*version="\([0-9]*\).*/\1/'
  • List all apps with keys: sudo ls /data/misc/keystore/user_0 | sed 's/\([0-9]*\).*/\1/' | uniq | xargs -I {} sudo grep 'userId="{}' /data/system/packages.xml | sed 's/<package name="\([^"]*\)".*$/\1/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant