10

My mom has an android tablet and she doesn't even know what a site is, her e-mail, or even the password of her facebook account. She's an average user. The internet is facebook in her eyes. She has no need for apps or anything, it's just, only, precisely facebook. All is facebook.

How can I completely disable installing apps in android so they can't be installed in any way or form, I mean, not by URL, not by clicking, not by app store, not even by another program. Just disable the entire thing altogether.

Doesn't need to be safe, have locks, passwords etc. I'm not trying to secure the device from intruders, attackers or robbers, I'm trying to secure it from its very own user.

Please help. I just had to remove two anti-virus apps that were opening adware pages when she tried to open facebook lite, and that's obviously a no-go, apps which she "had not installed." Clearly there's some voodoo going on here for them to just popup, or maybe she just did it unknowingly, but none of that's relevant. How can you just disable installs so this couldn't ever happen again?

9

First, disable the primary source of installation. On most devices, it is the Google Play Store but your device might have been shipped with a non-Google market app as well. So go to Settings → Apps → (three-dots line → Show System) or (All Apps) → your market app → Disable.

Second, disable the Package Installer system app. This provides the GUI for sideloading. So if you disable it and attempt to install an APK (through a file manager, by drive-by download, or when pushed by a third-party app) you would definitely fail. At this point, it is irrelevant whether Unknown Sources is disabled or not, but you may keep the latter disabled from Settings → Security.

Third, an app can still be sideloaded through command-line, preferably through ADB. Keep Developer options disabled and hidden (default). This is untested but revoking executable permissions (requires root access) from pm binary for user 2000 or for every user might help. This however, may cause device instability so take backup from a custom recovery before you proceed with this step.

Your user would be fine with the first two steps. It's not like they would deliberately try to find a way to install an app if they are not tech-savvy already.


Alternatively, in your particular situation you can use an ad-blocker app. The best ones require root access though.

Or, why not use a kiosk-mode app? Limit your mother's activities to certain set of apps she should use. That's an another option on the table.

Choose wisely.

2

She installed it, no app can install itself without user interaction. However best would be to deactivate Google play services from settings or even install ROM without any Google app on it (if there is custom ROM for your device). And you should disable "apps from unknown sources" in settings under security. If she still manages to install x app than you should learn her not click on something that says "install me" or any other ad on internet. Also does she uses Facebook app to access Facebook or internet browser? If she uses browser than install Samsung browser or Mozilla and enable ad blocking. If she uses Facebook app than you should use some adblock app to block ads globally (I don't know if some works without root).

0

I think two apps are responsible for installing apps. The play store and package installer. Play store can be disabled but not package installer. The later is responsible for apk files and works when unknown source is ticked. You can only freeze it with root privilege

  • 1
    May I kindly know what does your answer adds to which has already not been covered in my answer? – Firelord Sep 8 '17 at 9:28
  • At least to point out quite frankly that package installer cannot be disabled without root though I am not very sure this is the situation with all Android versions – Alain Giresse Sep 8 '17 at 9:32
0

on Android 7.0 onwards i.e on nougat and Oreo apps can installed themselves without consent of user.no remedies till the date.they may be pushed to install from native browser or any other app. the rooting and uninstall of package install and verified install may prevent installation.

protected by Community Mar 1 at 17:29

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.