PSA: Magisk and Barclays - Sony Xperia XZ1 Questions & Answers

Firstly hi, thank you for coming.
While doing some testing, trtingbbto get xposed workibv, I found out that the barclays banking app will detect root if you haver xposed installer installed.
My banking was working.
Installed xposed installer
Rwbootwd
Not working
Removed xposed
Rebooted
Workinng again
Burst incase someone finds this usefull

Related

Hiding Xposed Framework from apps

Hi, So I recently ran into the problem of not being able to use certain apps such as Snapchat and banking apps while having Xposed Framework installed even if I do not try to modify that application. This problem has forced me to stop using Xposed. So I was wondering, if there was anyway to cloak Xposed. Don't suggest things like root cloak because the apps check for Xposed not for root. Thank you
There are none that i know of. But you can use systemless xposed and toggle it off from Xposed Installer when using apps that detect it. That's currently the only simplest method.

Hide Magisk, RootCloak alt.?

Hello, I just flashed a ROM that allowed me to utilize Magisk but it's very new to me. Is there a way to hide root with Magisk from certain apps that block rooted phones? I have Xposed installed but RootCloak doesn't seem to work, I tried checking Hide Magisk in the settings but no luck. I'm trying to use Vudu's disc to digital option, which seems to kick an error when root's detected. I got around this with RootCloak on my last ROM, I'm hoping there's an alternative. Thanks in advance.
Magisk hide should work for banking apps now. Please update and see.
12gage said:
Hello, I just flashed a ROM that allowed me to utilize Magisk but it's very new to me. Is there a way to hide root with Magisk from certain apps that block rooted phones? I have Xposed installed but RootCloak doesn't seem to work, I tried checking Hide Magisk in the settings but no luck. I'm trying to use Vudu's disc to digital option, which seems to kick an error when root's detected. I got around this with RootCloak on my last ROM, I'm hoping there's an alternative. Thanks in advance.
Click to expand...
Click to collapse
Uninstall Xposed first, then update Magisk.
Safetynet detects Xposed, that's why you won't be able to use banking apps when Xposed is installed.
HIT THANKS IF FOUND USEFUL

Official N Xposed is here

https://www.xda-developers.com/official-xposed-framework-android-nougat/
https://forum.xda-developers.com/showthread.php?t=3034811
https://forum.xda-developers.com/xposed/discussion-xposed-nougat-t3685687
Let's share what does/doesn't work
Since I made the post, it's only fair I go first.
On A2017G, stock and updated via OTA to 7.1, the flash was successful. The first boot took ~10 minutes. I will now start testing modules and update this post with what does/doesn't work.
Modules I tried so far:
LP: Works
Amplify Battery Extender: Works
Greenify: Does NOT work - The module is active, however, the app does not seem to be aware that it is.
-I'm looking for the old Youtube Background Playback module. It seems to have been pulled from the download list inside xposed manager. If anyone has a copy of it, it would be great to see if it's still working. The LP patch for background play stopped working for me on 3 different devices about 2 weeks ago.
Great!
Maybe a stupid question, but will installing xposed still break safetynet checks? That was the only benefit of running.g without xposed; aps like horizon / Ziggo Go worked, hate to have to do without it.
TIA,
Cheers,
/Cacti
Sent from my ZTE A2017G using XDA-Developers Legacy app
Amplify can't see wakelock or service...greenfy continue to tell me to activate the module. (I just set on the module and reboot many times)
UPDATE: other users with different device have the same problem, I think we need an update of these apps for working with the new version of exposed.
https://forum.xda-developers.com/xposed/discussion-xposed-nougat-t3685687
Running A2017UV1.1.0B32 (android 7.1.1) rooted by Magisk Version 14.0.
all was good but when installed xposed (SDK 25/API 25) something is wrong;
SafetyNet is faild at check and in Magisk , when pressing Menu->Superuser I get "Magisk Manager has stopped"
but root is working and Xposed modules are working.
mb0 said:
Running A2017UV1.1.0B32 (android 7.1.1) rooted by Magisk Version 14.0.
all was good but when installed xposed (SDK 25/API 25) something is wrong;
SafetyNet is faild at check and in Magisk , when pressing Menu->Superuser I get "Magisk Manager has stopped"
but root is working and Xposed modules are working.
Click to expand...
Click to collapse
I had the magisk FC too. Fixed it by switching to stable channel reinstalling both the zip and the launcher. Safety net is broken with magisk hide setting and the "universal safety net fix" module.
rzarectha said:
I had the magisk FC too. Fixed it by switching to stable channel reinstalling both the zip and the launcher. Safety net is broken with magisk hide setting and the "universal safety net fix" module.
Click to expand...
Click to collapse
Thanks. Not what I wanted to hear but still [emoji4]
Cheers,
/Cacti
Sent from my ZTE A2017G using XDA-Developers Legacy app
@rzarectha thank you, but it didn't help. even tried install beta version;
tried to complete uninstall and install again the zip and apk - it worked and no more FC.
Im also on B32 with Magisk, but currently running the official Xposed for Magisk. Should I use the Xposed uninstaller or just remove and uninstall the Magisk Xposed module before starting with the official Xposed process?
Regarding YouTube background play:
I found the .apk on their github page, it's in the first thread that mentions it being removed from the repo. I tested it and it works!
For whatever reason, I cannot get past a bootloop after installing via TWRP. Interestingly, I can install the unofficial module from back in August. I can uninstall that just fine, but reinstalling the proper one does nothing but bootloop. Anyone else having this problerm?
Could anyone try running Fate Grand Order?
After update to V88 the boot time is longer for 45-50 second on my A2017G with Stock 7.1.1B06. With inofficial V87 boots better
This is what I have setup so far. Crappalinks, YouTube Adaway, XInsta, all work. Greenify doesn't and neither did Amplify, not properly anyway. Also it does break Safety net. We'll have to wait for the Magisk Module
rzarectha said:
Since I made the post, it's only fair I go first.
On A2017G, stock and updated via OTA to 7.1, the flash was successful. The first boot took ~10 minutes. I will now start testing modules and update this post with what does/doesn't work.
Modules I tried so far:
LP: Works
Amplify Battery Extender: Works
Greenify: Does NOT work - The module is active, however, the app does not seem to be aware that it is.
-I'm looking for the old Youtube Background Playback module. It seems to have been pulled from the download list inside xposed manager. If anyone has a copy of it, it would be great to see if it's still working. The LP patch for background play stopped working for me on 3 different devices about 2 weeks ago.
Click to expand...
Click to collapse
why use Xposed for youtube adaway and background player when they make a separate app for that over here https://forum.xda-developers.com/android/apps-games/app-iytbp-injected-youtube-background-t3560900 I have been using this for a while now and it is great
reV17 said:
This is what I have setup so far. Crappalinks, YouTube Adaway, XInsta, all work. Greenify doesn't and neither did Amplify, not properly anyway. Also it does break Safety net. We'll have to wait for the Magisk Module
Click to expand...
Click to collapse
There is a magisk module on the repo but to my knowledge it still breaks safetynet
For those with issues with magisk and xposed, you can't use them both together, if you want to then you have to use the specific xposed magisk module here https://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268 also flashing xposed regardless magisk or not its going to break safetynet no matter what. Will explain in that magisk xposed thread.
If someone got problems like me, heres my way i installed it successfully and get everything to work (Magisk!):
- disable xposed modules
- restart to recovery
- install Xposed v88.2 by topjohnwho (from xposed thread) via recovery
- reboot to system (first boot took ~9min)
- install Xposed Installer 3.1.2 for Magisk
- activate modules in xposed installer
- reboot phone and its done.
If you dont deactivate the xposed modules before flashing xposed, you maybe have to reinstall them and maybe set up everything new, if you cant save the settings for the modules. This was happening in my first try. In my second try i disabled them before and activated after flashing and dont have do setup every xposed module again.
A2017G with B06 and Magisk v14.2.
Can you use gravity box module on the stock rom? Is miflavor "close enough" to aosp to be compatible with mods made for that?
rzarectha said:
Can you use gravity box module on the stock rom? Is miflavor "close enough" to aosp to be compatible with mods made for that?
Click to expand...
Click to collapse
Yes. Not all is working, but center clock, battery mod in statusbar, RAM usage in recents, down-/uploadspeed in statusbar and some other things ... enough for me.

Installing Xposed Framework without root?

Hello All,
Is there a way to installing Xposed Framework without root?
T.I.A.
no.
Actually I was able to get it partially working with the help of VirtualXposed.
As a result some of the apps work like:
Greenify
MinMinguard
No Lock
App Settings
XPrivacyLua
I want root so I can continue using:
Amplify
Adblocker
Gravitybox would be cool but the A21S seems pretty solid without it.

Android root banking apps workaround.

I just rooted my phone and wanted to put out there how I got my bank (Santander UK) app working.
Hiding Magisk, using the Deny List and Zygisk, and using the Universal SafetyNet Fix package did not work.
What did work was using the Shelter app to create a sandbox and installing the Santander app in that.
Edit: It stopped working after a while, and I'm not quite sure why it worked at all in the sandbox when it wasn't unsandboxed. The phone passes safetynet so it ain't that. I'm wondering if its detecting the unlocked bootloader in some other way, and not the root.
Eavolution said:
I just rooted my phone and wanted to put out there how I got my bank (Santander UK) app working.
Hiding Magisk, using the Deny List and Zygisk, and using the Universal SafetyNet Fix package did not work.
What did work was using the Shelter app to create a sandbox and installing the Santander app in that.
Click to expand...
Click to collapse
Man! I wanted to use Shelter on my stock A52 4G to put proprietary apps in, but since it's had a custom OS on it before I can't use work accounts anymore. When I go back to LOS I'll have to try this, thanks!
@Eavolution what rooted phone/OS do you have? I'm unable to install Shelter on my rooted SG10Exynos/OS9 and get the same "Cannot create work profile.. a custom OS has been installed"
nukescript said:
@Eavolution what rooted phone/OS do you have? I'm unable to install Shelter on my rooted SG10Exynos/OS9 and get the same "Cannot create work profile.. a custom OS has been installed"
Click to expand...
Click to collapse
I'm on a redmi note 10 pro, rooted using a magisk modified boot.img with an unlocked bootloader on miui14, android 13. Weirdly the banks app only worked for a bit then put up a warning again and wouldn't let me use it. I wonder why it worked for a bit in a sandbox but not unsandboxed, and how it clocked from within the sandbox that the thing was rooted.
My phone passes safetynet with magisk set up how it is so it ain't using that, I have a suspicion that it's not detecting the root, but the unlocked bootloader.
I've got issues with both Barclays & Santander apps. I pass SafetyNet with the help of Magisk 26.0 & safetynet-fix-v2.4.0-MOD_1.2. It's the Play Integrity API that I cant bypass, and that these banking apps are using.
I have the same issue with Barclays App.
I found that using Magisk Delta, Barclays works again.
Unfortunately, Google Wallet doesn't work with Magisk Delta; it can detect root, but with the official version of Magisk Google Wallet works.
Basically:
Magisk Delta: Barclays works and Google Wallet doesn't work
Official Magisk: Barclays doesn't work (error 00006) and Google Wallet works
edit:
I'm on Samsung Galaxy A71 with Android 13 (Secirity patch level 1 April 2023)
These are the two Magisk setups I used:
Magisk v26.1 (Barclays doesn't work - Google Wallet Works)
MagiskHide Props Config v6.1.2-v137 (installed using this guide https://forum.xda-developers.com/t/magisk-google-wallet-pay-with-magisk.4471279/page-7)
Universal SafetyNet Fix v2.4.0 installed and enabled
Zygisk enabled
Enforce DenyList enabled
Magisk App hidden
Magisk Delta 25210 (Barclays works - Google Wallet doesn't work)
MagiskHide Props Config v6.1.2-v137 (installed using this guide https://forum.xda-developers.com/t/magisk-google-wallet-pay-with-magisk.4471279/page-7)
Universal SafetyNet Fix v2.4.0 installed and enabled
Zygisk enabled
Enforce SuList enabled
Magisk Delta App hidden
xsecret said:
I have the same issue with Barclays App.
I found that using Magisk Delta, Barclays works again.
Unfortunately, Google Wallet doesn't work with Magisk Delta; it can detect root, but with the official version of Magisk Google Wallet works.
Basically:
Magisk Delta: Barclays works and Google Wallet doesn't work
Official Magisk: Barclays doesn't work (error 00006) and Google Wallet works
edit:
I'm on Samsung Galaxy A71 with Android 13 (Secirity patch level 1 April 2023)
These are the two Magisk setups I used:
Magisk v26.1 (Barclays doesn't work - Google Wallet Works)
MagiskHide Props Config v6.1.2-v137 (installed using this guide https://forum.xda-developers.com/t/magisk-google-wallet-pay-with-magisk.4471279/page-7)
Universal SafetyNet Fix v2.4.0 installed and enabled
Zygisk enabled
Enforce DenyList enabled
Magisk App hidden
Magisk Delta 25210 (Barclays works - Google Wallet doesn't work)
MagiskHide Props Config v6.1.2-v137 (installed using this guide https://forum.xda-developers.com/t/magisk-google-wallet-pay-with-magisk.4471279/page-7)
Universal SafetyNet Fix v2.4.0 installed and enabled
Zygisk enabled
Enforce SuList enabled
Magisk Delta App hidden
Click to expand...
Click to collapse
Does this still work for you with latest barclays app?
first_damned said:
Does this still work for you with latest barclays app?
Click to expand...
Click to collapse
Actually I found a workaround, I'm currently using Magisk Alpha (26100) + Universal SafetyNet Fix (v2.4.0-MOD_1.2), and now I can use both Google Wallet and Barclays (latest version v2.79.0).
I think the modded version of Universal SafetyNet Fix fixed the problem, I think it works with Magisk Delta too (but I haven't tested it).
[MODULE] [MOD] Universal SafetyNet Fix
Universal SafetyNet Fix [MOD] Magisk module Hello. This is my modification [FORK] of the original Universal SafetyNet Fix module from @kdrag0n. Created for the (temporary?) restoration of working capacity in the conditions of constant change...
forum.xda-developers.com
xsecret said:
Actually I found a workaround, I'm currently using Magisk Alpha (26100) + Universal SafetyNet Fix (v2.4.0-MOD_1.2), and now I can use both Google Wallet and Barclays (latest version v2.79.0).
I think the modded version of Universal SafetyNet Fix fixed the problem, I think it works with Magisk Delta too (but I haven't tested it).
[MODULE] [MOD] Universal SafetyNet Fix
Universal SafetyNet Fix [MOD] Magisk module Hello. This is my modification [FORK] of the original Universal SafetyNet Fix module from @kdrag0n. Created for the (temporary?) restoration of working capacity in the conditions of constant change...
forum.xda-developers.com
Click to expand...
Click to collapse
Soumds promising. Please can you detail exactly what you did to get it working? And how did you install magisk alpha? Also on which rom does this work on? As I want to use it on lineage os. Thank you in advance this is very much appreciated!
first_damned said:
Soumds promising. Please can you detail exactly what you did to get it working? And how did you install magisk alpha? Also on which rom does this work on? As I want to use it on lineage os. Thank you in advance this is very much appreciated!
Click to expand...
Click to collapse
There's not much to explain, I just rooted my Galaxy A71 (with Android 13) following this guide:
How to Install Magisk on your Android Phone
Magisk is a powerful tool that can help you customize some aspects of your phone or even grant you root access. Here's how you can install it!
www.xda-developers.com
Then I installed Magisk Alpha v26.1 (when prompted, give root permissions to Magisk Alpha)
GitHub - vvb2060/magisk_files
Contribute to vvb2060/magisk_files development by creating an account on GitHub.
github.com
Then in Magisk Alpha I enabled the Zygisk and Enforce DenyList settings.
Then in Magisk Alpha under Configure DenyList settings select all the apps you want to hide the root, I suggest all your banking apps, Google Play Store, Google Services Framework, Google Wallet.
Some apps are not visible, so you need to turn on the Show system apps setting.
Then hide your Magisk Alpha app, so select Settings>Hide the Magisk app
Then I uninstalled Magisk (official), before uninstall Magisk (official) make sure that Magisk Alpha is correctly installed, otherwise you will lose the root and have to start from the beginning, so just make sure that (in Magisk Alpha) next to Zygisk and Ramdisk it says Yes.
Then I installed the Universal SafetyNet Fix v2.4.0 [MOD_1.3] module in Magisk Alpha:
Releases · Displax/safetynet-fix
Google SafetyNet attestation workarounds for Magisk - Displax/safetynet-fix
github.com
Just download the zip file, and go Magisk Alpha>Modules>Install from storage and select the zip file to install the safety net fix, and reboot your phone.
By the way I just reinstalled Magisk (Official) v26.1 + SafetyNet v2.4.0 MOD_1.3, but Barclays app immediately detected the root (Google Wallet works), I guess Barclays implemented some algorithm to detect Magisk (official), maybe some files that are only present when Magisk (official) is installed?
Other tests I've done:
Barclays App works even if you don't hide Magisk Alpha app.
Barclays App works even if you don't uninstall Magisk (official), so if Magisk Alpha is installed and it's your root manager and Magisk (official) is installed without being your root manager, Barclays app still works.
Barclays App works event SafetyNet Fix module is not enabled (in Magisk Alpha), this module is used to make Google Wallet work
In the DenyList it is sufficient to enable the activities com.barclays.android.barclaysmobilebanking and com.barclays.android.barclaysmobilebanking_zygote, if you leave the other 3 activities disabled Barclays app will continue to work without detecting the root.
xsecret said:
There's not much to explain, I just rooted my Galaxy A71 (with Android 13) following this guide:
How to Install Magisk on your Android Phone
Magisk is a powerful tool that can help you customize some aspects of your phone or even grant you root access. Here's how you can install it!
www.xda-developers.com
Then I installed Magisk Alpha v26.1 (when prompted, give root permissions to Magisk Alpha)
GitHub - vvb2060/magisk_files
Contribute to vvb2060/magisk_files development by creating an account on GitHub.
github.com
Then in Magisk Alpha I enabled the Zygisk and Enforce DenyList settings.
Then in Magisk Alpha under Configure DenyList settings select all the apps you want to hide the root, I suggest all your banking apps, Google Play Store, Google Services Framework, Google Wallet.
Some apps are not visible, so you need to turn on the Show system apps setting.
Then hide your Magisk Alpha app, so select Settings>Hide the Magisk app
Then I uninstalled Magisk (official), before uninstall Magisk (official) make sure that Magisk Alpha is correctly installed, otherwise you will lose the root and have to start from the beginning, so just make sure that (in Magisk Alpha) next to Zygisk and Ramdisk it says Yes.
Then I installed the Universal SafetyNet Fix v2.4.0 [MOD_1.3] module in Magisk Alpha:
Releases · Displax/safetynet-fix
Google SafetyNet attestation workarounds for Magisk - Displax/safetynet-fix
github.com
Just download the zip file, and go Magisk Alpha>Modules>Install from storage and select the zip file to install the safety net fix, and reboot your phone.
By the way I just reinstalled Magisk (Official) v26.1 + SafetyNet v2.4.0 MOD_1.3, but Barclays app immediately detected the root (Google Wallet works), I guess Barclays implemented some algorithm to detect Magisk (official), maybe some files that are only present when Magisk (official) is installed?
Other tests I've done:
Barclays App works even if you don't hide Magisk Alpha app.
Barclays App works even if you don't uninstall Magisk (official), so if Magisk Alpha is installed and it's your root manager and Magisk (official) is installed without being your root manager, Barclays app still works.
Barclays App works event SafetyNet Fix module is not enabled (in Magisk Alpha), this module is used to make Google Wallet work
In the DenyList it is sufficient to enable the activities com.barclays.android.barclaysmobilebanking and com.barclays.android.barclaysmobilebanking_zygote, if you leave the other 3 activities disabled Barclays app will continue to work without detecting the root.
Click to expand...
Click to collapse
Works top man!
Another test I did:
Barclays works even if Zygisk is disabled, but Google Wallet will not work because Universal Fix will be suspended, as this module requires Zygisk to work

Categories

Resources