{"id":19336840,"url":"https://github.com/blackbbc/evil-hide","last_synced_at":"2025-10-18T16:21:53.783Z","repository":{"id":84995113,"uuid":"53317077","full_name":"blackbbc/Evil-Hide","owner":"blackbbc","description":"An android app that can hide other apps' icon in the launcher without root permission. 一个用于隐藏应用的app（不需要Root权限）","archived":false,"fork":false,"pushed_at":"2017-09-04T09:04:30.000Z","size":3674,"stargazers_count":331,"open_issues_count":4,"forks_count":62,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-09T22:16:38.152Z","etag":null,"topics":["android"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blackbbc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-07T10:32:56.000Z","updated_at":"2025-01-13T10:46:18.000Z","dependencies_parsed_at":"2023-11-13T06:00:24.261Z","dependency_job_id":null,"html_url":"https://github.com/blackbbc/Evil-Hide","commit_stats":{"total_commits":43,"total_committers":1,"mean_commits":43.0,"dds":0.0,"last_synced_commit":"2ae183c5a763099a0401c4c6a176879bd1142ccc"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbbc%2FEvil-Hide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbbc%2FEvil-Hide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbbc%2FEvil-Hide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackbbc%2FEvil-Hide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blackbbc","download_url":"https://codeload.github.com/blackbbc/Evil-Hide/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119288,"owners_count":21050755,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android"],"created_at":"2024-11-10T03:12:39.235Z","updated_at":"2025-10-18T16:21:48.743Z","avatar_url":"https://github.com/blackbbc.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"中文 | [English][2]\n\n# Evil Hide\n隐藏app的app。用处自己挖掘。\n\n![1](./demo.gif)\n\n### 注意：\n只在Nexus 4、Nexus 5X上测试通过，小米手机不能使用(MIUI会把不在近期任务列表里的应用杀掉，导致应用的BroadcastReceiver不能响应拨号事件)\n\n### 特点：\n- 可以隐藏软件自身的图标，并通过在拨号盘输入暗号启动应用\n- 不需要root！（仅限`原生Android 5.0`以上，一般而言，Nexus家族是可以使用的，包括但不限于Nexus 4、Nexus 5、Nexus 5x、Nexus 6P等，第三方厂商自己修改过的ROM不可使用，包括但不限于三星，小米，华为等）\n\n### 原理\n在Android 5.0以下使用以下命令显示和隐藏（需要root权限）：\n```\nadb shell pm endable \u003cpackage_name\u003e\nadb shell pm disable \u003cpackage_name\u003e\n```\n在Android 5.0及以上使用以下命令显示和隐藏（不需要root，但是需要系统权限）:\n```\nadb shell pm hide \u003cpackage_name\u003e\nadb shell pm unhide \u003cpackag_name\u003e\n```\n\n区别：\n`hide`命令相当于`uninstall -k`卸载应用但是保留数据\n\n实际上，`hide`命令最终调用了以下函数（来自`android.content.pm.PackageManager`）. 不幸的是, 它被标识为`@hide`, 所以在Android SDK中，你无法通过正常手段调用它.\n```\n/**\n * Puts the package in a hidden state, which is almost like an uninstalled state,\n * making the package unavailable, but it doesn't remove the data or the actual\n * package file. Application can be unhidden by either resetting the hidden state\n * or by installing it, such as with {@link #installExistingPackage(String)}\n * @hide\n */\npublic abstract boolean setApplicationHiddenSettingAsUser(String packageName, boolean hidden,\n        UserHandle userHandle);\n```\n\n\n### 用法：\n如果你想使用非root版本，请确保满足条件并切换到`noroot`分支\n```\ngit checkout noroot\n```\n\n本软件的默认启动密码是`#1234`\n启动方式：\n打开拨号盘，输入`#1234`，再拨出，就可以启动本应用了，然后在应用列表里选择应用是否隐藏即可\n\n### 待做列表：\n- [x] Android 6.0的权限管理\n- [x] 当检测到手机是Android 4.4以上时，使用`pm hide`代替`pm disable`\n- [ ] 使用密码启动被隐藏的应用\n\n[1]: https://github.com/blackbbc/Evil-Hide/blob/master/README.md\n[2]: https://github.com/blackbbc/Evil-Hide/blob/master/README_en.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackbbc%2Fevil-hide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackbbc%2Fevil-hide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackbbc%2Fevil-hide/lists"}