If you want to make changes to your phone as for example installing a custom rom, so change the OS running on it and so on, you must enable the developer options. If you are reading this article you probably want to enable developer options in order to use Android Debug Bridge (adb) and this is why you want to install a different system on the phone. Ubuntu touch is a good choice for example. Please see https://ubuntu-touch.io/get-ubuntu-touch
On your android system, please follow this schema in order to enable the developer options
- Settings -> system -> About phone
- Software info -> Build number
- Tap 7 times on “Build number” option, as an activation code. After the seventh tap, a message will appear telling you that “You are now a developer!” and the Developer options will be unlocked as an option in Settings.
- Now go back in settings pane and see the developer option now active and visible
Congratulations, now developer options are active and you are ready to run adb ( https://developer.android.com/studio/command-line/adb ) to perform configurations or custom install on your device.