Skip to content

Path hiding function conflicts with nohello module when app is in exclude mode/路径隐藏功能与nohello模块的冲突 #138

@MaYecha

Description

@MaYecha

Please check before submitting an issue | 在提交 Issue 前请检查

  • I searched the issues and didn't found anything relevant | 我已经搜索了 Issues 列表,没有发现于本问题相关内容
  • If the patch fails or the image cannot be booted after flashing the new boot.img, visit KernelPatch to clarify your doubts | 修复失败或刷入修补后镜像不能启动,请前往 KernelPatch 提问
  • I will upload the bug report file in APatch Manager > Settings > Send logs | 我会上传 Bug Report 文件从 APatch 管理器 > 设置 > 发送日志
  • I know how to reproduce the issue, which might not be specific to my device | 我知道如何重新复现这个问题

Version requirements | 版本要求

  • I'm using the latest CI version of APatch Manager | 我正在使用最新 CI 版本

Bug description | 描述 Bug

After installing the nohello module via FolkPatch (version info attached in screenshots), when an app is added to the No Root exclude list, FolkPatch's path hiding function will completely stop working for this excluded app.
中文:使用FolkPatch安装nohello模块(版本信息见截图)后,针对指定应用开启No Root排除模式,FolkPatch管理器的隐藏路径功能将不再对该排除应用生效。

Reproduce method | 复现方法

1. 英文:Install the latest version of nohello module, do NOT enable path hiding in FolkPatch Manager (target path:  /storage/emulated/0/MT2 )
中文:安装最新版nohello,管理器不开启隐藏路径(隐藏目标 /storage/emulated/0/MT2 )

2. 英文:Install the test app "Chunqiu"
中文:安装测试软件春秋

3. 英文:Set "Chunqiu" to No Root exclude mode in FolkPatch Manager
中文:在管理器选择春秋为No Root不排除模式

4. 英文:Manually create the  MT2  folder in  /storage/emulated/0/ 
中文:手动创建MT2文件夹

5. 英文:Launch "Chunqiu" and confirm it can detect the  MT2  folder
中文:执行春秋,发现mt2文件夹

6. 英文:Enable path hiding for  /storage/emulated/0/mt2  in FolkPatch Manager
中文:针对 /storage/emulated/0/mt2 路径隐藏

7. 英文:Relaunch "Chunqiu", confirm it can no longer detect the  MT2  folder (path hiding works normally)
中文:重新开春秋,成功过掉mt2文件夹检测

8. 英文:Go back to FolkPatch Manager, add "Chunqiu" to the exclude list
中文:前往管理器排除春秋,重新打开春秋

9. 英文:Relaunch "Chunqiu" again
中文:重新发现mt2文件夹

额外验证 | Additional verification:

  • 英文:Uninstall the nohello module, keep both exclude mode and path hiding enabled
    中文:删除nohello,同时开启排除和隐藏路径
  • 英文:Relaunch "Chunqiu", path hiding works correctly again, but the app will trigger "abnormal environment" detection
    中文:正常隐藏mt2路径,但由于缺乏nohello的环境隐藏,春秋将不可避免地出现 abnormal environment

Expected behavior | 预期行为

When nohello module is enabled, an app is in No Root exclude mode, and path hiding is active, the excluded app should still NOT be able to detect the hidden folder.
中文:同时启用nohello模块、将应用设为No Root排除模式、并开启路径隐藏时,被排除的应用仍然无法检测到被隐藏的文件夹。

2. 英文:The app should not trigger abnormal environment detection at the same time.
中文:同时应用不会触发异常环境检测。

Actual behavior | 实际行为

After enabling nohello module, once an app is added to the exclude list, FolkPatch's path hiding function fails entirely for this app. The app can fully detect and access the hidden  /storage/emulated/0/mt2  folder.
中文:启用nohello模块后,一旦将应用加入排除列表,FolkPatch的路径隐藏功能对该被排除应用完全失效,应用可以正常发现并检测到被隐藏的mt2文件夹。

2. 英文:If nohello module is uninstalled, path hiding resumes normal operation for excluded apps, but the app will inevitably show "abnormal environment" error.
中文:若卸载nohello模块,路径隐藏功能对排除应用恢复正常,但应用会不可避免地出现"abnormal environment"异常环境提示。

Screenshots | 截图

Image

nohello版本截图
Screenshot of the nohello version

Image Image Image

如上三图为控制变量对比测试
The three pictures above show the control variable comparison test

Logs | 日志

FolkPatch_bugreport_2026-05-14_09_09.tar.gz

Device name | 设备名称

联想拯救者Y700四代

OS version | 系统版本

第三方coloros移植包16.0.0.210

APatch version | FolkPatch 版本

114239

Kernel version | 内核版本

6.6.89

KernelPatch version | KernelPatch 版本

0.13.1

Other information | 其他信息

FolkPatch_bugreport_2026-05-14_09_09.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions