1

With PCs I have made good experiences virtualizing the machine when changing to a new system (e.g., buy a new computer, change the operation system). Doing this, you can preserve your old system and restart it virtually if you would like to look up anything about your old system (e.g., a settings within a software tool).

As I have an issue with my not so old smartphone now and probably have to hand it in for repair, I would like to do the same with my Android system. I already did a backup using adb.exe from Android-SDK. Now, I am wondering if these backup-files represent a proper image and if there is a way to initiate these images in a virtual machine!?

On the web I could not find any solution. There are lots of instructions of how to run Android-x86 as virtual machine. But that is not exactly what I am looking for.

  • What an interesting question! +1 – bgmCoder Nov 20 '15 at 4:29
2

ADB backs up Settings + Apps(System + User) + Apps Data + User Data. That's it. The backup made through it doesn't come close to be related to booting it into virtual machine or even a real device. Short story, you have a backup definitely but that's not a system image.

If you want to create a system image, you need to do it through a Nandroid backup or a custom tool. For the former, you require a custom recovery installed. But even that backup cannot be virtualized on a PC, not that I'm aware of any of yet.

However, you can virtualize (running real actually) this Nandroid backup using MultiRom. I did not use MultiRom but I found that folks use it to boot multiple Android OS. I'm yet to be certain whether this backup can be installed in a seconday ROM, I suppose it should be. Besides, the last time I checked for Android virtualization, I got Android 4.3 as the latest available iso when 5.0 for devices was already launched.

Note: This is an attempt and is far away from a good answer. Nonetheless, it doesn't qualify to be a comment either.

  • Mmh, do you think it is possible to set up a virtual machine of the same Android version I am currently using and then use ADB to restore my settings, apps and so on this virtual Android? Or would this be a hopeless attempt as I backed up everything from a non-custom ROM system? – ToJo Apr 25 '15 at 23:13
  • AFAIK, the virtualization software don't support arm architecture. They are limited to IBM style Intel/Amd. Even if you somehow end up creating an image for your device, I'm certain you won't be able to run it since your image is tweaked and dependent on you device HW. – Firelord Apr 25 '15 at 23:20
  • @ToJo It is possible that someone could have already achieved this goal somehow on AE too. If I ever come to know of this, I'll post the info if not posted by someone till then – Firelord Apr 25 '15 at 23:42
  • Would it be possible to do something like gparted? Maybe something that involves Droid Explorer? Surely you could clone the partitions somehow. – bgmCoder Nov 20 '15 at 4:31
  • @BGM, I've not used Droid Explorer; you can take the image of the partitions using dd. Several custom recoveries do that. You can even mount them on your PC but that's not enough to emulate the Android. – Firelord Nov 20 '15 at 4:35

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.