[Q] Knox-Free Rom and SELinux Question - Verizon Galaxy S 5 Q&A, Help & Troubleshooting

TL;DR
If I flash a ROM which is "KNOX Free" (such as ExtremeDebloat Rom by elliwigy), will I be able to set SELinux to Permissive?
Details
Ultimately, I am trying to get my appradio 3 to be able to send touch screen input to my S5 (SM-G900V). I believe the reason I cannot get it to work yet is because SELinux is in Enforcing mode. There is an app called SELinux Mode Changer that allows you to toggle from Enforcing to Permissive by just tapping a button, but from what I have been able to find while researching the issue, it will not work on KNOX-enabled devices such as the Galaxy series. If I use SafeStrap on my rooted device (since the SM-G900V has a locked bootloader), flash a rom without KNOX, and install SELinux Mode Changer, will I be able to set SELinux to Permissive?
I apologize if this has been answered somewhere else on XDA. I searched but was unable to find an answer on here. Honestly, I'm a noob with this stuff so I might have even come across an answer and not recognized it haha.

I'm on a knox free ROM and just tried the selinux app and it didn't work.
Edit: there's a setting in the Wanam xposed module to turn off selinux but that doesn't seem to work either, just fyi.
Sent from my SM-G900V using Tapatalk

Thanks for the info. It saved me a lot of time trying to test that out myself haha.
So currently no one has found a way to set SELinux to Permissive on the SM-G900V variant of the S5?

Hmm... I'll try this on mine. I did this on the stock rom with Knox disabled, and SELinux installed fine, set to permissive, said it worked...I was just tinkering with trying to get Airwatch to work with root, and needed it in permissive mode to install Rootcloak. I got rootcloak installed and it seemed to be fine with the permissive setting in SELinux, but I never got Airwatch to work, so I just gave up.
Currently I am on SlimHyde, I'll try SELinux on it and see what it says.
EDIT: Well, it doesn't work now, so either I imagined it working, or...I dont know...sorry.

Thanks. Yeah the app always says it worked but if i exit and go back in it says it is enforcing again and the status under About Phone never changes.
Also, when Super User is first started, it asks if you want it to try to disable KNOX. I said yes and it said it was successful. What exactly did it do?

Related

[Q] xposed not work in I9505XXUDMH8, need turn off SELinux?

My phone in I9505XXUDMH8 is rooted by latest CF-Auto-Root. And I remove all KNOX app in /system/app.
But when I install xposed 2.2, it says “cannot write /data/xposed/modules.whitelist”.
Maybe the SELinux cause it. Anybody know how to turn off SELinux? change the status to permissive.
Thanks!
Same problem here
Try adam kernel 1.6, or maybe ask wanam how to do it.
wilhexm said:
My phone in I9505XXUDMH8 is rooted by latest CF-Auto-Root. And I remove all KNOX app in /system/app.
But when I install xposed 2.2, it says “cannot write /data/xposed/modules.whitelist”.
Maybe the SELinux cause it. Anybody know how to turn off SELinux? change the status to permissive.
Thanks!
Click to expand...
Click to collapse
try this in terminal emulator, i guess it will switch the selinux into permissive mode temporarily
Code:
su
echo 0 >/selinux/enforce
Solution?
Hi there,
Same problem here, just wondering if you found away to solve it?
I tried running the terminal command but got a 'not able to find the file' error.
Thanks,
Dan

[Q] Xposed Issue and Private Mode

Hi,
I would like to verify if I can still recover the photos I had hidden on private mode? I am currently rooted with towelroot. stock firmware and kernel.
I installed Xposed and Greenify modules and just edited the BuildProp : secure.storage.support : to false.
Any solutions on this? How can I get back to the bare stock rom with towelroot working and just without Xposed installed.?
Thanks!
S5: SMG900F
Kernel: 3.4.0 - 1539356
May Build
http://forum.xda-developers.com/showthread.php?t=2779450
What do you mean by disabling secure storage? I only know how to set the value to false. Is that the same?
Sent from my SM-G900F using XDA Free mobile app
neilcezar said:
I would like to verify if I can still recover the photos I had hidden on private mode? I am currently rooted with towelroot. stock firmware and kernel.
I installed Xposed and Greenify modules and just edited the BuildProp : secure.storage.support : to false.
Click to expand...
Click to collapse
The lesson here is that most of us do not backup our data. So remember to backup your photos next time. As to recovering them, you would need to re-enable private mode to do so. And you didn't give us the key piece of information we need to know if that is possible to do.
Is your Knox flag tripped? If it is still 0x0, then you can re-enable private mode by reverting your change to the secure.storage.support property and uninstall or disable xposed. Good luck.
.
simply just uninstall xposed and reboot your device.. then you will be able to turn on private mode again... currently xposed is not compatible with private mode... we are waiting for fix
Found a fix I uninstalled Xposed and disabled wanam turned ro.secure.storage to false and I was able to enter private mode again. Knox is 0x0
Sent from my SM-G900F using XDA Free mobile app
neilcezar said:
Found a fix I uninstalled Xposed and disabled wanam turned ro.secure.storage to false and I was able to enter private mode again. Knox is 0x0
Sent from my SM-G900F using XDA Free mobile app
Click to expand...
Click to collapse
You don't need to do that, you can use my new module XSecureStorage, it supports SHealth and Private mode.

Is it possible to enable full disk encryption (FDE) after obtaining root?

I've recently got an Galaxy S7 edge, after following this TWRP installation and root guide. I've been unable to successfully enforce encryption under settings>lock screen and security>device encryption. The device states after it's in the process of encrypting for about 30 seconds, then reboots and doesn't ask for a pre-boot authentication password. After a quick google search it's become quite apparent that TWRP doesn't support Samsung's encryption method; however to my understanding TWRP dose support SElinux. I simply want to encrypt my phone and have root status.
I've tried flashing a custom kernel that enforces encryption, however SElinux still presents as permissive. I've also just changed from the stock rom to king_rom, which hasn't changed anything in regards to SElinux; which I wasn't expecting it to.
I apologize in advance if I'm overlooking something incredibly simple. If anyone has any input that would be splendid.
I've got the SM-G935FD model.
SELinux has nothing to do with encryption. Re-enabling SELinux won't encrypt your device.
qwewqa said:
SELinux has nothing to do with encryption. Re-enabling SELinux won't encrypt your device.
Click to expand...
Click to collapse
Thanks for pointing that out. However I just want to encrypt my phone.

How to use Samsung Pass after Rooting

I recently have rooted my s6+ G928C with build number G928CXXS3CQH1.
Everything work fine except for secret mode in Samsung internet that I knew not working with rooted device.
Although, I didn't find anypost that said samsung pass also not working, I just want to ask thak anyway to make
samsung pass working along with root? Thanks in advanced.
Please help me, any custom kernal or way to fix this?
As far as I know it will never work... but you could try magisk hide but dont get your hopes up.
Flash the superuser uninstall zip when you want to use it and reroot when you need root? Or get magisk set up so you pass safetynet

Samsung Galaxy J370f SIM stopped working after custom ROM and Kernel

I wanted to change my phones SELinux status to permissive. I've tried everything, but it just wasn't working. After some deliberation i downloaded this https://forum.xda-developers.com/galaxy-j7-2017/development/rom-godness-one-ui-t3936809 Custom rom. Don't get me wrong, it works great, but SELinux is still Enforcing on paper which doesn't work with the app. After that failed, i flashed this https://forum.xda-developers.com/galaxy-j7-2017/development/kernel-refined-kernel-v2-5-t3731176 Kernel. My phone booted, I opened settings and there it was. Permissive. I was happy for a very short while since I noticed that my SIM card wasn't working. I've removed it, moved it to different slots and nothing is happening, can't access the SIM menu either. I've tried installing a stock Sboot with Odin, but it always says fail (i don't really get this process). Any suggestions?
https://forum.xda-developers.com/galaxy-j7-2017/help/sim-issues-bootloader-t3960740
In short, custom kernels aren't compatible with new bootloaders (SIM issues) and you can't downgrade them. We'll have to wait until someone looks into it.
You need to install the latest stock ROM.

Categories

Resources