Xiaomi: Secret Codes and Tricks for All Models — Complete Guide 2026

This is the definitive guide to Xiaomi secret codes for all models — including Redmi, POCO and Black Shark series. Xiaomi — the Chinese company founded in 2010 in Beijing by Lei Jun — is one of the world's largest smartphone manufacturers running its proprietary MIUI operating system (rebranded HyperOS since 2023). Xiaomi codes are among the most interesting and useful in the Android world: the CIT Test *#*#6484#*#* tests every hardware component individually, the Engineering Mode *#*#3646633#*#* (MediaTek only) gives full access to radio settings, the VoLTE bypass *#*#86583#*#* forces the VoLTE toggle to appear even on uncertified carriers, and the standard *#*#4636#*#* lets you manually force any network type (GSM/3G/4G/5G).


How Xiaomi Codes Work — Read First

Xiaomi codes fall into three categories:

  1. Universal Android codes (*#*#XXXX#*#*) — work on all Xiaomi devices
  2. Exclusive MIUI/HyperOS codes — specific to Xiaomi/Redmi/POCO
  3. Engineering Mode codes — chip-dependent:
    • *#*#3646633#*#*MediaTek (MTK) chips only
    • *#*#197328640#*#*Qualcomm (Snapdragon) chips only

Important: Use the Xiaomi Phone app (MIUI/HyperOS dialler), not Google Phone. Some codes only execute from the native MIUI dialler. If a code doesn't respond, switch your default phone app to the Xiaomi one temporarily.


Universal Xiaomi Codes — Work on All Models

Code Function
*#06# Display IMEI code (Dual SIM shows both IMEI numbers)
*#*#6484#*#* CIT Test — full hardware test (main method)
*#*#64663#*#* QC Test — alternative hardware test (older MIUI)
*#*#4636#*#* Network info — SIM, modem, battery, statistics
*#*#74663#*#* Debug mode
*#*#284#*#* Send log report to MIUI
*#*#334334#*#* Dump sensor log to /sdcard
*#*#86583#*#* VoLTE bypass — forces VoLTE toggle to appear on uncertified carriers
*#*#7780#*#* Soft reset — removes apps and settings ⚠️
*2767*3855# Full hard reset — wipes everything ⚠️

Most Important Code: *#*#6484#*#* — CIT Hardware Test

The CIT (Certification Inspection Tool) is Xiaomi's primary hardware test menu. It's the most useful tool for verifying the condition of a used Xiaomi smartphone before purchasing.

How to access:

  • Method 1: Phone dialler → type *#*#6484#*#*
  • Method 2 (MIUI 14/HyperOS — if code is blocked): Settings → About Phone → Detailed info and specs → tap Kernel Version exactly 5 times rapidly

What the CIT tests:

Touchscreen test: Draw lines and patterns across the display — identifies dead zones or unresponsive areas. Essential for verifying screen quality after drops or water damage.

Display test: Shows solid colour screens (red, green, blue, white, black) to identify dead pixels, pressure marks, burn-in on AMOLED displays. Run this in a dark room for best results.

Proximity sensor test: Verifies the screen turns off during calls when the phone is near the ear. If this fails, the screen stays on during calls — a common issue after screen replacements.

Brightness/ambient light sensor test: Verifies the automatic brightness adjustment sensor.

Microphone test: Speak into the microphone and verify audio is recorded correctly.

Speaker test: Test tone on the main speaker.

Vibrator test: Activates the haptic motor.

Camera test (front and rear): Opens cameras in test mode.

WiFi test: Verifies the WiFi module and antennas.

Bluetooth test: Verifies the Bluetooth chip.

Sensor tests (accelerometer, gyroscope, magnetometer): Shows raw sensor values — useful for calibration verification and confirming sensors work after hardware repairs.

GPS test: Verifies GPS reception.

Essential tip for buying used Xiaomi: Always run the full CIT Test before purchasing a used Xiaomi. An automatic test takes approximately 5-10 minutes but identifies 90% of hidden hardware failures — internally cracked displays, dead touchscreen zones, failed sensors, malfunctioning cameras. This is the first thing any Xiaomi technician checks.


The *#*#4636#*#* Code — Network Info and Type Forcing

This standard Android code opens a menu with critical data:

Phone information:

  • IMEI number(s)
  • Software and firmware version
  • Current network type and signal strength in dBm — far more precise than graphic signal bars
  • "Set preferred network type" dropdown — lets you force:
    • GSM only (2G — maximum battery life, minimal data)
    • WCDMA only (3G)
    • LTE only (4G — maximum data speed, more battery drain)
    • NR only (5G — 5G models only)
    • LTE/WCDMA/GSM (automatic — default)

WiFi information: MAC address, connection status

Battery information: charge percentage, real voltage in mV, temperature in °C, technology, charge status, charge source


Engineering Mode (MediaTek only): *#*#3646633#*#*

This code works only on Xiaomi phones with MediaTek chips (e.g. Redmi Note 9, Redmi 9, POCO M3, POCO X3 NFC). It does NOT work on Qualcomm Snapdragon models.

It opens the MTK Engineering Mode with access to:

  • Band selection — manually select which LTE/3G/2G frequency band the phone locks to
  • RF setting — advanced radio frequency parameters
  • Bandwidth test — test data bandwidth
  • CDS Information — detailed data network connection information
  • Audio — advanced microphone and speaker test
  • Bluetooth — advanced BT test
  • WiFi — advanced WiFi test

Engineering Mode warning: Only modify RF settings if you know exactly what you're doing. For simple diagnostics, only use the read/test modes. If something goes wrong, flashing the stock firmware from Xiaomi's official site restores everything.


VoLTE Bypass: *#*#86583#*#* — Very Rare Code

This is one of the most searched and least documented MIUI codes. Many European carriers haven't officially certified specific Xiaomi models for VoLTE/VoWiFi, but the hardware supports it. This code:

Disables the "carrier check" — the operator verification that hides the VoLTE/VoWiFi toggle in Settings → SIM & mobile networks.

After the code: go to Settings → SIM & mobile networks → SIM 1 (or 2) → you'll see "Use VoLTE" toggle appear that wasn't visible before.

When to use this: if your carrier technically supports VoLTE (HD voice calls over 4G) but the toggle doesn't appear in your Xiaomi's settings, this code forces it to show. Note: if the carrier has blocked VoLTE at the network level (not just hidden it in the UI), the code unblocks the toggle but calls won't use VoLTE anyway.


Alternative Method for CIT Test — Tap Kernel 5 Times

If *#*#6484#*#* doesn't work (Xiaomi disabled direct code access in some MIUI 14/HyperOS versions):

  1. Open Settings
  2. Go to About Phone
  3. Tap "Detailed info and specs" (or "Additional info")
  4. Tap "Kernel version" exactly 5 times rapidly
  5. CIT Test opens

This alternative method works even on MIUI 14 and HyperOS where the direct dialler code has been removed.


Advanced Logging and Debug Codes

These codes activate log modes for developers and technicians — generally not needed for everyday use:

Code Function
*#*#9434#*#* Enable WiFi logging
*#*#5959#*#* Enable Bluetooth logging
*#*#477477#*#* GPS logging
*#*#717717#*#* Enable USB Diag port
*#*#995995#*#* Dump modem log files to SD card
*#*#632#*#* Enable NFC card emulation
*#*#4663#*#* Dump default workspace
*#*#969767#*#* Enable demo mode
*#*#372733#*#* UI/animation test
*#*#76937#*#* Hidden network settings
*#*#13411#*#* VoLTE/VoWiFi debug (older MIUI)
*#*#6266344#*#* SW MBN Configuration
*#*#3266344#*#* HW MBN Configuration

⚠️ CRITICAL WARNING: *#*#25327337#*#* performs a full EFS clear — it permanently wipes the EFS partition containing the IMEI and all radio calibrations. This renders the phone completely non-functional (no calls, no data, shows "Emergency calls only" permanently). Never type this code under any circumstances.


Xiaomi Mi Series — Secret Codes

The Mi series was Xiaomi's first international smartphone line (Mi 3, Mi 4, Mi 5, Mi 6, Mi 8, Mi 9, Mi 10, Mi 11...). All use the standard MIUI codes.

IMEI: *#06#

CIT Test: *#*#6484#*#* or *#*#64663#*#*

Engineering Mode (MediaTek models only): *#*#3646633#*#*

Network info: *#*#4636#*#*

VoLTE bypass: *#*#86583#*#*

Soft reset: *#*#7780#*#* ⚠️

Hard reset: *2767*3855# ⚠️

👉 View Xiaomi Mi available at Infosate


Redmi Series — Secret Codes

The Redmi series is Xiaomi's budget range — excellent value for money. All MIUI codes work identically. Many Redmi models use MediaTek chips → *#*#3646633#*#* works.

IMEI: *#06# (Dual SIM shows both IMEI numbers)

CIT Test: *#*#6484#*#*

MTK Engineering Mode: *#*#3646633#*#* (MediaTek models: Redmi Note 9, Redmi 9, Redmi 10, etc.)

Network info: *#*#4636#*#*

VoLTE bypass: *#*#86583#*#*

Hard reset: *2767*3855# ⚠️

Which Redmi have MediaTek? Redmi Note 8 Pro, Redmi Note 9, Redmi Note 9S, Redmi 9, Redmi 10, Redmi Note 10 (some variants), POCO M3, POCO X3 NFC. The processor is listed in Settings → About Phone.

👉 View Redmi available at Infosate


POCO Series — Secret Codes

The POCO series (originally a Xiaomi sub-brand, now independent) uses the same MIUI codes. POCO F1 was the first; POCO X3, M3, F3, X4, F4 the most widespread.

IMEI: *#06#

CIT Test: *#*#6484#*#* or *#*#64663#*#*

MTK Engineering Mode (POCO M3, X3 NFC): *#*#3646633#*#*

Network info: *#*#4636#*#*

VoLTE bypass: *#*#86583#*#*


Forcing Network Type on Xiaomi — Practical Guide

One of the most practical uses of *#*#4636#*#* is forcing the network type:

Why force GSM only (2G):

  • Dramatically extends battery life when travelling
  • In areas with 2G-only coverage, prevents the phone from constantly searching for 3G/4G
  • For testing calls on 2G network

Why force LTE only (4G):

  • Maximise data speeds in areas with good LTE coverage
  • Prevent fallback to slower 3G networks

Why force NR only (5G):

  • Force use of the 5G network avoiding auto-switch to 4G
  • Useful for testing 5G speeds in areas with partial coverage

How to do it:

  1. Type *#*#4636#*#*
  2. Tap "Phone information"
  3. Find the "Set preferred network type" dropdown
  4. Select the desired type
  5. Restart the phone to apply

Universal GSM Codes — Valid for All Xiaomi GSM

PIN and PUK management:

  • Change PIN: **04*[old]*[new]*[new]#
  • Change PIN2: **042*[old]*[new]*[new]#
  • Unlock with PUK: **05*[PUK]*[new PIN]*[new PIN]#

Call forwarding:

Code Function
##002# Cancel all call forwarding
##004# Cancel conditional forwarding
*#21# Check unconditional forwarding
*#61# Check "no answer" forwarding
*#62# Check "not reachable" forwarding
*#67# Check "busy" forwarding
**21*[number]# Activate unconditional forwarding

Call barring (default password 0000):

  • *33*(password)# → bar outgoing calls
  • *353*(password)# → bar incoming calls
  • *43# / #43# → activate/deactivate call waiting

Frequently Asked Questions

Why doesn't *#*#6484#*#* work on my Xiaomi? On MIUI 14 and HyperOS, Xiaomi disabled direct dialler code access to the CIT on some models. Use the alternative method: Settings → About Phone → Detailed info and specs → tap "Kernel version" exactly 5 times rapidly.

Do Xiaomi codes work on Redmi and POCO? Yes — POCO and Redmi are essentially Xiaomi devices running the same MIUI/HyperOS base. Almost all codes work identically across Mi, Redmi, POCO and Black Shark devices.

How do I know if my Xiaomi has a MediaTek or Qualcomm chip? Go to Settings → About Phone → Processor (or chip model). MediaTek processors show "Helio" or "Dimensity" in the name. Qualcomm shows "Snapdragon". You can also look up your exact model on GSMArena.

Does the VoLTE bypass *#*#86583#*#* always work? It works if: 1) your carrier technically supports VoLTE at the network level, 2) your chip supports VoLTE (all modern chips do), 3) the carrier is hiding the option for commercial reasons rather than blocking it at the network level. If the carrier has blocked VoLTE at the network level, the code reveals the toggle in the UI but VoLTE calls won't actually work over the network.

Is the Engineering Mode *#*#3646633#*#* dangerous? The read-only and test functions are completely safe. Only modifying RF calibration or band settings without knowing what you're doing carries risk — but even then, flashing the official stock firmware from Xiaomi's website restores all settings.

What's the difference between *#*#6484#*#* and *#*#64663#*#*? Both open hardware test menus but *#*#6484#*#* is the newer CIT (Certification Inspection Tool) present on MIUI 8 onwards, while *#*#64663#*#* is the older QC test present on early MIUI versions. On most modern Xiaomi, both work and open the same or similar menus. If one doesn't work, try the other.


Original Xiaomi at Infosate

At Infosate you'll find a selection of Xiaomi phones — Mi, Redmi, POCO and other models of the Chinese brand, all verified before shipping.

👉 Explore the Xiaomi collection at Infosate

Back to blog