OK people thanks to UksusoFF "s help and my own Linux background i was able to have my phone fixed and running. No more screen going offs & phone locks!! I see that many of you had asked for a step by step process on working with the command line for disabling the proximity censor right?:cool: Well here it goes folks , the complete step by step: 1 - You have to be ROOT to complete this task so ROOT your phone (There are many links on google on HowTo ROOT your phone so do it!!!)
操作前提:手机必须root !2- Open the Emulator on your phone.
打开手机上的终端模拟器(如果没有,去市场搜索下载安装,或者使用在cmd 终端 使用adb shell ,如果有电脑有配置adb环境的话)3- Type suand make sure that$ sign changes to # meaning you are the ROOT User now and can make serious changes to your device"s system.
输入 su ,获取管理员权限,此时应该会看到开头的 $ 符号变成了 # 号,说明成功获取超级用户(即管理员)权限。4- Insert the following commands in the Emulator
随后输入下列指令# cd /data/local # touch userinit.sh # echo "#!/system/bin/sh" > userinit.sh # echo "#" >> userinit.sh # echo "chmod 0000 /dev/cm3602" >> userinit.sh # echo "chmod 000 /dev/cm3602" >> userinit.sh # chmod 777 userinit.sh5- Now verify that the file exists
(You should see the information inserted above appearing).
再一次对比确认输入的内容6- Restart your phone
重启手机If you have done it right , your phone should be fine now. Starting now You will be in charge of turning on/off your screen instead of the proximity censor. Hope it works for ya:rolleyes: Cheers!:p此方法在米一测试不可用。方法三: