AT&T Galaxy S5 5.0 SELinux permissive from enforcing. - Galaxy S 5 Q&A, Help & Troubleshooting

I have the AT&T galaxy s5 running 5.0. It's currently rooted but I was wondering if there was any verified working methods to changing the SE Linux from enforcing to permissive as I've yet to find one that works. I need to do this because I'm trying to get full touch capabilities on my AppRadio 3. I'm sure this topic has been addressed before but as I said I've yet to find a working method to changing the SEC Linux setting. Any help would be greatly appreciated.

RobbCann said:
I have the AT&T galaxy s5 running 5.0. It's currently rooted but I was wondering if there was any verified working methods to changing the SE Linux from enforcing to permissive as I've yet to find one that works. I need to do this because I'm trying to get full touch capabilities on my AppRadio 3. I'm sure this topic has been addressed before but as I said I've yet to find a working method to changing the SEC Linux setting. Any help would be greatly appreciated.
Click to expand...
Click to collapse
Other than using multisystem, no. App radio unchained works wothout selinix permissive, it is rather pricy though.
Sent from my Tw5ted SM-G900A using Tapatalk

Rakuu said:
Other than using multisystem, no. App radio unchained works wothout selinix permissive, it is rather pricy though.
Sent from my Tw5ted SM-G900A using Tapatalk
Click to expand...
Click to collapse
I have a AppRadio unchained but I can't get full mirror and touch capability to work and from what I read on Google I need SELinux to be set the permissive before full cut capability is allowed do you know of another way without setting that too permissive?

RobbCann said:
I have a AppRadio unchained but I can't get full mirror and touch capability to work and from what I read on Google I need SELinux to be set the permissive before full cut capability is allowed do you know of another way without setting that too permissive?
Click to expand...
Click to collapse
Nope, the only way to set it as permissive on g900a is by installing multisystem.
Sent from my Tw5ted SM-G900A using Tapatalk

Related

BEWARE!!!

Rooting nukes the ability to use the all-cast dongle for screen mirroring. Wanam and Synscope hacks will not fix it. Does anyone know of a work around?
SAMSUNG-SM-N900A using xda premium
redstar299 said:
Rooting nukes the ability to use the all-cast dongle for screen mirroring. Wanam and Synscope hacks will not fix it. Does anyone know of a work around?
SAMSUNG-SM-N900A using xda premium
Click to expand...
Click to collapse
Good to know. This isn't the only problem our root method causes, others experience boot loops.
Dammit we need a proper KNOX 0x0 root method ASAP.
vdc530 said:
Good to know. This isn't the only problem our root method causes, others experience boot loops.
Dammit, we need a proper KNOX 0x0 root method ASAP.
Click to expand...
Click to collapse
Which Root Method is causing the issues?
@redstar299
this is wrong. I own a rooted P605 with urdlv rooting, knox not tripped and my Allcast Share dongle works despite system status Custom.
Erstellt mit meinem Note 10.1 2014 LTE
californiarailroader said:
Which Root Method is causing the issues?
Click to expand...
Click to collapse
CF-Auto Root Port.
I remember a couple of people mention boot loops in the official thread. Something to do with the wifi or sd card
vdc530 said:
CF-Auto Root Port.
I remember a couple of people mention boot loops in the official thread. Something to do with the wifi or sd card
Click to expand...
Click to collapse
That's what I used, so far I haven't had any boot loop issues though. I don't have a AllCast Dongle, so I can't comment on that, I wonder if I should avoid getting one for now.
Maybe the LTE version doesn't.. the Wi-Fi one does. I tried every method to undo it including flashing back to stock.
Sent from my SAMSUNG-SM-N900A using xda premium
I can affirm that it will not work if rooted with CF-Autoroot. I get an error that somes something like "cannot connect due to hardware error" or something. I tried unrooting, did not work. I tried triangleaway, did not work. I tried re-flashing stock, did not work. I returned my all-share cast hub instead. I'd rather have root.
I am rooted and P600 will connect to a samsung tv and my Miracast receiver.
I read online it just nukes AllShare Cast cause apparently it reads the flash counter on startup. I had to exchange it for a new one. I tried all recommended fixes nothing seemed to stick
Sent from my SAMSUNG-SM-N900A using xda premium
I have a p601 initially rooted with cf-auto root. l unrooted it and installed stock firmware with Odin. Allshare cast dongle is working fine. I'm not sure it has anything to do with the flash counter, because my flash counter is 6 and the Knox is tripped.
Sent from my SM-P601 using xda premium
I sold my allshare dongle a couple of weeks ago,but with my old note 10.1 rooting was not the problem.Once i putted a custom recovery on it the dongle stopped to work,with stock recovery on it there were no problems.
Sent from my SM-P600 using Tapatalk 4
nrage23 said:
I am rooted and P600 will connect to a samsung tv and my Miracast receiver.
Click to expand...
Click to collapse
rooted without trigger knox 0x0?
how?
Im not sure what it is Knox or flash or whatever. Just saying once I rooted it was nuked. I tried going back to stock and didn't help. Exchanged for a new one
Sent from my SAMSUNG-SM-N900A using xda premium
The rooting tbreads clearly warn that the Knox flag might be irreversibly triggered depending on the rooting method.
The know flag can be checked when booting in download mode (boot with power and volume down pressed, then volume up and a set of parametets is shown upper left including Knox status and system status)
It is yet unknown which effects the Knox trigger has.
Erstellt mit meinem Note 10.1 2014 LTE
fantasmanegro said:
rooted without trigger knox 0x0?
how?
Click to expand...
Click to collapse
Knox is triggered but Miracast still works.

Screen Mirroring (aka Allshare Cast, Miracast) on modified 4.4.2: libWFD_ENGINE.so

Maybe a few of you have recognized that Screen Mirroring is not working on modified Samsung stock roms when you are rooted, or have an otherwise "modified system" status.
This is due to a restriction of Samsung, which is coded into the file /system/lib/libWFD_ENGINE.so
There are a few threads regarding this, unfortunately I did not find a patched file for our Note3 on the latest 4.4.2 stock roms...
See here for reference:
http://forum.xda-developers.com/showthread.php?t=2556527
http://forum.xda-developers.com/showthread.php?t=2421642
So there have been successful attempts to port this for some devices as you can see here:
http://forum.xda-developers.com/showthread.php?t=2542509
A guide how to do it is for example here:
http://forum.xda-developers.com/showthread.php?t=2551086
Does someone of you have already a patched libWFD_ENGINE.so?
If not, I will try to do it for myself and share it here, but I would prefer if a more experienced developer could do this, it would do us a big favor!
Regards,
Markus
UPDATE:
edit: tried to start for myself, but there is no such file existing on latest stock 4.4.2...
this is not good, as this would mean that this attempt would not work!
does anyone know in which file the restriction is now?
UPDATE 15.07.2014:
here seems to be a proper solution:
http://forum.xda-developers.com/har...experimental-enable-mirroring-device-t2812193
same prob with me
no one have answer?
hollowsoul said:
same prob with me
no one have answer?
Click to expand...
Click to collapse
there would be no simple answer,
either someone has already patched the file and would like to share,
or we would have to try for ourselves to patch the file according to the
existing posts...
edit: tried to start for myself, but there is no such file existing on latest stock 4.4.2...
this is not good, as this would mean that this attempt would not work!
does anyone know in which file the restriction is now?
TML1504 said:
there would be no simple answer,
either someone has already patched the file and would like to share,
or we would have to try for ourselves to patch the file according to the
existing posts...
Click to expand...
Click to collapse
can't find libWFD_ENGINE.so in the 4.4.2
and cant use triangle away
hope dev can find the answer
TML1504 said:
Maybe a few of you have recognized that Screen Mirroring is not working on modified Samsung stock roms when you are rooted, or have an otherwise "modified system" status.
This is due to a restriction of Samsung, which is coded into the file /system/lib/libWFD_ENGINE.so
...
Click to expand...
Click to collapse
Has anyone tried first to hide the custom status with Wanam Xposed and the root with RootCloak (also in Xposed)?
xclub_101 said:
Has anyone tried first to hide the custom status with Wanam Xposed and the root with RootCloak (also in Xposed)?[/QU
how to hide the custom status in the Wanam Xposed or RootCloak?
Click to expand...
Click to collapse
even i try the status modified to.normal.....still not work
Sent from my SM-N900 using XDA Premium 4 mobile app
yes, status change and root cloak do not do the trick!
so there must be again some coding which prevents us (rooted users) from using screen mirroring on 4.4.2!
what wonders me:
why does this not bother more users? for me this is a major flaw, because i want to use screen mirroring AND of course root!
so please, if anybody has an idea please let us know!
It has nothing to do with root... cause on the stock kernel and 4.4.2 screen mirroring works... also with root
Gesendet von meinem SM-N9005 mit Tapatalk
I just thought it didn't support screen mirroring to the devices I have (Apple TV, Chromecast). I have All cast installed. Should I be able to mirror my screen?
Sent from my SM-N900T using Tapatalk
i also have the same problem with screen mirroring. with 4.3 it works perfect, but with 4.4 it is not possible.
i used the original firmware including root, or different custom firmwares. it connects for 1 second and abort after this.
also i used the stock kernel, that changes nothing.
it is possible to connect to chromcast or also DLNA Mode, but miracast on an wifi stick ist not working.
hope this will be possible, because it is also a main feature for me.
On a Samsung smart TV it works flawlessly with stock kernel
Gesendet von meinem SM-N9005 mit Tapatalk
i used the CloudnetGO CR-M200S, here it doesn´t work. on an samsung s3 with an custom firmware 4.4 i can connect...with the note3 not
also with the s4 it works.
still no answer............
Sent from my SM-N900 using XDA Premium 4 mobile app
Screen Mirroring does not support Custom Kernels, ONLY Stock Kernels.
nicholaschum said:
Screen Mirroring does not support Custom Kernels, ONLY Stock Kernels.
Click to expand...
Click to collapse
even i change Stock Kernels.....still not work
I see no valid reason why it should not support.... the fix specified in the title of the thread could work on 4.3 i did not have the chance to try and it did work on other phones like galaxy s4, its simply a process or something that is denying the connection...
What i did is, i super wiped my phone to factory default and wipe scripts and i flashed stock rom, kernel and recovery 4.4.2 on my SM-N900, since i own a rather expensive new Samsung smart TV i wanted the "privilege" to at least see the feature before i decide if i can live without it....
Setting aside for a moment my bilnd anger for paying top dollar for top of the range appliances by samsung only to loose many features when trying to have the phone suit my needs far far better then sammy did OOB.
So i Flashed the stock.. everything and i finally got it to work after being rooted...
I am now rooted once more and even though i still want the function to work rooted (because perhaps then it can be tweaked to work better then close to crap)
i can say that it aint a big miss in its current state.. in the basic function the image is delayed by about avg of 400 ms making games unplayable. perhaps closing any other source of wi-fi (since it connects through wifi direct if im not mistaking) can push it to 300 ms delay to 250ms but nothing lower, adding to that a small delay in input from a sixaxis controller and you surely cannot play a game of any kind exept if you want unmerited added challenge or simply love frustration... as for browsing or any other function, its nice but if you have a smart tv its quit useless.
i cannot fathom why Airplay mirroring works so well and i mean very very well.. once you figure out how to optimize it on the network.. there are moments that its flawless (even more on the apps that have the same function such as airserver and reflector) My HTC one also will not connect to the TV via miracast even though i know it can, i did not delve in to the issue since i have the HTC Media Link H200 HD. which also connects through p2p wifi of sort.... and works again almost as good as airplay but more hiccups. i havent tried any other dongle yet but i love the concept of the feature and think that we are headed to screen mirroring being heavily used in coming times.
but from what i tested allshare cast with SM-n900 to smart tv (samsung series 8) works very poorly, i am still searching the web and codes and info to try and understand why because i would love to get it working and maybe even tweaked.
and BTW Samsung Smartview app that is used as a tv remote that allows you to watch the tv and control it from your phone remotely does not work when custom code is used..
P.S
when i got it working. i changed back 1 thing at a time. first custom recovery.... then tried after that root... then tried and so on....
once i flashed the custom recovery, still did nothing with it and only flashed the recovery image even without entering it.. broke the function
Any update?
Not connected with routing, but since 4.4.2 I had two issues:-
1) It would try to connect and then just give up. To fix this I held the Dongle-12345 link down until it says "Connect with pin". This allowed me to connect but lead to problem 2
2) All I got was a blank screen. it seems to make the AllShare Cast Hub go into 1080p/30 !! This is an unusual (but valid) mode that not all TVs support. On my Panasonic TV I get a blank screen but on another TV it works. It seems to totally disregard the TV capability with LF21 or LJ02 firmware and I cannot try anything newer because the firmware updater has been withdrawn by Samsung
Not very impressed!
TML1504 said:
yes, status change and root cloak do not do the trick!
so there must be again some coding which prevents us (rooted users) from using screen mirroring on 4.4.2!
what wonders me:
why does this not bother more users? for me this is a major flaw, because i want to use screen mirroring AND of course root!
so please, if anybody has an idea please let us know!
Click to expand...
Click to collapse
Di you find the solution? please
Enviado desde mi GT-I9500 mediante Tapatalk

[Q] SELinux help

Can anyone help me get the SELinux set to permissive plz? I have a rooted Verizon S5 and im trying to get it set up to use in my truck with the appradio 2 and arliberator. I had a droid 4 that's been working flawlessly for over a year and i broke the charge port out of it so i got the S5 and its been nothing but trouble.
Any luck?
Working APP for setting SELINUX to Permissive
Here's the link ,
You'll need to be rooted.
https://play.google.com/store/apps/details?id=com.mrbimc.selinux&hl=en
What does it do when u change it?
Make any difference ?
n00b <<<<<
thanks
SELINUX
juDGEY2k10 said:
What does it do when u change it?
Make any difference ?
n00b <<<<<
thanks
Click to expand...
Click to collapse
Hey ,
I had issues when I rooted and disabled knox , and the most troublesome is my phone storage was read only , I couldn't write anything .
And I couldn't even install ViperforAndroid Driver and Xposed .
But All problem was fixed when I set the Selinux Policy to Permissive .
-Shahriar
The app says won't work for Samsung phones, what phone u using?
Rooted and using this ROM... http://forum.xda-developers.com/showthread.php?t=2955996
Awesome is all I can say

[Q] Making Verizon galaxy s5 linux permissive

Forgive me for asking this question here, as I have seen it in other areas of this site. I'll delete this if you want me to.
I've been looking everywhere on how to change my Verizon s5 to se linux permissive, for use with my app radio. Does anybody know how it's done? The only root I've found so far is for sprint.
Towelroot didn't work even with the app SELinuxModeChanger and su superuser.
Thanks in advance. I'm a newbie here, and have trouble following some of these threads.
lolatiphones said:
Forgive me for asking this question here, as I have seen it in other areas of this site. I'll delete this if you want me to.
I've been looking everywhere on how to change my Verizon s5 to se linux permissive, for use with my app radio. Does anybody know how it's done? The only root I've found so far is for sprint.
Towelroot didn't work even with the app SELinuxModeChanger and su superuser.
Thanks in advance. I'm a newbie here, and have trouble following some of these threads.
Click to expand...
Click to collapse
Give this a gander..
http://forum.xda-developers.com/showthread.php?t=2784880
@Misterxtc
kprice8 said:
Give this a gander..
http://forum.xda-developers.com/showthread.php?t=2784880
@Misterxtc
Click to expand...
Click to collapse
Well you see my phone is already rooted, but even with the towel root I cannot get my SE Linux to change to permissive. No matter what I try, it remains enforcing. To get my phone to have touch controls through the app radio, it must be in permissive mode.
Was your suggestion that this root in the thread you posted will change my se linux to permissive mode?
lolatiphones said:
Well you see my phone is already rooted, but even with the towel root I cannot get my SE Linux to change to permissive. No matter what I try, it remains enforcing. To get my phone to have touch controls through the app radio, it must be in permissive mode.
Was your suggestion that this root in the thread you posted will change my se linux to permissive mode?
Click to expand...
Click to collapse
You will not get permissive linux without a unlocked bootloader because a custom kernel needs to be flashed. See this thread for more info. My thread is for returning to stock and root.
Misterxtc said:
You will not get permissive linux without a unlocked bootloader because a custom kernel needs to be flashed. See this thread for more info. My thread is for returning to stock and root.
Click to expand...
Click to collapse
Thank you sir for steering me in the right direction!
lol.. not to troll but u said in op u saw other threads on this but u didnt see them say its not possible with a locked BL?
elliwigy said:
lol.. not to troll but u said in op u saw other threads on this but u didnt see them say its not possible with a locked BL?
Click to expand...
Click to collapse
Not exactly sure what you're saying, but I think you're overestimating my ability here haha. I read every post in this thread:
http://forum.xda-developers.com/ver...missive-selinux-stock-kernels-t2854364/page10
but it looks like this is an unsolved issue.
Edit: So your saying it's impossible without an unlocked bootloader? Forgive me for my technological ignorance here, but is there not a way to unlock the bootloader?
If so how did this guy get his version to work?
https://www.youtube.com/watch?v=zb3mIOu230A
Ok, now I'm seeing it. Verizon and AT&T have shafted us here. So the only way to get our phones to not be enforcing is through an unlocked bootloader which can only be done through verizon with a developer edition. The whole reason I changed to android was for this flexibility and now they're taking it away from us.
lolatiphones said:
Ok, now I'm seeing it. Verizon and AT&T have shafted us here. So the only way to get our phones to not be enforcing is through an unlocked bootloader which can only be done through verizon with a developer edition. The whole reason I changed to android was for this flexibility and now they're taking it away from us.
Click to expand...
Click to collapse
App radio unchained apparently allows you to use it with selinix enforcing.
Sent from my SM-G900A using Tapatalk

Kernel/Rom to set SElinux to permissive?

Been searching all over google to try to find a rom/kernel that will set SElinux to permissive for my Galaxy S5 active. Im trying to use my phone via MHL on my Pioneer appradio 3 and have already rooted the phone but cant seem to find out how to set SElinux to permissive. Read somewhere that the app on the google play store only works for android 4.4.2.... Im currently running 4.4.4 . Any Help/advise would be greatly appreciated thanks.
kam91 said:
Been searching all over google to try to find a rom/kernel that will set SElinux to permissive for my Galaxy S5 active. Im trying to use my phone via MHL on my Pioneer appradio 3 and have already rooted the phone but cant seem to find out how to set SElinux to permissive. Read somewhere that the app on the google play store only works for android 4.4.2.... Im currently running 4.4.4 . Any Help/advise would be greatly appreciated thanks.
Click to expand...
Click to collapse
There is an app in play store called SELinux Mode changer, which you can use but in order for the app to work your kernel should support the permissive change.
Chaitanyapatel8880 said:
There is an app in play store called SELinux Mode changer, which you can use but in order for the app to work your kernel should support the permissive change.
Click to expand...
Click to collapse
I have tried that exact app and got no results, I'm not very good with phone rooting. I know ive towel rooted my s5 but i think in the tutorial I used, I believe they had you flashing the stock kernel back onto the phone to not trip the knoc for warranty reasons? Where would I find a kernel that I can flash that will allow me to use that app to switch selinux to permissive? Thanks again.
kam91 said:
I have tried that exact app and got no results, I'm not very good with phone rooting. I know ive towel rooted my s5 but i think in the tutorial I used, I believe they had you flashing the stock kernel back onto the phone to not trip the knoc for warranty reasons? Where would I find a kernel that I can flash that will allow me to use that app to switch selinux to permissive? Thanks again.
Click to expand...
Click to collapse
If you use other kernel then it will trip the KNOX and you will loose your warranty....
Chaitanyapatel8880 said:
If you use other kernel then it will trip the KNOX and you will loose your warranty....
Click to expand...
Click to collapse
to be honest I don't care I just want to know where I can find a kernel lol. I'll have to look some more on here and see if there's one or a way around it.
From the looks of things it seems you have an att variant, is that correct? If so you cant set it to permissive because you need to flash a permissive kernel which isnt possible on the att variant. Theres a third party app available that works on SElinux enforcing called "appradio unchained reloaded", it is a bit pricy though.
Sent from my SM-G900A using Tapatalk
Rakuu said:
From the looks of things it seems you have an att variant, is that correct? If so you cant set it to permissive because you need to flash a permissive kernel which isnt possible on the att variant. Theres a third party app available that works on SElinux enforcing called "appradio unchained reloaded", it is a bit pricy though.
Sent from my SM-G900A using Tapatalk
Click to expand...
Click to collapse
+1
Chaitanyapatel8880 said:
+1
Click to expand...
Click to collapse
OK, yes I do have the att s5 active. Thanks for your reply, I've seen the unchained reloaded app (30 bucks) on the playstore I believe but not sure if it can mirror your actual phone screen with touch capabilities? I'll look into that. As far as my phone is concerned there is no way to get se Linux set to permissive then? If not I was looking into getting the new htc
One m9 when it comes out, I believe it will have lollipop 5.0? Any chance that would be a better phone that may support changing selinux to permissive if the AR unchained reloaded app doesn't work the way I'm looking for?
kam91 said:
OK, yes I do have the att s5 active. Thanks for your reply, I've seen the unchained reloaded app (30 bucks) on the playstore I believe but not sure if it can mirror your actual phone screen with touch capabilities? I'll look into that. As far as my phone is concerned there is no way to get se Linux set to permissive then? If not I was looking into getting the new htc
One m9 when it comes out, I believe it will have lollipop 5.0? Any chance that would be a better phone that may support changing selinux to permissive if the AR unchained reloaded app doesn't work the way I'm looking for?
Click to expand...
Click to collapse
Sadly, no there is no way to set it to premissive since you cant flash any bootloader or kernel that isnt official. If you plan on getting a new phone id stay away from buying direct from att cause they tend to lock their devices down so just make sure you do your research.
Sent from my SM-G900A using Tapatalk
kam91 said:
OK, yes I do have the att s5 active. Thanks for your reply, I've seen the unchained reloaded app (30 bucks) on the playstore I believe but not sure if it can mirror your actual phone screen with touch capabilities? I'll look into that. As far as my phone is concerned there is no way to get se Linux set to permissive then? If not I was looking into getting the new htc
One m9 when it comes out, I believe it will have lollipop 5.0? Any chance that would be a better phone that may support changing selinux to permissive if the AR unchained reloaded app doesn't work the way I'm looking for?
Click to expand...
Click to collapse
Go for M9 man... It is a hot ♨ phone... I love s5.. But if I have money, I will get both...
Rakuu said:
Sadly, no there is no way to set it to premissive since you cant flash any bootloader or kernel that isnt official. If you plan on getting a new phone id stay away from buying direct from att cause they tend to lock their devices down so just make sure you do your research.
Sent from my SM-G900A using Tapatalk
Click to expand...
Click to collapse
So where do you buy the phone from if not directly from your service providers store?
kam91 said:
So where do you buy the phone from if not directly from your service providers store?
Click to expand...
Click to collapse
Amazon or some other online retailer.
Sent from my SM-G900A using Tapatalk
Rakuu said:
Amazon or some other online retailer.
Sent from my SM-G900A using Tapatalk
Click to expand...
Click to collapse
So do you have to get like a "unlocked" phone ? To be able to use it with any service provider then?
kam91 said:
So do you have to get like a "unlocked" phone ? To be able to use it with any service provider then?
Click to expand...
Click to collapse
Im quite certain it comes unlocked, yes.
Sent from my SM-G900A using Tapatalk

Categories

Resources