lamster2018 / EasyProtector

一行代码检测XP/调试/多开/模拟器/root
Apache License 2.0
2.19k stars 437 forks source link

华为M5/华为M6被误判模拟器 #58

Open BeatMicrosoft opened 4 years ago

BeatMicrosoft commented 4 years ago

库版本(v1.1.1) 系统版本(Android 9.0, EMUI版本 9.1.1/9.1.0) 手机型号(华为M5/M6) 问题详情、异常提示(真机被误判模拟器)

期望尽快看一下

JasonLian2020 commented 4 years ago

可以提供下日志吗

lamster2018 commented 4 years ago

log有没有

xwf20050250 commented 4 years ago

[华为M5]

getProperty("ro.build.flavor") => null getProperty("gsm.version.baseband") => null

获取传感器数量 SensorManager sm = (SensorManager) context.getSystemService(SENSOR_SERVICE); return sm.getSensorList(Sensor.TYPE_ALL).size(); ret: sensorNumber: 3 < 7

是否支持闪光灯 context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA_FLASH) ret: false

检测光线传感器 SensorManager sensorManager = (SensorManager) context.getSystemService(SENSOR_SERVICE); Sensor sensor = sensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); //光线传感器 if (null == sensor) return false; else return true; ret:false

luohuanji commented 3 years ago

我们也遇到相同问题,请问会解决吗

MaleWxt commented 3 years ago

我这边也遇到相同的问题,请问这个问题现在有解决吗?谢谢!

luohuanji commented 3 years ago

最后没有用这个插件了,自己写了一个简单的 ----- 原始邮件 ----- 发件人:MaleWxt notifications@github.com 收件人:lamster2018/EasyProtector EasyProtector@noreply.github.com 抄送人:luohuanji luohuanji@sina.com, Comment comment@noreply.github.com 主题:Re:_[lamster2018/EasyProtector]华为M5/华为M6被误判模拟器(#58) 日期:2020年10月23日 13点55分

我这边也遇到相同的问题,请问这个问题现在有解决吗?谢谢!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Onperson commented 2 years ago

//适配华为 if("HUAWEI".equals(Build.BRAND) && "JDN2-W09".equals(Build.HARDWARE)){ return false; }