Originally Posted by pastee
How to enable SElinux and set it to enforcing mode in NOOK HD+ cm11 nightlies?
last updated feb 9th 2014
You can now enable selinux...
nook hd+ ovation
Tested on recent nightlies so don't know how far back or foward this will work.
(Re-)flash after new installs or after every update.
To remove just flash a newer cm11 build or reflash the same build. Files will be overwritten and selinux will be disabled.
Will try to post updated zips if needed though no guarantee.
Source code for builders... direct download here
I am using my selinux patch and it works.
Thanks to succulent, verygreen, and whoever else made code available that I used.
Reboot into recovery
flash zip file
reboot into cm11
settings -> about tablet -> scroll to bottom and it should say enforcing for selinux.
Free apps in play store to change between enforcing and permissive modes. Don't know how safe they are though I tested selinux mode changer app and it worked.
If your tablet goes down if flames don't blame me. Use at your own risk...
Please backup fully in the recovery before installing. Safety first...
Fixed no wifi after immediate flash of cm without reboot. You may now flash anytime you want.
(Added wl1271-nvs.bin file and set_metadata lines for it in script to make sure it gets installed.)
Settings -> about tablet now shows information from cm official instead of from my builds. This cleans up the find updates section too.
Should also offer best compatibility with future cm builds.
(Removed build.prop and metadata lines from scripts. Found they weren't needed afterall.)
feb9th 2014 - direct download link http://ubuntuone.com/1FIJT79ha0Fp1Rjnz7OYOI
also attached to this post:
HTC sensation 4G | cm11 albinoman ROM - 3/2/14 Workaround for incoming phone calls going to missed (including the swipe issue) with all cm based roms -> http://forum.xda-developers.com/show...&postcount=884
Nook HD+ 32 | cm11 emmc official ROM, Ubuntu touch 14.04
....Nook HD+ 16 | (Returned due to random reboots; defective tablet)