ABD Commands

Ask our community anything. We will do our best to help. You will receive an answer quicker via our discord support server.

Moderators: Junior Moderator, Jr. Admin

User avatar
RRiVEN
Admin | Developer
Posts: 518
Joined: Fri Dec 02, 2016 11:56 pm

mrbeluga wrote: Mon May 23, 2022 1:08 am do these commands work for Ladb? ....im assuming we replace adb with pm at the start of each command??
Yes, remove adb and adn shell and they should work
User avatar
novares
Admin
Posts: 697
Joined: Tue Nov 22, 2016 10:46 pm

mrbeluga wrote: Mon May 23, 2022 1:08 am do these commands work for Ladb? ....im assuming we replace adb with pm at the start of each command??
Yes
User avatar
YsStrosin
Alliance Member
Posts: 1
Joined: Sun Dec 26, 2021 2:13 pm

I have a Samsung A12 that accidentally disabled all the features with Alliance Shield and now it won't let me reset it, how could I fix it?
User avatar
beowulf381
Administrator
Posts: 579
Joined: Mon Dec 12, 2016 10:57 am

YsStrosin wrote: Sat Jun 11, 2022 4:45 am I have a Samsung A12 that accidentally disabled all the features with Alliance Shield and now it won't let me reset it, how could I fix it?
There ia currently no device registered with your username.
User avatar
Gsmarbe21
Alliance Member
Posts: 1
Joined: Wed Aug 11, 2021 2:18 am

ADB MTP ON
User avatar
Janu37
Alliance Member
Posts: 1
Joined: Sun Jan 14, 2024 11:00 pm

    novares wrote: Sun Jan 24, 2021 6:04 pm Here is a list of ADB commands that you can use through CMD or ADB Shell on local device:

    ADB Basics

    adb devices (lists connected devices)
    adb root (restarts adbd with root permissions)
    adb start-server (starts the adb server)
    adb kill-server (kills the adb server)
    adb reboot (reboots the device)
    adb devices -l (list of devices by product/model)
    adb shell (starts the backround terminal)
    exit (exits the background terminal)
    adb help (list all commands)
    adb -s <deviceName> <command> (redirect command to specific device)
    adb –d <command> (directs command to only attached USB device)
    adb –e <command> (directs command to only attached emulator)

    Package Installation

    adb shell install <apk> (install app)
    adb shell install <path> (install app from phone path)
    adb shell install -r <path> (install app from phone path)
    adb shell uninstall <name> (remove the app)

    Paths

    /data/data/<package>/databases (app databases)
    /data/data/<package>/shared_prefs/ (shared preferences)
    /data/app (apk installed by user)
    /system/app (pre-installed APK files)
    /mmt/asec (encrypted apps) (App2SD)
    /mmt/emmc (internal SD Card)
    /mmt/adcard (external/Internal SD Card)
    /mmt/adcard/external_sd (external SD Card)

    adb shell ls (list directory contents)
    adb shell ls -s (print size of each file)
    adb shell ls -R (list subdirectories recursively)

    File Operations

    adb push <local> <remote> (copy file/dir to device)
    adb pull <remote> <local> (copy file/dir from device)
    run-as <package> cat <file> (access the private package files)

    Phone Info

    adb get-statе (print device state)
    adb get-serialno (get the serial number)
    adb shell dumpsys iphonesybinfo (get the IMEI)
    adb shell netstat (list TCP connectivity)
    adb shell pwd (print current working directory)
    adb shell dumpsys battery (battery status)
    adb shell pm list features (list phone features)
    adb shell service list (list all services)
    adb shell dumpsys activity <package>/<activity> (activity info)
    adb shell ps (print process status)
    adb shell wm size (displays the current screen resolution)
    dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp' (print current app's opened activity)

    Package Info

    adb shell list packages (list package names)
    adb shell list packages -r (list package name + path to apks)
    adb shell list packages -3 (list third party package names)
    adb shell list packages -s (list only system packages)
    adb shell list packages -u (list package names + uninstalled)
    adb shell dumpsys package packages (list info on all apps)
    adb shell dump <name> (list info on one package)
    adb shell path <package> (path to the apk file)

    Configure Settings Commands

    adb shell dumpsys battery set level <n> (change the level from 0 to 100)
    adb shell dumpsys battery set status<n> (change the level to unknown, charging, discharging, not charging or full)
    adb shell dumpsys battery reset (reset the battery)
    adb shell dumpsys battery set usb <n> (change the status of USB connection. ON or OFF)
    adb shell wm size WxH (sets the resolution to WxH)

    Device Related Commands

    adb reboot-recovery (reboot device into recovery mode)
    adb reboot fastboot (reboot device into recovery mode)
    adb shell screencap -p "/path/to/screenshot.png" (capture screenshot)
    adb shell screenrecord "/path/to/record.mp4" (record device screen)
    adb backup -apk -all -f backup.ab (backup settings and apps)
    adb backup -apk -shared -all -f backup.ab (backup settings, apps and shared storage)
    adb backup -apk -nosystem -all -f backup.ab (backup only non-system apps)
    adb restore backup.ab (restore a previous backup)
    adb shell am start|startservice|broadcast <INTENT>[<COMPONENT>]
    -a <ACTION> e.g. android.intent.action.VIEW
    -c <CATEGORY> e.g. android.intent.category.LAUNCHER (start activity intent)

    adb shell am start -a android.intent.action.VIEW -d URL (open URL)
    adb shell am start -t image/* -a android.intent.action.VIEW (opens gallery)
    Logs

    adb logcat [options] [filter] [filter] (view device log)
    adb bugreport (print bug reports)

    Permissions

    adb shell permissions groups (list permission groups definitions)
    adb shell list permissions -g -r (list permissions details)
    User avatar
    Janu8679
    Alliance Member
    Posts: 1
    Joined: Fri Feb 16, 2024 3:48 pm

    adb devices (lists connected devices)
    adb root (restarts adbd with root permissions)
    adb start-server (starts the adb server)
    adb kill-server (kills the adb server)
    adb reboot (reboots the device)
    adb devices -l (list of devices by product/model)
    adb shell (starts the backround terminal)
    exit (exits the background terminal)
    adb help (list all commands)
    adb -s <deviceName> <command> (redirect command to specific device)
    adb –d <command> (directs command to only attached USB device)
    adb –e <command> (directs command to only attached emulator)

    Package Installation

    adb shell install <apk> (install app)
    adb shell install <path> (install app from phone path)
    adb shell install -r <path> (install app from phone path)
    adb shell uninstall <name> (remove the app)

    Paths

    /data/data/<package>/databases (app databases)
    /data/data/<package>/shared_prefs/ (shared preferences)
    /data/app (apk installed by user)
    /system/app (pre-installed APK files)
    /mmt/asec (encrypted apps) (App2SD)
    /mmt/emmc (internal SD Card)
    /mmt/adcard (external/Internal SD Card)
    /mmt/adcard/external_sd (external SD Card)

    adb shell ls (list directory contents)
    adb shell ls -s (print size of each file)
    adb shell ls -R (list subdirectories recursively)

    File Operations

    adb push <local> <remote> (copy file/dir to device)
    adb pull <remote> <local> (copy file/dir from device)
    run-as <package> cat <file> (access the private package files)

    Phone Info

    adb get-statе (print device state)
    adb get-serialno (get the serial number)
    adb shell dumpsys iphonesybinfo (get the IMEI)
    adb shell netstat (list TCP connectivity)
    adb shell pwd (print current working directory)
    adb shell dumpsys battery (battery status)
    adb shell pm list features (list phone features)
    adb shell service list (list all services)
    adb shell dumpsys activity <package>/<activity> (activity info)
    adb shell ps (print process status)
    adb shell wm size (displays the current screen resolution)
    dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp' (print current app's opened activity)

    Package Info

    adb shell list packages (list package names)
    adb shell list packages -r (list package name + path to apks)
    adb shell list packages -3 (list third party package names)
    adb shell list packages -s (list only system packages)
    adb shell list packages -u (list package names + uninstalled)
    adb shell dumpsys package packages (list info on all apps)
    adb shell dump <name> (list info on one package)
    adb shell path <package> (path to the apk file)

    Configure Settings Commands

    adb shell dumpsys battery set level <n> (change the level from 0 to 100)
    adb shell dumpsys battery set status<n> (change the level to unknown, charging, discharging, not charging or full)
    adb shell dumpsys battery reset (reset the battery)
    adb shell dumpsys battery set usb <n> (change the status of USB connection. ON or OFF)
    adb shell wm size WxH (sets the resolution to WxH)

    Device Related Commands

    adb reboot-recovery (reboot device into recovery mode)
    adb reboot fastboot (reboot device into recovery mode)
    adb shell screencap -p "/path/to/screenshot.png" (capture screenshot)
    adb shell screenrecord "/path/to/record.mp4" (record device screen)
    adb backup -apk -all -f backup.ab (backup settings and apps)
    adb backup -apk -shared -all -f backup.ab (backup settings, apps and shared storage)
    adb backup -apk -nosystem -all -f backup.ab (backup only non-system apps)
    adb restore backup.ab (restore a previous backup)
    adb shell am start|startservice|broadcast <INTENT>[<COMPONENT>]
    -a <ACTION> e.g. android.intent.action.VIEW
    -c <CATEGORY> e.g. android.intent.category.LAUNCHER (start activity intent)

    adb shell am start -a android.intent.action.VIEW -d URL (open URL)
    adb shell am start -t image/* -a android.intent.action.VIEW (opens gallery)
    Logs

    adb logcat [options] [filter] [filter] (view device log)
    adb bugreport (print bug reports)

    Permissions

    adb shell permissions groups (list permission groups definitions)
    adb shell list permissions -g -r (list permissions details)
    Top
    Quick Reply
    User avatar
    yomamaspun5418
    Alliance Member
    Posts: 1
    Joined: Mon Sep 16, 2024 11:32 pm

    What the hell am i doing, and why am i doing it? Lol
    User avatar
    9928950195
    Alliance Member
    Posts: 1
    Joined: Thu Nov 14, 2024 10:10 am

    dpm set-device-owner org.alliancex.shieldx/.Receivers.DeviceAdmin
    User avatar
    Kb63347
    Alliance Member
    Posts: 1
    Joined: Wed Oct 18, 2023 5:53 am

    [anchor][youtube][/youtube][/anchor]
    User avatar
    Dulz3garz1a
    Alliance Member
    Posts: 1
    Joined: Mon Mar 10, 2025 9:50 am

    [quote=novares post_id=19720 time=1611525851 user_id=48]
    Here is a list of ADB commands that you can use through CMD or ADB Shell on local device:

    ADB Basics

    adb devices (lists connected devices)
    adb root (restarts adbd with root permissions)
    adb start-server (starts the adb server)
    adb kill-server (kills the adb server)
    adb reboot (reboots the device)
    adb devices -l (list of devices by product/model)
    adb shell (starts the backround terminal)
    exit (exits the background terminal)
    adb help (list all commands)
    adb -s <deviceName> <command> (redirect command to specific device)
    adb –d <command> (directs command to only attached USB device)
    adb –e <command> (directs command to only attached emulator)

    Package Installation

    adb shell install <apk> (install app)
    adb shell install <path> (install app from phone path)
    adb shell install -r <path> (install app from phone path)
    adb shell uninstall <name> (remove the app)

    Paths

    /data/data/<package>/databases (app databases)
    /data/data/<package>/shared_prefs/ (shared preferences)
    /data/app (apk installed by user)
    /system/app (pre-installed APK files)
    /mmt/asec (encrypted apps) (App2SD)
    /mmt/emmc (internal SD Card)
    /mmt/adcard (external/Internal SD Card)
    /mmt/adcard/external_sd (external SD Card)

    adb shell ls (list directory contents)
    adb shell ls -s (print size of each file)
    adb shell ls -R (list subdirectories recursively)

    File Operations

    adb push <local> <remote> (copy file/dir to device)
    adb pull <remote> <local> (copy file/dir from device)
    run-as <package> cat <file> (access the private package files)

    Phone Info

    adb get-statе (print device state)
    adb get-serialno (get the serial number)
    adb shell dumpsys iphonesybinfo (get the IMEI)
    adb shell netstat (list TCP connectivity)
    adb shell pwd (print current working directory)
    adb shell dumpsys battery (battery status)
    adb shell pm list features (list phone features)
    adb shell service list (list all services)
    adb shell dumpsys activity <package>/<activity> (activity info)
    adb shell ps (print process status)
    adb shell wm size (displays the current screen resolution)
    dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp' (print current app's opened activity)

    Package Info

    adb shell list packages (list package names)
    adb shell list packages -r (list package name + path to apks)
    adb shell list packages -3 (list third party package names)
    adb shell list packages -s (list only system packages)
    adb shell list packages -u (list package names + uninstalled)
    adb shell dumpsys package packages (list info on all apps)
    adb shell dump <name> (list info on one package)
    adb shell path <package> (path to the apk file)

    Configure Settings Commands

    adb shell dumpsys battery set level <n> (change the level from 0 to 100)
    adb shell dumpsys battery set status<n> (change the level to unknown, charging, discharging, not charging or full)
    adb shell dumpsys battery reset (reset the battery)
    adb shell dumpsys battery set usb <n> (change the status of USB connection. ON or OFF)
    adb shell wm size WxH (sets the resolution to WxH)

    Device Related Commands

    adb reboot-recovery (reboot device into recovery mode)
    adb reboot fastboot (reboot device into recovery mode)
    adb shell screencap -p "/path/to/screenshot.png" (capture screenshot)
    adb shell screenrecord "/path/to/record.mp4" (record device screen)
    adb backup -apk -all -f backup.ab (backup settings and apps)
    adb backup -apk -shared -all -f backup.ab (backup settings, apps and shared storage)
    adb backup -apk -nosystem -all -f backup.ab (backup only non-system apps)
    adb restore backup.ab (restore a previous backup)
    adb shell am start|startservice|broadcast <INTENT>[<COMPONENT>]
    -a <ACTION> e.g. android.intent.action.VIEW
    -c <CATEGORY> e.g. android.intent.category.LAUNCHER (start activity intent)

    adb shell am start -a android.intent.action.VIEW -d URL (open URL)
    adb shell am start -t image/* -a android.intent.action.VIEW (opens gallery)
    Logs

    adb logcat [options] [filter] [filter] (view device log)
    adb bugreport (print bug reports)

    Permissions

    adb shell permissions groups (list permission groups definitions)
    adb shell list permissions -g -r (list permissions details)
    [/quote]
    User avatar
    Hoangvutru1203
    Alliance Member
    Posts: 1
    Joined: Wed Aug 27, 2025 11:59 pm

    Bị hack thiết bị và hacker đã ẩn email FRP cách xoá xác minh tài khoản FRP
    User avatar
    semmy54
    Alliance Member
    Posts: 1
    Joined: Sat Jun 28, 2025 9:48 am

    "Really helpful! Thanks for sharing these ADB commands so clearly—they make troubleshooting and learning much easier. 👍💻"
    https://flstudiomobileapk.org
    User avatar
    Instander
    Alliance Member
    Posts: 1
    Joined: Thu Nov 13, 2025 5:59 am

    please visit for proper guide https://theinstanderapk.org/
    User avatar
    robinhadly4797
    Alliance Member
    Posts: 3
    Joined: Thu Oct 16, 2025 6:45 am

    For customers who prefer managing finances on the go, Capital One offers a mobile app compatible with iOS and Android devices. Capital One prioritizes your security, but it’s equally important for users to take precautions.
    paypal login
    Capital One Login
    Post Reply