You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/uk/play&office/android.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,25 @@ $ adb shell #Open adb shell
61
61
$ adb root #Open adb shell with root privileges when the phone is already rooted
62
62
```
63
63
64
-
---
64
+
## Remove the network restriction prompt
65
+
66
+
Google has introduced the "Captive Portal" mechanism since Android 5.0, which is mainly used to detect whether the WiFI network authentication is normal. The default detection access is the server outside the Google wall. When using native Android, which is common in the world, this service will prompt that the network is restricted in the wall environment, even if services such as Shadowsocks have been turned on. To solve this problem, you can use the adb command to modify the server to detect access to google.cn.
67
+
68
+
```
69
+
adb shell settings put global captive_portal_server www.google.cn
70
+
adb shell settings put global captive_portal_https_url https://www.google.cn/generate_204
71
+
adb shell settings put global captive_portal_mode 0
72
+
```
73
+
74
+
Finally, switch to the flight mode and switch back to solve it.
75
+
76
+
## Flash into Google Suite
77
+
78
+
In some scenarios, you need to flash into the Google suite because you need to use Google play. Optional projects are [opengapps](https://opengapps.org/), [nikgapps](https://nikgapps.com/) and [suites provided by lineageos](https://wiki.lineageos.org/gapps). opengapps updates seem to have stalled at the moment. nikgapps can be customized.
79
+
80
+
## Unlock root privileges
81
+
82
+
Use Magisk to unlock root privileges. Download the Magisk apk file from its [official release interface](https://github.com/topjohnwu/Magisk/releases), and rename it to a .zip suffix. Then copy it to the phone, and finally enter twrp to flash the zip package.
0 commit comments