lingeringsound / 10007

hosts of block ads
https://lingeringsound.github.io/10007/
GNU General Public License v3.0
320 stars 3 forks source link

删除困难 #4

Closed derek565 closed 7 months ago

derek565 commented 8 months ago

感觉模块会影响一些正常操作,例如番茄小说无法通过抖音登录,删除了模块后,依旧不行,可能没有彻底卸载或hosts文件没有改过来

lingeringsound commented 8 months ago

所以我说过,尽量不要用模块,直接用Adaway之类的,用订阅,而不是模块,因为你不清楚模块做了什么,就不要用它,否则就是在养蛊。

lingeringsound commented 8 months ago

另外,手机使用环境不同,我也没办法复现问题,毕竟我这边是正常登陆的。

derek565 commented 8 months ago

所以我说过,尽量不要用模块,直接用Adaway之类的,用订阅,而不是模块,因为你不清楚模块做了什么,就不要用它,否则就是在养蛊。

所以我现在在研究怎么修复,然后看看能不能搭配adguard使用

lingeringsound commented 8 months ago

最简单就是卸载重装。

lingeringsound commented 8 months ago

这两个软件都有云同步,清除数据,不影响。

derek565 commented 8 months ago

卸载重装后貌似不管用,主要是我没有备份过原来的hosts文件,不太清楚它具体修改了什么,对于手机的hosts没研究过

lingeringsound commented 8 months ago

下载一个 Adaway ,刷入magisk的或者ksu的systemless hosts模块,重启,然后在Adaway点击中间的暂停键,这样就会恢复hosts。

或者你自己想办法使得原本的hosts内容为

127.0.0.1   localhost
::1 localhost

路径在/system/etc/hosts

lingeringsound commented 8 months ago

magisk自带hosts模块,ksu可以用这个 https://github.com/symbuzzer/systemless-hosts-KernelSU-module

derek565 commented 8 months ago

emmm......直接覆盖了整个hosts文件Screenshot_2024-01-26-22-46-12-935_bin.mt.plus.jpg

lingeringsound commented 8 months ago

hosts文件内容只保留这点玩意就够了

127.0.0.1   localhost
::1 localhost
derek565 commented 8 months ago

hosts文件内容只保留这点玩意就够了

127.0.0.1 localhost
::1   localhost

TAG: 2.14.4(23122788) PERMISSION: ROOT ABI: arm64-v8a MODEL: 23013RK75C SDK: 34 RELEASE: 14 TARGET_SDK: 30 ---StackTrace--- java.io.IOException: Unable to open file '/system/etc/4854216.tmp': Read-only file system at l.ۛ۫ۡ.ۢ(E18D:102) at l.۟ۖۡ.ۢ(G17N:1333) at l.۟ۖۡ.ۥ(G17N:624) at l.۟ۖۡ.ۥ(G17N:568) at l.ۗ۬ۡ.ۥ(X17Q:522) at l.ۘۙۘ.ۢ(PAU5:346) at l.ۤۙۗ.ۢ(E12E:35) at l.ۢۙۗ.ۢ(F183:693) at l.ۡۙۘ.ۢ(UB32:126) at l.۫ۗۘ.ۢ(AB3S:1249) at l.۫ۗۘ.ۢ(AB3S:1215) at l.ۖۗۘ.ۨ(OB3E:1160) at l.ۧۖۛۢ.ۢ(E4WB:115) at l.ۦۧۤ.run(SAU0:0) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) at java.lang.Thread.run(Thread.java:1012) Caused by: java.io.IOException: Unable to open file '/system/etc/4854216.tmp': Read-only file system at l.۟ۖۡ.ۥ(G17N:1154) at l.۟ۖۡ.ۢ(G17N:633) at l.ۧۨۡ.call(VAU3:0) at l.۟ۖۡ.ۢ(G17N:1306) ... 15 more

root下的mt居然也提示只读,无法修改,看来只能用adway试一下了