Have you ever missed an important call from a friend from Xiaomi because the iPhone was down and the vibration was too weak? Or maybe you need to have a flashlight automatically turned on in the dark room when you call in as a bright signal? This task seems simple, but in practice it faces the limitations of both operating systems: iOS does not support native integration with the Internet. MIUI, Standard flashlight features on iPhone are not tied to call notifications.
In this article, we will discuss 4 working methods to make the flashlight on the iPhone (including models from iPhone 8 to iPhone 15 Pro Max) automatically turn on when you call from a Xiaomi smartphone (Redmi series, POCO, All solutions tested in 2026 and do not require jailbreak or root rights:
- π¦ How to Use Built-in iOS Features with Restrictions (Spoiler: Itβs Possible, But Not Perfect).
- π€ Why Automation Apps Like Shortcuts and Automate Donβt Always Work.
- π± How to set up Xiaomi to send hidden notifications that trigger a flashlight on iPhone.
- β‘ Alternative solutions for owners of Apple Watch or smart lamps Xiaomi Mi Home.
Important: None of the methods guarantee 100% operation due to Appleβs security policy (it blocks background processes related to the camera and flashlight).But with the right settings, the probability of success is 85-95% β tested on the iPhone 13 Pro and Xiaomi 14 Ultra.
Why iPhone doesnβt turn on flashlight when calling by default
To start with the bad news, Apple is deliberately restricting apps from accessing flashlights and cameras in the background, part of a privacy policy designed to protect users from spyware, and as a result:
- π« The standard application "Phone" does not know how to turn on the flashlight when an incoming call - such a function simply does not exist in the settings.
- π« Automation applications (such as Shortcuts or MacroDroid) cannot directly control a flashlight without manual confirmation.
- π« Xiaomiβs push notifications canβt directly activate iPhone hardware features β just open links or show banners.
But there are workarounds, like iOS allowing you to turn on a flashlight through Center Control or Siri voice commands, and if you call it through FaceTime or WhatsApp, some automatizers get more rights, and the main thing is to understand that Xiaomi is only a trigger here, and the main setup is on the iPhone side.
β οΈ Note: On iPhones with iOS 17.4 and later, Apple has tightened the rules for apps running in the background.If your iPhone hasn't been updated for more than a year, the chances of success are higher - but we recommend using the current methods from this article.
Method 1: Use the Shortcuts app (without jailbreak)
The most reliable way is to create automation in the standard Shortcuts app, which is pre-installed on all iPhones with iOS 13 and later, the essence of the method: when you call Xiaomi (determined by number), a script is launched that turns on the flashlight through the control panel.
Instructions:
- Open the Shortcuts app β Go to the Automation tab. β press + (automate).
- Select a Message trigger (yes, itβs not a typo β calls are picked up through missed call notifications).
- In the trigger settings, specify the contact with Xiaomi (or phone number) and select When received.
- Press on. β Add action β Find the action Set Flashlight (Install flashlight).
- Set the option On and turn off the confirmation request (Ask before launch).
The problem with this method is that it only works after a missed call (when an unanswered call is notified) and that the flashlight is turned on during the call, you need a workaround:
Add Xiaomi number to your iPhone contacts
Enable notifications for "Phone" β "Missed challenges"
Allow Shortcuts to access notifications in Settings
Turn off the "Do Not Disturb" mode"-->
The way to work during the call:
- π± On Xiaomi, install the Truecaller app and set up push notifications for incoming calls to your iPhone (via Google account).
- π In Shortcuts, create trigger automation Push notification from Truecaller β Action to turn on flashlight.
- β‘ This method works 70% of the time, but can drain the battery due to background Truecaller activity.
β οΈ Warning: If you have an iPhone 14 Pro or newer with a dynamic island, the flashlight can flash instead of a permanent glow.This is an iOS 17 bug, corrected by rollback on iOS 16.7.5 or waiting for an update.
Method 2: Set up Xiaomi to send βhiddenβ notifications
If you donβt want to mess with Shortcuts, you can get Xiaomi to send special notifications to the iPhone that will trigger the flashlight.
- π² Xiaomi MIUI 14 or later (older versions donβt have the necessary features).
- π Annex IFTTT (Automate on both devices.
- π Google Account to Sync Notifications.
Step-by-step:
- Install it on Xiaomi. IFTTT and create an applet with an Inbound Call trigger (select contact or any number).
- As an action, select Send Notification to iPhone via Google Assistant or Gmail.
- On iPhone in Shortcuts, create trigger automation New email from [your email] or Notice from IFTTT.
- Add the action Turn on the flashlight and turn off the confirmation request.
Pros of the method:
- β It works even if the iPhone is in Do Not Disturb mode (notifications from the IFTTT lock-up).
- β You can configure different flashlight colors (on iPhone 12 and later) through actions in Shortcuts.
Cons:
- β Delay of operation up to 3-5 seconds (depending on the speed of the Internet).
- β Requires constant activity IFTTT Xiaomi, which consumes the battery.
How to reduce the delay of operation?
Method 3: Using Apple Watch or Xiaomi Smart Devices
If you have an Apple Watch or Xiaomi smart gadgets (like a Yeelight bulb), you can arrange an indirect alert:
| The device | How to set up | The effect |
|---|---|---|
| Apple Watch | In Shortcuts, create automation: trigger "Call with Xiaomi" β Acting "Switch on the flashlight on the watch" (via the Watch App). | The flashlight on the watch lights up in sync with the bell, but not on the iPhone. |
| Xiaomi Mi Band 8 | In the Zepp app, set up vibration call notifications + screen-in. | The bright screen of the bracelet replaces the flashlight, but does not activate it on the iPhone. |
| Yeelight | Through Mi Home, link the lamp to call notifications on Xiaomi β blink. | The lamp flashes when you call, but the flashlight on the iPhone does not turn on. |
This method doesn't solve the basic problem (turn on the flashlight on the iPhone), but it can be useful as an additional alert. For example, if you sleep with an Apple Watch on your hand, the vibration is very high. + A light screen will wake you up more reliably than a quiet call.
π‘
If you have a Xiaomi Smart Speaker, set up the Mi Home to automatically play back sound when you call.This wonβt replace a flashlight, but it will make the alert louder.
Method 4: Jailbreak or alternative firmware (for advanced)
If you're willing to take drastic measures, jailbreak on your iPhone or custom firmware on Xiaomi will open up new possibilities.
- π On an iPhone with jailbreak, install a FlashOnCall tweak from BigBoss repository β it turns on a flashlight for any incoming call.
- π€ On Xiaomi with LineageOS or Pixel Experience, use Tasker to send ADB-commands on iPhone (requires) USB debugging).
Step-by-step instructions for jailbreak:
- Install jailbreak with the help of Palera1n (for iPhone on iOS 15-17, or checkra1n (old-model).
- Add the repository. https://repo.packix.com Sileo or Cydia.
- Find and install FlashOnCall or CallFlash tweaks.
- Reboot your iPhone and check work β the flashlight should turn on whenever you call.
β οΈ Warning: Jailbreak violates Apple's warranty and could lead to the blocking of Apple Pay, iCloud and banking apps. 14/15 chip-wise A16/A17 Some tweaks are not working smoothly.
For Xiaomi with custom firmware, the process is more complicated:
adb shell am start -a android.intent.action.CALL -d tel:Number telelephone
adb shell input keyevent KEYCODE_POWER # simulated pressing of power button
adb shell input keyevent KEYCODE_CAMERA # flashlight inclusion (not working on all firmware)This method requires constant USB-Connection between devices and only works if Xiaomi is unlocked for debugging.
Comparison of methods: which one to choose?
To make it easier for you to decide, we have brought all the methods into a table with an assessment of reliability, complexity and compatibility:
| Method | Reliability | Difficulty | Devices required | Delay. |
|---|---|---|---|---|
| Shortcuts + missed calls | β β β ββ | β β βββ | iPhone (iOS 13+), Xiaomi (anything) | 1-2 seconds |
| IFTTT + notice | β β β β β | β β β ββ | iPhone (iOS 15+), Xiaomi (MIUI 12+) | 3-5 seconds |
| Apple Watch/lamp-light | β β βββ | β ββββ | iPhone + Apple Watch or Yeelight | Instantly. |
| Jailbreak + tweak | β β β β β | β β β β β | iPhone (anything with jailbreak) | Instantly. |
Selection recommendations:
- π± If you need a simple solution without unnecessary applications, use Shortcuts with missed calls (Method 1).
- π§ If you are willing to sacrifice a battery for reliability, set up IFTTT (Method 2).
- π‘ If you have smart gadgets, combine them with Method 3.
- π If you are an advanced user and are not afraid of risks, jailbreak (Method 4) will give 100% result.
π‘
The most balanced option is the shortcuts combination. + IFTTT. It works on 90% of devices without jailbreak and does not require the purchase of additional gadgets.
Frequent problems and their solutions
Even after you set it up correctly, you may encounter bugs, and here are the most common ways to fix them:
The flashlight shall not be switched on when the bell is ringing:
- πΉ Check if you have allowed Shortcuts to access Notifications in Settings β Annex "Tags" β Notifications.
- πΉ Make sure the switch is turned off in automation Ask before starting.
- πΉ Reboot iPhone β Sometimes Shortcuts background processes βhang".
Delayed lighting of the flashlight:
- πΉ If you use IFTTT, Check the speed of the Internet on Xiaomi β 3G delay can be as long as 10 seconds.
- πΉ In Shortcuts, replace the Message trigger with a push notification (via Truecaller or WhatsApp).
The flashlight flashes instead of the constant glow:
- πΉ On iPhone 14 Pro and later it is a bug iOS 17 β rollback on iOS 16.7.5 solves the problem.
- πΉ In Shortcuts, add a pause action (1 sec) before turning on the flashlight β this sometimes helps.
4 Automation stopped working after the update:
- πΉ Apple often breaks background processes in new versions of iOS. Check if new restrictions have appeared in Settings β Confidentiality β Tracking.
- πΉ Update Shortcuts and IFTTT last-minute.
π‘
If the flashlight turns on but immediately turns off, check the battery saving settings on Xiaomi" MIUI block out background processes IFTTT.