Back Up Individual Android App Data Using ADB (No Root)

17 min read Step‑by‑step guide to safely back up and restore the data of a single Android app using ADB, without rooting your phone. October 13, 2026 14:00 How to Back Up Individual Android App Data Using ADB (No Root)

Many Android users need a quick way to save the data of a single app – for example before a factory reset, before switching phones, or when testing a new version of the app. While Google Backup handles most apps automatically, it doesn’t give you granular control and often skips data from apps that disable the built‑in backup feature. This tutorial shows how to use the official Android Debug Bridge (ADB) to create a portable backup of one app’s private data without rooting the device.

Before you start

  • Computer with USB‑A or USB‑C port – Windows, macOS, or Linux.
  • Android device running Android 6.0 or later. The steps work on most OEM skins, but wording may differ slightly (e.g., Settings → System → Developer options on Samsung).
  • USB cable that supports data transfer. A charge‑only cable will not allow ADB communication.
  • At least 500 MB of free space on your computer for the backup file.
  • Optional but recommended: Backup password – you can set a password for the .ab file to keep the data encrypted.

If you have never used ADB before, the first part of this guide walks you through installing the platform‑tools and enabling USB debugging.

1. Install the Android SDK Platform‑Tools

  1. Download the latest platform‑tools package for your OS.
  2. Extract the zip file to a convenient location, e.g., C:\adb on Windows or ~/adb on macOS/Linux.
  3. Add the folder to your system PATH so you can run adb from any terminal.
    • Windows: setx PATH "%PATH%;C:\adb"
    • macOS/Linux: add export PATH=$PATH:~/adb to ~/.bashrc or ~/.zshrc.
  4. Open a new terminal window and verify the installation with adb version. You should see something like Android Debug Bridge version 1.0.41.

2. Enable USB debugging on the Android device

  1. Open Settings → About phone.
    • Scroll to Build number and tap it seven times. You will see a toast saying “You are now a developer!”.
  2. Return to the main Settings screen. You will now have a Developer options entry.
    • On Pixel/Android stock: Settings → System → Advanced → Developer options.
    • On Samsung: Settings → About phone → Software information → Build number (already done) then Settings → Developer options.
  3. Enter Developer options** and toggle **USB debugging** on.
  4. When you connect the phone to the computer, a dialog will appear asking to Allow USB debugging. Check “Always allow from this computer” and tap OK.

3. Verify the ADB connection

  1. Connect the phone via USB. In the terminal run:
    adb devices
  2. You should see a line with the device serial number followed by device. Example:
    R58M1234567    device
  3. If you see unauthorized, unlock the phone and accept the debugging prompt again.

4. Identify the package name of the app you want to back up

  1. Open the app’s Play Store page on your phone. The URL contains the package name after id=, e.g., com.whatsapp.
  2. Alternatively, list all installed packages from the computer:
    adb shell pm list packages | grep -i keyword
    Replace keyword with part of the app’s name.
  3. Write down the exact package name – you will need it for the backup command.

5. Create the backup file

The basic ADB backup syntax is:

adb backup -f <backup-file.ab> -noapk -nosystem -noshared <package-name>

Explanation of the flags:

  • -f – output file path.
  • -noapk – do not include the APK itself (saves space; you can reinstall from Play Store).
  • -nosystem – ignore system apps.
  • -noshared – exclude shared storage (photos, downloads). For most app‑data backups you only need the private data folder.
  • Omitting -apk is safe because the app’s binary is public on the Play Store.
  1. Open a terminal in the folder where you want the backup to live.
  2. Run the command, replacing placeholders:
    adb backup -f myapp_backup.ab -noapk -nosystem -noshared com.example.myapp
  3. On the phone a dialog appears: “Full backup mode”.
    • You can set a password to encrypt the backup. This is optional but recommended.
    • Tap Back up my data to start.
  4. Wait for the progress bar to finish. The terminal will return to the prompt when the backup is complete.
  5. Verify that myapp_backup.ab exists and its size is reasonable (usually a few MB to a few hundred MB, depending on the app).

6. Understand the backup format and optional conversion

The .ab file is a proprietary Android backup container. It can be restored directly with ADB, but you might want to inspect or extract its contents.

  • To restore later, use the same adb restore command (see section 8).
  • To extract the data, you need the Android Backup Extractor (abe) tool or the Java‑based android-backup-extractor.jar.
    java -jar abe.jar unpack myapp_backup.ab myapp.tar
    The resulting .tar can be opened with any archive manager to view the raw /data/data/com.example.myapp folder.

Because the backup is optionally password‑protected, you will need to supply the same password to abe when unpacking.

7. Common limitations you need to know

  • AllowBackup flag – If the app’s AndroidManifest.xml sets android:allowBackup="false", ADB will refuse to back up its data. In that case you cannot use this method unless you have root access.
  • Encrypted app data – Some apps (e.g., banking apps) store data in an encrypted format that is meaningless without the app’s internal key. The backup will still contain the encrypted blobs, but you cannot read them directly.
  • Media files – The -noshared flag skips files stored on external storage. If the app keeps images, videos, or PDFs in /sdcard/Android/data/…, add the -shared flag to include them, but be aware the backup size will increase.
  • Android 9+ restrictions – Starting with Android 9, the backup dialog shows a warning that “Full backup mode may expose your private data”. The process still works, but some OEMs (e.g., Xiaomi) may hide the button unless you enable “Full backup” in Developer options.

8. Restoring the backup to the same or a new device

  1. Make sure the target device has the same app installed (same package name). Install it from the Play Store or sideload the APK.
  2. Enable USB debugging on the target device (repeat steps 2‑3).
  3. Connect the device and verify it appears with adb devices.
  4. Run the restore command:
    adb restore myapp_backup.ab
  5. A dialog appears on the phone asking for the backup password (if you set one) and to confirm the restore. Tap Restore my data.
  6. Wait until the terminal returns to the prompt. The app’s private data should now be identical to the source device.
  7. Open the app to verify that your settings, accounts, or game progress are present.

9. Backing up multiple apps in one go (optional)

If you need to preserve several apps, you can list them separated by spaces:

adb backup -f multi_backup.ab -noapk -nosystem -noshared com.example.app1 com.example.app2 com.example.app3

Or use -all to back up every user‑installed app (excluding system apps). Be mindful of storage space and the fact that some apps will refuse backup because of allowBackup="false".

10. Troubleshooting

ProblemPossible CauseSolution
Backup file is 0 KB or extremely small App has android:allowBackup="false" or the backup dialog was cancelled. Check the app’s manifest (online or via adb shell pm dump <package>). If allowBackup is false, you cannot back up without root.
adb returns "device unauthorized" USB debugging not authorized on the computer. Reconnect the cable, unlock the phone, and accept the RSA fingerprint prompt. If the prompt does not appear, toggle USB debugging off and on again.
Restore fails with "Backup data is corrupted" Backup file was transferred via a faulty medium or password mismatch. Re‑copy the .ab file using a reliable method (e.g., USB drive). Ensure you enter the exact password you set during backup.
App crashes after restore Data format changed between Android versions or the app updated its database schema. Try restoring to the same Android version the backup was created on, or clear the app’s cache (Settings > Apps > App > Storage > Clear cache) before launching.

11. Safety tips and best practices

  • Test on a non‑critical app first. Use a simple note‑taking app to confirm the workflow before handling banking or messaging apps.
  • Store backups in a secure location. If you used a password, keep it in a password manager. An unencrypted .ab file can be opened with abe and may expose personal data.
  • Keep a copy of the APK. Although -noapk saves space, some apps may disappear from the Play Store later. Save the APK with adb pull /data/app/<package>-1/base.apk (requires root) or download it from a reputable archive.
  • Document the package name and app version. Write down the version number you backed up; restoring to a newer version sometimes leads to incompatibilities.

12. When ADB backup isn’t enough

If the app you need to protect explicitly disables backup, you have two realistic options without rooting:

  1. Use the app’s own export feature. Many games, note‑apps, and finance tools provide an “Export data” or “Sync to cloud” option.
  2. Leverage the Android “Work profile” trick. Create a separate work profile, install the app there, and use the work‑profile backup (available on Android 11+). This isolates the data and lets you use the standard Google backup for that profile.

Both methods keep you within the OS security model and avoid the need for root.

13. Recap of the workflow

  1. Install platform‑tools and add adb to your PATH.
  2. Enable Developer options and turn on USB debugging.
  3. Connect the phone, verify with adb devices.
  4. Find the target app’s package name.
  5. Run adb backup -f myapp.ab -noapk -nosystem -noshared <package> and confirm on the phone.
  6. Store the .ab file safely (optionally convert to .tar for inspection).
  7. When needed, restore with adb restore myapp.ab on a device that has the app installed.

Following these steps gives you a reliable, no‑root method to preserve the exact state of any Android app’s private data.

Remember: ADB backup respects the app developer’s intent. If an app disables backup, the OS will block it to protect user privacy. In those cases, rely on the app’s native export or a cloud sync solution.

User Comments (0)

Add Comment
We'll never share your email with anyone else.