关闭 Magisk 自带的 Zygisk,卸载 Shamiko(如有)
安装 Tricky Store
/data/adb/tricky_store/target.txt里添加com.android.bankabc
安装 FS Enhancer Extreme
安装 Zygisk Next
然后安装 KsuWebUI,打开
修改以下 Zygisk Next 配置

  • 排除列表策略改为强制
  • 启用使用匿名内存

并在 Magisk 里配置排除列表

r=0写入/data/user/0/com.android.bankabc/envc.push
chattr +i envc.push
即可

附:关闭 MIUI 的 Root 风险提示
排除列表加上手机管家(com.miui.securitycenter)

记录备用,参数名BATT_AMP_PERVLT

新参数 = (充电器充入电量 / OSD显示放电量) * 旧参数

FHS Linux

/etc/opt/edge/policies/managed/policies.json写入

1
{"HubsSidebarEnabled": false}

即可

NixOS

1
2
3
4
5
6
7
environment.etc = {
"opt/edge/policies/managed/policies.json" = {
text = ''
{"HubsSidebarEnabled": false}
'';
};
};

2025/6/6 经测试,VLESS WS TLS已无法使用,即使通过CDN也不行,表现为WS连接失败

很多时候,我们都不希望服务器显示出这些版本号,那么该如何隐藏呢?

以RockyLinux为例

1
vim /etc/httpd/conf/httpd.conf

添加

1
2
ServerTokens Prod
ServerSignature On

然后

1
vim /etc/php.ini

expose_php改为Off

1
expose_php = Off

现在都是用 Kotlin Gradle DSL 来配置 Android 项目的

那么该如何自定义生成apk的文件名呢?

只需要在app目录下的build.gradle.ktsbuildTypesrelease处添加

1
2
3
4
5
6
7
applicationVariants.all {
outputs.all {
if (this is com.android.build.gradle.internal.api.BaseVariantOutputImpl) {
this.outputFileName = "XXX_${versionName}.apk"
}
}
}

即可

给 Waline 套上 Cloudflare 后,获取到的 IP 都是 CF 的,如何解决呢?

非常简单,只需在仓库里的index.cjs添加

1
think.app.proxyIpHeader = 'CF-Connecting-IP';

就行了

就像这样
1
2
3
4
5
6
7
8
9
10
const Application = require('@waline/vercel');

module.exports = Application({
plugins: [],
async postSave(comment) {
// do what ever you want after comment saved
},
});

think.app.proxyIpHeader = 'CF-Connecting-IP';
0%