# ITEL A50 (A667L / A667LP) - Familia Unlocker — BOOT-SAFE
# NUNCA: pm disable / suspend / hide em phonemanager ou plat.appupdate
shell pm enable --user 0 com.android.vending
shell pm enable --user 0 com.transsion.ossettingsext
shell pm enable --user 0 com.google.mainline.go.primary
shell pm enable --user 0 com.google.mainline.go.networkstack
shell pm enable --user 0 com.android.networkstack
shell pm enable --user 0 com.android.systemui
shell pm enable --user 0 com.android.settings
shell pm enable --user 0 com.android.phone
shell pm enable --user 0 com.transsion.phonemanager
shell pm enable --user 0 com.transsion.plat.appupdate
shell cmd package unsuspend com.transsion.phonemanager
shell cmd package unsuspend com.transsion.plat.appupdate
shell pm unhide com.transsion.phonemanager
shell pm unhide com.transsion.plat.appupdate
# OTA puro — disable seguro
shell pm disable-user --user 0 com.transsion.systemupdate
shell pm disable-user --user 0 com.transsion.teop
shell pm disable-user --user 0 com.transsion.tota
shell pm disable-user --user 0 com.transsion.fota
shell pm disable-user --user 0 com.sprd.systemupdate
shell pm disable-user --user 0 com.android.sprd.update
shell pm disable-user --user 0 com.spreadtrum.ota
shell pm disable-user --user 0 com.sprd.sota
shell pm disable-user --user 0 com.google.android.configupdater
shell pm disable-user --user 0 com.google.mainline.go.telemetry
# plat.appupdate — SO appops (SEM suspend/hide/disable)
shell am force-stop com.transsion.plat.appupdate
shell cmd appops set com.transsion.plat.appupdate RUN_IN_BACKGROUND deny
shell cmd appops set com.transsion.plat.appupdate INTERNET deny
shell cmd appops set com.transsion.plat.appupdate REQUEST_INSTALL_PACKAGES deny
shell pm enable --user 0 com.transsion.plat.appupdate
shell cmd package unsuspend com.transsion.plat.appupdate
# Security Plugin — soft
shell pm disable-user --user 0 com.transsion.securityplugin/.BootReceiver
shell pm disable-user --user 0 com.transsion.securityplugin/.AdminReceiver
shell pm disable-user --user 0 com.transsion.securityplugin/.DeviceAdminReceiver
shell am force-stop com.transsion.securityplugin
shell cmd package suspend com.transsion.securityplugin
shell cmd appops set com.transsion.securityplugin RUN_IN_BACKGROUND deny
shell cmd appops set com.transsion.securityplugin INTERNET deny
shell pm enable --user 0 com.transsion.securityplugin
# phonemaster / microintelligence — soft
shell am force-stop com.transsion.phonemaster
shell cmd package suspend com.transsion.phonemaster
shell pm enable --user 0 com.transsion.phonemaster
shell am force-stop com.transsion.microintelligence
shell cmd package suspend com.transsion.microintelligence
shell pm enable --user 0 com.transsion.microintelligence
# phonemanager — boot-critico: SO appops
shell am force-stop com.transsion.phonemanager
shell cmd appops set com.transsion.phonemanager RUN_IN_BACKGROUND deny
shell cmd appops set com.transsion.phonemanager REQUEST_INSTALL_PACKAGES deny
shell pm enable --user 0 com.transsion.phonemanager
shell cmd package unsuspend com.transsion.phonemanager
shell pm unhide com.transsion.phonemanager
shell am force-stop android.autoinstalls.config.transsion.device
shell cmd appops set android.autoinstalls.config.transsion.device REQUEST_INSTALL_PACKAGES deny
shell settings put global fota_disable 1
shell settings put global transsion_auto_update 0
shell settings put global system_update_auto_download 0
shell settings put secure ota_disable_automatic_update 1
shell settings put global upgrade_component_enabled 0
shell settings put global software_updates_enabled 0
shell settings put secure familia_block_securityplugin 1
shell pm enable --user 0 com.android.vending
shell pm enable --user 0 com.transsion.ossettingsext
shell pm enable --user 0 com.transsion.phonemanager
shell pm enable --user 0 com.transsion.plat.appupdate
