Ok Im i suppose re-activating this thread....there is no solution in this thread for the OP and my problem. Locking the orientation to landscape does not fix this issue as most of the time the issue is that the screen does not wake up, i.e stays blank. I have been in so many meetings where i forgot to mute the phone, it rings and i cant cancel the feckin call, i actually have to whip the battery out. People looking at me and asking what am i doing...i tell them im just putting it on silent......its a linux phone dont you know i tell them....its a feature. All joking aside is there no app that would allow the answering of calls by sliding out the keyboard or pushing the camera button ?? Thanks in advance
while true; do cat /sys/devices/platform/gpio-switch/proximity/state; done