[Galaxy Note 4 Android Development (Snapdragon)] _alexndr:
IMPORTANT NOTE

I have repacked both COI3 builds (odexed & deodexed) due to good news from the root community :)

http://xdaforums.com/apps/supersu/wip-android-6-0-marshmellow-t3219344

In short - it is possible to obtain root access while running kernel in enforcing mode, thanks to [MENTION=631273]Chainfire[/MENTION] :good:

In the past people were forced to choose:

- Stability & security offered by the original kernel, but without root

- root access but with all security disabled + other typical issues related to custom kernel build

Now things have changed so if you are using my previous rooted COI3 DevBAse with permissive kernel - I highly recommend to update SuperSU (2.50+) and then the kernel!

>> SuperSU BETA <<

>> KERNEL_N910FXXU1COI3_Stock_patched.tar.md5 << (PC Odin flashable)

>> KERNEL_N910FXXU1COI3_Stock_patched.zip << (TWRP / CWM flashable)

It is stock kernel containing original zImage, just repacked with sepolicy patched according to [MENTION=631273]Chainfire[/MENTION]'s recommendations. No issues known from custom kernel builds (e.g. stock Private Mode works!).

-------------------------------------------

For those who haven't updated ROM to COI3 yet - below I put links to repacked builds.

ROM (odexed):

>> N910FXXU1COI3_DevBase_alexndr.zip <<

ROM (deodexed):

>> N910FXXU1COI3_Deodexed_alexndr.zip <<

Bootloader & modem (update is highly recommended!):

>> BL_N910FXXU1COI3.tar.md5 <<

>> CP_N910FXXU1COI3.tar.md5 <<

No wipe data required if you are coming from stock ROM or a previous version of my DevBase :)

Enjoy :cool:

-------------------------------------------

Interesting info for those who still REALLY need permissive mode for some reasons - I put inside also optional (see options.prop), my own modified and compiled kernel offering SELinux controlled from command line (see attachments) :cool:

Updated options.prop file:

#
# DevBase by ALEXNDR (_alexndr @ XDA)
#
# Configuration file to allow customize the installation
#
# I agree to use any part of my work to create more advanced custom ROM,
# but it would be great if you add me to the credits

# Enable root access and install the SuperSU app (thanks to [MENTION=631273]Chainfire[/MENTION])
# Allowed values: 1 - enable root access, 0 - do not enable root access

root.supersu=1

[COLOR="Red"]# Flash kernel with unlocked SELinux toggle instead of stock kernel.
# It starts in Enforcing mode by default, but you can switch it in
# Permissive mode at any time by typing "setenforce 0" command.
# Allowed values: 1 - flash unlocked kernel, 0 - flash stock kernel
# NOTE: Choose "1" only if you REALLY need permissive mode!

selinux.toggle=0[/COLOR]

# Enable init.d support while running stock kernel. Allowed values:
# 1 - enable init.d support, 0 - do not enable init.d support

init.d.support=0

# Enable some hidden features (e.g. call recording) by adding <CscFeature> entries.
# Allowed values: 1 - enable hidden features, 0 - do not enable hidden features

csc.feature.mod=1

# Take care of security-related system files if there are any (SuperSU PIN, Avast Anti-Thelf in root mode).
# Allowed values: 1 - make a backup and then restore at the end of installation, 0 - skip backup

security.files=1

# CSC Selection. Allowed values:
# KCSC - Keep current CSC, recommended in most cases (automatic selection or copy your current CSC contents).
# You can force the use of natively supported CSC by typing (use UPPERCASE!): ATO, AUT, BAL, BTU, CYO, DBT,
# ETL, EUR, ILO, ITV, LUX, MEO, MET, NEE, ORX, PHE, PHN, ROM, SEE, SIO, TPD, TPH, XEF, XEH, XEO

CSC=KCSC