Can anyone please tell me, where Androids’ developer options are stored?

I’m trying to modify the Pointer Location developer option in this file.

After recompiling Android, where is the file containing the modified sqlite database, system process or binary file, as I would like to exchange the new file with the one on my smartphone.


The Developer options are stored in the file:


Pay attention that this is a database stored on file that includes also other saved options / settings, so just copying over another db file might cause unexpected behaviors.

As pointed out by @Gokul NC in the comments, this is not applicable since Marshmallow.

  • 3
    Not applicable since Marshmallow. Mention that in the answer.. – Gokul NC Jul 12 '16 at 16:14
  • @GokulNC so what's the answer for marshmallow? – user697683 May 8 '17 at 9:42
  • So how to avoid such unexpected behavior? I overwrote a file and the app won't start. I used chmod/chown to match original. What else should I watch out for? – Emil Sep 9 '17 at 22:24
  • @GokulNC Where's the storage in M and N? – iBug Oct 10 '17 at 15:52
  • @iBug Check my other answer :) – Gokul NC Oct 15 '17 at 10:39

On my LineageOS on Android Nougat the file was located at


I guess the 0 after the /users/ is my user id. If this location differs from android version // distribution you might want to find the file via something like

find | grep "settings_global.xml"

or another search string using the adb shell or another way to access the shell on your device.


For Android 6.0 and above, it can be found inside the SharedPreferences file:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.