Today we have ways to fix this issue. Thanks to the efforts of the most advanced and inquisitive users, the program "Magisk - The Universal Systemless Interface" has been developed and released. This program allows getting the desired result faster and easier. There is no need to abandon a root access or to install patched software. Magisk installing gives an opportunity to use Android Pay service in root-operated devices, with unlocked loader and customs firmware.
How to use Magisk?
Magisk also offers its own native root method known as MagiskSU. The interface however, will work with any systemless root solution like SuperSU. Otherwise Magisk will try to delete the other root access and launch MagiskSU by default.
Fixing Android Pay issue:
- If MagiskSU has been installed in your device, that is, your device is running by Magisk root, and Magisk Manager has been already placed in your Applications menu. Then, you can go ahead to Step 3. We also recommend to update Magisk and reboot your smartphone.
- If your device is rooted by some other sources (neither official non-system SuperSU nor MagiskSU), you have to remove them. It is also possible to update a script using custom Recovery in order to remove superuser root access. Note, one will also have to get back original boot.img to provide a complete system restore.
- Launch custom Recovery and install Magisk12.0.zip archive;
- Afterwards, Magisk Manager should be available in Applications menu. Open it.
- Navigate Settings and activate Magisk Hide option. Afterwards, Magisk Hide should be available in Applications menu.
- Open Magisk Hide and check whether "Android Pay" box has already been marked.
- Go to "Module" option and add a wanted module for Safety Net checking.
* In case an available module failed to check Safety Net, do install any terminal, for instance, Terminal Emulator and type the following code:
su sh /magisk/.core/magiskhide/disable sh /magisk/.core/magiskhide/enable
- Then, launch checking Safety Net. If you are successful, check Android Pay service.
** If you don’t want to install Magisk and other third-party software, there is a simple way to hide root access and/or an unlocked loader from Android Pay. In the build.prop file you have to replace (you can use BuildProp Editor) two lines (a company name and a smartphone brand) to:
Well, that’s it. After performing all steps, reboot your smartphone and Android Pay service will work just fine. If you still have questions, please, don’t hesitate and write in Comments. We will answer you.