• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

xtzy

Member
Oct 19, 2019
40
11
I also have a zip installed via TWRP that is not visible, and if I install an apk file, the application label is present and the application can be used.
 
  • Like
Reactions: Ibuprophen

jrkruse

Recognized Contributor
Aug 9, 2009
8,175
12,455
several of the android 10 roms i'd like to run on my device(s) have selinux enforcing by default. it's not that i have anything against enforcing roms, but, i'm able to restore my data from recovery (after a clean flash) only on permissive roms. i'm yet to find a way i can change selinux state to permissive that enables me to restore data from recovery and boot up without issues. so, i ask you and other learned devs/users: is there a not-too-complex way i can achieve what i seek? thanks in advance for any help on this.


i too could find the app in the drawer only after the traditional installation.


Your problem could be that android 10 is system as root system so some deviices require the zip to mount the system as root and not just system and some systems require you to extract the files to system root not just system. You may find most older zips will not flash properly. It really depends on how your twrp handles the system as root.


Sent from my iPhone using Tapatalk
 
  • Like
Reactions: Ibuprophen

Ibuprophen

Senior Member
Sep 4, 2012
9,543
6,504
Upstate New York
thanks for the response. so, is there something a simple user can do on his/her own to get around this?
When it comes to Android 9 & 10 (and likely future versions)...

I've found that there's really 3 precursors (I plan to outline) that's needed before installing The SELinux Switch App.

1) You can't switch the SELinux to/from Permissive & Enforcing unless the Android OS has a SEAndroid Capable Kernel to enable this feature.

Especially when it comes to New/Beta/Alpha versions of a Custom OS, the developers will typically have the SEAndroid set to a Permanent Permissive state (that restricts switching) solely for developers to perform the required fixes necessary for an eventual Stable OS to be released. Once a Stable OS is released, the OS will then have its SEAndroid set (by default) to Enforcing and will typically (meaning, unless otherwise outlined by the developers) be SEAndroid Capable.

2) Root... Root... Root... Is "really needed" before you install The SELinux Switch App.

3) Importantly... The Google Play Protect feature "needs" to be disabled before installing The SELinux Switch. If it isn't disabled and you install the App (either via Apk or Flashed using the Zip file), the Google Play Protect "will" prevent the installation of the App OR remove/disable the App's installation.

I hope I was able to explain this okay via text... :)


~~~~~~~~~~~~~~~
Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX2 Forum App on my Sanyo Juno device.
 
  • Like
Reactions: hurray and m0han

m0han

Senior Member
Apr 30, 2012
4,416
1,587
...1) You can't switch the SELinux to/from Permissive & Enforcing unless the Android OS has a SEAndroid Capable Kernel...

2) ...Root... Is "really needed" before you install The SELinux Switch App.

3) ...Google Play Protect feature "needs" to be disabled before installing The SELinux Switch...
i can't be sure about 1). most rom devs don't bother answering queries about it. but, 2) and 3) are in place/done always. thanks.
 
  • Like
Reactions: Ibuprophen

Ibuprophen

Senior Member
Sep 4, 2012
9,543
6,504
Upstate New York
i can't be sure about 1). most rom devs don't bother answering queries about it. but, 2) and 3) are in place/done always. thanks.
I know what you mean. SEAndroid question are not typically a topic the Custom Firmware Developer(s) like to address only because it's really something that they discourage from changing it to a Permissive Mode.

It's completely understandable to me because, if the individual doesn't understand about the SEAndroid and what it means to be in Permissive Mode, I would then discourage it as well.

Without getting into a confusing geek like explanation...

If someone doesn't understand what it means to the device when it is in a Permissive Mode, it can potentially open up certain areas of your device to a handful of attacks.

Also, too many individuals confuse the SEAndroid being tied specifically to Root and they're two completely separate worlds. The only tie to them is that one of the requirements for changing to a Permissive Mode is the device having root ONLY because accessing the directory where the kernel is located is within a Root Directory.

I found that a majority of "Stable" Custom Firmware (ie. LineageOS to name 1) does have the ability for its SEAndroid State to be changed back and forth.

To be honest, I personally "Rarely" enter into a Permissive Mode on my device and only do so when necessary for one reason or another.

Anyways, I hope I had explained this okay via text... :D


~~~~~~~~~~~~~~~
Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX2 Forum App on my Sanyo Juno device.
 
  • Like
Reactions: m0han

Ibuprophen

Senior Member
Sep 4, 2012
9,543
6,504
Upstate New York
If selinux is disabled selinuxswitch app can enabled it
Device:j5lte
ROM: cr droid
Only if the Firmware has SEAndroid Capable Kernel to allow it. Having Root is only one of the prerequisites.

You'll be able to locate this information outlined in a few ways throughout this thread (and even the last few pages as well).


~~~~~~~~~~~~~~~
Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX2 Forum App on my Sanyo Juno device.
 

jrkruse

Recognized Contributor
Aug 9, 2009
8,175
12,455
The days of flipping a switch from enforcing to permissive are probably a thing of the past. There is no ram disk in boot images no more and phones now have dynamic partitions making selinux very complicated now. You have lots of things that now need changed for a permissive system.


Sent from my iPad using Tapatalk
 

immi803

Senior Member
Jun 14, 2012
1,260
573
i'm new user of this app and wanted obviously permissive mode , there's no glitch in APP itself and working absolutely fine, only problem i encounter when there's an upgrade to my rom, flashing an update over my rom triggers enforcing mode and force stops viper4Andriod legacy driver installation, so all i've to repeat is boot rom for first time after upgrade and change mode to permissive using this great app, reflash V4A legacy again and reboot again, is there a work around for this procedure? my kernel fully supports permissive , A11, Dynamic system, Arrow OS custom rom

Surely needing some help, i think magisk module for this might solve this issue, do i simply need zip to be flashed in magisk? and turning on Busybox within magisk will solve this problem? i'm previusly using apk version , i preferred to ask before testing at my own, my data partition is encrypted so better to ask ;)

@Ibuprophen
 

Top Liked Posts

  • There are no posts matching your filters.
  • 114
    The SELinux Switch

    The-SELinux-Switch-v4-OP-SM.png

    .
    What's The SELinux Switch & What Makes It Different from The SELinux Toggler?

    I'll outline this in brief since it would take too much time and space in explaining everything in detail.

    Primarily, The SELinux Switch was built from scratch. It had taken me approx. 6 +/- months on building, testing, editing, etc...

    The SELinux Toggler was still using the old Package Namp (com.mrbmic.selinux) and, by continuing to use that same Package Name, it also forced me to have to continue its Open Source as specified by the SELinuxModeChanger.

    Though, The SELinux Toggler was my developement, it still had some underlying ties to the SelinuxModeChanger. In order to make this "My App", i had to build it up and give it a more apropriate Package Name (com.ibuprophen.selinux).

    When it came to the user interface, i felt (based on the simplicity of The Selinux Toggler) that the same user interface would be the best thing to do and carried it over.

    IMPORTANT INFORMATION FOR USERS OF "THE SELINUX TOGGLER"

    Be sure to follow the steps BEFORE installing The SELinux Switch:

    1) Download The SELinux Switch and save it somewhere on your device you can remember.

    2) Uninstall The SELinux Toggler then reboot your device.

    3) Once the device is booted up, install The SELinux Switch and you're done.

    4) (OPTIONAL) If you would like to initially test it out, then set The SELinux Switch to Permissive Mode, then reboot your device. Once the device has booted back up, confirm the change.

    ***PLEASE NOTE FROM STEP ONE: If you plan to install The SELinux Switch using the Flashable Installer via custom recovery. Then instead of fully rebooting your device, just reboot into your devices custom recovery and install via the flashable Installer and reboot your device (Cleaning the Dalvik Cache right after flashing the installer is encouraged but, not required) and your good to go (you may proceed to step 4 if so desired).

    What and why is SELinux Mode Important?

    Since the release of Android 4.2 (KitKat) a new security enhancement called SELinux was interlaced within the system and then the Mode was defaulted to “Enforcing”.

    Weather this new security measure was good or bad, it resulted in allot of challenges with many Apps that required Root access. So from then on, there have been many workarounds that developers were forced to overcome and adapt to this new security measure for their current and future developments.

    Since the SELinux security measure was placed, there also have been many tools and utilities had changed the default SELinux Mode “Enforcing” to “Permissive” and one of those noted (and clever) Developers was an individual who is known as MrBIMC had created the “SELinuxModeChanger”. This app allowed the individual to change the SELinux Mode to and from its “Enforcing” and “Permissive” states.

    What does The SELinux Switch do?

    Basically, this app can change a devices SELinux State without having to permanently modify the boot script files of the device.

    What does The SELinux Switch NOT do?

    Again… This app will not make permanent changes to the boot script files!

    This app will automatically boot as any app will that is part of the boot sequence. So when a device boots up, the device, by default, will be booted in its default SELinux “Enforcing” Mode. Then once the boot sequence begins launching the auto launching of the apps, this app will then automatically launch and change the devices SELinux Mode that the user last selected for the devices SELinux Mode.

    What do I do to use this app?

    Just as simple as downloading, installing, opening the app and then select which mode you want the devices SELinux Mode to be (Permissive or Enforcing).

    And that's it! Now every time you reboot your device, the app will auto launch (just the same as other apps do) and change the SELinux state to the mode in which you've last selected within the app.

    Primary Download Links

    The SELinux Switch - Apk & Flashable Zip Installers via this DevDB Thread (Downloads)

    Alternative Download Links

    The SELinux Switch - Apk Installer via the Android File Host Server

    The SELinux Switch - Flashable Zip Installer via the Android File Host Server

    XDA Labs Store Download Link

    The SELinux Switch - Apk Installer via the XDA Labs Store

    Some Issues that may/might be present

    - This will be populated/updated as i get a better idea on any issues in time.

    Special Mentions/Credits
    @Droidriven - For Beta Testing & Providing Valuable Feedback.
    @Thebear j koss - For Providing The Dark Theme, Beta Testing & Providing Valuable Feedback.
    @ahrion - For Providing The Magisk Information & Screenshot(s)
    @Dixon Butz - For Providing The Magisk Information & Screenshot(s)
    All the Girls I've Loved Before... LOL!

    ***The SELinux Switch has just been recognized by AndroidMore***
    The SELinux Switch and I was just recently recognized by androidmore.com
    Please take a look and i hope you enjoy this highlight!
    Set SELinux Permissive on Android - A Guide by Mr. Srivishnu {February 12, 2020}

    ***The SELinux Switch was recognized by The Custom Droid***
    The SELinux Switch and I was just recently recognized by thecustomdroid.com
    Please take a look and i hope you enjoy this highlight!
    Set SELinux Permissive on Android using The SELinux Switch By Mr. Dhananjay {October 8, 2017}

    ***The SELinux Switch was Recognized by xda-developers***
    The SELinux Switch and I was just recently recognized by xda-developers.com
    Please take a look and i hope you enjoy this highlight!
    The SELinux Switch is a New Tool for Toggling SELinux Between Enforcing and Permissive By Mr. Doug Lych {August 15, 2017}

    Click Here If You Would Like To Donate To My Developements
    ~{Donations Are Appreciated, but Never Necessary...}~

    XDA:DevDB Information
    [APP][TOOL][2.0+][OFFICIAL]The SELinux Switch, Tool/Utility for all devices (see above for details)

    Contributors
    Ibuprophen
    Source Code: https://github.com/Ibuprophen/SELinuxModeChanger


    Version Information
    Status: Stable
    Current Stable Version: 7.1.3
    Stable Release Date: 2020-01-21

    Created 2017-08-14
    Last Updated 2020-07-09
    17
    INSTRUCTIONS FOR MAGISK/MAGISK HIDE USERS

    When MagiskHide is enabled and selinux is switched to permissive, upon reboot MagiskHide will automatically turn selinux to enforcing, however it will actually be permissive. This is called SELinux "Pseudo" State and keep in mind that this is a Feature NOT a Bug.

    You need to ensure that you enable BusyBox within the Magisk app in settings because It's turned off by default. With BusyBox enabled in Magisk and The SELinux Switch set to Permissive Mode, The SELinux Switch will be able to change the SELinux State as designed.

    The following screenshot are to aid in the Magisk BusyBox settings:

    oN4ckZa4CrfrAsTlblUj3Hazfib6VP-Lqtpm1jq52XrWnlG9Bdk4lNP-gt-erVcuBKD-Bg_iCQAvoMefVel0jnJpFhfzqTarSUCGI7zNWrERl149z2p_EMRMXpUWWWt1tNtc-ujSzG9jRE8cjt8QveQ-qtqxvDW8xztd4_YlDa6TvGKjpS5qLIcPiGidAgxxUtf5opUBYrJc_hhuwPCgNsBaO1VGQEyiMH-XnADQrAELPGSwAgk1cssUtiVMAV86T2qXFn8TGkM1b4_Lbkeos7BCq3ogVfFHMo1l_w_ddylBn6RmTGmcFrR3ZdJppOUFoBonqxvxY1zg3tDhZw4mwl-bNtfy2XB4S5Lh6iD_478nhnV098_5FSx2WH_sCGObRUGV122E3W3Kfrp7b6sHy1HWW5Vwm8czoVZjBIZv487D0Doh_4V_gBqEGBCgQgp0z3vocwGVuS-_bUMWFnXfnGF_t7r6jGzL8mtePBe42cVQwRqXQVQ7Ww-dC5VSQOYd3-A2u09GWP_MnwDcuExtl9yXG1mUsdxVquaqORnAN33BMhZjnQl4tWxVEHHcA2d3byJzd_ChIwFKRgDfs2GecnBKi7wc8Egxy7dtpN1-y9CX4CXxOoUxyfjU86OMvAKb2UO26UvH5g7akUJ-Bb6ryMPLUIOXocgvUTuMZYFMMuqPAQ=w384-h683


    PLEASE NOTE: If you use the BusyBox app by Stericson, you won't need to enable the Magisk BusyBox. This is because Stericson's BusyBox will be managing the BusyBox Binaries in place of Magisk. Using Stericson's BusyBox is not a requirement nor a recommendation, it's only an option that some Magisk users prefer.

    The following screenshots are to aid when using the BusyBox by Stericson settings:

    V6yMmDws5HmCD4XQC3oVoRPMKgUxLnRyeFh-mGV_Wvg46FHD-x457odR29nMTEhmELpM678CHsWUJaTwpNQDBxRQYS3Hc9vNlD7RvKByyYid__lY3wEbE8WdK1GoigYPrv84fYr6NXmeYnkab_0pSTMbtFelHXOgOFIPixGIPGHbnDJf8glypauAjADeslU0R_Cbd1CU5F2vmDDsBGgWRVc6ZHSk38TuaXXgPzmu2FpukvOG-zM3DK2_Vfh0-0wD_56dxqnO14eaIkjf9lFV8TxrEmwoEYgjVO0Uki_0Bdkh7486XWfZIHKBjVJzDWU3lWwicOTyDdXuhBj1sutYjUA2GmMNVJ3_YPzaKY7PXglG7wzBgNXsGjxPZ-tyf-4t43aae9hb1xIjU_ld7WVgCeWU9ihv2WVS7GRmEtyaBScfd5HgmK-ZwNTxPCd3BeHssx5FCsbYnmNIH2fD-V_p4qWvj3A4kFPkOqYEsvcgTNOvxCsvbvnaA9nBirHLL6HBJWGC0D_HdzMoJHdLkEMraUE52_wtAgVpGk-cwPvaS43fCsBxaCGdPodCiCGt21qlm9WaJ9BMkZzNFRP3zeaCdvC_mAxWxT9itojoX4bjcebtbLNKQCQU8W74tmx0rt5Bu7HLlSi3lD9xgmrHxyqKBMPNnNqIdM8l314PcIaF5DHgNQ=w481-h854


    h8FhkQ67Kn31OVEqjKpv4PFR86lOBLPSRgz9HCvXx_GTOhzg7GbKChRmEhU3Vw_X2m3wyY6mjiFY2sP05WJ5-ozNhS1dP13U0g4X6Vf0R2gFJ9rGvSu_5_Oj6DpitWSobMqtOZDv6euseJcDIAzNmODTu7rEU3Zq96sOV3JDCSdN-ga3MvPySgWo0MhKQEozL1LRcDuvoW84wMaZTwacKKZyqmRBcLWZSwyXSLEpmXzwxkTB-yVda4k3L-YsQCvIu6VAREQ7odeBw4CPKG6t7pUHILSfJUl7B0JVp_itgdonQGci_6aw_GFEnyK4vyqREHjyTxbwpNxp7jCiVmyfoZQt7U8dnxPo3XTgEjcJJ6qf9X68ZhhqbDRYQFjMCQQLc4zRAqeEEc69GeOTn5X2lH3bN9FSQuitEZgthNgFul72Ry4hATFTIHPUieG1eAa7MmSyRYeJu_YImGS4cg4DiAzYy28aPYLp2-rhpaXWRUzF11uVJBrUAirqd6FSIYQQ5qg6pwwipZ76y9W1_lEB4UkA5pTcWWCiZt6vlLYpKoY_pvsijBAZ0k5T--NoDGRx4tJEe_6NjYUD-pCs5SbNM0t4w3jr5p7EITK3U30-vvgj5FjZeTvBAeOrEYaf8mB0IGFkoMlIUAHv6hGxflXFcGyP01vV7iHejFHXZWEeGmGH0A=w384-h683


    AF1QipO6EBuT2IwI9bvDXtBTz9WA2zpM6bkIx6C_0g_D



    [The information above was compiled from a few different sources and may change just to maintain its accuracy for Magisk users]
    15
    **********************************
    ******CHANGELOG******
    **********************************


    *********************
    **DATE: 02-09-2020**
    *********************

    - Updated the OP a bit.
    - Still working on an update. Going through some minor tweaks and such as well as testing it.


    *********************
    **DATE: 01-21-2020**
    *********************

    - The SELinux Switch Version 7.1.3 Build 713
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - A minor adjustment/bug fix was made to help improve the app's launch/performance when device boots up..
    - Applied New App Icon to help with its identification when using various Android Icon Pack's.

    *********************
    **DATE: 09-17-2019**
    *********************

    - The SELinux Switch Version 7.1.2 Build 712
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Made a minor tweak/adjustment to the callout intent that aids in the speed in which the app is launched at boot.
    - Provided compatibility fix (that I can see working thus far) for it to now work on Android 2.0 (API 5).
    - Various other adjustments and such were made.
    - DevDB Thread Title Updated/Changed to reflect 2.0+ from 2.3+.

    *********************
    **DATE: 08-03-2019**
    *********************

    - The SELinux Switch Version 7.1.1 Build 711.
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Minor Compatibility Fix (for some).
    - Minor Change/Addition within the App's Info.

    *********************
    **DATE: 03-21-2019**
    *********************

    - The SELinux Switch Version 7.0.0 Build 700.
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Android Pie Fixes/Modifications Made.
    - A Version bump made to mark/reflect the next Generation for continued development on Android P.
    - Minor correction made on threads title to reflect "Android 2.3+".
    - Various other corrections made to Icon Image as well.

    *********************
    **DATE: 03-05-2019**
    *********************

    - The SELinux Switch Version 6.2.8 Build 628
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Minor Fix Applied.
    - Brief info added within the "ABOUT/INFO" screen of the App.

    *********************
    **DATE: 01-25-2019**
    *********************

    - The SELinux Switch Version 6.2.7 Build 627
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Correction made to Icon Image Quality Previously Overlooked.
    - Minor Fix Applied.
    - Minor Cleanup made.

    *********************
    **DATE: 01-19-2019**
    *********************

    - The SELinux Switch Version 6.2.6 Build 626
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Applied NEW 3D (Button Style) Icon.
    - Minor Fix Applied.
    - New App Signature Has NOT been applied yet. Appropriate Announcement will be made beforehand.

    *********************
    **DATE: 11-19-2018**
    *********************

    - The SELinux Switch Version 6.2.5 Build 625
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Applied NEW Christmas Icon.
    - Added Holiday Cheer within the Info Area.
    - Minor compatibility change .
    - Slight improvement in launching with device startup.

    *********************
    **DATE: 10-31-2018**
    *********************

    - The SELinux Switch Version 6.2.4 Build 624
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Applied NEW Halloween Icon (I Had Almost Forgotten About).

    *********************
    **DATE: 10-11-2018**
    *********************

    - The SELinux Switch Version 6.2.3 Build 623
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - ** This is Part of an "Undetermined" Series Release Updates. **
    - A small modification Implemented to help with a quicker launch on some devices.
    - Cleaned up a few unnecessary items found.
    - Various other minor Fixes and such made.
    - Threads OP and Screenshots have been updated with more being planned over time.

    *********************
    **DATE: 09-11-2018**
    *********************

    - The SELinux Switch Version 6.2.2 Build 622
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - ** This is Part of an "Undetermined" Series Release Updates. **
    - Improved (v3) Icon Implemented.
    - Verbiage Re-Wording/Adding in Progress.

    *********************
    **DATE: 07-31-2018**
    *********************

    - The SELinux Switch Version 6.2.1 Build 621
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - ** This is Part of an "Undetermined" Series Release Updates. **
    - Applied a Minor Functional Change.
    - Reverted a Minor Past Change.
    - Began Work on Verbiage Re-Wording/Adding.

    *********************
    **DATE: 04-04-2018**
    *********************

    - The SELinux Switch Version 6.2.0 Build 620
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Applied Changes from v6.1.3 [RC1] was determined to be Stable for Release.

    *********************
    **DATE: 04-02-2018**
    *********************

    - The SELinux Switch Version 6.1.3 [Release Candidate 1] Build 613
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Made a (forgotten) minor change/fix.
    - NEW ALPHA/BETA/RC Option Added to the Developements {OPTIONAL AND MAY BE UNSTABLE!!!}

    *********************
    **DATE: 03-28-2018**
    *********************

    - The SELinux Switch Version 6.1.2 Build 612
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Made a very minor fix to help with launch speed.

    *********************
    **DATE: 03-21-2018**
    *********************

    - The SELinux Switch Version 6.1.1 Build 611
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Cleaned/Removed unnecessary files/folders.
    - Modified/Optimized the "ABOUT" screen verbiage.
    - Added Version/Build Information within the "ABOUT" screen.

    *********************
    **DATE: 03-20-2018**
    *********************

    - The SELinux Switch Version 6.1.0 Build 610
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Minor Change/Fix/Update for some Oreo Firmwares/Devices.
    - Modified/Optimized the "ABOUT" screen by removing the Support link (temporarily) and added the Special Mentions/Credits.
    - Another attempt at fixing the BusyBox Binary Directories: Keeping the default directory and adding the 2 alternative directories if binaries are not present within the default directory.
    - Slightly altered various verbiage information to aid with user understanding.
    - Changelog Information added to the Labs Store

    *********************
    **DATE: 03-07-2018**
    *********************

    - The SELinux Switch Version 6.0.9 Build 09
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Minor Change/Fix/Update.
    - Restored Original App Icon.

    *********************
    **DATE: 02-16-2018**
    *********************

    - Quick Correction/Update/Clarification on various pertinent information within the OP.

    *********************
    **DATE: 01-25-2018**
    *********************

    - The "Reviews" portion of this thread was disabled due to it being broken while navigating AND i feel that Feedback/Reviews should be posted as a thread post anyways.
    - PLEASE NOTE: The "Star Ratings" were not affected.

    *********************
    **DATE: 12-18-2017**
    *********************

    - The SELinux Switch Version 6.0.8 Build 608
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Minor Correction For Cleanup Commands Within The Flashable Installer.
    - Added NEW Holiday Globe Icon To App & Thread's OP.

    *********************
    **DATE: 12-15-2017**
    *********************

    - The SELinux Switch Version 6.0.7 Build 607
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Re-Added Minor Enhancement For Quicker Launch Upon Booting Device.
    ~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~SPECIAL ANNOUNCEMENT~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~
    - An issue was found with the Signature File and the new Version may require the member to uninstall and reinstall the app.
    - As a personal suggestion, before uninstalling any app, first go to the apps details, force stop, clean/clear up the Data & Cache and then uninstall it. This helps me to make sure that I've done the residual cleaning before the removing of the app itself.
    - I apologize for any inconveniences that this may be causing and have taken precautions to help elevate this from happening in the future.

    *********************
    **DATE: 12-14-2017**
    *********************

    - The SELinux Switch Version 6.0.6 Build 606
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Applied Some Fixes For Android Version Compatibility.
    - Fixed Notification Icon For Colored Icon.
    - Removed the External Installation Preference to Internal Preference.
    - Improved The Background Performance For Even Lower Memory Required.
    - A Few Various Other Minor Modifications Were Made...

    *********************
    **DATE: 10-09-2017**
    *********************

    - The OP of the thread was just updated for everyone to enjoy a recent article recognizing The SELinux Switch. A special thanks to @DJBhardwaj for such a great article.

    *********************
    **DATE: 08-29-2017**
    *********************

    - The SELinux Switch Version 6.0.3 Build 603
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Applied Some Additional Fixes To A Few Translations.
    - Fixed A Forgotten Translation Translation That Was Incomplete.
    - Applied A Small Functional Modification.

    *********************
    **DATE: 08-23-2017**
    *********************

    - The SELinux Switch Version 6.0.2 Build 602
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Applied Some Fixes.
    - Applied a Few Modifications for Compatibility.
    - A Special Thanks to @Thebear j koss For a Nice Dark Theme.

    *********************
    **DATE: 08-17-2017**
    *********************

    - Uploaded App Specific Screenshots On The Thread.
    - Uploaded App Specific Screenshots On The XDA Labs Store.

    *********************
    **DATE: 08-16-2017**
    *********************

    - Updated Important OP Information.
    - Added Important Magisk Information
    - Added Important PSA Warning Information.
    - Other Minor Changes/Updates Made.

    *********************
    **DATE: 08-08-2017**
    *********************

    - Launched New Thread
    - Apk Installer & Flashable Zip Uploaded to DevDB Downloads, Labs Store & AFH.
    - Now available in the XDA Labs Store.



    15
    INSTRUCTIONS FOR PSA ALERTS


    Are you seeing the following after installing or using the The SELinux Switch App?

    PSA-POPUP.jpg


    That is called a PSA (Poisoned System Directories) warning from Google Play that warns users to uninstall various apps, especially, if they're SELinux-related ones.

    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 Alerts

    [The information above was compiled from a few different sources and may change just to maintain its accuracy for those who are experiencing PSA warnings]
    13
    THE SELINUX STATE COMPARISONS

    I've been asked questions that relate to what is reflected within a device when its SELinux State has been changed regarding the Android Pie as opposed to its predecessors.

    If you've got an Android Pie device and had been thrown off a bit, with the Verbiage used regarding the devices SELinux State, then your not alone. I was actually (and honestly) a bit perplexed myself for about a day or so.

    I did figure it out and wanted to provide you with a quick comparison...

    The following, side by side comparison, screenshots reflects that "familiar way" we've seen this using Android versions up to Android Oreo.

    SELinux-to-Oreo.jpg



    The following, side by side comparison, screenshots reflects what the Android Pie version will show you.

    SELinux-on-Pie.jpg