I am trying to block my phone from installing packages from unknown sources.
I rooted my device and removed com.android.packageinstaller. A reboot after this step forces my phone into a bootloop. There are two questions I have:
- How is the package com.android.packageinstaller related to the booting process of a phone.
- Is there any way through which I can block my phone from installing packages from unknown sources. (The switch "Install From Unknown Sources" in the Setting Menu can be toggled easily and does not meet my purpose.)
Model name : Redmi Note 4, Android version : 7.0
Thanks in advance.