ToolsTips & Tricks

What Is Riru? | How to Use it on Android Phones?

In this guide we will be talking about Riru and we will be discussing how to use it on your device. Before Magisk became the big name in the world of Android development, the go to app for development was Xposed Framework.

Users are able to replace any method in any class at runtime through Xposed and a purpose-built module instead of decompiling applications, modifying the little bits and pieces, compiling them again and having to place the modded files back in our devices.

Basically, the Xposed Framework is a modified version of the /system/bin/app_process which loads additional JAR files on setup. This gives developers the authority to work with the Zygote process and perform their activities in it’s context.

Magisk is a tool that allows for systemless modding. This means that there is a possibility for users to make a Magisk module to modify the Zygote process without having to actually modify the app process executable. Here, Magisk steps in.

What is Riru?

Riru is a specific Magisk Module created by developers Rikka and yujincheng08 which offers the functionalities of Xposed framework without having to install the older Xposed framework.

It can make Zygote work in a way which allows other modules to properly run their codes in applications and the system server.


Riru at the start was actually based on replacing a system library known as libmemtrack. With time, this method was dropped and another system property was adopted, known as “native bridge” (ro.dalvik.vm.native.bridge).

By making use of this property, developers are able to synchronously load and unload any libraries they have shared. This leads to injecting into the Zygote process.

Download and Install

As we have mentioned above in this guide, Riru is a Magisk module. Previously, you could have searched for the module in the built-in module browser in the Magisk app.

But as this feature has been removed, you should follow the link provided below and download the Riru module from it’s GitHub repository.

Download: Riru

After you have downloaded the ZIP file from above, you can install it using Magisk app.

  1. Connect your device to your computer and then copy and paste the downloaded ZIP file to the internal memory of your device.
  2. Open the Magisk application on your device and head over to the Modules tab using the navigation
  3. Tap on Internal from storage.
  4. Now search for the module ZIP that you downloaded and select it.
  5. With this, the installation of the Module will begin and after it is installed, it will ask you to reboot your device.


What Is Riru? | How to Use it?
Image Credits:
What Is Riru? | How to Use it on Android Phones? 1
Image Credits:

If you are able to see Riru listed under the Modules tab in the Magisk app after rebooting, then you have completed the process correctly. If you are not able to see it listed in the Modules tab, you should try carrying out the installation process again.

Riru Features

This Magisk module basically provides a route for the other modules to hook themselves into the Zygote process. So in order to make use of Riru, you will need to install Magisk modules that are compatible with the module.

If you have installed Riru modules will be listed alongside Magisk modules in the Magisk application. After that, you can open the module-specific configuration front-end in order to modify its parameters.

Further, the modules that have no interface will also work properly if you just continue using your modded Android instance. The work is taken care of by Riru in the background.

So that was it from our side on Riru and it’s functionality. We hope that you found this guide helpful. Let us know what you think in the comment section below.

Uzair Hussain

Uzair Hussain is a dedicated writer who loves to read and research about android phones and technology. Has always enjoyed exploring further into tech and likes to share his knowledge through publishing writings.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button