{"id":5392,"date":"2019-08-29T19:50:39","date_gmt":"2019-08-29T11:50:39","guid":{"rendered":"https:\/\/www.memuplay.com\/blog\/?p=5392"},"modified":"2020-12-18T18:30:51","modified_gmt":"2020-12-18T10:30:51","slug":"how-to-recover-broken-vms-and-data-in-memu","status":"publish","type":"post","link":"https:\/\/www.memuplay.com\/blog\/how-to-recover-broken-vms-and-data-in-memu.html","title":{"rendered":"How to Recover Broken VMs and Data in MEmu"},"content":{"rendered":"<h3><strong>#How to recover your virtual machine in Android Emulator?#<\/strong><\/h3>\n<p>If you want to recover from the original vmdk file, please follow the below steps. This is not recommended, but a repair method when you forget to backup properly with <a href=\"https:\/\/www.memuplay.com\/blog\/index.php\/2016\/01\/27\/restore-user-data\/\" target=\"_blank\" rel=\"noopener noreferrer\">ova<\/a>\u00a0file.<\/p>\n<p>Let\u2019s take MEmu_1 as an example.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-839\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2016\/02\/memu1vmdk.png\" alt=\"memu1vmdk\" width=\"599\" height=\"184\" \/><\/p>\n<p><strong>1.<\/strong>\u00a0Run MemuHyperv.exe with\u00a0admin privilege (Where can I get\u00a0it?\u00a0<a href=\"https:\/\/www.memuplay.com\/blog\/index.php\/2016\/08\/08\/memuhyperv-tool\/\" target=\"_blank\" rel=\"noopener noreferrer\">Click here<\/a>)<\/p>\n<p><strong>2.<\/strong>\u00a0Click Add in MemuHyperv<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-255\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2016\/02\/faq-reg-vm-6.png\" alt=\"faq-reg-vm-6\" width=\"599\" height=\"448\" \/><\/p>\n<p><strong>3.<\/strong>\u00a0Select MEmu_1.memu to add.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-256\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2016\/02\/faq-reg-vm-7.png\" alt=\"faq-reg-vm-7\" width=\"598\" height=\"446\" \/><\/p>\n<p><strong>4.<\/strong> Click Settings for MEmu_1 and check the sequence of 3 disks. The correct sequence is \u201csystem(540MB) \u2013&gt; data(16GB) \u2013&gt; sd card(32GB)\u201d. If they are not in order, please remove and attach again. <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-257\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2016\/02\/faq-reg-vm-8.png\" alt=\"faq-reg-vm-8\" width=\"599\" height=\"447\" \/><\/p>\n<p><strong>5.<\/strong>\u00a0Open MEmu Multiple Instances Manager and run MEmu_1. If you can not find MEmu_1 in it, please close all MEmu* processes in Windows Task Manager and open it again.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-258\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2016\/02\/faq-reg-vm-9.png\" alt=\"faq-reg-vm-9\" width=\"598\" height=\"361\" \/><\/p>\n<p><strong>Note:<\/strong>\u00a0If you still can not run MEmu_1 correctly or get below error message,\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-248\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2016\/02\/faq-reg-vm-1.png\" alt=\"faq-reg-vm-1\" width=\"600\" height=\"122\" \/><\/p>\n<p>please make sure the two VM\u00a0uuid strings\u00a0in .MemuHyperv.xml and Memu.memu.xml\u00a0are exactly same. In addition, double confirm the VM path in MemuHyperv.xml is correct.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-253\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2016\/02\/faq-reg-vm-2-1.png\" alt=\"faq-reg-vm-2\" width=\"597\" height=\"367\" \/><br \/>\nMemuHyperv.xml:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-250\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2016\/02\/faq-reg-vm-3.png\" alt=\"faq-reg-vm-3\" width=\"597\" height=\"214\" \/><br \/>\nMEmu.memu.xml:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-251\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2016\/02\/faq-reg-vm-4.png\" alt=\"faq-reg-vm-4\" width=\"599\" height=\"164\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3 class=\"entry-title\">#How to Recover Data from Broken VM#<\/h3>\n<p>If your VM is broken to boot somehow, I suggest you try to export this VM and then import it again.<\/p>\n<p>However, if unfortunately it still fails, here is the final recovery method you can take a shot.<\/p>\n<p>1. You need to download\u00a0<strong><a href=\"https:\/\/www.memuplay.com\/blog\/index.php\/2016\/08\/08\/memuhyperv-tool\/\">MEmuHyperv<\/a>\u00a0<\/strong>tool first. There are two versions, 32-bit, and 64-bit, which depends on your Operation System. If you have no idea which is suitable, Click Control Panel&gt; System and Security &gt; System and check it out.<\/p>\n<p>2. Download and extract MEmuHyperv files into\u00a0MEmuHyperv\u00a0directory, which depends on your MEmu installation path.<\/p>\n<div id=\"attachment_1714\" class=\"wp-caption alignnone\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1714 size-full\" title=\"Exported Files\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2017\/12\/%E5%8E%8B%E7%BC%A9%E6%96%87%E4%BB%B6.jpg\" alt=\"Exported Files\" width=\"651\" height=\"121\" aria-describedby=\"caption-attachment-1714\" \/><\/p>\n<p id=\"caption-attachment-1714\" class=\"wp-caption-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1762\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2017\/12\/hyperv.png\" alt=\"hyperv\" width=\"677\" height=\"252\" \/><\/p>\n<\/div>\n<p>3. Run MemuHyperv.exe as Admin. Please make sure all MEmu processes are closed in Task Manager. Let\u2019s take an example.\u00a0<strong>MEmu_1 is broken and MEmu_2 is good<\/strong>. We will guide you on how to recover your data in MEmu_1 and attach to MEmu_2. In the MEmu Manager,\u00a0\u00a0every instance(VM) have three partitions: <strong>Primary\u00a0Master<\/strong>\u00a0is system volume,\u00a0<strong>Primary Slave<\/strong>\u00a0is data volume,\u00a0<strong>Secondary Master<\/strong> is SD Card. (Remember the file name, but don\u2019t get mislead by disk1, disk2, and disk3, sometimes it\u2019s randomly ordered).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1719\" title=\"MEmuHyperv\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2017\/12\/memu-manager_%E5%89%AF%E6%9C%AC-1.jpg\" alt=\"MEmuHyperv\" width=\"600\" height=\"449\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>4.<strong>\u00a0<\/strong>Choose MEmu_1(<strong>Broken<\/strong>), Click Settings &gt; Storage, Choose\u00a0<strong>Primary Slave Storage\u00a0<\/strong>and<strong>\u00a0<\/strong>right-click, Remove Attachment and Click OK. Then we will see it removed<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1725 size-full\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2017\/12\/step1.jpg\" alt=\"Pic 1\" width=\"763\" height=\"563\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1726\" title=\"2\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2017\/12\/Step2.jpg\" alt=\"Pic 2\" width=\"600\" height=\"369\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1727\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2017\/12\/step3.jpg\" alt=\"Pic 3\" width=\"600\" height=\"376\" \/><\/p>\n<p>5. Repeat the same operation\u00a0to MEmu_2(<strong>Good<\/strong>). Remove Attachment\u00a0<strong>Primary Slave Storage\u00a0<\/strong>from MEmu_2.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1728\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2017\/12\/setp4.jpg\" alt=\"Pic 4\" width=\"600\" height=\"397\" \/><\/p>\n<p>6. Click\u00a0<strong>File<\/strong>\u00a0and\u00a0Enter into\u00a0<strong>Virtual Media Manager<\/strong>,\u00a0find\u00a0<strong>Primary Slave Storage\u00a0<\/strong>VMfiles<strong>\u00a0<\/strong>of MEmu_1 and MEmu_2, which are both not attached, then remove\u00a0but keep the two files (<strong>NOT delete<\/strong>).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1729 size-full\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2017\/12\/Step5.jpg\" alt=\"Pic 5\" width=\"902\" height=\"594\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1733\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2017\/12\/Step6-3.jpg\" alt=\"Pic 6\" width=\"938\" height=\"615\" \/><\/p>\n<div id=\"attachment_1734\" class=\"wp-caption alignnone\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1734 size-full\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2017\/12\/Step7.jpg\" alt=\"Pic 7\" width=\"931\" height=\"619\" aria-describedby=\"caption-attachment-1734\" \/><\/p>\n<p id=\"caption-attachment-1734\" class=\"wp-caption-text\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1735 size-full\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2017\/12\/Step-8.jpg\" alt=\"Pic 8\" width=\"936\" height=\"608\" \/><\/p>\n<\/div>\n<p>7. Find the directory of MEmu_1 and MEmu_2, which depends on your installation path. Copy the\u00a0<strong>Primary Slave Storage\u00a0<\/strong>VMfile from MEmu_1 to MEmu_2 folder.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1769\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2017\/12\/hyper1.png\" alt=\"hyper1\" width=\"673\" height=\"224\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1772\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2017\/12\/hyperv2.png\" alt=\"hyperv2\" width=\"329\" height=\"113\" \/><\/p>\n<p>8.\u00a0Enter into\u00a0MEmu_2(<strong>Good<\/strong>) Settings and Choose Storage. Click the circled button to add Hard Disk, then Click choose an existing disk, find the MEmu_1(<strong>Broken<\/strong>) directory, choose the\u00a0<strong>Primary Slave Storage\u00a0<\/strong>vmdk file (your original data volume)\u00a0to add.<\/p>\n<div id=\"attachment_1741\" class=\"wp-caption alignnone\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1741 size-full\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2017\/12\/Step-11.jpg\" alt=\"Pic 9\" width=\"939\" height=\"617\" aria-describedby=\"caption-attachment-1741\" \/><\/p>\n<p id=\"caption-attachment-1741\" class=\"wp-caption-text\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1742 size-full\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2017\/12\/Step-12.jpg\" alt=\"Pic 10\" width=\"940\" height=\"616\" \/><\/p>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1745\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2017\/12\/Step-13-2.jpg\" alt=\"Pic11\" width=\"941\" height=\"624\" \/><\/p>\n<p>9. Now you have inserted your data volume into a good\/new VM. Suggest you do the same thing to the\u00a0<strong>Secondary Master Storage<\/strong>\u00a0(SD Card Volume) if you have data on it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24168\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2019\/08\/vm1.jpg\" alt=\"\" width=\"1321\" height=\"753\" srcset=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2019\/08\/vm1.jpg 1321w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2019\/08\/vm1-300x171.jpg 300w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2019\/08\/vm1-1024x584.jpg 1024w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2019\/08\/vm1-624x356.jpg 624w\" sizes=\"auto, (max-width: 1321px) 100vw, 1321px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24169\" src=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2019\/08\/vm2.jpg\" alt=\"\" width=\"1321\" height=\"753\" srcset=\"https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2019\/08\/vm2.jpg 1321w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2019\/08\/vm2-300x171.jpg 300w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2019\/08\/vm2-1024x584.jpg 1024w, https:\/\/www.memuplay.com\/blog\/wp-content\/uploads\/2019\/08\/vm2-624x356.jpg 624w\" sizes=\"auto, (max-width: 1321px) 100vw, 1321px\" \/><\/p>\n<hr \/>\n<p>&gt; Back to\u00a0<strong><a href=\"https:\/\/www.memuplay.com\/support.html\">MEmu 101<\/a><\/strong>, everything you need to know about MEmu &lt;&lt;<\/p>\n<ul>\n<li><strong>Official Website:<\/strong>\u00a0<a href=\"https:\/\/www.memuplay.com\/\">https:\/\/www.memuplay.com<\/a><\/li>\n<li><strong>Official Twitter:<\/strong><a href=\"https:\/\/twitter.com\/MicrovirtMEmu\">\u00a0https:\/\/twitter.com\/MicrovirtMEmu<\/a><\/li>\n<li><strong>Facebook Page:<\/strong><a href=\"https:\/\/www.facebook.com\/memuplayer\">\u00a0https:\/\/www.facebook.com\/memuplayer<\/a><\/li>\n<li><strong>MEmu User Group:<\/strong>\u00a0<a href=\"https:\/\/www.facebook.com\/groups\/memuplayer\">https:\/\/www.facebook.com\/groups\/memuplayer<\/a><\/li>\n<li><strong>Discord<\/strong>:\u00a0<a href=\"https:\/\/discord.gg\/gA4GWV9\">https:\/\/discord.gg\/gA4GWV9<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>#How to recover your virtual machine in Android Emulator?# If you want to recover from the original vmdk file, please follow the below steps. This is not recommended, but a repair method when you forget to backup properly with ova\u00a0file. Let\u2019s take MEmu_1 as an example. 1.\u00a0Run MemuHyperv.exe with\u00a0admin privilege (Where can I get\u00a0it?\u00a0Click here) 2.\u00a0Click Add in MemuHyperv 3.\u00a0Select MEmu_1.memu to add. 4. Click Settings for MEmu_1 and check the sequence of 3 disks. The correct sequence is \u201csystem(540MB) \u2013&gt; data(16GB) \u2013&gt; sd card(32GB)\u201d. If they are not in order, please remove and attach again. 5.\u00a0Open MEmu Multiple Instances Manager and run MEmu_1. If you can not find MEmu_1 in it, please close all MEmu* processes in Windows Task Manager and open it again. Note:\u00a0If you still can not run MEmu_1 correctly or get below error message,\u00a0 please make sure the two VM\u00a0uuid strings\u00a0in .MemuHyperv.xml and Memu.memu.xml\u00a0are exactly same. In addition, double confirm the VM path in MemuHyperv.xml is correct. MemuHyperv.xml: MEmu.memu.xml: &nbsp; #How to Recover Data from Broken VM# If your VM is broken to boot somehow, I suggest you try to export this VM and then import it again. However, if unfortunately it still fails, here is<a class=\"show-more\" href=\"https:\/\/www.memuplay.com\/blog\/how-to-recover-broken-vms-and-data-in-memu.html\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":4095,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[25893,4802],"yst_prominent_words":[4655,1014,4653,983,1001,1011,985,990,1006,976,973,987,1033,4652,994,996,980,1003,4654,4651],"class_list":["post-5392","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-memu-faq","tag-faq-5","tag-lang-en"],"_links":{"self":[{"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/posts\/5392","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=5392"}],"version-history":[{"count":9,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/posts\/5392\/revisions"}],"predecessor-version":[{"id":25313,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/posts\/5392\/revisions\/25313"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/media\/4095"}],"wp:attachment":[{"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/media?parent=5392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/categories?post=5392"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/tags?post=5392"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.memuplay.com\/blog\/wp-json\/wp\/v2\/yst_prominent_words?post=5392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}