How to turn off PIN-code SIM-Map in Xiaomi phones: all ways

Protection SIM-map PIN-code is a standard security measure that carriers activate by default, but constantly entering a 4-digit code every time Xiaomi is turned on or rebooted can be annoying, especially if you are confident in the security of your device. In this article, we will discuss all official and alternative ways to disconnect. PIN-code on SIM cards in smartphones Redmi, POCO, Black Shark and other brand lines working on MIUI 12–15.

It's important to understand that disabling protection removes the barrier to unauthorized use of your SIM card, for example, if your phone falls into the wrong hands, an attacker can easily make calls, send messages, and send messages. SMS Or use the mobile Internet at your expense, but if you're determined to remove the request, PIN-Follow our instructions – they cover 95% of Xiaomi models released after 2018.

Why Xiaomi is asking for PIN-code-in?

Requirement to introduce PIN-code is not a "fad" of firmware MIUI, a function laid down at the level of the Android hardware platform and communication standards GSM/4G/5G. Operators (MTS, Beeline, MegaFon, Tele)2) They activate this default protection when you release a SIM card. Here are the key reasons why the system requests code:

  • πŸ”’ Protection against theft: no PIN-Anyone who finds your phone will be able to use your number.
  • πŸ“‘ Network policy: some operators (e.g. MTS) enforce PIN-request for corporate tariffs.
  • πŸ”„ Resetting: After resetting to factory settings (Hard Reset) PIN-Request is returned automatically.
  • πŸ“± Update MIUI: after major updates (e.g., with the MIUI 13 on MIUI 14) the security settings may be reset.

In some countries (e.g. Germany), the law requires operators to activate the system. PIN-In Russia, there is no such requirement, but operators follow this practice "to improve securityΒ».

πŸ“Š Have you ever lost a phone with an active SIM card?
Yeah, and that's become a problem.
Yeah, but I found it fast.
No, but I'm afraid of that scenario.
No, and I don't see it as a risk.

Official method: disable PIN through MIUI settings

The easiest and safest method is to use the built-in MIUI tools. The instructions are suitable for all modern Xiaomi models, including the Redmi Note 12, POCO X5, Xiaomi 13T and others.

  1. Open the Settings app (the gear icon on the home screen).
  2. Go to section. SIM-Maps and mobile networks (or Mobile Network in older versions) MIUI).
  3. Select the SIM card you want to disable the PIN for (if you have Dual-SIM).
  4. Slip on the option Blocking SIM-card or request PIN-code.
  5. Transfer the slider to the off position (or uncheck the box in the old versions).
  6. Enter the current one. PIN-SIM card code for confirmation.

Important! If the phone restarts after shutdown and requests PIN again, the operator has forced the network-level function to activate, in which case only a call to support the operator (the numbers are shown in the table below) will help.

Make sure you know the current one. PIN-sim-card|Check balance – some operators block changes when the balance is negative|Connect to Wi-Fi – Network settings may need to be updated|Have your passport on hand – operator support can request identification data-->

Alternative methods of shutdown PIN-code

If the standard method didn’t work (for example, because of the β€œFailed to turn off PIN” error), try alternatives. They are less versatile, but often help in β€œrun” cases.

Method 1: Engineering menu (for advanced users)

The engineering menu (#4636##) allows you to manage the low-level settings of the communication module.

  1. Open the Phone app and enter the combination ##4636##.
  2. Select the Phone Information (or Phone Information) section.
  3. Scroll down to the SIM 1 (or SIM 2) block.
  4. Click on Turn off PIN (if the option is available).
What to do if the engineering menu is not opened?
On some Xiaomi models (e.g. Redmi) 9A) The engineering menu is locked. In this case, try it: 1. Install the application MTK Engineering Mode (for MediaTek processors) or Qualcomm EngineerMode (for Snapdragon). 2. Use it. ADB-Command: Adb shell am start -a android.intent.action.MAIN -n com.android.settings/.TestingSettings 3. Update the firmware to the latest version MIUI β€” Sometimes it will unlock hidden functions.

Method 2: Reset network settings

If PIN-The request appears after an update or a crash, resetting the network settings may help. Warning: this will delete all stored Wi-Fi networks and passwords!

  1. Go to Settings. β†’ SIM-maps and mobile networks β†’ Additionally.
  2. Select Network Resetting.
  3. Confirm the action and restart the phone.

After the reboot, check if the PIN request has disappeared. If not, try the method with the engineering menu or contact the operator.

What to do if you forgot PIN-sim-card?

Forgotten PIN-code is one of the most common problems, and fortunately, it can be recovered, but it will require a lot of effort. PUK-Personal Unblocking Key, which is attached to the SIM card on a plastic carrier. PUK Lost, you will have to contact the operator.

Algorithm of action:

  1. Enter. PIN-3 times in a row with an error, the system will block the SIM card and request PUK.
  2. Enter. PUK-code (usually 8 digits).
  3. Set a new one. PIN-code (or leave the field blank to disable protection).

MTS

Beeline

MegaFon

Tele2.

If PUK-The code is also lost, contact operator support. Here are the current numbers (2026):

Operator.Support phoneChat/site
MTS0890 (free of charge)mts.ru
Beeline0611 (free of charge)beeline.ru
MegaFon0500 (free)megafon.ru
Tele2.611 (free of charge)tele2.ru

⚠️ Note: If you enter the wrong one 10 times in a row PUK-code, SIM card will be irrevocably blocked, in this case you will have to buy a new SIM card with the same number (service "Restore number" is paid, the cost is 100-300 rubles depending on the operator).

Problems and errors in disconnection PIN-code

Even following the instructions, Xiaomi users sometimes encounter errors, and let’s look at the most common ones and how to solve them.

Error: "Failure to disable PIN. Retry later"

This error occurs when:

  • πŸ“΅ The SIM card is not recognized by the phone (check if it is inserted correctly in the tray).
  • πŸ”„ Operator settings are being updated (wait 5-10 minutes and try again).
  • 🚫 The operator has blocked the possibility of disconnection (solution – call in support).

Mistake: Β«SIM-- The card is locked. PUKΒ»

As mentioned, this happens after 3 incorrect attempts to enter. PIN. If PUK-lost-code:

  1. Check the SIM card box or the contract with the operator.
  2. Contact the communication salon with your passport - access will be restored there.
  3. Use the operator’s online chat (links in the table above).

P.IN-The code was requested again after the reboot

If you have disabled the PIN but it reappears after the reboot, the reason may be:

  • πŸ”„ Auto-update operator settings (turn off in Settings) β†’ SIM-map β†’ Auto-tuning).
  • πŸ“± Firmware failure (try to update) MIUI last-minute).
  • πŸ”’ Operator policy (some tariffs are required by the operator) PIN).

πŸ’‘

If none of these methods worked, it's probably the operator's side, so call in support and demand that you disable the forced PIN request, which is your right as a subscriber.

Shutdown PIN-Xiaomi code with root rights

For power users who have root access, there is a radical way to disable PIN once and for all, through editing system files. Warning: this could disrupt the communication module and take away warranties!

Instructions:

  1. Install a file manager with root support (such as Root Explorer).
  2. Go to /data/data/com.android.providers.telephony/databases/.
  3. Open the telephony.db file in the text editor.
  4. Find the line with the parameter pin1_enabled and change the meaning of c 1 on 0.
  5. Save the file, reboot the phone.

If after that the SIM card is no longer defined, restore the backup file or reflash the phone.

⚠️ Note: Editing system files without backup can lead to a device blink (complete failure).This method is recommended only for devices that are out of warranty and users with experience with the device. ADB root.

FAQ: Frequent questions on PIN-coded in Xiaomi

Can I turn it off? PIN-SIM card code without entering the current PIN?
No, it's impossible. The system always requires proof of the current status. PIN-code to disable or change it, if you forget PIN, The only way out is to enter it incorrectly 3 times so that the system requests PUK, and then restore access through the operator.
Why does the MIUI update make a PIN request again?
This is due to a reset of security settings on major firmware updates. To avoid a problem, back up your settings in Settings β†’ System β†’ Backup. After the update, restore the settings from the backup.
Can I turn it off? PIN-Mobile Internet only code, leaving it for calls?
No, PIN-The code blocks access to all SIM card functions (calls, SMS, You can't selectively turn it off, but you can use Wi-Fi for the Internet, and you can leave your SIM card only for calls with it on. PIN.
Will the eSIM work without it? PIN-Xiaomi code?
Virtual SIM cards (eSIM) also support PIN-protection, and it can be disabled in a similar way through settings. For Xiaomi with eSIM support (for example, Xiaomi 13 Pro) the path is the same: β†’ SIM-map β†’ Select eSIM β†’ Lockdown SIM-map.
Which is safer: disable the PIN or put a pattern lock on your phone?
From a security perspective, it is better to combine both methods: PIN on a SIM card (for protection against theft) and set a pattern lock or fingerprint to unlock the screen. If you are annoyed by double-entry code when turned on, set up automatic unlock over a Bluetooth device (for example, a smartwatch) in Settings β†’ Screen locking β†’ Trusted devices.