but I've run into many other hurdles trying to do simple tasks due to the 'security' design they've put into Android
Maybe I'm cynical, but I think that the average user absolutely needs this security design. They'd probably turn off the volume buttons by mistake then think their phone is broken.
After that they will be users of a competing product.
I think the general point is that the average user is never going to a sysadmin, and nor is it fair to expect that of them.
At least that was the point when I wrote the original, as you say spammy, comment.
No, the average user won't be a sysadmin, but what about their kids? (Oh god, did I just do a think of the children?)
Your example is a very weak premise to hang a conclusion as strong as you have on it. I can make phone calls on my non-rooted android phone, for example; that's a use, and directly contracts your claim of "useless". Less hyperbole would improve your argument.
True, I shouldn't have started with 'useless', and yes a non-rooted phone does make phone calls. I guess what I mean to say by 'useless', is that they are useless for those that want to go beyond what is allowed by the default non-root install, security be damned. I am one of those users, and my GF is not, but that doesn't mean I shouldn't be able to work on her phone, especially something so simple as editing a configuration file.
Well that's a fine tautology.
So then I thought, how about an app for that. Listen for keypresses, set the volume to max, easy peasy. Ha. Services can't listen for keypresses. Apps only listen when they are in focus. All apps are run as their own user and group and the /dev/input devices are not readable by anybody but root or those in the input group. 3 ideas on a simple app, no way to do it without rooting the phone.
Ie, something like: // Get the AudioManager AudioManager audioManager = (AudioManager)this.getSystemService(Context.AUDIO_SERVICE); // Set the volume of played media to maximum. audioManager.setStreamVolume ( AudioManager.STREAM_MUSIC, audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC), 0);
Unless there are more requirements here that I am missing, this sounds achievable without root.
Honestly this example isn't really selling me. If the phone hasn't been screwed-up by the carrier, what's missing?