yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Ibuprophen:
I've got a feeling that you saw something in the realm of The SELinux Toggler App being Harmful to your device.

If so then that is what's called a PSA (Poisoned System Directories) Warning from Google.

Google always shows this warning for any app and such that are SELinux related and always asks the individual to uninstall it because it's harmful.

This because of 2, understandable, reasons...

1) There are, in fact, apps and such that affect the SELinux State of a device that can do harmful things to a system/device and those can happen even without the individuals knowing.

2) There are, in fact, apps and such that affect the SELinux State of a device that is not designed to do harm to a system/device but, the individual may not be experienced enough to understand other actions that's performed and can potentially inadvertently harm their device.

The SELinux Toggler is not, by design, aimed at doing anything harmful. It allows the individual to have full control the SELinux State. But, as always, be careful with what you do while the SELinux State is in Permissive Mode.

In order to stop the PSA Warning, If you want, the following link has a nice little "how to" for Disabling those pesky "App is harmful" Security Alerts:

How to Disable the Android's (‘App is harmful’) Security Alert

Please keep in mind that you can always let me know if you have any further questions or concerns regarding The SELinux Toggler.

***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] theobjr:
Nothing really bad happened-I just had to wipe the cache, data, restore, and reinstall apps, which we all know is a pain. Does the app set selinux to permissive permanently or does it set the condition at boot? I have read a couple of different ways like placing a script in init.d folder. I haven't tried them yet, maybe when I get bored and want to flash something that requires selinux permissive.
[Android Apps and Games] Ibuprophen:
Per the OP, The SELinux Toggler makes no permanent changes to the device.

When using this app, when the device reboots, SELinux will default back to Enforcing until the app auto launches, then the commands are submitted to the device to change to Permissive. If the app is set for Enforcing, then no changes are made.

This is not what you need If your device has something that requires the SELinux Mode to be changed during boot that would require the boot scripts to be changed.

I, personally, have it kept on Enforcing and use the Permissive Mode only when needed/required.

You can try it and if it's not what you need/want, then all you need to do is uninstall it and reboot your device.

It's a simple app that allows you to change your SELinux State upon request and the app itself does no permanent changes to anything.

***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] theobjr:
Say you need selinux set to permissive to flash a sound mod-say dolby atmos or something like that. Do you need the change only when installing and you can set it back after installation? I was assuming if the mod needed permissive for installation then it would need it to be set permanently (or at boot).
[Android Apps and Games] Droidriven:
Has to have continuous permissive mode or the app won't work. Setting SELinux Toggle to permissive mode during boot is what you need.

I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
[Android Apps and Games] Ibuprophen:
Thank you for your response since i wasn't sure of what was required for the Dolby Atmos.

***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] ldeveraux:
I have a Galaxy S5 900V (Verizon) with unlocked bootloader (TWRP installed) and LOS14.1 ROM. I have Boeffla's LOS14.1 kernel installed. I want the phone to always default to Permissive mode, but I always have to change it manually within the app. No matter what I do, it doesn't seem to want to change at boot. I don't have Greenify or any other way of preventing apps from starting. Any clue what may be wrong?
[Android Apps and Games] Ibuprophen:
Have you ever received the Google PSA Harmful App Warning and then you selected not to notify you again?

***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] ldeveraux:
Probably? I've also disabled notifications from the Play Store because of it. Would that affect it somehow?
[Android Apps and Games] Ibuprophen:
Did you follow the steps on the following link?

How to Disable the Android's (‘App is harmful’) Security Alert

Once in a while, I've had to perform those steps again. It doesn't happen very much but, Google does tend to turn it back on.

Also, after performing those steps, when you set the app to Permissive, be sure to check the notification box in the app so your notified when the device is booted back up.

***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] ldeveraux:
I've followed that procedure before and it just kept coming back. I was fed up with it, so I turned off the play store with Notifications Off. I never receive the notification that it's been set to Permissive. Whenever I reboot, it just sits at Enforcing, no matter what I do. I wish I could just remove the SELinux altogether.
[Android Apps and Games] Ibuprophen:
I understand your frustration...

You don't have this app installed/Synced/Linked to your External MicroSD do you?

***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] ldeveraux:
no it's internal. I have the Boeffla kernel which apparently has its own method to switch to Permissive mode. It's weird that neither of them work right now, must be something on my end...

*EDIT*

As it turns out, I have MagiskHide enabled, which apparently requires Enforcing mode. SO that seems to be what's causing it.
[Android Apps and Games] Ibuprophen:
How could you do a thing like that and get me all worked up over my app!!!

LMAO!!! Just kidding :)

That Magisk always throws me for a loop...

[MENTION=4470081]topjohnwu[/MENTION] should be calling it:

"Abracadabra"

or

"Magisk-ly Hiding SELinux"

LMAO!!!

***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] Ibuprophen:
***** STATUS UPDATE *****

I know... I know... It's been a while and I haven't forgotten about you all.

1) After a few tests for the next release of The SELinux Toggler... Let's just say that they didn't work out.

I'm still working on some of the fixes and others to get the, long overdue, update pushed out.

As I had previously stated, i always, personally, test out the releases beforehand for my own QC.

2) I've been doing allot of organizing, cleaning, updating, uploading, etc... on my Android File Host Account.

I've updated and added a bunch of various items on the account too.

3) Github... Github... Github... Oh my... LMAO!!!

I've tested a bunch of apps that is just a bit challenging in locating a user friendly interface as well as its management too. Though, I did locate 2 that I've been using for different reasons for each but, haven't found any, as of yet, that i really like.

I've done allot of housekeeping on the Github account. I've cloned a handful and got rid of all the items that I've decided to let go that I've been Forking for a while.

Importantly!!! I do have The SELinux Toggler there that I've been working with a bit and have been trying to get updated with the latest version along with updates as well.

The process of transitioning from my home PC to Github is... well... a bit slow but, progressing little by little.

I did commit a Russian Translation submitted by an individual on Github and I do thank that member for this (I'd have done a call out but, i don't know that individuals XDA member name).

In closing, if you do look at my Github project list, you'll notice 5 additional test entries for The SELinux Toggler. These are not the ones I'm working on (so to state) but, backup clones since I've been re-familiarizing myself with Github, it's good to have a backup plan LOL!. They'll go away once I'm confident enough that I'm good to go.

Thank you ALL so much for your time, understanding and patience with me.

As always, I'm happy to help you out if you have any questions, concerns, comments or just want to say hello.

***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] Ibuprophen:
***** HAPPY 4TH OF JULY *****

To all those who celebrate this day of Independence!!!

***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] Ibuprophen:
***** ANNOUNCEMENT *****

I just wanted to let you all know that The SELinux Toggler is now available on the XDA Labs Store!

The SELinux Toggler - XDA Labs Store

How EXCITING is that... LOL!!! :)

***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] paed808:
Isn't this the exact same as SELinuxModeChanger?
[Android Apps and Games] Ibuprophen:
No.... A Reboot... A continuing story... A saga continues... The empire strikes back... Etc... :)

***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] :
I've just done a little spring cleaning, can we either take it to PM or just use the rp button and let us deal with it

Regards

Sawdoctor
[Android Apps and Games] Ibuprophen:
My apologies. It was only a temporary lapse of reason.

That's what Moderators are here for. My head is usually on my shoulders regarding these situations.

:)

**Please Note: As always, I welcome any member to help with further valuable information/clarification for any of my posts.
[Android Apps and Games] paed808:
Check your PM. :)
[Android Apps and Games] Ibuprophen:
***** A QUICK FYI *****

I just wanted to let you all know that i had updated the OP a touch and give you a heads up that I'll be sporadically doing this for a little while.

Of course the Changelog (on the second post) will reflect all changes to this DevDB thread (OP Changes/Updates, App Updates and other information).

Some of this was prompted by the overdue changes/updates AND with The SELinux Toggler being on the XDA Labs Store, there are members, who use the XDA Labs and have been using the "SELinuxModeChanger" has been seeing updates from that app to "The SELinux Toggler" since the app has officially been placed on the XDA Labs Store.

I'll definitely continue to inform you all on other changes/updates.

As always... Please let me if you have any questions or concerns.

Thank you all for your time, patience and understanding!

**Please Note: As always, I welcome any member to help with further valuable information/clarification for any of my posts.
[Android Apps and Games] Droidriven:
I wasn't being argumentative, I was aiming at trying to provide some clarity.

I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
[Android Apps and Games] Ibuprophen:
I thank you for your assistance with clarifying this.

I really can't, as a professional, comment much more about what went on but, your input is a valuable one for this project and is always welcome here.

______________

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

https://xdaforums.com/signaturepics/sigpic4828250_7.gif
[Android Apps and Games] Ibuprophen:
Additional updates as outlined in the Changelog.

Thank you ALL! :)

______________

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

https://xdaforums.com/signaturepics/sigpic4828250_7.gif
[Android Apps and Games] hendy_:
Anyone can tell me, what is the function of SELinux.? And how it works in our device.?

And what is the best choice.? Enforce, permissive, or others.?

Thanks and sorry for this nooby question.
[Android Apps and Games] theobjr:
I'm pretty much a newbie too but maybe I can answer somewhat. Selinux is a security measure started with lollipop I think I read. I may be wrong but if the selinux mode on your rom is set to enforced (assuming you are rooted), then certain tweaks, maybe a dolby atmos zip file that you flash is unable to be installed on your system partition. So when you open the apk that was created by flashing a zip file it will crash. So you need to be able to set the selinux mode to permissive in order to be able to use some mods for your phone. The selinux toggler toggles the selinux mode from enforced to permissive or vice versa.
[Android Apps and Games] hendy_:
Thanks for the explanation man... :good:
[Android Apps and Games] Ibuprophen:
***** QUICK STATUS UPDATE *****

I just wanted to fill you all in regarding the, long overdue, update for The SELinux Toggler...

I know that i had, previously, announced that an update was on the horizon but, something had delayed that just before I was about to push the update out.

As you all know that The SELinux Toggler was recently placed on the XDA App Store and i had received a few messages from a couple of users that just...

Well let's just say that it had made my hand go from my waist and with a circular motion slap my forehead stating that old commercial statement... "I wish I had a V8!!!"... LMAO :)

This previously occurred to me at one time a few months back but, i was recently reminded of it based on some of the feedback.

The situation that delayed the release:

After The SELinux Toggler had been placed on the XDA Apps Store, those who use both the XDA Labs and the SELinuxModeChanger would end up receiving an update notification for The SELinux Toggler.

I had completely forgotten about this and, since I don't use the XDA Labs app, it was some feedback that reminded me of some minor fixes that I had unintentionally forgotten about applying for this last update.

With that stated, some individuals experienced a minor issue upgrading/updating from the SELinuxModeChanger to The SELinux Toggler and I APOLOGIZE DEEPLY for this minor setback.

I have been working diligently to get this corrected and will be pushing an update out hopefully today or tomorrow.

I also noticed the old SELinuxModeChanger thread was also getting some increased activity recently because of this too. I haven't responded to that thread for quite a while as it encourages members for support on The SELinux Toggler there when it belongs here.

The SELinux Toggler v4.3.9 b62 will be the next release.

Please Note: For the reason I had explained above is why the Version/Build skipped 1. This was (in no way) because anyone had missed a release... It was because I had stopped that release before pushing it out for those reasons.

Anyway... Thank you all very much for your time and understanding with this.

Please let me know if anyone has any questions, concerns or just wanted to state Hello... :)

______________

**Please Note: As always, I welcome any member to help with further valuable information/clarification for any of my posts.
[Android Apps and Games] Sands207:
[MENTION=4828250]Ibuprophen[/MENTION] For those of us struggling to change SELINUX on MM 6.0.1, would this now be an option for some of us? I really appreciate your work and used SELINUX changer on a previous device but i think it was pre MM. If you have already answered this question, i don't mean to ask a redundant question. Thanks if you have a minute ☺️
[Android Apps and Games] Ibuprophen:
***** HEAR YE! HEAR YE! *****

Finally able to get the latest build done!

I had, personally, tested the newer build for better upgrade compatibility from the SELinuxModeChanger and it looks like it had worked as i hoped it would but, feedback is always important.

Please see the Changelog on the second post of the thread for more information.

PLEASE NOTE: I'm having trouble with uploading the new build to the DevDB Download tab of this thread but, was able to upload both the Flashable and the apk files fine to the File Host Account as well as the apk on the XDA Labs Store. Tomorrow I'm hoping to get the new build up in the DevDB Download page of the thread.

Please let me know if there is any questions or concerns!

Thank you ALL for your time and patience.

______________

**Please Note: As always, I welcome any member to help with further valuable information/clarification for any of my posts.
[Android Apps and Games] Ibuprophen:
***** TECHNICAL DIFFICULTIES *****

I had just submitted an issue to an Administrator regarding the difficulties I'm experiencing with uploading the latest release within the Downloads portion of this thread.

The new release is still available for download within the "XDA Labs Store" and my "Android File Host Account".

The links to them are still available on the OP.

I apologize for any inconvenience this may be causing and I'll keep you posted here with any further updates.

Thank you ALL very much for your patience and understanding!

______________

**Please Note: As always, I welcome any member to help with further valuable information/clarification for any of my posts.
[Android Apps and Games] Ibuprophen:
My apologies for not responding sooner!

By default, all devices SELinux State is set to "default-deny"...

Before anyone can change their SELinux State (to and from Enforcement/Permissive Mode), that device REQUIRES that the devices kernel will be allowed by said kernel policy (aka "sepolicy").

Some members use tools, apps, modules, etc... that requires their devices "sepolicy" to remain/maintain in a constant Permissive Mode. This is applied to a devices boot scripts which is a permanent entry that doesn't change without a user to make those changes manually.

The SELinux Toggler doesn't make permanent changes to a devices boot script but, it's set automatically run just after a devices initial boot sequence.

Either way, as long as your device has a kernel that will permit its SELinux State to be changed, then The SELinux Toggler should work for you.

YES... This has been verified to work on Marshmallow, Nougat and Oreo.

NO... It's not a magic wand and if a device does not have the appropriate kernel enhancement to allow a change to its own sepolicy, then this app will not work.

NO... I don't write Kernels for devices... It would take forever since one size doesn't fit them all... I'm not THAT clever... Yet... LOL. :)

I did the best I could to explain this via text...

______________

**Please Note: As always, I welcome any member to help with further valuable information/clarification for any of my posts.
[Android Apps and Games] Sands207:
Thank you, that is a crystal clear explanation and i appreciate your time! I look forward to future releases and supporting your efforts. It's much appreciated ?
[Android Apps and Games] Ibuprophen:
Not a problem at all.

Just let me know if you have any other questions or concerns and I'll do what I can :) .

______________

PLEASE NOTE: I welcome any member to help with further valuable information/clarification for any of my posts.

<MY DEVELOPMENTS>

[APP][TOOL][4.2+]The SELinux Toggler

[ZIP][TOOL][AIO]BusyBox Stericson Binary Installer v1.26.2 {BB/TB Auto-Symlink}

<IN DEVELOPMENT>

[APP][TOOL][4.2+][OFFICIAL]The SELinux Switch

Will Supersede "The SELinux Toggler"

<IDEAS FOR DEVELOPMENT>

[APP][UNOFFICIAL][4.2+]XDA Forum {Classic}

[APP][UNOFFICIAL][4.2+]XDA Reader {Classic}
[Android Apps and Games] richardfeb2@gmail.com:
Samsung Galaxy Tab s ..

Will this work on my Galaxy Tab S with Lineage 14.1 Android 7.1.2 Official Rom ? or

will it Brick it ? Please help , Thanks.
[Android Apps and Games] Ibuprophen:
This should work, especially within the LineageOS, as long as your device has the following 2 prerequisites...

1) The latest BusyBox (with the BusyBox Binaries installed).

Even though I, personally, recommend the BusyBox by Stericson, i do recall that others have been successful with using a few other BusyBox Management apps/tools and the BusyBox Binaries installed. I, personally, have only ever really used the BusyBox from Stericson (at one time i had tested out the "BusyBox X" from Root Essentials).

2) A Superuser Management (with the SU Binaries installed).

Even though I, personally, recommend the SuperSU v2.79 (or Greater), i do recall that others have been successful with using a few other Superuser Management apps/tools and SU Binaries. I, personally, have only ever used SuperSU from Chainfire (at one time i had tested out the "Superuser X" from Root Essentials).

The good thing is that The SELinux Toggler doesn't make any permanent changes to your device. This is good because if the app doesn't, ultimately, work out for you (whether you installed it via apk or flashed the zip), then all you need to do is uninstall it (the traditional way) and reboot your device.

If you do decide to use it, then please let me know how it did for you.

I wish you the best of luck (keeping my fingers crossed)!

______________

PLEASE NOTE: I welcome any member to help with further valuable information/clarification for any of my posts.

<MY DEVELOPMENTS>

[APP][TOOL][4.2+]The SELinux Toggler

[ZIP][TOOL][AIO]BusyBox Stericson Binary Installer v1.26.2 {BB/TB Auto-Symlink}

<IN DEVELOPMENT>

[APP][TOOL][4.2+][OFFICIAL]The SELinux Switch

Will Supersede "The SELinux Toggler"

<IDEAS FOR DEVELOPMENT>

[APP][UNOFFICIAL][4.2+]XDA Forum {Classic}

[APP][UNOFFICIAL][4.2+]XDA Reader {Classic}
[Android Apps and Games] Tegras:
I'm not sure why but noticed it is not compatible with CyanogenMod 13 in Samsung I9300 Galaxy S III - SELinuxToggler cannot open, while list of apps in settings and package installer (during uninstallation) keeps crashing.

However, was happy that when upgraded to LineageOS 14.1 Andriod Nougat, after installing SuperSU for root (goo.gl/CHuRBt), everything works fine. Using 'The+SELinux+Toggler.ver.4.3.9.build.62.zip' (Toggling "Permissive" mode along with soft reboot, whenever I restart or turn off device) I was able to enable [MENTION=5357345]ahrion[/MENTION]'s Dolby Atmos audio mod. Thanks for your effort [MENTION=4828250]Ibuprophen[/MENTION]! :D:good: