Add more details in readme

This commit is contained in:
2025-07-14 14:54:54 +03:00
parent 1b9e89c4f8
commit e0c17a8307

View File

@@ -4,7 +4,7 @@ Some GSIs on Android devices can cause random reboots. This is usually caused by
Compatible with Magisk, APatch, KSU.
### What is `watchdog`?
A `watchdog` is a monitoring system built into the kernel. It performs a system reboot based on whether the system has frozen. Its logic is as follows: if no data is written to the watchdog's device (`/dev/watchdog*``) for a certain period of time (such as 10 seconds), the watchdog considers the system frozen and reboots it.
A `watchdog` is a monitoring system built into the kernel. It performs a system reboot based on whether the system has frozen. Its logic is as follows: if no data is written to the watchdog's device (`/dev/watchdog*`) for a certain period of time (such as 10 seconds), the watchdog considers the system frozen and reboots it.
### How does the module work?
What this module does is write data to the `watchdog` devices at 8-second intervals. The letter '`V`' is used to disable it. Other modules generally do this once and then quit, but in some cases, the data written there is invalidated (changed, etc.). When invalidated, the watchdog still runs, causing the random restart issue (if any). This module, therefore, writes data continuously and tries to prevent this as much as possible.
@@ -30,7 +30,7 @@ sudo dnf install zip cmake
sudo pacman -Sy zip cmake
```
Now you can easily compile for arm64-v8a and armeabi-v7a with the `build.sh` script.
Now you can easily compile for `arm64-v8a` (64-bit) and `armeabi-v7a` (32-bit) with the `build.sh` script.
```bash
# Usage: build.sh build|rebuild|clean