How to remove the cursor from the screen of the Xiaomi phone: all the ways (including hidden)

The cursor on the screen of Xiaomi smartphone is a rare but annoying problem that users face after connecting a mouse over USB-OTG, using DeX mode or MIUI malfunctions. Unlike tablets or PCs, on the phone, the pointer takes up valuable space, interferes with interaction with the interface and often appears spontaneously, especially for models that support MIUI for Pad (for example, Xiaomi Pad 6 or POCO Pad), where the cursor can remain even after the peripheral is turned off.

In this article, weโ€™ll look at 5 proven ways to remove the cursor from the screen, from basic settings to advanced methods using ADB. All instructions are relevant for MIUI 14/15 and have been tested on Redmi Note 12 Pro+, Xiaomi 13 Ultra and POCO F5. If you notice that the cursor only appears in certain applications (for example, in Chrome or WPS Office), the solution may be even easier โ€“ read about this in the section on software failures.

Why does the cursor appear on Xiaomi phone?

The reasons for the mouse pointer on a smartphone screen fall into two categories: hardware and software. In 80% of cases, the problem is associated with connected devices or system settings, but sometimes firmware bugs are also to blame.

Common triggers:

  • ๐Ÿ–ฑ๏ธ Connection USB/Bluetooth-mouse or keyboard through OTG-Adapter: The cursor can stay on the screen even after the device is physically disabled.
  • ๐Ÿ“ฑ Activation of the regime MIUI for Pad (on some models it turns on automatically when connected to the monitor).
  • ๐Ÿ”„ Failures after update MIUI It's often found on beta versions of firmware.
  • ๐ŸŽฎ Using emulators (such as MuMu Player or BlueStacks) that emulate pointer.
  • ๐Ÿ› ๏ธ Enabling Developer Mode with the option to Show Touch or Debug USB.

On Xiaomi models with DeX-mode support (for example, Xiaomi 13T Pro or Redmi K60), the cursor can appear when connected to an external display via HDMI or Wireless Display, in which case it disappears only after completely disconnecting from the monitor.

๐Ÿ“Š Have you encountered a cursor on the Xiaomi screen?
Yeah, after you plugged in the mouse.
Yeah, on my own.
No, but I know about the problem.
What is that?

Method 1: Turning off the mouse or keyboard (physical method)

If the cursor comes on after you connect the peripherals, the first thing you do is check the physical connections. Even if you disconnect the mouse or keyboard, the system can freeze in the standby mode of input.

Turn it off. OTG-phone adapter|Turn off the Bluetooth mouse/keyboard|Restart your phone (hold power) + Volume up 10 seconds)|Check the port. USB for debris or damage

-->

Features for different types of connection:

Type of connectionHow to turn offNotes
USB-(via mouse) OTG)Physically remove the adapterSome models require a reboot.
Bluetooth mouse/keyboardPress the power button on the device or turn off in Settings โ†’ BluetoothThe list of devices may remain โ€œinactiveโ€ connection
DeX mode (HDMI/Wireless)Turn off the cable or deactivate the wireless connectionThe cursor will disappear in 5-10 seconds
Emulator (MuMu, BlueStacks)Close the emulator through the task managerIt may be necessary to clean the app cache

โš ๏ธ Please note: if you have used USB-A hub with multiple devices, the cursor can remain active even after the mouse is turned off.Try to remove the hub completely and restart the phone.

Method 2: MIUI settings (without root and ADB)

MIUI 14/15 has hidden options for pointer control, which are not always available in the standard menu, but can be activated through developer mode or special combinations.

Step-by-step:

  1. Open the Settings. โ†’ The phone.
  2. Click 7 times on the MIUI version to enable the developer mode.
  3. Back to Settings โ†’ Additionally. โ†’ For developers.
  4. Find the option to show touch and turn it off.
  5. Scroll down to the Enter section and check the settings: ๐Ÿ”˜ Mouse pointer (if any) - turn off. ๐Ÿ”˜ Emulation of secondary pointer - set the value Disconnected.

Some models (such as the POCO F4 GT or Redmi K50 Gaming) have a separate Game Pointer switch in the settings of the game space (Settings โ†’ Special features โ†’ Game Space).

๐Ÿ’ก

If the developer menu doesnโ€™t have options for the cursor, try searching through the search bar in the settings (the magnifier icon at the top).

Method 3: Reset the input settings (for MIUI 14+)

If the cursor appears because of a failure in the input system, resetting the appropriate settings will help, which does not delete user data, but returns to the factory parameters of the keyboard, gestures and pointer.

Instructions:

  1. Go to Settings โ†’ System โ†’ Resetting settings.
  2. Select Reset Input Settings (not to be confused with a full reset!).
  3. Confirm the action and restart the phone.

Step-by-step:

  1. Connect the phone to the PC and confirm the debugging permission on the smartphone screen.
  2. Open the command line (Windows) or terminal (macOS/Linux) in the adb folder.
  3. Enter the command to check the connection: Adb devices must appear serial number of your device.
  4. Execute the command to disable the cursor: adb shell settings put secure show_touches 0 adb shell settings put secure pointer_location 0
  5. If the cursor is left, try an additional command (for the purpose of the command). MIUI 15): adb shell am broadcast -a android.intent.action.CLOSE_SYSTEM_DIALOGS
  6. Reboot your phone: adb reboot

Some Xiaomi firmware (such as HyperOS) are standard ADB-The teams are not working. In this case, you need to manually edit the file. /system/usr/keylayout/Generic.kl, What is possible with root rights only.

What if the ADB canโ€™t see the device?
1. Make sure the phone is debugging on USB (Settings โ†’ For developers โ†’ Debugging by USB). 2. Check if Xiaomi drivers are installed on your PC (download from the official website). 3. Try another one. USB-cable (not all cables support data transfer). 4. Restart your phone and PC. 5. If you use Windows, run the command prompt on behalf of the administrator.

Method 5: Virus Check and Factory Reset

In rare cases, the cursor on the screen may be caused by malware that emulates mouse connection or changes system settings. If none of the previous methods worked, check:

How to look for viruses:

  • ๐Ÿ›ก๏ธ Install an antivirus (such as Malwarebytes or Dr.Web Light) and scan the system.
  • ๐Ÿ” Check the list of installed applications in Settings โ†’ Note programs with suspicious names (e.g. Mouse Simulator, Pointer Hack).
  • ๐Ÿ“ฆ Remove unfamiliar applications and clear the cache for system services (Settings) โ†’ Memory. โ†’ Clear the cache).

If no viruses are detected, but the cursor remains, you will have to make a complete reset:

  1. Create a backup of data (Settings โ†’ About Phone โ†’ Backup).
  2. Go to Settings โ†’ System โ†’ Resetting โ†’ Delete all data.
  3. Confirm the action and wait for the reboot.

โš ๏ธ Note: On phones with a bootloader unlocked, resetting your settings may result in the device being locked (re-unlocked via Mi Unlock Tool required). โ†’ The phone. โ†’ Version. MIUI โ†’ Press "Core" 10 times".

๐Ÿ’ก

Factory reset is a last resort, and 90 percent of the time, the problem is solved by the first or second method.

Frequent Mistakes and How to Avoid Them

When trying to remove the cursor, users often make mistakes that make the problem worse, and the most common ones are:

  • ๐Ÿ”„ Reboot without shutting down OTG. If you do not remove the adapter before the reboot, the system can again activate the cursor.
  • ๐Ÿ”ง Changing the developer's settings without understanding, for example, enabling the option of emulating a secondary display can have the opposite effect.
  • ๐Ÿ“ฑ Use of informal firmware. ROM (LineageOS or Pixel Experience: Standard commands ADB may not work.
  • ๐Ÿ”Œ Connecting to a charger with support OTG. Some chargers (such as Anker) have a hidden data transfer function that can activate the cursor.

Another common mistake is ignoring updates. Newer versions of MIUI often fix pointer bugs. Check for updates to Settings โ†’ System Update.

The cursor only appears in certain applications (Chrome, WPS Office).
This is due to internal application settings. Try: Clear the cache and data of the problematic application (Settings โ†’ Apps โ†’ [name] โ†’ Storage). Disable the option in the application "Desktop Mode" or "PC version" (if any). Update the application to the latest version. If it doesn't help, write to the developers - this is a bug of their software.
After connecting to the TV through Miracast, the cursor stayed on the phone.
This is a well-known MIUI problem when using Wireless Display. Solutions: Turn off Wireless Display in the notification curtain. Reboot your phone. If the cursor is left, follow the ADB command: adb shell am force-stop com.miui.miservice.
Can I remove the cursor without restarting?
Yeah, most of the time. OTG-Adapter and wait 10 seconds. Turn on/off aircraft mode (Settings) โ†’ SIM-maps and mobile networks โ†’ Plane mode. Follow the command. ADB: adb shell input keyevent 3 (imitation of the Home button").
There's no developer mode on the phone. How do I turn it on?
To activate the developer menu: Open Settings โ†’ About Phone. Find the MIUI Version and click on it 7 times in a row. Enter the pattern lock or password if you need it. Return to the main settings menu and a new Developer Section will appear. On some models (POCO), the path may be different: Settings โ†’ System โ†’ About Phone โ†’ MIUI Version.
After the MIUI update, the cursor appears on its own. How do I fix it?
This is a firmware bug. Solutions: Reverse to the previous version of MIUI via Fastboot (instructions on the official website). Install a beta version of the firmware (sometimes bugs are fixed there earlier), write in support of Xiaomi through the Mi Community app - if the bug is massive, a patch will be released.