3

Is it possible to use Nandroid to backup an AVD instance?

4
  • should be, but why not just use the built in snapshot system?
    – ewanm89
    Oct 8, 2012 at 19:37
  • 1
    An AVD instance can be backed up, found in hidden directory called .android/avd..
    – t0mm13b
    Oct 8, 2012 at 19:43
  • Because I would extract the system.img of the Nandroid backup and use it to create other AVD instances based on that backup. If I use the snapshot function I am not sure I can create new virtual devices with different HW and the same system image.
    – Andrea
    Oct 8, 2012 at 19:45
  • I've been looking into the .android/avd/ folder, but I didn't actually find any system.img file. Am I missing something?
    – Andrea
    Oct 8, 2012 at 19:47

1 Answer 1

3

The system images system.img are located in the android SDK install directory under system-images/android-<platform-version>/<platform-type>.

Once you create the AVD, in the %USERPROFILE%/.android/avd/<AVD_NAME>.avd you will find the img files for /sdcard/ and /data/, but /system and such are loaded from the SDK path mentioned above.

In order to create an AVD you must install the system images from the SDK manager.

3
  • Ok, thanks for this clarification. Anyway I still don't get how I could for example install one application in the emulator, save its current state (the system state, i.e. the system.img file, I guess) and use it to create a new AVD. With the system.img I could just put it in one of the android-sdk/platforms/android-XX/images folders, and create a new AVD with that platform to have an exact system replication...
    – Andrea
    Oct 8, 2012 at 20:30
  • 1
    you would basically copy the sdcard.img and userdata.img between the instances of the AVD. Oct 8, 2012 at 20:39
  • Ok, I got where I was wrong. I was trying to backup the system.img file with Nandroid, while I actually needed the userdata-qemu.img file and I can easily grab it in the AVD folder. Thanks for your help.
    – Andrea
    Oct 17, 2012 at 10:25

You must log in to answer this question.

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