Skip to content

Instantly share code, notes, and snippets.

@empirefx
Last active February 19, 2025 19:22
Show Gist options
  • Save empirefx/51141db87c9b8c221eac2a7e4135b1dd to your computer and use it in GitHub Desktop.
Save empirefx/51141db87c9b8c221eac2a7e4135b1dd to your computer and use it in GitHub Desktop.

Samsung apps

List & disable/uninstall

USB Debug(need developer mode enabled)

Check whenever USB debugging is enabled

Settings > Developer Options > USB debugging

ADB

Download & check adb

./adb devices

list enabled

pm list packages -e

list disabled

pm list packages -d

enable

pm enable --user 0 <package>

disable

pm disable-user --user 0 <package>

uninstall

adb uninstall --user 0

List all apps

./adb shell pm list packages -f
const log = `paste terminal log`

const term = 'samsung';
//need update
const excludes = [
    //'DressRoom',
    'ConnectivityUxOverlay',
    'SHClient',
    'DualOutFocusViewer_S'
];
const matches = log.split('\n')
  .filter(line => line.includes(term) && !excludes.some(ex => line.includes(ex)));

console.log(matches);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment