Riru | Inject into zygote process
kandi X-RAY | Riru Summary
kandi X-RAY | Riru Summary
Riru only does one thing, inject into zygote in order to allow modules to run their codes in apps or the system server. The name, Riru, comes from a character. (
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Riru
Riru Key Features
Riru Examples and Code Snippets
Community Discussions
Trending Discussions on Riru
QUESTION
I want to remove Google apps and services on a new Fairphone 4 (Android 11, now rooted using Magisk. No TWRP build available yet.).
To this end, I am trying to use microG. In the Prerequisites for its usage, signature spoofing and deleting files in system/priv-app
are listed. For signature spoofing, I followed the XPosed solution for Android 11 and 12 listed here, i.e. using Magisk + riru + LSPosed + a FakeGApps fork. Not sure, whether or not this worked. All individual steps reported success, but the Signature Spoofing Checker says it didn't work.
Anyway, I'm definitely stuck at the second step, because I don't seem to be able to delete any files in system_ext/priv-app
. I tried the solutions proposed here and here.
If I try
ANSWER
Answered 2021-Dec-27 at 18:12I asked the question simultaneously on the XDA Forums, and got a reply there.
At the stage described above (unlocked bootloader, Magisk, signature spoofing with riru + LSPosed), all that's needed is to install NanoDroid with microG as a Magisk module. Download the current NanoDroid-microG zip from here:
https://downloads.nanolx.org/NanoDroid/Stable/
either on your phone directly or transfer it to your phone, then install it as a Magisk module from storage. Voilà, GApps are removed (or at least inaccessible) and microG works. Best to then update microG, e.g. via its F-Droid repo: https://microg.org/download.html.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Riru
From Magisk Manager Search "Riru" in Magisk Manager Install the module named "Riru" The Magisk version requirement is enforced by Magisk Manager. You can check Magisk's module installer script.
Manually Download the zip from the GitHub release Install in Magisk Manager (Modules - Install from storage - Select downloaded zip)
:riru:assembleDebug/Release Generate Magisk module zip to out.
:riru:pushDebug/Release Push the zip with adb to /data/local/tmp.
:riru:flashDebug/Release Flash the zip with adb shell su -c magisk --install-module.
:riru:flashAndRebootDebug/Release Flash the zip and reboot the device.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page