fei-ke / unlock-cn-gms

Magisk 模块,去除国行 GMS 某些限制
559 stars 27 forks source link

feat: support coloros 12 for oneplus devices #8

Closed ilazycat closed 1 year ago

ilazycat commented 1 year ago

Use bind mount to replace color os permission files since it is not in directory that magisk can directly replace. Unmount this file afterwards to avoid magisk being detected by momo somehow.

sanzo-mlgb commented 1 year ago

实测中,如果卸载的话,无法生效,coloro 13 删掉第20行则正常生效

ilazycat commented 1 year ago

实测中,如果卸载的话,无法生效,coloro 13 删掉第20行则正常生效

@sanzo-mlgb 你不要看文件本身,卸载了之后文件肯定就被还原成原始内容了。你可以看看 gms 的 location history 之类的功能是否还是启用的,如果是启用的就没问题。这几个 permission 是启动的时候加载的,后面文件内容还原回去了也不影响。

ilazycat commented 1 year ago

@sanzo-mlgb 我现在是 coloros 12,umount 之后文件被还原了,但功能还是在的。

sanzo-mlgb commented 1 year ago

@sanzo-mlgb 我现在是 coloros 12,umount 之后文件被还原了,但功能还是在的。

在我的C13上就是umount 之后文件被还原了,功能也没了,看DNS记录还是走googleapis.cn了,商店依然无法更新。把service.sh删掉,再重启,好了

ilazycat commented 1 year ago

@sanzo-mlgb 我现在是 coloros 12,umount 之后文件被还原了,但功能还是在的。

在我的C13上就是umount 之后文件被还原了,功能也没了,看DNS记录还是走googleapis.cn了,商店依然无法更新。把service.sh删掉,再重启,好了

@sanzo-mlgb 那可能是 gms 版本不一样导致的,我这里文件被还原了不影响已生效的功能。

去掉这个主要是有 bind mount 的时候有些应用可以检测到 magisk,很烦。那我先去掉 umount 的逻辑