yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Safal Oraon:
If I just want to use To hide safetynet then do I have to flash those Zips or the apk is enough (No need of toggling SELinux status) ?
[Android Apps and Games] Stud12376:
You have magisk su installed, this app needs cm su
[Android Apps and Games] joshi1:
okay .. i followed exactly what u said ..still unable to pass safetynet

providing logs ... help me

thank you
[Android Apps and Games] fgl27:
SU is enable on that log, you did not provide a screenshot of the test I can see if you disable SU, it need to be deactivate to pass.
[Android Apps and Games] fgl27:
In OP read "How To use it?" and "Installation instructions:"
[Android Apps and Games] fgl27:
If you wanna to use magisk, you are on the wrong thread, use xda search (top right) to find magisk one.

by what you post I don't understand what you did that "Fix it" because none of those cause the app to fail, maybe you are experimenting flashing changing things and test and changes can cause all types of problems
[Android Apps and Games] Safal Oraon:
I'm on Lineageos 14.1 latest 25th August ROM

Device - ASUS ZenFone 2 ZOOA (bootloader unlocked & Rooted via official lineageos Su)

Deactivated Root

SELinux is set to Enforcing Still SafetyNet Failed. (Cts profile & Basic Integrity both failed)

Is there any solution/path still to pass SafetyNet.
[Android Apps and Games] fgl27:
from OP ther is a lot of info there

I update this

To passa safety net is need to have SU deactivate, SELinux enforced and have most of the known Props on green (recommended none prop with a red warning):
[Android Apps and Games] enes5759:
I post this thread because magisk root hider unavailable this rom.

Told me iSU root hide available

I apologize if it was the wrong thread

Good forums
[Android Apps and Games] fgl27:
App update V 5.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] Aria jack:
please me i try root samsung galaxy grand duos i9082 but imperfect please give me the way thanks
[Android Apps and Games] Cebl:
Hey bhb27, first of all: Awesome App!

I was searching quiet long for a way to efficiently temporarily hide su from my phone and nothing else worked beside iSu - many thanks!

Unfortunately I encountered one problem. Even though I flashed the Kernel-Update I still loose root after a reboot (when su is deactivated while rebooting).

I have to admit, my kernel is a bit outdated. Do u think that could cause the problem?

My phone: Samsung Galaxy S3 i9300 (Android 6.0.1 / Cyanogenmod 13)

Kernel: 3.0.101
[Android Apps and Games] fgl27:
If you don't flash the kernel reboot support, after it ROM or kernel update that may happens.

Have you use the reboot support?
[Android Apps and Games] fgl27:
You can google ways to root, this is not a thread to teach how to root, that is a very common thing and well spread on the web...

if you have any doubts on how the app works and were, check original post in first page.
[Android Apps and Games] Cebl:
Yes, I booted into custom recovery and flashed the Reboot-Support aswell.
[Android Apps and Games] fgl27:
with SU active, reboot the device after generate a log from the app and share here.
[Android Apps and Games] Cebl:
I sent you a PN
[Android Apps and Games] fgl27:
App update V 6.0

Update reboot support, Marshmallow or Lollipop users please update, there is only one file now

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:
If anyone has a problem with the new single file reboot support for marshmallow or lollipop let me know, and use the oldest way with separated files permissive/enforcing that I update on the below link

https://www.androidfilehost.com/?w=files&flid=213644
[Android Apps and Games] sumitarora2:
New feature of hiding isu from other apps is not working whenever we click on it isu crash
[Android Apps and Games] h_maharaj:
New hiding feature causes the app to crash. Logs attached.
[Android Apps and Games] fgl27:
How, doing what exactly?
[Android Apps and Games] h_maharaj:
When I select "Hide iSu" and then tap "OK" the app crashes. See screenshots.
[Android Apps and Games] power988:
mmm.. i don't know what to say, i just know this rom is CM based :D

the app works (i use pokemon go as non root app), just there is the known behavior when you reboot with SU disabled, then you can't re-enable it again from iSU
[Android Apps and Games] Kurajmo:
I tried this app.

And this is result.

I can't turn on any of those setting.

Dont know why.

I know How, root android.

I know How Flash stock rom of most Android devices.

I can Flash any cyanogenmod on Android device.

But this is enough for me.

I don't understound why this thing not work.

And what i need to do now.

Any help with this?
[Android Apps and Games] mrkhigh:
Your su name is not recognized by the app.

Bhb would have to add the name of the su your rom uses for the app to maybe work.
[Android Apps and Games] jmd_akbar:
Another happy/weird interaction of this iSU app... When I disable SU using iSU, the Android Pay on my phone started to work... :)

(PS: Dunno if anyone else had tried this, I was too excited and quick posted this; didn't search)
[Android Apps and Games] Kurajmo:
I use this cm11 with crono kernel

http://xdaforums.com/galaxy-ace/ace-2-develop/kernel-ace2nutzer-kernel-20141027-t2920365/page668
[Android Apps and Games] mrxtc89117:
Any LG G3 users out there able to make this work on our device? I still get an error even after I "bump" the boot image.
[Android Apps and Games] fgl27:
try this...

https://www.androidfilehost.com/?fid=529152257862689534

Send me a screenshot of may app window and tell me the behavior. :good:
[Android Apps and Games] fgl27:
what and were error?
[Android Apps and Games] mrxtc89117:
It is the "Secure Boot Error". It is when the boot image signature does not match. For LG G3 users, we "bump" or sign the boot image after a flash because our bootloaders are locked.
[Android Apps and Games] Kurajmo:
I tested this app today.

And heres result.

App disable root.

Cant change selinux Mode.

I think my phone dont have support selinux Mode.

I tried play Pokemon GO.

And still the same issue appear.

I attached screenshoot with this error.

My account isn't banned.

I succesifly log in my Google account.

On my sister Huawei with 2gb ram. On stock 4.4.4 rom.

And on this phone my account work.

Ehh.

Maybe i really need new phone to play Pokemon GO.

I don't know.
[Android Apps and Games] power988:
same error as mine :)

maybe [MENTION=5031300]blastagator[/MENTION] can help us LG owners
[Android Apps and Games] fgl27:
OK I see

I don't know the relation of CM-11 and security maybe there is no way to run safety net app in that, a lot of things that can break security, have you try with stock kernel the one that comes with the CM you use?

If the stock kernel with SU deactivated doesn't work, you can try yours device Stock ROM no modifications, and that is if your device is not already flag as "unsafe" by the bootloader unlock or some way you use to flash custom ROM a lot can be used to flag a device and is hard to know way....

So you can try the stock and then see your options...

What I don't understand is were that error is? and the relation with this thread app.

I know you get a boot error but what you do to see the error. This is just a app to deactivate SU it doesn't not deals with kernel or things related.

Yes the tread can serve as a way to discuss about it but please make things clear, after all I may be able to help if I understand, at least help other coming to the thread advising about no support for that type of boot error...

:good:
[Android Apps and Games] Kurajmo:
I try this tommorow and i write here.

Thanks for any help with this
[Android Apps and Games] mrxtc89117:
I flashed iSu_kernel_Patch_V_1_6_and_up_Enforcing.zip and when I boot I get "Secure Boot Error" and the phone shuts down.
[Android Apps and Games] fgl27:
So only now I understand that the .zip has no support for yours device, but that doesn't stop from using the app, just stops you from rebooting with SU deactivated.
[Android Apps and Games] mrxtc89117:
Yes. thank you. Is it because of the bootloader or the kernel. I can try a different rom if it is the kernel.
[Android Apps and Games] fgl27:
Ok tell me he below please...

Is the app working?

you can pass safety net verification, after had deactivate SU in the app?

can you patch the boot.img after flashing the .zip, because the zip will change the boot.img add the kernel reboot support then if you patch to included the missing " boot image signature "?

Because the .zip only brings reboot support doesn't change the habitability of the app to work.

As I don't have the device even if I manage to make the zip do that will take a lot of time.

Point to a thread that explain how to do that also help.

:good:
[Android Apps and Games] mrxtc89117:
Yes, the app works. I can pass safetynet. This is what I use to patch the boot image. I will try to find the webpage on xda where I got the file.
[Android Apps and Games] fgl27:
Can you just flash that zip after the isu.zip?

is all TWRP flash zips...
[Android Apps and Games] mrxtc89117:
Yes. I flash isu.zip and then this zip. But I get "Secure Boot Error" and the phone shuts down.
[Android Apps and Games] fgl27:
OK I will try lollipop when I have the time to see if is fixable... :good:
[Android Apps and Games] h_maharaj:
I'm running a Nougat rom.
[Android Apps and Games] logosA:
Same here. We are both running nougat roms on a Samsung Note 2.

On the other hand its the only way for our phone to pass safety net and run apps like snapchat, PO go etc when suhide and magisk have never did that on our phone.

I dont know the use of hiding su, none for me probably. I do know that you gave created something extraordinary and I thank you for that.:good::):good:
[Android Apps and Games] logosA:
But maybe that could help you figure out what's the problem
[Android Apps and Games] fgl27:
I confuse the 12.1-NIGHTLY from getprop, I have no idea way yours ROM have this problem on the nougat that I have test is all fine, I believed is something on the ROM side, will try to fix it but I may not as I can reproduce on the nougat I have.
[Android Apps and Games] fgl27:
can you share the app log zip? after the problem has happening please.
[Android Apps and Games] logosA:
here you are.

I have done it twice , just to be sure I get it right
[Android Apps and Games] h_maharaj:
No problem. I don't actually need to hide iSu. I saw on the previous page that someone reported the hide feature was causing iSu to crash but provided no logs so I decided to test.
[Android Apps and Games] fgl27:
:good:

I appreciate the test...

.......

I think I find a solution...

if you guys can test the attached apk hiding and if OK unhiding using the same tool but on masked version I will appreciated.
[Android Apps and Games] h_maharaj:
Yes, thank you. It is functioning properly now.
[Android Apps and Games] fgl27:
Thanks...

Will released a final version later...

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

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] ZealK10:
How to make it work LG-H420?

Hi everyone i have a rooted android with SU but i wanted to play games with it but it detects root and root cloak does not work also i have xposed installed but still nothing is there a way to have this program installed so i can hide my root and enjoy playing games with no worry´s? Thanks. also my android ver. is 5.0.1 lolipop.
[Android Apps and Games] fgl27:
That info is on the first page. in doubt about anything there let us know on a more specific question as it seems you did not try to read and understand it all. :good:
[Android Apps and Games] logosA:
Although everything is right and no issues with safetynet, snapchat and all that this app is supposed to do (and it does very well) i cannt make it hide iSu. Am I doing anything wrong?

Not that I need that, just for testing reasons
[Android Apps and Games] logosA:
Info
[Android Apps and Games] fgl27:
I see on the log way that happens, will fix it, thanks for let me know about that odd bug... :good:
[Android Apps and Games] fgl27:
If you can test the attached and let me know the behavior I appreciate, must be fixed

:good:
[Android Apps and Games] logosA:
Yes, i think you did it

:good::):good:
[Android Apps and Games] logosA:
Before be able to hide, i had 2 iSU in apps drawer. When hidden, one of them disappeared. Should i un-install 6.1 before install 6.2? Next time i will test it after a clean rom flash.

But now everything looks to be working
[Android Apps and Games] logosA:
Yes, it is all fixed now. Great job dev :)
[Android Apps and Games] ZealK10:
the LG-H420 version 5.0.1 Lolipop i rooted it with kingroot then i changed it to super su and then i installed the Isu its says that the current su that i have is not compatible cuz its in "super" and only thing i wanted to hide the root in order to play games such as pokemon go and etc. ( unfortunately i didnt manage to screenshoot to show it cuz i did a full reset on the phone so i can play). sry for the missunderstanding.
[Android Apps and Games] public3n3my:
Read OP.

Don't be ignorant.
[Android Apps and Games] fgl27:
App update V 6.2

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] eugeniy87:
Hi. I like this app, but I totally can't install Reboot support.

Error is: cannot unpack boot image. Same error as i had with SuperSu updater.

Is there any way to install Reboot support without boot.img patching in recovery mode?

I have LineageOS 13 and TWRP-3.0.2.
[Android Apps and Games] fgl27:
No unless you build the boot image or the ROM from the source...

you can share the twrp log after the problem has happen, tmp/recovery.log the log get deleted after you reboot off recovery so flash the zip and grab it and share, also share the app log zip that you can make on the app checks tab.
[Android Apps and Games] eugeniy87:
I can repack boot.img on PC with "Android Image Kitchen", but in recovery mode something going wrong. Could be my kernel is too old for this script?

Here is log.

recovery.log - drive.google.com/open?id=0B-j4LjPLmlI_Zk1VNkwzUWtLYlU

isu log - drive.google.com/open?id=0B-j4LjPLmlI_UHNURHAxRGhXRjg

Last error i see:

gunzip: invalid magic

Unpacking ramdisk failed. Aborting...

PS: Also my /dev/bootimg have endless length, so "dd /dev/zero /dev/bootimg" without count exterminating all data on device. I add right count, to avoid this.
[Android Apps and Games] fgl27:
Will take a look.:good:
[Android Apps and Games] fgl27:
[MENTION=8555892]eugeniy87[/MENTION]

try the attached and let me know the result if fails share the twrp log again

:good:
[Android Apps and Games] eugeniy87:
Thank you. But there was a little problem.

I run script, it say Done Enjoy. But phone is not booting at all... :rolleyes:

I quickly take bootimg to PC and use ImageKitchen.

Got error: Warning: No MTK header found in ramdisk, assuming "rootfs" type!

Than I repack image as is, and now in boots and get su permission fine. :cool:

And also i adding count parameter to dd, to not corrupt ROM.

In log is some errors

drive.google.com/open?id=0B-j4LjPLmlI_UlVDSFZ6Y1ZlQlk
[Android Apps and Games] fgl27:
OK, I get it, I build the binnary for "MTK device boot image section headers support" on a wrong way... I rebuild and retest here the binary is OK now for a arm device, but need to know if it will have effect there...

Can you retest the attached please. And make a backup of boot.img before, I miss to ask you that before, as it can help on the case the device can't boot after the flash good that you know how to fix that...
[Android Apps and Games] eugeniy87:
Yes now working. Thanks.

One more thing is detection of "bootimg" device size. I add some code to your script, to fix ROM breaking on my device.

Maybe it will be helpful for other users.

drive.google.com/open?id=0B-j4LjPLmlI_WjJfNEc2N0N1NFk
[Android Apps and Games] fgl27:
OK I will have to make another final one as this will only work on mtk devices so I need to understand somethings.

I don't understand the need for this "blockcount" for yours device... I need to understand way is need, have you try the zip without? and it fail?

or you tryed only after adding "blockcount"

I can't add something the way you did as it will affect all devices when is only need in yours, maybe others mediatek also, so I need to properly understand the way and then I will make the proper "if" checks so it only affects the devices that really need it...

----

edited...

I add yours changes on a way will only affect Mediatek devices if you can test the attached and let me know the result I will appreciated it.

base on yours answer for my previously questions and yours test, I will released it to all users or modify...

:good:
[Android Apps and Games] eugeniy87:
I don't really sure. I haven't more one MTK device right now.

I think it is common problem for some MTK devices with emmc flash.

/dev/bootimg device have unknown size, so reading it "to the end" cause reading few gigabytes instead of few megabytes.

There is no information in /proc/partitions about size of bootimg partition.

Here is example of similar problem on other device. There dumping boot producing 3 GB file.

xdaforums.com/showthread.php?t=2719861

My history is

1. Unmodified script cause this error

dd if=/dev/bootimg of=/tmp/anykernel/boot.img

dd: writing '/tmp/anykernel/boot.img': No space left on device

984105+0 records in

984104+0 records out

503861248 bytes (480.5MB) copied, 10.240596 seconds, 46.9MB/s

So 480MB of "bootimg" was dumped, then memory was full.

2. I got that i should limid dumping to real size of device. I edit script, add bs and count, and run.

dd if=/dev/bootimg of=/tmp/anykernel/boot.img bs=16M count=1

dd: writing '/tmp/anykernel/boot.img': OK

1+0 records in

1+0 records out

16000000 bytes (16MB) copied, 10.240596 seconds, 46.9MB/s

Seams to be OK.

3. Now time to write bootimg back.

dd if=/dev/zero of=/dev/bootimg

dd if=/tmp/anykernel/boot-new.img of=/dev/bootimg

And first command, because not knowing real bootimg size, Writing zero to flash until the end...

First rewriting bootimg partition, than system partition, than userdata. i.e. fill all the memory with zeros, destroy all system and user files.

Phone become a brick without ROM.

Thankfully i have a backup.

4. Next time i again edit script, now adding size to dd /dev/zero command

dd if=/dev/zero of=/dev/bootimg bs=16M count=1

dd: writing '/dev/bootimg': OK

1+0 records in

1+0 records out

16000000 bytes (16MB) copied, 10.240596 seconds, 46.9MB/s

dd if=/tmp/anykernel/boot-new.img of=/dev/bootimg

1+0 records in

1+0 records out

16000000 bytes (16MB) copied, 10.240596 seconds, 46.9MB/s

Now really OK

5. Than i think that hardcoding 16MB size for bootimg is not good idea, And write a code that getting right value of every device.

I make a check to be sure that "blocksize" (size of bootimg) is not zero. So if it not parsed, than script works as old version.

blocksize=$(cat /tmp/recovery.log |grep /boot |grep Size | head -n1 | awk '{print $6;}' | grep MB)

if -n "$blocksize" ; then

ui_print "Detected size of boot device $blocksize";

blockcount=$(echo $blocksize | awk '{sub("MB","M"); print "bs="$0" count=1"}')

fi;

Then i add calculated "blockcount" parameter (example "bs=16M count=1") to dd commands.

6. Of course you should not rush to publish a release without checking at least one more device. Also need to be check: do all MTK device have that behavior ("dd /dev/bootimg" dumping gigabytes) or only some of them.
[Android Apps and Games] fgl27:
OK, I understand the problem, I never see anyone ever report a problem like that, the good thing that the fix is simple and you know how to deal with that, because without a device to test I probably would take long time to understand the problem...

Have you had time to test that last file I share?

file name "iSu_kernel_Reboot_Support_V_6_2_and_up.zip", attached to previously post, if that is good, I will released as I don't expect a problem on any device nor even on a Mediatek.
[Android Apps and Games] eugeniy87:
Yes, I tested new version 6.2. It works OK.
[Android Apps and Games] fgl27:
App update V 6.3

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] d00m178:
hello

seems I have an issue with sgs5 (klte) with latest nightly LineageOS 14.1 and latest iSu 6.3 and Android Pay application.

I installed apk file and in Monitor tab configured iSu App monitor service and chos in Deactivate list "Android Pay".

Also in Settings tab I enabled "Show Toast notifications when changing SU"

Now when I open Android Pay app I can see toast notification "iSU Deactivate SU", but when I press on Welcome button for next configuring Android Pay - next toast notification appear "iSu Activate SU" and message about unsupported system because of "configured root, bla-bla.."

seems after pressing Welcome button is starting new application which doesn't covered by iSu and that's why SU activates again.

Is there any fix for this behavior?
[Android Apps and Games] logosA:
I have installed iSU 6.3 on the latest Lineage rom for Note 4 and ( as in Note 2 as well) is working perfect. Hide is also working as it should. I am passing safety net, log in in snapchat, etc no problem at all.

I have noticed a minor thing though. When iSU is hidden, led notifications are not working! Not even when battery is low or charging, no light at all in the led. As soon as un-hide and soft reboot, everything is back to normal.

Users in the thread are reporting same behavior from magisk hide as well.

Any idea, what could be causing this? No big deal, just of curiosity.
[Android Apps and Games] fgl27:
if this was a case of hiding application with is a android default option to any app causing this problem unhide it must fixe it without a reboot, as you say you do a reboot what happens if you just reboot after the problem has happens?

as this can be a problem with the led implementation failing after some time, not related to a application be hide or not.

the hide process can be replicated to any aplication is a shell command

pm hide com.app_developer_app_name

you can get the "com.app_developer_app_name" from any app by open the app in settings > app and do that to any app, if the problem happens to isu you can simulated on any application, after to unhide replace "hide" with "unhide"

pm unhide com.app_developer_app_name

those commands only work running as root, I have led notification from Los ROM and on my device has no diference if A or B app is hide, so you can test to any app not just iSu and check what happnes if happens to any like you say with magisk it can be a OS problem...

try to do some test to see what is really what, even if is the problem is the hide process I doubt is something I can fix from the app side as I wrote that is a basic android tool that can be used to any app and if that is a problem, the probably need to be checked by the developer of the ROM, but if after you long try and test this you are shore the app hide process is the causing it and the commands of hiding another app doesn't cause a problem share the iSu log after you have received some notification and led led has fail...