How to Fix Screen rotation by 180 degrees after installing Custom ROMS

Few users have faced, screen rotation by 180,90 Degrees after installing custom ROM in their Android smartphone. This issue majorly occur due to improper phone software drivers or improper installation of ROM. ‘Karbonn A26’ again a poor work by Karbonn. Single phone with 2 mediatek version MTK6572 & MTK6577. This screen rotation bug is found in Karbonn A26 few Samsung, Xperia, Xolo & Micromax devices. Android being an open platform has few bugs too. But, there are solutions too but requires Root Access as you need to mess up with your system. So lets start with this simple tutorial of How to Fix Screen Rotation in Android.

Don’t miss :

Method :

  1. Download any root file manager app like Root browser, ES file explorer from Google Playstore.
  2. I would recommended ES file explorer as it has better interface & its all in one.
  3. Open ES File Explorer, Press the Fast Access Menu button (top left), Press Tools, Scroll down & locate Root explorer, switch the toggle to yes.
  4. Click on the Root explorer; you will find a small popup box. Do as shown in below image :
    • How to edit Build.prop
      How to edit Build.prop
  5. Now you have enabled root browser relaunch ES File Explorer & Click on above tab showing sdcard & Click on ” / Device”.
  6. Goto System folder & Open build.prop file as text.
  7. Search for line “ro.sf.hwrotation=’value'” if you didn’t find this line then copy this line at the end of the file.
  8. Now setting the value as per the rotation, if your screen is rotated by 180 Degrees i.e. upside down then enter 180 in place of value. if your screen is rotated by 90 Degrees i.e. right anglr then enter 270.
  9. Value = 360 – Rotation Angle.
             That’s all ! This is the easiest method to get rid of screen rotation bug. Please take a moment & Google +1,share this post if this helped you. If you are facing rotation bug even after making this changes leave your device name & info in comment section. Have a good day !
  • Elvin Babayev


    My device is ZTE v5 redbull(v9180). I have installed ES file explorer, but cant switch the root explorer toggle to yes. It says that “this action isnt possible on your device”.

    For now I have temporarily solved this problem. I have changed system language to russian and touched home button. I see that problem solved. Then I changed to english, now its working normal.

    Please write if you know how to switch root explorer toggle on my device.

    Thank you in advance.

  • Ashenafi Getachew

    ++++++++++++++++ Bingooooooooooooo!! It works. +++++++++++++++++++++++++
    ++++++++++++++++ I really proud of you, +++++++++++++++++++++++++++++++++
    The below line was not there and i make it with the value 180 and after restart i got surprise.
    7. Search for line “ro.sf.hwrotation=’value’” if you didn’t find this line then copy this line at the end of the file.
    ***But I faced another problem,***
    The screen light wont up after it goes to sleeps unless i remove the battery and re insert.
    I hope you smart people also may have a solution for this.
    Thank you

    • Devs-Lab Staff

      Glad to hear it helped you! Format your SD-Card or flash stock ROM.

  • abuzar

    plz help me
    My Phone Is qmobile noir a500
    mt 6589
    512 mb ram
    480 800 resolution
    sir plz suggest me android l rom plz plz where to i download that rom link and guid plz


    sir my phone karbonn a26 not screen rotate

  • Prem

    When i Put value 90 or 360 No error Occured And Screen Rotates But When i Put value 180 when SYSTEM UI stopped Problem Starts in Loop

    • Devs-Lab

      Goto Recovery & Fix Permissions. This should fix your problem. If the problem still persists, Switch to some other rom.

  • Gurprem

    Sir After Putting Value 180 i Restart My Phone Now Screen Rotation is Fixed But System UI has Been Stopped Loop Repeat How to Get Rid of it.

  • Nandkishor Wanode

    Sir I change rotation but nothing happen my mobile screen is inverse
    Model katbann a26 mtk 6572
    Their is three problem on installing custom rom
    1 . screen rotation iinverse
    2. Camera also rotate inverse when I take photo object also inverse but in gallery it is reverse photo
    3. In gallery app I can’t edit it says unfortunately stopped app

    Please help me sir

    • Devs-Lab

      Their might be the same line with different value; which is conflicting.

  • vishwas mishrsa

    your battery is over temperature, please remove the battery
    why i am seeeing this message please help