[Q] How to get "SecureGo" working via xposed / rootcloak? - Xposed General

Hi fellows ...
well, I did this (xposed module repository: description)
Phone: GT-I9070P Samsung Galaxy S Advance
OS: (4.4.4)OptiROM (i9070-i9070P), ROM for the Samsung Galaxy S Advance I9070
Xposed Modules 1.0.8
Xposed Installer 2.7 experimental1
RootCloak 3.0-beta_20160731_2
RootCloak Plus 1.2
SecureGo 1.42-03
SecureGo still realises that the phone is rooted ... so no banking possible :crying: Thanks for help

b*_gently_*d said:
Hi fellows ...
well, I did this (xposed module repository: description)
Phone: GT-I9070P Samsung Galaxy S Advance
OS: (4.4.4)OptiROM (i9070-i9070P), ROM for the Samsung Galaxy S Advance I9070
Xposed Modules 1.0.8
Xposed Installer 2.7 experimental1
RootCloak 3.0-beta_20160731_2
RootCloak Plus 1.2
SecureGo 1.42-03
SecureGo still realises that the phone is rooted ... so no banking possible [emoji14] :crying: Thanks for help
Click to expand...
Click to collapse
In rootcloak, did you specifically add the securego app to it's block list?
Sent from my SCH-R220

Hi there!
Yes, in "RootCloak Plus", the entry de.fiducia.smartphone.android.securego.wl does exist.
There's another confusing circumstance: I don't know how to launch the Xposed Installer programme. The only way - for me right now - is to navigate to "downloads", and then to re-install some downloaded *.apk as an update. Then, and only then, I'm inside the Xposed Installer.
Under "Remove native root detection for apps", the box "SecureGo" is checked.

b*_gently_*d said:
Hi there!
Yes, in "RootCloak Plus", the entry de.fiducia.smartphone.android.securego.wl does exist.
There's another confusing circumstance: I don't know how to launch the Xposed Installer programme. The only way - for me right now - is to navigate to "downloads", and then to re-install some downloaded *.apk as an update. Then, and only then, I'm inside the Xposed Installer. [emoji14]
Under "Remove native rott detection for apps", the box "SecureGo" is checked.
Click to expand...
Click to collapse
In your app drawer (if Xposed is properly unstalled) should be the Xposed app. After you install an Xposed module you have to activate the module in the Xposed app and reboot for it to work. Sounds like that hasn't been done. How did you install Xposed?
Sent from my SCH-R220

OK, let's have a look: I've got a sort of menu that is pushed from the left side into the app "Xposed modules". Within this menu drawer, there's: Modules, Install Xposed Framework, More modules, Root, XDA, latest 24 hours, all unread, all marked, downloads, synchronise now, settings (translated from German).
The apps "Xposed modules" and "RootCloak" are installed from stalk Google Play Store.
The device was restarted several times, and from a certain moment on, everytime it started, I had to confirm elevated privileges (for rootcloak).
:angel:

b*_gently_*d said:
OK, let's have a look: I've got a sort of menu that is pushed from the left side into the app "Xposed modules". Within this menu drawer, there's: Modules, Install Xposed Framework, More modules, Root, XDA, latest 24 hours, all unread, all marked, downloads, synchronise now, settings (translated from German).
The apps "Xposed modules" and "RootCloak" are installed from stalk Google Play Store.
The device was restarted several times, and from a certain moment on, everytime it started, I had to confirm elevated privileges (for rootcloak).
:angel:
Click to expand...
Click to collapse
Ok, that doesn't sound can you post a screenshot of what you are talking about including the list of modules installed in Xposed?
Sent from my SCH-R220

Pardon. What does it sound like? :cyclops: Anyway, I was wrong about the Installer. I actually can access it. But I still can't launch SecureGo properly. I'm posting a *.zip file containing a log and several shots.

b*_gently_*d said:
Pardon. What does it sound like? :cyclops: Anyway, I was wrong about the Installer. I actually can access it. But I still can't launch SecureGo properly. I'm posting a *.zip file containing a log and several shots.
Click to expand...
Click to collapse
Sorry, didn't notice the typo, it looks like you are using and old version of Xposed and a BETA version of rootcloak, have you tried the stable version?
Sent from my SCH-R220

Let's have a look on what has changed:
uninstalled the beta and experimental versions
now, there's only one "RootCloak" v2.1.1 (and no longer a "RootCloak Plus" next to it), downloaded and installed from "Xposed Installer"
downloaded and installed the *.apk of "Xposed Installer" v2.6.1
I took the version numbers from the Android OS settings menu
the icon for "Xposed Modules" is no longer shown
however, I did not remove SecureGo while making changes.
I didn't have to grant elevated privileges (only when Xposed Installer installed RootCloak)
I'm posting the latest log-file!
Still not working ...

b*_gently_*d said:
Let's have a look on what has changed:
uninstalled the beta and experimental versions
now, there's only one "RootCloak" v2.1.1 (and no longer a "RootCloak Plus" next to it), downloaded and installed from "Xposed Installer"
downloaded and installed the *.apk of "Xposed Installer" v2.6.1
I took the version numbers from the Android OS settings menu
the icon for "Xposed Modules" is no longer shown
however, I did not remove SecureGo while making changes.
I didn't have to grant elevated privileges (only when Xposed Installer installed RootCloak)
I'm posting the latest log-file!
Still not working ...
Click to expand...
Click to collapse
Have you taken a look at this, maybe this could help : http://forum.xda-developers.com/showthread.php?t=3450396
Sent from my SCH-R220

Quoting the article linked above: "Requirements ... Android 6.0" ... Don't know if an OS-installation would defeat the object ...

b*_gently_*d said:
Quoting the article linked above: "Requirements ... Android 6.0" ... Don't know if an OS-installation would defeat the object ...
Click to expand...
Click to collapse
It would allow you to utilize this workaround
Sent from my SCH-R220

I don't even see the mere possibility to install Android 6 ... Or do you detect anything on the specific page?

b*_gently_*d said:
I don't even see the mere possibility to install Android 6 ... Or do you detect anything on the specific page?
Click to expand...
Click to collapse
b*_gently_*d said:
Hi fellows ...
well, I did this (xposed module repository: description)
Phone: GT-I9070P Samsung Galaxy S Advance
OS: (4.4.4)OptiROM (i9070-i9070P), ROM for the Samsung Galaxy S Advance I9070
Xposed Modules 1.0.8
Xposed Installer 2.7 experimental1
RootCloak 3.0-beta_20160731_2
RootCloak Plus 1.2
SecureGo 1.42-03
SecureGo still realises that the phone is rooted ... so no banking possible [emoji14] :crying: Thanks for help
Click to expand...
Click to collapse
Check the thread for your device, a quick Google search shows some MM ROMs for your GT-I9070P
Sent from my SCH-R220

still failure
Inspired by your previous posts and having followed your advice, I now have a phone running Android 6.0.1 Marshmallow.
I tried to install Suhide and SuperSU systemlessly [?] (or at least I think, I did it that way because I was in Recovery Mode/TWRP. There, I simply clicked "install" and did nothing but install both zip-files.
The line that stated, that a boot image had not been found and therefore the process was aborting patching the boot.img, attracted my attention.
Within the restarted Android-OS, I never found an app icon for SuperSU or Suhide. Nevertheless, I found out SecureGo's UID (10xxx) and gave the following command:
Code:
/data/adb/suhide-add 10xxx
for adding SecureGo to the blacklist.
But nothing has changed ... SecureGo still denies its job.

b*_gently_*d said:
Inspired by your previous posts and having followed your advice, I now have a phone running Android 6.0.1 Marshmallow.
I tried to install Suhide and SuperSU systemlessly [?] (or at least I think, I did it that way because I was in Recovery Mode/TWRP. There, I simply clicked "install" and did nothing but install both zip-files.
The line that stated, that a boot image had not been found and therefore the process was aborting patching the boot.img, attracted my attention.
Within the restarted Android-OS, I never found an app icon for SuperSU or Suhide. Nevertheless, I found out SecureGo's UID (10xxx) and gave the following command:
Code:
/data/adb/suhide-add 10xxx
for adding SecureGo to the blacklist.
But nothing has changed ... SecureGo still denies its job.
Click to expand...
Click to collapse
Check the suhide thread, other people have the same sort of issue, in that you are using CM SuperSU that is not systemless, need to disable it for systemless su to work
Sent from my SCH-R220

By "CM SuperSU", do you mean Cyanogenmod S.SU? Are there versions different to Chainfire's one?
I realised that, in TWRP, I can also give commands in a terminal (surprise :good. But I do believe this is Busybox ... read it somewhere, but can't tell where or when exactly.
Do I need ADB installed? I'm asking because it appears in the commands.
I noticed that, when running the Android-OS, Jack Palevich's "Terminal Emulator" is not rooted (showing $ instead of #).
But the strangest thing of all is: I cannot detect any signs that suhide or supersu are installed ... how could I possibly check this?

b*_gently_*d said:
By "CM SuperSU", do you mean Cyanogenmod S.SU? Are there versions different to Chainfire's one?
Click to expand...
Click to collapse
Yes, at least how it's implemented in the ROM
[*]I realised that, in TWRP, I can also give commands in a terminal (surprise :good. But I do believe this is Busybox ... read it somewhere, but can't tell where or when exactly.
Click to expand...
Click to collapse
Is your Busybox up to date?
[*]Do I need ADB installed? I'm asking because it appears in the commands.
Click to expand...
Click to collapse
If you have to issue these commands from your computer to the phone you would need ADB on your computer. Is ADB turned on in developer options?
[*]I noticed that, when running the Android-OS, Jack Palevich's "Terminal Emulator" is not rooted (showing $ instead of #).
Click to expand...
Click to collapse
Did you type su in Terminal Emulator?
[*]But the strangest thing of all is: I cannot detect any signs that suhide or supersu are installed ... how could I possibly check this?
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Give me some time, I'll do a backup and see what you are seeing.
Sent from my SCH-R220
---------- Post added at 12:33 PM ---------- Previous post was at 12:11 PM ----------
b*_gently_*d said:
By "CM SuperSU", do you mean Cyanogenmod S.SU? Are there versions different to Chainfire's one?
I realised that, in TWRP, I can also give commands in a terminal (surprise :good. But I do believe this is Busybox ... read it somewhere, but can't tell where or when exactly.
Do I need ADB installed? I'm asking because it appears in the commands.
I noticed that, when running the Android-OS, Jack Palevich's "Terminal Emulator" is not rooted (showing $ instead of #).
But the strangest thing of all is: I cannot detect any signs that suhide or supersu are installed ... how could I possibly check this?
Click to expand...
Click to collapse
In looking at Chainfire's thread to install Systemless root, I discovered that there are special boot.img files that need to be flash, my device is not on that list. But he does have some things that might shed some light on the issue.
1) Is your device one of the supported devices?
2) If so, did you do a clean flash? Did you flash the boot.img and su zips immediately? The thread says you need to make sure to flash the systemless stuff before the built in su does anything because the systemless flashing doesn't clean up other root implementations and can create problems. That's why it is mandatory for a clean flash of the ROM.
3) After you do all that, install the SuperSU app from the play store and see what happens
Sent from my SCH-R220

I don't know how to check whether Busybox is up to date or not (I was talking about the TWRP-Terminal outside Android-OS).
When I type 'su' into the Terminal Emulator - similarly to GNU/Linux -, I have no longer got the first line, but the second of the following:
Code:
[email protected]:/ $ su
1|[email protected]:/ $ sudo
/system/bin/sh: sudo: not found
127|[email protected]:/ $
(This is a true quote from my in-OS terminal.)
I'll have to look for those boot images and the list of the supported devices ... Or would you give me a direct link? (I already gave the exact name of my device.)
What exactly is a "clean flash", and which *.img or *.zips would have to be flashed? Do you mean something like from my own smarty history? From this list I basically only did step 4 when installing MM/CM13.
There's something else: Under "Developers' options/settings" (don't know how it is in English), you can choose between "never", "when debugging via USB" and "when loading". Has this something to say?
Please give me a short reply if I should perform the whole list of steps or similar or not because I don't want to waste time only to repeat it again and again

b*_gently_*d said:
I don't know how to check whether Busybox is up to date or not (I was talking about the TWRP-Terminal outside Android-OS).
When I type 'su' into the Terminal Emulator - similarly to GNU/Linux -, I have no longer got the first line, but the second of the following:
Code:
[email protected]:/ $ su
1|[email protected]:/ $ sudo
/system/bin/sh: sudo: not found
127|[email protected]:/ $
(This is a true quote from my in-OS terminal.)
I'll have to look for those boot images and the list of the supported devices ... Or would you give me a direct link? (I already gave the exact name of my device.)
What exactly is a "clean flash", and which *.img or *.zips would have to be flashed? Do you mean something like from my own smarty history? From this list I basically only did step 4 when installing MM/CM13.
There's something else: Under "Developers' options/settings" (don't know how it is in English), you can choose between "never", "when debugging via USB" and "when loading". Has this something to say?
Please give me a short reply if I should perform the whole list of steps or similar or not because I don't want to waste time only to repeat it again and again
Click to expand...
Click to collapse
http://forum.xda-developers.com/app...rshmellow-t3219344/post63197935#post63197935
Sent from my SCH-R220

Related

Problem installing Xposed since 2.6.1

Hey
I tried to update Xposed FW from 2.60 to 2.61 and when I tried to install the app_process and XposedBridge.jar files via the Framework menu it takes forever and then a notifiation pops up saying I should make sure my phone is rooted and shell commands aren't blocked.
I did nothing to the phone since the last update to 2.60 and every other Xposed update before worked.
I have a rooted Nexus 5 and SUper SU 1.97
Super SU doesn't show a request to approve Xposed rights.
I tried to install an older version of Xposed but that doesnt work.
I cleared the cache of xposed fw and uninstalled, then reinstalled it with several reboots in between. Nothing works.
It keeps saysing xposed is not activated, I should root my phone and that's it.
How can I force SuperSU to ask for root rights for xposed?
Thanks
EDIT: Just saw in the SuperSU log file that it says I need Super SU Pro for Xposed Framework???
sutobe said:
I tried to update Xposed FW from 2.60 to 2.61 and when I tried to install the app_process and XposedBridge.jar files via the Framework menu it takes forever and then a notifiation pops up saying I should make sure my phone is rooted and shell commands aren't blocked.
Click to expand...
Click to collapse
Open SuperSU, find "Xposed Installer" and make sure it's set to grant root access. You can also try tapping on "Forget" and you should get asked next time you try to install the framework.
sutobe said:
EDIT: Just saw in the SuperSU log file that it says I need Super SU Pro for Xposed Framework???
Click to expand...
Click to collapse
That's just to see a detailed log.
GermainZ said:
Open SuperSU, find "Xposed Installer" and make sure it's set to grant root access. You can also try tapping on "Forget" and you should get asked next time you try to install the framework.
That's just to see a detailed log.
Click to expand...
Click to collapse
The Problem was SuperSU 1.97.
It seems as the phone will lose root with this version (what would make sense then). In the 1.97 announcement post of Chainfire on Google+ was another comment to version 1.98 which fixes the root loss issue (meanwhile SuperSU is already version 1.99).
Xposed is working again after updating SuperSU.

Magisk (MagiskSU) - Busybox won't install, says "Systemless root is not configured".

Magisk (MagiskSU) - Busybox won't install, says "Systemless root is not configured".
I've installed/flashed the latest stable Magisk version: v13.2. (Since version v13.1 I believe the bundled busybox included with Magisk was removed because it caused a lot of issues)
I've tried to install BusyBox to "/su/xbin" but it always throws up the error "Systemless root is not configured".
bseos said:
I've installed/flashed the latest stable Magisk version: v13.2. (Since version v13.1 I believe the bundled busybox included with Magisk was removed because it caused a lot of issues)
I've tried to install BusyBox to "/su/xbin" but it always throws up the error "Systemless root is not configured".
Click to expand...
Click to collapse
Install Osm0sy's BusyBox zip on twrp (it's a magisk module as well). It works here.
You can find it at his official thread below:
https://forum.xda-developers.com/showthread.php?t=2239421
double_post
abacate123 said:
Install Osm0sy's BusyBox zip on twrp (it's a magisk module as well). It works here.
You can find it at his official thread below:
https://forum.xda-developers.com/showthread.php?t=2239421
Click to expand...
Click to collapse
Tried adding it as a module to Magisk however it reports it's not a magisk module "this zip is not a magisk module".
Flashed it with TWRP and it installed in su/xbin. Thanks :good:
abacate123 said:
Install Osm0sy's BusyBox zip on twrp (it's a magisk module as well). It works here.
You can find it at his official thread below:
https://forum.xda-developers.com/showthread.php?t=2239421
Click to expand...
Click to collapse
I flashed that zip in my Xperia XA and I'm still having the "systemless root is not configured". I need to install busybox in su/bin or su/xbin/ to make Viper4android work. Can u help me?
https://forum.xda-developers.com/android/software-hacking/tool-busybox-flashable-archs-t3348543
aocboe said:
https://forum.xda-developers.com/android/software-hacking/tool-busybox-flashable-archs-t3348543
Click to expand...
Click to collapse
But which do I install?
Evedammo said:
But which do I install?
Click to expand...
Click to collapse
Install "Busybox-1.27.1-YDS-ARM.zip" in the Magisk Manager
aocboe said:
Install "Busybox-1.27.1-YDS-ARM.zip" in the Magisk Manager
Click to expand...
Click to collapse
I've installed that. In the magisk modules it doesn't appear I flashed from TWRP, and I'm still having the "systemless root" message in busybox.
Evedammo said:
I've installed that. In the magisk modules it doesn't appear I flashed from TWRP, and I'm still having the "systemless root" message in busybox.
Click to expand...
Click to collapse
If you want to use it as a Magisk module, maybe you should install it from the Magisk Manager instead of flashing from TWRP.
Besides, I didn't catch your meaning. You mean the busybox app notice? Now that busybox is installed, you don't have to mind that notice.
Why are you guys trying to install to /su? Unless you're still on Magisk v12, you shouldn't be using SuperSU...
Rain X
I'm new, so I can't post links, but a youtuber named Rain X may have a solution. I tried his method and it worked for me:good:
Soumy1234 said:
I'm new, so I can't post links, but a youtuber named Rain X may have a solution. I tried his method and it worked for me:good:
Click to expand...
Click to collapse
What method would that be? No, I'm not gonna go hunting for some random Youtuber...
If the aim is to get a functioning busybox up and running, the easiest way is to just install @osm0sis busybox module from the downloads section in the Manager. No other apps needed...
He installed busybox in system/xbin
He made a folder called "Viper4Android" in the "system/priv-app" folder and copied a Viper4Android APK in there
He set the permissions of said APK to -rw-r--r-- (I set to -rwxrwxrwx for good measure)
He went to "system/vendor/etc" ("system/etc" if it's not there) folder, made a copy of the "audio_effects.conf" file
He renamed the "audio_effects.conf" file in the etc folder to "audio_effects.conf.bak"
He pasted the original "audio_effects.conf" file back in the "etc" folder, so now he has a "audio_effects.conf" and a "audio_effects.conf.bak" file in the "etc" folder
He changed the permissions of the "audio_effects.conf" file to "-rw-r--r--"
He rebooted, opened V4A, installed drivers, then rebooted
Hope this helped.
Didgeridoohan said:
What method would that be? No, I'm not gonna go hunting for some random Youtuber...
If the aim is to get a functioning busybox up and running, the easiest way is to just install @osm0sis busybox module from the downloads section in the Manager. No other apps needed...
Click to expand...
Click to collapse
I tried that,but it didn't work for me. If it doesn't work for you, I've already written some instructions on what the YouTuber did... Hope that helps.
Soumy1234 said:
I tried that,but it didn't work for me. If it doesn't work for you, I've already written some instructions on what the YouTuber did... Hope that helps.
Click to expand...
Click to collapse
That busybox module works perfectly for me.
And I'm using Magisk partly because it makes system modifications like V4A systemless. Therefore I would not follow those instructions...
I do have V4A working though, with this Magisk module and by utilising this workaround until the module has been updated. Nice and systemless...
The above mentioned workaround hasn't worked for everyone, but several other ways of getting it to work have been discussed in that thread.
Didgeridoohan said:
That busybox module works perfectly for me.
And I'm using Magisk partly because it makes system modifications like V4A systemless. Therefore I would not follow those instructions...
I do have V4A working though, with this Magisk module and by utilising this workaround until the module has been updated. Nice and systemless...
The above mentioned workaround hasn't worked for everyone, but several other ways of getting it to work have been discussed in that thread.
Click to expand...
Click to collapse
Oh, okay. Can you at least tell me how much the BusyBox zip work for you? I tried installing it through Magisk and TWRP, but it gave some errors.
Soumy1234 said:
Oh, okay. Can you at least tell me how much the BusyBox zip work for you? I tried installing it through Magisk and TWRP, but it gave some errors.
Click to expand...
Click to collapse
You'll need to provide some details for that... After flashing the module in TWRP, can you save the recovery log (Advanced - Copy log) and attach it to a post here.
And I forgot to say, but for the V4A module I linked, I don't even need busybox installed. YMMV...
Didgeridoohan said:
You'll need to provide some details for that... After flashing the module in TWRP, can you save the recovery log (Advanced - Copy log) and attach it to a post here.
And I forgot to say, but for the V4A module I linked, I don't even need busybox installed. YMMV...
Click to expand...
Click to collapse
Funny. It seemed to work this time. The last time I tried it literally said it failed.
Soumy1234 said:
Funny. It seemed to work this time. The last time I tried it literally said it failed.
Click to expand...
Click to collapse
Doesn't look like it succeeded when looking at the log...
What's the error message when you install through the Manager?

[BUG] MagiskHide does not work on Hanabank app. (strace log attached)

Hello, everyone.
Few days ago, I found Hanabank app (com.hanabank.ebk.channel.android.hananbank) detects Magisk hide. I ran strace against Hanabank app, and I got some suspicious openat(2) returns -EACCES and even some files are not filtered by Magisk Hide (returns file descriptor successfully)
Here are openat(2) calls which don't look good.
Code:
[pid 27855] openat(AT_FDCWD, "/sbin_orig/magisk", O_RDONLY|O_LARGEFILE) = 91
[pid 27855] openat(AT_FDCWD, "/dev/magisk/mirror/system", O_RDONLY|O_LARGEFILE) = -1 EACCES (Permission denied)
[pid 27855] openat(AT_FDCWD, "/magisk", O_RDONLY|O_LARGEFILE) = -1 EACCES (Permission denied)
[pid 27855] fstatat64(AT_FDCWD, "99-magisk.sh", {st_mode=S_IFREG|0755, st_size=2011, ...}, 0) = 0
Full strace log of Hanabank app:
Code:
https://pastebin.com/BUiViAbK
I think they should return -ENOENT to pass that magisk detection routine.
I'm using Magisk v14.0
BTW, why Magisk Github issue tracker is disabled?
Having the same issue but with another app.
https://forum.xda-developers.com/showpost.php?p=73968022&postcount=19348
How did you run strace? I used strace -f -p PID-o /sdcard/strace.txt but no reference to Magisk is shown.
olivercervera said:
Having the same issue but with another app.
https://forum.xda-developers.com/showpost.php?p=73968022&postcount=19348
How did you run strace? I used strace -f -p PID-o /sdcard/strace.txt but no reference to Magisk is shown.
Click to expand...
Click to collapse
First, sorry for late reply. I was on vacation.
I used this script to attach strace to fresh app process.
Code:
while true; do
while ! ps | grep -q -i $1; do :; done;
ps | grep -i $1 | while read a b c; do
strace -e open -f -e trace=file,ptrace -p $b 2>&1;
done;
done
For example, if you saved this script as /sdcard/strace.sh, The procedure I take to attach strace to the app is;
1. use killall command to kill all app process. Android pre-forks app, so we need to kill that first.
2. run script using sh /sdcard/strace.sh <app_process_name>. This will attach strace to the app and redirects strace's stderr output to stdout.
2-1. Do whatever you want (use tee or just redirect it to file, etc..) with stdout stream.
3. Analyze collected result.
That's all.
perillamint said:
First, sorry for late reply. I was on vacation.
I used this script to attach strace to fresh app process.
Click to expand...
Click to collapse
Hi
Just now I realised that I responded in the other thread. However your script never worked
I ran the script in a shell with root permission using
Code:
sh /sdcard/strace.sh com.barclays.android.barclaysmobilebanking
Unfortunately this is what I get when I try to run the script
Code:
/sdcard/strace.sh[5]: syntax error: 'done' unexpected
What have I done wrong?
EDIT: I've done this test on another device, a Nexus 5X stock 7.1.2 + Magisk v14. If I run strace it is not found, I have installed busybox but nothing! WAT??? I'll test with the other device later which has strace (Nexus 5).
EDIT2: Nope, I get the same error on the device which has strace.
olivercervera said:
Hi
Just now I realised that I responded in the other thread. However your script never worked
I ran the script in a shell with root permission using
Code:
sh /sdcard/strace.sh com.barclays.android.barclaysmobilebanking
Unfortunately this is what I get when I try to run the script
Code:
/sdcard/strace.sh[5]: syntax error: 'done' unexpected
What have I done wrong?
EDIT: I've done this test on another device, a Nexus 5X stock 7.1.2 + Magisk v14. If I run strace it is not found, I have installed busybox but nothing! WAT??? I'll test with the other device later which has strace (Nexus 5).
EDIT2: Nope, I get the same error on the device which has strace.
Click to expand...
Click to collapse
Hmm, I used sh which included in LineageOS.... I think Android's default sh couldn't handle that script's syntax properly. Default sh is quite crippled compared to GNU/Linux's one (bash, zsh, etc..)
Could you try running this script using bash instead of sh? If you don't have bash on your Android system, this Magisk module could inject bash binary into your system. https://forum.xda-developers.com/apps/magisk/module-magisk-bash-shell-t3609988
perillamint said:
Hmm, I used sh which included in LineageOS.... I think Android's default sh couldn't handle that script's syntax properly. Default sh is quite crippled compared to GNU/Linux's one (bash, zsh, etc..)
Could you try running this script using bash instead of sh? If you don't have bash on your Android system, this Magisk module could inject bash binary into your system. https://forum.xda-developers.com/apps/magisk/module-magisk-bash-shell-t3609988
Click to expand...
Click to collapse
Thanks for your suggestion. In the end I installed LOS on my test device and ran the script.
The funny thing is that I can't find a single reference to Magisk or Root...
The output is attached.
olivercervera said:
Thanks for your suggestion. In the end I installed LOS on my test device and ran the script.
The funny thing is that I can't find a single reference to Magisk or Root...
The output is attached.
Click to expand...
Click to collapse
Indeed. However the app dies shortly after reading the two property files:
/dev/__properties__/ubject_r:default_prop:s0
/dev/__properties__/ubject_r:logd_prop:s0
I would try to get the output of getprop with and without Magisk installed and see if there are any properties being leaked that could give a hint that Magisk is installed.
Fif_ said:
Indeed. However the app dies shortly after reading the two property files:
/dev/__properties__/ubject_r:default_prop:s0
/dev/__properties__/ubject_r:logd_prop:s0
I would try to get the output of getprop with and without Magisk installed and see if there are any properties being leaked that could give a hint that Magisk is installed.
Click to expand...
Click to collapse
You are the man! You definitely spotted the method being used by this app. Thanks.
I had to leave LOS ROM because even without Magisk it would not run, so I installed another ROM. I verified the app runs, got props, installed Magisk and got new props.
There are all changes:
1. [ro.build.selinux]: [1] is changed to [ro.build.selinux]: [0] when Magisk is installed
2. [ro.runtime.firstboot] shows different values but I believe it's fine
3. The following are entirely missing when Magisk is installed
[selinux.reload_policy]: [1]
[service.adb.tcp.port]: [-1]
[sys.retaildemo.enabled]: [0]
[init.svc.clear-bcb]: [stopped]
I have the feeling that [ro.build.selinux]: [1] and [selinux.reload_policy]: [1] are key elements and Magisk is not hiding them properly. I would suppose these elements show that SELinux is not enforcing anymore. I tried changing these values, but at reboot they don't change.
I know obviously Magisk does not enforce SELinux, but hides that got set to Permissive. System thinks that is enforcing, and using command getenforce i get as a result Enforcing, but Barclays (and possibly other apps) are reading that SELinux is not actually being enforced.
Interesting. Will post these finding in the main thread.
Do you have anything to add that could be helpful?
olivercervera said:
You are the man! You definitely spotted the method being used by this app. Thanks.
I had to leave LOS ROM because even without Magisk it would not run, so I installed another ROM. I verified the app runs, got props, installed Magisk and got new props.
There are all changes:
1. [ro.build.selinux]: [1] is changed to [ro.build.selinux]: [0] when Magisk is installed
2. [ro.runtime.firstboot] shows different values but I believe it's fine
3. The following are entirely missing when Magisk is installed
[selinux.reload_policy]: [1]
[service.adb.tcp.port]: [-1]
[sys.retaildemo.enabled]: [0]
[init.svc.clear-bcb]: [stopped]
I have the feeling that [ro.build.selinux]: [1] and [selinux.reload_policy]: [1] are key elements and Magisk is not hiding them properly. I would suppose these elements show that SELinux is not enforcing anymore. I tried changing these values, but at reboot they don't change.
I know obviously Magisk does not enforce SELinux, but hides that got set to Permissive. System thinks that is enforcing, and using command getenforce i get as a result Enforcing, but Barclays (and possibly other apps) are reading that SELinux is not actually being enforced.
Interesting. Will post these finding in the main thread.
Do you have anything to add that could be helpful?
Click to expand...
Click to collapse
If you use "resetprop ro.build.selinux 1" in a root shell, does the app start?
That will disappear at reboot of course, but it's easy to add to /magisk/.core/props to make it stick until Magisk is fixed.
Now, I don't think Magisk disables SELinux, why do you have it disabled?
Fif_ said:
If you use "resetprop ro.build.selinux 1" in a root shell, does the app start?
That will disappear at reboot of course, but it's easy to add to /magisk/.core/props to make it stick until Magisk is fixed.
Now, I don't think Magisk disables SELinux, why do you have it disabled?
Click to expand...
Click to collapse
Yes, Magisk changes SELinux to Permissive and hides this status.
Although my findings would be legit and those props should be hidden, in my Bank's case is not the issue.
I have discovered that if I uninstall Magisk Manager (but not uninstall root, just the app) my bank app works. However it does not work if I use "Hide Magisk".
Since the hidden app is called Unhide Magisk Manager, probably this app is looking for Magisk keyword.
For whatever reason when I run strace the app does crash and always reports that message (crash after reading prop).
I will post these findings in the support thread.
I don't know how to do it, but I would recompile Magisk Manager changing package ID and name, in theory should work.
I am having the same issue on my Galaxy S8 with the Barclays Mobile Banking app. I have tried using every option in Magisk but nothing seems to be working. In fact, the Barclays app actually asked for SU permissions when I first ran it which is odd to me.
Did anyone find a workaround for this? I read the posts in this thread but I am not savvy enough to understand all the codes and technical information written, so please excuse my ignorance in the matter. Is reverting to a completely stock ROM my only option at this point? I really need to start using this application as soon as possible.
Thank you.
Quick update guys!
The great Topjohnwu is working on a new update that includes a key feature for us: reinstalling Magisk Manager with a random package ID.
These changes are in his Github Repo. On this thread you can find unofficial versions of Magisk compiled from Github.
I have tested Magisk-v14.4-20171102-091345.zip: HELL IT WORKS!
In Magisk Manager: go to settings and you will have the option to reinstall Magisk Manager with a random package ID
Install Barclays from Play Store
Add Barclays to Magisk Hide
Open Barclays, it will behave correctly and will work!
This solves my problem, so I will be able to use the latest version of this app very soon (will wait for public beta).
On a side note, this update should als hide /Magisk partition, which was detected by @perillamint banking app, so might be worth trying it.
I have installed this Hanabank app (hopefully is the right one!) and added it to Magisk Hide. The app opens up correctly but I can't understand anything. I see some stuff moving on screen and on the upper left I see a lock icon (to login?)
If I don't add the app to Magisk Hide it shows an incomprehensible message and closes.
Hope you find this helpful.
Please see photos below.
@olivercervera
What are your exact steps? I installed the latest version from this thread, and added barclays to magisk hide, and then in settings, clicked in hide magisk manager. When I clicked in unhide magisk manager, it asked me for root permision for something with a random name, so I guess it worked, but I couldn't get the Barclays app to run. Is that a fresh install of your phone? I remember that if it detected your root once, it would be blocked forever, until you get a new ID. Did you call barclays to get your app working again?
On top of that, I clicked on hide magisk manager again, and now I can't unhide it, the app does nothing when I click on it... :crying:
Thanks for your help in any case, and thanks for the tip regading the new functionality!
mundodisco8 said:
@olivercervera
What are your exact steps? I installed the latest version from this thread, and added barclays to magisk hide, and then in settings, clicked in hide magisk manager. When I clicked in unhide magisk manager, it asked me for root permision for something with a random name, so I guess it worked, but I couldn't get the Barclays app to run. Is that a fresh install of your phone? I remember that if it detected your root once, it would be blocked forever, until you get a new ID. Did you call barclays to get your app working again?
On top of that, I clicked on hide magisk manager again, and now I can't unhide it, the app does nothing when I click on it... :crying:
Thanks for your help in any case, and thanks for the tip regading the new functionality!
Click to expand...
Click to collapse
Yes, a fresh start from a stock Nexus 5X I have at work. I did not register the app with my account during the test, all I needed to do was to get to the Welcome Screen: if Barclays detects root you don't get anything. Probably you need to reinstall Barclays App.
Once Magisk Manager is hidden with the new ID you can't go back to the original: you don't have any option. So if you still have it means there is a problem.
mundodisco8 said:
@olivercervera
What are your exact steps? I installed the latest version from this thread, and added barclays to magisk hide, and then in settings, clicked in hide magisk manager. When I clicked in unhide magisk manager, it asked me for root permision for something with a random name, so I guess it worked, but I couldn't get the Barclays app to run. Is that a fresh install of your phone? I remember that if it detected your root once, it would be blocked forever, until you get a new ID. Did you call barclays to get your app working again?
On top of that, I clicked on hide magisk manager again, and now I can't unhide it, the app does nothing when I click on it... :crying:
Thanks for your help in any case, and thanks for the tip regading the new functionality!
Click to expand...
Click to collapse
He's talking about a new Hide Manager feature that is much improved from the current implementation. It's not yet available officially, so you'll have to build yourself from the GitHub repo, or download from the unofficial snapshots thread that @olivercervera linked.
Didgeridoohan said:
He's talking about a new Hide Manager feature that is much improved from the current implementation. It's not yet available officially, so you'll have to build yourself from the GitHub repo, or download from the unofficial snapshots thread that @olivercervera linked.
Click to expand...
Click to collapse
I didn't even consider the possibility he didn't realise I was using the unofficial/self compiled version... I even linked it!!!
Thanks
olivercervera said:
I didn't even consider the possibility he didn't realise I was using the unofficial/self compiled version... I even linked it!!!
Thanks
Click to expand...
Click to collapse
It's actually quite apparent that he's talking about the current implementation, since the updated, unreleased, feature doesn't have anything named "unhide" to click.
With the new implementation you unhide the hidden Manager by reinstalling and opening it.
Hi guys,
Yes, I installed the latest version, following the link OliverCervera linked. I hid it using the usual method of going to options/hide magisk, and I got a new app, as usual. clicking on it to unhide prompted for root permissions for an app with a random ID (as expected). The next time, I wasn't that lucky, and the whole thing crashed. Anyway, it's a nightly, so I won't complain, and I will check it later, as sadly I don't have time to do it now.
In any case, my app was marked, because I opened it with the official release of Magisk and it detected root, and once it does, it keeps the "this phone is rooted" status until you do a factory reset. I think you can call them to tell them that it was a mistake, and they can unlock it but I'm not 100% sure about this last point.
Thanks for the work, anyway!
mundodisco8 said:
Hi guys,
Yes, I installed the latest version, following the link OliverCervera linked. I hid it using the usual method of going to options/hide magisk, and I got a new app, as usual. clicking on it to unhide prompted for root permissions for an app with a random ID (as expected). The next time, I wasn't that lucky, and the whole thing crashed. Anyway, it's a nightly, so I won't complain, and I will check it later, as sadly I don't have time to do it now.
In any case, my app was marked, because I opened it with the official release of Magisk and it detected root, and once it does, it keeps the "this phone is rooted" status until you do a factory reset. I think you can call them to tell them that it was a mistake, and they can unlock it but I'm not 100% sure about this last point.
Thanks for the work, anyway!
Click to expand...
Click to collapse
If you install the correct version of the Manager you won't have an unhide app after hiding the Manager. That's changed...
Your problem is probably that the unofficial Manager has a different signature, so it won't install over the official Manager. Solution: Uninstall the official Manager before installing the unofficial snapshot.
Have you tried just clearing all data for the app after it detects root? That usually works for an app that "remembers" root. But, I've never tested the app in question so...
Didgeridoohan said:
If you install the correct version of the Manager you won't have an unhide app after hiding the Manager. That's changed...
Your problem is probably that the unofficial Manager has a different signature, so it won't install over the official Manager. Solution: Uninstall the official Manager before installing the unofficial snapshot.
Have you tried just clearing all data for the app after it detects root? That usually works for an app that "remembers" root. But, I've never tested the app in question so...
Click to expand...
Click to collapse
I think they keep your signature and store it on their servers. Barclays is really focused when it comes to not allowing people to use their app on rooted phones, but as I said, I would need to double check. And I kind of get why they do it, as they went all the way to avoid to pay Android to use Android Pay and they developed their own platform to pay over NFC (not judging here, it's up to them if they think it's the best solution). At the end of the day, root is exploited through a security flaw, and "the bad guys could get your moneys", and even though they could display a message at launch that says "hey, you are rooted, the bad guys could get AAAALLL of the moneys, it's up to you" people would still want to sue them if they mess up... but it's funny that they allow you to get into the online banking web on a rooted phone, where the bad guys could see your password...

how to open Magisk after it's hidden?

I outsourced rooting my device. Now I need access to Magisk to change the settings for the monitoring software I need to install. How do I open the Magisk app after it's been hidden? TIA!!!
It's in your app drawer, named "Manager".
gamoses said:
I outsourced rooting my device. Now I need access to Magisk to change the settings for the monitoring software I need to install. How do I open the Magisk app after it's been hidden? TIA!!!
Click to expand...
Click to collapse
Just run the app "Magisk Manager" or "Manager" (with the Magisk icon) that is on your app drawer.
Don't you have it? Well, then you don't have a proper installation of Magisk, at least the Manager is lacking. Download it (the apk) and install. Then open it and see if everything is fine or not. Check main Magisk release thread for links.
Thank you so much for replying! Magisk Manager is not in my app drawer, but it *is* listed in the device settings as an installed app. I just can't figure out how to open it. I assumed that app had also been hidden somehow. Advice?
Whoever you outsourced it to have done something that's not standard. Ask them...
Bummer. They'll probably charge me again. Thanks for your help, though!!!
gamoses said:
Bummer. They'll probably charge me again. Thanks for your help, though!!!
Click to expand...
Click to collapse
By the sound of it, they've messed up. So if I were you I would demand they fix things free of charge.
Didgeridoohan said:
By the sound of it, they've messed up. So if I were you I would demand they fix things free of charge.
Click to expand...
Click to collapse
Yeah, that didn't work. So I'm again trying to DIY...
Your wonderful guide says:
Unhiding the Magisk Manager
Go to the Manager settings and choose "Restore Magisk Manager".
Click to expand...
Click to collapse
But I can't do that because "Manager" is not in my app drawer.
You also have:
Starting MagiskHide manually
MagiskHide is enabled by default and should start automatically on boot. If it isn’t working, try toggling MagiskHide off and on in the Manager settings. If MagiskHide just won't start when toggling it in the Magisk Manager (check the Magisk log, it might have started but the Manager doesn't reflect it), try starting it manually. This can be done in a terminal emulator (as su) by executing the following command:
su
magiskhide --disable
magiskhide --enable
Click to expand...
Click to collapse
So I downloaded a terminal emulator and ran this command, but got this error message: su: unrecognized option '--disable'
Any more tips before I lose more money? Should I just try and reinstall Magisk completely? Having watched the tech guy do it the first time, I'm not sure I'm completely up for the task. Would it be easier after it's already been successful? Should this be straightforward, or am I better off handing over my wallet?
THANK YOU so much!!!
gamoses said:
Yeah, that didn't work. So I'm again trying to DIY...
Your wonderful guide says:
But I can't do that because "Manager" is not in my app drawer.
Click to expand...
Click to collapse
I'm curious... What happens when you want to grant superuser access to an app? Do you get the prompt to accept or deny?
I'm also curious what Magisk version you actually have installed. What's the result if you run this command in the terminal emulator:
Code:
magisk
You also have:
So I downloaded a terminal emulator and ran this command, but got this error message: su: unrecognized option '--disable'
Click to expand...
Click to collapse
You need to run the three commands separately, not all together.
Any more tips before I lose more money? Should I just try and reinstall Magisk completely? Having watched the tech guy do it the first time, I'm not sure I'm completely up for the task. Would it be easier after it's already been successful? Should this be straightforward, or am I better off handing over my wallet?
THANK YOU so much!!!
Click to expand...
Click to collapse
My first tip is to not trust your "tech" guy... From what you've described here it doesn't at all sound like he knows what he's doing.
Secondly, I would try to install the Manager and see what happens. Download the apk from here (that's the current version of Manager v7.2.0) and install that. If that works you're golden, if it doesn't report back...
I'm curious... What happens when you want to grant superuser access to an app? Do you get the prompt to accept or deny?
Click to expand...
Click to collapse
I don't know what this means or how to do that.
I'm also curious what Magisk version you actually have installed. What's the result if you run this command in the terminal emulator:
Click to expand...
Click to collapse
19.1
Secondly, I would try to install the Manager and see what happens. Download the apk from here (that's the current version of Manager v7.2.0) and install that. If that works you're golden, if it doesn't report back...
Click to expand...
Click to collapse
So I downloaded and installed this apk. I think. All that's necessary to do that is just click on it while on the phone, right? It said it was updating my previously installed Magisk Manager, so I assume it worked. But both immediately and after a reset, there is still nothing new in the app drawer. It still shows in my phone settings->apps, but that's it.
I've attached a log from my results in the terminal emulator regarding magisk and magiskhide. I'm sure I'm doing something wrong.
What launcher do you have? Sounds like the guy just his it from showing up the app drawer?
Sent from my MI 6 using Tapatalk
I was about to kick myself if it was that easy. Just installed Nova to check, and still no Manager app.
So should I just try to reinstall Magisk completely? Do I need to uninstall first? Is it as simple as opening the .apk on the device?
Hi, I have the same problem, did you find a solution?

Magisk Manager shows "Modules" and "Superuser" grayed out

First, I hope this thread is in the right place and apologize if it is not.
I currently have the problem that the Magisk Manager shows the two categories "Superuser" and "Modules" grayed out at the bottom. In addition, it is also so that the settings of the manager is slimmed down (fewer functions than usual). For this I have 2 screenshots ready: (see attachment and sorry for the German language).
Root itself is still there though (the apps that ask for root still do).
But can imagine that this happened because of the Magisk Hide app. Because I had hid the manager under a different app name, then either accidentally deleted it or restored the original package (can't remember).
In any case, I have already tried to install the manager with an SD card with the TWRP (did not work) and to install Magisk Manager via the apps themselves (pressed install in the first screenshot). This has come the following error message:
Code:
- Target image: /dev/block/
- Device platform: arm64-v8a
- Installing: 24.1 (24100)
! Unable to check signature
! Installation failed
My current status is that this has already happened once with the manager - judging by the bug reports on Github. Can someone please explain me in simple steps how to get this fixed? Thanks!
Bump
JulianKlein said:
Bump
Click to expand...
Click to collapse
No need to bump, your post was only 7 posts down, and only one bump is permitted every 24 hours.
The issue is clear from your screenshots. You don't have root. On the Magisk screen, at the top under the Magisk section, if "Installed" shows "N/A", you do not have working root. Magisk is unable to load modules without root.
V0latyle said:
No need to bump, your post was only 7 posts down, and only one bump is permitted every 24 hours.
The issue is clear from your screenshots. You don't have root. On the Magisk screen, at the top under the Magisk section, if "Installed" shows "N/A", you do not have working root. Magisk is unable to load modules without root.
Click to expand...
Click to collapse
Sorry, didn't know that.
But I don't quite understand. Why should I have no root if apps like Lucky Patcher, Vanced Manager ask for root and I can verify these requests with the manager?
JulianKlein said:
Sorry, didn't know that.
But I don't quite understand. Why should I have no root if apps like Lucky Patcher, Vanced Manager ask for root and I can verify these requests with the manager?
Click to expand...
Click to collapse
I'm not sure. I think you can still manage root permissions if you don't have root but I'm not 100% on that.
I suggest re-rooting with the prescribed method for your device. On the Pixels, we just re-patch and flash the boot image.
i hace the same problem in sm a70, the apps request root acces and i press yes and work but if the same app need request more times for example unloking network , the request are send again and again and again
I just took the leap into Android 12 and we t through the process of patching the boot img and flashing it. I have the same issue as the op. I have patched, repatched, and flashed and reflashed at least 4 or 5 times now. No change.
Edit to note that I do in fact have root, regardless of what Magisk says (installed - N/A). Apps like AdAway have root access and are working properly.
I had the same problem on my (very) old J7 (2015).
Am on android 7, and was trying to update Magisk from v24.3 to v25.1
I had to completely remove Magisk, and restarted from scratch.
Flashed the v25.1 apk in TWRP.
Same problem with Magisk 52.2 on my LineageOS 19.1 (Android 12L) installed on GT-N8000 (Samsung Note 10.1). I already tried re-root, re-flash, re-install apk and nothing!
constrito said:
Same problem with Magisk 52.2 on my LineageOS 19.1 (Android 12L) installed on GT-N8000 (Samsung Note 10.1). I already tried re-root, re-flash, re-install apk and nothing!
Click to expand...
Click to collapse
Do you originally have magisk hidden as another app then install mm anew?
Nergal di Cuthah said:
Do you originally have magisk hidden as another app then install mm anew?
Click to expand...
Click to collapse
I'm not sure about it, but I tried a few versions of Magisk and none worked. I installed both boot.img and magisk.apk via TWRP. The app downloaded and installed by Android always forces an upgrade.
constrito said:
The app downloaded and installed by Android always forces an upgrade.
Click to expand...
Click to collapse
That's because you haveca newer boot than the magisk manager.
Let it upgrade
Then tap the uninstall button
Restore images
Then complete uninstall
Reboot
Install magisk
Reroot
Nergal di Cuthah said:
That's because you haveca newer boot than the magisk manager.
Let it upgrade
Then tap the uninstall button
Restore images
Then complete uninstall
Reboot
Install magisk
Reroot
Click to expand...
Click to collapse
I don't have an uninstall button. I put a print screen in the previous post.
Did you mean to post something if so you didn't
Not sure what to say about no uninstall but i guarantee that you have a double install. Look through your apps. Did you ever hide magisk with a different name, you've got to remember that at some time you did.
Nergal di Cuthah said:
Did you mean to post something if so you didn't
Click to expand...
Click to collapse
Sorry if there was some confusion, here is: https://forum.xda-developers.com/t/...nd-superuser-grayed-out.4409627/post-88379373.
constrito said:
Sorry if there was some confusion, here is: https://forum.xda-developers.com/t/...nd-superuser-grayed-out.4409627/post-88379373.
Click to expand...
Click to collapse
See my edit
Nergal di Cuthah said:
Did you mean to post something if so you didn't
Not sure what to say about no uninstall but i guarantee that you have a double install. Look through your apps. Did you ever hide magisk with a different name, you've got to remember that at some time you did.
Click to expand...
Click to collapse
I removed the Magisk via TWRP by flashing it with the uninstall.zip file. After installing the Magisk via flash with the Magisk.zip file and rebooting the tablet, I patched my boot.img, went back to TWRP, flashed the boot.img selecting the boot option and rebooted. I went back to the Magisk app and the same problem. I checked via
Code:
adb shell pm list packages | grep magisk
and it returns only
Code:
package:com.topjohnwu.magisk
it suggests I have only 1 app installed (none hidden).
Then I'm out of ideas sorry
Nergal di Cuthah said:
Then I'm out of ideas sorry
Click to expand...
Click to collapse
No problem and thank you.

Categories

Resources