Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

小米9,无法自动解锁 #6

Closed
lwh201314 opened this issue Apr 17, 2019 · 25 comments
Closed

小米9,无法自动解锁 #6

lwh201314 opened this issue Apr 17, 2019 · 25 comments
Labels
Reinforcement ✨ 强化 Issues for higher quality of being compatible Settled 🌴 完成 Happy ending for both human beings and issues themselves

Comments

@lwh201314
Copy link

亮屏后要先上滑才能输入密码
Screenshot_2019-04-18-07-48-34-568_org autojs autojspro

@SuperMonster003
Copy link
Owner

SuperMonster003 commented Apr 17, 2019 via email

@lwh201314
Copy link
Author

Screenshot_2019-04-18-08-11-14-860_org autojs autojspro
最新的看它上划了好几次才进入输密码界面,然后就灭屏了

@SuperMonster003
Copy link
Owner

SuperMonster003 commented Apr 18, 2019 via email

@SuperMonster003
Copy link
Owner

最新版的 Tools 文件夹里有一个 Inspect_Lock_Screen_Layout.js
这个锁屏布局采集工具
可以尝试把锁屏信息发送给我

@lwh201314
Copy link
Author

!Debug_Info.zip
好像没有采集到锁屏布局

@SuperMonster003
Copy link
Owner

zip包太小了 而且打不开
文件夹里有几个文件
应该有3个截图文件和一个txt文件

@lwh201314
Copy link
Author

!Debug_Info.zip

@SuperMonster003
Copy link
Owner

SuperMonster003 commented Apr 18, 2019 via email

@lwh201314
Copy link
Author

Screenshot_2019-04-18-13-27-40-964_lockscreen
滑动后是这个界面

@SuperMonster003
Copy link
Owner

SuperMonster003 commented Apr 18, 2019 via email

@lwh201314
Copy link
Author

!Debug_Info.zip
Screenshot_2019-04-18-13-50-37-176_org autojs autojspro
一样诶

@SuperMonster003
Copy link
Owner

SuperMonster003 commented Apr 18, 2019 via email

@SuperMonster003
Copy link
Owner

已于 v1.5.10 - 2019/04/18 增加适配此机型自动解锁方案

@lwh201314
Copy link
Author

用了最新脚本,自动上滑了几十次也没有到输密码解锁界面,手动上滑到解锁界面不会自动输密码

@SuperMonster003
Copy link
Owner

SuperMonster003 commented Apr 18, 2019 via email

@lwh201314
Copy link
Author

Screenshot_2019-04-18-19-43-49-168_org autojs autojspro
这次自动上滑成功了,就是不会输密码

@SuperMonster003
Copy link
Owner

SuperMonster003 commented Apr 18, 2019 via email

@SuperMonster003
Copy link
Owner

286行

let click_keypad = num => click(keypads[num || 11].x, keypads[num || 11].y);

改为

let click_keypad = num => {
click(keypads[num || 11].x, keypads[num || 11].y);
log(keypads[num || 11].x, keypads[num || 11].y);
}

开启指针位置选项
在开发者选项里面打开或者在auto.js软件悬浮窗里也可打开

测试脚本
看日志有没有显示出6个坐标点
再通过指针位置看屏幕有没有点击的迹象

@lwh201314
Copy link
Author

指针位置显示在输密码的界面还在上滑解锁,没有在点击输密码

@SuperMonster003
Copy link
Owner

指针位置显示在输密码的界面还在上滑解锁,没有在点击输密码

MODULE_UNLOCK.zip
试试这个

@lwh201314
Copy link
Author

这下会自动输密码了,但是不会自动上滑

@SuperMonster003
Copy link
Owner

好 周一晚前会发布试修版本

@SuperMonster003
Copy link
Owner

已于 v1.5.14 - 2019/04/22 尝试修复此问题

@lwh201314
Copy link
Author

还是不行,会上滑但是还没到输密码界面就灭屏了

@lwh201314
Copy link
Author

解决了,用最新的脚本可以了,感谢

@SuperMonster003 SuperMonster003 added Reinforcement ✨ 强化 Issues for higher quality of being compatible Settled 🌴 完成 Happy ending for both human beings and issues themselves labels Nov 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Reinforcement ✨ 强化 Issues for higher quality of being compatible Settled 🌴 完成 Happy ending for both human beings and issues themselves
Projects
None yet
Development

No branches or pull requests

2 participants