惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Blog of Author Tim Ferriss
S
Schneier on Security
博客园 - 聂微东
爱范儿
爱范儿
大猫的无限游戏
大猫的无限游戏
有赞技术团队
有赞技术团队
腾讯CDC
博客园 - 叶小钗
WordPress大学
WordPress大学
博客园_首页
J
Java Code Geeks
Last Week in AI
Last Week in AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
V2EX
Microsoft Azure Blog
Microsoft Azure Blog
The GitHub Blog
The GitHub Blog
N
Netflix TechBlog - Medium
Y
Y Combinator Blog
Schneier on Security
Schneier on Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Recorded Future
Recorded Future
The Register - Security
The Register - Security
C
Cybersecurity and Infrastructure Security Agency CISA
P
Privacy & Cybersecurity Law Blog
P
Proofpoint News Feed
P
Privacy International News Feed
K
Kaspersky official blog
C
CERT Recently Published Vulnerability Notes
阮一峰的网络日志
阮一峰的网络日志
F
Full Disclosure
NISL@THU
NISL@THU
AWS News Blog
AWS News Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
U
Unit 42
MongoDB | Blog
MongoDB | Blog
A
Arctic Wolf
云风的 BLOG
云风的 BLOG
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
D
Darknet – Hacking Tools, Hacker News & Cyber Security
T
Threatpost
D
Docker
人人都是产品经理
人人都是产品经理
T
Tailwind CSS Blog
V2EX - 技术
V2EX - 技术
G
GRAHAM CLULEY
M
MIT News - Artificial intelligence
H
Heimdal Security Blog
N
News and Events Feed by Topic
P
Proofpoint News Feed

Mo的记事簿

安知鱼主题美化及实用教程库 给群晖套件版Emby添加网络代理 保姆式Hexo博客搭建教程 解决网站 URL 加个 index.html 后 Twikoo 评论显示问题 Front-matter 的基本认识 使用fastgithub解决GitHub无法访问 主题标签 Tag Plugins 雨世界地图(简体中文) Twikoo 添加自定义表情包 abbrlink插件生成永久固定链接 终于把hexo博客整好啦~
类原生安卓网络和时间修复
MortalCat · 2024-07-17 · via Mo的记事簿

AI初始化中...

介绍自己 🐱

生成本文简介 🐈

推荐相关文章 📖

前往主页 🏠

工具Android工具类原生Android

类原生安卓网络和时间修复

一些类原生的「Captive Portal」服务器和NTP用的是国外服务器,而由于众所周知由于一些原因导致国内无法访问,就会出先WiFi受限无法连接叹号(无法自动连接WiFi)以及无法自动同步时间的问题

去除WiFi受限无法连接叹号

CaptiveMgr清除x和!(root/Shizuku)

CaptiveMgr清除x和!

CaptiveMgr清除x和! 3.2:蓝奏云 密码: 3jcs (如需vip请切换至电脑ua)

使用方法:授权root权限然后下划,找到服务器测试工具,点击测速根据延迟选择备选服务器,选择完后点击上面 Captive Portal 服务器的应用,最后点击最下面的刷新图标即可

修复无法自动同步时间

NTP服务修改器(root)

NTP服务修改器

NTP服务修改器:蓝奏云 密码: 2egc (如需vip请切换至电脑ua)

使用方法:打开软件,选择使用推荐的NTP服务器,点击立即修改,最后点击立即同步。这里默认是苹果的NTP服务器,当然你也可以自己去找可用服务器地址。

使用 adb 命令(未root)

去除WiFi受限无法连接叹号

Android 7.0之前的系统,执行以下命令:

1
adb shell "settings put global captive_portal_server connect.rom.miui.com"

Android 7.0之后的系统,执行以下命令:

1
adb shell "settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204"
1
adb shell "settings put global captive_portal_https_url https://connect.rom.miui.com/generate_204"

上述使用的是小米服务器

修复无法自动同步时间

1
adb shell settings put global ntp_server asia.pool.ntp.org

上述使用 pool.ntp.org 的NTP服务器

头像头像

MortalCat

MortalCat's blog

本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Mo的记事簿