I just purchased a S4 Mini last week and also witnessing problems of freezing / hanging when coming out of lock mode / idle mode. And also observing the screen flickering and opening applications on its own without touching them.
Can someone please assist how to debug this issue.