Skip to content

Instantly share code, notes, and snippets.

@TameemS
Last active October 2, 2025 13:21
Show Gist options
  • Save TameemS/603686cec857ff1f91e68607e374b0d8 to your computer and use it in GitHub Desktop.
Save TameemS/603686cec857ff1f91e68607e374b0d8 to your computer and use it in GitHub Desktop.
Debloating & Optimizing MEmu

Inspired by this

More of my guides: Debloating LDPlayer - Debloating Nox (Updated)

Edit 22/8/2021: I have updated MEmu and it seems like it reinstalls the apps and re-enables the services. Repeat steps 5, 7, 8, and 9 if you update MEmu.

Debloating MEmu

In my experience, Nox can be quite slow and choppy, and looks like I'm not the only person with this problem. A lot of people say that MEmu performs better than Nox, and I could agree with that. I have no chopping issues with it so far. But like Nox, there are kinda shady stuff going on. No one has made a guide on this, so I did it.

  1. If you don't have MEmu yet, go download it. Better to go with the offline installer
  2. Go to MEmu's Settings and enable Root Mode if it isn't enabled
  3. For the launcher, I would suggest going away from MEmu's launcher. Go install one of your choice.
  4. Once you got the launcher, get this and add the launcher to auto-start. (if you are on MEmu 6.3.7 or below, no need for the auto-start app, just set it as default in the Android Settings). Also check MEmu preferences for App auto-start if it's on. Use Launcher Hijack and follow the instructions here
  5. Go get something like Root Browser, go to the system folder and then the priv-app folder. Delete the MEmu guide, the MEmu launcher, and the Google apps installer (Guide, Launcher, and Installer folders) provided by MEmu from the Root Browser, then reboot the emulator.
  6. Go get Blokada, enable it, then in the Android Settings, go to VPN options, and set Blokada to Always-on VPN. Go to Activity in the app and disallow everything that has to do with ads and anything that includes microvirt, applovin, applvn, memuplay, and facebook. Feel free to disallow requests that are unknown to you as well.
  7. Open Run (Win+R) then type in C:\Windows\System32\drivers\etc\hosts. Open it with a text editor of your choice.
  8. When open, place this in the hosts file:
0.0.0.0 memuplay.com
0.0.0.0 www.memuplay.com
0.0.0.0 u888.v.baishan-cloud.net
0.0.0.0 u999.v.bsclink.cn
0.0.0.0 uz95.v.bsclink.cn
0.0.0.0 ut89.v.bsclink.cn
0.0.0.0 dl.memuplay.com
0.0.0.0 www.microvirt.com
0.0.0.0 microvirt.com
0.0.0.0 hebei.22.121.in-addr.arpa
0.0.0.0 d2bg5ibrp06389.cloudfront.net
0.0.0.0 dl.memuplay.com.rgslb.net
0.0.0.0 www.xyaz.cn.w.cdngslb.com
0.0.0.0 d1ygnxto00lnhl.cloudfront.net
0.0.0.0 d3p779s2xhx48e.cloudfront.net
0.0.0.0 applovin.com
0.0.0.0 rt.applovin.com
0.0.0.0 ms.applovin.com
0.0.0.0 d.applovin.com
0.0.0.0 a.applovin.com
0.0.0.0 prod-ms.applovin.com
0.0.0.0 res1.applovin.com
0.0.0.0 prod-a.applovin.com
0.0.0.0 ms4.applovin.com
0.0.0.0 assets.applovin.com
0.0.0.0 prod-bid.applovin.com
0.0.0.0 stage-ms.applovin.com
0.0.0.0 img.applovin.com
0.0.0.0 pdn.applovin.com
0.0.0.0 prod-ms4.applovin.com
0.0.0.0 stage-a.applovin.com
0.0.0.0 gcp-prod-ms4.applovin.com
0.0.0.0 info.applovin.com
0.0.0.0 s.info.applovin.com
0.0.0.0 rt-usa.applovin.com
0.0.0.0 prod-a4.applovin.com
0.0.0.0 stage-bid.applovin.com
0.0.0.0 stage-ms4.applovin.com
0.0.0.0 stage-assets.applovin.com
0.0.0.0 gcp-stage-ms4.applovin.com
0.0.0.0 gcp-ms4.applovin.com
0.0.0.0 a-usa.applovin.com
0.0.0.0 stage-img.applovin.com
0.0.0.0 prod-mediate-events.applovin.com
0.0.0.0 stage-pdn.applovin.com
0.0.0.0 events.applovin.com
0.0.0.0 dls-prod-mediate-cluster-al-p-ax-xxfz.events.applovin.com
0.0.0.0 ewrprod-rtbwin.applovin.com
0.0.0.0 gcp-ms.applovin.com
0.0.0.0 nuqprod-rtbwin.applovin.com
0.0.0.0 sfoprod-rtbwin.applovin.com
0.0.0.0 prod-a-usa.applovin.com
0.0.0.0 a4.applovin.com
0.0.0.0 exp1-ms4.applovin.com
0.0.0.0 gcp-a.applovin.com
0.0.0.0 ewrstage-rtbwin.applovin.com
0.0.0.0 stage-a4.applovin.com
0.0.0.0 local-prod-bid.applovin.com
0.0.0.0 gcp-img.applovin.com
0.0.0.0 goog.applovin.com
0.0.0.0 bid.applovin.com
0.0.0.0 gcp-res1.applovin.com
0.0.0.0 stage-mediate-events.applovin.com
0.0.0.0 dash.applovin.com
0.0.0.0 stage-a-usa.applovin.com
0.0.0.0 sfostage-rtbwin.applovin.com
0.0.0.0 ehd-stage-a.applovin.com
0.0.0.0 hkg-prod-a.applovin.com
0.0.0.0 ue.applovin.com
0.0.0.0 vid.applovin.com
0.0.0.0 ms-d.applovin.com
0.0.0.0 www.applovin.com
0.0.0.0 ehd-prod-bid.applovin.com
0.0.0.0 stage-vid.applovin.com
0.0.0.0 nyj-prod-a.applovin.com
0.0.0.0 nrt-prod-a.applovin.com
0.0.0.0 ams-prod-a.applovin.com
0.0.0.0 safedk.applovin.com
0.0.0.0 r.applovin.com
0.0.0.0 img2.applovin.com
0.0.0.0 assets2.applovin.com
0.0.0.0 dls-stage-bid.applovin.com
0.0.0.0 amsstage-rtbwin.applovin.com
0.0.0.0 amsprod-rtbwin.applovin.com
0.0.0.0 sfo-prod-a.applovin.com
0.0.0.0 dls-stage-mediate-cluster-al-s-ax-0u9s.events.applovin.com
0.0.0.0 dls-prod-a.applovin.com
0.0.0.0 api.applovin.com
0.0.0.0 ms-usa.applovin.com
0.0.0.0 nrtstage-rtbwin.applovin.com
0.0.0.0 applvn.com
0.0.0.0 d.applvn.com
0.0.0.0 ms.applvn.com
0.0.0.0 a.applvn.com
0.0.0.0 rt.applvn.com
0.0.0.0 prod-ms.applvn.com
0.0.0.0 stage-ms.applvn.com
0.0.0.0 rt-usa.applvn.com
0.0.0.0 a-usa.applvn.com
0.0.0.0 ms4.applvn.com
0.0.0.0 ue.applvn.com

(Most of these domains are according to Glasswire and some user contributions. If there are any more to block, tell me in the comments)

And block the IP addresses using the files attached to this gist (original courtesy of ehindiayleau). Make sure both the batch and the text file are in the same folder! Open command prompt as admin and CD to the folder where you saved the two files.

  1. Open Run and type in services.msc. Find MemuSVC, stop the service, and set its startup mode to Disabled. This is to prevent it from running in the background if you close all foreground MEmu processes.

Optimization

Open Multi-MEmu, close the emulator window and go to the instance settings.

Engine

If you have a good CPU and plenty of RAM to spare, then go to Engine, and set the Preset to High. (anything higher is useless if you use a 32-bit Android instance)

If you use a 64-bit Android 7/9 instance (which I would suggest against as I have a lot of issues with it), then you can set the preset to Top

Display

If you have a good enough GPU, set the resolution to 1920 * 1080. If you want to set it to 2K so that you can play games like Ragnarok at a higher resolution, select Customize and set the Width to 2560 and the Height to 1440. (For Ragnarok, I would suggest setting the DPI to 320)

(NEW!) Enable Discord Live if you're going to screenshare MEmu. Disable it if you're done screensharing.

Storage

Set the Disk Management to Manual management and crank the slider to the max. (The emulator must be closed for this!)

Device

Set the microphone to Disabled if you are not using it.

And you're done! Have fun gaming with MEmu with less worries!

118.31.236.63,114.215.159.204,221.194.169.66,121.22.238.237,121.22.238.244,60.163.132.161,119.188.76.81,119.188.76.84,119.188.76.90,61.160.199.215,119.188.76.84,61.160.199.227,119.188.76.90,6.160.199.231,106.225.234.102,121.22.238.246,121.22.238.247,117.21.36.40,103.215.142.16,103.215.142.15,103.215.142.17,103.215.142.34,107.155.25.121,103.211.230.23,103.211.230.24,45.40.48.212,103.215.142.18,103.215.142.25,103.215.142.29,103.215.142.26,103.211.230.18,18.66.161.122,18.66.161.101,18.66.161.129,18.66.161.64,163.181.92.226,163.181.92.227,163.181.92.228,163.181.92.229,163.181.92.230,163.181.92.231,163.181.92.232,163.181.92.225,18.66.161.30,18.66.161.92,18.66.161.73,13.227.8.32,13.227.8.87,13.227.8.3,13.227.8.43,13.227.8.49,13.227.8.70,13.227.8.118
@echo off
if "%1"=="list" (
netsh advfirewall firewall show rule memu_ip_to_fw_rule | findstr RemoteIP
exit/b
)
netsh advfirewall firewall delete rule name="memu_ip_to_fw_rule"
for /f %%i in (memu_block.txt) do (
netsh advfirewall firewall add rule name="memu_ip_to_fw_rule" protocol=any dir=in action=block remoteip=%%i
netsh advfirewall firewall add rule name="memu_ip_to_fw_rule" protocol=any dir=out action=block remoteip=%%i
)
call %0 list
pause
@1broccoli
Copy link

It works on my machine but I forgot to make it find the individuals directories and their installed memu directory. So it maybe broken now. Not sure hence the beta. Before that modification in code. Mine worked like a charm :D

@Trappy42069
Copy link

Trappy42069 commented Aug 19, 2025

Hi! Glad to see I'm not the only one annoyed by Memu's bloatware. This works on every android version except for 12.0 in my experience. I cannot remove the launcher on Android 12.0 without the OS freezing on reboot no matter what I do. I tried freezing/disabling/uninstalling Guide, Installer, Launcher, and the other "microvirt" app I can't remember the name of. And I install Nova Launcher along with LauncherHijack. Android 12.0 works fine with the OS constantly running. And when I perform the first reboot on the Android 12.0 OS, It always freezes at 59% upon booting. I've done this several times in different methods and order above; and nothing seems to work. (Also yes I ran the script by 1broccoli and it worked for every Android version except 12.0). If anyone can find a fix for this, I'd be very grateful. Thank you all for your time in this matter!
Screenshot 2025-08-18 213309

@genrihx2
Copy link

genrihx2 commented Sep 2, 2025

image no ads!⚠ MuMuPlayer 5.4.1

@1broccoli
Copy link

Hi! Glad to see I'm not the only one annoyed by Memu's bloatware. This works on every android version except for 12.0 in my experience. I cannot remove the launcher on Android 12.0 without the OS freezing on reboot no matter what I do. I tried freezing/disabling/uninstalling Guide, Installer, Launcher, and the other "microvirt" app I can't remember the name of. And I install Nova Launcher along with LauncherHijack. Android 12.0 works fine with the OS constantly running. And when I perform the first reboot on the Android 12.0 OS, It always freezes at 59% upon booting. I've done this several times in different methods and order above; and nothing seems to work. (Also yes I ran the script by 1broccoli and it worked for every Android version except 12.0). If anyone can find a fix for this, I'd be very grateful. Thank you all for your time in this matter! Screenshot 2025-08-18 213309

I don't think i made it updated for version 12... i can look into this when i have

@1broccoli
Copy link

image no ads!⚠ MuMuPlayer 5.4.1

NetEase makes that so prepare to have Chinese spyware on your pc lol. But memu does the same so... lol. I've noticed all of them appear to have this problem...

@genrihx2
Copy link

genrihx2 commented Sep 4, 2025

image

Well, yes, of course.

@Trappy42069
Copy link

image no ads!⚠ MuMuPlayer 5.4.1

Does that version of Menu Player support Android 12? If not, I might be able to create an Android 12 instance from a newer version of Memu Player and bring it to 5.4.1 potentially. I'm going to try this evening.

@Trappy42069
Copy link

Hi! Glad to see I'm not the only one annoyed by Memu's bloatware. This works on every android version except for 12.0 in my experience. I cannot remove the launcher on Android 12.0 without the OS freezing on reboot no matter what I do. I tried freezing/disabling/uninstalling Guide, Installer, Launcher, and the other "microvirt" app I can't remember the name of. And I install Nova Launcher along with LauncherHijack. Android 12.0 works fine with the OS constantly running. And when I perform the first reboot on the Android 12.0 OS, It always freezes at 59% upon booting. I've done this several times in different methods and order above; and nothing seems to work. (Also yes I ran the script by 1broccoli and it worked for every Android version except 12.0). If anyone can find a fix for this, I'd be very grateful. Thank you all for your time in this matter! Screenshot 2025-08-18 213309

I don't think i made it updated for version 12... i can look into this when i have

All good. Take your time. No rush.

@1broccoli
Copy link

Memu = hyper VM
MuMu = not virtual machine.

Memu has potential being better. I enjoy both for different reasons.

I need to update the auto script I made... idk if the read me states to rename the folder abd place it into the microvert folder...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment