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.

| improve this answer | |
  • 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

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.

| improve this answer | |

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

| improve this answer | |

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.