# REALME UNISOC - Bloqueio OTA maximo seguro (7 camadas + manual)

# C71 RMX5303, Note 70, Realme/Oppo Unisoc - testado Android 15

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

shell pm disable-user --user 0 com.oppo.ota

shell pm disable-user --user 0 com.nearme.romupdate

shell pm disable-user --user 0 com.oplus.sau

shell pm disable-user --user 0 com.nearme.statistics.rom

shell pm disable-user --user 0 com.oplus.ota

shell pm disable-user --user 0 com.coloros.ota

shell pm disable-user --user 0 com.oplus.sauhelper

shell pm disable-user --user 0 com.coloros.sauhelper

shell pm disable-user --user 0 com.coloros.sau

shell pm disable-user --user 0 com.oplus.romupdate

shell pm disable-user --user 0 com.oppo.otaui

shell pm disable-user --user 0 com.oppo.ota/com.oppo.otaui.activity.EntryActivity

shell pm disable-user --user 0 com.oppo.ota/com.oppo.otaui.activity.OtaInstallCheckActivity

shell pm disable-user --user 0 com.oppo.ota/com.oppo.otaui.activity.VersionInfoActvitiy

shell pm disable-user --user 0 com.oppo.ota/com.oppo.otaui.activity.OtaDownloadActivity

shell cmd package suspend com.oppo.ota

shell cmd package suspend com.nearme.romupdate

shell cmd package suspend com.oplus.sau

shell cmd package suspend com.oplus.ota

shell settings put global can_update_at_night 0

shell settings put global Setting_AodSubOta 0

shell settings put system Setting_AodSubOta 0

shell settings put system oplus_customize_cta_update_service 0

shell settings put system oplus_customize_cta_update_pictorial 0

shell settings put system oplus_customize_cta_auto_update_virus 0

shell settings put system oplus_customize_system_update_auto_download 0

shell settings put global oplus_system_fota_update_enable 0

shell settings put secure ota_disable_automatic_update 1

shell am force-stop com.oppo.ota

shell am force-stop com.nearme.romupdate

shell am force-stop com.oplus.sau

shell am force-stop com.nearme.statistics.rom

shell am force-stop com.oplus.sauhelper

shell am kill com.oppo.ota

shell am kill com.nearme.romupdate

shell am kill com.oplus.sau

shell cmd appops set com.oppo.ota RUN_IN_BACKGROUND deny

shell cmd appops set com.oppo.ota RUN_ANY_IN_BACKGROUND deny

shell cmd appops set com.oppo.ota WAKE_LOCK deny

shell cmd appops set com.oppo.ota POST_NOTIFICATION deny

shell cmd appops set com.oppo.ota REQUEST_INSTALL_PACKAGES deny
shell cmd appops set com.oppo.ota INTERNET deny

shell cmd appops set com.nearme.romupdate RUN_IN_BACKGROUND deny

shell cmd appops set com.nearme.romupdate RUN_ANY_IN_BACKGROUND deny

shell cmd appops set com.nearme.romupdate WAKE_LOCK deny

shell cmd appops set com.nearme.romupdate POST_NOTIFICATION deny
shell cmd appops set com.nearme.romupdate REQUEST_INSTALL_PACKAGES deny
shell cmd appops set com.nearme.romupdate INTERNET deny

shell cmd appops set com.nearme.romupdate REQUEST_INSTALL_PACKAGES deny

shell cmd appops set com.oplus.sau RUN_IN_BACKGROUND deny

shell cmd appops set com.oplus.sau RUN_ANY_IN_BACKGROUND deny

shell cmd appops set com.oplus.sau WAKE_LOCK deny

shell cmd appops set com.oplus.sau POST_NOTIFICATION deny

shell cmd appops set com.oplus.sau REQUEST_INSTALL_PACKAGES deny

shell cmd appops set com.nearme.statistics.rom RUN_IN_BACKGROUND deny

shell cmd appops set com.oplus.sauhelper RUN_IN_BACKGROUND deny

shell cmd appops set com.coloros.sauhelper RUN_IN_BACKGROUND deny

shell cmd netpolicy set restrict-background true com.oppo.ota

shell cmd netpolicy set restrict-background true com.nearme.romupdate

shell cmd netpolicy set restrict-background true com.oplus.sau

shell cmd netpolicy set restrict-background true com.oplus.ota

shell cmd jobscheduler cancel -u 0 com.oppo.ota

shell cmd jobscheduler cancel -u 0 com.nearme.romupdate

shell cmd jobscheduler cancel -u 0 com.oplus.sau

shell cmd jobscheduler cancel -u 0 com.oplus.sauhelper

shell pm clear com.oppo.ota

shell pm clear com.nearme.romupdate

shell pm clear com.oplus.sau

shell pm disable-user --user 0 com.oppo.ota

shell pm disable-user --user 0 com.nearme.romupdate

shell pm disable-user --user 0 com.oplus.sau

shell pm disable-user --user 0 com.nearme.statistics.rom

shell pm hide --user 0 com.oppo.ota

shell pm hide --user 0 com.nearme.romupdate

shell pm hide --user 0 com.oplus.sau

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


