By reidLinden

2013-10-01 13:05:58 8 Comments

So, yesterday my phone took a serious tumble. It is now essentially useless, as the screen either fails to turn on, or when it does, there is nothing useful to see (just lines of primary colors, mostly).

I believe (from the fact that it still chirps at me when emails come in, etc), that the phone is still functional, otherwise.

I would like to perform a full system dump, so that I can get off any files from the phone (a TMobile SGS2 (hercules) running slimrom 4.3 build 1). The sdcard probably isn't important, as I can just pull it, but the phone's own internal storage I should like to get a copy of.

When I plug the phone into a usb port, it 'mounts' the usb via MTP, and I can see all the files. Unfortunately, when I do a select all | copy | paste operation, the paste op dies before transferring all files. I've tried a couple other ADB shell operations, in hope of flipping regular USB mounting on, but nothing has worked.

Any ideas how I can get a full dump of my poor phone's contents?


Currently running a adb pull /sdcard/ ... Its copying files presently, but its too early to tell if its going to get evertying I'm expecting.

Edit #2

looks like its going to work...its taking a rather long time, but it appears to be grabbing everything I was expecting it to.


@Izzy 2013-10-01 14:55:11

Not a full-fledged answer, as even an excerpt would make it a rather long post, but here are some things you could try:

  • An XDA article describes How To Backup and Restore using tar on adb shell. The article holds complete scripts for both. Still you should not execute them straight ahead as they are, but first use e.g. the mount command (without parameters) to make sure the mount points are correct, as they might differ between devices.
  • Use AndroidScreencast1 to "transfer the display to your PC". This way you see what you are doing, and might be able to backup using apps like Titanium Backup or Helium Backup
  • GadgetsDNA has a useful article with 15 Useful Android Terminal (ADB Shell) Commands2, including how to restore a Nandroid backup via fastboot. Unfortunately, nothing to create such.
  • A German Tutorial at Android-Hilfe.DE (GoogleTranslate Variant) describes a tool named ADBRecovery, including download links. This should enable you to do a Nandroid backup as well as restore.

I hope one of these hints proves helpful to you.

1: original code seems no longer maintained; yankee found this maintained fork working fine
2: links to Archive.ORG as the original page is gone; you can also find it at Slideshare

@reidLinden 2013-10-01 15:01:24

appreciate your answer. Definitely helpful.

@yankee 2016-10-19 19:37:56

The linked version of AndroidScreenshot has not been maintained for a while and did not work with my Samsung Galaxy S3 (image distorted). However the fork here worked for me.

@Izzy 2016-10-19 20:35:39

Thanks, @yankee – integrated that with my answer, credits given :)

Related Questions

Sponsored Content

2 Answered Questions

[SOLVED] adb permission denied to push files to subdirectry

  • 2016-10-14 09:41:22
  • foosion
  • 3312 View
  • 1 Score
  • 2 Answer
  • Tags:   adb

1 Answered Questions

2 Answered Questions

Get files of phone with broken everything

1 Answered Questions

3 Answered Questions

[SOLVED] How do I know when "adb backup" is finished?

  • 2012-09-20 01:26:20
  • Josh
  • 36339 View
  • 23 Score
  • 3 Answer
  • Tags:   backup adb

1 Answered Questions

[SOLVED] Enabling ADB on Nexus 6 with dead screen

1 Answered Questions

[SOLVED] ADB pull fails to pull folder that exists

2 Answered Questions

[SOLVED] How to Backup when Samsung G S3 not booting stuck at Samsung logo?

4 Answered Questions

[SOLVED] Broken screen while debug mode was disabled. How can I re-enable adb?

Sponsored Content