Why Permissive kernel? - Nexus 6 Q&A, Help & Troubleshooting

I am very new to the nexus line as I came from a locked galaxy s5 on Verizon. However I have seen you can get the kernel to always be permissive. What benefits does this bring? I use xposed and was wondering if anything would help me there. Thanks for any help or insight!

Some xposed modules and mods may require the kernel to be permissive.
To read more, read https://source.android.com/devices/tech/security/selinux/concepts.html
It should be noted that Google wants your phone to be in enforcing to be secure.

zephiK said:
Some xposed modules and mods may require the kernel to be permissive.
To read more, read https://source.android.com/devices/tech/security/selinux/concepts.html
It should be noted that Google wants your phone to be in enforcing to be secure.
Click to expand...
Click to collapse
Are there any other benefits or uses other than xposed?
Also, are most custom kernels enforcing by default? Still trying to understand everything

zephiK said:
Some xposed modules and mods may require the kernel to be permissive.
To read more, read https://source.android.com/devices/tech/security/selinux/concepts.html
It should be noted that Google wants your phone to be in enforcing to be secure.
Click to expand...
Click to collapse
Excellent information, thank you for this. :good:
Well worth reading.

xdnax said:
Are there any other benefits or uses other than xposed?
Also, are most custom kernels enforcing by default? Still trying to understand everything
Click to expand...
Click to collapse
Viper4android needs permissive too.

Could anyone help me with a tweakable kernel for note 4 SM-N910H

ebongutibe said:
Could anyone help me with a tweakable kernel for note 4 SM-N910H
Click to expand...
Click to collapse
Try asking in the note 4 forum. This is the nexus 6 forum.

Related

[Q] Running 5.0.2. Can i run Xposed?

Xposed is a requirement for a app i need. but someone told me its not compatible yet with lollipop.
I would like to ask all the pros in here before i brick my only phone.
Nexus 4 SimpleAOSP
SebLemery said:
Xposed is a requirement for a app i need. but someone told me its not compatible yet with lollipop.
I would like to ask all the pros in here before i brick my only phone.
Nexus 4 SimpleAOSP
Click to expand...
Click to collapse
I think, you can't.
Refer to this:
http://forum.xda-developers.com/showpost.php?p=52288979&postcount=3
http://forum.xda-developers.com/xposed/xposed-2-7-experimental-version-feedback-t2788124
Hope this will help.
Hirenkn said:
I think, you can't.
Click to expand...
Click to collapse
Can't what?
You can't use Xposed on lollipop at this present time
No Xposed for Lollipop anytime soon and possibly never at all, per the last publicly posted comments from Xposed OG developer rovo89.
CZ Eddie said:
No Xposed for Lollipop anytime soon and possibly never at all, per the last publicly posted comments from Xposed OG developer rovo89.
Click to expand...
Click to collapse
:crying:
CZ Eddie said:
No Xposed for Lollipop anytime soon and possibly never at all, per the last publicly posted comments from Xposed OG developer rovo89.
Click to expand...
Click to collapse
Check github comments. It is not dead, there is activity there. Everybody can help and contribute useful feature since rovo89 is all about ART/Lollipop/SELinux now.
pyler said:
Check github comments. It is not dead, there is activity there. Everybody can help and contribute useful feature since rovo89 is all about ART/Lollipop/SELinux now.
Click to expand...
Click to collapse
Where do you see any recent activity in github ?
LancerV said:
Where do you see any recent activity in github ?
Click to expand...
Click to collapse
You can follow rovo89's activity stream:
https://github.com/rovo89?tab=activity
pyler said:
You can follow rovo89's activity stream:
https://github.com/rovo89?tab=activity
Click to expand...
Click to collapse
To my eye there isn't any recent activity there. Am I wrong?
Xposed does not work with ART
He discusses the issues a lot.
CZ Eddie said:
No Xposed for Lollipop anytime soon and possibly never at all, per the last publicly posted comments from Xposed OG developer rovo89.
Click to expand...
Click to collapse
Can you link me to this publicly posted comment? I would like to read up on it. I know there are problems with SElinux and the context's that can be ran in order to get xposed app_process to run with the proper contexts. I also remember that being a problem with root. The only way around it was with a custom kernel. Things may have changed since I read that though.
SebLemery said:
Xposed is a requirement for a app i need. but someone told me its not compatible yet with lollipop.
I would like to ask all the pros in here before i brick my only phone.
Nexus 4 SimpleAOSP
Click to expand...
Click to collapse
Xposed is not compatible with Lollipop (ART) yet. Hence it wont work! Refer the below screenshot taken from note 2 running on 5.0.2.
Developer of xposed is a real genius, Its jus matter of time when he comes with new update for lollipop.
singh_21 said:
Developer of xposed is a real genius, Its jus matter of time when he comes with new update for lollipop.
Click to expand...
Click to collapse
I hope so
singh_21 said:
Developer of xposed is a real genius, Its jus matter of time when he comes with new update for lollipop.
Click to expand...
Click to collapse
Im counting on it. His app made all my roms 10x's better.. and more useful.
Aww no xposed?
sorry for noobieness but, is @rovo89 still working on the issue or that xposed art will not be?
All the information on ART/Lollipop and Xposed is available in the pinned thread here.
Pending further information to the contrary from rovo89 himself, you can assume he's still working on it.
Sent from my C6603

Get xposed to work without soft boot?

Couldn't find anything on this, but apparently people are having success installing xposed framework on the nexus 6 without having to soft boot every time to get the modules to work.
If anyone has had any success with this, could you please provide the process how to.
Thanks
halfez said:
Couldn't find anything on this, but apparently people are having success installing xposed framework on the nexus 6 without having to soft boot every time to get the modules to work.
If anyone has had any success with this, could you please provide the process how to.
Thanks
Click to expand...
Click to collapse
Install lean kernel and use lkconfig to force permissive.
In the thread about xposed, there is a flashable zip. Worked for me on elemental.
Sent from my Nexus 6
seh6183 said:
Install lean kernel and use lkconfig to force permissive.
Click to expand...
Click to collapse
Casper34 said:
In the thread about xposed, there is a flashable zip. Worked for me on elemental.
Sent from my Nexus 6
Click to expand...
Click to collapse
Will it work with franco kernel?
Ended up flashing lean kernel, works great
Thank you
halfez said:
Will it work with franco kernel?
Ended up flashing lean kernel, works great
Thank you
Click to expand...
Click to collapse
I usually prefer Franco but it seems in his quest for insane battery life he has somehow sacrificed performance on this phone as the UI is a little more stuttery. Does have better battery though. Also with that flashable zip above, I tried it, but the hack never seemed to launch in time for xposed to see it and I would have to soft reboot anyway. The lean kernel method works great and its an awesome kernel.
There's elementalx kernel too, which is great. There's a whole thread in N6 general about what you can try.
Go into settings, apps, then select move app to phone. Simple.
hhn2002 said:
Go into settings, apps, then select move app to phone. Simple.
Click to expand...
Click to collapse
2 things.
1. This is an old thread and was due to the requirement for SELlinux permissive on an old alpha of xposed
2. Nexus 6 does not have an sd card slot, ergo, the ONLY place for apps is "phone" anyway

ViperAudio

I cannot for the love of me get the viper audio to work on my note4 running cod6 base. I am rooted and i just cant figure it out can someone please assit in helping me get this work has anyone been able to get this to work on stock. i was able to get this to work on the old 4.4 N4 base stock?
I'm running Canadian lollipop.
I couldn't tell it was working til I was in a car.
Are you sure it's not working?
I'll tell you my settings.
V4A does not work on TW Lollipop. You have to modify the build prop and a few other things, plus switch SELINUX to permissive.
There is no way currently to turn SELINUX to permissive on TW Lollipop and the developer for V4A has not changed the code to work with it set to enforcing yet.
If you have it installed I can promise you it is not working on either the Canadian ROM or the TMOBILE base.
Sent from my SM-N910T using XDA Free mobile app
I think mine was modified then.
Do you have the steps?
ShrekOpher said:
V4A does not work on TW Lollipop. You have to modify the build prop and a few other things, plus switch SELINUX to permissive.
There is no way currently to turn SELINUX to permissive on TW Lollipop and the developer for V4A has not changed the code to work with it set to enforcing yet.
If you have it installed I can promise you it is not working on either the Canadian ROM or the TMOBILE base.
Sent from my SM-N910T using XDA Free mobile app
Click to expand...
Click to collapse
Not true. U just need one of the various kernels which are already available then a build.prop change and permissive work great.
Keep in mind, u do this and you have to tweak SHEALTH and might lose private mode.
You are right that it won't be happening soon on pure stock.
Compusmurf said:
Not true. U just need one of the various kernels which are already available then a build.prop change and permissive work great.
Keep in mind, u do this and you have to tweak SHEALTH and might lose private mode.
You are right that it won't be happening soon on pure stock.
Click to expand...
Click to collapse
Any lollypop kernels for tmobile with WiFi calling? Also I don't need private mode I got a mega account for that lmao
ice5192 said:
Any lollypop kernels for tmobile with WiFi calling? Also I don't need private mode I got a mega account for that lmao
Click to expand...
Click to collapse
The one I'm using "thinks" it's working, I always have it disabled and set to Cellular preferred. So I can't really be sure it is working since I don't really use it. I can't post a link, etc, because the DEV team got fed up with the stupidity going on here and moved everything to his own forum.
Give it a bit more time and I'm sure there will be a ton of options for you very soon.
Does anyone know if it works with the new Bioshock Lollipop-TW kernel?
Viper is the only reason I rooted my Note 4. No LP for me until Viper is updated.
So what are the exact steps that I need to take to make V4A work on LP? What is the build.prop edit and how do achieve the permissive change?
Project Infinity comes with Viper working and it's a Lollipop ROM. I'm just waiting for the update to include T-Mobile's new firmware...
I am using some rom now and my viper is working again <3
ice5192 said:
I am using some rom now and my viper is working again <3
Click to expand...
Click to collapse
It's called Some rom?
dkb218 said:
It's called Some rom?
Click to expand...
Click to collapse
I gonna say he is on alliancerom beta.
BAD ASS NOTE 4
BACARDILIMON said:
I gonna say he is on alliancerom beta.
BAD ASS NOTE 4
Click to expand...
Click to collapse
Tekhd and overdrive roms.
ice5192 said:
I cannot for the love of me get the viper audio to work on my note4 running cod6 base. I am rooted and i just cant figure it out can someone please assit in helping me get this work has anyone been able to get this to work on stock. i was able to get this to work on the old 4.4 N4 base stock?
Click to expand...
Click to collapse
All I did was follow this guide. I'm on rapture 5.1. It's TW Lollipop. Works perfectly fine.
http://forum.xda-developers.com/showthread.php?t=3147443
ice5192 said:
I cannot for the love of me get the viper audio to work on my note4 running cod6 base. I am rooted and i just cant figure it out can someone please assit in helping me get this work has anyone been able to get this to work on stock. i was able to get this to work on the old 4.4 N4 base stock?
Click to expand...
Click to collapse
We have a thread for this already.
http://forum.xda-developers.com/showthread.php?t=3130806
[Sound MOD] Viper4Android / Dobly Digital on stock kernel [Easy steps] 8/16/2015
Read the OP, post any questions in there.
Sent from my SM-N910T using XDA Free mobile app

Viper4Android NeXus 6 install

I've been trying to install Viper on Marshmallow and keep getting installation errors since it is not enforcing. Can someone point me to the plaza where I can get accurate simple installation instructions for Android 6.0.1? Thanks so much.
tapPeD fROM my neXus 6
andrewjt19 said:
I've been trying to install Viper on Marshmallow and keep getting installation errors since it is not enforcing. Can someone point me to the plaza where I can get accurate simple installation instructions for Android 6.0.1? Thanks so much.
tapPeD fROM my neXus 6
Click to expand...
Click to collapse
i install it by flashing it in twrp recovery, never had a problem installing it. you can also unzip the app and place it unto /system/priv-app/ and then reboot.
simms22 said:
i install it by flashing it in twrp recovery, never had a problem installing it. you can also unzip the app and place it unto /system/priv-app/ and then reboot.
Click to expand...
Click to collapse
Where are you getting the zip from? I googled viper4android nexus 6 and found this website: http://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137
However, I followed the details exactly and it is not working. The driver status says abnormal.
tapPeD fROM my neXus 6
I copied it into /system/priv-app no go. Same thing
tapPeD fROM my neXus 6
odd. works fine here. works fine for everyone i know that uses it. thats where i got it from as well.
You will need something to switch it to either enforcing or permissive. Which ever one it calls for. Not all roms are set the same. Never found a use for it myself but there is a thread in the apps and themes section.
zelendel said:
You will need something to switch it to either enforcing or permissive. Which ever one it calls for. Not all roms are set the same. Never found a use for it myself but there is a thread in the apps and themes section.
Click to expand...
Click to collapse
After changing it over to permissive it worked. Question for you, does that effect the operation of the ROM in any way?
tapPeD fROM my neXus 6
andrewjt19 said:
After changing it over to permissive it worked. Question for you, does that effect the operation of the ROM in any way?
tapPeD fROM my neXus 6
Click to expand...
Click to collapse
Some say it makes it less secure but to be honest the rom I run has it set to permissive so that the built in theme engine works and I have never had an issue. Mind you I dont do alot with my device really. Just the normal. Calls, SMS and work stuff. The rest of the time is sits in my pocket.
zelendel said:
Some say it makes it less secure but to be honest the rom I run has it set to permissive so that the built in theme engine works and I have never had an issue. Mind you I dont do alot with my device really. Just the normal. Calls, SMS and work stuff. The rest of the time is sits in my pocket.
Click to expand...
Click to collapse
Is the theme engine the CM one on the Market? Or is it through xposed?
tapPeD fROM my neXus 6
andrewjt19 said:
Is the theme engine the CM one on the Market? Or is it through xposed?
tapPeD fROM my neXus 6
Click to expand...
Click to collapse
Neither. It has to be built into the rom.
Is there any to get this working without root enabled? The sound quality is awesome.
nookhdp said:
Is there any to get this working without root enabled? The sound quality is awesome.
Click to expand...
Click to collapse
No you need root to change the settings or running a custom kernel

SELinux Permissive

Hello. I have question. I need permissive selinux mode. I have rooted my phone with magisk. My kernel is stock, rom also stock. Now my selinux is enforcing but I need permissive. Magisk modules and Selinuxmodechanger not working. Who can help me?
CLT-L29
Android 9.0.0.236
Kernel 4.9.97
Security patch 1 March 2019
E.Sivko said:
Hello. I have question. I need permissive selinux mode. I have rooted my phone with magisk. My kernel is stock, rom also stock. Now my selinux is enforcing but I need permissive. Magisk modules and Selinuxmodechanger not working. Who can help me?
CLT-L29
Android 9.0.0.236
Kernel 4.9.97
Security patch 1 March 2019
Click to expand...
Click to collapse
Ask @ante0, maybe he can.
kilroystyx said:
Ask @ante0, maybe he can.
Click to expand...
Click to collapse
Ok, thanks. I send a message for him.
kilroystyx said:
Ask @ante0, maybe he can.
Click to expand...
Click to collapse
E.Sivko said:
Ok, thanks. I send a message for him.
Click to expand...
Click to collapse
It's possible with a custom built kernel where this switch is enabled. But in January Huawei decided we can't use custom kernel anymore... It flashes but can't boot with it.
This "fix" was added in Mate 10 Pro, BLA-L29C432B179 (9.0.0.179). And they most likely did the same for other devices in January.
@E.Sivko for what reason do you need permissive?
ante0 said:
It's possible with a custom built kernel where this switch is enabled. But in January Huawei decided we can't use custom kernel anymore... It flashes but can't boot with it.
This "fix" was added in Mate 10 Pro, BLA-L29C432B179 (9.0.0.179). And they most likely did the same for other devices in January.
@E.Sivko for what reason do you need permissive?
Click to expand...
Click to collapse
I want to use tincore keymapper. I tried other mappers but they all have a problem with semi touch. For example i connected single handed gamepad mapped buttons and sticks, I hold left stick to run in a game and at same tame trying to look around using touchscreen in shooting game, so then i tap on screen gamepad stops working and i need press stick on gamepad again if i want to run. So I can't use touchscreen and gamepad same time because they stops each other.
ante0 said:
It's possible with a custom built kernel where this switch is enabled. But in January Huawei decided we can't use custom kernel anymore... It flashes but can't boot with it.
This "fix" was added in Mate 10 Pro, BLA-L29C432B179 (9.0.0.179). And they most likely did the same for other devices in January.
@E.Sivko for what reason do you need permissive?
Click to expand...
Click to collapse
I think that it is selinux problem or maybe old huawei input protocol, i don't know. I just want to use single handed gamepad at same time with touchscreen

Categories

Resources