yashsingh1/xdaforums huggingface dataset:
[Magisk] diemadedrei:
Thanks! On import of your file I get that the module version is older than mine, which blocks it

Edit: Nvm, my mistake. Comdirect still detects root though
[Magisk] uschipower:
I think this could help you:

https://xdaforums.com/t/discussion-...third-party-magisk-fork.4460555/post-88346371

I had the same problem after update in march
[Magisk] diemadedrei:
omfg, thank you 🙈 I tried that already (or at least I thought I had) and amaze file manager always gave me a "rename successful" and I never bothered to check if it actually worked. Turns out, it didnt. Renamed the file through terminal and now the damned comdirect app starts again
[Magisk] Killerbaer:
can you explain how to rename the folder and where i find it ?
[Magisk] diemadedrei:
the file and location are in the link. Its /system/addon.d/99-magisk.sh

I did

mv /system/addon.d/99-magisk.sh /system/addon.d/99-manager.sh

and its working again
[Magisk] Killerbaer:
maybe i am stupid ^^ but where i find "/system/addon.d/99-magisk.sh" to chance it :/ i am new at rooting i am sorry..
[Magisk] r4p70r:
I think not every system has this folder.

I can't find it on my system either (OnePlus 9 Pro with OOS13).
[Magisk] diemadedrei:
As I understand it, only certain custom ROMs have the folder. You definitely would need a root explorer (or terminal with su) to even see the folder. The standard file explorer in Android will only show you the /data folder
[Magisk] Killerbaer:
i have termux as terminal and finde the folder in termux. but idk how to rename
[Magisk] diemadedrei:
I posted the command above:

mv /system/addon.d/99-magisk.sh /system/addon.d/99-manager.sh
[Magisk] Killerbaer:
cannot move mv /system/addon.d/99-magisk.sh /system/addon.d/99-manager.sh
[Magisk] diemadedrei:
try this first:

$ su
# mount --remount / -w
[Magisk] Killerbaer:
okai now it works thanks for your time.. what is with other folders in /system/addon.d.. many more with magisk in it for example /addon/magisk/chromeos or isent it a problem for comdirect app ?
[Magisk] diemadedrei:
Not for me at least...not until their next app update that is :P

this whole cat&mouse game is ridiculous in itself...they write, they need to do this for regulatory reasons, which is just not true (I work in the finance industry). They do this, because someone internally says so and because they probably find it kind of funny or they have an internal competition, I dont know...but it would be much easier if they would leave it here. It would be so much safer to just block outdated security patch versions but that would create a huge outcry so they dont...anyways...Im happy, the app works again for me
[Magisk] pa.pn2:
Isn't there a chance to disable an service within the application with 3C tool?

I remember we had do deactivate firebase indexing with older version
[Magisk] BenRox:
Do you have changed something else or did you only rename the 99-magisk.sh? I have the same problem with the phototan app, but the renaming didn't fix it.
[Magisk] Killerbaer:
I didnt Update yet it was Just a Backup in Case..
[Magisk] BenRox:
What are your other settings? Do you use the normal Magisk with Safetynet fix and shamiko? Do you have activate the magisk denylist and configure it with the phototan app?

Thanks! :)
[Magisk] banerni:
After Update to 8.10.0 the App detect root.

I just renamed the file under /system/addon.d/99-magisk.sh to something like 99-helloworld.sh

and it works.
[Magisk] diemadedrei:
That was on magisk delta
[Magisk] Laptapper:
Is it working?

How you start the script?
[Magisk] Laptapper:
Hi guys

I didn't get the 8.10 working.

I've made a log of starting phototan.

Is there someone who can recognize the phototan way to detect root?

Inside the apk I've found

.method public bridge synthetic get

Root()Landroid/view/View;

.registers 3

const/4 v0, 0x0

new-array v1, v0, [Ljava/lang/Object;

const v0, 0x8c133

invoke-direct {p0, v0, v1}, Lei/HW;->UNL(I[Ljava/lang/Object;)Ljava/lang/Object;

Fürther more inside apk get root commands (see root recognize.txt)
[Magisk] Laptapper:
I think that I've found out how the new phototan recognize root although magisk hide.

The phototan try to save temporary files to the root path and if they're written, it's rooted.

So we need something to block the temporary file saving like in unrooted state.

Any ideas?
[Magisk] r4p70r:
How is this supposed to work?

Since when can an unprivileged app write to the root path without requesting su rights?

And no one would have given the PhotoTAN app root rights
[Magisk] Laptapper:
I think temporary files with Java are possible. I saw a folder like 10657432488 in root path with a small file..... Definitely saved from phototan and deleted by phototan.

Attached I've extracted the app with smali files.

There're files with getRoot and isrooted commands inside....

There we could find exactly how it works
[Magisk] Laptapper:
I've found a solution! ​

PM me if you're at least an active senior member on xda. I don't wanna share with comdirect guy's :)​
[Magisk] BenRox:
So I'm out, right?
[Magisk] r4p70r:
Use Magisk Delta with SU list (allow only apps that need root to detect root)

+ Universal Safetynet fix

This also work's.
[Magisk] lllvdm:
And that really works?

Do I have to remove my current magisk/root/modules, to make this work?

Edit: My solution is to just downgrade the Phototan App by installing an older apk. Works for me now, even if its just temporary
[Magisk] r4p70r:
It works for me.

You can use your Magisk Modules with Magisk Delta.

I had only problems with the module Pixelify.
[Magisk] ChillDuder:
no luck with magisk-delta and Universal Safetynet fix (mod1.2). uninstall/reboot/install app still dedect root immediately

edit: it will work if your rom has /system/addon.d folder and in there 99-magisk.sh renamed to 99-somethingwhatever.sh
[Magisk] diemadedrei:
You never need to reinstall, the app checks on every boot. Did you rename the file as described multiple times in this thread?
[Magisk] ChillDuder:
uninstall/reboot/install was only kinda last resort try :) its stupid i know.

but thanks, you where right: i did not checked addon.d/99...

So->Now phototan is working on an older backup device with still lineage19.

On main device with an aosp/caf rom there is no addon.d folder sadly.
[Magisk] pndwal:
Folks here

App is detecting Zygisk Injection...

Hint: We're getting Native Bridge Zygisk loading... WIP last two months...

Wait for Magisk 27.0... should just work then...

I put something about this here:

https://xdaforums.com/t/discussion-magisk-the-age-of-zygisk.4393877/post-88467665

🤠 PW
[Magisk] marcel392:
Does PhotoTAN work now with Magisk 26.1.?
[Magisk] r4p70r:
Did not work for me.

Had to switch back to Magisk Delta with SUlist
[Magisk] Caipi123:
Since the today's June update of my Pixel 6 Pro the app detects root again. Nothing's changed, still on magisk delta with usnf 2.4 mod 1.2. Tried sulist, but did not make a difference. Anybody tried something else? Maybe magisk 26.1 with latest shamiko?

Edit: working again, had some files named 'magisk' within /sdcard/Download which caused the detection
[Magisk] brabra:
Just went through this process. For me it was sufficiant to update to magisk v23, rename magisk, install riru and riru unshare, hide all processes of phototan app in magisk hide and *clear cache* only for phototan app. This way I did not have to re-activate the phototan app (nor to wait 2 days) again.
[Magisk] Asellus:
Strange. I tested it on a tablet with a LineageOS 16 based rom and with renamed Magisk v23, riru and riru unshare. Unfortunately the camera is not working due to LineageOS, so that I cannot test with any photo tan.

I was able to hide Magisk to phototan v8.2.1.

Then I updated to 8.3.0. Before starting I removed Magisk hide from it, and restarted the tablet. Then I applied hide to the 3 processes of phototan 8.3.0 and cleared its cache.

8.3.0 keeps detecting root :-(

Perhaps the isolated process is not the only thing they have built in in 8.3.0
[Magisk] dennis3:
Thank you (y). This seems to work.

I did an update to v23 for the app and Magisk itself. busybox and magisk hide props config are in latest version.

Riru v25.4.4 was installed through magisk store and riru unshare v2 from github.

My Magisk app is renamed and all processes are ticked in Magisk hide (had to check multiple times, because it unchecked before).

After that I removed cache from tan app and it started without new activation.
[Magisk] kilr00y:
i'm having no luck with 8.3.0.. had to revert to 8.2.1 for now.

magisk v23, Riru v25.4.4 and Riru Unshare 2.0

anybody got any other ideas?
[Magisk] allrightlite:
Can you help me how I can get working 8.2.1 by using a second phone (again) with the old photo tan app (or the reader) instead of the letter which I don't have? It's just because I like the push tan and the old app doesn't have this feature. Or can I use the visa card without push tan?

How I said, before it was possible to activate a second phone. Now on Comdirect page there isn't this option anymore sadly after this here.
[Magisk] Conan179:
Forget it, the only way is the letter, to aktivate the app. Call the Hotline and say, you need a letter to aktivate a photo tan app.
[Magisk] kilr00y:
yeah.. what @Conan179 said.

I had to use the letter to re-register. I guess there's no way around that (any more)
[Magisk] fenchel01:
For me, ist works exactly the same
[Magisk] tko:
thx, working for me too.
[Magisk] firegate22:
Do you have more than 3 processes to hide in magisk with riru?
[Magisk] swour:
Updated the first post with the instructions by @pxrave. So far it evades detection on version 8.3.0 of the photoTAN app.
[Magisk] Conan179:
I'm probably the only one with whom the fix only works sporadically.
[Magisk] Marty4:
On my Android 11 device with Magisk 23.0, I followed the instructions by @pxrave (enabling all three photoTAN processes in MagiskHide) - but still it doesn't work and the app crashes!

(Disabling EdXposed doesn't make a difference...)

Any other ideas?
[Magisk] swour:
Which Android version are you on? The testing I did was on 10, but not yet 11.
[Magisk] Conan179:
Note 9 One UI 2.1 Android 10.
[Magisk] planck0815:
I'm on Android 11 and the app still doesn't work with the procedure described.

I suspect that the app may also check other device properties. In another thread I found the app "Magisk Detector", which delivers the following result (app blacklisted with Magisk Hide):
[Magisk] tko:
i use the Canary version of magisk-app (https://raw.githubusercontent.com/topjohnwu/magisk-files/canary/app-debug.apk)

- hide magisk app with name change.

- installed the 2 Riru Modules (Riru v25.4.4 and Riru Unshare 2.0)

- applied magiskhide on all 3 processes of the phototan-app

before all that i also tried my luck with EdXposed/LPosed,... with 0 success.

just to be clear. no "posed"module installed!
[Magisk] swour:
It has been several restarts and nearly 24 hours with the fix still holding up. Using LOS 17.1 on a SM-A520F. Maybe there is another mechanism involved that triggers detection on other device configurations.
[Magisk] Conan179:
I flashed magisk Canary

fashed riru

add all 3 poits

After reboot, i can open phototan app one time witout root detetion, second (or more) time its cam the root decetion screen.
[Magisk] planck0815:
What about safetynet / unlocked bootloader? (Stock ROM / SM-G991B)
[Magisk] r4p70r:
Which version exactly?

I have version 8.11 which should be the current version (no update pending)

This Version runs without problem with Magisk Delta and SUlist

But I also have the module Universal Safetynet fix active and LSPosed with Hide My Applist (https://github.com/Dr-TSNG/Hide-My-Applist)
[Magisk] Caipi123:
Version 8.11, but forgot that the app looks after files named 'magisk'. Had some files under /sdcard/Download and now it's working again. For me Magisk Delta and Safetynet Fix were sufficient, no need for sulist or anything else.
[Magisk] r4p70r:
I have had 2 Magisk APKs in the download folder for ages and have had no problems with them.

What version of Android are you using?
[Magisk] Caipi123:
Pixel 6 Pro, Android 13, latest June 2023 patch
[Magisk] Asellus:
Same is true for me.

Latest phototan, latest Magisk Delta with SuList, safetynet fix mod by Displax, no lsposed, no hidemyapplist, and Magisk apks in the download folder -> works for months now.

The only thing I have to remember is to chmod /system/addon.d to 700 after each system update.
[Magisk] 82EE:
Is there anything you could share, that would help me using the app again? Phototan 8.11.0 with Magix 26.1, USNf 2.4.0, no /system/addon.d folder, Android 12)

Tried most of the tips in the thread, nothing worked so far. Hints/help would be much appreciated!
[Magisk] Laptapper:
Sorry you're not an active senior member. I don't wanna share with comdirect staff.. ...
[Magisk] 82EE:
I am not, but ty for your reply.
[Magisk] r4p70r:
You have to use Magisk Delta with SUlist.

That it works with it stands here not only once...

On the SUlist you then include all apps that need root.

For all other apps, it looks like the device is not rooted.
[Magisk] tko:
hi guys....

its that time again... that i had to revisit this thread.

Upgraded my phone recently now my "oldfix" basicly still works (phototan 8.05.17, magisk hide, zygisk on, safenetfix) but the app wants to "upgrade" to the newest version... so i could use the app once.

so if i'm read correct

there is a magisk mod ("delta") with wich it will work again.

no time atm, will try later :)
[Magisk] Asellus:
Magisk Delta with SuList is an option, as well as, for the time being, phototan 8.9.0
[Magisk] tko:
thx, working :)

newest phototan version.

other topic: adblocker isnt working atm.... need to check my blocklist or is there a bug i'm no aware of?
[Magisk] tko:
Something isnt working right...

Sometimes Apps (doesnt matter wich) wont load up. Then i have to restart the Phone, to get any App to start again.

did Somebody noticed a similar Problem or has an idea whats going in :).

Magisk delta 25206

Zygist Off

Sulist

Android 13 (miui 14)
[Magisk] Asellus:
Can't tell. I maintain a second phone with LOS 20 and Magisk Delta plus some critical (banking) apps in case that I need a fallback.

On my daily driver I use phototan 8.9 with Magisk v25.2.

But I neither noticed nor heard about issues your have
[Magisk] Asellus:
I have installed the latest canary fdac22ba, not the stable.

Additionally I am very uncertain regarding Delta's configuration. So I switched zygisk on and enforced SuList.
[Magisk] tko:
Turning on zygisk, seems to have fixed the problem.
[Magisk] Caipi123:
As Magisk Delta has been discontinued, has got it someone working with official Magisk?
[Magisk] Asellus:
Purely out of interest, why do you want to change anything? Do you have any problems with Magisk Delta?
[Magisk] Caipi123:
no, it's working fine. I'm just curious and want to have a plan B if root will be detected in some time. The only issue I'm facing is Pixel Flasher not being able to automatically update the os and install a patched boot.img. Maybe dev of Pixel Flasher can fix that.
[Magisk] linuxdep:
Hello, is the APP currently running with the August patch actually now or are there problems again. The APP programmers probably have nothing better to do than tinker with the recognition. Annoying, they should take better care of the functions. Suddenly I couldn't pay anymore, everything is so annoying that I'll soon give up and use pure Android. Too bad, wanted to keep as much data as possible away from the data collectors.
[Magisk] xflowy:
Any idea how to make that work on a14? I am on a stock rooted pixel 7p. Running Play Integrity Fix and getting both Integrity Checks except the strong one - but the photo tan app still complains.
[Magisk] Asellus:
Original Magisk or Magisk Delta?
[Magisk] xflowy:
original. 26.3
[Magisk] r4p70r:
Don't think it will work with that.

With Magisk Delta and configured mount, Phototan and actually everything else that does not like root (e.g. Google Pay) works without problems.

In Magisk Delta you specify the apps that will get root access (Configure mount). Everything else don't sees root.

Give it a try.

You can install ist over the official Magisk and switch back to it. Just don't uninstall the Magisk Manager app and use the direct install method if you want to go back to original Magisk.

GitHub - HuskyDG/magisk-files

Contribute to HuskyDG/magisk-files development by creating an account on GitHub.

github.com
[Magisk] xflowy:
thanks man! is this the magisk delta, that has been discontinued (i read that somewhere). and is it really recommended to install it over the official magisk?

so i would proceed like:

install the delta canary app. from there install magisk delta (?). and if i want to go back: just delete the delta app and install off. magisk via magisk app (direct method) ?

thanks!
[Magisk] r4p70r:
Because of the discontinued I'm not sure, can be 😅

But it's unfortunately currently the only way (that I know of) to be able to use the PhotoTan app with root....

Yes, the process you described should work.

That's what I did the first time I tested it.

For me it worked. And I don't see why it shouldn't work. As long as you have root, you can always patch the boot image directly from the app with one of the Magisk Manager apps and install the appropriate version.
[Magisk] Asellus:
The information is not completly correct. The devloper stopped working on it some month ago. But some weeks ago he started to proceed work.

So the current Delta version is very actual and a branch of Magisk v26.3
[Magisk] tko:
nice to know that there is some update with the delta-version.

i just installed the newest. works like before with 25.x.

but i still have the problem that chrome doesnt seems to "use" the adblock hostfile... i'm getting so much adds....

If someone has a solution for that, please tell me :)
[Magisk] Conan179:
@tko have you try systemless hostfile?
[Magisk] tko:
yes.

i just did a test without the systemless modul. adaway gives the prompt that systemless host file is needed.
[Magisk] tko:
just did a reinstall of the module and updated the host file.

now when i open the hostfile from within adaway, the "full" host file opens. before the host file was empty...

maybe it is fixed now.

edit: still adds,,, i maybe need a source list for "germany"... any suggestions?
[Magisk] gentano:
detecting root here now using the following config:

Lineage 20 (Android 13), comdirect photoTAN App 8.13.0

Magisk 26.4 + USNF 2.4.0-MOD_2.0 by Displax

Magisk Alpha 26.401 + Play Integrity Fix 12.1

in both cases Magisk App is hidden with different name, using Zygisk with the app on the denial list.

Applist Detector 2.4 is passing fine.

What are your working configs?

I need a solution which works with Play Integrity Fix 12.1 as I need PIF for Google Wallet.
[Magisk] mj084:
Try Magisk Delta (26301) with Play Integrity Fix 12.1 and Zygisk and unmount enabled + comdirect App configured in Unmount
[Magisk] gentano:
working now:

- Magisk Alpha 26401 (prolly also works with Magisk 26.4, but untested by me)

Zygisk enabled

Enforce Denylist enabled

put Comdirects photoTAN App on deny list (put Barclays App on deny list if you want to hide root from the Barclays App)

- install latest PIF (Play Integrity Fix) module from https://github.com/chiteroman/PlayIntegrityFix/releases (I use PIF 12.3 and it works)

- rename /system/addon.d/99-magisk.sh to sth like "99-magic.sh" or move it somewhere else
[Magisk] mj084:
Shamiko is for what exactly?
[Magisk] gentano:
another way for hiding root from apps... it might work without it, but 'never change a running system'

maybe im gonna try later... but i have limited time rn
[Magisk] mj084:
Yes, it's working here without it :)
[Magisk] OsoAlgo:
Do you have "Enforce Denylist" enabled or disabled?
[Magisk] mj084:
I have no Denylist option in Magisk Delta, here it's called "Unmount modules"
[Magisk] Asellus:
Due to the fact that there is no denylist I doubt that Shamiko has any effect at Magisk Delta.
[Magisk] mj084:
Don't know it, but I've enabled comdirect PhotoTAN app in the unmount list and it works for me perfectly - no need the configure Google stuff seperately...
[Magisk] Asellus:
On my phone Magisk Delta with unmount all and PIF is sufficient for the comdirect phototan app.

Unfortunately Hanseatic secure detects root in this config :-(

With Magisk V26 it is exactly the opposite.
[Magisk] gentano:
Yes, Shamiko should only be used with "Magisk".
[Magisk] kdupke:
Of course I tried the current photo tan app as well, as I updated my phone to 13 and the old 7.x app (real graphics reader) did not work anymore.

With magisk (standard and canary) it did not work. With delta it works per the tips above.

I had no 99- file with canary, but with delta. And renaming it helped me.

I do not need push, I am sometimes not on a network with my phone. But still be able to do some banking ans see the tan graphic....

Let us see what comdirect next do to make it more complex to do banking with them.
[Magisk] stereo007:
I'm also trying Delta at the moment. I just don't understand what you mean by "unmount modules"? How does that work? I only have MagiskHide, Enforce SuList and Configure SuList.
[Magisk] xcl1pse:
Unmount module = magisk denylist. It just unmount modules is the correct term since using denylist = prevent magisk and modules mounting into the app process. If you've latest magisk delta/kitsune mask or older version, this option replace by magisk hide from OG magisk v23. SUlist is opposite default behavior of OG magisk since with SUlist, only app that you checked on configure SUlist is granted for root, other app can't have access root and mounting from module. Just becareful using enforce SUlist since if your module require some app to access root and that app is not in the list, bootloop may occur. IIRC unmount modules only available in magisk delta v26.1, 26.2
[Magisk] stereo007:
I have Delta 26.4 Kitsune.

PIF v14.1

Zigisk = on

MagiskHide = on

Enforce SuList = on

I have not activated Comdirect in the SuList. Root is still recognized.
[Magisk] xcl1pse:
What if you disable enforce sulist, just using magisk hide?

BTW I can't tested kitsune mask since I'm tired testing from OG magisk > alpha > kitsune > KernelSU
[Magisk] Asellus:
My config is the same, with success.

But: phototan derives from the file named /system/addon.d/99-magisk.sh that the system is rooted.

You can rename it. My solution is to chmod 700 /system/addon.d.

For both you need to set the file system to read-write before, in my case with mount -o rw,remount /
[Magisk] stereo007:
If I deactivate this, my other banking apps will no longer work, Barclay for example. Comdirect still doesn't work.
[Magisk] stereo007:
I do this via a terminal? I don't have a /system/addon.d directory?

I can also simply do this with a root file explorer. But I still can't find the directory or the file 99-magisk.sh
[Magisk] Asellus:
Yes, you need a terminal, either a terminal emulator app or adb shell.

Probably the file whose name contains magisk is at a different place. Look for such files with find /system -name *magisk* -print in order to find it or a a directory comparable to the addon.d mentioned above.
[Magisk] stereo007:
I can't find anything? What am I doing wrong?

greatlte:/ $ su
greatlte:/ # find /system -name "*magisk*" -print
/system/bin/magiskpolicy
/system/bin/magisk

greatlte:/ # find /system -type f -name "*.sh" -print
/system/bin/prepare_param.sh
/system/bin/move_widevine_data.sh
/system/bin/install-recovery.sh
/system/etc/pdp_copycache.sh
/system/etc/pdp_prepare_fbe.sh
/system/etc/pdp_restore.sh
/system/etc/restart_radio_process.sh
[Magisk] Asellus:
/system/bin/magisk and magiskpolicy are not the culprits, because it is working here,

It is like fishing in the dark now.

Because phototan is a standard app, it can only find files w/o su. So try to find files that contain magisk in their name in the whole filesystem (find / -name "*magisk*" -print 2>/dev/null) without performing su first.