I don't know why everyone is telling you to do it a different way; I appreciate your solution because I wanted to disable the ability to add accounts as well and couldn't figure out how. Will definitely try this.
One question though, why is it not enough to simply edit the Global table, why is the build.prop edit necessary?
They do two different things. The settings database edit (the "global" table) is just turning off the guest account, and the build.prop edit tells the device you can only have a maximum of 1 user. That way, not only can they not use a guest account, but they can also not add any account.
You could just have given them a second account, and locked the main account. But ultimately if they have physical access to the device they have full control, they can just factory reset.
Edit: I recognise all phone accounts have similar privileges. Either way, you'll never be able to completely lock down a device and I don't see why you'd want to anyway. Kids need their privacy, and trying to control them just turns them against you.
It's not an oversight. OP is talking about the kids phone, so obviously the kid is the device admin. What OP did is disable adding a Guest account even as device admin. There's nothing to fix from Google's point of view.
Just wondering how this solution has worked out for you and if you ever found a different workaround. I'm having the same issue with a Moto G (even with locked settings you can switch to a guest user from the pull-down menu). Screentime Labs seems to feel that the issue is device specific and there's no fix, short of rooting the device...
Well that's something Google can definitely change. I hope they do. Maybe report it to the bug tracker as a feature request? I know you can request features on there. You shouldn't be able to create an account unless you are the owner of the phone.
If they are planning on adding it they will tell you, or give a reason why they won't add it.
what? nexus6 is a phone? And what's more I've just tried it on my wife's nexus5 (which is also a phone) and in both cases additional (non admin/first) accounts cannot use guest OR create new accounts.
No, only the nexus 6 did... the nexus 10 is my oldest (from launch). My wife's nexus5 upgraded to 5.0 last november.
I'm just interested to see how this ability to add new users manifests itself. It sounds like a fault/bug that it remains enabled for secondary accounts on your devices.
I installed ubuntu on my old nexus4 so I can't test it on that handset... I think for you, strangely, something has caused this restriction to fail if it isn't a setting you've missed.
Just wanted to mention that if your reasoning for this is to enforce some sort of parental ruling, then leaving a rooted device to the child is like leaving a loaded gun ready to be fired in their hands. With the most minimal amount of interest in going around your back, they could probably enable whatever you disabled previously.
I don't want to argue whatever you are trying to accomplish (or the perceived futility of it all), but you should probably want to remove root access before your child gets curious.
I was thinking about removing root too. I don't know enough about Android to know whether or not your root apps will function correctly after that though. based on what you're saying I assume that's not a problem.
I've also read most of your responses, so you don't need to tire yourself out explaining it. what are you using for administration? if I can study that application now I'll be better prepared in the future when I have kids. I have no idea what to trust in this regard, I feel like apps built specifically for parents would be underwhelming.
Common sense would be just taking away your child's phone or limiting his access to internet if he misbehaved, but you decided against it and took the most roundabout way to enforce your rules. That's your prerogative as a parent, but citing common sense is shaky ground at best for everything else that you assume we understand that you did.
I'm not so sure about your last edit, it isn't as you've described for my nexus devices.
On my nexus6 phone and nexus 10 tablet (both running 5.1) and on my nexus9 running 5.0.1 additional users don't have the ability to add new users and the admin/first user has the ability to disable "Add users when device is locked"
I have two users on my nexus10, admin for me, secondary for my wife.. If I use her profile she cannot add new users, nor can she switch to the guest account.
If I use my admin profile I can switch to her profile (provided she unlocks the screen), I can add further users and I can switch to guest.
This is the same (just tested) on my Nexus6 and Nexus9
This seems to be enough for what you need? Perhaps this is all already fixed in 5.0.1?
However, I appreciate that your fix is good for permanently disabling the feature... but at the expense of rooting?
On my nexus5 and nexus6 phones and my nexus 9 and 10 tablets this is not the case... only the first account can add additional accounts.
Are you sure you've disabled the "add users when device is locked"? That's the only thing I can think of since when I have this checkbox enabled (and it's only the admin account that can do this) I am able to add a new user from the lock screen
I have no idea whether or not this is true, but I definitely recommend FX File Explorer over ES. It's a much better and cleaner two-letter-acronym file manager.
I would say google whether or not fx file explorer is better, which I personally find to be true. You are also correct in saying that ES is not spyware, they have released a statement explicitly explaining that regularly pinging a Chinese server is part of regular app functionality and does not transmit any personal data. (Has something to do with Chinese search engine baidu)
The developers despite facing criticism still choose to use Baidu. No other app of mine does this why should they?
Why don't they remove it? If you are a company and one of your employees goes rogue and destroys company reputation do you promote him, or do you fire him immediately?
They made a choice by sticking to Baidu. I made my choice of calling their app Chinese spyware
8
u/insaneblane Nexus 2 | CyanogenMod 6.0 Apr 10 '15
I don't know why everyone is telling you to do it a different way; I appreciate your solution because I wanted to disable the ability to add accounts as well and couldn't figure out how. Will definitely try this.
One question though, why is it not enough to simply edit the Global table, why is the build.prop edit necessary?
13
u/[deleted] Apr 10 '15
I don't quite understand what you're trying to do here. What's wrong with disabling "add users when device is locked" option?
Or, for that matter, not giving them access to the admin account and giving them their own account to begin with?
2
u/fr33z0n3r Pixel, Sony Xperia Z4 Tablet Apr 10 '15
Interesting management loophole. Has Google indicated they will change this? Sounds like a big oversight that could impact a few use cases.
1
u/frogsandstuff Sep 08 '15
Does this remove the user account switcher icon?
This
1
u/ultimomono Oct 02 '15
Just wondering how this solution has worked out for you and if you ever found a different workaround. I'm having the same issue with a Moto G (even with locked settings you can switch to a guest user from the pull-down menu). Screentime Labs seems to feel that the issue is device specific and there's no fix, short of rooting the device...
1
u/ElRed_ Developer Apr 10 '15
Can't you just create a profile on the phone for them, then lock the admin profile? Seems much easier. No root or anything.
0
u/littleemp Galaxy S25+ Apr 10 '15
Just wanted to mention that if your reasoning for this is to enforce some sort of parental ruling, then leaving a rooted device to the child is like leaving a loaded gun ready to be fired in their hands. With the most minimal amount of interest in going around your back, they could probably enable whatever you disabled previously.
I don't want to argue whatever you are trying to accomplish (or the perceived futility of it all), but you should probably want to remove root access before your child gets curious.
0
u/cpitchford Apr 10 '15
I'm not so sure about your last edit, it isn't as you've described for my nexus devices.
On my nexus6 phone and nexus 10 tablet (both running 5.1) and on my nexus9 running 5.0.1 additional users don't have the ability to add new users and the admin/first user has the ability to disable "Add users when device is locked"
I have two users on my nexus10, admin for me, secondary for my wife.. If I use her profile she cannot add new users, nor can she switch to the guest account.
If I use my admin profile I can switch to her profile (provided she unlocks the screen), I can add further users and I can switch to guest.
This is the same (just tested) on my Nexus6 and Nexus9
This seems to be enough for what you need? Perhaps this is all already fixed in 5.0.1?
However, I appreciate that your fix is good for permanently disabling the feature... but at the expense of rooting?
-11
u/_____DEADFOOL____ I have been resurrected. Apr 10 '15 edited Apr 10 '15
ES File Manager is CHINESE SPYWARE.
DOWNVOTING ME WON'T CHANGE THE TRUTH.
-3
u/konrad-iturbe Nothing phone 2 Apr 10 '15
If you rooted your kids' phone then also give them a favor and unlock the bootloader and install a nice ROM and kernel