r/androidroot • • 7h ago

Support Disable security updates using root

Any way to disable security updates using temp root on one ui 9? Dont wanna accidentally update and lose it

2 Upvotes

5 comments sorted by

2

u/UshieKane 7h ago

You don't need root to disable updates

Nonetheless here you go

adb shell pm disable-user --user 0 com.sec.android.soagent adb shell pm disable-user --user 0 com.wssyncmldm adb shell pm disable-user --user 0 com.samsung.sdm adb shell pm disable-user --user 0 com.samsung.sdm.sdmviewer adb shell pm disable-user --user 0 com.ws.dm adb shell pm disable-user --user 0 com.samsung.android.sdm.config adb shell pm disable-user --user 0 com.android.dynsystem

Ignore the error out if package doesn't exist.

If you ever want to re-enable updates, just run adb install-existing on the same package names

1

u/No_Order8720 6h ago

Ok. Thank u

5

u/klausAnalSchwab 7h ago

Disable system updates with canta and shizuku?

1

u/sok100 7h ago

You can just disable in developer options, if you want the notification gone as well delete system updater.

1

u/env33e 6h ago edited 4h ago

having root (or temp root, as long as you inject the proper SELinux contexts in that session) allows one to (via lsposed framework) hook the specific updater or system services at runtime, intercepting only the update checks or job schedules we want off, dynamically, without breaking unrelated features that disabling the whole package or permission via ADB or Shizuku would outright cripple

​since youre on temp root though, runtime hooks alone wont hold across reboots before you re-run your exploit, so you still want a hard persistent block on the dedicated updater daemons.

​im not daily driving a root samsung phone right now, but from a cursory glance on the lsposed repo, these look like the ones you want:

​pair

​OneUI-Settings-Hook Lsposed module (which hooks Settings to disable com.wssyncmldm and com.sec.android.soagent at runtime)

​with

​something like App Manager or Termux script runner (using root/Shizuku to revoke RECEIVE_BOOT_COMPLETED and freeze those dedicated FOTA daemons via pm disable-user so they stay frozen persistently across reboots)

​freezing those two updater packages via pm disable-user is CRITICAL so Samsung cannot download an update and patch that CVE without your direct consent, or trigger a reboot before you re-run your exploit on the next boot

there might be more you have to target on your specific phone, so just keep that in mind and look out for anything new