How to Manipulate MEmu thru Command Line

      No Comments on How to Manipulate MEmu thru Command Line

If you want to manipulate MEmu thru command line, please check this post.

Basic Command: MEmuConsole.exe (C:\Program Files\Microvirt\MEmu)

  • MEmuConsole MEmu_1 (start MEmu_1)
  • MEmuConsole ShutdownVm MEmu_1 (shutdown MEmu_1)
  • MEmuConsole create (create a new MEmu by default )
  • MEmuConsole clone MEmu_1 (clone a new MEmu from a MEmu_1)
  • MEmuConsole import D:\my_memu.ova (import a MEmu from my_memu.ova)
  • MEmuConsole export MEmu_1 D:\my_memu.ova (export MEmu_1 to my_memu.ova)
  • MEmuConsole installapk MEmu_1 D:\my_app.apk (install my_app.apk to MEmu_1)

Advanced Command: MEmuManage.exe (C:\Program Files\Microvirt\MEmuHyperv)

  • MEmuManage.exe import MEmu.ova –dry-run
  • MEmuManage.exe import MEmu.ova
  • MEmuManage.exe list runningvms
  • MEmuManage.exe unregistervm MEmu –delete
  • MEmuManage.exe controlvm MEmu poweroff
  • MEmuManage.exe modifyvm MEmu –memory 512
  • MEmuManage.exe modifyvm MEmu –cpus 1
  • MEmuManage.exe modifyvm MEmu –natpf1 delete INP
  • MEmuManage.exe modifyvm MEmu –natpf1 delete MVD
  • MEmuManage.exe modifyvm MEmu –natpf1 delete APP
  • MEmuManage.exe modifyvm MEmu –natpf1 delete ADB
  • MEmuManage.exe modifyvm MEmu –natpf1 delete SNS
  • MEmuManage.exe modifyvm MEmu –natpf1 “INP,tcp,127.0.0.1,21500,10.0.2.15,21500”
  • MEmuManage.exe modifyvm MEmu –natpf1 “MVD,tcp,127.0.0.1,21501,10.0.2.15,21501”
  • MEmuManage.exe modifyvm MEmu –natpf1 “APP,tcp,127.0.0.1,21502,10.0.2.15,21502”
  • MEmuManage.exe modifyvm MEmu –natpf1 “ADB,tcp,127.0.0.1,21503,10.0.2.15,5555”
  • MEmuManage.exe modifyvm MEmu –natpf1 “SNS,tcp,127.0.0.1,2l504,10.0.2.15,21504”
  • MEmuManage.exe guestproperty set MEmu imsi 460000446646798
  • MEmuManage.exe guestproperty set MEmu imei 133524256790010
  • MEmuManage.exe guestproperty set MEmu simserial 89860070200779921015
  • MEmuManage.exe guestproperty set MEmu enable_su 1
  • MEmuManage.exe guestproperty set MEmu microvirt_vm_brand iphone
  • MEmuManage.exe guestproperty set MEmu microvirt_vm_model 6 plus
  • MEmuManage.exe guestproperty set MEmu microvirt_vm_manufacturer Apple
  • MEmuManage.exe guestproperty set MEmu resolution_height 480
  • MEmuManage.exe guestproperty set MEmu resolution_width 800
  • MEmuManage.exe guestproperty set MEmu vbox_dpi 192
  • MEmuManage.exe guestproperty set MEmu linenum +8617677728760
  • MEmuManage.exe guestproperty set MEmu is_hide_toolbar 1
  • MEmuManage.exe guestproperty set MEmu_1 custom_tag “Cloned from MEmu”
  • MEmuManage.exe sharedfolder add MEmu –name music –hostpath “D:\MEmu Music”
  • MEmuManage.exe sharedfolder add MEmu –name movie –hostpath “D:\MEmu Video”
  • MEmuManage.exe sharedfolder add MEmu –name picture –hostpath “D:\MEmu Picture”
  • MEmuManage.exe sharedfolder add MEmu –name download –hostpath “D:\MEmu Download”

Note: Please make sure run command line with administrator privileges.

Note: It’s recommended to turn off the emulator before running MEmuManage.exe. The changes will take effect when start it again.

Note: If you want to know the all parameters in more details, please visit download this document.


 

>> Back to MEmu 101, everything you need to know about MEmu <<

Official Website: https://www.memuplay.com
Online Support: https://www.facebook.com/memuplayer
User Group: https://www.facebook.com/groups/memuplayer