Yes, but I can make your life easy.
You can create a twrp flashable zip file to edit build prop's specific settings.
refer link here for instructions and how to compile the flashable zip https://notabug.org/kl3/tweakprop
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer? | Terms of Service