Macrodroid app crashing after update Samsung Galaxy S22 Ultra

FazJan

New member
Device: Samsung Galaxy S22 Ultra
Root: Non-rooted
Software: S908EXXS2AVI7 / S908EOXM2AVH9 / S908EXXU2AVH9
Dated: 1 October 2022 Patch

After the update above (Auto), Macrodroid crashed for every macros and the app won't open. Is there a fix? I intend to uninstall and reinstall but I did not cloud backup my macros.
 

Endercraft

Moderator (& bug finder :D)
Try rebooting, opening Macrodroid very fast and disabling it. That should prevent any macros from running if that's the problem. After, from what I know this issue happens on some devices. These issues are also one of the reasons cloud backups were implemented I believe.
 

FazJan

New member
The application crashed. I've installed MD helper too but same outcome. I should have not turned on the auto update.. sigh..
 

Endercraft

Moderator (& bug finder :D)
Most MacroDroid crashes caused by opening the app are caused by updates. You can send a mail at support@macrodroid.com and maybe he will be able to see the log of your crash in his crash logs, but I doubt you will be able to recover your macros without root.
 

MacroDroidDev

Administrator
Staff member
You can boot into safe mode on your phone (Google if you don't know how) to stop MacroDroid auto starting after a reboot. If you can launch MacroDroid and turn it off before the macro crashes you can backup your macros at this point (and also use the report a bug feature in the troubleshooting section).

I will take a look for crashes on S22 Ultras in my crash logs and see if I can find your crashes.
 

Endercraft

Moderator (& bug finder :D)
From what I have seen you can uninstall Macrodroid using
pm uninstall -k --user 0 com.arlosoft.macrodroid
and then re install it without losing data using
adb shellpm install-existing com.arlosoft.macrodroid
although I'm not sure it will work. You will need ADB to do that. (I might be wrong)
 

Dimlos

Well-known member
Please wait for the uninstall command, X-plore File Manager can access AutoBackup folders that are normally inaccessible.
If you copy the .mdr file to a normally accessible folder such as Download, you should be able to rescue the macro.
 

Attachments

  • AutoBackup.jpg
    AutoBackup.jpg
    598.9 KB · Views: 5

Endercraft

Moderator (& bug finder :D)
Please wait for the uninstall command, X-plore File Manager can access AutoBackup folders that are normally inaccessible.
If you copy the .mdr file to a normally accessible folder such as Download, you should be able to rescue the macro.
Ah yes, you can do that but to me you can use any file explorer to do that. But if you have disabled auto backup then you can't use this method.
 

Dimlos

Well-known member
Since Android 11, access to data folders is restricted and stock apps and other applications deny access in this manner.
Any supported filer will do.
 

Attachments

  • No_files.jpg
    No_files.jpg
    192.2 KB · Views: 3

FazJan

New member
I have since did a quick uninstall and reinstall of the app and it is working fine again. The crash happens right after the software update. I guess, fortunately the macros are still there locally and there is a cloud saved. Thanks!
 

Endercraft

Moderator (& bug finder :D)
@FazJan do you remember how this happened exactly (behaviors, type of macros used) ?
I'm trying to replicate the issue to test a script that will recover the app completely without data loss.
 
Top