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

使用问题 #2

Open
guoshengbo opened this issue Feb 23, 2017 · 3 comments
Open

使用问题 #2

guoshengbo opened this issue Feb 23, 2017 · 3 comments

Comments

@guoshengbo
Copy link

mx4pro启动之后没有切换手动调节和自动调节的选项

@chg-hou
Copy link
Owner

chg-hou commented Feb 23, 2017

判断 自动/手动 选项是否出现的代码在 src/java/com/houcg/floatingcpucontrol/FloatingView.java 的84行,调用的是CpuInfo.java中的public static boolean checkHPS () {} ,如果存在目录 /proc/hps/ ,则判断支持mtk的核心管理。

看情况是app里判断目录是否存在中出现了问题。

为了排查问题,请先用文件管理工具(ES之类的)查看是否存在目录 /proc/hps/ 。如果有 请先用shell (机子上的shell工具,adb shell都可以)运行命令:
$ [ -d /proc/hps/ ] && echo '1' || echo '0'
检查是否输出 “1”。

@guoshengbo
Copy link
Author

输出0 手机上敲着命令敲了好久 哈哈哈

@chg-hou
Copy link
Owner

chg-hou commented Feb 23, 2017

我记错了,还以为MX4也是全系列的mtk。MX4 Pro 用的是Exynos的CPU,自然就不支持mtk式的核心调节(即通过/proc/hps设置大小核的状态)。
大概找了找,没找到针对Exynos的核心设置方法。而且手头没有4 Pro,没法调试,爱莫能助。
总而言之,核心调节的功能目前无法在MX4 Pro上使用。抱歉了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants