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
Disable unknown sources via ADB?
is there a way to remove the factory reset also?
4 days later
Techgen changed the title to Disable unknown sources via ADB? .
7 months later
THE_SOMEONELevel 2 - Senior Member
- Edited
DISABLE UNKNOWN SOURCES
(1) adb devices
(2) adb shell
(3) settings put secure install_non_market_apps 1
The command was once on the forum but i dont see it anymore not sure why
112345Level 3 - Gold Member
you could also disable defcontainer which will blaockany apps from getting installe the command is adb shell pm disable-user com.android.defcontainer