-2

Does anyone know the start process of android emulator?I can find that a system.img file in my folder,and I often use emulator command to start a real emulator.Dose anyone know how the emulator command to load the system.img and how the emulator is manufactured? Actually,I want to know how to program a emulator to load the android system.img by myself. Thanks a lot.

Crystal Jake
  • 201
  • 4
  • 13
  • Android is open source, check the code. http://stackoverflow.com/questions/8134089/android-emulator-source-code – J.G.Sebring Mar 26 '13 at 14:22

1 Answers1

0

Here is command to start AVD with your own system.img

emulator -avd AVD_NAME -initdata userdata.img -ramdisk ramdisk.img -system system.img -sdcard ~/songs_for_music_app/Music_card.img

for source do git clone https://android.googlesource.com/platform/sdk and follow Modifying Android emulator source code this.

or else follow this for whole android source https://source.android.com/source/downloading.html

Community
  • 1
  • 1
Charan Pai
  • 2,288
  • 5
  • 32
  • 44