Macrodroid can't stop services that run under the app (without UI Interaction)?

aitn

Member
I got the following phone:

Moto G Pure | 2021 | 2-Day battery | Unlocked | Made for US by Motorola | 3/32GB | 13MP Camera | Deep Indigo

https://www.amazon.com/gp/product/B09BTB5MKT/

The phone charger port is usb c. It has an Android 11 installed.

I followed the guide on reddit titled “Found a way to disable OTA Updates on Android 11 Motorolas.”

https://www.reddit.com/r/MotoG/comments/zk4m5b
The last step mentions that:

“Now, reboot the device.

Here's the caveat of this approach - We can disable run in background permissions, but cannot control the BOOT_COMPLETED intent. This means the two apps still auto-start on each boot after receiving the boot complete signal.

Workaround you need to do on every reboot of the device:

Go to Settings -> System -> Advanced -> Developer Options -> Running Services

Select Software Update. You'll see two processes: OTA Service, and FOTA Controller. Hit stop on both of them, one by one. The Android system will then kill both processes. Due to the RUN_IN_BACKGROUND deny restriction, the Software Update app will stay down until the next reboot as Android will not allow it to restart.

Your Running Services screen should now look like this:

I'm trying this template and adapt it to Motorola services: https://www.macrodroidlink.com/macrostore?id=3311

So the two are:

com.motorola.ccc.ota

com.motorola.android.fota

That’s probably the two that I need to manually stop under running services each reboot.

I loop through an array variable to execute this template for each one. This is my list:

com.motorola.ccc.ota

com.motorola.android.fota

com.motorola.ccc

After it stops all 3 (I think some overlap or the same thing)
The screenshot is what I see when I still see Motorola Software Update under running services:

https://ibb.co/58zKnC8

But only when I click manually stop for OtaService and FotaController that’s when Motorola Software Update disappears from running services. So I don’t think the technique provided in the template is stopping/killing these services that run under this hosting app for these services that’s why I'm asking if there is another way to kill/stop services inside the app - Maybe need to obtain the full name of package name + path to service somehow and/or use alternative ways?
 

aitn

Member
I want to point out I've tried to explain so much to this user and they just need to use ADB commands to disable the packages they've found, they don't need to do this at every device boot.

https://www.reddit.com/r/macrodroid/comments/13tuaaj
What’s the full adb command? What’s UAD frontend?
What are the plugins, got an example? Sorry dude it’s the third time but I think you struggle to help me solving this issue... It might be too difficult even for an expert like you.

No, some services can’t be fully disabled with adb at boot please read the original post:

https://www.reddit.com/r/MotoG/comments/zk4m5b
 

Jacob L

Moderator (Lawsonator)

aitn

Member
The first link it’s failing:

pm disable-user --user 0 com.motorola.ccc.ota

Failure: package is non-disable

pm disable-user --user 0 com.motorola.android.fota

Failure: package is non-disable

second link requires tasker for the plugin? it’s not a macrodroid plugin?

third link requires root according to the description
 

Jacob L

Moderator (Lawsonator)
The first link it’s failing:

pm disable-user --user 0 com.motorola.ccc.ota

Failure: package is non-disable

pm disable-user --user 0 com.motorola.android.fota

Failure: package is non-disable

second link requires tasker for the plugin? it’s not a macrodroid plugin?

third link requires root according to the description
Sorry I was harsh last night.

Some apps are immune from being disabled, I don't fully know why and there's no fix apart from to try and uninstall with the guides which may not work.

Any plugin compatible with Tasker is compatible with MacroDroid so you've got 100s of extra features if you ever want them. There's an action called plugin, in MacroDroid which shows all the apps that you have which are plugins - this applies to triggers and constraints too!
 

aitn

Member
Sorry I was harsh last night.

Some apps are immune from being disabled, I don't fully know why and there's no fix apart from to try and uninstall with the guides which may not work.

Any plugin compatible with Tasker is compatible with MacroDroid so you've got 100s of extra features if you ever want them. There's an action called plugin, in MacroDroid which shows all the apps that you have which are plugins - this applies to triggers and constraints too!
Maybe the link you gave for stopping the service through adb is an option but connecting to adb is not always reliable by itself.
 

Jacob L

Moderator (Lawsonator)
No, is there any pro feature you would recommend to use in this case?
Auto backups, use of arrays, no ads and more than 5 macros. I'm just about to book some pro codes and because of how I was last night, I'm going to give you pro first if you want it.
 
Top