is there a way to disable unknown sources using adb? I am trying to block a phone and I dont want the allowance of downloading 3rd party apps
is there a way to remove the factory reset also?
(1) adb devices (2) adb shell (3) settings put secure install_non_market_apps 1
adb devices
adb shell
settings put secure install_non_market_apps 1
The command was once on the forum but i dont see it anymore not sure why
you could also disable defcontainer which will blaockany apps from getting installe the command is adb shell pm disable-user com.android.defcontainer
adb shell pm disable-user com.android.defcontainer