If your screen is broken and you cannot navigate Settings, these codes can wipe your phone. Use only when selling or recycling the phone.

| Code | Function | |------|-----------| | *#*#7780#*#* | Factory reset (removes Google account and app data, not internal storage media). | | *2767*3855# | Full factory reset (Wipes everything including internal storage – similar to flashing stock ROM). Does not work on all Moto G Stylus variants after Android 11 due to security changes. | | ##847446# | Remove any lingering R-SIM / SIM network unlock pattern (carrier-specific). |

| Code | Effect | |------|--------| | *#*#7780#*#* | Factory reset – Deletes all app data, settings, and downloaded apps but keeps internal storage files (photos, music). | | *2767*3855# | Full factory reset – Wipes everything (including internal storage). Rarely works on modern Moto devices due to security. | | *#*#372733#*#* | Quick reset of network settings (APN, Bluetooth, Wi-Fi). |


This is the heavy-duty diagnostic menu.


These are the most valuable for troubleshooting screen, touch, sensor, and camera issues.

| Code | Function | |------|-----------| | *#*#2486#*#* | Manual Test Mode – Hands-down the most useful code. Opens a menu to test LCD, touchscreen, vibration, speaker, microphone, backlight, and all physical buttons. | | *#*#3424#*#* | HAC (Hearing Aid Compatibility) Test – Checks and toggles HAC settings for better call audio. | | *#*#2324#*#* | Bluetooth Test – Initiates Bluetooth radio diagnostic. | | *#*#3264#*#* | RAM Version Check – Displays total RAM and available memory. | | *#*#0283#*#* | Packet Loopback Test – Checks the integrity of voice/data channels. | | *#*#0842#*#* | Vibration Motor Test – Makes the phone vibrate at different intensities. | | *#*#2664#*#* | Touchscreen Accuracy Test – Displays a grid to test touch responsiveness (essential for Stylus users). |

Known as the "Testing" menu, this code opens a treasure trove of information.