Changing the value in build prop fixed the inversion issue:
- org value -> ro.sf.rotation=180
- new value -> ro.sf.rotation=0
                    
                    
                    
                    
                - org value -> ro.sf.rotation=180
- new value -> ro.sf.rotation=0
