这个 Shell 脚本是通过设置系统的 'block_untrusted_touches' 属性为 0 来实现允许非受信任的触摸操作。默认情况下,Android 系统会阻止非受信任的触摸操作,即限制未经授权的应用程序对触摸屏的访问。通过将 'block_untrusted_touches' 属性设置为 0,可以解除这个限制,允许非受信任的应用程序进行触摸操作。

使用方法:

  1. 获取 Root 权限: 为了使脚本生效,需要先获得设备的 Root 权限。
  2. 运行脚本: 使用 adb shell 命令进入设备的 shell 环境,然后执行脚本。
  3. 示例命令:
    adb shell settings put system block_untrusted_touches 0
    adb shell settings put global block_untrusted_touches 0
    adb shell settings put secure block_untrusted_touches 0
    

注意:

  • 运行该脚本可能会导致安全风险,请谨慎操作。
  • 该脚本仅供参考,请根据您的实际需求进行修改和使用。

原文地址: https://www.cveoy.top/t/topic/o09m 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录