Fix Invalid MMI on LG G4: 7 Working Methods
In this article
The "Invalid MMI code" error on an LG G4 appears when the phone's USSD interpreter fails to understand a service code sent by your carrier, often after a software update, a SIM card change, or a network settings glitch. The most reliable fix is to update your carrier settings or use a dialer app that sends the code without the phone's built-in MMI parser, but there are several simpler steps to try first.
What Does "Invalid MMI Code" Mean?
MMI stands for Man-Machine Interface. In mobile phones, MMI codes are short numeric strings that you dial to access network services like call forwarding, call waiting, or checking your account balance. For example, *#06# shows your IMEI number, and *#21# checks call forwarding status. When you dial one of these codes, the phone's software interprets it and sends a request to your carrier's network.
The "Invalid MMI code" message means the phone could not parse the string you entered. This is not a hardware failure — it's a software or network communication problem. The LG G4, which runs Android 5.1 Lollipop out of the box and is upgradeable to Android 7.0 Nougat, has a dialer that sometimes fails to handle certain USSD codes correctly, especially after a carrier update or when the phone is used with a different SIM than it was originally configured for.
Why Does This Happen on the LG G4?
The LG G4 was released in 2015 and shipped with a dialer that had known quirks with USSD codes. Several factors can trigger the error:
- Carrier software updates that change the way USSD responses are formatted.
- Using a SIM from a different carrier than the one the phone was originally locked to, or after unlocking the bootloader.
- Corrupted network settings after a factory reset or a failed system update.
- Dialing a code that your carrier does not support — some codes are specific to certain networks.
- Third-party dialer apps that interfere with the default phone app's handling of MMI strings.
On the G4 specifically, the issue often appears after upgrading to Android 6.0 Marshmallow or 7.0 Nougat, because the system's telephony framework changed how it validates MMI codes. The phone may reject codes that worked fine on older firmware.
How to Fix Invalid MMI on LG G4
Work through these fixes in order, from simplest to most involved. Stop when the error disappears.
1. Restart the Phone and Re-insert the SIM
A simple restart clears temporary glitches in the telephony stack. After restarting, remove the SIM card, wait 10 seconds, and reinsert it. This forces the phone to re-register with the network and reload carrier settings.
2. Update Carrier/APN Settings
Go to Settings → Mobile networks → Access Point Names. Tap the three-dot menu and select Reset to default. This restores the APN settings to the carrier's defaults. Then go to Settings → About phone → Update Center → App updates and check for any carrier-specific updates. If your carrier has a "Carrier Settings" update, apply it.
3. Clear the Phone App's Cache and Data
Go to Settings → Apps → Phone. Tap Storage, then Clear cache. If that doesn't work, tap Clear data. This resets the dialer to its factory state, which often resolves MMI parsing issues. You will lose your call log and speed dial settings, but not your contacts.
4. Use a Third-Party Dialer
Install a dialer app from the Play Store that handles USSD codes differently, such as "USSD Codes" or "Dialer for USSD". These apps send the code as a raw string directly to the network, bypassing the LG dialer's validation. This is the most effective workaround for the G4's specific bug.
5. Disable Wi-Fi Calling and VoLTE
Wi-Fi calling and VoLTE (Voice over LTE) can interfere with USSD requests. Go to Settings → Call → Wi-Fi calling and turn it off. Also go to Settings → Mobile networks → VoLTE and disable it. This forces the phone to use traditional circuit-switched voice channels, which handle MMI codes more reliably.
6. Factory Reset (Last Resort)
Back up your data first. Then go to Settings → Backup & reset → Factory data reset. This wipes the phone and reinstalls the firmware's default telephony configuration. After the reset, the error usually disappears, but you'll need to re-set up your device.
7. Reflash the Stock Firmware
If a factory reset doesn't help, the phone's firmware may be corrupted. Use LG's official PC Suite (LG Bridge) to restore the device to its latest stock ROM. This is more advanced and requires a PC, but it completely replaces the system software, which can fix deep-seated MMI issues.
Common Misconceptions About the Error
Many users think the error means their phone is broken or their account has an issue. Neither is true. The error is purely a software-handshake problem. Another misconception is that you need to contact your carrier every time — but the fix is almost always on the phone side. Also, some believe that using a code like *#06# (IMEI) will also fail, but that code is handled locally by the phone and does not require network communication, so it usually works even when other codes fail.
Comparing LG G4 MMI Fixes: Which Is Best?
Here's a quick comparison of the most common fixes:
- Restart + SIM re-seat: Fastest, works for temporary glitches, no data loss.
- APN reset: Good for carrier-specific issues, no data loss, but may not help if the problem is in the dialer.
- Clear Phone app data: Effective for dialer bugs, but erases call history.
- Third-party dialer: Most reliable workaround, no data loss, but adds an extra app.
- Disable Wi-Fi calling/VoLTE: Useful if the error only occurs on certain networks, but reduces call quality features.
- Factory reset: Guaranteed to fix software issues, but erases all data.
For most users, clearing the Phone app's data or using a third-party dialer is the best balance of effort and success.
Safety and Precautions
Before doing a factory reset, always back up your photos, contacts, and app data to Google Drive or an external storage. When using a third-party dialer, only download apps from the Google Play Store with good ratings — some USSD dialers request unnecessary permissions. Never enter a USSD code that you don't recognize, as some codes can trigger actions like wiping the phone or changing network settings. Also, be aware that some carriers block certain USSD codes for security reasons, so even if the phone accepts the code, the network may respond with an error.
Frequently Asked Questions
Why does my LG G4 say "Invalid MMI code" when I dial *#06#?
The *#06# code should always work because it's processed locally by the phone, not sent to the network. If you see the error, it means the dialer is not recognizing the code at all, which points to a corrupted Phone app. Clearing the Phone app's cache and data should fix it.
Will a factory reset definitely fix the invalid MMI error?
In most cases, yes, because a factory reset restores the default telephony settings and clears any corrupted system files. However, if the issue is caused by a carrier-specific SIM that the phone doesn't fully support, the error may return after re-inserting the SIM. In that case, a third-party dialer is a more permanent solution.
Can I use a code like *#21# to check call forwarding on my G4?
Yes, but only if your carrier supports that code and the phone's dialer can parse it. If you get the error, try using a third-party dialer or disabling Wi-Fi calling first. Some carriers use different codes for call forwarding, so check with your carrier for the correct format.
Is the invalid MMI error a sign of a hardware problem?
No. The error is entirely software-related. The phone's radio hardware is fine. If you suspect a hardware issue, test the phone with a different SIM card — if the error disappears, the problem is with the SIM or carrier, not the phone.
Why does the error only happen after I updated my phone?
Software updates often change the telephony framework, which can alter how MMI codes are validated. LG's updates for the G4 introduced stricter validation, which caused some previously working codes to be rejected. This is why clearing the Phone app data or using a third-party dialer is the recommended fix after an update.