[Q] Enforcing to permissive? - Galaxy S 5 Q&A, Help & Troubleshooting

Could someone kindly help me switch my SElinux to permissive? I tries the SElinux mode changer but it doesnt work, I'm on 5.0 lolipop, g900a. thanks..

You would need to flash a custom kernel. KT's kernel is popular, and is permissive enabled.

metalfan78 said:
You would need to flash a custom kernel. KT's kernel is popular, and is permissive enabled.
Click to expand...
Click to collapse
Could you link it to me please? I cant find one that supports G900A

JustAnotherAndroid said:
Could you link it to me please? I cant find one that supports G900A
Click to expand...
Click to collapse
Uou cant flash any custom kernels on g900a due to locked bootloader. The new multisystem tool recently released does set it to permissive though.
Sent from my twi5ted SM-G900A using Tapatalk

I didn't know about the bootloader. I'll need to check out that tool though.

Related

How can I change SELinux from Enforcing to Permissive on Samsung Galaxy Note 3

Hi to all
I want to found a simple solution(other a kernel) to change SELinux from Enforcing to Permissive on Samsung Galaxy Note SM-N9005 on MJ7 firmware.
Because I want to install LBE SECURITY and it don't work with statu Enforcing.
Thanks for all way Friends
Why not change kernel?
Sent from my SM-N9005 using xda app-developers app
Kernel was not stable and make some error with last firmware(camera ,spen ...)
as things look right now a custom kernel is the only way to get selinux = permissive.
But if you looking for privacy stuff use xposed with xprivacy module.
Beats LBE and all the other crap
Thanks for idea xprivacy module Zroice but Not a modification with edit the build existing ?
Envoyé de mon SM-N9005 en utilisant Tapatalk
On S4 Mini I9195 now whit Knox and stock kernel...
To turn SELinux from Enforcing to Permissive I make this on Terminal Emulator:
su
pm disable com.sec.knox.seandroid
-- wait for killed...
setenforce 0
But here on Note 3 not work.
Can someone study this way on N9005?
Thanks
Fast click 3-4x on "SELinux Status" in "About Tablet" (or "About Phone") should work too to switch between permissive and enforceing.
Lol not.
hit 'thanks' if i helped you
SM-N9005 DBT-DMJ7 0x0
XDA Developers 4 premium app
Wanam xposed can change it, it worked for me, stock mk2 stock kernel
Sent from my SM-N900 using xda app-developers app
*GalaxyDev* said:
Wanam xposed can change it, it worked for me, stock mk2 stock kernel
Sent from my SM-N900 using xda app-developers app
Click to expand...
Click to collapse
I did wonder if Wanam done it as it was deemed "Experimental" -- interesting to know it works though.. I keep mine enforced on custom kernel, no real need for me to have Permissive atm.
SELinux enforcing mode Galaxy S5
I have Galaxy S5 SM-G900F, the problem is I cant use Chainfire Stickmount or Paragon exFAT, NTFS, HFS+. These are the only SU apps that I want to use but will not work without SELinux being set to permissive mode. I have sent the logs for Paragon to the developers in the hope they can make some changes to bypass the MAC my SELinux is imposing.
When I installed ChainFireAutoRoot and ran SuperSU it warned about KNOX and disabled KNOX. KNOX counter at 0x1 after root.
I have tried adb shell su 0 -c "setenforce 0"
rebooted
still enforcing mode
Can someone explain to me, is it actually the boot loader setting SElinux mode?
I have this problem also
One possible way is downloading wanam xposed.
Then go to security hacks
then change selinux from enforcing to permissive
good luck!:fingers-crossed:
Thanks. But that did not work.
boogieb4 said:
Thanks. But that did not work.
Click to expand...
Click to collapse
flash lean kernel, any civz kernel, xnote kernel ...
selinux is set by the kernel
Is it possible to flash any rooms while status is enforcing.
boogieb4 said:
Is it possible to flash any rooms while status is enforcing.
Click to expand...
Click to collapse
Try the Ultimate Kernel v64.. it fix many problems i had with lean kernel and permissive forced on wanamite.
Chooo
boogieb4 said:
Is it possible to flash any rooms while status is enforcing.
Click to expand...
Click to collapse
My experience with Note 3 (SM-N9005) is that any rom can be flashed while selinux status is enforcing
Sent from my SM-N9005 using XDA Free mobile app
How to change enforcing to permissive in My SM-G532F
Bhadran said:
How to change enforcing to permissive in My SM-G532F
Click to expand...
Click to collapse
This is not your phones forum its NOTE 3 forum.

[Q] Changing SE Linux from Enforcing to Permissive on Rooted Verizon GS5

Like everybody else, I just rooted my phone and now I'm trying to use it with my Pioneer Appradio 2. In order to do so, I need to change the status of SE Linux to Permissive. It's there a way to do this without an unlocked bootloader to flash a different kernal?
I'm wanting to do the same with my Appradio, anybody?
BUMP
Not yet.
http://forum.xda-developers.com/showthread.php?p=54962676
bryanintransit said:
Like everybody else, I just rooted my phone and now I'm trying to use it with my Pioneer Appradio 2. In order to do so, I need to change the status of SE Linux to Permissive. It's there a way to do this without an unlocked bootloader to flash a different kernal?
Click to expand...
Click to collapse
I have been searching and searching, I have enven unlocked the bootloader and tried to find a kernel that supports SELinux Permissive for the 900v and I havent found one. If anyone has some info or links please share....
WileyDigital said:
I have been searching and searching, I have enven unlocked the bootloader and tried to find a kernel that supports SELinux Permissive for the 900v and I havent found one. If anyone has some info or links please share....
Click to expand...
Click to collapse
what u say isnt possible.. how did u have the BL unlocked and no one else knows about it? we need a unlocked bl/cystom kernel to implement permissive at this point
elliwigy said:
what u say isnt possible.. how did u have the BL unlocked and no one else knows about it? we need a unlocked bl/cystom kernel to implement permissive at this point
Click to expand...
Click to collapse
My bad, no unlocked BL, just unlocked phone. Got my terminology mixed up. Im about to sell this thing, go back to a S4.
WileyDigital said:
I have been searching and searching, I have enven unlocked the bootloader and tried to find a kernel that supports SELinux Permissive for the 900v and I havent found one. If anyone has some info or links please share....
Click to expand...
Click to collapse
Ktoonsez Kernel is SE Linux Permissive, if your bootloader is unlocked you should be able to flash it: http://forum.xda-developers.com/showthread.php?t=2794674

Need a kernel.

Hi .
Im looking for a samsung kernel with selinux turned off. It doesnt need to be special , or have special stuff included ... something like stock but with selinux disabled so i can install linux on my note 3.
Ive looked around and found that some of the most known ones might have selinux permissive but list stuff like "random reboots while using phone" or "sms not working" or "freezes up with any language except usa english"... I kinda use my phone so does anyone have a stock kernel with simply selinux as permissive that actually still allows the phone to work normally ?
SM-N9005 international note 3 , rooted with knox 0x0 atm.
Thanks
Lean kernel
siriom said:
Hi .
Im looking for a samsung kernel with selinux turned off. It doesnt need to be special , or have special stuff included ... something like stock but with selinux disabled so i can install linux on my note 3.
Ive looked around and found that some of the most known ones might have selinux permissive but list stuff like "random reboots while using phone" or "sms not working" or "freezes up with any language except usa english"... I kinda use my phone so does anyone have a stock kernel with simply selinux as permissive that actually still allows the phone to work normally ?
SM-N9005 international note 3 , rooted with knox 0x0 atm.
Thanks
Click to expand...
Click to collapse
Lean kernel is the best!!
---------- Post added at 03:46 AM ---------- Previous post was at 03:08 AM ----------
ultimate kernel is also one of the best kernel out there
siriom said:
Hi .
Im looking for a samsung kernel with selinux turned off. It doesnt need to be special , or have special stuff included ... something like stock but with selinux disabled so i can install linux on my note 3.
Ive looked around and found that some of the most known ones might have selinux permissive but list stuff like "random reboots while using phone" or "sms not working" or "freezes up with any language except usa english"... I kinda use my phone so does anyone have a stock kernel with simply selinux as permissive that actually still allows the phone to work normally ?
SM-N9005 international note 3 , rooted with knox 0x0 atm.
Thanks
Click to expand...
Click to collapse
1. Best or recomended is not allowed on XDA
2. If you want to flash custom kernel it requieres custom recovery and it triggered Knox to 0x1
verny94 said:
1. Best or recomended is not allowed on XDA
2. If you want to flash custom kernel it requieres custom recovery and it triggered Knox to 0x1
Click to expand...
Click to collapse
Since i kind of dont know all the roms of there i need someone to recomend something and im aware of the risks...
Thread closed as its a recommend/best kernel thread.

G900f Permissive mode

Hi, is there any way to change SElinux to permissive mode on BPA2 without flashing custom kernel ? My phone is rooted, deknoxed, knox 0x1.
Thanks for help.
prostozsadu said:
Hi, is there any way to change SElinux to permissive mode on BPA2 without flashing custom kernel ? My phone is rooted, deknoxed, knox 0x1.
Thanks for help.
Click to expand...
Click to collapse
I dont think there is, not 100% sure on that though.
Sent from my SAMSUNG-SM-G900A using Tapatalk
Thats bad, now im on Boeffla kernek but i noticed worse performance than on stock and i want to enable reactivation lock.
prostozsadu said:
Thats bad, now im on Boeffla kernek but i noticed worse performance than on stock and i want to enable reactivation lock.
Click to expand...
Click to collapse
As with before, not 100% as I'm not on a model that allows me to get too deep in custom stuff, but the general consensus ive seen is custom anything+reactivation lock on=bad news bear.
Sent from my SAMSUNG-SM-G900A using Tapatalk
That's why i want permissive mode on stock kernel

Need some information regarding downgrading s4

Hi,
I'm using AT&T S4 running 4.4.4 have nj4 bootloader and currently rooted. My Question is if I downgrade to stock i.e. MDB will I be able to install Custom ROM like Cynagenmod ? Please reply
I'm going back to stock using this Guide
Thanks
I assume you want to downgrade from a locked bootloader to an unlocked bootloader. Based on everything I have read, this cannot be done.
http://forum.xda-developers.com/showthread.php?t=2257620
taqi110 said:
Hi,
I'm using AT&T S4 running 4.4.4 have nj4 bootloader and currently rooted. My Question is if I downgrade to stock i.e. MDB will I be able to install Custom ROM like Cynagenmod ? Please reply
I'm going back to stock using this Guide
Thanks
Click to expand...
Click to collapse
If you could downgrade to stock unlocked bootloader, you could be able to install Custom rom like cyanogenmod (CM). So far, we do not have solution to downgrade to unlocked bootloader from the locked bootloader. The lowest you can go without tripping the knox counter is NB1.
If you want to install the CM, there is a safestrap version availible on xda. You can find it here.
sway8966 said:
If you could downgrade to stock unlocked bootloader, you could be able to install Custom rom like cyanogenmod (CM). So far, we do not have solution to downgrade to unlocked bootloader from the locked bootloader. The lowest you can go without tripping the knox counter is NB1.
If you want to install the CM, there is a safestrap version availible on xda. You can find it here.
Click to expand...
Click to collapse
Thanks for the link will check it. I have another problem with nj4 kernel
I wanted to change android mode from enforcing to permissive so I downloaded an app called se mod changer but the problem is that when I select permissive it just revert back to enforcing without any error. I also tried to change mod using terminal but that also revert back to enforcing.
I tried this app on moto x and s3 and it worked fine.
If I downgrade to nb1 will I be ablw.to change mod ?
Thanks
taqi110 said:
Thanks for the link will check it. I have another problem with nj4 kernel
I wanted to change android mode from enforcing to permissive so I downloaded an app called se mod changer but the problem is that when I select permissive it just revert back to enforcing without any error. I also tried to change mod using terminal but that also revert back to enforcing.
I tried this app on moto x and s3 and it worked fine.
If I downgrade to nb1 will I be ablw.to change mod ?
Thanks
Click to expand...
Click to collapse
What I understand about SELinux Mode changer is it depends on the kernel that you are using. The kernel has to be complied such a way that SELinux mode can be changeable.. When I was on kit-kat, I was using GE roms. The cooker included a safestrap flashable modified AT&T kernel so we could change the SElinux mode and to be able to use the xPose module.

Categories

Resources