13

I have to clone about 65 Android devices (Samsung Galaxy Tab 10.1N). I would do it with a backup in CyanogenMod, but the problem with the Cyanogen Backup is, it does not back up the SD card.

Any other methods to completely clone an Android device? (Homescreen settings, installed apps, data on SD card, etc.)

3
  • To clarify: Do you want to backup all these devices or restore a backup to these devices?
    – user13391
    May 4, 2012 at 9:39
  • One device is the "Master device". In this, i will configure everything. On every next Device i will just Restore the Backup from the "Master device".
    – Styler2go
    May 4, 2012 at 9:43
  • See my answer as to how to do it manually. This would be miles easier if you had someone write a simple program to do this but the details of that are off topic here.
    – user13391
    May 4, 2012 at 9:55

3 Answers 3

5
  1. Make a nandroid backup from recovery.
  2. Make sure that the backup is located on the sdcard.
  3. Mount the sdcard on a computer and copy it's contents to a folder on a pc.
  4. Copy the entire contents of the folder you made above to the target device.
  5. Root the device than install a custom recovery if you didn't do this already.
  6. In recovery restore the nandroid backup.
  7. Reboot the device. Now everything should be exactly the same as on the original.

Repeat steps 4-7 for every device.


If there're lots of small files that need to be transferred, another possibility is zip them up copy to the phone and than unzip it using

adb shell unzip path/to/file.zip

Once the command is launched you can disconnect the device the process will continue as long as there're no conflicting files or folders.

17
  • So, there is no possibility to include the sdcard Data directly in the Backup? The sdcard-Content includes about 30.000 Files, which would copy for too long time without a zip, and unzipping on every device would take to many manual steps for that amount of devices...
    – Styler2go
    May 4, 2012 at 9:58
  • @Styler2go no there isn't. If you think about it's understandable because that's where it backs up stuff. This would be so much easier with scripting.
    – user13391
    May 4, 2012 at 10:01
  • Any possibilities to include the sdcard-content on my Computer with the nandroid backup? Something like packing it into one *.tar File from the backup? What about scripting? Do you mean, writing an own "update.zip"?
    – Styler2go
    May 4, 2012 at 10:05
  • I don't think Nandroid would make any difference than Cyanogen Backup, in this situation.
    – iOS
    May 4, 2012 at 10:07
  • @Styler2go update.zip is meant to flash updates on system ROM... Not for SD card.
    – iOS
    May 4, 2012 at 10:09
1

rsync

I literally just finished cloning my device. This is how i did it:

root@android:~# rsync --progress -aEzv / [email protected]:~/Desktop/Android-Backup/

FYI: 10.1.1.2 is just the IP address assigned to my laptop.

No USB-cable is required. However, you will more than likely need to have rsync and also an ssh server installed (and running) on both devices.

1
  • 1
    Tell me why you voted this answer down so I can improve it.
    – voices
    May 25, 2016 at 18:14
0

I would use your recovery ie. TWRP. If you flashed CM then you must have some sort of custom recovery. Do a full backup of your OS, copy it from the file system and then flash it on every same device you have. You know have a mirror of everything. quick and easy.

You must log in to answer this question.

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