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

推荐订阅源

Security Latest
Security Latest
Apple Machine Learning Research
Apple Machine Learning Research
D
Docker
美团技术团队
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
宝玉的分享
宝玉的分享
月光博客
月光博客
J
Java Code Geeks
V
V2EX
IT之家
IT之家
T
Troy Hunt's Blog
D
DataBreaches.Net
Cloudbric
Cloudbric
Blog — PlanetScale
Blog — PlanetScale
H
Hackread – Cybersecurity News, Data Breaches, AI and More
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
G
Google Developers Blog
MongoDB | Blog
MongoDB | Blog
The GitHub Blog
The GitHub Blog
Jina AI
Jina AI
Google DeepMind News
Google DeepMind News
Engineering at Meta
Engineering at Meta
博客园 - Franky
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
H
Help Net Security
Application and Cybersecurity Blog
Application and Cybersecurity Blog
S
Security @ Cisco Blogs
N
News and Events Feed by Topic
aimingoo的专栏
aimingoo的专栏
S
Security Affairs
Hugging Face - Blog
Hugging Face - Blog
Forbes - Security
Forbes - Security
AI
AI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
腾讯CDC
H
Heimdal Security Blog
The Cloudflare Blog
S
SegmentFault 最新的问题
Google Online Security Blog
Google Online Security Blog
Webroot Blog
Webroot Blog
有赞技术团队
有赞技术团队
The Hacker News
The Hacker News
Microsoft Security Blog
Microsoft Security Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
罗磊的独立博客
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - 聂微东
Help Net Security
Help Net Security
T
The Exploit Database - CXSecurity.com

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