

Clash for Magisk简明教程(v3.5.1)
source link: https://direct5dom.github.io/2023/05/13/Clash-for-Magisk%E7%AE%80%E6%98%8E%E6%95%99%E7%A8%8B%EF%BC%88v3-5-1%EF%BC%89/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Clash for Magisk简明教程(v3.5.1)
2023-05-13Android

抛弃传统Clash,选择Clash for Magisk。
Clash for Magisk相比传统的Clash for Android有着很多好处,最重要的就是他作为Magisk模块,可以以比APP形式的Clash for Android更加底层的运作,流量代理也会更加彻底。
举个例子:Clash for Magisk启用后,手机开启的热点都可以被代理流量。
准备与安装
刷入Magisk获取ROOT权限
Clash for Magisk作为Magisk模块,自然是需要手机刷入Magisk并获取ROOT权限的,关于这点可以参考:小米11解锁BL并刷入Magisk获取Root权限 | 相逢在宇宙 0080 (direct5dom.github.io)
下载Clash for Magisk
下载链接:Releases · taamarin/ClashforMagisk (github.com)
此外,本模块的GitHub Repo已经于2023年2月28日设为Archived,作者将该模块的功能集成进了Box For Magisk,但是考虑后者目前可能不够稳定,我仍然选择Clash for Magisk。
安装Clash for Magisk
直接在Magisk模块中选择从本地安装
,然后选择我们刚刚下载的.zip
文件即可。
刷入模块后重启手机以完成安装。
这里需要编辑配置文件,你可以选择诸如
MT文件管理器
这种可以获得ROOT权限的文件管理器,或者像我一样直接使用Termux。
编辑文件/data/clash/clash.config
;
将auto_updateSubcript="false"
改为auto_updateSubcript="true"
;
将Subcript_url="url"
改为Subcript_url="你的订阅链接"
;
将config_online="false"
改为config_online="true"
;
启动命令:
sudo sh /data/clash/scripts/start.sh
启动模块后,在浏览器打开http://127.0.0.1:9090/ui
即可。
Recommend
-
352
README.md
-
166
README.md Clash for Windows
-
41
Who looks outside, dreams; who looks inside, awakes. Show me a sane man and I will cure him for you. Carl Jung We’re made of star stuff. We are a way for the cosmo...
-
50
It has been a tumultuous week for gaming on Linux. Last Tuesday afternoon, Canonical's Steve Langasek announced that 32-bit libs...
-
6
19 October 2020 Clash of mindsets: puzzles vs. mysteries Puzzles are solvable, knowable, with clear rules and objective answers. Mysteries are complex, murky, incapable of resolution. The world is full of both: why i...
-
15
Code and Culture: What Happens When They Clash November 24, 2020 by Lora Maslenitsyna //
-
11
What Is It? The “Clash of Styles” series is a collection of six articles that provides a practical and unbiased comparison between Functional and Object-Oriented Paradigms on a fundamental level. One of my main goals is...
-
5
Intro So far, in this series, you’ve seen plenty of comparisons between Functional and Object-Oriented Programming. In Part #3, in particular,...
-
9
Intro Object-Oriented Programming is by far the most popular programming paradigm. OOP strengths are indisputable and well known, but it also has its weaknesses. In this article, I’ll show you that sometimes pure OOP can...
-
267
一只会敲代码的SheepClash Premium For Magisk的使用发表于2020-10-11|更新于2021-05-14|教程阅读量:10...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK