I downloaded a third-party ROM, and I want to run it on the emulator first before flash it into the phone. Here is the contents of cm-11-20140911-NIGHTLY-p3110.zip
Yeah why not. We can flash third party ROM on android AVD. But first you must know the following things:
1. Android Emulator is itself a device like your Moto G or Xperia
2. Every ROM is device specific (Support device specific Kernel)
(on many sites/blogs you got info like you have to replace system.img file from .android\avd\avdname.avd but it is technically incorrect because you also require ramdisk.img.)
To do this you need to create your own AOSP repo by downloading the particular repo and have to build your own .img files)
You can do it by 2 ways :
replace files system.img & ramdisk.img from location .android\avd\avdname.avd
build your own AOSP. before.. make in "lunch" select target as: Emulator(like: genericX86) i.e generate all emulator specific .img files
I have tried many things. It's a bit critical but interesting. Following links may help you:
To Run your cooked Rom on Emulator (link down. try this, from archive.org).
To Create AOSP Project