yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] PackElend:
[MENTION=4828250]Ibuprophen[/MENTION], could you add the infomation to the description that the option _Select For SELinux Mode Change Notification_ only notifies that the request to change the SELinux state was sent but not that it is changed.

It more convenient reading that instead of the information in the attachments, especially if reading all this on the phone :D

I've just started to reading all up about SELinux, would this app also allow set state per domain using semanage as described on https://wiki.gentoo.org/wiki/SELinux/Tutorials/Permissive_versus_enforcing

Last but not least how to I know if an app crossed bounderies of SELinux enforced easily when it is in permissive state.
[Android Apps and Games] Ibuprophen:
To answer your 1st (of 2) Question:

Your absolutely correct in asking about certain clarifications that should be stated. I've actually not only mentioned this clarification a few times on the thread but, I even have post #2 reserved for this and I DEEPLY apologize to everyone for not doing this yet.

Also, your question prompted me to take another look at the OP (i haven't really looked in a little while) and noticed a few portions that requires a bit of TLC (primarily some of the links and such). I'm surprised that nobody had pointed that part out previously. This is an easy fix... :thumbup:

To answer your 2nd (of 2) Question:

I've actually changed, on a few occasions, the notification message that's received by the user when a command is submitted to the device.

Keep in mind that I've only got so many characters that I can use for this and I believe that the following messages are appropriate with the maximum characters I can use to state that the "Command" was sent to the device.

The last part of your looks like your asking about this app actually making a query to the device regarding the actual status of a devices " Current SELinux State".

This was discussed/mentioned on this thread previously and I had always agreed with this feature but, not as a part of The SELinux Switch App itself.

I've tried to implement this at home on a few occasions and found that this would actually be a much larger task than It seems.

I had came to a conclusion to leave the app the way it is and describe this more like "Don't Fix What's Not Broken". Of course only fixing, enhancing, etc... when the need arises.

With that stated/clarified...

This idea has not been abandoned. I had decided to go with something separate like a Widget or similar but, this project has worked on when I am able to get to it.

I hope that I had answered your question and I do thank you for pointing out a few things that need to be done as well.

Please let me know if you (or anyone else) have/has any further questions.

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Apps and Games] PackElend:
great, your are welcome, you did a great job. Looking forward for update of the OP.

You are referring to request to inform about the actual status of a devices, aren't you?

My second and third question actually differ:
[Android Apps and Games] Ibuprophen:
I'm familiar with the links you had provided and more but, thank you for referencing your question/feature request! :)

What your asking would be an extremely helpful tool for most everyone who needs/wants control over their SELinux State on their devices.

Though these are very valid questions in regards to the features specifically but, there's just 1 hitch to this...

The tremendous undertaking involved with the whole thing or individually and one way that I can explain this to you is comparing it to the size of the SuperSU project itself.

The Enforceme/Permissive commands are, for the most part, universal in nature but, what you're suggesting is not. These explanations within those references are theoretically possible in general but, not every device is the same regarding its individual handling and capability for those features.

Another example is the fact that SuperSU was an extremely huge undertaking for such a large number of devices and how it addresses each device individually (ie... manufacturer, architecture, etc...). I would need to approach those suggestions you had made in the same manner as well.

I may be very well versed, familiar with, trained, etc... For many aspects of this development but, I've got to be honest with you that I'm not near the level of Chainfire, Rovo89 and many others.

So this app works as it was designed to do without permanently making changes to any of the pertinent information within the Android that has been making users happy with this specific design and function (as proven with over 50k+ downloads for The SELinux Switch App specifically).

It's not a perfect app but, it's still got a little more work on the plate (mostly minor areas).

You've provided very good suggestions and i always welcome them from any member but, 98% of them would require the involvement of more knowledgeable individuals than myself alone. I don't believe that I could muster up enough fellow "Geeks" to make it happen.

I apologize if I went overboard with the above information but, I do hope that I had explained this okay via text.

Please let me know if you have any further questions or concerns regarding the Switch App :) .

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Apps and Games] ecompton59:
thanks for great app it will help a lot of people with sound mods I have Moto z2 force TMobile I'm using kernel thats permissive just wanted to test to see app version 620 wouldn't install v6.1.3rc1 had no issues I'll test anything you need
[Android Apps and Games] Ibuprophen:
Thank you very much for your time with providing a very positive, and importantly a successful, feedback for this development.

This is extremely important for me to see and helps me know what's going on regarding other developments reaction to this development.

_____

As a general announcement as well...

I've finally got my PC Tower up and running again with a new 3TB HDD.

Now I've got a bit of a full plate going here. Though my current developments are a bit higher on my priority list but, I've been involved with 2 Windows based developments (I've been asked to help a few other developers with) on Github as well.

As a lone wolf here, I've finally been slowly getting some work on some of my current developments here on the XDA Forum.

I am actually working on pushing an update (hopefully) within the next day or two that's got a few minor changes to some of the verbiage and a small cleaning as well.

I've also been working on 2 other separate app updates for different developments on the forum as well.

To be honest, I've also been sitting on 3 other apps that's been ready for a beta release for about 4 months now. I just wanted to wait some time till things begin to settle a bit with what I have but, I never thought that it would take this long and I've not decided whether or not to release any of them yet.

Anyways, that's what's happening in Developmental side of Ibuprophen.

If there's any questions or just wanted to say hello, please leave a message after the tone... LOL! :)

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Apps and Games] TioCareca:
[MENTION=4828250]Ibuprophen[/MENTION] well glad you back on developing, don't make us curious about you hidden apps work, lol...

Good luck ...
[Android Apps and Games] Ibuprophen:
HA-HA! :D

I don't plan to hide them but, I've got to time them appropriately, primarily, so I don't overwhelm myself with too many developments that need tending to. It wouldn't even be fair to the users who would have to wait for support when I'm pulled in to supporting others.

I've even been given the green light on taking on a development i had asked a year or so ago. That was a shocking one trying to remember what I asked for... LOL!

I'm also helping out some developers on Github regarding their taking on the former "Classic Shell" software that was handed off to them by the original developer who retired from that software. This is a bit of a challenge as well.

You can get the idea of what's on my plate already... LMAO! :)

Regarding The SELinux Switch App... This has fortunately turned into a kind of "Low Maintenance" app that just needs a little TLC once in a while for everyone to know that the development is still being looked after. It's extremely versatile and simple to use.

Within the last few months, i had briefly worked with a few Custom Firmware developers who had successfully integrated The Switch App into their developments as well. I think it was 2 or 3.

Anyways I've never left, i just took a little break from the development scene and stuck around to support my developments as well as provide some support and guidance within various areas of the forum.

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Apps and Games] ecompton59:
if you ever need a crash test dummy ill try i have alot of phones i dont mind to brick lol.
[Android Apps and Games] Ibuprophen:
*****

KIRK TO ENTERPRISE!

*****

I had decided to break up the changes a bit and release The SELinux Switch App v6.2.1. :eek:

I'm working on some additional verbiage information within it as well to help with some clarifications. This will take a little time to accomplish this as well.

Instead of waiting for a new release, i will be breaking it up in a few releases. I will release another in time and I can't guarantee an ETA either.

I've got other developments to work on now and made this signature app release my first priority.

Thank you very much for your time, patience and understanding with my little break on the development side and PLEASE let me know if anyone has any questions, concerns or just wants to say hello! :)

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Apps and Games] Ibuprophen:
**QUICK OFF-TOPIC ANNOUNCEMENT**

Just an FYI for those who may just be curious...

This was JUST announced that "Android P" is now.... {Drumroll Please...}

"ANDROID PIE"!

With them having us keep on hanging for so long... It may just be me but, I'm kinda disappointed with this name. LMAO!

Not a big deal for the disappointment. I just expected a little more of a "Unique" take on the name.

Oh well... Android Q will have to be unique because I can't think of too many options for the letter Q that falls into the category of the other names.

Now back to our program... LOL! :)

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Apps and Games] Ibuprophen:
***** CURIOSITY KILLED THE CAT? *****

This is just a question solely out of curiosity for those of you who are/was on Android Pie that have/has/had used The SELinux Toggler App...

Basically, how has The SELinux Toggler App performed?

I know that it's still coming out of the wrapper (so to speak) and I don't currently have any devices where Pie is offered for yet and was just wondering.

I believe that it may be a bit too early for me to be asking this question as well.

Thank you for your understanding and I'm open to any Android Pie feedback if any.

_____

Also, just a heads up regarding the New LineageOS Summer Survey #2 that had recently opened.

I had reopened my former announcement thread and updated it for as much awareness as possible. I encourage as many individuals as possible who use any of the LineageOS versions to go and provide some valuable information to them.

https://xdaforums.com/showthread.php?t=3669597

I did see their mentioning of "LineageOS 16" within the Survey too.

Thank you all for your time and remember that I'm still here for any questions, concerns or just to say hello. :)

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Apps and Games] bggold:
Running pie for a few days with the selinux toggler app and no issues at all. Works just like it did on Oreo.

Thanks
[Android Apps and Games] Ibuprophen:
Thank you very much for the feedback! :thumbup:

I know that the Pie has allot of changes to it but, I wasn't sure exactly how/what those changes were.

I wanted to be sure that it wasn't as huge as what happened when they went from Marshmallow to Nougat/Oreo.

In general, I don't believe that they had really performed that huge of a change to how the SEPolicy is being handled as long as there's a Custom Kernel to allow it as before.

I just hope that I don't get a barrage of posts with Pie issues as more devices get the Pie.

Only time will tell... LOL! :eek:

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Apps and Games] bggold:
I honestly don't think you will get barraged with posts on pie issues. If there were any issues I'm sure they would have come up on the first boot or use of an app that requires permissive.

I use it for some automate flows that require permissive mode and they work just fine.

I can't say anything about switching back to enforce since I never do so I might have inserted foot into mouth.

Thanks again for a great app that does exactly what it is supposed to do.
[Android Apps and Games] TioCareca:
what's your phone model and you using pie oficial, port or gsi?

[MENTION=4828250]Ibuprophen[/MENTION] it's not working here on pie pr1 gsi for Vince...
[Android Apps and Games] bggold:
Pixel 2 xl pie official
[Android Apps and Games] bggold:
Sorry issues with xda app.

Deleted
[Android Apps and Games] Ibuprophen:
[MENTION=2934546]TioCareca[/MENTION] & [MENTION=5437072]bggold[/MENTION], I've got a Pie question for you...

Since the Switch App isn't working for your Android Pie, can you tell me if you've got a Custom Kernel that is SEAndroid Permissive (basically a Custom Kernel that will allow your devices SELinux State to be changed)?

Just keep in mind that I've seen some newer Custom Kernel and/or Firmware developments with its SELinux State in a Permanent Permissive Mode. This was because their development won't work right in an Enforcing Mode but, it appears (from what I've seen) that it's being worked on.

Thank you! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my SM-G900V device.
[Android Apps and Games] bggold:
It works for me on pie. I am using flash kernel. Pixel 2 xl

Edit:. Permissive works. That is what I need for an app to work.
[Android Apps and Games] TioCareca:
In semigsi pie, "stock" and custom kernel SELinux is permissive and if changed to enforcing it will not boot (a prof that your app is working) both in redmi 5 plus and MIA1, now i only got the MIA1 but i will install custom rom pie to see if react different...

PS: waiting for stock pie in MIA1 as is a android one device, then i can test it in a non modified rom/kernel...
[Android Apps and Games] Ibuprophen:
Thank you both very much!

It just looked like you both had previously stated otherwise...

[MENTION=2934546]TioCareca[/MENTION], I apologize because It looks like a slight language barrier may a factor here but, did you state that you were going to test the app on a stock Firmware and Kernel? If so, then the Switch App will most likely not work for stock since both stocks will not allow for the SEPolicy to change.

_____

I was thinking that some members, who's experiencing issues (if their SEPolicy allows it of course) using Android P, may be linked to the Switch Apps API/SDK.

I had done a little work on the Switch App to help compensate (specifically) for the Android P.

I've got a few Beta Test apps specific for the Android Pie. 1 of them is to try first and another in case that didn't work out.

It's specifically for a Closed Beta Test for a few members who are on Android Pie (as stated before, if their SEPolicy allows it).

I don't want to push a Public Beta Test in case it either didn't work or performed the same as the current Stable release.

This is why I had asked you... :)

If you had used the Switch App on Android N/O, have you noticed any performance issues?

Specifically regarding its auto-launch speed when you boot up?

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my SM-G900V device.
[Android Apps and Games] TioCareca:
Sorry my English is not perfect, your app has worked flawless in all roms and phones i used in the past (n and o)...

As pie for my phone is only semigsi and the rom only boot if selinux is permissive i can't test it more then if it's changing or not...

I will soon flash a pie rom not gsi or semigsi nor treble and test if works, when i receive a pie stock i can flash a custom kernel and test it more...

Meanwhile if some treble pie appears for my phone i will test it too and report here...

hope it help's...
[Android Apps and Games] Ibuprophen:
Thank you very much for the clarification!

I'm very much aware of those Permissive only Firmwares and, as you know, it's all in the hands of those developers.

I always look forward to yours as well as anyone else's future feedback! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my SM-G900V device.
[Android Apps and Games] Ibuprophen:
Just an FYI... I may not be on the forum much for the next couple of days.

My primary device has been acting up a bit and It looks like it just needs to be cleaned up and a fresh install of the Custom Firmware will have to be done.

It's one of those things that comes with being a tester, developer, etc...

I assure you that it's not The SELinux Switch App. LMAO!!! :eek:

I'm using one of my other devices for this post. Another thing that comes with Developing is the need for having a handful of devices with the virtual ones.

I'll still be popping in and out of the forum until my device is up and running. :thumbup:

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my SM-G900V device.
[Android Apps and Games] jrkruse:
I didnt realize you made this. Nice job!
[Android Apps and Games] Ibuprophen:
Thank you very much for your feedback! :thumbup:

... You've never heard of the "Great Ibuprophen"??? :eek:

LMAO!!! :D

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my SM-G900V device.
[Android Apps and Games] jrkruse:
I have seen you helping people over in the Verizon S5 thread
[Android Apps and Games] Ibuprophen:
I do what I can over there. I have 2 kltevzw devices (amongst others) with one as my primary and the other as my Backup/Development Testing.

I just had to redo my primary device a few days ago and I'm still getting it customized with what I need as I need it.

I've also been really busy recently on various projects (as well as the real world) and have been trying to pop in on the forum when I can.

I may be pushing out a small update to The Switch App with a minor modification to something that isn't really a functional one. I take my sweet time for certain updates and such if it's not functional related.

I've even got developments i haven't even released yet as I've been trying to keep up with what I've got released as well as a contributor for some Windows Software as well.

That's about the, abridged, size of it... LOL! :)

I hope all is well with you too! :eek:

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my SM-G900V device.
[Android Apps and Games] esbaixauli:
Hi,

I'm trying to install the app on a Xiaomi Mi5s running LOS 15.1 (Oreo) but both 6.2.0 and 6.2.1 fail to install. When trying the apk (downloaded from xda) it looks like it's installing but then ends with "App not installed". Trying to flash the zip file (from xda as well) seems to end successfully but when rebooting no new app is listed in the drawer and no com.ibuprophen.selinux folder exists in /Android/data.

I've read about previous users having the same problem, but if I understood correctly it was solved on the app end rather than on the phone or install process. But if there is anything I can do, I'm ready to help.

Thanks!
[Android Apps and Games] Ibuprophen:
The only thing that I can think of is that the Google Play Protect is preventing The Switch App from being/remaining installed on your device.

Go to the following post and, even if it's not popping up a notification, you may still need to turn the Play Protect off using those instructions.

https://xdaforums.com/showthread.php?p=73402882

After you turn it off, try installing The Switch App again and you should then see it in your app drawer.

If you do see it, and you receive an alert at a later date, just follow those instructions again to turn the Play Protect off again. I sometimes have to turn it off again as well.

Good Luck!

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my SM-G900V device.
[Android Apps and Games] esbaixauli:
Awesome, that was it. After disabling app scanning your app installed flawlessly.

Thanks!!
[Android Apps and Games] Ibuprophen:
I had a feeling that this was the culprit... :thumbup:

In a way I was "hoping" that it was only because, if it wasn't, then that would mean more investigating on my part and that would be a real bummer. :eek:

I'm happy to see it going for you now and I hope that you now enjoy your device that much more!

Please let me know if you have any further questions.... :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my SM-G900V device.
[Android Apps and Games] Ibuprophen:
***** HEAR YE! HEAR YE! *****

I just updated The SELinux Switch App with a few minor changes.

Primarily, this has a much better looking Icon that's has a better graphic look and the improved icon look on the notification bar as well.

Additional information is located on the Changelog of this threads post #2.

I hope you like the improved look as much as I do. I've been reworking/improving many images with this apps icon as the first one to reflect them.

Thank you very much for your time, support, patience and understanding with this.

As always, please let me know if you have any questions or just wanted to say hello! :thumbup:

Enjoy!!!

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my SM-G900V device.
[Android Apps and Games] GWARslave119:
Is there a version that works with Pie? I installed the 6.2.2 build 622 version, ignored Play Protect's warning, ig nored the warning that told me this was designed for an earlier android version, and tried to switch. Now the phone is stuck on a black screen whenever i boot normally. Its a secondary phone so Ima just reflash so its no biggie. Im keeping Pie off my main phone until more bugs have been flattened out and more apps become compatible.
[Android Apps and Games] Ibuprophen:
Okay... This is great feedback!

Let me see what I can do regarding the app...

Regarding the device being stuck on a black/blank screen... It shouldn't be reacting that way.

The Switch App doesn't launch until the device has booted into the Android OS.

I've got a feeling that your device doesn't have a SEAndroid capable kernel installed.

Or your Custom Firmware is set to a Permanent Permissive state.

Please look into this and let me know.

Thank you very much! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my SM-G900V device.