Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
RikkaW committed Jul 18, 2021
1 parent 039ab90 commit 9c38a72
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,25 @@ Android 6.0+ devices rooted with [Magisk](https://github.com/topjohnwu/Magisk)
1. Search "Riru" in Magisk Manager
2. Install the module named "Riru"

> The Magisk version requirement is enforced by Magisk Manager. At the time of the release of Magisk v21.1, the requirement is v20.4.
> The Magisk version requirement is enforced by Magisk Manager. You can check [Magisk's module installer script](https://github.com/topjohnwu/Magisk/blob/master/scripts/module_installer.sh).
* Manually

1. Download the zip from the [GitHub release](https://github.com/RikkaApps/Riru/releases)
2. Install in Magisk Manager (Modules - Install from storage - Select downloaded zip)

* "Riru" app (show Riru status)
### Common problems

From v25.4.1, the app is bundled with the module. Create file `/data/adb/modules/riru-core/allow_install_app` to allow the module to install the app.
* Third-party ROMs have incorrect SELinux rule

### Common problems
<https://github.com/RikkaApps/Riru/wiki/Explanation-about-incorrect-SELinux-rules-from-third-party-ROMs-cause-Riru-not-working>

* Have low quality module that changes `ro.dalvik.vm.native.bridge` installed

**If you are using other modules that change `ro.dalvik.vm.native.bridge`, Riru will not work.** (Riru will automatically set it back)

A typical example is, some "optimize" modules change this property. Since changing this property is meaningless for "optimization", their quality is very questionable. In fact, changing properties for optimization is a joke.

* Third-party ROMs have incorrect SELinux rule

<https://github.com/RikkaApps/Riru/wiki/Explanation-about-incorrect-SELinux-rules-from-third-party-ROMs-cause-Riru-not-working>

## How Riru works?

* How to inject into the zygote process?
Expand Down
7 changes: 7 additions & 0 deletions template/magisk_module/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ Many TWRP has broken implementations, which will finally cause Riru and Riru mod

## Changelog

### v26.0.0 (2021-07-18)

- Remove support for pre-v24 modules (it has been more than 4 months and all live modules have upgraded to v24+)
- Display status on module description in Magisk (app is removed because of this)
- Combine `rirud` with `rirud_java`
- Refactor codes

### v25.4.4 (2021-05-07)

- Fix in rare cases "soft boot" causes Riru not working
Expand Down

0 comments on commit 9c38a72

Please sign in to comment.