相信有很多牛仔买了带视窗的智能皮套,我也买了一个,以为能像以前的联想手机一样能够隔皮套滑动接听,然而现实很残酷,从来没有成功过,然后找原因终于在卖皮套的TB店看到这么一句
Z7MAX智能皮套购买须知: 此款智能皮套支持Z7MAX手机系统的智能视窗和自动休眠功能;但因为Z7MAX选用的是夏普高等级的CGS全高清显示屏,因为在来电时无法隔着PC镜片划动接听电话。全网所有的皮套都是如此,包括官方,除非是窗口缕空设计。 怎么办,就这样放弃吗,于是我到处搜索,找办法,想起以前用华为时曾经修改过键值实现某些功能,终于经过我的不懈努力攻克了这个问题,现在来电话是我只要拿出手机看一下视窗显示的号码,单手长按音量下键,就可以接听电话,按电源键就可以拒接和挂断电话了 下面进入实质的东西 手机需要ROOT 用RE管理器进入system文件夹再进入use文件夹 长按gpio-keys.kl选择以文本方式编辑 然后看到这个 # Copyright (c) 2012, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of The Linux Foundation nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
key 115 VOLUME_UP WAKE_DROPPED
key 114 VOLUME_DOWN WAKE_DROPPED
key 102 HOME WAKE_DROPPED
key 528 FOCUS WAKE_DROPPED
key 766 CAMERA WAKE_DROPPED
注意最后的 key 115 VOLUME_UP WAKE_DROPPED
key 114 VOLUME_DOWN WAKE_DROPPED
需要音量+键接听就修改VOLUME_UP 为CALL 需要音量-键接听就修改VOLUME_DOWN 为CALL 我修改的是音量-键修改以后是这样的 # Copyright (c) 2012, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of The Linux Foundation nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
key 115 VOLUME_UP WAKE_DROPPED
key 114 CALL WAKE_DROPPED
key 102 HOME WAKE_DROPPED
key 528 FOCUS WAKE_DROPPED
key 766 CAMERA WAKE_DROPPED
注意对齐,保存,退出, 然后进设置-其他-辅助功能-选择按电源键结束通话 重启手机 接电话要长按哦,别忘记开启智能皮套功能哦 解放你的另一只手,尽情撸吧
|