Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fix Invalid MMI on Samsung Galaxy S7

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If your Samsung Galaxy S7 shows an "Invalid MMI code" error when dialing a USSD code (like *#06# or *#123#), it usually means the network didn't understand the request or the phone's dialer is glitching. The fix is often as simple as adding a pause before the code, using the correct dialing format, or resetting the network connection. Below are step-by-step solutions that work on the Galaxy S7 running Android 7 or 8.

What You'll Need

  • Your Samsung Galaxy S7 (any carrier version)
  • A stable cellular signal (Wi-Fi is not enough)
  • Optional: a SIM card removal tool (for reseating the SIM)

Step-by-Step

  1. Check the dialing format. USSD codes on the Galaxy S7 must be dialed exactly as provided, usually starting with an asterisk (*) and ending with a hash (#). For example, to check your IMEI, dial *#06#. If you're using a code from a website, make sure you're not accidentally adding spaces or extra characters.
  2. Add a pause before the final hash. Some networks require a 2-3 second pause after the digits before the hash. On the Galaxy S7 dialer, type the code (e.g., *#123), then press and hold the # key. This inserts a comma (pause) before the hash, so it becomes *#123,#. Then press the call button. The pause gives the network time to process the request.
  3. Use the international format if needed. If the code is carrier-specific, try adding a plus sign (+) before the code. To do this, press and hold the 0 key until the plus sign appears, then type the code without the leading asterisk? Actually, no—USSD codes are not international numbers. Instead, try dialing with the country code of your carrier? That usually doesn't apply. The safest is to stick with the exact code from your carrier.
  4. Restart the phone. A simple reboot clears temporary glitches in the telephony stack. Press and hold the power button, then tap Restart. After the phone boots, try the code again.
  5. Toggle Airplane Mode. Swipe down from the top of the screen to open the notification panel, tap the Airplane mode icon to turn it on, wait 10 seconds, then tap it off. This forces the phone to re-register with the network.
  6. Reset network settings. Go to Settings > General Management > Reset > Reset network settings. This will clear saved Wi-Fi networks, Bluetooth pairings, and cellular network settings. It does not delete your personal files. After resetting, your phone will restart automatically. You'll need to re-enter Wi-Fi passwords.
  7. Reseat the SIM card. Power off the phone. Use a SIM removal tool (or a paperclip) to eject the SIM tray located on the top edge of the phone (or the right side, depending on model). Remove the SIM, inspect it for damage, then reinsert it firmly. Power the phone back on.
  8. Update the phone's software. Go to Settings > Software update > Download and install. If an update is available, install it. Outdated software can have bugs that cause MMI errors.
  9. Check with your carrier. Some USSD codes are not supported by your carrier or plan. For example, call forwarding codes may not work if the feature is not enabled. Contact your carrier to confirm the code is valid and that your plan supports it.

Common Mistakes

  • Typing the code incorrectly: A single missing asterisk or hash will cause an invalid MMI error. Double-check the code against the source.
  • Using a code meant for another carrier: Many USSD codes are carrier-specific. A code that works on T-Mobile may not work on Verizon.
  • Dialing while in a call or with poor signal: If you're on a call or have weak signal, the code may not process. Ensure you have a stable signal and are not in a call.
  • Forgetting to press the call button: On the Galaxy S7, you must press the green call button after typing the code. Simply typing it and waiting does nothing.
  • Using a third-party dialer: If you've replaced the default dialer, it may not handle USSD correctly. Switch back to the Samsung Phone app (the default one).

Tips

  • Write the code down: Before dialing, write the code on a piece of paper to avoid typos.
  • Use the pause trick: The pause method (step 2) works for many users. It's worth trying before resetting anything.
  • Test with a known code: Try *#06# (IMEI) to see if the phone can process any USSD code. If that works, the issue is with the specific code you're using.
  • Note that some codes are hidden: Some codes (like service menus) are disabled by Samsung or the carrier. If a code doesn't work, it may be intentionally blocked.

Troubleshooting

If you've tried the steps above and still get "Invalid MMI code," here's what to do next:

  • Check if the code works on another phone: Borrow a friend's phone and try the same code with your SIM card. If it works there, the issue is with your Galaxy S7's software or hardware.
  • Boot into Safe Mode: Turn off the phone, then press and hold the power button until the Samsung logo appears, then release and immediately press and hold the volume down button. Continue holding until the phone finishes booting. In Safe Mode, third-party apps are disabled. Try the USSD code. If it works, a third-party app is interfering. Uninstall recently installed apps that might affect the dialer (e.g., call blockers, dialer replacements).
  • Factory reset (last resort): This erases all data on your phone. Back up your files first. Go to Settings > General Management > Reset > Factory data reset. This will restore the phone to out-of-box state. After reset, test the code before reinstalling apps.
  • Contact Samsung support or your carrier: If the problem persists after a factory reset, it may be a hardware issue with the phone's antenna or SIM reader. Your carrier can also check if your account has USSD restrictions.

Frequently Asked Questions

Why does my phone say "Invalid MMI code" when I dial *#06#?

This is rare because *#06# is a standard code that should always work. If it fails, try adding a pause: type *#06, then press and hold # to insert a comma, and press call. If that doesn't work, restart your phone or reset network settings.

Can I fix invalid MMI by clearing the dialer cache?

Yes. Go to Settings > Apps > Phone (or Phone app) > Storage > Clear cache. This does not delete your contacts or call history, just temporary files. Then restart the phone and try again.

Is there a way to bypass the invalid MMI error?

No, you cannot bypass it. The error means the network rejected the request. You must fix the code or the network connection. Using a third-party app to force USSD is not recommended and may not work.

Does a factory reset fix invalid MMI?

It can, if the issue is caused by a software glitch or a corrupted system file. However, it's a drastic step. Try all other solutions first, and back up your data before resetting.

Why does the MMI code work on my friend's phone but not mine?

This indicates a problem with your specific device. It could be a software issue (resolved by resetting network settings or factory reset) or a hardware issue (SIM card reader or antenna). If the problem persists, have the phone inspected by a technician.

Can I use a USSD code while roaming?

Yes, but some carriers may block USSD codes while roaming. If you're traveling, try connecting to a local network or contact your carrier to enable USSD roaming.