Autoclicker on Xiaomi: the complete guide to setting up for games and automating tasks

Automating repetitive actions on Xiaomiโ€™s smartphone with an autoclicker can save you a lot of time โ€” whether itโ€™s mobile gaming, app testing, or imitating user activity. However, standard MIUI limitations and Android security policies often block such tools. In this guide, weโ€™ll look at legal ways to set up autoclicker on Xiaomi devices, including bypassing system restrictions, choosing optimal applications, and fine-tuning them for specific tasks.

Itโ€™s important to understand that using autoclickers in online games can violate the rules of services (such as Genshin Impact or PUBG Mobile).We focus on legitimate scenarios: automating routine operations, testing interfaces or creating macros for personal use. If your goal is cheating in games, be prepared for an account ban.

Technically, the autoclicker on Xiaomi can be implemented in two ways: through specialized applications (requires superuser rights or circumvents MIUI restrictions) or through built-in accessibility features (less functional, but does not require root).

๐Ÿ“Š Why would you want to use a Xiaomi autoclicker?
Automation of games (pharm, clicks)
Application testing
Imitation of activity in social networks
Other

1. Preparation of the device: unlocking the necessary functions

Before installing the autoclicker on Xiaomi, you need to prepare your smartphone to avoid blocking the application by the system.

  • ๐Ÿ”“ Allow installation from unknown sources: go to Settings โ†’ Applications โ†’ Special Rights โ†’ Installation from unknown sources and enable the option for the browser or file manager through which you will install APK.
  • ๐Ÿ›ก๏ธ Disable battery optimization for auto-clicker: Settings โ†’ Battery โ†’ Battery Optimization โ†’ Find the auto-clicker app and select "No Limits."
  • ๐Ÿ“ฑ Activate Developer Mode: Go to Settings โ†’ About Phone and 7 times click on Version MIUI. Then to Settings โ†’ Additional โ†’ For Developers, turn on Debugging on USB and Don't Turn Off the Screen While Charging (Useful for Long Sessions).

On devices with MIUI 12+, additional permission to use accessibility services may be required, which is necessary for most auto-clickers to work, as they simulate clicks through Accessibility Service.

  1. Go to Settings โ†’ Special features โ†’ Accessibility Services.
  2. Find the autoclicker app in the list and activate the switch.
  3. Confirm the permission in the pop-up window.

โš ๏ธ Warning: Some Xiaomi models (e.g., Redmi Note 10 Pro or POCO X3 Pro) block accessibility services for third-party applications, in which case you will need to use ADB- commands for forced permission.

Not all autoclickers work equally well on Xiaomi, and we tested 5 popular solutions and compiled a comparison table with MIUI compatibility and functionality in mind:

AnnexDemands a Root.It's working on MIUI 14.Support for macrosBlocking the gameDifficulty setting up
Auto Clicker - Automatic TapโŒ No.โœ… Yes. ADB)โœ… Yes.โš ๏ธ Mediumโ˜…โ˜…โ˜†โ˜†โ˜†
Tap, Auto ClickerโŒ No.โœ… Yes.โŒ No.โš ๏ธ Low.โ˜…โ˜†โ˜†โ˜†โ˜†
MacroDroidโŒ No.โœ… Yes.โœ… Yes (advanced)โŒ Low.โ˜…โ˜…โ˜…โ˜…โ˜†
TaskerโŒ No.โœ… Yes (with plugins)โœ… Yes (flexible)โŒ Low.โ˜…โ˜…โ˜…โ˜…โ˜…
AutoInput (Tasker plugin)โŒ No.โœ… Yes.โœ… Yes.โš ๏ธ Mediumโ˜…โ˜…โ˜…โ˜†โ˜†

For most Xiaomi users, MacroDroid is the best choice โ€“ it does not require root rights, has an intuitive interface and is able to bypass some of the limitations of MIUI. If you need advanced macros, pay attention to Tasker + AutoInput, but be prepared for a more complex setup.

Important: Apps like Auto Clicker - Automatic Tap can require permission through ADB even on non--root- devices, without which they will not be able to simulate clicks in games.

3. autoclicker setup via ADB (no root)

If the selected application (e.g. Auto Clicker) does not get access services rights due to MIUI restrictions, you will need to use ADB- commands. This method works on all Xiaomi devices without the need for root rights.

Step-by-step:

  1. Install ADB- Drivers on PC: Download Platform Tools from the official Android website. Unpack the archive to the root of the C:\platform-tools drive.

Connect your smartphone

USB debugging

Launch the command line

platform-tools

Execute the command

adb shell pm grant com.autocliquer.package android.permission.WRITE_SECURE_SETTINGS

Replace the com.autocliker.packet with a real application package (e.g. com.truedeveloper.autoclicker for Auto Clicker - Automatic Tap).

Reboot your smartphone

Download Platform Tools|Included debugging on USB|Connected phone to PC|Confirmed name of autoclicker package |Run command line on behalf of administrator-->

โš ๏ธ Warning: Once the MIUI update is updated, permissions through ADB may reset. Repeat the procedure after each major system update. Some games (such as Honor of Kings) block clicks from accessibility services, in which case root will help.

4. Creating and customizing click-based scripts

After installing and unlocking the autoclicker, you need to configure click-through scenarios. Let's take a look at the process using MacroDroid:

Step 1: Creating a new macro

  • ๐Ÿ“ฑ Open MacroDroid and press + โ†’ Add macro.
  • ๐ŸŽฏ In the Triggers section, select Screen On or Application Launched (specify your target game/application).

Step 2: Set up actions (clicks)

  • ๐Ÿ–ฑ๏ธ In the Actions section, select "Tap Screen".
  • ๐Ÿ“ Specify the click coordinates (can be determined using the built-in Select Point tool).
  • โฑ๏ธ Set the delay between clicks (e.g., 1,000 ms to simulate human behavior).

Step 3: Terms of Execution (optional)

  • ๐Ÿ”„ In the Restrictions section, add the "Application in the Foreground" condition to prevent clicks outside the game.
  • ๐Ÿ›‘ Add the condition "Battery charge > 20%" to avoid discharge during the pharma.
How do you determine the coordinates of a click?
Open the MacroDroid tool "Select a point" (target icon). The screen will appear grid with coordinates. Click on the desired place - the values of X and Y will automatically be saved to macro. To be accurate, repeat the procedure 2-3 times and average the values.

To automate complex sequences (e.g., dialogs in a game), use the following action chains:

  1. Add the first action (click).
  2. Press + โ†’ add delay (Wait) for 1-2 seconds.
  3. Add a second click, etc.

๐Ÿ’ก

For games with a dynamic interface (for example, AFK Arena), use not absolute coordinates, but pixel color binding. In MacroDroid, this is implemented through the action โ€œIf Pixel Colorโ€.

5. Optimization for Games: Bypassing Anticheats

Many mobile games (such as Free Fire or Call of Duty Mobile) actively fight autoclickers by blocking clicks from accessibility services, to reduce the risk of detection:

  • ๐ŸŽฎ Use random delays: instead of a fixed interval (like 1,000 ms), set the range (800-1,200 ms) to mimic human behavior.
  • ๐Ÿ”„ Limit your running time: set the macro to run for no more than 30 to 60 minutes in a row, then add a pause for 5 to 10 minutes.
  • ๐Ÿ“ต Turn off the internet during the pharma (if the game allows offline mode) and this will reduce the chances of detection by server anticheats.
  • ๐Ÿ–ผ๏ธ Change the screen resolution: some anticheaters analyze the resolution. Try setting a non-standard value (e.g., 1600ร—900 instead of 1920ร—1080).

For games with Easy Anti-Cheat protection (such as Diablo Immortal) or BattlEye (some PUBG Mobile modes), accessibility service-based autoclickers do not work.

  • ๐Ÿ”ง Use an Android emulator (e.g., BlueStacks or LDPlayer) with keyboard-based clicks.
  • ๐Ÿค– Install root and use autoclickers at the core level (e.g., AutoInput with Magisk module).

โš ๏ธ Warning: In games with Tencent Protective Shield (e.g., Honor of Kings), even root autoclubs can lead to instant bans. Before using, check for relevant reviews on forums (e.g., 4PDA or XDA-Developers).

Automation without root: alternative methods

If getting root rights or using ADB seems difficult, consider alternative automation options on Xiaomi:

  • ๐Ÿค– Google Assistant + voice commands: Configure voice triggers to run macros (works with Tasker).
  • ๐Ÿ“ฑ Built-in functions MIUI: Use Settings โ†’ Additional โ†’ Menu button to assign gesture actions. Activate Settings โ†’ Screen โ†’ Autopivot to automate screen rotations.
  • ๐Ÿ–ฅ๏ธ Remote Control: Connect your smartphone to your PC via TeamViewer or Scrcpy and use autoclickers for Windows (e.g., OP Auto Clicker).

For simple tasks (for example, automatic scrolling of tape in TikTok) the built-in scripting engine MIUI is suitable:

  1. Go to Settings โ†’ About Phone โ†’ MIUI version (click 7 times to activate the developer mode).
  2. Return to Settings โ†’ Additional โ†’ For Developers โ†’ Quick Teams.
  3. Create a new command with the action "Push the screen" and save.

๐Ÿ’ก

The built-in MIUI tools are limited in functionality, but do not require additional permissions and are not blocked by games.

7 Problem Solving: Why Autocliquer Doesn't Work

If the autoclicker refuses to click, check the following points:

Problem.Possible causeDecision
Clicks are not recordedBlocking accessibility servicesRepeat unlocking through ADB (Section 3)
Auto-cliquer's out.Optimizing the batteryDisable optimization for the application (section 1)
Clicks are not working accuratelyWrong coordinates.Recalibrate the click points in macro settings
The game blocks clicksAntichit found the autocleanerUse occasional delays and limit work hours
Autoclicker doesn't startAn outdated version of MIUIUpdate your firmware or use a different version of the app

If the problem persists, check the error log through ADB Logcat:

adb logcat | findstr "autocliquer"

Replace the "autocliker" with the name of your application package, and the log may show permission errors or conflicts with other services.

FAQ: Frequent questions about autoclickers on Xiaomi

Can I use an autoclicker on Xiaomi without root?
Yes, most autoclickers (e.g. MacroDroid or Auto Clicker) do not require root rights. However, to circumvent the limitations of MIUI, you may need to unlock through ADB (see 3 section).
Which autoclicker is best for pharma in Genshin Impact?
For Genshin Impact, MacroDroid will suit with an adjustment of random delays (1000-1500 ms) and a session limit to 40 minutes. Important: Turn off character clicks during combat (use only for resource collection). Do not use the autoclicker in cooperative modes - this is a guaranteed ban. Periodically change the click coordinates, as the game updates the protection.
Will the ban in PUBG Mobile for auto-clicker?
PUBG Mobile actively blocks autoclickers through the BattlEye system. Risks: โŒ 100% ban when used in ranking matches. โš ๏ธ 50% ban in training modes (if clicks are too frequent). โœ… Low risk in offline modes (e.g., target shooting).
How to hide the autoclicker from anticheats?
It is impossible to completely hide the autoclicker from modern anticheats (for example, Tencent Protective Shield), but you can reduce the chances of detection: Use random delays between clicks (range 20-30% of the average); Limit sessions to 20-30 minutes with pauses for 5-10 minutes; Do not use the autoclicker in rating matches or award events; Turn off the Internet during pharmacy (if the game allows).
Can I set up an autoclicker on POCO F3?
On POCO F3 (as with other Xiaomi devices with MIUI 12+), the autoclicker is set up in the standard way, but there are nuances: Due to aggressive battery optimization, the application may close. Add it to exceptions (Settings โ†’ Battery โ†’ Battery Optimization). For clicks in games, you will need ADB- resolution (Section 3). On POCO F3 with MIUI 13, the pixel color binding may not work โ€“ use coordinates.