Does adb pull verify files automatically? For instance, does it check the hash/checksum of pulled files to see whether they were pulled correctly? I'm guessing it does, but I haven't found an answer online.

If not, I can write a bash script (Linux) for it and post it in an answer.

  • 3
    This link about verify your file's MD5 checksums! might be helpful for verifying your file integrity after the adb pull command. As mentioned on that post, You can actually view a file's MD5 checksum using Astro File Manager (i.e., via viewing a file's details) and the command adb shell md5sum FILE also seems to be helpful to check the checksum of a file. Read more on the above mentioned link for other methods too ;)
    – Lucky
    Jul 28, 2015 at 18:16

2 Answers 2


I wrote a Bash (Linux) script that runs adb pull and then compares the md5sums of the pulled files with the original files. If the md5sums don't match, the script will automatically remove the corrupted pulled files and then retry adb pull again. I put the script on Pastebin here (thanks to the tip from GiantTree).

  • 1
    Could you upload it to pastebin as well, so users can see the script instantly without downloading it first?
    – GiantTree
    Jul 29, 2015 at 15:00
  • Hey I can't believe I didn't think to do that! Sure! Jul 30, 2015 at 2:39

From what I have seen so far (and I use adb pull very often), there is no verification process going on.
If a file, that has been pulled, is corrupted, you will get no notification about it whatsoever.

  • Even if there is no verification in the UI, that doesn't necessarily mean ADB isn't doing a verification behind the scenes, so I'm curious if you mean that you have indeed had files corrupted on download, that when redownloaded were fine? (Thank you if you have sometime to reply when next you log on.)
    – ninjagecko
    Jun 26, 2023 at 12:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .