Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
aistra0528 committed Mar 24, 2024
1 parent 21e8bf4 commit e0eb2b3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@
## 工作模式

雹支持以`设备所有者``Dhizuku``超级用户` (Root)`Shizuku` (含 Sui) 模式工作。
雹支持以`设备所有者``Dhizuku``Root``Shizuku` (含 Sui) 模式工作。

**冻结的应用需要通过相同工作模式解冻。**

1. 如果您的设备支持无线调试或已 root,推荐选择`Shizuku`

2. 如果您的设备已 root,可选择`超级用户`**此模式速度相对较慢。**
2. 如果您的设备已 root,可选择`Root`**此模式速度相对较慢。**

3. 如果您的设备不支持无线调试且未 root,可选择`设备所有者``Dhizuku`**这些模式设置较为繁琐。**

Expand Down Expand Up @@ -92,9 +92,9 @@ Active admin set to component {com.aistra.hail/com.aistra.hail.receiver.DeviceAd

- `DevicePolicyManager.setPackagesSuspended`方法暂停应用。

### 超级用户 - 停用 / 隐藏 / 暂停
### Root - 停用 / 隐藏 / 暂停

此模式通过授予雹超级用户 (Superuser) 权限,执行:
此模式通过授予雹 root 权限,执行:

- `pm disable`命令停用应用。

Expand Down
9 changes: 5 additions & 4 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ apps. [GitHub Releases](https://github.com/aistra0528/Hail/releases)

## Freeze

Freeze is a word that describes the action of **blocking (immediately stopping) apps when they are unnecessary (on-demand
Freeze is a word that describes the action of **blocking (immediately stopping) apps when they are unnecessary (
on-demand
request)** to use the device
in a better way, cut down on the usage of RAM and save power. Users can also unfreeze them to revert to their original
state.
Expand Down Expand Up @@ -48,13 +49,13 @@ Suspended apps will have their icons shown in a grayscale in the device's launch
## Working mode

Hail can work with `Device Owner`, `Dhizuku`, `Superuser` (Root) and `Shizuku` (including Sui).
Hail can work with `Device Owner`, `Dhizuku`, `Root` and `Shizuku` (including Sui).

**Any apps that have been frozen on Hail will need to be unfrozen by the same working mode.**

1. For devices supporting wifi adb or rooted devices, `Shizuku` is recommend.

2. For rooted devices, `Superuser` is an alternative. **It is slower.**
2. For rooted devices, `Root` is an alternative. **It is slower.**

3. Select `Device Owner` or `Dhizuku` otherwise. **These are a pain to set up.**

Expand Down Expand Up @@ -101,7 +102,7 @@ This mode invoke:

- `DevicePolicyManager.setPackagesSuspended` to suspend apps.

### Superuser - Disable / Hide / Suspend
### Root - Disable / Hide / Suspend

This mode execute:

Expand Down

0 comments on commit e0eb2b3

Please sign in to comment.