[Galaxy Note 10.1 (2014 Edition) Android Developmen] oneleft.ak:
Intro-

This is the stock kernel for the T-Mobile SM-P607T Samsung Note 10.1 (2014 Edition) with the following additional features:

Multiple flavors for SELinux preference

CIFS kernel support

NFS kernel support

Force Fast Charge support

Download Options-

Enforcing ONLY - http://files.zpivot.com/sm-p607t/p607t-zstock-kernel-enforcing-only-1.2.37.tar.md5

SELinux stock behavior, always enforcing

Permissive OPTIONAL - http://files.zpivot.com/sm-p607t/p607t-zstock-kernel-permissive-optional-1.2.37.tar.md5

SELinux mode can be change with setenforce command

Permissive ONLY - http://files.zpivot.com/sm-p607t/p607t-zstock-kernel-permissive-only-1.2.37.tar.md5

SELinux always permissive

Install-

Reboot into download mode

Open ODIN

Add the kernel file downloaded from link above to AP section

Click start!

How to mount cifs/smb shares-

REQUIREMENTS:

root

busybox

ability to read and follow directions

custom kernel with cifs support (ie the kernel above)

INSTRUCTIONS:

Open a terminal emulator or adb shell

su

mkdir /mnt/shares/*share_name*

busybox mount -t cifs -o username=guest,unc=\\\\*server_ip*\\*share_name*,ip=*server_ip* *server_ip*/*share_name* /mnt/shares/*share_name*

NOTES:

Make sure you replace *server_ip* in the instructions above with the ip address of your server, and *share_name* with the name of your shared folder.

You must mount your shares outside of /storage and /mnt/sdcard for all applications to have access. I have provided a public tmpfs for creating mount points at /mnt/shares.

---Your samba share will now be accessible by all programs/apps under the /mnt/shares directory on root.

How to use Force Fast Charge-

DISPLAY FORCE FAST CHARGE INFO:

Open a terminal emulator or adb shell

cat /sys/kernel/fast_charge/info

ENABLE FORCE FAST CHARGE MODE:

Open a terminal emulator or adb shell

su

echo 1 > /sys/kernel/fast_charge/force_fast_charge

SET CUSTOM FORCE FAST CHARGE LEVELS:

Open a terminal emulator or adb shell

su

echo 2 > /sys/kernel/fast_charge/force_fast_charge

echo 1000 > /sys/kernel/fast_charge/usb_charge_level

echo 2100 > /sys/kernel/fast_charge/ac_charge_level

NOTES:

Force Fast Charge will be disabled by default

When setting custom levels for usb and ac force fast charge, use one of the available values listed when using the display info command above (in the examples I used the max values)

Additional info:

/*
* Forced Fast Charge - SysFS interface :
* --------------------------------------
*
* /sys/kernel/fast_charge/force_fast_charge (rw)
*
* 0 - disabled (default)
* 1 - substitute AC to USB
* 2 - use custom mA configured through sysfs interface (see below)
*
* /sys/kernel/fast_charge/ac_charge_level (rw)
*
* rate at which to charge when on AC (1.0A/h to 2.1A/h)
*
* /sys/kernel/fast_charge/usb_charge_level (r/w)
*
* rate at which to charge when on USB (0.460A/h to 1.0A/h)
*
* /sys/kernel/fast_charge/wireless_charge_level (r/w)
*
* rate at which to charge when on WIRELESS (0.650A/h to 1.2A/h)
*
* /sys/kernel/fast_charge/failsafe (rw)
*
* 0 - disabled - allow anything up to 2.1A/h to be used as AC / USB custom current
* 1 - enabled - behaviour as described above (default)
*
* /sys/kernel/fast_charge/ac_levels (ro)
*
* display available levels for AC (for failsafe enabled mode)
*
* /sys/kernel/fast_charge/usb_levels (ro)
*
* display available levels for USB (for failsafe enabled mode)
*
* /sys/kernel/fast_charge/wireless_levels (ro)
*
* display available levels for WIRELESS (for failsafe enabled mode)
*
* /sys/kernel/fast_charge/version (ro)
*
* display fast charge version information
*
* /sys/kernel/fast_charge/info (ro)
*
* display complete fast charge configuration in human readable format
*
*/

Changelog

v1.0 - Initial release

v1.1 - Added Enforcing only version (build 21)

v1.2 - Added Force Fast Charge support (build 37)

Thanks/Credits-

mkasick - CIFS/NFS empty mount patch - http://xdaforums.com/showthread.php?t=2106480

blue cat - permissive only patch - http://xdaforums.com/galaxy-note-10-2014/development/kernel-stock-selinux-permissive-kernel-t3232814

chad0989 - force fast charge initial work - http://xdaforums.com/galaxy-nexus/verizon-develop/kernel-patch-devs-force-ac-fast-charging-t1524020

faux123 - force fast charge extensions

yank555-lu - force fast charge note 3 port
​