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.

3 Answers 3


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.

  • 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
    Commented Sep 9, 2017 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.


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


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .