# SAMSUNG GALAXY - Bloqueio OTA maximo seguro (7 camadas)

# Galaxy A, M, S, F - One UI 5/6/7

shell pm enable --user 0 com.android.vending

shell pm disable-user --user 0 com.wssyncmldm

shell pm disable-user --user 0 com.sec.android.soagent

shell pm disable-user --user 0 com.samsung.sdm

shell pm disable-user --user 0 com.samsung.android.fota

shell pm disable-user --user 0 com.samsung.android.app.updatecenter

shell pm disable-user --user 0 com.samsung.android.sdm.config

shell cmd package suspend com.wssyncmldm

shell cmd package suspend com.sec.android.soagent

shell cmd package suspend com.samsung.sdm

shell cmd package suspend com.samsung.android.fota

shell settings put global software_updates_enabled 0

shell settings put secure system_update_automatic 0

shell settings put global auto_sw_update 0

shell settings put global badge_for_fota 0

shell settings put secure ota_disable_automatic_update 1

shell am force-stop com.wssyncmldm

shell am force-stop com.sec.android.soagent

shell am force-stop com.samsung.sdm

shell am force-stop com.samsung.android.fota

shell am force-stop com.samsung.android.app.updatecenter

shell am kill com.wssyncmldm

shell am kill com.sec.android.soagent

shell cmd appops set com.wssyncmldm RUN_IN_BACKGROUND deny

shell cmd appops set com.wssyncmldm RUN_ANY_IN_BACKGROUND deny

shell cmd appops set com.wssyncmldm WAKE_LOCK deny

shell cmd appops set com.wssyncmldm POST_NOTIFICATION deny

shell cmd appops set com.wssyncmldm REQUEST_INSTALL_PACKAGES deny
shell cmd appops set com.wssyncmldm INTERNET deny

shell cmd appops set com.sec.android.soagent RUN_IN_BACKGROUND deny

shell cmd appops set com.sec.android.soagent RUN_ANY_IN_BACKGROUND deny

shell cmd appops set com.sec.android.soagent WAKE_LOCK deny

shell cmd appops set com.samsung.sdm RUN_IN_BACKGROUND deny

shell cmd appops set com.samsung.sdm RUN_ANY_IN_BACKGROUND deny

shell cmd appops set com.samsung.android.fota RUN_IN_BACKGROUND deny

shell cmd appops set com.samsung.android.fota WAKE_LOCK deny

shell cmd netpolicy set restrict-background true com.wssyncmldm

shell cmd netpolicy set restrict-background true com.sec.android.soagent

shell cmd netpolicy set restrict-background true com.samsung.sdm

shell cmd netpolicy set restrict-background true com.samsung.android.fota

shell cmd jobscheduler cancel -u 0 com.wssyncmldm

shell cmd jobscheduler cancel -u 0 com.sec.android.soagent

shell cmd jobscheduler cancel -u 0 com.samsung.sdm

shell cmd jobscheduler cancel -u 0 com.samsung.android.fota

shell pm clear com.wssyncmldm

shell pm clear com.sec.android.soagent

shell pm disable-user --user 0 com.wssyncmldm

shell pm disable-user --user 0 com.sec.android.soagent

shell pm disable-user --user 0 com.samsung.sdm

shell pm disable-user --user 0 com.samsung.android.fota

shell pm disable-user --user 0 com.samsung.android.app.updatecenter

shell pm hide --user 0 com.wssyncmldm

shell pm hide --user 0 com.samsung.android.fota

shell pm hide --user 0 com.sec.android.soagent

shell pm enable --user 0 com.android.vending


