Android OS Upside down or reverse display fix

To fix this kind of error, you just need to somehow root up ur device.
so first install esfile explorer or any build.prop editor
for es file explorer > after installing es file explorer, do allow root permissions, then go to root memory of ur device > system > build.prop & select it. Press on edit button located on the top right corner of ur device.
for any other app > open the app & load the build.prop file
and then add this line if its not present


or if present, then do remove 90 degree and instead write 180 degree.