Riru Core EdXposed Magisk

daniel_m

Senior Member
Oct 7, 2012
668
289
83
You got Magisk installed on the stock Android 9 ROM? Awesome! But wait, there is more! ?

This thread is meant for the exchange of everyone's experience with Riru and Xposed modules running with EdXposed.
The installation is pretty simple: 1) In Magisk, install "Riru - Core", reboot, 2) install "Riru - EdXposed" (SandHook), reboot, 3) install "EdXposed Manager" (github.com/ElderDrivers/EdXposedManager/releases).

Once everything is set up, install Xposed modules like crazy ... and prepare yourself for a hell of crashes and boot halts ?. Since we do not have TWRP with data decryption yet, you have to be prepared for those boot halts. Therefore, install only one Xposed module at a time, reboot and check if everything is working. If Android does not boot, you can fix your phone using two methods:

Recovering from a boot halt - Method 1
The most obvious way to get around a boot hang is to 1) flash the original boot.img, 2) boot into the UI and uninstall the Xposed module causing the boot halt, and 3) flash "magisk_patched.img" and re-install Magisk from within the Magisk Manager ("Direct install"). SU might stop working if you forget to re-install Magisk (not the Magisk Manager).
The only possible downside is that Magisk and Xposed modules, like XPrivacyLUA, will be inactive during step 2). However, potential privacy/usability issues are less painful than not being able too boot up Android ?.

Recovering from a boot halt - Method 2
If you do not want to disable Magisk and Xposed, flashing the "magisk_patched.img" may make Android boot into the UI ... and give you 10 to 20 seconds before crashing. As a precaution, before you install Xposed modules, 1) remove PIN/password log-on and 2) place a shortcut to the EdXposed Manager and Magisk Manager onto a convenient spot on your desktop. For both managers, you can place a link directly to the Modules tab (at least with Nova launcher).
If things go well, you have 10 to 20 seconds to open the EdXposed Manager and disable the module causing the boot process to fail. If the boot process gets stuck again, even though you flashed "magisk_patched.img", you might succeed by flashing the "magisk_patched.img" several times before rebooting. Even removing the SIM or SD-card may make Android boot up.
If/when you succeed to disable the Xposed module that blocks the boot process, you have to re-install Magisk from within the Magisk Manager ("Direct install"). Otherwise, SU might stop working for you.


Here are Xposed modules that prevent your Pro1 from booting into Pie:
MyAndroidToolsXposed (surely)
DisableFlagSecure (probably)
Screenshot Delay Remover - Mod (probably)

Working fine are:
GravityBox
XPrivacyLUA
AFWall+
Scoop
App Locale 2
InstallerOpt (doesn't crash but doesn't seem to work either)
FakeGApps
 
Last edited:

SAproX1

Senior Member
Jul 13, 2016
58
3
0
I want to install Xposed mainly for MinMinGuard to get ride of these empty ads areas, is this module working fine?
OP 7 Pro Magisk
 

daniel_m

Senior Member
Oct 7, 2012
668
289
83
Sorry for the late reply...
So far, either no one ever tried to run MinMinGuard on the Pro1, or no one ever gave feedback :(
 

Antinee

Member
Oct 19, 2010
14
2
0
Is this thread for Lineage OS only?
Sorry to post here... but to answer your question, no I do not have Magisk installed. lol. As far as I know, TWRP is for Sailfish only. Also, I can't locate the F(X) Tec Pro 1 Boot image anywhere. Build= QX1000_EEA20200825231443.
Kindly, if you installed Magisk using the F(X) Tec Pro 1 boot image and the Magisk "Select And Patch A File" option... Please tell me where you located the boot image?
 

nift4

Senior Member
May 22, 2019
426
119
43
Is this thread for Lineage OS only?
Sorry to post here... but to answer your question, no I do not have Magisk installed. lol. As far as I know, TWRP is for Sailfish only. Also, I can't locate the F(X) Tec Pro 1 Boot image anywhere. Build= QX1000_EEA20200825231443.
Kindly, if you installed Magisk using the F(X) Tec Pro 1 boot image and the Magisk "Select And Patch A File" option... Please tell me where you located the boot image?
You can install the Magisk zip via LineageOS recovery
 

daniel_m

Senior Member
Oct 7, 2012
668
289
83
Is this thread for Lineage OS only?
No, this thread is for the stock ROM only :D
I changed the first posting accordingly.

On LOS, Magisk, Riru and all Xposed modules (that I have installed) work without any problems.
Since I switched to LOS, I won't/can't update the list of working Xposed modules for the stock ROM any more.
 

cnoevl21

Senior Member
Feb 26, 2010
516
20
38
im on a moto g power. stock. installed riru. but when i try to install edxposed it fails and tells me i need install riru-core first. just doesnt seem to recognize riru for some reason.
 

nift4

Senior Member
May 22, 2019
426
119
43
im on a moto g power. stock. installed riru. but when i try to install edxposed it fails and tells me i need install riru-core first. just doesnt seem to recognize riru for some reason.
This is about the Fxtec Pro1. Anyway, that's because Riru is v22 or newer. EdXposes currently needs an older riru
 

peperu

New member
Nov 27, 2020
1
0
0
Hi,

I've installed Magisk 20.4 and Manager 8.0.3 on my lineage os 17.1 (samsung SM-520F) and I'm trying to install Riru Core EdXposed Magisk.
But I can't find any riru-core module Manager: Riru, Riru-EdXposed (Sandhook or YAHFA) but no Riru-core ...
So I've installed Riru, but when I try to install Riru-EdXposed, magisk complains about Riru-core missing.

Where can I find Riru-core ?

Thanks
 

cnoevl21

Senior Member
Feb 26, 2010
516
20
38
Hi,

I've installed Magisk 20.4 and Manager 8.0.3 on my lineage os 17.1 (samsung SM-520F) and I'm trying to install Riru Core EdXposed Magisk.
But I can't find any riru-core module Manager: Riru, Riru-EdXposed (Sandhook or YAHFA) but no Riru-core ...
So I've installed Riru, but when I try to install Riru-EdXposed, magisk complains about Riru-core missing.

Where can I find Riru-core ?

Thanks
https://github.com/RikkaApps/Riru/releases

But im in the same boat as you. Im not sure how far back we need to go to get a riru version that works with edxposed. nor do i know how to install it, since it wont be in magisk manager.
 

nift4

Senior Member
May 22, 2019
426
119
43
Hi,

I've installed Magisk 20.4 and Manager 8.0.3 on my lineage os 17.1 (samsung SM-520F) and I'm trying to install Riru Core EdXposed Magisk.
But I can't find any riru-core module Manager: Riru, Riru-EdXposed (Sandhook or YAHFA) but no Riru-core ...
So I've installed Riru, but when I try to install Riru-EdXposed, magisk complains about Riru-core missing.

Where can I find Riru-core ?

Thanks
1. Riru Core has been renamed to Riru
2. you need to use Version 21

---------- Post added at 10:14 PM ---------- Previous post was at 10:12 PM ----------

https://github.com/RikkaApps/Riru/releases

But im in the same boat as you. Im not sure how far back we need to go to get a riru version that works with edxposed. nor do i know how to install it, since it wont be in magisk manager.
Version 21 of Riru at that link. You can install it via the flash from storage button in the download modules page

EDIT: Direct link to the correct ZIP: https://github.com/RikkaApps/Riru/releases/download/v21.3/magisk-riru-v21.3.zip
 

cnoevl21

Senior Member
Feb 26, 2010
516
20
38
1. Riru Core has been renamed to Riru
2. you need to use Version 21

---------- Post added at 10:14 PM ---------- Previous post was at 10:12 PM ----------


Version 21 of Riru at that link. You can install it via the flash from storage button in the download modules page

EDIT: Direct link to the correct ZIP: https://github.com/RikkaApps/Riru/releases/download/v21.3/magisk-riru-v21.3.zip
Thank you. i did get it to work. but now the phone doesnt pass safetynet. Looks like canary fixes this, but it says its not stable. so i worry installing it would brick the phone.
Maybe i just need to get over having back button kill and double tapping recent for screenshot lol
 

nift4

Senior Member
May 22, 2019
426
119
43
Thank you. i did get it to work. but now the phone doesnt pass safetynet. Looks like canary fixes this, but it says its not stable. so i worry installing it would brick the phone.
Maybe i just need to get over having back button kill and double tapping recent for screenshot lol
Did you enable Pass SafetyNet in EdXposed settings