How edit settings Android OS to its firmware?

Can't quite understand how the Android OS takes and stores the settings. You need that after flashing the OS pulled up my desired settings such as:
1. Do not turn off the screen
2.Disabling animations
Via edit the build file.prop enabled the USB debugging and adb over tcp but can't find information on how and where to edit the rest.
June 3rd 19 at 19:18
1 answer
June 3rd 19 at 19:20
Rarely worked with a prepared file system, but sort out the framework-res (settings) and look there.

Find more questions by tags Android