Turn off Gemini on the power button in Xiaomi HyperOS

How to Turn Off Gemini on the Power Button in HyperOS (Xiaomi, Redmi, POCO), and Use Gemini Instead of Xiao AI on China ROM

Last updated: November 30, 2026. Short answer: on Global, EEA and Indian HyperOS, holding the power button for half a second opens Gemini (or Google Assistant). To get the power-off menu back, go to Settings → Additional settings → Gesture shortcuts → Launch digital assistant (called Launch Google Assistant on some phones) and turn off Press and hold the Power button for 0.5s. On newer builds the same menu is under Settings → Accessibility → General → Gesture shortcuts. On a China ROM, the power button opens Super Xiao AI instead, and you turn it off in Settings → Xiaomi HyperAI → Super Xiao AI → Wake methods. There is no built-in way to put Gemini on the power button of a China ROM. It takes a root module such as GeminiMi or PowerGemini, covered below.

Global, EEA and India ROM: turn off Gemini on the power button

Xiaomi documents this in its support page “How to deactivate the Google Assistant pop-up window when pressing and holding the power button“. The steps are the same on Xiaomi, Redmi and POCO phones with HyperOS 2, 3 and 4:

  1. Open Settings → Additional settings → Gesture shortcuts. If you don’t see it there, open Settings → Accessibility → General → Gesture shortcuts, or type “Gesture shortcuts” in the Settings search bar.
  2. Tap Launch digital assistant (on older builds Launch Google Assistant).
  3. Turn off Press and hold the Power button for 0.5s.

Now a long press of the power button opens the power-off and restart menu again. Gemini is still available with “Hey Google”, from the Gemini app, or from another gesture in the same menu, such as a long press on the gesture bar. Xiaomi recommends keeping one of those set up.

A POCO F7 Pro owner describes the same thing from the other side: under Gesture shortcuts → Turn off you can choose how the power button opens the power menu, for example Press and hold the Power button for 3s (r/CelularesBR). Xiaomi’s Community team gives the same two options, 0.5 s or 3 s, for phones that won’t turn off with the power key (HyperOS Weekly Bug Report Vol-201). This lets you keep Gemini on a short press and the power menu on a longer one.

Can’t turn the phone off right now?

Change the setting above, which takes ten seconds. If the phone is frozen and the screen doesn’t respond, keep holding the power button for about 10–15 seconds to force a restart.

Switch the power button between Gemini and Google Assistant

The power button opens whichever assistant Google has set as default. To pick one (Xiaomi support):

  • Gemini: Settings → Google → All services → Search, Assistant & Voice → Google Assistant → Digital assistants from Google → Gemini.
  • Back to Google Assistant: in the Gemini app, tap your profile picture → Switch to Google Assistant. Google is replacing Assistant with Gemini on most phones, so this option may already be missing on yours.

To make the power button open Gemini again, turn Press and hold the Power button for 0.5s back on in Gesture shortcuts → Launch digital assistant (Xiaomi support, Xiaomi 14T). If Gemini says it isn’t available in your country, see our guide to activating Gemini on Xiaomi.

China ROM: turn off Super Xiao AI on the power button

On Chinese Xiaomi, Redmi and POCO phones (CNXM builds), holding the power button opens Super Xiao AI (超级小爱). To get the power menu back:

  1. Open Settings → Xiaomi HyperAI → Super Xiao AI (设置 → 小米澎湃AI → 超级小爱).
  2. Tap Wake methods (唤醒方式) and turn off Power button (电源键唤醒). This menu exists on HyperOS 3 (9ji HyperOS 3 tips), and the HyperOS 4 modules below switch the same option off.
  3. If the power menu still doesn’t appear, go to Settings → Additional settings → Gesture shortcuts → Power off & restart (更多设置 → 快捷手势 → 关机与重启) and turn the long press back on. This is the place Xiaomi pointed to when it made the power button Xiao AI-only in a HyperOS 2 beta for the Xiaomi 15 (CNMO). On some newer builds it sits under Accessibility (SMZDM).

China ROM: put Gemini on the power button

First, Google Play services, the Google app and Gemini must already work on the phone. Gemini has to open, sign in and answer. If push notifications from Google apps are late, fix that first with FCM Guard.

Without root it doesn’t really work. On a China ROM, the power button long press is handled by Xiaomi’s own code, not by Android’s “default assistant” setting. Even with Google set as the default assistant, the button still opens Xiao AI, and HyperOS resets the assistant settings to Xiao AI after a reboot (the GeminiMi developer found this). Still worth doing: set Google in Settings → Apps → three-dot menu → Default apps → Voice assistant and in Assist & voice input → Digital assistant app. Then a long press on the gesture bar can open Gemini. Third-party “AI key” apps without root, such as Circle Bar on Google Play, try to catch Xiao AI opening and launch Gemini instead. In Circle Bar this needs the paid Pro version, and we haven’t tested it.

With root, these modules replace Xiao AI on the power button. All of them were published by Chinese developers on GitHub in 2026:

ModuleTypeWhat it doesTested on
GeminiMi 1.1.2 (Sept 25, 2026)LSPosedHold power for 3 s → Gemini overlay, keep holding to 5 s → power menu. Stops Xiao AI from taking the button back, sets Google as the assistant and restores it after HyperOS resets it at bootChina HyperOS, Android 11+. The most used option, about 1,000 downloads of the latest version
PowerGemini 2.4.1 (Nov 15, 2026)LSPosedBased on GeminiMi. Hold time adjustable from 0.3 to 3 s (default 0.5 s), power menu at 5 s, works on the lock screen, switch for sending screen content to Gemini, self-check pageChina HyperOS 4
Gemini For HyperOS4 1.0.0 (Sept 5, 2026)LSPosed (API 102)Power button → Gemini overlay after 0.5 s, power menu after 3 s. Long press on the gesture bar → Circle to SearchChina HyperOS 4, Android 17
HyperOS Power Button Gemini 1.2.0 (Sept 18, 2026)KernelSU Next module, no LSPosedSets Google as the assistant and maps the power button long press to it, without patching system appsRedmi K90, China HyperOS 3

How to install an LSPosed module (GeminiMi and PowerGemini, from their READMEs):

  1. Install and open the Google app and Gemini at least once. Choose Gemini in Google’s Digital assistants from Google setting.
  2. In Default apps → Assist & voice input, set the default assistant to Google.
  3. Install the module APK and enable it in LSPosed. Tick the scope: System Framework (android), Super Xiao AI (com.miui.voiceassist), the Google app (com.google.android.googlequicksearchbox) and Gemini (com.google.android.apps.bard).
  4. Reboot, unlock the phone and hold the power button.
  5. If nothing happens, run adb logcat -d and search for GeminiMi or PowerGemini. GeminiMi’s README warns that new HyperOS versions rename the system methods it hooks, so a system update can break it until the developer adapts it.

Use only one of these modules at a time. They all hook the same power button code. For root and LSPosed setup on HyperOS, see our root comparison, Vector (LSPosed successor) and our LSPosed modules for HyperOS 4 list.

FAQ

How do I stop Gemini from opening when I hold the power button on Xiaomi?

Go to Settings → Additional settings (or Accessibility → General) → Gesture shortcuts → Launch digital assistant and turn off “Press and hold the Power button for 0.5s”. The power button then opens the power menu again.

How do I turn off my Redmi or POCO phone if the power button opens Gemini?

Turn off “Press and hold the Power button for 0.5s” in Gesture shortcuts → Launch digital assistant, or choose a 3-second hold for the power menu in Gesture shortcuts → Turn off. If the phone is frozen, holding the button for 10–15 seconds forces a restart.

Does this work on HyperOS 4?

Yes. The Gesture shortcuts menu is the same on HyperOS 2, 3 and 4. Its location (Additional settings or Accessibility) depends on the build, so use the Settings search if you can’t find it.

Can I disable Gemini completely?

You can switch back to Google Assistant where Google still allows it, or turn off the power button shortcut and “Hey Google”. If the Gemini app was installed from Google Play, you can also uninstall it in Settings → Apps.

Why does my China ROM phone open Xiao AI even after I set Google as the default assistant?

On China ROMs the power button long press is handled by Xiaomi’s own code, and HyperOS resets the assistant to Xiao AI after a reboot. Only root modules such as GeminiMi or PowerGemini change that.

Will a HyperOS update break GeminiMi or PowerGemini?

It can. These modules hook HyperOS system methods whose names change between versions. Check the developer’s GitHub for a new version before installing a big update.

Sources: Xiaomi support FAQ KA-492679, KA-508106 and KA-539321; Xiaomi Community HyperOS Weekly Bug Report Vol-201; r/CelularesBR (POCO F7 Pro, 2026); 9ji “Xiaomi tips for HyperOS 3”; CNMO on the Xiaomi 15 HyperOS 2 beta (August 2025); SMZDM “power button only wakes AI” (2026); READMEs and releases of SherlockChiang/Gemini-mi (Xposed-Modules-Repo/com.vince.geminimi), IamMapleZeng/PowerGemini, fulu2778/Gemini-For-HyperOS4 and sajidifti/hyperos-power-button-gemini; Circle Bar listing on Google Play (November 2026).

Xiaomi firmware & news on Telegram

New firmware, HyperOS 4 rollout updates, guides and Xiaomi news, all in one channel.

Join @xiaomifirmware_news