yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Ibuprophen:
Thank You Very Much!

I'm happy to see that this is working for you.

Though there's more fixes and such to do but, i try my best to not to over do it in one swoop that can increase the chance for errors (i learned my lesson on a few occasions LOL!).

I've been working on an overhauled version in the background too. The main overhaul portion involves a different installation structure by removing the MrBIMC from it as well as items that i found that the app really doesn't require for its function etc... etc...

Regarding the RC & RD submission... Well actually I recently was chatting with an XDA Admin friend of mine regarding that and he even stated that he believes that i would be a great candidate for the RC or RD and, when XDA opens up for a Moderators role, i would be a good candidate for that too but, I'm hesitant for that role because I've seen what they have to put up with LMAO!

I am planning to apply for an RC/RD very soon anyways and though, I don't want to place any other RCs or RDs reputation in a position to back me up, it's always a good thing to have to have for a reference LOL!

Thanks!

Sent on my Communicator [SCH-I535] from the Bridge of the U.S.S. Enterprise...
[Android Apps and Games] Ibuprophen:
YES!!!

Finally figured out how to get the SELinuxToggler Icon Logo on the OP!!!

I'm just besides myself right now... LMAO!!!

By the way... Sorry everyone on the DevDB Update Notification but, it was for placing the Icon Logo within the OP.

Live Long and Prosper...

~Spock
[Android Apps and Games] Ibuprophen:
***** HEAR YE! HEAR YE! *****

I attached a new icon for the SELinuxToggler app and was wondering what you think?

This was the original icon i was going to use but, i thought i had lost it when i had that backup drive issue (i had previously experienced).

Well i was scrubbing through it some and, what do you know, i found it with a weird temporary label (that must have been renamed to when i restored the backup drive) located in an odd directory i would have never guessed to look in.

So the current icon was a quick creation for the SELinuxToggler's launch.

Well... now that i have it back, i would like to use it as originally planned.

I'll probably use it with the next update that may be sometime soon because i had forgotten to apply a few items i had planned to apply to the last update.

I was hoping to see if you all had liked it!

Thanks a Bunch!
[Android Apps and Games] fliptechnologies:
sorry for delay, been busy with the kids.

steps i undertook

1. reset phone

2. flashed 7.0 via odin

3. run through setup process

4. rooted using high on android method

5. flashed the kernel mentioned in previous post

then installed the old program -- no real luck.

now with this one

tried installing by both apk and as zip (tried the .zip by both recovery and flashfire

granted su permissions set to always (note: after it not changing even though it said it was, it was uninstalled before i tried the next install method)

tap on enforcing - got notification changed to enforcing -- check about phone showed permissive

reboot phone -- got notification changed to enforcing -- check about phone still on permissive

(as per screenshots in a previous post, showing the notification / permissive in about)
[Android Apps and Games] Ibuprophen:
3 questions...

1) I noticed that you didn't mention that you uninstalled the SELinuxModeChanger before installing the SELinuxToggler.

2) Do you have a Samsung device with a locked bootloader.

3) Do you have Magisk installed.

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Android Apps and Games] fliptechnologies:
whooops sorry my mistake, to answer your 3 Q`s

1. yes it was removed (including wipe data + cache)

2. nope, unlocked version

3. no, i did try it at first, but it kept saying failed for safety net, so removed it, same method (wipe cache + data) then uninstall

i have postponed doing a clean install and start again, but now thinking thats my only option
[Android Apps and Games] Keij0:
By the way, is it detected as malicious app by Play Store? I was annoyed by this while using SELinuxModeChanger, because the app couldn't change modes due to this.

BTW #2, what would happen if I disabled SELinux entierely in defconfig and built kernel like that?
[Android Apps and Games] :
SELinux is a safety feature introduced a while back, and of course, this and the old app are going to be detected as a malicious app because they change the SELinux mode which is not intended...
[Android Apps and Games] Keij0:
I don't care about safety on my devboards and when I have to do something with android, not being able to touch system partitions is a pain in the ass, just wondering if OS would even boot on THAT insecure bootimage. Although for those who don't dig around it is good, because it stops even dirtycow (if the vendor doesn't break sepolicies)
[Android Apps and Games] :
Well, you could try.

For example my ROM has SELinux disabled, and it still works...
[Android Apps and Games] JohnnyEighty:
is there a a way to change selinux to permissive for galaxy s7?
[Android Apps and Games] Ibuprophen:
***** HEAR YE! HEAR YE! *****

The app and zip has been updated once again...

I was pretty impressed myself with the changes, enhancements and improvements made on this and the previous release.

This release was to apply some items accidentally left out from the previous release as well as the new icon and status bar improvements.

Please see the Changelog on the 2nd Post for more information.

Please let me know if you have any questions or concerns.

Thank You All!

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Android Apps and Games] Ibuprophen:
Sorry for my absence...

In your BusyBox, are you sure that you have the Binaries installed in the system/xbin?

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Android Apps and Games] Ibuprophen:
This is called a PSA (Poisoned System Directories) warning from Google Play that warns users to uninstall SELinux-related apps.

The following link has a good little "how to" for Disabling the Android's "App is harmful" Security Alerts

http://trackmyphones.com/b/disable-android-app-is-harmful-security-alert/

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Android Apps and Games] Ibuprophen:
Take a look at the following thread. It looks like a very helpful one.

https://xdaforums.com/android/general/guide-bypass-safetynet-mm-custom-rom-t3534768

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Android Apps and Games] Ibuprophen:
***** HEAR YE! HEAR YE! *****

I've recently clarified the following information for a couple of members elsewhere and wanted to pass this along since it impacts the SELinuxToggler.

There's 2 different "xbin" directories that the BusyBox app has to choose from (ie... The BusyBox apps Dropdown List) to install the BusyBox Binaries into.

1) /su/xbin

2) /system/xbin (*1 & *2)

*1 SELinuxToggler Function: This is the location where the SELinuxToggler app looks to for the required BusyBox Binaries it needs.

*2 Flashable Installer Only: This is the location where the Flashable SELinuxToggler Installer looks to when the required BusyBox Binaries are called upon to properly flash install the app.

The second one is what's more widely used for apps and such that requires one or more of the BusyBox Binaries AND though there's nothing wrong with using the first one to install the BusyBox Binaries, many of the apps and such are developed to look in a specific location for them and the first one is usually the most commonly used as the default location.

I'll soon be placing this clarification on the OP within this thread as well as this having already been announced on my AIO BusyBox Flashable Installer thread here.

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

Please let me know if you have any questions or concerns.

Thank You All!

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Android Apps and Games] mrafigf:
It Works on Galaxy S5 SM-G900F with stock rom marhsmallow 6.0.1. Great job, thank
[Android Apps and Games] fliptechnologies:
ah good catch, mine was in su/xbin

will reinstall and report back
[Android Apps and Games] Ibuprophen:
Remember that you don't need to uninstall the app, just the binaries.

Afterwards, just boot into recovery and flash the BusyBox Installer zip file from my other thread and, when you reboot normally, just open BusyBox up and leave it till the top progress bar loads and your all set.

The BusyBox flashable installer does the installing and symlinking (into the /system/xbin) for you without any further actions.

But, that's just a recommendation and not a requirement.

Good Luck!

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Android Apps and Games] nitramus:
Does it detect current state of selinux?

I'm using leedroid on htc 10 and during aroma installation I select permissive and when I launch your app it shows as restrictive when it should be permissive.

So if I'm currently on permissive does it "toggle" my current state or does it "set" the wanted state?
[Android Apps and Games] Ibuprophen:
That's an excellent question!!!

This app doesn't detect the current SELinux State.

When a user opens the app and selects which Mode for the devices SELinux State, a notification is provided that reflects this selected Mode.

What the app does, after the SELinux Mode is selected, is sends a temporary set of commands to the device for that Mode and provides (instantly) that notification once the commands have been sent to the device.

SELinux States are not detected since this is just a Toggler and not a Detector.

I hope i had answered your question okay.

Thank You for asking and please let me know if you have any further questions or concerns.

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Android Apps and Games] Taivotat2:
Hi Ibuprophen, maybe a noob question but does your busybox zip override previous busybox binary? I mean does it delete old binary?
[Android Apps and Games] nitramus:
Ok cool it doesn't detect but sends a command.

I guess it's the word "toggler" word that gets me. It sends a set of commands so does it mean it sets a state or toggles the current state? In the sense if I'm currently on permissive that it toggles to restrictive or sets the desired state. And also I guess it should not change anything if I should already in permissive but maybe good to do if not sure or can it screw something up?

Thanks again
[Android Apps and Games] Ibuprophen:
I see that your understanding it much better but, there's a few clarifications (also stated on the OP) I'll try to explain.

Toggle = to turn On and Off.

Since the app doesn't detect the SELinux State at all, then if your already in Permissive Mode and toggle to Permissive, this Mode will not change since it's already in that state (and vice versa for Enforcing Mode).

Also, this app makes no permanent changes to your device. Permanent changes to a devices SELinux State is performed by making a modification to a device regarding its boot script. The SELinuxToggler does not touch this.

For example, If you toggled to Permissive Mode and had uninstalled the app, the device will only be in Permissive Mode until you restart the device. After restart, the device reverts back to its default Enforcing Mode.

The app itself will not harm your device at all. The only harm that can come about is what the user does while in Permissive Mode.

As with all apps that affect a devices Root, Bootloader, SELinux, etc... A user should ALWAYS make responsible decisions regarding any decisions on what they do with their device. Simply stating... Don't mess with something that could/can/will/may do harm to a device without knowing what it is your doing and especially any problems that could come of it.

Please don't misunderstand me... I'm not lecturing you at all!

Without asking questions, an individual will never know and learn. I always welcome members to ask any questions they would like to know about this app. I'd prefer a user to know the answers in order to make educated decisions about this app and if it fits their needs.

Anything else that you would like to know?

Thank You!

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Android Apps and Games] Ibuprophen:
Just an FYI... Please post questions regarding the BusyBox Installer within that thread.

Though, I'm not chasing you away nor ignoring you but, you may find any answers to any questions already there. And, if it's not there, then those questions and answers will be there for others to see. This will help to prevent duplicate questions and answers.

Now this is a very good question (WOW! allot of members are coming out of the abyss with some really good questions LOL)...

The BusyBox flashable installer will update any existing BusyBox Binaries to it's current version (matching the version stated on the zip file) as well as install any new ones too. And of course, symlink them as well.

Did I answer your question okay?

Thank You!

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Android Apps and Games] nitramus:
no worries. not offended in any way. The real answer I was looking for was in this reply.

thanks

over and out.
[Android Apps and Games] :
To view the current SELinux state get a terminal emulator and enter:

getenforce
[Android Apps and Games] Ibuprophen:
Though [MENTION=5043370]nitramus[/MENTION] is correct but, i, personally, use the Root Checker app. It's an "all in one" that checks the current status of a devices Root, BusyBox, Selinux, etc... as well as the directories and even allows you to save the results.

This is the XDA Thread that has all the information about it.

[APP] Root Checker - in the Android Market by joeykrim

That's just my recommendation but, there's other ones out there that are just as good too.

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Android Apps and Games] Ibuprophen:
***** HEAR YE! HEAR YE! *****

I thought that I would provide a little checking in seeing that it's been a bit quiet here at the SELinuxToggler Homestead.

I'm hoping that it's because all has been well with the app.

I know that I've been a bit absent (on and off) because of other responsibilities at home but, rest assured that I do try and check in when I can.

In addition, also please keep in mind that if i don't respond to a post for a little while, it's in no way because I don't want to respond as much as the ability to respond appropriately (depending on the post itself).

I would rather provide you all with the attention and focus that you deserve to prevent any halfway/confusing response.

I would like to thank those of you who do try to provide assistance to others the best you can when you notice my response hasn't been posted as I strive to provide one within a day or two.

Also, i have been touching base with working on the app when I can. I just wanted to let you know that other work on it is being performed for other items on my to-do list.

I'm also, eventually, going to be working on the OP and other items in the thread itself. So, if you see any DevDB updates without any app updates, then this is what I'm doing. Though, technically, DevDB update notifications are for notifying followers that the DevDB itself had been updated which encompasses all the DevDB portion of the thread (verbiage, app, screenshots, etc...).

Besides that, please let me know if anyone has any questions or concerns.

Thank You All!

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Android Apps and Games] Tesla:
[MENTION=4828250]Ibuprophen[/MENTION]

- [POSSIBILITY] Doesn't work with MAGISK.

Yes it would seem so.

Your app says it change, but i can't see the change anywhere else.

The app Root check says: Selinux: disabled.

Kernel Auditor: No change

Phone system: No change

Root validator says: SELinuxstate is unknown

Note 4 SM-N910F

Stock 6.01

Magisk 12

RamKernel V8.1

Can i do something to get your app to work for me?

Thanks for you work m8 :good:

//Tesla
[Android Apps and Games] Ibuprophen:
Thank You for reminding me. I intended to change that statement soon with a few other tweaks in the OP. That statement was placed when the compatibility was too early for me to state anything for a fact.

To also clarify, it seems to be more of a 50/50 +/- chance for the SELinuxToggler to work with Magisk.

If you look back at previous statements of those individuals who have Magisk and were able to get it to work with Magisk.

Magisk is a very good and unique in its own write. It has its own customized way in dealing with both the SELinux State and the BusyBox Binaries.

If you take a look back in this thread, you'll see how some were able to use this while on Magisk. They provide a little explanation on how they did it and a few screenshots too.

With that stated, i can't state that it will definitely work for you but, i know that it has worked for others who use Magisk.

When I update the OP, I'll also be putting together a little guide with the information and screenshots provided by the other Magisk users as a little helper for those who use Magisk but, I do know it will work for some and will not work for others depending on their devices.

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Android Apps and Games] Tesla:
Fantastic m8. I will go back in time and read it again and see if i can get it working.

Yes, that would be a lovely change in your OP. Pics and all :good:

Thank you.

//Tesla
[Android Apps and Games] Tesla:
Nope, not working for me.
[Android Apps and Games] Ibuprophen:
I know that [MENTION=5357345]ahrion[/MENTION] Uses Magisk and was able to this app with a few minor changes.

I'm not sure if you have or can do whatever he had done in his Magisk but, hopefully [MENTION=5357345]ahrion[/MENTION] could chime in to, possibly, help you out.

My knowledge with Magisk is limited and have never personally used it and until I compile the information within the thread for updating the OP, there's not much i can, personally, do regarding Magisk.

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Android Apps and Games] Dixon Butz:
Did you turn on Busy Box in Magisk?
[Android Apps and Games] ahrion:
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 pseudo permissive mode. It works.
[Android Apps and Games] Ibuprophen:
Ooooooohhhhhh i do remember that!

The Magisk way of fooling the system to think that it's Enforcing when it's actually in a Permissive State.

Oy Vey i had a feeling about knowing this but, couldn't remember exactly what.

Also, allot of users don't recall my previously mentioning that when the SELinuxToggler provides the notification of a changed state, it's actually reflecting the chosen Mode commands submitted to the device and the device is supposed to reflect that State.

So with the Magisk, if notified from the SELinuxToggler that it's in a Permissive State, Magisk didn't prevent this change but, Magisk Hide had only hidden this changed state from the system only.

I can't believe that I forgot about that and just now am putting these pieces together...

Thank You very much!

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Android Apps and Games] Tesla:
Hi.

The "problem" if we can call it that was the kernel.

My kernelmakerdudeamazingm8 released a new kernel with new source and now it's working as it should.

So it was not the app or Magisk.

Now i can even change in kernel auditor, if i want to. I don't, i use your app. Promise ;):good:
[Android Apps and Games] Ibuprophen:
No problem at all... I always welcome feedback because it's always a great tool for others to see and use to help improve their experience.

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Android Apps and Games] Tesla:
[MENTION=4828250]Ibuprophen[/MENTION]

Don't you get mails from developers now?

Your app would be a fine addition in all ROMs.

And i do think [MENTION=4470081]topjohnwu[/MENTION] should promote it since changing the state of the kernel can solve a lot of problems that he are asked to adress unfair.

1. Bootloop

2. Apps Force closing

3. General mayhem

And as i said, you can change it in kernel Auditor. BUT... That app can cause bootloop and other problem by it self. So it's not for all.

Your app is safe.

:good:
[Android Apps and Games] Ibuprophen:
I've only seen 2 projects where this app was listed within a handful of other apps for those projects to work.

Though, i had to message those developers for correcting the name, links and the common misspelling of my member name which they did without an issue.

As far as anything further than that regarding other developers... Nothing more than that.

If a developer contacted me regarding a collaboration to include this app to be a sort of inclusive installation within a ROM... That would peak my interest but, nothing has ever been, even remotely, expressed to me regarding that.

I really do appreciate your confidence with the app though.

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].
[Android Apps and Games] Ibuprophen:
***** HEAR YE! HEAR YE! *****

I know that I had mentioned this on a previous post, and now after a handful of individuals who had asked me about an All-In-One style Flashable BusyBox/SuperSU Binary Installer/Updater file, well...

I had just successfully tested an All-In-One Beta version that has the Latest BusyBox v1.26.2 Binaries with the SuperSU v2.79 Stable Binaries as well as the BusyBox/ToyBox Binary Symlinks.

It's pretty much the same as the BusyBox Installer on my other thread but, it also includes the SuperSU Binaries.

If anyone is interested, then please let me know on my BusyBox thread (below) and I'll upload it to my File Host Account and provide a link.

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

PLEASE NOTE: This won't replace the BusyBox Installer since most individuals prefer to use the separate installer provided by Chainfire and, personally, I do use and recommend doing it that way.

This is a completely separate thing for those individuals who prefer an All-In-One updater and, if successful, the stable version will have a DevDB thread of its own.

Thanks!

"Live Long and Prosper..."

~Ambassador S'chn T'gai Spock

Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise [NCC-1701].