{"id":3018,"date":"2018-11-27T06:19:10","date_gmt":"2018-11-27T06:19:10","guid":{"rendered":"https:\/\/www.memuplay.com\/blog\/?p=3018"},"modified":"2021-01-14T20:42:51","modified_gmt":"2021-01-14T12:42:51","slug":"memucommand-reference-manual","status":"publish","type":"post","link":"https:\/\/www.memuplay.com\/blog\/memucommand-reference-manual.html","title":{"rendered":"MEmu Command (MEMUC) Reference Manual"},"content":{"rendered":"<h2><span style=\"color: #ff6600;\"><b>GOOD NEWS for Geeks and Programmers!! <\/b><\/span><\/h2>\n<p>Since <a href=\"https:\/\/www.memuplay.com\">MEMU Android Emulator 6.0<\/a>, MEmu supports a new full-functional command <span style=\"color: #ff0000;\"><strong><span style=\"color: #ff0000;\">MEMUC.\u00a0<\/span><\/strong><span style=\"color: #000000;\">It is designed to replace all other command interfaces like memu, memumanage, memuconsole and adb. So read this article and you will know everything about this powerful command.<\/span><\/span><\/p>\n<p>memuc supports to manipulate multiple instances (VMs) such as reboot emulator, check status, install apk, run app and etc. First of all, you need to pass over <strong>the index or the name of the target VM<\/strong>. For example:<br \/>\n<span style=\"color: #993300;\"><em>memuc clone -i 0 (or &#8211;index 0)<\/em><\/span> \/\/The 1st VM index is 0, 2nd is 1, 3rd is 2 &#8230;<br \/>\n<span style=\"color: #993300;\"><em>memuc remove -n MEmu_2 (or &#8211;name MEmu_2)<\/em><\/span> \/\/The 1st VM name is MEmu, 2nd is MEmu_1 &#8230;<\/p>\n<p>&nbsp;<\/p>\n<p>The MEMUC command is divided into four categories:<\/p>\n<p>&#8220;<strong>emulator management<\/strong>&#8220;, &#8220;<strong>emulator configuration<\/strong>&#8220;, &#8220;<strong>emulator control<\/strong>&#8220;, and &#8220;<strong>adb command<\/strong>&#8220;:<\/p>\n<p><span style=\"text-decoration: underline;\">Emulator management<\/span>: It mainly involves the startup and shutdown of the emulator, import and export, creation and deletion, running status query, etc. Except for a few operations such as cloning and renaming, there is no need to specify the instance when calling<\/p>\n<p><span style=\"text-decoration: underline;\">Emulator configuration<\/span>: mainly involves the modification of the emulator properties, and the emulator needs to be specified when calling<\/p>\n<p><span style=\"text-decoration: underline;\">Emulator control<\/span>: mainly involves the control of the Android system, such as installing the app, starting\/closing the app, disconnecting the network, etc. The emulator needs to be specified when calling<\/p>\n<p><span style=\"text-decoration: underline;\">ADB command<\/span>: It is mainly to package the official adb command-line tool of Android to solve the problem of connecting to a specific emulator (avoid entering a random IP when using a bridge network), and you need to specify the emulator<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h1>MEMUC\u00a0Reference Manual<\/h1>\n<h2><strong>[Chapter One] VM Management<\/strong><\/h2>\n<ol>\n<li>Create a new VM\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<span style=\"color: #800000;\"><em>memuc create<\/em><\/span><\/li>\n<li>memuc create 44\u00a0 \u00a0 \/\/create a certain version of Android<br \/>\nmemuc create 51<br \/>\nmemuc create 71<\/li>\n<li>memuc create 76\u00a0 (Android 7.1 64-bit)<\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #800000;\">memuc create<\/span><\/em> \/\/Create a new VM<\/li>\n<\/ul>\n<\/li>\n<li>Delete a existed VM\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #800000;\">memuc remove &lt;-i vmindex | -n vmname&gt;<\/span><\/em><\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #800000;\">memuc remove -i 0<\/span><\/em> \/\/Delete the MEmu VM<\/li>\n<\/ul>\n<\/li>\n<li>Clone a existed VM\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #800000;\">memuc clone &lt;-i vmindex | -n vmname&gt; [-r nametag] [-t]<\/span><\/em><br \/>\n[-t] Return without waiting for the end of the task, and get the task id number<\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #800000;\">memuc clone -i 1<\/span><\/em> \/\/Clone the MEmu_1 VM<\/li>\n<\/ul>\n<\/li>\n<li>Export\/Backup a VM to a file\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<span style=\"color: #800000;\"><em>memuc export &lt;-i vmindex | -n vmname&gt; &lt;ovafile&gt; [-t]<\/em><\/span><br \/>\n&lt;ovafile&gt; Export to ova file type<br \/>\n[-t] Return without waiting for the end of the task, and get the task id number<\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #800000;\">memuc export -n MEmu_1 c:\\1.ova<\/span><\/em> \/\/Export MEmu_1 VM to 1.ova file\u00a0in\u00a0C drive<\/li>\n<\/ul>\n<\/li>\n<li>Import\/Restore a VM from a existed ova file\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #800000;\">memuc import &lt;ovafile&gt; [-t]<\/span><\/em><br \/>\n&lt;ovafile&gt; ova file type<br \/>\n&lt;memufile&gt; memu file type (supported by 7.1.3 version and later)<br \/>\n[-t] Return without waiting for the end of the task, and get the task id number<\/li>\n<li>Sample:\u00a0 <em><span style=\"color: #800000;\">\u00a0memuc import c:\\1.ova<\/span><\/em> \/\/Import a VM from 1.ova file in C drive<\/li>\n<\/ul>\n<\/li>\n<li>Start a existed VM\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #800000;\">memuc start\u00a0&lt;-i vmindex | -n vmname&gt; [-t]<\/span><\/em><br \/>\n<em><span style=\"color: #800000;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0[-t]<\/span><\/em> Return without waiting for the end of the task, and get the task id number<\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #800000;\">memuc start -n MEmu_2<\/span><\/em> \/\/Start the MEmu_2 VM<\/li>\n<\/ul>\n<\/li>\n<li>Stop a running VM\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #800000;\">memuc stop &lt;-i vmindex | -n vmname&gt; [-t]<\/span><\/em><br \/>\n<em><span style=\"color: #800000;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0[-t]<\/span><\/em> Return without waiting for the end of the task, and get the task id number<\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #800000;\">memuc stop -n MEmu<\/span><\/em> \/\/Stop the MEmu VM<\/li>\n<\/ul>\n<\/li>\n<li>Stop all running VMs\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #800000;\">memuc stopall<\/span><\/em><\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #800000;\">memuc stopall<\/span><\/em> \/\/Stop all the running VMs<\/li>\n<\/ul>\n<\/li>\n<li>List information of all VMs\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #800000;\">memuc listvms [&#8211;running] [-s]<\/span><\/em><br \/>\n<em><span style=\"color: #800000;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0[&#8211;running]<\/span><\/em> List information of all running VMs<\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #800000;\">memuc listvms<\/span><\/em> \/\/List information like index, title, window handle, status, pid.<\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #800000;\">memuc listvms -s<\/span><\/em> \/\/Display disk information<\/li>\n<\/ul>\n<\/li>\n<li>Check whether VM\u00a0is running or not\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #800000;\">memuc isvmrunning\u00a0&lt;-i vmindex | -n vmname&gt;<\/span><\/em><\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #800000;\">memuc isvmrunning -n MEmu_3<\/span><\/em> \/\/Check whether VM is running or not<\/li>\n<\/ul>\n<\/li>\n<li>Sort out all VM windows\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #800000;\">memuc sortwin<\/span><\/em><\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #800000;\">memuc sortwin<\/span><\/em> \/\/Sort out all VM windows<\/li>\n<\/ul>\n<\/li>\n<li>Reboot VM\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #800000;\">memuc reboot &lt;-i vmindex | -n vmname&gt; [-t]<\/span><\/em><br \/>\n<em><span style=\"color: #800000;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0[-t]<\/span><\/em> Return without waiting for the end of the task, and get the task id number<\/li>\n<li>Sample:\u00a0 <em><span style=\"color: #800000;\">memuc reboot -i 0 <\/span><\/em>\/\/Reboot VM<\/li>\n<\/ul>\n<\/li>\n<li>Rename VM\n<ul>\n<li>Usage:\u00a0 \u00a0 <em><span style=\"color: #800000;\">memuc rename &lt;-i vmindex | -n vmname&gt; &lt;title&gt;<\/span><\/em><\/li>\n<li>Sample:\u00a0 <em><span style=\"color: #800000;\">memuc rename -i 0 &#8220;MEmu_1&#8221; <\/span><\/em>\/\/Rename VM<\/li>\n<\/ul>\n<\/li>\n<li>Check asynchronous task status, like <span style=\"color: #993300;\"><em>clone<\/em><\/span>, <span style=\"color: #993300;\"><em>export<\/em><\/span>, <span style=\"color: #993300;\"><em>import<\/em><\/span>, <span style=\"color: #993300;\"><em>start<\/em> <\/span>and <span style=\"color: #993300;\"><em>stop<\/em><\/span>.\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #800000;\">taskstatus &lt;taskid&gt;<\/span><\/em><\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #800000;\">taskstatus 7baf735f-c877-4836-aaf9-ccca67296a8f <\/span><\/em>\/\/Check the status of task 100, it will return success, running, or failed.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2><strong>[Chapter Two] VM Configuration<\/strong><\/h2>\n<ol>\n<li>Get configuration data of VM\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #800000;\">memuc getconfigex &lt;-i vmindex | -n vmname&gt; &lt;key&gt;<\/span><\/em><br \/>\n<em><span style=\"color: #800000;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 &lt;key&gt;<\/span><\/em> configuration key name<\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #800000;\">memuc getconfigex -i 0 memory<\/span> <\/em>\/\/Get the memory size of MEmu VM<\/li>\n<\/ul>\n<\/li>\n<li>Set configuration data of VM\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #800000;\">memuc setconfigex &lt;-i vmindex | -n vmname&gt; &lt;key&gt; &lt;value&gt;<\/span><\/em><br \/>\n<em><span style=\"color: #800000;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 &lt;key&gt;<\/span><\/em> configuration key name<\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #800000;\">memuc setconfigex -i 0 cpus 4<\/span> <\/em>\/\/Set the number of CPU core as 4<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3021\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/11\/ckt.png\" alt=\"configuration key table\" width=\"627\" height=\"588\" srcset=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/11\/ckt.png 627w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/11\/ckt-300x281.png 300w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/11\/ckt-624x585.png 624w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3023\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/11\/ckt3.png\" alt=\"configuration key table\" width=\"627\" height=\"570\" srcset=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/11\/ckt3.png 627w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/11\/ckt3-300x273.png 300w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2018\/11\/ckt3-624x567.png 624w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><\/p>\n<p>[macaddress] \/\/Device MAC address<br \/>\n[cache_mode] \/\/ Cache mode, 1 is acceleration (good performance, but there is a risk of damage to the image when the power is off accidentally), 0 is stable (the image file is not easy to be damaged, and the performance is slightly worse)<br \/>\n[geometry (x y width height)] \/\/ Top left coordinate and size of simulator<br \/>\n[custom_resolution (width height dpi)] \/\/ Android resolution and dpi<br \/>\n[disable_resize] \/\/ Fixed window size, 1 is fixed, 0 is stretchable<br \/>\n[ssid (uylnhxb557|auto)] \/\/ WIFI name (auto stands for automatic generation)<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>[Chapter\u00a0Three] VM Control\u00a0<\/strong>(when VM is running)<\/h2>\n<ol>\n<li>Install Apk in VM (Android)\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #993300;\">memuc installapp &lt;-i vmindex | -n vmname&gt; &lt;apkfile&gt; [-s]<\/span><\/em><br \/>\n<span style=\"color: #993300;\"><em>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 &lt;apkfile&gt;<\/em><\/span> apk filepath<br \/>\n[-s] Create a shortcut on the desktop after installation (7.1.3 version and later)<\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #993300;\">memuc\u00a0installapp -n MEmu_1 c:\\test.apk<\/span><\/em> \/\/Install test.apk into MEmu_1 VM<\/li>\n<\/ul>\n<\/li>\n<li>Uninstall App from VM\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #993300;\">memuc\u00a0uninstallapp &lt;-i vmindex | -n vmname&gt; &lt;packagename&gt;<\/span><\/em><br \/>\n<span style=\"color: #993300;\"><em>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 &lt;packagename&gt;<\/em><\/span> app package name<\/li>\n<li>Sample:\u00a0 \u00a0<span style=\"color: #993300;\"><em>memuc uninstallapp\u00a0-i 1 com.microvirt.test<\/em><\/span> \/\/Uninstall this app from MEmu_1 VM<\/li>\n<\/ul>\n<\/li>\n<li>Start App in VM\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #993300;\">memuc\u00a0startapp &lt;-i vmindex | -n vmname&gt; &lt;packageactivity&gt;<\/span><\/em><br \/>\n<em><span style=\"color: #993300;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 &lt;packageactivity&gt;<\/span><\/em> app main activity<\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #993300;\">memuc startapp -i 1 com.android.settings\/.Settings<\/span><\/em> \/\/Start Android settings in MEmu_1 VM<\/li>\n<\/ul>\n<\/li>\n<li>Stop App in VM\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #993300;\">memuc stopapp &lt;-i vmindex | -n vmname&gt; &lt;packagename&gt;<\/span><\/em><br \/>\n<em><span style=\"color: #993300;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 &lt;packagename&gt;<\/span><\/em> app package name<\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #993300;\">memuc\u00a0stopapp -i 1 com.android.settings<\/span><\/em> \/\/Stop Android settings in MEmu_1 VM<\/li>\n<\/ul>\n<\/li>\n<li>Trigger Android keystroke\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #993300;\">memuc sendkey &lt;-i vmindex | -n vmname&gt; &lt;key&gt;<\/span><\/em><br \/>\n<em><span style=\"color: #993300;\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 &lt;key&gt;<\/span><\/em> back | home | menu | volumeup | volumedown<\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #993300;\">memuc sendkey -i 0 home<\/span> <\/em>\/\/Trigger home key in MEmu VM<\/li>\n<\/ul>\n<\/li>\n<li>Trigger shake\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<span style=\"color: #993300;\"><em>memuc shake\u00a0&lt;-i vmindex | -n vmname&gt;<\/em><\/span><\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #993300;\">memuc shake -i 1<\/span><\/em> \/\/Trigger shake in MEmu_1 VM<\/li>\n<\/ul>\n<\/li>\n<li>Connect internet in Android\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #993300;\">memuc connect &lt;-i vmindex | -n vmname&gt;<\/span><\/em><\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #993300;\">memuc connect -i 2<\/span><\/em> \/\/Connect internet in MEmu_2 VM<\/li>\n<\/ul>\n<\/li>\n<li>Disconnect internet in Android\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #993300;\">memuc\u00a0disconnect &lt;-i vmindex | -n vmname&gt;<\/span><\/em><\/li>\n<li>Sample:\u00a0 \u00a0<span style=\"color: #993300;\"><em>memuc disconnect -i 2<\/em><\/span> \/\/Disconnect internet in MEmu_2 VM<\/li>\n<\/ul>\n<\/li>\n<li>Input text to Android\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<span style=\"color: #993300;\"><em>memuc input &lt;-i vmindex | -n vmname&gt; &lt;text&gt;<\/em><\/span><\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #993300;\">memuc input -i 0 &#8220;Hello World!&#8221;<\/span> <\/em>\/\/Input &#8220;Hello World!&#8221; text into MEmu VM<\/li>\n<\/ul>\n<\/li>\n<li>Rotate VM window\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #993300;\">memuc rotate &lt;-i vmindex | -n vmname&gt;<\/span><\/em><\/li>\n<li>Sample:\u00a0 <em><span style=\"color: #993300;\">memuc rotate -i 0<\/span>\u00a0<\/em>\/\/Rotate the first VM<\/li>\n<\/ul>\n<\/li>\n<li>Execute command in Android\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #993300;\">memuc &lt;-i vmindex | -n vmname&gt; execmd &lt;guestcmd&gt;<\/span><\/em><\/li>\n<li>Sample:\u00a0 \u00a0<em><span style=\"color: #993300;\">memuc -i 1 execcmd &#8220;getprop persist.sys.language&#8221;<\/span> <\/em>\/\/Execute &#8220;getprop&#8221; command to get Android language in MEmu_1 VM<\/li>\n<\/ul>\n<\/li>\n<li>Change GPS latitude and longitude\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #993300;\">memuc setgps &lt;-i vmindex | -n vmname&gt; &lt;longitude&gt; &lt;latitude&gt;<\/span><\/em><\/li>\n<li>Sample:\u00a0 <em><span style=\"color: #993300;\">memuc setgps -i 0\u00a0\u00a030.978785 121.824455<\/span>\u00a0<\/em>\/\/Set current longitude 30.978785, latitude 121.824455<\/li>\n<\/ul>\n<\/li>\n<li>Obtain the public IP address\n<ul>\n<li>Usage:\u00a0 \u00a0 <em><span style=\"color: #993300;\">memuc -i 0 execcmd &#8220;wget -O- whatismyip.akamai.com&#8221;<\/span><\/em><\/li>\n<\/ul>\n<\/li>\n<li>Zoom in (Supported by version 6.2.6 and later)\n<ul>\n<li>Usage:\u00a0 \u00a0 <em><span style=\"color: #993300;\">memuc zoomin &lt;-i vmindex | -n vmname&gt;<\/span><\/em><\/li>\n<li>Sample:\u00a0 <em><span style=\"color: #993300;\">memuc zoomin -i 0<\/span>\u00a0<\/em>\/\/Zoom in the content<\/li>\n<\/ul>\n<\/li>\n<li>Zoom out (Supported by version 6.2.6 and later)\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #993300;\">memuc zoomout &lt;-i vmindex | -n vmname&gt;<\/span><\/em><\/li>\n<li>Sample:\u00a0 <em><span style=\"color: #993300;\">memuc zoomout -i 0<\/span>\u00a0<\/em>\/\/Zoom out the content<\/li>\n<\/ul>\n<\/li>\n<li>Get a list of third-party apps in the emulator (supported by 7.1.3 and later)\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #993300;\">memuc getappinfolist &lt;-i vmindex | -n vmname&gt;<\/span><\/em><\/li>\n<li>Sample:\u00a0 <em><span style=\"color: #993300;\">memuc getappinfolist -i 0<\/span>\u00a0<\/em>\/\/Show the third-party app list of MEmu<\/li>\n<\/ul>\n<\/li>\n<li>Set the value of acceleration of gravity (supported by 7.1.3 and later)\n<ul>\n<li>Usage:\u00a0 \u00a0 <em><span style=\"color: #993300;\">memuc accelerometer &lt;-i vmindex | -n vmname&gt; &lt;-x xvalue&gt; &lt;-y yvalue&gt; &lt;-z zvalue&gt;<\/span><\/em><\/li>\n<li>Sample:\u00a0 <em><span style=\"color: #993300;\">memuc accelerometer\u00a0\u00a0-i 0 &lt;-x 0.0&gt; &lt;-y 8.9&gt; &lt;-z 4.5&gt;<\/span>\u00a0<\/em>\/\/Set the gravity acceleration value to 0, 8.9, 4.5<\/li>\n<\/ul>\n<\/li>\n<li>Create desktop shortcuts for Android applications (supported by 7.2.5 and later)\n<ul>\n<li>Usage:\u00a0 \u00a0 <em><span style=\"color: #993300;\">memuc createshortcut &lt;-i vmindex | -n vmname&gt; &lt;packagename&gt;<\/span><\/em><\/li>\n<li>Sample:\u00a0 <em><span style=\"color: #993300;\">memuc createshortcut -i 0\u00a0\u00a0com.android.settings<\/span>\u00a0<\/em>\/\/Create a desktop shortcut for the Settings app<\/li>\n<\/ul>\n<\/li>\n<li>List all emulator information<\/li>\n<\/ol>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Usage: <em><span style=\"color: #993300;\">memuc listvms [-i vmindex | -n vmname]\u00a0<\/span><\/em><\/li>\n<li>Sample:\u00a0 <em><span style=\"color: #993300;\">memuc listvms<\/span>\u00a0<\/em>\/\/List the simulator index, title, top-level window handle, whether to start the simulator, process PID information, simulator disk usage<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2><strong>[Chapter Four] ADB command<\/strong><\/h2>\n<p>Most likely you don&#8217;t need ADB command any longer because memuc execmd supports most of Android commands. In addition, memuc execmd doesn&#8217;t depend on ADB server which means more stable. However, memuc adb is still supported just in case you need a specific adb command for some reason.<\/p>\n<ul>\n<li>Usage:\u00a0 \u00a0 \u00a0<em><span style=\"color: #993300;\">memuc &lt;-i vmindex | -n vmname&gt; adb &lt;adbcmd&gt;<\/span><\/em><\/li>\n<li>Sample:\u00a0 <em><span style=\"color: #993300;\">\u00a0memuc -i 0 adb\u00a0&#8220;remount&#8221;<\/span> <\/em>\/\/Execute &#8220;remount&#8221; command through ADB connection<\/li>\n<\/ul>\n<p>[END]<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div>\n<hr \/>\n<\/div>\n<h2><strong>Discover More about MEmu Play<br \/>\n<\/strong><\/h2>\n<ul>\n<li><a href=\"https:\/\/www.memuplay.com\/support.html\">MEmu Support<\/a><\/li>\n<li><a href=\"https:\/\/www.facebook.com\/memuplayer\" target=\"_blank\" rel=\"noopener noreferrer\">Facebook<\/a><\/li>\n<li><a href=\"https:\/\/discord.gg\/jqSJV7Y\" target=\"_blank\" rel=\"noopener noreferrer\">Discord<\/a><\/li>\n<li><a href=\"https:\/\/twitter.com\/microvirtmemu\" target=\"_blank\" rel=\"noopener noreferrer\">Twitter<\/a><\/li>\n<li><a href=\"https:\/\/www.reddit.com\/r\/memuplayer\/\">Reddit<\/a><\/li>\n<li><a href=\"https:\/\/www.youtube.com\/c\/MEmuPlayOfficial\">Youtube<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>GOOD NEWS for Geeks and Programmers!! Since MEMU Android Emulator 6.0, MEmu supports a new full-functional command MEMUC.\u00a0It is designed to replace all other command interfaces like memu, memumanage, memuconsole and adb. So read this article and you will know everything about this powerful command. memuc supports to manipulate multiple instances (VMs) such as reboot emulator, check status, install apk, run app and etc. First of all, you need to pass over the index or the name of the target VM. For example: memuc clone -i 0 (or &#8211;index 0) \/\/The 1st VM index is 0, 2nd is 1, 3rd is 2 &#8230; memuc remove -n MEmu_2 (or &#8211;name MEmu_2) \/\/The 1st VM name is MEmu, 2nd is MEmu_1 &#8230; &nbsp; The MEMUC command is divided into four categories: &#8220;emulator management&#8220;, &#8220;emulator configuration&#8220;, &#8220;emulator control&#8220;, and &#8220;adb command&#8220;: Emulator management: It mainly involves the startup and shutdown of the emulator, import and export, creation and deletion, running status query, etc. Except for a few operations such as cloning and renaming, there is no need to specify the instance when calling Emulator configuration: mainly involves the modification of the emulator properties, and the emulator needs to be specified when calling Emulator<a class=\"show-more\" href=\"https:\/\/www.memuplay.com\/blog\/memucommand-reference-manual.html\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":3057,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[19,2089,2087,25895,4802,22151,15244],"yst_prominent_words":[496,491,493,490,22094,495,22097,489,3769,22095,1981,1979,27508,27509,492,22096,22092,1980,1978,22093],"class_list":["post-3018","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-memu-faq","tag-android-emulator","tag-asistant","tag-batch-script","tag-faq-6","tag-lang-en","tag-memu-command","tag-memuc"],"_links":{"self":[{"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/posts\/3018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/comments?post=3018"}],"version-history":[{"count":19,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/posts\/3018\/revisions"}],"predecessor-version":[{"id":24806,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/posts\/3018\/revisions\/24806"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/media\/3057"}],"wp:attachment":[{"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/media?parent=3018"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/categories?post=3018"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/tags?post=3018"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/yst_prominent_words?post=3018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}