[Note Edge General] mscion:
(6/30/15) Newest LLFK for T-Mobile Note EDGE N915T Lollipop.

Now has TCP congestion control options with default TCP Westwood

This version is flashable using TWRP.

Features:

SELinux=Permissive option

init.d support

adbd insecure

TCP congestion controls: TCP options include Westwood, cubic, reno among others: default is Westwood

Modifications that need to be made when using LLFK kernel

1)In build.prop set

ro.securestorage.support=false

2)For those that use AllShare Cast you will need to do two things.

First, add the following line at the end of build.prop

wlan.wfd.hdcp=disable

second, you need to have the Xposed module Wanum Xposed installed. In Wanum select "security hacks" then check box of Fake system status

Download link:

https://www.dropbox.com/s/6bg9l8qqcmmh83x/llfk_permissive_initd_adbd_tcp_lpop.zip?dl=0

Check below for other information that might come in handy and good luck!

(06/11/15)New Low Lying Fruit Kernel (LLFK) for Tmobile Note Edge (lollipop)

I've added adb insecure to kernel. This gives you root access to modify /system on phone from a pc

Features:

SELinux = Permissive option

init.d support

adb insecure

download link

https://www.dropbox.com/s/kr7xb22449p497w/llfk_permissive_initd_adbd_lpop.zip?dl=0

(06/10/15) Low Lying Fruit Kernel (LLFK) for Tmobile Note Edge (N915T)

Two new flashable kernels. One for Lollipop the other for Kitkat.

Lollipop: This new version has init.d support so, for example, you can write scripts that run on boot up. (more below).

Features:

SELinux = Permissive option

init.d support

https://www.dropbox.com/s/k8w423ecoj1covs/llfk_permissive_initd_lpop.zip?dl=0

Kitkat:This version now has TCP congestion control options available (e.g. Westwood)

Features:

SELinux = Permissive option

init.d support

adb insecure (allows you to have r/w access to phone's /system from you pc)

TCP congestion control options

Thanks to JT man for testing

https://www.dropbox.com/s/jbifzsuztb73wpg/llfk_permissive_initd_adbd_tcp_kkat.zip?dl=0

Example of init.d script to automatically set SELinux=permissive given here

https://forums.oneplus.net/threads/how-to-selinux-permissive.314120/

couple notes on how-to-selinux-permissive

1)You only need have permissions of /sys/fs/selinux/enforce set to 644

2)Make sure permission of init.d script is 775

One more thing, knox based warnings can be silenced using wanum.

(05/27/15) Low Lying Fruit Kernel (LLFK) for Tmobile Note Edge (N915T) running Lollipop.

For those that miss having SELinux=Permissive on their T-mobile Note Edge running lollipop, here is a kernel

that supports this setting. The kernel is based on the Tmobile Note Edge Lollipop source code. The only thing that was

changed was a setting in the kernel's Makefile to allow the user to choose whether they want to have SELinux=Permissive

as described for the previous Kitkat version of LLFK below.

NOTE: This time around, the kernel is packaged as a zip file than can be directly flashed in recovery.

But before I go any further I need to give credit to [MENTION=4107827]TEKHD[/MENTION] for providing a zipped

version of the T-Mobile kernel I could modify and, in addition, for testing it.

Please buy him a well deserved cup of coffee!

Once you have flashed the kernel and rebooted you are ready to set SELinux=permissive by opening a terminal and typing

su

and

setenforce 0

To check it worked, go to settings > About device and you should see, under SE for Android status, that it is now set to Permissive.

An alternative way to change the setting with this kernel is to use the apk SeLinuxModeChanger. Unfortunately this apk is no longer

available at the play store but you can still download it from the F-Droid site.

https://f-droid.org/repository/browse/?fdfilter=selinuxmodechanger&fdid=com.mrbimc.selinux

A third option would be to set up an init.d script if your rom permits it.

I must admit, at the time of this writing, I'm still on KitKat and have yet to try this on my phone. I'll be checking out lollipop soon

but till then, let me know if/how it works. If successful I'll start adding a few more low lying fruit I've picked!

Remember to do a full nandroid back-up before trying this so your phone can return to its original state before trying llfk if needed.

The usual disclaimer applies!

Good Luck!

lollipop LLFK download link:

WAIT! Only one person has tried this version and although it worked for him, I still consider it beta at best. You have been warned!

WAIT! WAIT! One more thing: You need to do the following otherwise you may experience problems with WIFI:

Download the apk BuildProp Editor and use it to set

ro.securestorage.support=false (thanks [MENTION=4107827]TEKHD[/MENTION] for checking this)

WAIT! WAIT! WAIT! May be an issue with private mode not working (see http://xdaforums.com/showpost.php?p=61033627&postcount=109 ). I did not have this problem on kitkit. I am unable to test till next week so if someone can check it out that would be great.

http://www.4shared.com/zip/Z8g1u3FHba/llfk_permissive_lpop.html

dropbox link

https://www.dropbox.com/s/ud84t2fc3n9sqdg/llfk_permissive_lpop.zip?dl=0

Below only applies to the KitKat version.

(04/07/15) Update:

Well, I had a little time and decided to add a feature to LLFK. So for now it has the following three capabilities.

1)Allows you to set SELinux = Permissive

2)adb insecure

3)init.d support

Here is the link for the tar file. (follow same instructions given below to install via ODIN):

http://www.4shared.com/archive/2PepSJcPce/llfk_permissive_initd_adbtar.html

Let me know if/how it works...

New features:

The kernel is now adb insecure. This was accomplished by replacing the adbd file in ramdisk with one due to [MENTION=309990]freeza[/MENTION]. Big thanks to him (as in buy him a cup of coffee!) for giving me permission to use it. With adb insecure you can now remount system as r/w from your pc which can come in handy at times.

The kernel has init.d support (Allows you to run scripts from boot) by modifying the ramdisk using the instructions in STEP 1 (Making kernel ready) of the following post

http://xdaforums.com/showthread.php?t=2287540

So this part is done for LLFK

For it to work, the user still needs to make some minor modifications (add a file and create a directory) in their rom. To do this, please follow all 4 parts of STEP 2 (Making Rom Ready) in the same post.

Once you have completed STEP 2 you are ready to try some scripts.

You can search the Internet for init.d scripts to try.

For example there are some init.d scripts in the later half of the following post to give you an idea.

http://en.miui.com/thread-5685-1-1.html

If folks can experiment to see what scripts work I will make a list and post it here.

Seems to work OK on Hyperdrive and Lab Rats (let me know otherwise).

CAVEAT: When testing whether init.d support was successfully implemented I had tried some scripts (like echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb; ) that should have modified some kernel settings at boot up. But as it turns out there are a set of scripts that run after boot up that supersede these settings. These scripts are in the file /etc/init.qcom.post_boot.sh. (some other neat stuff to play around with in there!) If you want those scripts to not take effect you can simply comment them out and then your init.d scripts will work.

The usual disclaimer and Good Luck

Original post 1/30/15

**********************************************************************************************************************************************************************

Hi. I thought I'd give out this kernel which allows one to set SELinux=permissive for a rooted T-Mobile Note Edge with base NK3. This setting is needed if you would like to run Linux on Android and, I believe Viper4Android if you are so inclined, as well as some other specialized apps (for future reference, let me know what apps you use that need this setting). Once you have loaded this kernel you can use the app SELinuxModeChanger, found in the play store, to set SELinux=Permissive and back to Enforcing. Note, this setting is maintained until you change it back in the app (rebooting will not change the setting). Anyways, what I am providing is a gzipped tar file that you can download, gunzip and then load on your phone using ODIN (version 3.07 worked fine for me, goes in PDA). Remember, this kernel is ONLY for the T-Mobile N915T NK3 rom. Actually, I have only tested it on the Lab Rats rom so hopefully it will work on other roms for T-Moble N915T with NK3 base.

As most folks like to have a name for their kernel I've decided to call this the "Low Lying Fruit Kernel" (LLFK) because it only has a minor change made to it. Indeed this kernel is about as low as it goes (lol) as not a single line of code is changed. I only changed an option in the Makefile from true to false. Details are given at the following github site.

https://github.com/mscion/Permissive-Kernel-N915T-EDGE/

Anyways, I've been using this kernel for over 10 days with no problems, but, of course , for those that try LLFK, the usual warnings apply! I am not responisble for anything that happens to your device as a conseqence of

using this kernel. Indeed you have to be crazy to try it as I have zero experience at this! You also might want to read this before you try setting SELinux=permissive:

http://en.wikipedia.org/wiki/Security-Enhanced_Linux

One more thing, while my preference is that an experienced dev make a kernel worthy of the N915T EDGE, I am open to suggestions to make some more modifications assuming the request are somewhat consistent with the philosophy of LLFK.

Thanks to [MENTION=3069919]jimmydene84[/MENTION] for boot.img and [MENTION=2718324]deeznutz1977[/MENTION] for testing!

Don't forget to do a full back up! Good luck!

Kernel Download link: For SELinux=Permissve option only

http://www.4shared.com/archive/oH5fE053ba/llfk_permissivetar.html