yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] xdafan2015:
Hello!

I am hoping that I'll be able to get some help.

I have a Samsung SM-T580 tablet running Android Oreo 8.1 and rooted using TWRP + DM-VERITY-OPT-ENCRYPTION 6.0 + latest SuperSU.

Works great except Stericson Busybox did not want to install onto it. Managed to install Busybox using a flashable package through TWRP.

Busybox checker reports it as installed.

However I want to set SELinux to PERMISSIVE to be able to use Root Uninstaller apps and such and I tried "The SELinux Switch" but no matter what I do it just reverts back to "Enforcing". I have given the app full root access but even so no matter what I do I can't set SELinux to permissive. If there is a way to fix this I would love to hear how to go about doing it.
[Android Apps and Games] Ibuprophen:
I see...

I believe that you might be a bit off as to the additional requirement regarding the devices specific ability to set your SELinux Mode to Permissive.

The app does require BusyBox and Root BUT, your device requires its ability to have its SEAndroid Policy changed.

This requires this ability by the use of either a Custom Kernel or Custom Firmware.

The SELinux Switch App doesn't provide this specific ability. It's only able to change/utilize this ONLY if devices SEAndroid Policy is modified already to allow for the Change.

I hope that I had explained this okay via text... :thumbup:

~~~~~~~~~~~~~~~

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Apple Macintosh.
[Android Apps and Games] xdafan2015:
Thank you for your response, this explains perfectly why this isn't working for me. I did some looking around and it seems like there is a custom kernel/boot for the SM-T580 that would enable the change from enforcing to permissive SELinux, but it also indicates that one might have to wipe and reinstall the whole tablet and then also re-root it again which is not something I am going to do since I got this tablet for my dad.

The tablet was supposed to come with Android 6.0 on it which (as far as I know) is not as locked down as Android 8.1, but the tablet we got was an updated one. I could have just flashed it back to Android 6.0 using an image from Sammobile I guess but since this one was for my dad I didn't really want to do more than necessary.
[Android Apps and Games] Ibuprophen:
It's a challenge to provide guidance for devices I don't actually use myself. I do my best based upon my working knowledge of those.

Your best bet is to go to the following Device Dedicated Area of the forum that's specific to your device and variants for support and guidance from those who has/has knowledge of this device.

https://xdaforums.com/galaxy-tab-a

Good Luck! :)

~~~~~~~~~~~~~~~

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Apple Macintosh.
[Android Apps and Games] xdafan2015:
Thanks again for your help. I did look at the link you provided but it's still a little weird here. Titanium Backup still will not see the root (cannot obtain root) as well as Trimming apps being unable to trim, and Root Uninstaller apps showing every installed app as being 0 byte in size. And ES File Explorer refusing Root functionality turning it on turns it back off after a while saying that the device doesn't support it.

It's a bit of a headache this. And yes I thought it was all about the SELinux being enforcing, but then I took a look at my moms tablet (another model Samsung) that runs Android 6.0, and that one is rooted and everything working yet as I looked it also has SELinux in enforcing mode....

Is Oreo and newer Android OS so locked down??
[Android Apps and Games] PoochyX:
Very Informative Read [emoji433]

([emoji813]9/[emoji725]/9[emoji813])
[Android Apps and Games] xdafan2015:
First of all let me THANK YOU SO MUCH for taking the time to do this write up on root vs SELinux and educating me on these topics.

I really truly appreciate it.

Having said that the thing is I thought at first that the apps that are not working properly or do not get root as they should were such that on the SM-T580 and under Oreo Android 8.1 they required SELinux Permissive. However this assumption of mine was wrong.

You see I have rooted a good number of phones and tablets from the ZTE Blade running Android 2.1 Eclaire to more recent devices like the Samsung Galaxy S5 under Android 5.0 Lollipop, and Android 6.0 as well as my moms Samsung Note8 running Android 7.0 Nougat. Never had a single issue with any of these devices and getting them rooted, busybox and Xposed installed and everything working...

This Samsung SM-T580 with Android 8.0 Oreo is the first one that has not been working 100% the way I expect it to after rooting.

Everything worked perfectly getting TWRP recovery on the device (using an updated version for T580), then putting the Noverity-Opt-Encryption 6.0 fix and Supersu 2.82 SR5 on it. Installing Busybox not with Stericson installer but with Busybox for Android installer.

Using Root/Busybox checker says device is rooted and busybox installed.

Most apps work exactly as expected and is given root except some. Nothing indicating anything went wrong during rooting.

Also I did look at some of the other devices that I rooted and none of them had SELinux set to Permissive. Still worked 100%.

I'll ask around in the section you pointed me to where people were discussing T580....
[Android Apps and Games] Ibuprophen:
Please don't get me wrong... :confused:

I wasn't knocking anything on your end but, just pointing out the differences along with a little clarity.

The ending portion was more of an awareness for everyone as well that I took the information for you and stated this information for everyone in a "member helping member" way.

1 more thing regarding the ending portion...

It's really a challenge when it comes to other members having difficulty regarding their SELinux...

I've seen so many cases where they have something like a Custom Firmware installed that's in a Testing, Alpha, Beta, etc... Stage whereas the developers (understandably and for a good reason) has the Firmware set in a "Permanent Permissive Mode". This is typically (in most cases) only temporary until its stable enough to release it with the SELinux State set to the normal/default "Enforcing Mode.

The kicker is that in many/most cases, when the Custom Firmware is in the "Permanent Permissive Mode", the Developer(s) doesn't provide this Awareness to the individuals as, I believe, should be a standard for anything that reflects the SELinux State. Especially when a Permanent Permissive Mode is set as a Standard/Requirement.

I feel everyone has a right when it comes to the ability to switch/change their SELinux State, but everyone who decides to do this, has a responsibility to educate themselves too. This also goes for other things like Rooting and such.

Okay... I'm done... LOL! :eek:

~~~~~~~~~~~~~~~

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Apple Macintosh.
[Android Apps and Games] Ibuprophen:
AHHHHHHH!!!!!!!!!! :(

I just tried something different for the Switch App and REALLY crapped out on it... LOL! :eek:

It wasn't a show stopper but, always a lesson learned... :thumbup:

~~~~~~~~~~~~~~~

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Apple Macintosh.
[Android Apps and Games] Ibuprophen:
Just a heads-up...

It looks like a minor update will be pushed sometime (hopefully) today or tomorrow. It's nothing huge though.

I'm curious regarding your opinions regarding Android Q Beta rolling out and the Switch App?

I don't, personally, have any eligible devices to even test with but, if necessary, I can try and get a PC Emulator going on Studio/Eclipse with Android Q.

I tried to perform a quick search on the forum and I had not even noticed any Custom Kernel developments specific to the Android Q and a Permissive SEAndroid capability (required for the Switch App to even function).

I've got a hunch that I'm a bit too early regarding this myself but, I don't want to assume anything nor push any test builds that's useless at this point in time.

Thanks a bunch! :)

~~~~~~~~~~~~~~~

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Apple Macintosh.
[Android Apps and Games] Ibuprophen:
Just an FYI that an update was just pushed earlier today.

A big day for various updates today... LOL! :eek:

Enjoy! :)

~~~~~~~~~~~~~~~

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Apple Macintosh.
[Android Apps and Games] Ibuprophen:
I just can't believe it...

I had a "Duh!" moment earlier.

I spent an hour doing something on Github and then realized a minor mistake that took me about 2 hours fixing what I had done.

As Bugs Bunny put it... "What a Maroon!" LMAO!!!

Well, I just learned from my mistakes that helps me to be a better person.

I hope everyone had a good weekend! :)

~~~~~~~~~~~~~~~

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Apple Macintosh.
[Android Apps and Games] PoochyX:
It happens to us all the point is you fixed it [emoji817]

([emoji3590]09-09-18[emoji813])
[Android Apps and Games] m0han:
all is well that ends well. ;) :good:
[Android Apps and Games] Ibuprophen:
HA-HA!

This does happen to me from time to time but, this was the first time I spent that much time to do something and fix it. I'll definitely have to get used to this.

Github is very challenging at times. Especially when I go from one language to another. Specifically regarding my bouncing from an Android App to a PC Software.

I'm currently on the Developmental Team for the Open Shell Software.

Anyways, I believe that I'm beginning to fall into the multiple categories as seen on the following image.

View attachment 4808518

Have a Great Day! :)

~~~~~~~~~~~~~~~

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Apple Macintosh.
[Android Apps and Games] Niccolò Paganini:
Hi. Where is the source code of this app? I can't find it.
[Android Apps and Games] Ibuprophen:
Unfortunately, my modifications are not an Open Source but, you'll be able to obtain the Basic/Base Source Code this project (stemming back to The SELinux Toggler) within the following Github link (version 3.2 to be precise).

https://github.com/MrBIMC/SELinuxModeChanger

Enjoy! :)

~~~~~~~~~~~~~~~

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX1 Forum App on my Sanyo Juno device.
[Android Apps and Games] Niccolò Paganini:
Yes it is... I have downloaded your flashable zip file and inside of it there is a file containing the license. And it is the Apache License, which is a free software licence. Therefore you are required to make the source code available. So I have to ask again: where is the source code of this application?
[Android Apps and Games] Ibuprophen:
The flashable zip was created from an Open Source app called "ZIPme" you can obtain from the following Play Store Link.

https://play.google.com/store/apps/details?id=zip.me

I only tweak the zip files permissions a touch.

This conversation is now closed... Thank you for using The SELinux Switch! :)

~~~~~~~~~~~~~~~

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The XDA Labs Forum App on my Sanyo Juno device.
[Android Apps and Games] Niccolò Paganini:
That's not true. You have the licenses for your app in "assets", and they are all free software licences: GPL v3, GPL v2 and Apache. If you don't admit the obvious then where is your license? You are required to provide the source code of your app. You are insisting on illegal behavior, so I will be required to report it to the appropriate authorities.

Sorry, but I am not using you app:

Firstly because it is extremely dangerous to give root access to secret code applications.

Secondly, because there is no need to use an application when you can simply run a command, which can even be placed inside a 2 line startup script...
[Android Apps and Games] jrkruse:
Technically he would only need to produce the original source code he started with
[Android Apps and Games] Ibuprophen:
I did provide [MENTION=8519914]Niccolò Paganini[/MENTION] the original/base Source Code on the following thread post...

https://xdaforums.com/showpost.php?p=80206984&postcount=529

... and, apparently, this member is ignoring this information.

I truly don't like reporting any members (and rarely do)...

I hope/recommend/suggest that he just accepts the information (as requested) and moves on to something else more productive.

Peace and Love!

Peace and Love!

~Ringo Starr

~~~~~~~~~~~~~~~

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The XDA Labs Forum App on my Sanyo Juno device.
[Android Apps and Games] jrkruse:
I wouldn’t worry about it. Probably just a troll anyways. Trying too get a rise out of you. Contrary to his opinion that its a worthless app I actually found it handy on some things i done in the past especially the root/unroot feature on the s7 your app was a good tool too have
[Android Apps and Games] Ibuprophen:
Just a quick FYI for those who may not know and those who received a DevDB Update Notification...

Just to satisfy those who have/has/had wondered about this projects Source Code.

I had updated both the DevDB Threads OP on both The SELinux Switch & The SELinux Toggler as well.

I had only provided/populated the OP's Github link that provides the Basic/Base Source Code in which "The SELinux Toggler was Based On" and (its successor here) "The SELinux Switch was based Upon/Off of".

Please keep in mind that, though The SELinux Switch was based upon that older Source Code, much (not all) of it was reworked and updated since then.

Thank you very much for your time and understanding with this as I formerly close this subject.

Enjoy! :)

~~~~~~~~~~~~~~~

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX1 Forum App on my Sanyo Juno device.
[Android Apps and Games] Niccolò Paganini:
I hope/recommend/suggest that you just acknowledge that you are acting unlawfully with regard to respect for open source licenses, namely those on which you developed this application, and which you included in the zipped file.

Besides, if the programmer had nothing to hide, he would not refuse to disclose the source code of an application that has root access and that it is not needed for anything, as it can easily be replaced by a simple script of 1 line of code...

You have all been warned...
[Android Apps and Games] jrkruse:
Now im going to jump in here. You obviously are just a pest. He is not charging anything for the app he has original source posted. As for the simple 1 line of code. Yes thats easy for people that know but isn’t the purpose of an app too simplify things. Get a life dude quit complaining here. Report him to xda and let them decide but harassing the dev is not necessary. He is trying too do the right thing and unlike you he actually spends time helping people in lots of threads

Sent from some device I modified
[Android Apps and Games] Niccolò Paganini:
Of course he is not charging anything for the app... Did you review the source code to know why? I know you don't... it's a secret... Besides he is violating open source licenses.
[Android Apps and Games] jrkruse:
A simple look at your profile confirms you are a troll. You do the same thing on every thread you participate in. So go have mommy cook you some dinner and go back to reading source code in her basement. Best of luck on trolling. Keep up the good work. Oh wait you probably don’t even have a big enough pair to report someone because you probably have so much the mods have all blocked you. Peace and love. Peace and love brother
[Android Apps and Games] Zerikwan:
Then please..build 1 for me.

Did you?

Thanks for your warning.

But we love to use a "complicated-closed source app" rather than "1 simple line of code"

If you don't want to use it: shut up and leave.

If you don't like it: report, shut up and leave. "SIMPLE".
[Android Apps and Games] Droidriven:
You are just wrong, if you don't believe so then please, by all means, report this to the moderators here, if he's in violation(which he isn't), they will definitely take action. But, if you make your report and they don't do anything(which they won't because he has satisfied their GPL/source requirements) that will be everything you need to know that he is in the clear. Do you really believe that he would be allowed to keep his title as a XDA Recognized Contributor for as long as he has been one if he was in violation? You don't know what you are talking about and you don't know who you're complaining about.

He has everything right by the XDA rules, otherwise, this thread would have been closed long ago and the app would have been removed from XDA. The fact that it is still here after all this time is your first clue that he is correct. That is all you really need to know. Just leave it at that and go your merry way.

You obviously don't understand GPL or the XDA rules, you "think" you are right but you have the details all wrong.
[Android Apps and Games] Thanos:
I'm going to step in here in an effort to get things back on track...

If ANYONE feels a thread is in violation of forum rules, then report it and moderators will handle it.

If ANYONE is disrupting a thread, report the posts and do not reply to the offender. That, again, is a moderator's job.

I'll be subscribed here for a bit to ensure that things get back on topic.

Thanks! :good:

Thanos

Senior Moderator
[Android Apps and Games] Droidriven:
Agreed

The member didn't seem to be flaming the dev here or getting too out of hand with their posts. It didn't meet the criteria that I felt was worthy of reporting. The developer here is a colleague of mine, we have collaborated on this project in the past, so I felt the need to speak on his behalf and my own since I was involved in this project(not majorly, but still complicit), not XDA's. A dispute against this developer is a dispute against me "by proxy". I speak for myself, not others.
[Android Apps and Games] Thanos:
Understood and no worries. My post was just a general explanation for all members regarding the disruption of threads.

Thanks! :)
[Android Apps and Games] Ibuprophen:
A Very Special Thanks to [MENTION=1949695]jrkruse[/MENTION], [MENTION=5691352]Droidriven[/MENTION] & [MENTION=9738343]Thanos[/MENTION] for providing the much needed clarification that I was having a challenge in getting through to that member. Especially the Moderator Intervention that was appropriately necessary by Thanos! :)

My activity on XDA (recently) has been a bit lower than normal but, I still find the time to provide various Contributions on the forum as well as some app updates within a few threads.

I've actually been working on a bunch of developments I've been falling behind on that's been released here, unreleased as well as some other projects like the Open Shell Software (I'm currently in a developmental team of 4 within Github).

Anyways, it's GREAT to have support here while I'm away. Thank you all so much! :)

~~~~~~~~~~~~~~~

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX2 Forum App on my Sanyo Juno device.
[Android Apps and Games] Ibuprophen:
Big update for The SELinux Switch App!

I had finally gotten a few items figured out that I was previously having some issues with.

Just to highlight a few items from the Changelog...

A much faster launching of the app when the device boots up. I don't believe that, at this point in time, I can improve upon the boot-to-launching speed much better than this (I'm sure this may be different as time goes on with the Android 10 and later releases).

I was also able to expand the app's compatibility with a minimum API level of 5 (Android 2.0) while improving upon its maximum API level of 29 (Android 10).

The Android 10 was only personally confirmed via a PC Software Emulator but, I can't test it on an actual android device myself yet as I don't have Android 10 on any of my devices.

Since Android 10 is fairly new, and available to only a handful of devices, this compatibility is still new and not much of a priority at this time.

More on the Changelog.

Just on a side note... Though, this is not really something that is necessary to do but, I can only encourage/suggest the clearing of the Data & Cache "BEFORE" updating the app. Then after updating the app, relaunch/open the app again, set your desired SELinux State and then reboot the device. This is in no way harmful to the device or app (weather or not you do this).

I hope this works out great for everyone and please enjoy! :)

~~~~~~~~~~~~~~~

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX2 Forum App on my Sanyo Juno device.
[Android Apps and Games] casouzaj:
Thank you for the new update, Ibuprophen! You see, I'm running LOS 16.0 in a rather ancient Xperia ZL , for which SELinux implementation is claimed to be WIP.. With the previous version (7.1.1), Play Store always wanted me to uninstall it, accusing it to be harmful. Not anymore!
[Android Apps and Games] Ibuprophen:
Your very welcome! [emoji106]

Thank you very much for your feedback as it's very encouraging to see! :)

Enjoy!

~~~~~~~~~~~~~~~

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX2 Forum App on my Sanyo Juno device.
[Android Apps and Games] Ibuprophen:
I just wanted to let you know that I've been a bit under the weather for the last few days and have been working very slowly on some updated UI layouts.

I've been wanting to do this for a while now and, after the last release, I decided to begin this little project.

Feeling a little better today...[emoji106]

~~~~~~~~~~~~~~~

Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX2 Forum App on my Sanyo Juno device.
[Android Apps and Games] Dhicky:
For me this app doesn't start automatically at boot. Hence. I have to set it to "permissive"manually everytime I reboot. Itbs kindda annoying. I don't know why it doesn't start automatically.
[Android Apps and Games] Droidriven:
Have you enabled the option for it to persist at boot, it's a setting in the switch app.
[Android Apps and Games] Dhicky:
I didn't see any option to enable it at boot..
[Android Apps and Games] Droidriven:
Are you getting an icon or notification in status bar? If so, what do you see when you pull down the notification bar?

Maybe your kernel doesn't have permissive support/capability.
[Android Apps and Games] Dhicky:
I am getting an icon and notification when I set it to permissive.

My kernel supports SELinux permissive. But I have to do it manually after reboot. You know what, today I restared my phone. It started automatically by giving me notification, in the next restart, no notification at all so I did it manually again. I am confused
[Android Apps and Games] Brutale1090!:
Installed last version flashable zip but no app installed

Hi Guys,

I've flashed the last zip available through TWRP 3.3.0.0 on Samsung A3 with official LineageOS 16 installed and updated.

I rooted through Magisk (which I keep updated only with stable versions).

After flashing the Zip I see non app added after booting.

I blindly followed the instructions.

Can you please help me?
[Android Apps and Games] dib3ns:
Installed this app on Samsung Galaxy Note4 SM-N910F with latest stock firmware 6.0.1 and appears that the stock kernel is probably not SELinux Permissive capable. I also ran setenforce 0 as root from Termux (with global namespace) with no effects. Does this mean I am stuck with SELinux Enforcing kernel and nothing else is preventing Marshmallow SD fix Xposed module from working properly?

Rooted with TWRP + Magisk 18.0

Magisk Hide enabled

Xposed custom build by wanam (TouchWiz compatible)

BusyBox by Meefik
[Android Apps and Games] Droidriven:
Note 4 "should" have no problem enabling permissive mode and setting to persist through reboot.
[Android Apps and Games] quyleanh:
I faced boot loop. How to remove the app? Thank you.