Xiaomi Support Thread

What happens if you then receive a second call?
I have to options:
1. I only run this macro and for the for the second call the phone rings;
2. I have a second macro that puts the phone back on vibrate only after the call ends.

I want to use the second macro. The first is usless if I have to put the phone back on silent after each call
 

Pseudocyclic

Well-known member
I think you can expect that you cannot change the status of the device with respect to an incoming call after that incoming call has already begun.
 

AlexRet

New member
Привет
Планирую купить Note 10 pro, Android 11, с MIUI 12.5, думаю.
Кто-нибудь может подтвердить, что MD работает?
У меня Note 10s работает отлично
 

krzygaj

New member
Hi, I'm on MIUI 12.5.6 stable - MI9 - and i can't get incoming sms trigger get to work - have you got any solution?
Macrodroid doesnt start any action...
 

Pseudocyclic

Well-known member
Hi, I'm on MIUI 12.5.6 stable - MI9 - and i can't get incoming sms trigger get to work - have you got any solution?
Macrodroid doesnt start any action...

Have you tried toggling the Monitor Inbox setting in Settings -- Trigger Options -- SMS Received?
 

krzygaj

New member
Have you tried toggling the Monitor Inbox setting in Settings -- Trigger Options -- SMS Received?
Yes i did this during trigger configuration
IMG_20220208_081905.jpg
Incoming sms has text - "Test alarm". After this sms comes i want to clear notifications.
I also granted Macrodroid permission to read SMS - my phone is rooted

SOLVED - had to add timeout (ex 5s) before clearing notification
 
Last edited:

lakispy

New member
Hello. The application loses access to read notifications after a few days (from 1 to a week). But in the access setting it is displayed as if everything is fine and there is access. Switching off and on again restores access.
miui 12 android 11. I also note that the notification log does not open on the phone. On another phone, 10 android 12 miui, everything is fine and there has never been such a problem and the notification log opens. How can i fix it?
 

FrameXX

Well-known member
Hello. The application loses access to read notifications after a few days (from 1 to a week). But in the access setting it is displayed as if everything is fine and there is access. Switching off and on again restores access.
miui 12 android 11. I also note that the notification log does not open on the phone. On another phone, 10 android 12 miui, everything is fine and there has never been such a problem and the notification log opens. How can i fix it?

This is just standart Xiaomi MIUI behaviour. It kills notification listener service in background. The best you can do is disable all battery optimizations as described on https://www.dontkillmyapp.com.
 

Alan 643228485

New member
I have an Xiaomi Redmi note 10, a couple of days ago it updated to MIUI 13 / Android 12.

Now I've noticed that it disables WiFi overnight if it's not in use.
It seems that between 2300hrs & 0600hrs, when I lock the screen it disables WiFi about 20 minutes later.
A real pain as I have a couple of Apps that monitor devices on my LAN, so I want the WiFi kept alive.
Can't find anything anywhere in Settings that might switch this behaviour off.

Not really a Macrodroid issue, I only mention it because I wrote a simple macro that triggers on WiFi disabled between 2300hrs & 0600hrs and immediately enables it again 😁
 

Vinod

New member
SURPRISED ME WITH AN UNUSUAL FINDING
on Xiaomi Phone

Model : Redmi 9 Power
OS : MIUI v12.5.7 (Android-11)

Finding Status:
1. There is a boost function when invoked, it clears cache & cleans memory.
2. Three Notification arrives for MacroDroid to allow accessibility permission.
3. On checking accessibility settings it indicates that all MacroDroid accessibility are not working.

Now what I did..
1. Clicked all accessibility one by one and disabled
2. Back to home screen
3. Pressed power button and kept pressed until power off & phone reboots
4. Released power button as phone rebooted
5. Checked accessibility settings & to my surprise all accessibility of MacroDroid is working/enabled as normally needed

Request @MacroDroidDev if you can shed some light, as to what might have happened..!
 
when i was using lineage os 17.1 A10,macrodroid was working flawlessly, buf recently i switched to miui 11 oreo, and restored my macros, on miui 11,the gps turned on randomly, i wonder why
 

Xavisera

New member
MacroDroid works the very best on rooted devices so you'll need one with an unlocked bootloader and that can be rooted, also it has a variety of custom ROMs available. However, custom skins like MIUI are known for being problematic with MacroDroid
I'm using MD in my redmi note 8 pro, miui 12.5.8 global with Android 11...and works perfectly.
 

Alberto_

New member
Hi, i'm using a Xiaomi 11t pro with MIUI 13. I just gave the following permissions to macrodroid via adb
shell pm grant com.arlosoft.macrodroid android.permission.WRITE_SECURE_SETTINGS
adb shell pm grant com.arlosoft.macrodroid android.permission.CHANGE_CONFIGURATION

adb shell pm grant com.arlosoft.macrodroid android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER

But I still can get the following macro (attached file) to work when the screen is off. I just want to chage to next/previous song with volume Button long press but it doesnt work with screen off. Only with screen on or locked. It doesnt Even register anything in the system log. I would really appreciate your help with this problem. Thanks.
 

Attachments

  • Screenshot_2022-08-22-10-28-13-140_com.arlosoft.macrodroid.jpg
    Screenshot_2022-08-22-10-28-13-140_com.arlosoft.macrodroid.jpg
    566.5 KB · Views: 5

Endercraft

Moderator (& bug finder :D)
There's another trigger : Volume button pressed - > Use Accessibility services - > Volume Up (or down) - Long press. It should work with screen off.
 

Pseudocyclic

Well-known member
Hi, i'm using a Xiaomi 11t pro with MIUI 13. I just gave the following permissions to macrodroid via adb
shell pm grant com.arlosoft.macrodroid android.permission.WRITE_SECURE_SETTINGS
adb shell pm grant com.arlosoft.macrodroid android.permission.CHANGE_CONFIGURATION

adb shell pm grant com.arlosoft.macrodroid android.permission.SET_VOLUME_KEY_LONG_PRESS_LISTENER

But I still can get the following macro (attached file) to work when the screen is off. I just want to chage to next/previous song with volume Button long press but it doesnt work with screen off. Only with screen on or locked. It doesnt Even register anything in the system log. I would really appreciate your help with this problem. Thanks.
Do the volume buttons work normally (ie as volume buttons) when screen is off?
 
Top