Devices: Moto Z2 Play root – Camera error please restart camera
If you have changed your build.prop on file recently on your Moto Z2, you may have notice you broke your camera. Do not worry the fix is very simple as long as you are still rooted.
Install and Open BuildProp Editor
Click the three dot menu in the upper right corner
Go to the Permissions tab
Make sure that R (read) is selected (box becomes red) for Owner, Group, and Others.
Make sure W (write) is selected for Owner
Thank you to Will Clein for posting this fix on XDA-devlopers.
If you want to do this manually make certain the /system/build.prop file is set to chmod 644