I understand that changes in InputReader.cpp only influence the touch-screen. The screen rotation can be disabled in 'frameworks/base/core/res/res/values/config.xml' by "<bool name="config_forceDefaultOrientation">true</bool>" **) and "<bool name="config_supportAutoRot...