yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Ibuprophen:
I had just pushed a minor update for the Switch App and I just wanted to point out a few items (more on the Changelog as well).

1) I hope that everyone likes the new 3D Style Icon! :)

2) I had not implemented the new Signatures yet but, I'll definitely provide a heads up beforehand.

3) As many of you had noticed, the apk and zip files are not available within the Primary DevDB Downloads. I've been receiving an XDA Error Message when I had attempted to upload them. The "Good News" is that it's uploaded and available via the two other Alternative Download Locations on the XDA Labs Store and AFH. I'll let you all know when I've been able to upload them on the Primary DevDB Download Tab.

Please let me know if you have any questions or just wanted to say hello... LOL! :thumbup:

Thank You! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] Ibuprophen:
Just a Quick Heads-Up that I was just able to upload the recent release of the App & Flashable Zip on the DevDB Downloads area of this thread.

Apologies for the delay. It looks like the XDA "Geek Squad" Guys had squared the issue away.

All is well... LMAO! :eek:

Thank You! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] daitalos:
I changed from enforcing to permmisive with the last apk on Nexus9 slim stable 7.1.2

I got support init.d & Installed govtuner (stock kernel)

when I looked at the buildprop (kernel adiutor) says : ro.build.selinux 1 ?

(I changed it manually & now everything is working properly)

What happened? the "stock kernel"?

Thanks for update... you did nice job! (the icon is very good) :)

sry for english
[Android Apps and Games] Ibuprophen:
I believe that it may be a slight language barrier and I do appreciate your positive feedback but,...

I'm not sure you some of the first portion of your post is a question, clarification, or just a portion of some additional feedback.

Please let me know if it's either of those.

Thank you very much for your time and understanding with this! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] Ibuprophen:
I just pushed another update that includes some overlooked items I meant to accomplish with the last release.

Please see the Changelog for further information.

I had one of those "Oops" moments... LMAO! :eek:

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] PoochyX:
Ibuprophen im using the J3 emerge from the Sandz project on ARG2 firmware I used your app to try and change my selinux from enforcing to permissive and it's not working for me, I also turned off magisk hide as I read magisk hide automatically puts selinux in enforcing to pass safetynet and even with that it still doesn't change it, does your app only target kernels that have support to switch selinux or is it suppose to work with all kernels if it's only for kernels that have support to change selinux i understand then my Samsung kernel doesn't have support for That however if that's not the case your support would be appreciated in helping me to get your app to work

PoochyXXX
[Android Apps and Games] PoochyX:
Screenshot of Selinux View attachment 4706239

PoochyXXX
[Android Apps and Games] Ibuprophen:
A majority of devices requires a modified kernel that sets the SEAndroid policy to allow for its SELinux Mode to be freely changed.

This is accomplished in a few ways but, primarily performed via flashing a modified kernel or an already established kernel within the Firmware itself.

The Switch App only submits the set commands to your device. If your device doesn't have it's SEAndroid Policy set to allow for the change, being submitted by the Switch App, your device will just not accept/reject the commands being submitted.

I had done a bit of searching around regarding your device and your Firmware being used for some better info to help me with a response.

To be honest, I'm just bumping into a few "unknowns" as to a clear picture of what you're Firmware either has/have/had regarding whether or not it currently has the ability to change its SELinux Mode as is without any other modifications required on your part.

Only [MENTION=6085001]Sands207[/MENTION] can really provide you with any clear guidance regarding the Firmware itself.

I wish I could be of better assistance to but, as you can see, I have to do my homework to see if any issues experienced with the Switch App is technically related to the Firmware, Kernel OR App and, unfortunately, in this case, it looks like it's Firmware and/or Kernel related.

I hope that I had explained this okay via text... :thumbup:

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] PoochyX:
Yeah I hit sandz up on Instagram he told me to ask you about it apparently Samsung must of patched it on ARG2 cause on earlier basebands of the custom roms for the J3 rom your switch was apparently working cause it was included in the op I assume it wouldn't of been included in the op if the selinux development mode wasn't included in the kernel at that time... Thank you for the detailed response it's well appreciated

PoochyXXX
[Android Apps and Games] Ibuprophen:
It's been a while since I last looked at the Development and touched base with [MENTION=6085001]Sands207[/MENTION].

I last knew that it had the Switch App included and working without any issues.

Sands207 should check out the Firmware with the Switch Apps function and try to diagnose what's going on. I don't have any of the J3 device variants myself.

Sorry for the bad news. Hopefully Sands207 will see this conversation and see if he can locate what's going on.

I wish you the best of luck! :D

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] Exelios:
Play Protect doesn't let me install it, any tips?

Pixel 2 on February security patch, rooted
[Android Apps and Games] joluke:
Disable Play Protect...?
[Android Apps and Games] Ibuprophen:
Please see the following post form this thread.

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

It's simple and straight forward. :thumbup:

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] Ibuprophen:
I just wanted to quickly touch base with everyone here...

I'm still around and am still available for any questions and such.

I had set the scheduled update for this development back for a short while as I prepare to test the Switch App on my GS5 devices using the recent Official LineageOS 16.0 builds for the klte devices.

I just didn't want to state that it will definitely work for the Official LineageOS 16.0 until I can personally confirm this.

I am aware of this development having issues with a majority of the Unofficial LineageOS 16.0 builds because those builds are not SEAndroid Capable preventing the SELinux State from being changed.

I am definitely not stating this as a fact for all Custom Pie Firmware for all devices but, only for those I have.

I'll keep everyone in the loop as to any additional information as much as I can.

Thank you all for your time, patience, support and understanding with this! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] Ibuprophen:
I had decided to push an update earlier today. I had performed some very minor touch ups and such.

I just wanted to provide what I had before trying it out on the LineageOS 16.0 and, hopefully not requiring any real additional work but, I'm keeping my fingers crossed.

Thanks a bunch!

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] Ibuprophen:
It looks like I may have to do a little research regarding the Switch Apps compatibility for Android 9...

This is all depending upon the resolution regarding the Official AddonSU for the LineageOS 16.0 not maintaining Root for both the BusyBox and the Switch App.

After successfully giving Root access to the 2 apps, and then rebooting the device, none of the apps are able to locate the SU Binary even though the system reflects that Root was successfully granted to them.

I'm just keeping you all up to date with this for awareness so you know that I know that you know that I know... LMAO! :)

Thanks a bunch!

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] beeshyams:
[MENTION=4828250]Ibuprophen[/MENTION]

Thanks for your efforts

Slightly OT and I hope you would clarify. Mounting system rw borks OTA. Similar to this does changing SELinux mode affect OTA? Why or why not.

Looking forward to your response. Thanks
[Android Apps and Games] Ibuprophen:
Mounting a System RW is called Root. Rooting is the name for the ability to Modify a devices System that is otherwise restricted to Modifications.

The devices SEAndroid Policies are a part of this System and you would need to be Rooted in order to even be able to access the SEAndroid Policy to modify it and allow for the SELinux State to be changed (that's typically done via a Custom Kernel).

It's not a question of the SELinux State affecting an OTA but, the Root Access itself that may affect it.

I hope this clarifies your question... :thumbup:

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] beeshyams:
Thanks for for your very prompt reply and patient explanation :good:

It's my fault that I didn't explain clearly. Please bear with me. My device is rooted with Magisk and passes all checks and am waiting to update OTA

If I change SELinux state since there is an app that says it works better with permissive, I am not sure that will affect OTA. If it doesn't I want to try your app!

And related I know one can change via the terminal too but I don't know if doing so will affect OTA

Thanks for your patience too!
[Android Apps and Games] Ibuprophen:
To be honest, personally, I have never heard of a devices SELinux State affecting an OTA but, if another member on this thread has any knowledge of this otherwise then please let us know.

Bottom line is that, even though I've never heard of it doesn't necessarily mean that it doesn't/won't happen.

My first instinct would be that the SELinux State of a Device won't specifically affect an OTA.

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] beeshyams:
Thanks - I would take your word for it anyday!

Seeing a Magisk module for this purpose put the thought in mind, probably it was packaged for convenience
[Android Apps and Games] Ibuprophen:
Remember that I am just providing a "Best Guess" Judgment... :eek:

Please let me know if you see any OTA issues that specifically relates to the SELinux State and I'll see what I can locate (doing a little homework).

I appreciate your input and always value the statement "Knowledge Is Power".

Good Luck! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] Droidriven:
Typically, OTA updates can't successfully be applied to rooted devices or devices that have a custom recovery installed, OTA updates require an unmodified system partition and they require having stock recovery installed.

If you have a device that is rooted or has a custom recovery installed, the OTA update will more than likely fail when it detects that the system partition has been modified, then your device may be bricked and need to be recovered, typically, by flashing the stock firmware to restore the device.

---------- Post added at 01:27 PM ---------- Previous post was at 01:19 PM ----------

I don't know of any conflicts between OTA and SELinux/SEAndroid policy, but root is definitely an issue when it comes to OTA, in almost all cases. "Some" devices can OTA even with root and still be fine after the update, but that is pretty rare, in general, it doesn't work on other devices, the update usually fails and the device becomes bricked.

As you said, it requires root in order to modify SE policy, which is itself an issue even if you don't modify SE policy. You'd have to have one of the few devices that can OTA update even with root to even test the idea of whether SE policy effects OTA.
[Android Apps and Games] beeshyams:
Thanks for your response

Being rooted with Magisk, it was possible to get OTA - my device is A/B partitions (MiA1) either by Magisk or by flashing stock boot. No custom recovery. But yes, it's not always smooth and I had my share of bricks!

That's why I am being extra cautious. After upgrading to Pie I thought of not when trying OTA but because of horrible audio giving it a second thought, hoping the buggy audio is fixed.

Fingers crossed

Thanks for your thoughts:good:
[Android Apps and Games] Ibuprophen:
Thank you very much for this clarification [MENTION=5691352]Droidriven[/MENTION]!

I was thinking the same thing myself but, I personally just couldn't state it as a fact in case there was something that I had missed somewhere that may have prompted this member to ask for some clarification/guidance here.

Your Awesome My Friend! :)

I really don't mind this [MENTION=6285129]beeshyams[/MENTION]. I always welcome questions on this thread that's relevant to this development. I've been stumped many times myself that forced me to have to do a little digging before providing any clear guidance/suggestions.

Please don't hesitate to keep me in the loop if you're provided any information from a member that was otherwise stated by Droidriven and myself here.

Good Luck! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] Droidriven:
I will be more specific and say that, in my experience, what I posted applies to stock OTA updates, not custom ROM OTA updates, it shouldn't be an issue in any case when updating a custom ROM via OTA update.
[Android Apps and Games] Ibuprophen:
Just a quick update regarding the switch app and Android P...

The Issue

I haven't completed my testing and such yet but, so far, it looks like I might need to branch off the Switch App to a second build specifically for Android Pie.

I'm aware that when launching the Switch App in Android P has been reflecting a Popup message regarding the App being for an earlier version of Android.

This doesn't mean that it won't work for Android P. It's just a little bothersome to see it, personally.

The Resolve

I'm trying to prevent from having to branch off and making this thread specify "[4.2 to 8.x]" and opening another specifying "[9.0+]" but, It looks like this may be something for me to consider.

This would force me to have to max out the API for this threads development that would, in turn, prevent this threads app from installing on Android P....

... Then requiring those who are using Android P to begin using the development on the new branched off thread.

I'm still doing what I can to prevent this and I just wanted to bring you all up to date with what's going on.

Thank you very much! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] Ibuprophen:
Just a Quick Update...

I think I "Might" have gotten the Switch App to work without the dreaded warning (regarding the app being for an earlier version of Android) on the Official LineageOS 16.0.

I would prefer to make sure it's stability remains in making sure that it doesn't pop up after using it for a bit longer (for my own comfort) before releasing it.

If all goes well (hopefully), I won't need to branch the development off (as I had previously mentioned) and continue on this thread.

I may ask for a few volunteers to test it out on their devices that has the Android P installed (of course... the device would have to be able to have the ability to change its SELinux State) and has seen that warning message as I had mentioned before.

So Far, So Good! :)

I'll keep you all informed of any further progress as well as any set backs (hopefully the former than the latter).

Thanks a bunch! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] Ibuprophen:
In search of Beta Testers...

I'm just wondering if there's 1 or 2 members who has an Android Pie installed AND also has a Permissive Capable Kernel (meaning that their device has the ability to change their SELinux State).

I will PM the link to the Beta Test apk builds. Also, please clarify if you prefer to use a Flashable zip and I can put one together as well.

It will also require you to uninstall any other versions of the Switch App being used.

Thanks! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] AarSyl:
[MENTION=4828250]Ibuprophen[/MENTION],

I can test for you. I am using the OP 6T, running an AOSP rom (which doesn't need to be specified here). I'm trying to get Safetynet to pass, and I cannot seem to solve the problem. My kernel is currently set to Permissive, and your latest build doesn't change the status, even after a reboot.
[Android Apps and Games] Ibuprophen:
If the Firmware your using has its default SELinux State set to Permissive Mode, then this is actually done for a reason and can't be changed unless/until the Firmware Developer releases the Firmware with it defaulted to Enforcing Mode AND has the SEAndroid Policies set to "Permissive Capable".

Permissive Capable just means that the Firmware defaults to Enforcing with the ability to change its SELinux State to/from Permissive Mode.

There's allot of Firmwares out there that has its SELinux State set to a Permanent Permissive Mode that allows for certain important logs to be captured that cannot be captured while in Enforcing Mode.

Situations like that are never permanent and the SELinux Mode is changed when the developer is confident enough in the Firmwares Stability.

I hope that I had explained this okay via text... :thumbup:

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] Ibuprophen:
Android P Update...

Well, so far, it's looking more and more like this development may have to be branched off.

I haven't given up on it yet and am hoping for a "Eureka" moment. And, "SO FAR", I was only able to get rid of the popup warning by modifying the Source to the minimum/target API/SDK, of the app, to 28/9 (basically for Android Pie only).

Just an update for everyone and I'll keep them coming when anything new arises.

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

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] nextheart:
Tested v6.2.8 in Havoc-OS-v2.3 (Android Pie) ROM in MI A1 device, working perfectly.
[Android Apps and Games] Ibuprophen:
View attachment 4727996​

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] Sands207:
I just picked up a new development machine and I'll look into the ARG2 firmware and see if I can find the cause of the issue. I am however moving onto development for the Motorola G6 Play (Jeter) from here on out and I'll likely test the switch with the rom I'm building tommorow as a test soak. I'll get back to you both regarding both topics. ?
[Android Apps and Games] Ibuprophen:
Thank you very much for your response! :thumbup:

I'm going to be releasing an update today with the Android Pie Compatibility update inclusive within it.

I have a few other minor items for the App and plan to apply them on the release afterwards depending on members confirmation regarding the Pie Fixes.

Thanks a bunch! :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] Sands207:
Anytime my friend ?
[Android Apps and Games] Ibuprophen:
*****

HEAR YE! HEAR YE!

*****​

I had just pushed the update to the Switch App...

The Android Pie Fixes and such were applied and, to mark this huge improvement, I had decided to bump the version to 7.0.0.

I had also applied those items that I had mentioned to [MENTION=6085001]Sands207[/MENTION] earlier today.

This was confirmed working on 2 of my device with the Android Pie installed and am confident that it will work without any messages regarding the App being for an earlier version of Android or any other issues.

Those of you who are currently on Android Pie, and has the previous version of the Switch App installed, shouldn't experience any issues with updating the app as normal.

Please see the Changelog for anything further.

Thank you all so much for your time, patience, understanding and especially your support for this development.

Please let me know if you have any questions or concerns and I'll do my best to help you out (and other member support is ALWAYS appreciated as well). :)

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.
[Android Apps and Games] Erpe7:
Hello,

Can't remember when your selinux was implemented/recognized by xda app. Anyway glad to see your updates showing up in xda app.

Telling you this cause just saw the notification one or two days before. ^^

Cheers

PS: perhaps I'm late, I don't doubt about it... Lol ;)
[Android Apps and Games] Ibuprophen:
Thank you for your time in providing some feedback! :thumbup:

I kinda understand what you're expressing but, I can't grasp what exactly your referring to regarding the statement

"Can't remember when your selinux was implemented/recognized by xda app."

If you're referring to the XDA Labs Store...

This development has been on the XDA Labs Store for quite some time and, based upon the huge download count, via the XDA Labs Store, i never knew of it not being known/seen in there.

If you're referring to an XDA News Article...

The OP has the link to the Article as well.

Thank you and I'm always around if you or anyone has any questions or just wanted to say Hello. :eek:

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

UNLESS asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Enigma Machine {aenigma = Latin for "Riddle"}.