yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] SONiX-GERMANY:
iSu 4.9 perfectly working in:

lineage-14.1-20170529-UNOFFICIAL-jfltexx

lineage-14.1-20170529-UNOFFICIAL-yuga

Benlue's unofficial builds.

Can bypass SafetyNet check and play those crappy Pokemon, to see if my GPS is working and hide root. Nice, like every update from you [MENTION=5747496]bhb27[/MENTION].
[Android Apps and Games] zv0n:
Hi, this app freezes when I try to deactivate SU. I'm running lineage-14.1-20170602-nightly on Asus Z00A, I changed all props to green and have the "Change props on boot" enabled. I didn't install the kernel support yet, could it be because of that?
[Android Apps and Games] h_maharaj:
Reboot support shouldn't be an issue on Nougat. Are you able to attach a Logcat so dev can take a look? Also, is your rom able to run with SeLinux in Enforcing without crashes?
[Android Apps and Games] zv0n:
As far as I know I've had SeLinux in Enforcing all this time and no crashes. I've uploaded the logcat here - https://pastebin.com/G5hS0teH (it's the last ~2.5K lines because I couldn't think of a place that would let me upload a txt file larger than 512KB)
[Android Apps and Games] fgl27:
the app it self has a log tool, that is way more complete then what you share, use it and share the zip after the below test...

try deactivate SU more then once force close the app if necessary, try with selinux in permissive and in enforced more then onece, always before change SU state change selinux back and for(enable disable it or vice versa), that will generate some logs that may help.
[Android Apps and Games] zv0n:
I've attached the zip file from earlier (from which the logcat I've sent originates). I'll try to do the test when I have time (in a few hours) and send the logs.
[Android Apps and Games] fgl27:
also try the app widget.
[Android Apps and Games] zv0n:
So I did both with enforced and permissive selinux twice, the generated zip is in attachment. Also - after testing my phone was incredibly slow.

I also tried the widget before testing and it had same results as using the app.
[Android Apps and Games] fgl27:
I can't see way, made a new app with extra logging and new dependency to see if those help...

But to test it all I need you to, install the attached app, clean iSu data (clear data in setting > app > isu > storage)

reboot flash latest SU x86 from here

https://download.lineageos.org/extras

after it finish boot up, open iSu and run the same test again:

try to disable SU (force close if it freeze), try with selinux on permissive and on enforcing...

try the Widget also, after some repeated test, reopen iSu and generate a log...

if you get a new fail or FC, after that close or force close iSu reopen and generate a log, descreve what cause the FC...

:good:
[Android Apps and Games] zv0n:
This version works! Do you need the log files still?
[Android Apps and Games] fgl27:
Yes I do as I change some dependencies for x86 I need to know if they are all working, please do some simple test only once...

disable enable SU, selinux and Android debug, then close the app remove from resents open it again, and change some props that is on a unsafe state to known safe state and generate a log...

after do a reboot and let me know if iSu set that prop to known safe, may take 30 to 60 seconds after the boot has finish to iSu do that, Settings Props "apply changes to props on boot" must be enable... if iSu doesn't set props after boot, share a log after that reboot...
[Android Apps and Games] zv0n:
Done. I already had the "apply changes to props on boot" enabled, so it (successfully) changed all props to known safe state during my testing.
[Android Apps and Games] fgl27:
Thanks, reading the logs is all running just fine.

If anything fail, please let me know with logs if possible... :good:
[Android Apps and Games] fgl27:
App update V 5.0

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] SONiX-GERMANY:
iSu 5.0 perfectly working on

lineage-14.1-20170604-UNOFFICIAL-yuga

lineage-14.1-20170604-UNOFFICIAL-jfltexx

Thanks again. :)
[Android Apps and Games] fgl27:
App update V 5.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] sumitarora2:
Whenever i check safetynet it said that "The response is invalid" please help i also provide logs
[Android Apps and Games] fgl27:
your device doesn't have drm widevine support or is broke.

06-17 21:27:51.230 262 13803 E Drm : Failed to find drm plugin
06-17 21:27:51.231 13901 14529 W DG.WV : Widevine DRM not supported on this device
06-17 21:27:51.231 13901 14529 W DG.WV : android.media.UnsupportedSchemeException: Failed to instantiate drm object.
06-17 21:27:51.231 13901 14529 W DG.WV :	at android.media.MediaDrm.native_setup(Native Method)
06-17 21:27:51.231 13901 14529 W DG.WV :	at android.media.MediaDrm.<init>(MediaDrm.java:215)
06-17 21:27:51.231 13901 14529 W DG.WV :	at nzm.run(:com.google.android.gms:9)
06-17 21:27:51.231 13901 14529 W DG.WV :	at lhb.run(:com.google.android.gms:24)
06-17 21:27:51.231 13901 14529 W DG.WV :	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
06-17 21:27:51.231 13901 14529 W DG.WV :	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
06-17 21:27:51.231 13901 14529 W DG.WV :	at lmc.run(:com.google.android.gms:0)
06-17 21:27:51.231 13901 14529 W DG.WV :	at java.lang.Thread.run(Thread.java:761)

this app can test drm

https://play.google.com/store/apps/details?id=com.androidfung.drminfo

what is the result in a "screen shot"? (you just need to open the app to see the result)
[Android Apps and Games] fgl27:
you need minimum google widevine support, ask the developer of the ROM to add the proper support use that app to test.
[Android Apps and Games] MadMax0067:
Su Version not working

Su version is uncompatible with my custom rom

can anyone help please

i am using LineageOS custom rom Marshmallow by syeed hassan
[Android Apps and Games] fgl27:
instead of quoting the entire OP read it. and share more info we have no idea what "syeed hassan" do to his ROM.
[Android Apps and Games] MadMax0067:
Whay should I share now?
[Android Apps and Games] fgl27:
Screenshots of app tab "checks", so we can see what SU you have, must be CM-SU not any other. if you flash SuperSU or any others, don't, clean install and flash cm-su from lineage download page.
[Android Apps and Games] fgl27:
see supersu not supported fallow my previously instructions.
[Android Apps and Games] MadMax0067:
What should i do?

Can u explain please
[Android Apps and Games] fgl27:
already did
[Android Apps and Games] MadMax0067:
Sorry i could not understand you

Should i uninstall su and then install cm su??

If yes then from where i can get that??
[Android Apps and Games] foodproof:
Seriously? Are you kidding?

What is so confusing about this reply?

For idiots:

- DO A CLEAN INSTALL (!!!!, this means you will lose your data) of your ROM

- Download CM-SU from LINEAGE DOWNLOAD PAGE (the one with the cm su, DO NOT USE ANY PACKAGE WITH SuperSU; Try to use "google" to find it)

- flash CM-SU
[Android Apps and Games] MadMax0067:
What should i do??
[Android Apps and Games] h_maharaj:
You are on a MM Rom right?

Please read the OP. For Android versions below Nougat you have to flash reboot support. Check whether your kernel runs in enforcing or permissive and flash correct file (download link in OP).

Also, you need to set up iSu in order to pass SafetyNet (see this post of mine: https://xdaforums.com/android/apps-...-activate-t3478348/post72452787#post72452787)

Finally, if you have Xposed installed you need to disable or uninstall it otherwise you won't pass SN.
[Android Apps and Games] MadMax0067:
tried biy same CTSprofile Error :(
[Android Apps and Games] h_maharaj:
Are you deactivating su? In your previous screenshot, su shows as activated.
[Android Apps and Games] MadMax0067:
Yes m deactivating it now
[Android Apps and Games] Ibuprophen:
I'm not sure if anyone had noticed this but, the LineageOS Extras page has updated SU files they had just released.

Also, on the same place, they just released a few Weather Provider apps for LineageOS too.

***Please Note: As always, I welcome any member to help with further valuable information/clarification for any of my posts.

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise...
[Android Apps and Games] AhmedRana:
Does this work with Maas 360?
[Android Apps and Games] godpowerrr:
LOVE YOUR WORK DUDE! Best Kernel Modifier hands down! Thanks a bunch.
[Android Apps and Games] Ibuprophen:
Just a clarification regarding the recently updated Addon-SU located on the LineageOS Extras page.

Also, please DON'T confuse this with the iSU itself as it only applies to the Addon-SU only.

First of all, If anyone is in search of the first/original releases, of the LineageOS Addon-SU files, I still have them all archived on my File Host Account here:

https://www.androidfilehost.com/?w=files&flid=193272

(Since the time that CyanogenMod had disbanded and, LineageOS was established, i decided to archive certain items from LineageOS)

Please note that I had found out that when LineageOS released the updated Addon-SU files, it was not intended as an update for the first releases that worked for individuals but, for those who had experienced issues with the first release.

As, purely, a Personal opinion... I think that individuals who wanted to flash the new Addon-SU, should have flashed the Addon-SU Uninstaller first, then reboot and flash the updated one.

In addition, always keep the copy of BOTH the Addon-SU Installer AND uninstaller. This should actually go for any file that you use in order to prevent having to find them again.

Like the saying goes (in a way)... If the first release worked, then why try to fix it with the second release.

Just a friendly FYI for those who may not be aware of this... :)

***Please Note: As always, I welcome any member to help with further valuable information/clarification for any of my posts.

Sent via Communicator [d2vzw] from the Bridge of the U.S.S. Enterprise.
[Android Apps and Games] thalesbraga:
didnt work at all for me for several apps.

as an example install this and you WILL get the ROOT warning after allowing the permissions:

https://play.google.com/store/apps/details?id=br.com.bb.oewallet

lemme know if otherwise.
[Android Apps and Games] fgl27:
I'm aware that some app can't not be "tricked", I never claim that this app can by pass any root detection out there, it is manly to by pass safety net with it does perfect like see below

So if you can pass a safety net test, the app is working as expected.

If at some point I manage to find a way to trick that app, I will inform on the changelog, today I have no idea on how to do it.
[Android Apps and Games] meiser:
Hi,

it would be great if it was possible to apply the props only when I disable SU and unapply them when I enable SU again (or it's auto-enabled by the monitor). I have some apps which check for e.g. "ro.debuggable" and root, but I can't disable the prop all the time as some other OS features don't work anymore (e.g. the command "adb root").

Thanks a lot in advance!

Best Regards,

meiser
[Android Apps and Games] reis1996:
Why do you want to disable the props again?
[Android Apps and Games] meiser:
I don't understand your question. I'd like to disable SU and apply the safe prop values, and then enable SU and reset the prop values to the original unsafe ones.
[Android Apps and Games] fgl27:
adb shell works just fine here with all props set to "green", selinux set to enforced and SU deactivate (adb debug must be on to use adb of course), but there is not "adb shell" fallow by a "su" command, if you disable SU that is the point no one has access to SU when you disable it, you must get access before disabling it, any app that detects SU will not see SU but if you request access before disable and you don't do a thing to lost it, it must remain active as "ROOT" in the shell interface after deactivate SU in iSu.

anything not working after change a prop tell me exactly what it is, try the not working thing a few times and then generate a log and share the zip on the tread with the proper info, so I can reproduce here...
[Android Apps and Games] meiser:
Try "adb root" after you have set ro.debuggable to 0 (zero). It's not working.
[Android Apps and Games] SONiX-GERMANY:
iSu 5.1 perfectly working on:

lineage-14.1-20170611-UNOFFICIAL-sirius
[Android Apps and Games] fgl27:
what special and diferente from adb root from this?

bhb27@Android:~$ adb shell
quark_umts:/ $ getprop ro.debuggable
0
quark_umts:/ $ su
quark_umts:/ #

I wanna know the above, but I can patch that to run "adb root" with "ro.debuggable" set to 0

bhb27@Android:~$ adb root
restarting adbd as root
bhb27@Android:~$ adb shell
quark_umts:/ # getprop ro.debuggable
0
quark_umts:/ #
[Android Apps and Games] lukcorp:
ISU worked well. But now why does not work?http://cloud.tapatalk.com/s/5965d25a34493/iSu_log_Jul_12_2017_09_21.zip

Wysłane z mojego LG-D722 przy użyciu Tapatalka
[Android Apps and Games] lukcorp:
?

Wysłane z mojego LG-D722 przy użyciu Tapatalka
[Android Apps and Games] reis1996:
Take a backup of your build.prop file, do your changes. Disable su and enable it with this app. Then restore / overwrite the file
[Android Apps and Games] fgl27:
I assume you understand what the SS says, so that is the problem try to fix (at least the one to fix first before try others), change "ro.build.fingerprint" to a know safe value or yours stock ROM value and see if that helps.

that changes is related to the ROM you are using, so tell the dev to use a stock "ro.build.fingerprint" if they use in the pass for some reason they stop using.
[Android Apps and Games] fgl27:
App update V 5.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]

* Please some x86 device owner let me know on the thread if the latest app is working OK or not.

Enjoy it :good:
[Android Apps and Games] godkingofcanada:
Any chance of adding support for this su or pointing me to one I can use? I'm using the latest klte build of resurrection remix on an s5. I'm not using the magisk su as I encountered a couple apps that could not detect root. Screen shot below
[Android Apps and Games] fgl27:
No, as post on OP cm-su only, you can download the addonsu on lineage extras download page, clean install the ROM with that SU and try the app.
[Android Apps and Games] godkingofcanada:
I know it said cm only, that's why I asked if ya could add it :P I'll try the cm one tho, it doesn't matter to me which root I use. Thanks for replying :)
[Android Apps and Games] meiser:
Hmm, my idea was more to have a similar feature as enabling/disabling ADB debugging and SELinux as shown in the settings tab.
[Android Apps and Games] uudruid74:
I wanted to check and see what it does with Magisk 13. It says it can't be installed. Says app is incompatible with all my devices.
[Android Apps and Games] fgl27:
you did not answer me that is not polite I made some questions?

Do you have any idea how hard is to do what you wanna? is really confusing to deal with a lot of possibilities as the props have it device has they on config some don't have all those props, some already have most on a green state etc etc, the solution I did is the best one as there is no need to deal with any change to any other prop besides ro.debuggable because others don't really bother on a way to stop us from use a building featuring.

If some day I find a lot of free time I may deal with a profile related to props that can be apply and reverted.
[Android Apps and Games] fgl27:
thread is open for over 10 months if was possible I would had done by now :silly:. Super SU and Nougat there is no solution, on Marshmallow or Lollipop it seems suhide from Supersu developer works, but I don't really test it.
[Android Apps and Games] godkingofcanada:
I think maybe I will just dual boot so I can have the best of both worlds.
[Android Apps and Games] meiser:
I'm a very polite guy, trust me. I thought, your comment was more meant as a general request. I can't give you all scenarios where the LOS ROM needs ro.debuggable to be set to 1, I gave you an example like "adb root". I also run openssh server on my phone, its selinux context also depends on ro.debuggable to be set to 1.

But it's okay, as I compile my own version, I just added a line to disable ro.debuggable when I switch SU.
[Android Apps and Games] fgl27:
no answer really for the question that was "what special and diferente from adb root from this? (and there is a code print that fallows)"

if you have all the place path that are need just show me as a simple github link of the file that use wherever prop the app change, I check and make the proper patch.

As you see no one else ever had problem, so those things are not needed for all user, but I don't mind on do more patches for it, but for that I need to know what,.

But those empty answer don't really help, I get a bit of what I need from you from every single post, doesn't cost you make a proper post contain more info with detailed description of problems, way to do this or that change were to find the reference (on git or wherever place the code is), after a all I give a lot of my free time to do what I do on xda, I need help to make things better, and half posts empty answers make me confused and don't help.

you can also do the changes and send them to git after all I open the sw so anyone can use or help me to improve.
[Android Apps and Games] 8zabi:
no root after reboot

Hi,

I am using iSu 5.2 on my Nexus 6 with lineage-14.1-20170714-nightly and LineageOS's addonsu-14.1-arm-signed (latest version, dated 06.21.). The problem is that I have to reflash addonsu-14.1-arm-signed.zip before every boot, or else my root is not working.

I checked the addonsu install script, and I noticed that it creates this:

symlink("/system/xbin/su", "/system/bin/su")

Now iSu's restart script delete this symlink, but does not create it again.

# Isu Reboot support
if [ -e /system/bin/temp_su ]; then
rm -rf /system/bin/temp_su
fi

if [ -e /system/bin/su ]; then
[B]rm -rf /system/bin/su[/B]
fi

if [ ! -e /system/xbin/su ]; then
mv -f /data/backup_isu /system/xbin/su
chmod 0755 /system/xbin/su

su_daemon=$(getprop persist.sys.root_access);
if [ $su_daemon -gt 0 ]; then
start su_daemon
fi
# Isu Reboot support end
fi

This cause root is not working (for me) after a reboot. If I modify the restart script and insert the symlink creation command, then root is working after reboot.

# Isu Reboot support
if [ -e /system/bin/temp_su ]; then
rm -rf /system/bin/temp_su
fi

if [ -e /system/bin/su ]; then
[B]rm -rf /system/bin/su[/B]
fi

if [ ! -e /system/xbin/su ]; then
mv -f /data/backup_isu /system/xbin/su
chmod 0755 /system/xbin/su
[B]ln -s /system/xbin/su /system/bin/su[/B]

su_daemon=$(getprop persist.sys.root_access);
if [ $su_daemon -gt 0 ]; then
start su_daemon
fi
# Isu Reboot support end
fi

Can you check my problem?
[Android Apps and Games] fgl27:
I don't understand how that can be a problem just for you. xbin and bin folder are the same thing, just like sbin/ they are all the same folder (at least for how this android system works)...

can you tell me what is not working because here I can't simulate that problem at all... is a specific app or a tool you use, I can't believed that SU is just gone to all options as the services will not allow it to happen.

as you can see it here

https://github.com/LineageOS/android_system_extras_su/blob/cm-14.1/superuser.rc#L2

the init that start SU start it on the xbin folder not on the bin folder, so please explain to me what is going on exactly and share logs please.

and the addonsu-14.1-arm-signed has that same file pointing to the same path, so I don't understand, some one change the path for you or something else, dmesg and logcat logs will help to me to understand what is what iSu can generate those for you share the iSu_log.zip please after the problem has happens...
[Android Apps and Games] 8zabi:
Finally... after some hours, plenty of reflashes and after a huge number of restarts I found what cause the problem. If I set the ro.debuggable prop to 0 the root is gone after a restart. If I leave it on 1, everything is working.

How this value is set on boot?

Maybe some changes happened in LineageOS, I don't know, but I hope you can explain this to me.

Btw SafetyNet check is passed, even with the value 1.
[Android Apps and Games] SONiX-GERMANY:
1st time i've found a bug. :)

I've got the same issue ( iSu 5.2 ) on my unofficial LOS with the Z2, root is gone after a reboot. iSu 5.2 is working perfectly, until you not reboot the device. Root options are visible in developer options, but root isn't really available. My solution was to switch back to iSu 5.1 ( or reflashing cmroot ) , will test iSu 5.2 on my Z and S3/S4 and report back later. Anyways - great app.
[Android Apps and Games] fgl27:
now I get it, in the last change I did something that is affecting this... the fix is simple, please test the attached app and let me know the result of changing "ro.debuggable".

unfortunately this only affects the Los ROM all the base on Los ROM will not get affected and re-flashing addonSu fix it that way the confusion...

I most of the time use base on los, so I did not notice it.
[Android Apps and Games] SONiX-GERMANY:
Lightning fast reply and fix, thank you. Just testing on my Z...

Edit:

iSu 5.3_beta perfectly working on

lineage-14.1-20170618-UNOFFICIAL-yuga

Safetynet check passed

ro.debuggable=0 - root access still available. No reflash of cmroot needed, all is fine. [MENTION=5747496]bhb27[/MENTION] for president. ;)

Good night! :)
[Android Apps and Games] 8zabi:
It is still not working here after reboot with ro.debuggable 0.

Can you explain the changes in details for me?
[Android Apps and Games] br3nd4n:
Hello,

i have installed lineageos on my galaxy s7 edge, the nougat version, did al the things i flashed the su from lineage itself and installed ISU, all was working well untill i rebooted.. suddenly i had no root acces anymore after reboot and i get error: current SU is not supported, su version: root acces not available...

when i go back in TWRP and flash the su from lineage again then it all works, but to have my props changed i need to reboot right?

any help on this plz, thx guys! much appreciated.

edit:

i have uninstalled 5.2 and installed 5.1, the root now stays after reboot and also the prop values have been changed all to green.

Now i only have a problem that safteynet does not pass for me, i went to the controls tab, change SU state: Deactivated.

what to do about this?
[Android Apps and Games] fgl27:
App update V 5.3

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]

* For those running Lineage OS ROM please re flash addonSU after install latest version of the app, Click here to download page of addonSU this doesn't apply for those running A los Base OS like ResurrectionRemix or similar

Enjoy it :good: