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

三星国行 GMS 限制 #2138

Closed
CzBiX opened this issue Mar 1, 2019 · 0 comments · Fixed by #2139
Closed

三星国行 GMS 限制 #2138

CzBiX opened this issue Mar 1, 2019 · 0 comments · Fixed by #2139

Comments

@CzBiX
Copy link
Contributor

CzBiX commented Mar 1, 2019

Is your feature request related to a problem? Please describe.
三星国行 ROM 中有一段叫 com.android.server.GmsAlarmManager 的代码(港行也有,但是通过开关禁用了),会检查 www.google.com 的连通性。在无法连接的情况下,会对 GMS 实施 3 个限制,包括只允许访问解析 checkin.gstatic.com 得到的 IP,推迟 alarm,限制 wakelock。可以在 adb shell 中执行 dumpsys alarm 输出的内容的尾部看到相关信息。

image

因此,在使用分应用代理的情况下,如果没有勾选 Android System,将会导致 Google 全系软件无法正常使用。而 Per-app VPN 在系统底层是 iptables 按 uid 转向流量,所以如果使用 bypass 模式时,也可能在排除其他 app 时无意将 Android System 排除掉。

Describe the solution you'd like
在分应用代理的设置界面,显式显示 Android System,并按 uid 同步选择状态。

Additional context
我稍后附上 PR。

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

Successfully merging a pull request may close this issue.

2 participants