Last active
January 8, 2025 16:24
-
-
Save cacheninetynine/31dcce193d0f70be4149e7c527eeff54 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://gist.github.com/fs0c131y/f498b21cba9ee23956fc7d7629262e9d | |
# save it as packages.txt | |
# get packages with adb and "pm list packages" | |
# remove "package:" | |
# and save the list it as in.txt | |
with open("packages.txt") as ptxt: | |
bp = ptxt.readlines() | |
with open("in.txt") as itxt: | |
ip = itxt.readlines() | |
for bad_package in bp: | |
if bad_package in ip: | |
print(bad_package.strip()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment