[Magisk] Dreamer(3MF):
Introduction:

Simple Module To Invert The Default Android SELinux Mode During Startup ([From Permissive To Enforcing] Or [From Enforcing To Permissive]).

- One Module To Switch Between Enforcing Mode & Permissive Mode

- This Module Changes The SELinux Mode For The Entirety Of The Device's Uptime Until Next Reboot

- The Default Android SELinux Mode Can Be Either Enforcing Mode Or Permissive Mode Which Depends On The Installed/Flashed Rom/Kernel

- After The Installation & 1st Reboot, The SELinux Mode = The Default Android SELinux Mode

- Disabling The Module = The Default Android SELinux Mode (Next Reboot)

- Enabling The Module = Inverting The Default Android SELinux Mode (Next Reboot)

Current Version: 1.0.3.3

- SELinux Enabled Kernel/SELinux Development Mode Is A Main Point To Use The Module So Check The General Steps

- Disabling Itself Before Getting Stuck On Bootloop For Some Roms/Kernels

- Just Install It & You Don't Need To Do Anything More

- Enforcing Mode Is Preferable For Security (Specially Banking Apps) & Permissive Mode Is Preferable For Mods (Specially Audio Mods)

- For Magisk Users, Disable Magisk Core Only Mode From The Section Of Settings In Magisk Manager Which Is Required As An Essential Step To Activate The Functionality Of SELinuxModeInverter

- For Activating The Functionality Of SELinuxModeInverter, Use Any Root File Explorer Such MiXplorer -->

Root

-->

data

--> DreamerMods --> MultiFunctions --> SELinuxModeInverter --> Copy The File Of Disable To

The Folder Of Inactive

--> Reboot

- Some Issues Which Are Related To Magisk/Rom/Kernel Itself Can Be Solved By Using A Different Modes [Where The Wait Mode (The Default One) Can Be Used For Resolving The Issue Of Bootloop/Bootscreen/Blackscreen Which Changes The SELinux Mode Within 5 Min. After Rebooting & The Fast Mode Can Be Used For Changing The SELinux Mode At Booting But You Need Firstly To Do What Are Mentioned In The General Steps]

- For Activating The Fast Mode, Use Any Root File Explorer Such MiXplorer -->

Root

-->

data

--> DreamerMods --> MultiFunctions --> SELinuxModeInverter --> Copy The File Of Disable To

The Folder Of Wait

--> Reboot

- For Activating The Wait Mode, Use Any Root File Explorer Such MiXplorer -->

Root

-->

data

--> DreamerMods --> MultiFunctions --> SELinuxModeInverter --> Delete The File Of Disable From

The Folder Of Wait

--> Reboot

Created: Apr.09.2018

Updated: May.09.2019

Download Link:

Click Here

(To Ensure That The Module Will Work Properly, Kindly Do What Are Mentioned In The General Steps)

- For The Module Which Is Ended Its Name With v1300, It Supports Magisk v13.1(1310) To v13.6(1360)

- For The Module Which Is Ended Its Name With v1400, It Supports Magisk v14.0(1400) To v15.3(1531)

- For The Module Which Is Ended Its Name With v1500, It Supports Magisk v15.0(1500) To v17.3(17300)

- For The Module Which Is Ended Its Name With v17000, It Supports Magisk v17.0(17000) To v17.3(17300)

- For The Module Which Is Ended Its Name With v18000, It Supports Magisk v18.0(18000) To v18.1(18100)

- For The Module Which Is Ended Its Name With v19000, It Supports Magisk v19.0(19000) To The Latest Version

- For The Module Which Is Ended Its Name With Unity, It Supports Any-Rooting-Tool Such As SuperSU, Lineage-AddOnSU & Magisk

Installation:

- Magisk Manager --> Modules --> Add (+) --> Choose The Downloaded File --> Reboot

- Or Flash It Thru TWRP Recovery

- Or Flash It Thru ADB Sideload --> adb sideload Module.zip --> Reboot

- Or Using A Flash-Tool (Flasher) Such FlashFire, Flashify Or Rashr --> Flash ZIP File (Flash A Flashable ZIP File) --> Choose The Downloaded File --> Reboot

Recommendation/In-Case Of Failure:

- Check The General Steps From This Post https://xdaforums.com/apps/magisk/selinux-mode-inverter-t3775271/post76381334

General Info:

- To Disable The Module For Magisk Users, Open Magisk Manager --> Modules --> The Module --> Tap On The Check Box/The True Icon --> Reboot

- To Enable The Module For Magisk Users, Open Magisk Manager --> Modules --> The Module --> Tap On The Uncheck Box --> Reboot

- To Uninstall The Module For Magisk Users, Open Magisk Manager --> Modules --> The Module --> Tap On The Bin Icon --> Reboot

- To Disable The Module For All Users [Non-Magisk Users & Magisk Users], Use Any Root File Explorer Such MiXplorer -->

Root

-->

data

--> DreamerMods --> MultiFunctions --> The Module --> Copy The File Of Disable To

The Folder Of Active

(Or Delete The File Of Disable From

The Folder Of Inactive

) --> Reboot

- To Enable The Module For All Users [Non-Magisk Users & Magisk Users], Use Any Root File Explorer Such MiXplorer -->

Root

-->

data

--> DreamerMods --> MultiFunctions --> The Module --> Delete The File Of Disable From

The Folder Of Active

(Or Copy The File Of Disable To

The Folder Of Inactive

) --> Reboot

- To Uninstall The Module For All Users [Non-Magisk Users & Magisk Users] (Unity), Reflash The Module

- In-Case Of Facing A Bootloop/Bootscreen/Blackscreen Issue Due To Installing/Configuring An App, Download SafeMode4Magisk From This Thread https://xdaforums.com/apps/magisk/module-safe-mode-bootloop-bootscreen-t3847422 Then Flash It

- In-Case Of Facing A Bootloop/Bootscreen/Blackscreen Issue Due To Adding App/Activity/Process To Magisk Hide, Download ClearHideList4Magisk From This Thread https://xdaforums.com/apps/magisk/module-hide-list-bootloop-bootscreen-t3849208 Then Flash It

- In-Case Of Facing A Bootloop/Bootscreen/Blackscreen Issue Due To Flashing A Module, Download CoreOnlyMode4Magisk From This Thread https://xdaforums.com/apps/magisk/module-core-mode-bootloop-solver-modules-t3817366 Then Flash It

Click On Thanks Button If The Module/Post Is Useful (Dreamer(3MF))

>>> Sharing A Good Thought Is Gold <<<

----------------------------------------------------------------------------------------------------------------

Core Only Mode - Microsoft Intune Company Portal Hider - Other Modules

----------------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------------------------------------------------------------

permissive mode, selinux permissive, selinux permissive mode, enforcing mode, selinux enforcing, selinux enforcing mode, selinux mode changer, selinux changer, selinux switch, selinux selector, selinux toggler, setenforce, getenforce, magisk selinux, sestatus, enforce, permissive, selinux enabled kernel, selinux development mode, selinux manager, magisk module, selinux converter, selinux mode converter

---------------------------------------------------------------------------------------------------------------------------------------------------------------