[Guide][EdXposed][GPay] Discussion

Search This thread

eg1122

Senior Member
Get Edxposed, Magisk, and GPay to work together.

1. Install or make sure you are on latest Magisk Manger (7.5.1 or newer)

2. Install or make sure you are on latest Magisk (20.3 or newer)

3. Hide the following in Magisk Hide

-Google Pay
-Google Play services, only select the following
-com.google.android.gms
-com.google.android.gms.unstable​
-Google Play Services for AR
-Google Play Store, select everything but com.android.vending
-Google Services Framework
-Nfc Service​

4. Install the following modules
-GPay SQLite Fix (Full Edition)
-SQLite for Arm aarch64 devices via Magisk Manager
-hardwareoff by @Displax (Thanks to @Kris Chen for making me aware of it) or use MagiskHide Props to set check to basic and fingerprint to Pixel 3a

5. Reboot

At this point make sure you have GPay working before installing edxposed. If for some reason you are unable to use GPay try deleting data for Google Play Services/Google Play Store/Google Pay

After you confirm that GPay is working then move on to installing edxposed

1. Download and install Riru - Core via Magisk Manager

2. Download Edxposed Manager (4.5.4 or newer) (Don't Install Yet!)
3. Download Edxposed (4563) (Don't Install Yet!)
I'm personally using the YAHFA version.
https://ci.appveyor.com/project/ElderDrivers/edxposed/history

4. Once you have all these files downloaded turn on Airplane Mode and install the Edxposed Magisk Module (Magisk -> Modules and press the + sign, find the downloaded zip and select it, Magisk will install it) and Edxposed Manager APK and reboot

5. Once booted up remain in Airplane Mode

6. Open Edxposed Manger and go to Settings and turn on "App List mode"

7. Exit and reopen Edxposed Manager

8. Go to Applications on the side menu (should say "Black List" on top) and select the following apps
-Google Pay (may not be needed)
-com.android.nfc.auto_generated_rro_product_
-com.android.nfc.auto_generated_rro_vendor_
-Nfc Service
-pixelnfc (new in Android 11)​
9. Go to Settings on the side menu, at the bottom of settings find and enabled "Pass SafetyNet"

10. Reboot and turn off Airplane Mode

11. Optional* Hide Magisk Manager

Note. Steps 4-9 should be done in Airplane Mode, this will keep anything tripping safety net during the setup process.
 
Last edited:

eg1122

Senior Member
When phone detects update

1. Disable any desired Magisk modules, ex. Edxposed
2. Reboot
3. In Magisk, select Uninstall, press Restore Images
4. Do NOT Reboot
5. Install OTA Update via Settings -> System -> System Updates
6. When prompted to reboot, Do NOT Reboot
7. In Magisk Manager press Install
8. Select Install to Inactive Slot
9. Reboot
10. Enable the Magisk modules one by one

In case of bootloop after enabling a module there are 2 ways that I know of on how to retain root and fix bootloop.

One requires ADB

While phone is stuck in bootloop, connect phone to PC and run this commands via ADB.

adb wait-for-device shell magisk --remove-modules
adb reboot

This will remove all modules and you should be able to boot.

The second way is via fastboot. More information in this thread.

https://xdaforums.com/pixel-4-xl/themes/magisk-modules-disabler-booting-magisk-t3990557


Here are some screen shots of it working
 

Attachments

  • Screenshot_20191027-165007.jpg
    Screenshot_20191027-165007.jpg
    239.9 KB · Views: 5,350
  • Screenshot_20191027-170022.png
    Screenshot_20191027-170022.png
    126.1 KB · Views: 5,334
  • Screenshot_20191027-170237.png
    Screenshot_20191027-170237.png
    107.3 KB · Views: 5,267
Last edited:

pdfruth

Senior Member
Jul 4, 2014
83
43
Thanks for this @eg1122.
After soft-bricking on my first try, I've been wondering what the working version combination is.
 

xdeslitx

Senior Member
May 31, 2007
137
2
Tujunga, CA
Finally got exposed/gravitybox installed.

Anyone know any tweaks for the home screen grid size?

Sent from my Pixel 4 XL using Tapatalk
 

varun.gid

Senior Member
Jun 18, 2008
1,293
183
Dubai
I've been reading a lot of our forums and many are asking about Xposed. Decided to make this thread to try to keep all discussion in one place and make it easy to find information.

I am currently running Xposed and I'll lay out the steps I took to get it working.

1. In Magisk Manager find and install Riru - Core v19.5
2. Reboot
3. Download and install Riru - EdXposed v0.4.5.5_beta (YAHFA) via Magisk

https://github.com/ElderDrivers/EdXposed/pull/354

4. Install EdXposed Installer

https://github.com/solohsu/XposedIn...d_v2.2.5/EdXposedInstaller_v2.2.5-release.apk

5. Reboot
6. Enjoy

This won't trip Safety net right i assume?
 

tardis_42

Senior Member
Dec 9, 2014
157
97
Sony Xperia 1 III
Got xposed installed and running thanks to this thread, but the module download screen is empty - just shows the refreshing icon and "module list will be loaded in a few seconds" forever. Anyone else seeing this?
 

eg1122

Senior Member
How does using Xposed affect monthly security updates? Do you have to disable or whatever? I'm not sure I want to do this, I'd rather not cause problems.

I disable big modules like Xposed when I update. Then re-enable them once update is completed. I'll put a step by step here.

When phone detects update

1. Disable any desired Magisk modules, ex. Edxposed
2. Reboot
3. In Magisk, select Uninstall, press Restore Images
4. Do NOT Reboot
5. Install OTA Update via Settings -> System -> System Updates
6. When prompted to reboot, Do NOT Reboot
7. In Magisk Manager press Install
8. Select Install to Inactive Slot
9. Reboot
10. Enable the Magisk modules one by one

In case of bootloop after enabling a module there are 2 ways that I know of on how to retain root and fix bootloop.

One requires ADB

While phone is stuck in bootloop, connect phone to PC and run this commands via ADB.

adb wait-for-device shell magisk --remove-modules
adb reboot

This will remove all modules and you should be able to boot.

The second way is via fastboot. More information in this thread.

https://xdaforums.com/pixel-4-xl/themes/magisk-modules-disabler-booting-magisk-t3990557
 
Last edited:

eg1122

Senior Member
Got xposed installed and running thanks to this thread, but the module download screen is empty - just shows the refreshing icon and "module list will be loaded in a few seconds" forever. Anyone else seeing this?

Try the following

Try clearing app data and cache for edxposed.

Uninstall Edxposed installer and reinstall

Reinstall any Xposed modules not showing up
 
  • Like
Reactions: tardis_42

Top Liked Posts

  • There are no posts matching your filters.
  • 35
    Get Edxposed, Magisk, and GPay to work together.

    1. Install or make sure you are on latest Magisk Manger (7.5.1 or newer)

    2. Install or make sure you are on latest Magisk (20.3 or newer)

    3. Hide the following in Magisk Hide

    -Google Pay
    -Google Play services, only select the following
    -com.google.android.gms
    -com.google.android.gms.unstable​
    -Google Play Services for AR
    -Google Play Store, select everything but com.android.vending
    -Google Services Framework
    -Nfc Service​

    4. Install the following modules
    -GPay SQLite Fix (Full Edition)
    -SQLite for Arm aarch64 devices via Magisk Manager
    -hardwareoff by @Displax (Thanks to @Kris Chen for making me aware of it) or use MagiskHide Props to set check to basic and fingerprint to Pixel 3a

    5. Reboot

    At this point make sure you have GPay working before installing edxposed. If for some reason you are unable to use GPay try deleting data for Google Play Services/Google Play Store/Google Pay

    After you confirm that GPay is working then move on to installing edxposed

    1. Download and install Riru - Core via Magisk Manager

    2. Download Edxposed Manager (4.5.4 or newer) (Don't Install Yet!)
    3. Download Edxposed (4563) (Don't Install Yet!)
    I'm personally using the YAHFA version.
    https://ci.appveyor.com/project/ElderDrivers/edxposed/history

    4. Once you have all these files downloaded turn on Airplane Mode and install the Edxposed Magisk Module (Magisk -> Modules and press the + sign, find the downloaded zip and select it, Magisk will install it) and Edxposed Manager APK and reboot

    5. Once booted up remain in Airplane Mode

    6. Open Edxposed Manger and go to Settings and turn on "App List mode"

    7. Exit and reopen Edxposed Manager

    8. Go to Applications on the side menu (should say "Black List" on top) and select the following apps
    -Google Pay (may not be needed)
    -com.android.nfc.auto_generated_rro_product_
    -com.android.nfc.auto_generated_rro_vendor_
    -Nfc Service
    -pixelnfc (new in Android 11)​
    9. Go to Settings on the side menu, at the bottom of settings find and enabled "Pass SafetyNet"

    10. Reboot and turn off Airplane Mode

    11. Optional* Hide Magisk Manager

    Note. Steps 4-9 should be done in Airplane Mode, this will keep anything tripping safety net during the setup process.
    6
    How does using Xposed affect monthly security updates? Do you have to disable or whatever? I'm not sure I want to do this, I'd rather not cause problems.

    I disable big modules like Xposed when I update. Then re-enable them once update is completed. I'll put a step by step here.

    When phone detects update

    1. Disable any desired Magisk modules, ex. Edxposed
    2. Reboot
    3. In Magisk, select Uninstall, press Restore Images
    4. Do NOT Reboot
    5. Install OTA Update via Settings -> System -> System Updates
    6. When prompted to reboot, Do NOT Reboot
    7. In Magisk Manager press Install
    8. Select Install to Inactive Slot
    9. Reboot
    10. Enable the Magisk modules one by one

    In case of bootloop after enabling a module there are 2 ways that I know of on how to retain root and fix bootloop.

    One requires ADB

    While phone is stuck in bootloop, connect phone to PC and run this commands via ADB.

    adb wait-for-device shell magisk --remove-modules
    adb reboot

    This will remove all modules and you should be able to boot.

    The second way is via fastboot. More information in this thread.

    https://xdaforums.com/pixel-4-xl/themes/magisk-modules-disabler-booting-magisk-t3990557
    5
    When phone detects update

    1. Disable any desired Magisk modules, ex. Edxposed
    2. Reboot
    3. In Magisk, select Uninstall, press Restore Images
    4. Do NOT Reboot
    5. Install OTA Update via Settings -> System -> System Updates
    6. When prompted to reboot, Do NOT Reboot
    7. In Magisk Manager press Install
    8. Select Install to Inactive Slot
    9. Reboot
    10. Enable the Magisk modules one by one

    In case of bootloop after enabling a module there are 2 ways that I know of on how to retain root and fix bootloop.

    One requires ADB

    While phone is stuck in bootloop, connect phone to PC and run this commands via ADB.

    adb wait-for-device shell magisk --remove-modules
    adb reboot

    This will remove all modules and you should be able to boot.

    The second way is via fastboot. More information in this thread.

    https://xdaforums.com/pixel-4-xl/themes/magisk-modules-disabler-booting-magisk-t3990557


    Here are some screen shots of it working
    4
    YET ANOTHER NEW SAFETYNET WORKAROUND (AS OF AROUND JANUARY 12 / 13):
    Explained very well here, as to why it's failing again: https://github.com/ProtonAOSP/andro...mmit/15633a3d29bf727b83083f2c49d906c16527d389

    tl;dr - even if BASIC hardware attestation is being reported, it is still actually running HARDWARE-based test, at least under the hood. Please go and thank the original creator of this method: https://github.com/kdrag0n/safetynet-fix, as well as where I found the original info: https://xdaforums.com/t/unable-to-pass-safetynet.4192073/post-84282209

    The Github release files are just raw files in the zip, so you'll need to download, unzip, then rezip (without compression) into the proper Magisk file/folder structure.
    For your convenience, I've also uploaded v1.2 of kdrag0n's Magisk module to AFH, already ready to be flashed in Magisk Manager: https://www.androidfilehost.com/?fid=17248734326145715249

    kdrag0n already updated the module to support earlier versions of Android, plus some code changes to make it more reliable. Go get it from his Github; the .zip's are now flashable-ready! Here: https://github.com/kdrag0n/safetynet-fix/releases
    I'm sending a donation over to him right now to show my appreciation... I hope others do the same!

    Obviously flash at your own risk - it worked perfectly fine on my P4XL, on January 2021 patch, running latest Magisk 21.2, Riru Core 23.3, EdXposed (4655), etc.

    edit: as an added bonus, it looks like we can now choose to only force basic attestation (in MagiskHide Props Config) while maintaining the actual device fingerprint for what we're using. This worked on both of our phones. No big deal, but it did get a little confusing sometimes when apps would track registered devices, or seeing the "wrong" metadata on photos taken. Looks like the way kdrag0n's magisk module passes the key attestation info allows for this.

    Very weird thing that I never bothered mentioning before is that I was always able to keep my own phone (P4XL) fingerprint as an actual P4 XL, but on my wife's P4 I had to change it to something else (both being forced to basic attestation, obviously). Mine would still pass, but hers would always fail unless I changed the fingerprint as well. I always thought that was odd.
    4
    There is an update to edxposed that passes safety net

    v4.6.3

    It's under canary in edxposed manager