FxxkMIUIAd
1.4.2 · GitHub
More about this app
Turn off MIUI ads with minimal cost
FuckMIUIAd
用最小的代价关闭 MIUI / 澎湃 OS 的广告。
注意
部分机型系统会将以下组件标记为系统应用,从而导致 pm 无法禁用。
目前能找到最好的解决方案是标记为 suspend
可打开 ADB 调试后使用电脑 ADB 执行以下命令:
adb shell pm suspend com.miui.hybrid
adb shell pm suspend com.miui.systemAdSolution
或使用 ShizukuRunner 执行以下命令:
pm suspend com.miui.hybrid
pm suspend com.miui.systemAdSolution
最初的想法
主力机不想 root ,也不想刷面具,不如用最简单的 adb 权限来禁用掉几个毒瘤广告,既不破坏系统完整性,也能减少 MIUI 那些关不掉的广告
目前禁用的组件
com.miui.hybrid快应用框架com.miui.systemAdSolution智能服务(开屏广告)com.miui.msa.global国际版的我也不知道是啥
欢迎向项目提交更多的广告组件, 可以开 issue, 也可以直接修改 Constants.FUCKLIST 并提 PR
目前的宗旨是只禁用影响用户体验的,或者说与用户有交互的部分,所以没有管Analytics和其他几个。
实现
使用此 app 前需先安装 Shizuku 并激活, 或使用 Sui
How Shizuku is used
Can disable and re-enable MIUI ad components via `IPackageManager` through Shizuku.
This is an AI-assisted analysis of Shizuku-related usages in the app's public source code. It is best effort, so it may not catch every single usage.
How this app uses Shizuku
Shizuku is used to turn off and restore MIUI advertising components without uninstalling them.
- Disable MIUI ad apps: the user can switch off the built in MIUI ad components from the app list, applied through the system package service via Shizuku, with suspending used as a backup when disabling is not allowed.
- Restore MIUI ad apps: the user can switch the same ad components back on and unsuspend them, applied through the system package service via Shizuku.
Android APIs or commands used
IPackageManager.setApplicationEnabledSettingIPackageManager.setPackagesSuspendedAsUser
Notable details
Only acts on a small built in list of MIUI ad packages that are already installed on the device, so other apps are untouched.
Changelog
What's new for version 1.4.2
- Target SDK 36
- Japanese version (#37)
Permissions
3 permissions requested