by StavrosK · 13y ago · 0 comments
Would this be possible/viable with this framework? I might give it a shot, if so.
Cyanogenmod 7 tried to totally deny permissions for apps and it was not a good idea. It resulted in apps crashing a lot. Also the reason they didn't continue to do it in Cyanogenmod 9 and 10. Faking permissions is definitely the way to go though.
edit: pdroid was the other (http://forum.xda-developers.com/showthread.php?t=1357056)
I think Android would have much better cred in the geek community if this was standard, but the legal and business hoops it jumps around and out of make it a pipe dream. I will say when I meet Infosec guys in my area and show them that app, even the iPhone guys are impressed and want to know how to get it if they got Android phones.
To take a simple example, I've noticed that many third-party launchers request the "Services that can cost you money" permission, so that they can create dialing shortcuts, I believe. I'd prefer not to give them that permission because I don't want dialing shortcuts, but I'm sure other people do.
The other alternative mentioned is lbe. The issue with lbe is that its a Chinese app thats translated to english and only distributed through xda found here. http://forum.xda-developers.com/showthread.php?t=1422479 . Now everything I've read and what others have looked into is that nothing malicious is occurring but of course YMMV. I've used it and I have very rarely found any issues blocking all permissions.
Also another good app is droidwall to enable data for apps based on wifi or mobile.
It's broken at the moment but used to provide the feature you requested
EDIT: Oh, Gingerbread-only :/
EDIT 2: It seems that the only "good/working" app is PDroid (and OpenPDroid for ICS). Unfortunately, it's only available for custom ROMs, and it's a lot of work to add it to stock ROMs. It looks like that this will either need a lot of hard work to do (and be hard to install), or Android will need to do it natively. Too bad neither option is very feasible...
I have it currently on my nexus one with CyanogemMod7. standard feature.
Use it to prevent my closed source keyboard from talking to the web.