yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] fgl27:
after the problem has happens make a log.zip (made by iSu in checks tabs) and share it, so I can see what is what.. on the mean time you can use the reversed option to run with SU deactivated all the time and only enable for Rooted app...
[Android Apps and Games] logosA:
isu is not shown anywhere

after dirty flashing a new version of my rom, reflashed SU and after booted installed iSU 6.3

Everything seems to be done as it should, but the thing is I cannt find iSU anywhere.

I have tried and tried, installed it more than 10 times. Always the same , app seems to be installed but I cant find it anywhere.

Advanced uninstaller program cannt find it so UN-install and reistall, if thats the problem.

I have taken some screenshots from my search in the phone. Also I think I have taken a logcat during installation of the app, so if you can understand what is going on.

My last thought is to flash again the rom (or the new version available) , reflash LOS SU and then try to reinstall iSU and see if that helps.

Samsung Galaxy Note4 on Lineage 14.1 24/9/17 Nougat rom

In the mean time take a look, if you can, to these:
[Android Apps and Games] fgl27:
you uninstall the hide apk without unhide it first, settings > app must be able to see iSu uninstall it there then install again, or shell command as root on a terminal app or via adb shell as SU

pm unhide com.bhb27.isu
[Android Apps and Games] logosA:
yes, you are right as always :)

I had just found that out, just when you was posting it.

In settings >apps>iSU was present

So I uninstalled it as suggested and then re-installed it.

Now everything is in order again.

Thank you and sorry for the false alarm :)
[Android Apps and Games] meiser:
Hi,

the latest update of one of my banking apps now detects if the development options are enabled. If they are enabled, the app doesn't start.

Is there a chance to hide the status of the development options? There's a approach for the rootcloak xposed module under https://github.com/devadvance/rootcloak/pull/99/commits/aff8b65831fbb6cf5e608d5a363e421d3804ad97.

EDIT: Did some testing and only disabling DEVELOPMENT_SETTINGS_ENABLED is not enough. Developer Settings are disabled when ADB debugging is set to be disabled.

My test code:

--- a/app/src/main/java/com/bhb27/isu/tools/Tools.java
+++ b/app/src/main/java/com/bhb27/isu/tools/Tools.java
@@ -341,18 +356,22 @@ public class Tools implements Constants {
boolean anddebug = AndroidDebugState(context);
if (isChecked) {
if (!anddebug && anddebug_su_on.equals("1")) {
+ AndroidDevOptSet(true, context);
AndroidDebugSet(true, context);
Toast = Toast + "\n" + context.getString(R.string.activate_anddebug);
} else if (anddebug && anddebug_su_on.equals("0")) {
AndroidDebugSet(false, context);
+ AndroidDevOptSet(false, context);
Toast = Toast + "\n" + context.getString(R.string.deactivate_anddebug);
}
} else {
if (!anddebug && anddebug_su_off.equals("1")) {
+ AndroidDevOptSet(true, context);
AndroidDebugSet(true, context);
Toast = Toast + "\n" + context.getString(R.string.activate_anddebug);
} else if (anddebug && anddebug_su_off.equals("0")) {
AndroidDebugSet(false, context);
+ AndroidDevOptSet(false, context);
Toast = Toast + "\n" + context.getString(R.string.deactivate_anddebug);
}
}
@@ -416,9 +435,22 @@ public class Tools implements Constants {
return false;
}

+ public static void AndroidDevOptSet(Boolean isChecked, Context context) {
+ if (context.checkCallingOrSelfPermission("android.permission.WRITE_SECURE_SETTINGS") == PackageManager.PERMISSION_GRANTED)
+ Settings.Global.putInt(context.getContentResolver(),
+ Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, isChecked ? 1 : 0);
+ Log.d(TAG, "Change DevOpt isChecked = " + isChecked + " DevOpt = " + AndroidDevOptState(context));
+ }
+
+ public static boolean AndroidDevOptState(Context context) {
+ if (context.checkCallingOrSelfPermission("android.permission.WRITE_SECURE_SETTINGS") == PackageManager.PERMISSION_GRANTED)
+ return (Settings.Global.getInt(context.getContentResolver(), Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0) != 0);
+ return false;
+ }
+
public static void WriteSettings(Context context) {
if (context.checkCallingOrSelfPermission("android.permission.WRITE_SECURE_SETTINGS") != PackageManager.PERMISSION_GRANTED)
runCommand("pm grant com.bhb27.isu android.permission.WRITE_SECURE_SETTINGS", SuBinary(), context);

Thanks,

meiser
[Android Apps and Games] fgl27:
xposed related can't be used as it depends on xposed it self and that will fail safety net a lot of apps security checks...

share the problematic app play link so I can see what it does.
[Android Apps and Games] meiser:
The app is at https://play.google.com/store/apps/details?id=com.starfinanz.mobile.android.dkbpushtan. It's the version 2.1.0 with the new behaviour, not 2.0.1.

I've uploaded the apk to https://ufile.io/s81lv

EDIT: Further investigation shows that the app actually checks for /data/property/persist.sys.root_access. If the value is 1 or 3, it crashes.
[Android Apps and Games] fgl27:
Disabling Root in devs option set that prop to 0, the app works then? or is need to disable devs option all together?
[Android Apps and Games] meiser:
Yes, changing it to 0 (disabled) or 2 (ADB only) makes the app work, I don't have to fully disable development options.

But it's not really the file "/data/property/persist.sys.root_access" which the app checks. I made a test and compiled a test version of LineageOS and replaced all occurrences of "/data/property/persist.sys.root_access" with "/data/property/persist.sys.su_access" and also modified the iSu app to cope with it.

And the app still crashes as long as the root setting is not 0 or 2.

EDIT: OK, I think I found it. It checks the processes for su occurrence. It seems that as long as it finds "su" or "/system/xbin/su" in the process list, the app crashes.

And if su is disabled with the iSu app, there's still one occurrence of "/system/xbin/su" in the process list.

disable su with the iSu app:
============================
root@oneplus3:/ # ps |grep su
u0_a0 3029 551 1672364 103032 SyS_epoll_ 0000000000 S com.bhb27.isu
root 9647 1 5716 1352 __skb_recv 7f7f61d930 S /system/xbin/su

disable root in the development settings:
==========================================
root@oneplus3:/ # ps |grep su
u0_a0 3029 551 1671924 103464 SyS_epoll_ 7f995a3990 S com.bhb27.isu

disable root in the development settings, but have one shell open in su mode:
=========================================================================
root@oneplus3:/ # ps |grep su
u0_a0 3029 551 1671924 103464 SyS_epoll_ 7f995a3990 S com.bhb27.isu
root 16839 16325 5112 1100 do_wait 7f9188ca58 S su
root 16840 16839 7192 484 n_tty_read 7f9188c458 S su
root 16844 1 5716 540 do_wait 7f7f61ea58 S /system/xbin/su
root 16846 16844 5716 544 do_wait 7f7f61ea58 S /system/xbin/su

EDIT2: The processes are just seen if you run the shell as root. If I use a terminal app, the processes are not shown when iSu has disabled SU. How can this libshield.xxx.so see su?
[Android Apps and Games] fgl27:
have you check te prop also?

as the app if instaled as a normal app can't read from data/* unlles it's his own folder

below you can see I can't read without SU access but I can get the result of "getprop" without SU.

quark_umts:/ $ cat /data/property/persist.sys.root_access
/system/bin/sh: cat: /data/property/persist.sys.root_access: Permission denied
1|quark_umts:/ $ su
quark_umts:/ # cat /data/property/persist.sys.root_access
3
quark_umts:/ # getprop persist.sys.root_access
3
quark_umts:/ # getprop | grep -i root_access
[persist.sys.root_access]: [3]
quark_umts:/ $ getprop persist.sys.root_access
3
quark_umts:/ $ getprop | grep -i root_access
[persist.sys.root_access]: [3]
quark_umts:/ $

and regarding "PS" maybe the app search for su, so isu (the su part of the app name) running cause the problem you can change the app name using the hide function and test...

:good:
[Android Apps and Games] fgl27:
App update V 6.4

No need to update reboot support, unless it fail for you on the previosly version

Changelog

Download Link

XDA LABS update

[IMG="XDA Labs"]https://img.xda-cdn.com/oshFRo1rSEHTP5__wCXMO3e3u-I=/http%3A%2F%2Fimgs.xda-labs.com%2F0621sigs%2Flarge%2Fcontributor.png[/IMG]

Enjoy it :good:
[Android Apps and Games] Diego1751:
[MENTION=5747496]bhb27[/MENTION] thanks for the app! I am running RR nougat on the Quark (Droid turbo) with your kernel, I lost reboot support somehow yet your description in op says that reboot support is not needed for nougat? Any ideas?

Should I also flash reboot support?
[Android Apps and Games] fgl27:
Flashable reboot support don't work on N.

The app add reboot support when it is not there just by open the app, but you need to give it permanent SU access, if you change anything thing related to root on yours device or if you are using a app to block iSu from doing something those may be the problem.
[Android Apps and Games] Wiggle³:
Will it work on Oreo?
[Android Apps and Games] fgl27:
App update V 6.5

No need to update reboot support, unless it fail for you on the previosly version

Changelog

Download Link

XDA LABS update

[IMG="XDA Labs"]https://img.xda-cdn.com/oshFRo1rSEHTP5__wCXMO3e3u-I=/http%3A%2F%2Fimgs.xda-labs.com%2F0621sigs%2Flarge%2Fcontributor.png[/IMG]

Enjoy it :good:
[Android Apps and Games] blend800:
Hello i can't not pass Safety Net

Here my log
[Android Apps and Games] fgl27:
Safety net is not return a answer, so is not that you did not pass it did not try.

I don't understand this problem as it doesn't happens to me, I just test and is all OK.

can you try a safety net check app? and let me know the result, with screen shots if they are relevant.

There is some options of app that can check Safety net.

https://play.google.com/store/search?q=safety net
[Android Apps and Games] blend800:
It works again, it did not work this morning. I did not have any connection to Safety Net. Thanks again for your answer
[Android Apps and Games] yash447:
How to unhide it?

I tried to hide the app,and now I forgot how to recover it, it's not given in the instructions can u help me?

I passed the safetynet test but the latest Pokemon go isn't working....

Can anybody confirm whether its working?I tried hiding the isu app but I forgot how to unhide it,
[Android Apps and Games] fgl27:
Click on the same place you click to hide. The description there is OK, but I will update the title of that.

I don't play pokemon, but safety net is fine if they are only using it it must pass as long you keep SU disable.
[Android Apps and Games] fgl27:
App update V 6.6

No need to update reboot support, unless it fail for you on the previosly version

Changelog

Download Link

XDA LABS update

[IMG="XDA Labs"]https://img.xda-cdn.com/oshFRo1rSEHTP5__wCXMO3e3u-I=/http%3A%2F%2Fimgs.xda-labs.com%2F0621sigs%2Flarge%2Fcontributor.png[/IMG]

Enjoy it :good:
[Android Apps and Games] Wakkarshashank8:
Need help

I am on lineage os 14.1.... And i cant pass safety. Net getting error attaching s.s and log zip below plz help

[IMG="error"]https://preview.ibb.co/geFZP7/Screenshot_20180319_175916.png[/IMG]

Zip link (add http) nofile.io/f/g20fRR9V4ap/iSu_log_Apr_15_2018_23_34.zip
[Android Apps and Games] fgl27:
If the problem persist share another log, as I can't see the previously.
[Android Apps and Games] Wakkarshashank8:
here is the link drive.google.com/open?id=1LGSMAG88dMe4DYQUFArL0r8VD71JogVK
[Android Apps and Games] fgl27:
did you change "ro.build.fingerprint" because was the same as "ro.bootimage.build.fingerprint"?

If yes, did you reboot? and the new value is still there after the reboot?
[Android Apps and Games] Wakkarshashank8:
yes did reboot and new value is still there

---------- Post added at 05:44 PM ---------- Previous post was at 05:34 PM ----------

any other value i can try for ro.build.fingerprint? and to change it to stock value?
[Android Apps and Games] fgl27:
App update V 6.7

No need to update reboot support, unless it fail for you on the previosly version

Changelog

Download Link

XDA LABS update

[IMG="XDA Labs"]https://img.xda-cdn.com/oshFRo1rSEHTP5__wCXMO3e3u-I=/http%3A%2F%2Fimgs.xda-labs.com%2F0621sigs%2Flarge%2Fcontributor.png[/IMG]

Enjoy it :good:
[Android Apps and Games] fgl27:
You can change to any know good value from any device stock ROM that can pass safety net in theory.

Share a new log using latest app version so I can see a new log that I added.
[Android Apps and Games] Wakkarshashank8:
How to do that can u provide that value... And tell me how edit too plz
[Android Apps and Games] fgl27:
You click/open the "ro.build.fingerprint' option in props and chose "PERSONALIZED" and enter the new value.

I don't have a list with OK values, the one I know that is working is already there is the app, you set it using "KNOW SAFE", as you already did before, and if you say the value is there after a reboot that is not the problem.
[Android Apps and Games] Wakkarshashank8:
new log genrated with latest isu 6.7

drive.google.com/file/d/1z6_3eonr10u6A-8sB0shHlna3bNFC1wC/view?usp=sharing
[Android Apps and Games] Ashokk8:
Hey, I can't even open this app it stay still like that (freezes) and won't open at all.

This happened in :-

Device : Moto G4 Plus (athene)

Rom: AOKP Nougat

Root : flashed Lineage Add-on SU Zip

This rom doesn't provide Root access option like ' Disbled/adb only/ apps only '
[Android Apps and Games] Ashokk8:
Here's the screenshot
[Android Apps and Games] fgl27:
On the first look there's noting wrong that can cause the fail, but I did not yet finish analyzing somethings when I finish will let you know.

Do you have SU access? there

I will need full logcat running as SU, to understand what is going on if you can provide I take a look.
[Android Apps and Games] Ashokk8:
Just flashed magisk on G4+ don't know what went wrong.

But it's working perfectly fine on my Moto E2 (otus) running Lineage OS 14.1 with addon su zip.

Thank you very much for this great app.
[Android Apps and Games] Ashokk8:
Why i can't pass safety net ?

Usually magisk would've able to pass safety net check.
[Android Apps and Games] meiser:
What the heck are you doing? The isu app is about integrated root into LOS. If you use magisk, you don't need isu.

But it's all explained in the initial description, reading helps.
[Android Apps and Games] fgl27:
Go the the magisk tread and ask there., here is iSu only support.
[Android Apps and Games] suhelsadik:
Isu not fully support how
[Android Apps and Games] Wakkarshashank8:
Any solution yet?? Waiting here plz
[Android Apps and Games] fgl27:
No ask the developer of the ROM to check, as I don't have the device I can't test any further or know what it's be done to build for that device, and what is be done must be what is causing it.
[Android Apps and Games] mdharoonh:
Safetynet still fails

I have done evrything as instruction but safetynet still fails.

I am using Huawei Y6 pro - ressuruction remix - noughat

Plss help:(
[Android Apps and Games] dinadan:
Reboot support on LineageOS 15.1?

Hi, I've been running ISU for a while now, and have been very happy with it on my OnePlus One with CM 13 and LineageOS 14.

I just updated to LineageOS 15.1, and I note that I lose root if I reboot the phone while SU is disabled. This seems like the same thing as what happens to users of Lollypop and Marshmallow.

Will there be a Reboot Support Zip for Oreo as well? Will the current Lollypop/Marshmallow one work?

Thanks,

Derek
[Android Apps and Games] fgl27:
Does the app tell you the "Reboot support" is OK?

The support for Oreo is the same as Nougat, so you can't use old zip's to try to make that to work.

If the app tells you the support is OK, do a normal reboot with su enable, after reopen the app and share here the log.zip that the app generates in "Generate a log", if the reboot support is NOK just share the log no need to reboot...
[Android Apps and Games] dinadan:
The app does say that Reboot Support is OK, Yes.

I'm glad I didn't try any of the old zips.

I don't use this forum enough to know how to or be able to share here - you can get the zipped log files at:

https://app.box.com/s/wo38l5b2tlypa11ybaz4qljhig2wloq0

I hope that works for you

Thanks!
[Android Apps and Games] fgl27:
OK I manage to get it, and see a problem, will share a beta app when I manage to test a solution...
[Android Apps and Games] fgl27:
Can you test the attached?

If you can let me know the result, if it fails do the same test as before with SU running OK and the app showing "Reboot support" as OK, do a reboot and share the log.zip of the app.

:good:
[Android Apps and Games] dinadan:
I downloaded and installed the iSu6.8 you provided.

It shows Reboot Support OK. I used it to deactivate SU, and rebooted my phone.

When the phone booted up, I had lost root access.

I still have the same problem

Rebooted to Recovery, installed the addonsu to get root back, booted again. Made sure I had root access, booted one more time, generated the log files.

I'm still just a junior member here, so they can be found at:

https://app.box.com/s/319bwb0g888t4a9lhrwc5rxjpqgf9lx4

again.

Thanks for your support and hard work!
[Android Apps and Games] fgl27:
OK I see is the same problem, let us try one more thing...

Please install the attached, but before install uninstall the current version you are using.

Let me know the result the same way as before.

:good:
[Android Apps and Games] dinadan:
OK, I uninstalled, iSu_6_8.apk, downloaded the new one, moved it to my phone, installed it. Still says Reboot OK. Used it to make sure SU was active, rebooted the phone, SU stayed active - we knew that would work.

used iSu to hide SU, rebooted the phone, and root access was lost. Same as before.

Rebooted to Recovery, installed the addonsu, rebooted, root access is back, set usual settings in iSu. saved log files.

Here they are:

https://app.box.com/s/cmy0ge6wzo0rbh6u05x03g0ezlt2jd65

Hope that helps
[Android Apps and Games] fgl27:
Flashing addonsu removes the reboot support, so you can't do that to share the log, you need to restore SU then open the app, check reboot support and then reboot and after it boot OK generate the log, so I can see the result of the logs...

Use the attached app for the next test please, I made a improve over the last one...

:good:
[Android Apps and Games] dinadan:
Oops, I'm sorry. I try to give too much description of my test so you can catch such mistakes though.

I think we have a working fix!

Once again, I deleted iSu from my phone, downloaded your latest iSu_6_8.apk, transferred it to the phone, installed it, and opened it,

giving it root permissions in the process.

It says Reboot Support is OK, SU is activated. I take a minute to force props to Known Good values, just for fun, exit iSu, reboot the phone.

SU is available and activated upon reboot, just as it should be. Open iSu again, deactivateSU, exit iSu, reboot phone.

SU is available and activated upon reboot, just as before. Win!

I find such things as Google Pay and Pokemon Go work best if SU is hidden/deactivated mostly, and I use the iSu monitor to activate SU for apps that require it upon demand, and then deactivate it when it is no longer needed. With this setting, I now need to use the Deactivate SU at Boot option to get into my preferred state automatically - but this is good, because that option is there!

I've tested with the auto deactivate and deactivate at boot, and it works a charm - I can start Pokemon Go very shortly after a reboot with no action on my part.

Thank you very much once more for this!
[Android Apps and Games] fgl27:
Great, when I update the project later you don't need to change the app I will use that last one I share before.

I add those options of deactivate on boot and run with SU deactivate and activate on demand as user report things like that, some apps work best when it is detective by default, if you get a problem on running a SU app you can use the tile or a widget to activate it on demand before start the app.

:good:
[Android Apps and Games] fgl27:
App update V 6.8

No need to update reboot support

Changelog

Download Link

XDA LABS update

[IMG="XDA Labs"]https://img.xda-cdn.com/oshFRo1rSEHTP5__wCXMO3e3u-I=/http%3A%2F%2Fimgs.xda-labs.com%2F0621sigs%2Flarge%2Fcontributor.png[/IMG]

Enjoy it :good:
[Android Apps and Games] fgl27:
[MENTION=4004648]dinadan[/MENTION] I found a minor bug on the version I share with you not related to the reboot support, so I recommend you to update to this latest version, just download and install on top of yours current no need to uninstall before, this way you'll not lost yours saved configs.
[Android Apps and Games] mgdavis:
this might be a stupid question I'm new to all this but trying to learn. is root required and if so how can I obtain root access without having a computer help plz. also I have a SAMSUNG-SM-N950U "note 8".
[Android Apps and Games] sumitarora2:
If tie device is not rooted then why do you need this app
[Android Apps and Games] fgl27:
App update V 6.9

No need to update reboot support

Changelog

Download Link

XDA LABS update

[IMG="XDA Labs"]https://img.xda-cdn.com/oshFRo1rSEHTP5__wCXMO3e3u-I=/http%3A%2F%2Fimgs.xda-labs.com%2F0621sigs%2Flarge%2Fcontributor.png[/IMG]

Enjoy it :good:
[Android Apps and Games] userAmit:
Hello,

My Device is Zenfone 2 ZE551ML Z00A. I have lineage-14.1-20171002-nightly-Z00A-signed.zip rom with su flashed, Kernel version:3.10.72 , SELinux Status:Enforcing.

I installed iSu[v6.9] apk. Deactivate SU state, Set all props to known value, provided app monitor accessessibility.

When I click on safety Net test I get

Cannot check safetyNet, no Internet

. Even though I have internet access and all other apps can access internet just fine.

Please help me out
[Android Apps and Games] fgl27:
Safety net is down, and that is way you get that error, the app can't tell if is a internet or safetynet be down. You can check using other safetynet app from play, at least here none work all result in the same error
[Android Apps and Games] userAmit:
So I installed safety net test app from playstore and it verifies that safety net test failed
[Android Apps and Games] fgl27:
that app doesn't know if is down or if it fail is all fail for it, test again later or tomorrow, if iSu says can't check is because is down, or google block every app from test with will be the first time we can't even test.
[Android Apps and Games] userAmit:
Ok. So how do I check it?
[Android Apps and Games] h_maharaj:
SafetyNet attestation now requires an API key. Magisk currently has the same issue. Check here:

https://stackoverflow.com/questions/50960332/why-did-safetynet-attestation-stop-working/50960333
[Android Apps and Games] userAmit:
Does that mean nothing can be done?
[Android Apps and Games] fgl27:
this was update yesterday and is now working

https://play.google.com/store/apps/details?id=com.scottyab.safetynet.sample

I will remove the safetynet check featuring from iSu as is not demanding.
[Android Apps and Games] userAmit:
I installed the app and safety net got verified but I can't use tez app
[Android Apps and Games] fgl27:
iSu is only made you to help to pass safety net check, from that pic that app use some extra custom check that I have no idea how it works, if you know what it checks for we can discuss on how to help.
[Android Apps and Games] userAmit:
Actually I think it checks for safety net and root. This video uses iSu to bypass safety-net and use Tez app which I used.

The guy in the video is using Lineageos too.

Tez is developed by google and according google security engineer here which is for android pay app he describes that safety net is used to make the app not work on rooted device.

If there is any way(please tell me how ) to check what this app looks for I will help.
[Android Apps and Games] fgl27:
are you in India? or at least has a India cell phone number?

as that is a India only app, the fail is probably because of that if you aren't.
[Android Apps and Games] userAmit:
Yes, I'm in india.