Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Is it possible to enable Location Services(GPS or Google NetworkLocation) via ADB or Terminal Emulator? I'm on a rooted Phone.

Extra Points: Is it also possible to change other system-related settings?

share|improve this question
This question already has been asked, see: Can I change some Android settings from the command line? –  Izzy Feb 22 '13 at 16:57
@Izzy I don't think that's fully a duplicate. –  Matthew Read Feb 22 '13 at 17:37
@Izzy not related. The question you linked to has nothing to do with location services. –  lorddev Dec 11 '13 at 20:05
@lorddev No, they are not explicitly mentioned. But you can use the same code to call the intent for location services. What confuses me a little is the phrasing of my comment, which suggests a "direct hit" (and here you're both correct: it's not exactly the same). Hard to say, half a year later, what I had in mind back then... –  Izzy Dec 11 '13 at 20:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.