12

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

Does somebody know any other method to completely clone an Android device? (Homescreen settings, installed Apps, Data on SD card!)

  • To clarify: Do you want to backup all these devices or restore a backup to these devices? – R R May 4 '12 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 '12 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. – R R May 4 '12 at 9:55
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.

  • 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 '12 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. – R R May 4 '12 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 '12 at 10:05
  • I don't think Nandroid would make any difference than Cyanogen Backup, in this situation. – Android Quesito May 4 '12 at 10:07
  • @Styler2go update.zip is meant to flash updates on system ROM... Not for SD card. – Android Quesito May 4 '12 at 10:09
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.

-1

rsync

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

root@android:~# rsync --progress -aEzv / tjt263@10.1.1.2:~/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
    Tell me why you voted this answer down so I can improve it. – voices May 25 '16 at 18:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.