yashsingh1/xdaforums huggingface dataset:
[Magisk] Spartacus500:
What's the problem on the latest version ? Detects root right after opening the application ?
[Magisk] _JuSteR_:
Exactly: it detects that the phone is rooted and you're forced to quit, even though MagiskHide is still enabled and working.

Anyways, this is what happened on my phone. Dunno of anybody else is experiencing the same.
[Magisk] Spartacus500:
I have installed the latest version for a trial, but from outside because it is not available in the Google Play store for me due to the region. After opening Barclays, I was a bit surprised that the application was asking if I should give it root, of course I refused, I hid hide in Magisk and everything works fine. I don't have a credit card to check if everything works while paying.
[Magisk] nickster_uk:
Where did you manage to download v2.29.1 from please?
[Magisk] _JuSteR_:
On apkmirror. Just look for Barclays 2.29.1

---------- Post added at 11:11 PM ---------- Previous post was at 11:07 PM ----------

I just gave it another try an installer the last version, 2.30.00. No superuser access given and magiskhide enabled.

As soon as I start the app I get the error 00006. Nothing else :rolleyes:

---------- Post added at 11:24 PM ---------- Previous post was at 11:11 PM ----------

Reverted back to 2.29.1. Installed the same way, no superuser access, magiskhide activated and I'm back in the Barclays app, all working fine.

It seems to me that version 2.30.0 has found a way to bypass Magisk completely. Yet, I'm no developer. So perhaps it's something else I'm missing ??*♂️
[Magisk] nickster_uk:
Thanks. I found it on there, but I'm always a little reluctant to download and install an app like this on a rooted phone from the internet.

---------- Post added at 12:51 AM ---------- Previous post was at 12:49 AM ----------

Yeah, it's definitely the latest version that is bypassing Magisk. The Santander app is now generating a message about 'your phone is rooted'.
[Magisk] ‬1‬:
Barclays, Halifax and Santander works just fine on my rooted phone even safetynet fails. I didn't need to hide Magisk manager neither used adaway to block some websites.

I have edXposed Canary build

Riru Core (Magisk Module)

Riru EdXposed (Magisk Module)

Banking Apps are hidden on Magisk.
[Magisk] plusminus_:
I also got this error after updating the app and trying to log in on an unrooted device running Lineage OS, (and had to get 2.29.1 from APKMirror to get things running again)
[Magisk] Spartacus500:
I found error code 00006 problem, Barclays app detects TWRP folder in internal memory, just delete it and it works :highfive:
[Magisk] rasseru16:
Thanks! I'll give this a go with the very latest version :)
[Magisk] Thedinkel:
Where is this folders path?

I have this issue today so I clear data and reinstall, the app requested SU permission when I launched it

*I moved and renamed twrp folder with backup, cleared data and cache and tried to create passcode as instructed when app launches but it infinitely loads / requests SU. Must I remove twrp folder & backup from my phone completely?
[Magisk] Jimbo69420:
Thanks for the help bro!
[Magisk] _JuSteR_:
Can I delete TWRP folder without any consequence?
[Magisk] Didgeridoohan:
If you keep your backups in there it might be a bad idea to delete it...

But otherwise delete away. Just remember that it'll be recreated every time you boot to TWRP.
[Magisk] _JuSteR_:
I'll give it a go. Thanks!
[Magisk] _JuSteR_:
Yep! It works :)
[Magisk] Adam86:
Glad I've come across this, will try this as well later on.

I have the same issue with the newest version of BT Smart Controls, I had to downgrade that, as that immediately detects root.
[Magisk] Spartacus500:
For the Barclays app that detects the TWRP folder, you don't need to delete it, just rename it from "TWRP" to ".TWRP"
[Magisk] _sjain:
I'm still getting the 00006 issue after typing in a passcode, but I don't even have TWRP or a TWRP folder. Any ideas what this could be?

On first launch of the app, it quickly says:

T0017

Not Authenticated

Then the splash screen with the pier and waves appears.

Then I enter the passcode, then the 0006 issue.

Pixel 4a, Android 10 August 2020, Magisk Hide on for barclays, SafetyNet passed.

Tried force stop + clear app data + cache, and reinstalling the app, turning off internet, turning ON or OFF storage permission, and all other perms, no avail.

Here is my internal storage and list of Magisk Modules.

Ignore the WDAnimationcxair module - i uninstalled, rebooted, cleared barclays data but didnt help.

Also ignore the last cutoff file on the internal storage screenshot - there are no files below it, and i deleted that file and did the same as with the module above, it was just empty WDAnimationcxair.log

UPDATE: Added a . to the start of Call Recorder, Mobilism, and voix folder names, but didnt do anything :( also tried deleting, still nothing

UPDATE: v22.9.1 works, but i imagine this wont for long. So it would be good if we found out the cause still
[Magisk] Thedinkel:
Did you remember to hide Barclays in magisk after reinstalling?

You have lots of things installed, if you are certain your method will work and suspect it is due to something else you have installed then use some search algorithm. You could remove half magisk modules - be careful of dependencies, and see if it is resolved. Then repeat until you have found the module causing the banking app flag
[Magisk] _sjain:
I guess that's the only strategy, yes. I'm pretty sure its something I have because for everyone else it was a TWRP folder being present that caused it. Yes i did remember every time. Thanks for your fast reply, but ill probably only bother when they force me to update lol
[Magisk] _JuSteR_:
If you don't have TWRP what are you using? Would it be possible that any other recovery folder is triggering the latest Barclays app? Just wondering :confused:
[Magisk] kaos_king:
Great, thanks for the info, renaming TWRP folder for me did it.

Out of interest, how did you figure this out? (Maybe PM in case Barclays are watching.....Hi Devs!)
[Magisk] _sjain:
I'm guessing the app wasnt working before, then he deleted the TWRP folder (and maybe cleared data), and then the app was working again. A clear cut change that pinpoints the issue.

I do not have any custom recoveries installed, as none are currently available for the Pixel 4a
[Magisk] Didgeridoohan:
Looking for the TWRP directory (and other files, folders and apps) is a very common way of "detecting" root.
[Magisk] kaos_king:
Makes sense, I guess I was just asking if it was coincidental or if they used any special techniques to figure it
[Magisk] ChildishGiant:
Is renaming the TWRP folder the only modification needed then or are the other standard precautions needed too?
[Magisk] _sjain:
Interesting. So I logged into the app on v22.9.1 with magisk hide on, but only now i realised what the incomplete progress bars are on Magisk Hide. Tap on the app name and itll expand with more switches for each activity of the app. Flick all of those on, so the Barclays app has a full magisk hide, then update the app. It will still work perfectly, im currently on 2.31.2 with no issues whatsoever.

Didnt have to do any thing extra, just magisk hide barclays and make sure every activity is switched on in magisk hide. I don't have TWRP installed btw
[Magisk] xdamanu1000:
same here with the latest app sep 2022. deleted twrp folder and no errors.

workings!
[Magisk] ComfySofa:
Getting this problem at the moment...just tried deleting the twrp folder (and renaming it) still no luck....ironically it did actually work...im not sure whats changed apart from me doing my usual set up stuff....

Edit - got it working....i was looking at the external twrp folder on the memory card...not the .twrp folder on the internal....
[Magisk] mvlad:
omg the smart bastards, thank you!
[Magisk] rishabhpatel9:
I've been trying all these methods but they aren't working for me. I am using the custom lineage recovery and don't have a TWRP folder per se. I have everything hidden in magisk but this is the only thing I can't take care of, any help? Thanks.
[Magisk] exocetdj:
im thinking this could be bootloader dependant now? i have unrooted both my partner's and my phone to get this sh#tty app working and no joy - i may try later with locked bootloader and will report back - this is really awful by barclays if they have done that

None of the CTS or hide magisk stuff seems to be working and we don't have any folders on internal that would seem like candidates to set that kind of thing off
[Magisk] jinz24:
Any fix for this now?

Looks like the recent Barclays app update has caused my phone to do the 00006 error too and I don't have a TWRP folder in internal memory.
[Magisk] jimger:
Same for me. Also barclaycard app. Both magisk hide and hidemyapp list xposed module...
[Magisk] rtm516:
Looks like the new 2.73.2 (released Feb 17th 2023) version changed something and now even with TWRP folder removed and Magisk hidden it gets detected.

Downgrading to 2.71.2 (released Jan 7th 2023) seems to put it back to a working state.
[Magisk] BenjiB900:
I just tried that , I really thought it would work , still having the same issue , the only diff now is saying was granted superuser rights I have just updated masgisk as I thought that was were the issue might be,anyway magisk all updated , old version barclays app but same issues t0017 error etc
[Magisk] rtm516:
You need to add Barclays to the deny list within Magisk.
[Magisk] BenjiB900:
Hi, thanks, I just thought would give it a go and see, I did try to find earlier as someone suggested but couldn't find that option , , but for now, when I go into magisk I have fewer options ? , it was like that earlier today ,but fixed itself as I was trying to fix the issues ie updating magisk Barclays etc,bare in mind I haven't even bothered with magisk since has been on phone for a few years (s10 plus)and have had no issues in years until today with the Barclays app, So my memory is fuzzy on using magisk , now when I go into magisk , the superuser tab/icon at the bottom is grayed out , also the module tab/icon is also grayed out , when I go into settings, there are few options nothing to scroll down to , ie the hide magisk etc options etc etc,,, also when I was trying tofix ealier and selected the magisk install option at the top of the home page , on the install and next there is only one option, select and patch a file , with no other option , there was a different option before, not that I think i need to do any of these things to fix my issue I'm just explaining that magisk seems to have fewer options for me making it harder to fix the issue now, thanks for any help
[Magisk] c_LOSE_d:
Hey, is there any reliable source to find this previous apk? Apkmirror doesn't have it. Cheers
[Magisk] rtm516:
I used Arora store then downloaded it using the version code 6712
[Magisk] c_LOSE_d:
Perfect. I downloaded from uptotown which I don't really trust, but it was 5712. But both numbers downloaded the same version 2.71.2. Idk what's the difference
[Magisk] rtm516:
The first number will be dependent on architecture. Most apps version codes are done like that.
[Magisk] sound2005:
Hi All

I need to backup my phone data so i can only try this on an emulator

Use this at your own risk!!!

This is how i got Barclays (UK) to work:

#Install Magisk Delta (you can install this over your existing Magisk app, just go to modules and install app as you would upgrading Magisk official)

#Enable Zygisk

#Remove modules (my list was empty although you can add Systemless host and thats works as well)

No need to use Safetynet fix, Shamiko etc...

#Hide Magisk and use Magiskhide and add Barclays in there (make sure all the ticks are on Barclays!!)

Note that Enforce SuList didn't work for me

For good measure, force stop Barclays and Google Play and clear the cache and data (dont worry, somehow Google retains the data for the play store)

Test on Bluestacks and working, method wouldn't work on Nox (crashes after entering password) or Memu (app keeps spinning after you enter your password). At least i didnt get any errors from these apps!!

So far Magisk Delta looks very promising!!!
[Magisk] reg66:
Nope, just followed your steps to the letter. No joy - root still detected. Even got rid of backup app/kernel backup/recovery folders. Plus a couple of other things that I thought might affect it... Still no dice.

Cheers anyway
[Magisk] sound2005:
Thanks for replying back.

What issues did you get, ie FC, root detected etc..?

I'm going to keep trying on my phone and see if I can get this working
[Magisk] sound2005:
Ok guys, this method works 100%!!!

Test on my Samsung Note 8 (Android 10, Custom Rom)

Install this module:

GitHub - HuskyDG/MagiskHide at v1.6

Portable MagiskHide. Contribute to HuskyDG/MagiskHide development by creating an account on GitHub.

github.com

and wipe Barclays data, thats it!!!

Best to have Zygisk off and configure the denylist to get this working

Configure Magisk apps​

As Magisk app does not allow you to configure denylist when zygisk is off. You must toggle Zygisk on temprorily (not reboot) to configurate denylist and toggle Zygisk off after done.

Note that any modules that uses Zygisk will be disabled!!
[Magisk] c_LOSE_d:
Even with latest update? Which Magisk version?
[Magisk] sound2005:
I'm using the official and latest Magisk 25.2 and yes the latest Barclays version (2.73.2).

Just uninstalled the version on my phone, download the one from playstore (just now) and everything still working
[Magisk] k_orbz:
How did you make it work? I installed the module 1.8.2 still getting 00006. Can u do step by step? tnx.
[Magisk] sound2005:
Hi

I was testing on v1.8.1 but upgraded to 1.8.2 and still working.

Initially I didn't remove any of my modules but I strongly suggest you disable all Zygisk modules and remove any lsposed modules (and the framework itself)

Then after installing module, go to Denylist (you have to enable Zygisk on), add all apps you want to hide, then switch Zygisk off.

Wipe the data and cache off Barclays (optional to do this but you can do the same for Play store) and run the Barclays app.

Truthfully it was that simple!!

Note my Magisk app is also hidden (I dont know if that will make any difference or not for you)
[Magisk] plusminus_:
I can't disable auto update in the Play Store any more. Has anyone else experienced this?

Maybe I should just detach...

edit: I also downgraded to 2.72.*
[Magisk] reg66:
Samsung Note 8 is getting a bit old now. I remember reading somewhere that there's a new method of detecting root/unlocked BL on newer devices. Perhaps your success is down to the age/tech of your device. Others that it doesn't work for may have the newer devices that new android roms have issues hiding root
[Magisk] sound2005:
Totally understand, however others have also tried this method on their devices and some have gotten this to work and other haven't.

Just trial and error really
[Magisk] BenjiB900:
I've worked out how to fix it , I'm changing banks :)
[Magisk] first_damned:
Im trying to get barclays working on lineage, I have magisk with zygisk enabled for the safety net fix to work. I've got shamiko, barclays on hide list on magisk. I've tried hide my app but that doesn't work either.

Anyone got it working?

Does freezing magisk work in ice box?
[Magisk] askylitangel:
I'm trying to get this working on my P7P. Tried safetynetfix, LSPosed etc but nothing. Just get the 00006 error
[Magisk] first_damned:
Not sure if anyones found a fix, apart from using the older version of the app but that'll only work for so long.
[Magisk] plusminus_:
Got some ideas from here, though I am using 2.72.2 for now so I cannot test yet: https://libreddit.de/r/Magisk/comments/118yl7n/help_barclays_banking_app_uk_with_root/

The Magisk Delta approach sounds promising, but I am not familiar with that version

Add sys.oem_unlock_allowed=0 to SafetyNet-fix system.prop (I saw this in another thread but cannot remember where!)

Enable LSPosed parasitic manager (and uninstall the base app but keep data... and hide Magisk)

Hide My AppList

DevOptsHide... maybe?

Try this USNF mod?!
[Magisk] first_damned:
Anyone had any luck in getting barclays app working with magisk?
[Magisk] reg66:
Yup, currently running latest barclays from playstore using magisk alpha (not to be confused with am alpha version of original magisk). Hang on, I'll find a link...

Running fine on pixel 7 Pro, no zygisk etc. Just magisk app hidden and deny list configured including playstore, Google services framework etc...
[Magisk] reg66:
Here you go, pretty sure it's this one I'm using. Screenshot of Google stuff hidden (probs not all necessary but just to be sure)

Magisk alpha
[Magisk] reg66:
Did you have any luck with my suggestion?
[Magisk] first_damned:
Yes actually, I've managed to get magisk alpha from xda thread download link and using displax safety net fix, I can use barclays with root.
[Magisk] WoolfishStrives:
Are you using huskydg magiskhide module? magisk alpha says that magiskhide can't work with zygisk enabled (required for displax)
[Magisk] first_damned:
No. Zygisk does work on alpha, that info is walla mate that you've been told
[Magisk] reg66:
I am indeed using zygisk version mod 1.3 safety net fix. But wasn't originally. (another app needed heavier hiding). Barclays should work with just magisk hide app plus configure deny list including Google parts.

But yeah, still working fine with safety net fix 1.3 and zygisk enabled with list configured... Either way is fine
[Magisk] plusminus_:
I still have 2.72.2 installed but it won't open any more as it wants me to update the app... but it is not visible in the Play Store and I am not sure where to get APKs from now. Hmm.

Hopefully everything's still working on the other phone...

e: Updated to 2.76 and I'm getting the rooted warning again :cry: I have flashed the mod of the SN fix and rebooted but now I am getting the 'Not authenticated' error. UGH
[Magisk] reg66:
See my post here: https://xdaforums.com/t/barclays-banking-app-uk-with-root.4557035/post-88712505.

To get barclays to show again you may need to follow all steps clearing cache and data from playstore and Google services, reboot, then install barclays from playstore. Add the new barclays app to deny list then try to launch. Enforce zygisk deny is not enabled either
[Magisk] plusminus_:
Thanks so much for responding. I haven't been ignoring you - I followed the steps in your post but I have been getting the same error (Not authenticated and then 00006 when trying to register) like others later in the thread so each night since you quoted me I have been trying different combinations, but nothing has worked so far! I have tried Magisk Alpha, Delta, standard, Shamiko, HMA, Zygisk on and off, MagiskHide (as part of Alpha/Delta or as a module) but still nothing. And it is exasperating.

Everything is currently clear in Applist Detector (using HMA), so I'm not sure what the app is seeing/checking for. I doubt it's an unlocked bootloader because I also have it running on an old phone with a custom ROM.

Though I did get Barclays to show again in the Play Store after clearing the Play Store data, thank you! (I have alsi tried using slightly older APKs - 2.76, 2.79)

And my GravityBox settings are no longer applying after reinstalling LSposed :cautious:
[Magisk] reg66:
Sorry to hear that dude. Clutching at straws here... Has your device got twrp installed? Could try deleting the twrp or any other root folders at root of storage. It could be detecting those. But I really am guessing at this point.

Also your rom. Perhaps it's something to do with that. Have you tried another rom just to see? (plus all the steps mentioned before) I know it's a ball ache reinstalling but could be worth a try. I'm using EvolutionX and have no issues, so it's definitely not the unlocked bootloader. I thought this too for a while
[Magisk] simo2001:
It happens to me too. I'm using LineageOS 20. Are you perhaps using the same OS?
[Magisk] WoolfishStrives:
Me too, I'm using lineage 20 on my poco f1
[Magisk] plusminus_:
I do have TWRP. I recall that what stopped 2.72 from working was the presence of the TWRP folder in internal storage, so I have renamed that already, but 2.76+ must be looking for something else!

Possibly. There is an Evolution X ROM available for my phone, but it hasn't been updated in a long time 😰 Hmm.

I've just installed Momo, and after adding it to the Magisk deny list it has pointed out these 3 details:

Data not encrypted, mount parameters are modified.

Device is running a custom ROM - I'm wondering if this can be covered up with changed props, rather than trying another ROM (though I will keep this as a last resort.) I got a senstive props Magisk module (from HuskyDG but I can't remember how I came across it) which I am about to try! That or perhaps Magisk Hide Props Config...

TEE broken - I had to find out what this meant and I'm suspecting it has something to do with this. The fingerprint login in the Barclays app hasn't worked for me for a while (it showed another error being with T, I'm almost certain) so perhaps there is a connection. Now based on that explanation I'd need to see which module is breaking the connection with the TEE (possibly Magisk itself!). I'll disable USNF to start with.

I'm using Lineage OS 18.1. The old phone that I installed it on as a backup (and it's working fine!) is using Lineage 14.1 😅 but not rooted
[Magisk] plusminus_:
GUYS IT'S THIS ONE

Momo (and the Barclays app) detect the addon.d folder. Renamed it and no more 'Not authenticated' :D (just remember to change it back before ROM updates ;))

e: A better way based on c_LOSE_d's post below. Rename the magisk survival script within /system/addon.d to something else like 98-tjw.sh (use your imagination lol)

This is with 2.76 (with Shamiko/USNF mod/HMA) at least. I've registered, it's working and I'm reluctant to let it update now 😅

Honestly what a headache. This update could not have come at a worse time for me lmao
[Magisk] reg66:
Sweeeeet, glad you're finally up and running, rooted with barclays 👍👍👍
[Magisk] plusminus_:
Yes, thank you!

I just tried updating to the current version in the Play Store (2.80.1) and it detects that it is a rooted device so I think I will have to stay on 2.76 for now. Maybe Magisk Alpha is a firm requirement for the newer versions in the app (as you mentioned in your linked post)
[Magisk] reg66:
I missed you part where you said 2.76, total bummer dude. I thought, having read quickly, you were on latest from playstore.

Like you say... maybe...

Originally I was only running Magisk Alpha and hiding the Barclays app (and Google parts) along with hiding Magisk Alpha itself, no special modules or zygisk enabled. Barclays worked fine. I only added the other measures to hide root from other apps etc... Just food for thought
[Magisk] c_LOSE_d:
Omg thanks, that's it! Actually just rename the magisk survival script is enough. /system/addon.d/99-magisk.sh to e.g. .sh.bak.

Running LOS 20, magisk delta+hide+usnf, works on 2.81.

Btw, how did you find out about this folder? I have been looking for solutions but without success.
[Magisk] simo2001:
I have a noob question.

How do I rename it? It seems like that files inside system folder are not modifiable thought root file explorer.

They all tell me "Permission Denied"

Do I need to use ADB?

------- EDIT --------

I've used an application called X-plore, setting the maximum permission level and it worked perfectly.
[Magisk] c_LOSE_d:
Yup, a root explorer is fine. I used mixplorer here.

Is your Barclays working now?
[Magisk] simo2001:
Yes it's working perfectly 😃