As the title says, it is po开发者_JAVA百科ssible to run a full android device rom inside the Android emulator?
Yes you can, but getting it to work 100% might be hard. most of the roms include specific drivers for the hardware they are running on.
I am not 100% on this working, but here are the steps to try:
- Create a Nandroid backup
- Create a new AVD for your ROM
- Copy system.img from the nandroid backup to c:/users/myusername/.android/avd/myrom.avd/
- I think you can also take the userdata.img or the other images as well, but i would try just system.img first
- start up your emulator and see if it boots, but again, the rom may be expecting specifi hardware that the emulator is not going to have.
What do you mean? The sdk ships with specific roms already. You can also download certain roms from the Motorola website (like cliq, milestone) to run with the emulator (those roms do not include the Google apis though). You can also download the cyanogen roms and run those. Here a forum post with instructions.
精彩评论