|
9 | 9 | [](https://github.com/aistra0528/Hail/releases) |
10 | 10 | [](LICENSE) |
11 | 11 |
|
12 | | -Hail is a free-as-in-freedom software to freeze Android apps. Enjoy all features freely! |
| 12 | +Hail is a free-as-in-freedom software to freeze Android apps. [GitHub Releases](https://github.com/aistra0528/Hail/releases) |
13 | 13 |
|
14 | | -[<img src="coolapk-badge.png" alt="Get it on CoolApk" height="80">](https://www.coolapk.com/apk/com.aistra.hail) |
15 | 14 | [<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" alt="Get it on F-Droid" height="80">](https://f-droid.org/packages/com.aistra.hail/) |
16 | | -[<img src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png" alt="Get it on Google Play" height="80">](https://play.google.com/store/apps/details?id=com.aistra.hail) |
17 | | - |
18 | | -CoolApk releases are signed the same |
19 | | -as [GitHub Releases](https://github.com/aistra0528/Hail/releases), and F-Droid releases are signed |
20 | | -by F-Droid. |
21 | | - |
22 | | -Google Play releases are the [Fork](https://github.com/purofle/Hail) |
23 | | -by [@purofle](https://github.com/purofle), signed by Google. |
24 | 15 |
|
25 | 16 | <img src="fastlane/metadata/android/en-US/images/phoneScreenshots/1.png" width="32%" /> <img src="fastlane/metadata/android/en-US/images/phoneScreenshots/2.png" width="32%" /> <img src="fastlane/metadata/android/en-US/images/phoneScreenshots/3.png" width="32%" /> |
26 | 17 |
|
@@ -55,16 +46,15 @@ Suspended apps will be shown as grayscale icons in the launcher. Unsuspend them |
55 | 46 |
|
56 | 47 | ## Working mode |
57 | 48 |
|
58 | | -Hail can work with `Device Owner`, `Superuser` (Root) and `Shizuku` (including Sui). |
| 49 | +Hail can work with `Device Owner`, `Dhizuku`, `Superuser` (Root) and `Shizuku` (including Sui). |
59 | 50 |
|
60 | 51 | **Frozen app need to be unfrozen by the same working mode.** |
61 | 52 |
|
62 | | -1. For devices support wifi adb or rooted, `Shizuku` is |
63 | | - recommend. [About Shizuku](https://github.com/RikkaApps/Shizuku) |
| 53 | +1. For devices support wifi adb or rooted, `Shizuku` is recommend. |
64 | 54 |
|
65 | 55 | 2. For rooted devices, `Superuser` is alternative. **It is slower.** |
66 | 56 |
|
67 | | -3. Select `Device Owner` otherwise. **It's a pain to set up.** |
| 57 | +3. Select `Device Owner` or `Dhizuku` otherwise. **These are a pain to set up.** |
68 | 58 |
|
69 | 59 | ### Device Owner - Hide / Suspend |
70 | 60 |
|
@@ -99,37 +89,47 @@ Search the message by search engine otherwise. |
99 | 89 |
|
100 | 90 | #### Remove device owner |
101 | 91 |
|
102 | | -Long press Hail at Apps, then select Uninstall in options. |
| 92 | +Settings > Remove Device Owner |
| 93 | + |
| 94 | +### [Dhizuku](https://github.com/iamr0s/Dhizuku) - Hide / Suspend |
| 95 | + |
| 96 | +This mode invoke: |
| 97 | + |
| 98 | +- `DevicePolicyManager.setApplicationHidden` to hide apps. |
103 | 99 |
|
104 | | -### Superuser - Disable / Suspend |
| 100 | +- `DevicePolicyManager.setPackagesSuspended` to suspend apps. |
| 101 | + |
| 102 | +### Superuser - Disable / Hide / Suspend |
105 | 103 |
|
106 | 104 | This mode execute: |
107 | 105 |
|
108 | 106 | - `pm disable` to disable apps. |
109 | 107 |
|
| 108 | +- `pm hide` to hide apps. |
| 109 | + |
110 | 110 | - `pm suspend` to suspend apps. |
111 | 111 |
|
112 | | -### Shizuku - Disable / Hide / Suspend |
| 112 | +### [Shizuku](https://github.com/RikkaApps/Shizuku) - Disable / Hide / Suspend |
113 | 113 |
|
114 | 114 | This mode invoke non-SDK interface: |
115 | 115 |
|
116 | 116 | - `IPackageManager.setApplicationEnabledSetting` to disable apps. |
117 | 117 |
|
118 | | -- `IPackageManager.setApplicationHiddenSettingAsUser` to hide apps. (root may be required) |
| 118 | +- `IPackageManager.setApplicationHiddenSettingAsUser` to hide apps. (root required) |
119 | 119 |
|
120 | 120 | - `IPackageManager.setPackagesSuspendedAsUser` to suspend apps. |
121 | 121 |
|
122 | 122 | ## Revert |
123 | 123 |
|
124 | | -### By adb (root may be required) |
| 124 | +### By adb |
125 | 125 |
|
126 | 126 | Replace com.package.name to the package name of target app. |
127 | 127 |
|
128 | 128 | ```shell |
129 | 129 | # Enable app |
130 | 130 | adb shell pm enable com.package.name |
131 | | -# Unhide app |
132 | | -adb shell pm unhide com.package.name |
| 131 | +# Unhide app (root required) |
| 132 | +adb shell su -c pm unhide com.package.name |
133 | 133 | # Unsuspend app |
134 | 134 | adb shell pm unsuspend com.package.name |
135 | 135 | ``` |
|
0 commit comments