How to disable location or telephony on android box : use the system properties

If you have the sources of your box and you want to disable permanently some services you can use system properties. first look at there, you’ll see how services are started : frameworks/base/services/java/com/android/server/ then you’ll see that most of the services have a boolean related to a system property, for instance location : boolean disableLocation […]