[Guide] Install EdXposed on Android 10

b0li

Senior Member
Dec 2, 2011
96
22
28
How did I install EdXposed framework on my Google Pixel 3a. Did it for Gravitybox AIO.

1. Installed latest Magisk v20 (guide is in this subforum) on latest Android 10 image.
2. Install Riru-Core v19+ from Magisk repo.
3. Download EdXposed and install it in Magisk Manager manual (modules-->+ and add zip you downloaded).
4. Install companion application-EdXposed manager.
5. Reboot.
Have fun! :)

The installation guide is here

Edit:
Gravitybox first crashed/did not open normally, so I changed the EdXposed from 3. to this YAHFA version from post #30
 

Attachments

Last edited:

Royalfox

Senior Member
Jul 17, 2011
1,533
231
0
Guadalajara
The yafha version you posted finally made my xposed work! I'm on latest December patch anx and confirmed working with these modules I use :
X screen stabilizer
Xinsta
Unclutter ig
Exi for SwiftKey, but some of the functions aren't

Thanks for this!
 

thatsupnow

Senior Member
Jan 31, 2011
2,455
578
193
Vernon
Got this working no problem but a lot of these modules on the repo are old AF!! I remember using a bunch of these back in my galaxy S5 days. Haven't gone thru all of them yet but nothing really catching my eye
 

Royalfox

Senior Member
Jul 17, 2011
1,533
231
0
Guadalajara
I used yahfa 4.5.5 and it works...for some reason the latest version doesnt work

---------- Post added at 08:58 PM ---------- Previous post was at 08:57 PM ----------



I used yahfa 4.5.5 and it works...for some reason the latest version doesnt work
Yeah the latest isn't working for me, I don't know which version it is but the one on the OP edit is doing great over here
 

emale999

Member
Nov 6, 2012
19
8
0
3. Download EdXposed and install it in Magisk Manager manual (modules-->+ and add zip you downloaded).
This download site says "Notes: Since the above PR is not merged yet, to make those sepolicies present you have to use this build along with the customized Magisk build hosted here: https://github.com/solohsu/magisk_files."
I don't know what PR means and what it implys when the PR is not merged :confused: Did you do anything special?

First I just installed the non-YAHFA edXposed release and it seemed to work (bot Gravity Box crashed my device), did try the YAHFA version: Gravity Box crashes my device.
Changed the Magisk Update channel to this URL http://edxp.meowcat.org/repo/version.json (found this somewhere) and updated Magisk. It seemed that this is somehow another Magisk...? But after installing the YAHFA EdXposed module and Gravity Box my device crashes again.
Everything works fine until Gravity Box is installed.

In all cases the Pixel 3a XL reboots just some seconds after boot. Time and again!
It was really hard to disable the Magisk module in that short time to get back a working device.

None of you had such a problem?
 

Skittles9823

Recognized Contributor
Jan 9, 2015
1,809
2,041
113
22
Sydney
This download site says "Notes: Since the above PR is not merged yet, to make those sepolicies present you have to use this build along with the customized Magisk build hosted here: https://github.com/solohsu/magisk_files."
I don't know what PR means and what it implys when the PR is not merged :confused: Did you do anything special?

First I just installed the non-YAHFA edXposed release and it seemed to work (bot Gravity Box crashed my device), did try the YAHFA version: Gravity Box crashes my device.
Changed the Magisk Update channel to this URL http://edxp.meowcat.org/repo/version.json (found this somewhere) and updated Magisk. It seemed that this is somehow another Magisk...? But after installing the YAHFA EdXposed module and Gravity Box my device crashes again.
Everything works fine until Gravity Box is installed.

In all cases the Pixel 3a XL reboots just some seconds after boot. Time and again!
It was really hard to disable the Magisk module in that short time to get back a working device.

None of you had such a problem?
For the 3a XL, you can use official magisk. Just use the canary version (you can use https://del.dog/DebugMagiskCanary in the updater URL for it.) Then use the canary yahfa builds from the edxposed installer app. Gravity box for Android 10 should work fine with that setup, I was using it for a few months. Make sure the latest Riru core is installed from the magisk repo as well.

Sent from my Google Pixel 3a XL using XDA Labs
 

emale999

Member
Nov 6, 2012
19
8
0
Then use the canary yahfa builds from the edxposed installer app.
Did you mean the edXposed Manager app from https://github.com/ElderDrivers/EdXposedManager/releases/?
And installing the "Framework" under tab Canary (see attached screenshot) just installs the Magisk Module? Didn't expect this because Magisk is nowhere mentioned...

Just don't want to install the wrong thing because of missing TWRP for Pixel 3a XL with Android 10 ... all risky enough :(
 

Attachments

Skittles9823

Recognized Contributor
Jan 9, 2015
1,809
2,041
113
22
Sydney
Did you mean the edXposed Manager app from https://github.com/ElderDrivers/EdXposedManager/releases/?
And installing the "Framework" under tab Canary (see attached screenshot) just installs the Magisk Module? Didn't expect this because Magisk is nowhere mentioned...

Just don't want to install the wrong thing because of missing TWRP for Pixel 3a XL with Android 10 ... all risky enough :(
Yes that's correct. The zips there are for magisk and they'll flash fine. Everything worked perfectly when I was on stock on the January patch.

Sent from my Google Pixel 3a XL using XDA Labs
 

Pogo

Senior Member
Mar 19, 2007
126
42
0
EdXposed not working on Feb factory image

I have problem with February factory image, EdXposed is not working.
I'm coming form Pie, custom ROM.
Performed factory reset, flashed factory image from February (sargo-qq1a.200205.002-factory-36d5179f.zip),
Rooted with Magisk 20.3, installed Riru-core 19.7 and Riru-Edxposed 0.4.6.1 (4510) Yahfa, Edxposed Manager 4.5.4.
getting the following errors in the Verbose logs:

Code:
[FONT="Courier New"][SIZE="2"]03-07 13:27:20.648   883   883 I EdXposed: deopt boot image: false
03-07 13:27:20.648   883   883 I EdXposed: no module log: false
03-07 13:27:23.121   882   882 E EdXposed-Bridge: Cannot load any modules because /data/user_de/0/org.meowcat.edxposed.manager/conf/modules.list was not found
03-07 13:27:23.554  1471  1471 E EdXposed: mmap failed, errno = Permission denied
03-07 13:27:23.554  1471  1471 E EdXposed: cannot hook method
03-07 13:27:23.557  1471  1471 E EdXposed: error when hooking com.elderdrivers.riru.edxp._hooker.yahfa.StartBootstrapServicesHooker
03-07 13:27:23.557  1471  1471 E EdXposed: java.lang.RuntimeException: Failed to hook private void com.android.server.SystemServer.startBootstrapServices() with public static void com.elderdrivers.riru.edxp._hooker.yahfa.StartBootstrapServicesHooker.hook(java.lang.Object) throws java.lang.Throwable
03-07 13:27:23.557  1471  1471 E EdXposed: 	at com.elderdrivers.riru.edxp.core.yahfa.HookMain.backupAndHook(HookMain.java:136)
03-07 13:27:23.557  1471  1471 E EdXposed: 	at com.elderdrivers.riru.edxp.core.yahfa.HookMain.doHookDefault(HookMain.java:3097)
03-07 13:27:23.557  1471  1471 E EdXposed: 	at com.elderdrivers.riru.edxp.proxy.BaseRouter.startSystemServerHook(BaseRouter.java:134)
03-07 13:27:23.557  1471  1471 E EdXposed: 	at com.elderdrivers.riru.edxp._hooker.impl.SystemMain.afterHookedMethod(SystemMain.java:27)
03-07 13:27:23.557  1471  1471 E EdXposed: 	at de.robv.android.xposed.XC_MethodHook.callAfterHookedMethod(XC_MethodHook.java:68)
03-07 13:27:23.557  1471  1471 E EdXposed: 	at com.elderdrivers.riru.edxp._hooker.yahfa.SystemMainHooker.hook(SystemMainHooker.java:25)
03-07 13:27:23.557  1471  1471 E EdXposed: 	at com.android.server.SystemServer.createSystemContext(SystemServer.java:610)
03-07 13:27:23.557  1471  1471 E EdXposed: 	at com.android.server.SystemServer.run(SystemServer.java:495)
03-07 13:27:23.557  1471  1471 E EdXposed: 	at com.android.server.SystemServer.main(SystemServer.java:350)
03-07 13:27:23.557  1471  1471 E EdXposed: 	at java.lang.reflect.Method.invoke(Native Method)
03-07 13:27:23.557  1471  1471 E EdXposed: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
03-07 13:27:23.557  1471  1471 E EdXposed: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:908)
03-07 13:27:25.286  1471  1471 E EdXposed: mmap failed, errno = Permission denied
03-07 13:27:25.286  1471  1471 E EdXposed: cannot hook method
03-07 13:27:25.286  1471  1471 E EdXposed: error occur when generating dex. dexDir=null
[/SIZE][/FONT]
Gravitybox and XprivacyLua are not working, complaining on framework (XLua: 'Module not running or updated').
I've tried everything I can think of, different Riru Core, EdXposed and Manager versions, no luck.
Had the same issues with LineageOS 17.1 (which includes official Feb updates, I think) from this thread:
https://forum.xda-developers.com/showpost.php?p=81833597&postcount=4

After that I did factory reset again and flashed factory image from January, installed the same Magisk, Riru and EdXposed modules and everything works fine.
The flashed February image again (flash-all), tried Canary builds of Magisk and EdXposed and still getting same errors as above.

Any advise?
 
Last edited:

Pogo

Senior Member
Mar 19, 2007
126
42
0
I have problem with February factory image, EdXposed is not working.
I'm coming form Pie, custom ROM.
Performed factory reset, flashed factory image from February (sargo-qq1a.200205.002-factory-36d5179f.zip),
Rooted with Magisk 20.3, installed Riru-core 19.7 and Riru-Edxposed 0.4.6.1 (4510) Yahfa, Edxposed Manager 4.5.4.
getting the following errors in the Verbose logs:

Code:
[FONT="Courier New"][SIZE="2"]03-07 13:27:20.648   883   883 I EdXposed: deopt boot image: false
[/SIZE][/FONT]
Gravitybox and XprivacyLua are not working, complaining on framework (XLua: 'Module not running or updated').
I've tried everything I can think of, different Riru Core, EdXposed and Manager versions, no luck.
Had the same issues with LineageOS 17.1 (which includes official Feb updates, I think) from this thread:
https://forum.xda-developers.com/showpost.php?p=81833597&postcount=4

After that I did factory reset again and flashed factory image from January, installed the same Magisk, Riru and EdXposed modules and everything works fine.
The flashed February image again (flash-all), tried Canary builds of Magisk and EdXposed and still getting same errors as above.

Any advise?
Update:
I've managed to get EdXposed working on previous mentioned LineageOS 17.1 version. I'm not 100% sure about steps but from the memory require installing latest Canary version of Magisk and Magisk Manager. It seems the order is also important, i.e. install Magisk Manager before Magisk. I've followed these steps:
https://forum.xda-developers.com/showpost.php?p=82023057&postcount=3146

The versions and order are:
install Magisk Manager Canary, ver 72f677d (278)
install Magisk Canary, ver 72f677d (278)
install Riru-Core v 19.7
For these two I'm not sure about order:
install Riru-EdXposed v 0.4.6.0_beta YAHFA
install EdXposed Manager v 4.5.2
install your EdXposed modules

Note: these are general steps, some are omited like how to find these versions. Also, reboot the phone as required.

Both Gravitybox and XprivacyLua work and I'm no longer getting these errors in the EdXposed Manager logs.
After a day or two I did upgrade EdXposed Manager to ver 4.5.4 since ver 4.5.2 was complaining to be outdated. After upgrade both Verbose and modules logs are showing some errors but the modules seems to work well.
Since that LineageOS 17.1 version comes with Feb patches I'd assume it should work on all ROM's with Feb patch but I didn't test further.
 

Modify_inc

Senior Member
Dec 27, 2013
78
7
0
Pixel 3a with stock ROM rooted using latest Magisk v20.3. Followed your instructions to install EdXposed, yet every time after I reboot and check the EdXposedManager v4.5.4, it says the "EdXposed Framework is not installed!"

The phone has the March 5, 2020 update, qq2a.200305.002 if that helps. I have tried both Riru - SandHook and Riru-YAHFA, and of course the core, Riru – Core module. Makes no difference
 

Pogo

Senior Member
Mar 19, 2007
126
42
0
Update:
I've managed to get EdXposed working on previous mentioned LineageOS 17.1 version. I'm not 100% sure about steps but from the memory require installing latest Canary version of Magisk and Magisk Manager. It seems the order is also important, i.e. install Magisk Manager before Magisk. I've followed these steps:
https://forum.xda-developers.com/showpost.php?p=82023057&postcount=3146

The versions and order are:
install Magisk Manager Canary, ver 72f677d (278)
install Magisk Canary, ver 72f677d (278)
install Riru-Core v 19.7
For these two I'm not sure about order:
install Riru-EdXposed v 0.4.6.0_beta YAHFA
install EdXposed Manager v 4.5.2
install your EdXposed modules

Note: these are general steps, some are omited like how to find these versions. Also, reboot the phone as required.

Both Gravitybox and XprivacyLua work and I'm no longer getting these errors in the EdXposed Manager logs.
After a day or two I did upgrade EdXposed Manager to ver 4.5.4 since ver 4.5.2 was complaining to be outdated. After upgrade both Verbose and modules logs are showing some errors but the modules seems to work well.
Since that LineageOS 17.1 version comes with Feb patches I'd assume it should work on all ROM's with Feb patch but I didn't test further.

Last night I had a problem after upgrading Riru-Core to ver 20.3. Long story short, I end up with factory reset and re-flashing Lineage 17.1 (here).
After that, I have a chance to played with some combinations of Magisk, Riru and EdXposed and here is what work for me.
- install latest Magisk Manager Canary
- install latest Magisk Canary
- follow instructions how to obtain root from here (Method 2)
- install Riru-Core v 21.2
- reboot
- install EdXposed Manager v 4.5.2
- install Riru-EdXposed v 0.4.6.0_beta YAHFA (from Magisk)
- reboot
- check in EdXposed Manager if EdXposed Framework is active
- install your EdXposed modules
- activate them, wait 10 sec and reboot
- check if all modules work
- install EdXposed Manager v 4.5.4
- install EdXposed Manager v 4.5.7

After the above steps, the XPrivacyLua was working (no "Module not running or updated" messages).
Please note this is not an ultimate guide, just what worked for me after trying many things. I did not try all possible combinations.
If after installing Riru-EdXposed and reboot the EdXposed Framework is not active, try something different.
Even if EdXposed Framework is active it doesn't necessary means everything is ok. Check EdXposed logs for clues, read the forums.
I'm running unofficial Lineage 17.1 build, with no gapps. Your mileage may vary even with same ROM and phone, depends on other apps and modules installed.
 

Pogo

Senior Member
Mar 19, 2007
126
42
0
Last night I had a problem after upgrading Riru-Core to ver 20.3. Long story short, I end up with factory reset and re-flashing Lineage 17.1 (here).
After that, I have a chance to played with some combinations of Magisk, Riru and EdXposed and here is what work for me.
- install latest Magisk Manager Canary
- install latest Magisk Canary
- follow instructions how to obtain root from here (Method 2)
- install Riru-Core v 21.2
- reboot
- install EdXposed Manager v 4.5.2
- install Riru-EdXposed v 0.4.6.0_beta YAHFA (from Magisk)
- reboot
- check in EdXposed Manager if EdXposed Framework is active
- install your EdXposed modules
- activate them, wait 10 sec and reboot
- check if all modules work
- install EdXposed Manager v 4.5.4
- install EdXposed Manager v 4.5.7

After the above steps, the XPrivacyLua was working (no "Module not running or updated" messages).
Please note this is not an ultimate guide, just what worked for me after trying many things. I did not try all possible combinations.
If after installing Riru-EdXposed and reboot the EdXposed Framework is not active, try something different.
Even if EdXposed Framework is active it doesn't necessary means everything is ok. Check EdXposed logs for clues, read the forums.
I'm running unofficial Lineage 17.1 build, with no gapps. Your mileage may vary even with same ROM and phone, depends on other apps and modules installed.

Yesterday, I have upgraded ROM to the latest Lineage 17.1 available and reinstalled Magisk and Exposed. And I run into the trouble with EdXposed again.
With latest Magisk, Riru Core and Riru-EdXposed the logs shows errors like "mmap failed, errno = Permission denied", "cannot hook method" and "Cannot load any modules".
The XprivacyLua and GravityBox won't work ("Module not running or updated").
I have tried Magisk Canary and EdXposed Canary builds, as well as different versions of each, no luck.

In the end this combination worked for me:
- install Magisk Manager 4.5.0
- set custom update channel: https://github.com/solohsu/magisk_files/blob/master/README.md
- install Magisk 20.1 from the above channel
- upgrade Magisk Manager to 4.5.1 also from the above channel
- follow instructions how to obtain root from here (Method 2)
- after flashing patched boot etc, install Riru-Core v 19.7
- reboot
- install Riru-EdXposed v 0.4.6.0_beta YAHFA
- install EdXposed Manager v 4.5.2
- reboot
- check for errors in EdXposed logs
- if no errors, install one EdXposed module
- wait 10 sec and reboot
- check for errors in EdXposed logs
- check if the module works fine
- install other EdXposed modules
- wait 10 sec and reboot

Later on, I have uploaded EdXposed Manager to 4.5.4. I would not dare to upgrade anything else, it's looks so fragile.