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

推荐订阅源

V
V2EX
PCI Perspectives
PCI Perspectives
Webroot Blog
Webroot Blog
Help Net Security
Help Net Security
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Hacker News: Ask HN
Hacker News: Ask HN
Security Latest
Security Latest
P
Palo Alto Networks Blog
Spread Privacy
Spread Privacy
S
Securelist
V2EX - 技术
V2EX - 技术
Schneier on Security
Schneier on Security
P
Proofpoint News Feed
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Forbes - Security
Forbes - Security
N
News | PayPal Newsroom
Cyberwarzone
Cyberwarzone
C
Cisco Blogs
Cloudbric
Cloudbric
GbyAI
GbyAI
A
About on SuperTechFans
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Vercel News
Vercel News
P
Proofpoint News Feed
SecWiki News
SecWiki News
T
Tailwind CSS Blog
腾讯CDC
C
Cybersecurity and Infrastructure Security Agency CISA
The Hacker News
The Hacker News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
M
MIT News - Artificial intelligence
爱范儿
爱范儿
Microsoft Azure Blog
Microsoft Azure Blog
T
Troy Hunt's Blog
G
Google Developers Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Cisco Talos Blog
Cisco Talos Blog
D
DataBreaches.Net
V
Vulnerabilities – Threatpost
博客园 - 叶小钗
C
Check Point Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Know Your Adversary
Know Your Adversary
T
Tor Project blog
Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
Y
Y Combinator Blog
H
Help Net Security
Latest news
Latest news

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的记事簿