[Galaxy Note5 Original Android Development] gundal:
Woot let the fun begin!

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

Note: I take no responsibility for any damage YOU do to your device.

If you have the hong kong 9200, this will be compatible!

This device uses a exynos7420 processor and Qualcomm modem unlike most other variants of the Note 5

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

If you flash this kernel and are using it daily please do me a small favour and post here that it's working for you, knowing more people are actively using this will prompt me to release more often.

nobleltehk n9200 dual sim kernel built from n9200ZHU1AOI1 sources

##################################################

and as of Dec 10th 2015.. i've released n9208 version!! based on OKA sources (tested on OJ3 rom)

##################################################

Old Project with SELinux Permissive hardcoded

Version 1.0 -roots device, installs supersu & synapse, sets selinux to permissive

(*) Version 1.1 - adds exynos universal power controls for undervolting, hpm auto adjusting voltages and power optimizations

(X) Version 1.2 - Apollo is now underclocked to 200mhz and overclocked to 2000mhz, Atlas is overclocked to 2.5ghz. Both allow undervolting to 400mv (probably unstable for everyone but the ability is there.. I run a53 200mhz at 475mv) (this version will bootloop unless you have a synapse config saved to lower the max frequencies allowed)

(*) Version 1.3 - Fixed issue with interactive governor scaling to unsupported overclocked frequencies,

the kernel now sets the default shipped frequencies to the interactive governor upon reboot. If you override in Synapse then it will override those upon boot.

Enabled the following governors: Conservative, Ondemand.

Synapse can now change governors on both cpus.

(B) Version 1.4 - updated busybox, removed conservative and ondemand governors (interactive is what you want to use, as it fully utilizes the big.Little architecture), returned governor frequency policy to stock settings, but still generate the full freq and volt_table to all under/overclocking that was supplied in sources. Some optimizations to power scheduling, changed ramdisk compression to lzo.

(X) Version 1.5 - removed kernel is not SEANDROID enforcing message on boot, added row scheduler, set row to default I/O scheduler, synapse can override this.

I am starting this project over... thanks to [MENTION=336863]garyd9[/MENTION] for the Enforcing with root threads that prompted me to do so. :good:

Changelog:

(*)Version 1.0-Enforcing

REBASE kernel back to OI1 Sources

RETAIN SELinux Enforcing by patching sepolicy with SuperSU-2.49 -- thanks to [MENTION=631273]Chainfire[/MENTION] for his work on su/sepolicy

ROOT system by installing SuperSU-2.52

100% Stock Samsung compiled kernel with ramdisk modifications to fstab, sepolicy, init, /res and /sbin, and init.rc fix deep sleep service call

Adds Synapse for configuration of options

(*) Version 2.0-Enforcing

adds exynos universal power controls for undervolting, hpm auto adjusting voltages and power optimizations

CPU Frequency range for Apollo 200mhz-2000Mhz

CPU Frequency Atlas 800mhz-2496Mhz

CPU Voltage range for Apollo 400mV-1175mV

CPU Voltage range for Atlas 450mV-1125mV

Adds row as scheduler

Adds support for tweaking Memory, I/O

Tweakable Cache Scrolling

SELinux Toggle built into Synapse(every boot reverts to Enforcing)

Kernel default.prop uses FHA instead of DHA (remove any dha line you have from build.prop)

EDIT: After 45+ hours (chose to reboot at 70 hours to continue flashing) of -100mv undervolt and 2.4ghz overclock (actually in use) I am very happy to mark 2.0 stable :D

(*) Version 2.2-Enforcing

2.2 changes only two things, it fixes the backup/restore profile bug and it reverts the MDNIE controls because you couldn't select anything but adaptive with 2.0

Installs sqlite3 to /system/bin

Modifies all the ramdisk scripts to give the end user the option on his implementation of busybox while still retaining all functionality for users who just flash and go.

In other words... busybox is installed with the kernel on each boot to /sbin however all kernel features that are loaded by script attempt to check for /system/xbin/busybox and /system/bin/busybox.

If you want to use an alternative version of busybox, just install it to /system/xbin or /system/bin and the kernel will stop using the /sbin busybox and use your custom installed one (do not have the busybox application remove the version of busybox in /sbin on each boot)

(B)Version 2.3-Enforcing

optimizations to battery efficiency, CPUIdle, hmp task packing, c-state residency

lz4 compression added, zswap is lz4 compressed

note* 2.3 will say 2-2 in Synapse as I forgot to update it there, you can confirm you are on 203 by looking in About > Device > Software Version > Kernel Version, I always set the build # to equal the version num. 2.0 was #200 2.1 was 201 3.5 will be 305, as only a valid number is allowed in this field.

(B)Version 2.4-Enforcing

Added Arizona Audio Controls in Synapse

The controls use the audio SoC's integrated hardware equalizers to allow fine tuning of the headphone jack port, per channel

Fixed a bug (in the installer) where if you already had SuperSu installed on your system (regardless of version) it would not update it, and thus not boot for anyone who has SuperSu version < 2.52/ The install script now does an md5 on supersu if it finds it and installs if it doesnt match the official 2.52beta supersu.apk

(B)Version 2.5-Enforcing

Install Instructions:

Install TWRP or other recovery

Flash Kernel

If you have never flashed my kernel or an selinux enforcing kernel then flash

SuperSU 2.52 or newer found here

Fixed bugs related to users who havent rooted yet

Fixed bugs related to busybox and uci

CONFIRMED: Working with OJ9 Bootloader and System

(*)Version 3.0-Enforcing

Install Instructions:

Install TWRP or other recovery

Flash Kernel

If you have never flashed my kernel or an selinux enforcing rooted kernel then flash

SuperSU 2.52 or newer found here

Changelog:

Patched Linux from 3.10.61 -> 3.10.92

Fixed all compile-time issues with the linux paths and there was lots

Add a few commits related to Kernel cpuidle and power management

3.0 is marked stable.

(B)Version 3.1-Enforcing

Install Instructions:

Install TWRP or other recovery

Flash Kernel

If you have never flashed my kernel or an selinux enforcing kernel then flash

SuperSU 2.52 or newer found here

Changelog:

Dynamic FSYNC

Added Frandom Char generator

Recovered 2megs of space in the kernel so now:

we are able to use LZOP compression for the ramdisk which decompresses faster during boot

the busybox included with the kernel is all you need, can still choose to ovverride busybox if needed

HMP optimizations

3.1 is released, OJ9 sources were released by samsung overnight rebase will happen for next release

(B)Version 3.5-Enforcing

Changelog:

Rebased kernel onto N9200ZHU2OJ9 sources. VERY happy to see this source delivered to me by samsung OSRC in record time, 4 days.. from my request to receipt of request (next day) and then downloadable it took me over a month to get the canadian s6 sources... and two weeks for them to even acknowledge so.. this is huge, and the fact that we are already on J9, n9200hk firmware release has been steady released every month (Aug was OH4, Sep was OI1 and Oct was OJ9) for samsungHK :D so as for rumors I have previously read that said this phone wasn't getting support.. it appears very much otherwise.

Enabled DNS resolve support

Enabled WiMAX broadband support (untested yet but my provider definitely supports the boosted speeds and I noticed they were gone so im pumped to see this was default disabled)

Enabled Bluetooth HIDP protocol

Enabled Bluetooth BNEP protocol (pan network)

Enabled Bluetooth usb support

Atheros Firmware downloader to upgrade Bluetooth chipset

CAN bus support for hooking up directly to an OBD port of a vehicle

Enable FM RADIO

Enable support for usb mice(and apple magicpad), usb dongle keyboards, and gamepads (logitech, microsoft sidewinder and xbox) to be used on phone with usb

Enable using your phone touchscreen as a mouse for your computer

Enable MHL hdmi over usb driver && MHL HDCP

Enabled support for USB DisplayLink drivers for external usb videocard to export to another monitor

Enabled VIRTUAL SOCKET SUPPORT!! aka allows your phone to be seen by hypervisor and or v/ms when plugged into usb

<-- woot, now I can use adb directly from my ubuntu vm :D

Enabled many TCP algorithms

Attempting to enable additional nfc protocols (maybe secure nfc and encrypted nfc support) may also break nfc.. TESTING

Enabled USB OTG Mode

(*) denotes stable version (I won't mark it stable until my daily driver goes a full 24 hours without a reboot with my undervolted underclocked configuration)

(B) = Beta version, pending feedback

(X) = bugged version (zip should be removed)

(WIP) = work in progress, eta TBD

Order of busybox utilized by Kernel

If /system/xbin/busybox exists this is used over /sbin.

If /system/bin/busybox exists this is used over /sbin.

If /system/bin AND /system/xbin contain a busybox the kernel will use the /system/bin/busybox

If for any reason Synapse stops working or any other undesirable effects are noticed once you install a custom busybox just remove it and reboot, the /sbin busybox will take over again.

**please note: You need to install a custom busybox that contains the tar applet (to system/bin or system/xbin)

Using the backup profile tab:

Taking a backup:

1. Open the tab, type memorable name into the Profile/Config Name: I used neg100

2. Hit checkmark up top to apply that name.

3. Hit Backup Current Profile

4. Get a message about tar file being created

5. Reboot your phone to make it show up in the list.. (not necessary until you want to restore)

6. Synapse will now display that new tar in the list of backups

Restore profile:

1. Open the backup profile tab, select your newly added tar file in the selected profile section (first one)

2. Press checkmark to apply the selection

3. Hit restore selected profile

4. Unfortunately Synapse has stopped (THIS IS EXPECTED)

5. Reopen Synapse

6. You will now notice that (similar to a 2 min reboot, or restoring the values to default) a bunch of the settings have temporarily been changed and Synapse gives you the option to hit X (and keep your BACKUP RESTORED SETTINGS) or push Checkmark and keep the settings you had BEFORE you restored the backup in.

7. :D

XDA:DevDB Information

GuNDaL's Kernel, Kernel for the Samsung Galaxy Note 5

Contributors

gundal, AndreiLux, arter97, chainfire, UpInTheAir, Xialou every other xda kernel dev

Source Code: https://github.com/gundal/nobleltehk.git

Kernel Special Features:

Version Information

Status: Beta

Current Stable Version: 3.2

Stable Release Date: 2015-10-31

Current Beta Version: 3.5

Beta Release Date: 2015-11-03

Created 2015-10-07

Last Updated 2015-10-12

XDA:DevDB Information

GuNDaL's Kernel, Kernel for the Samsung Galaxy Note 5

Contributors

gundal, AndreiLux, arter97, xialou, faux123, UpInTheAir, every other xda kernel dev, sammy

Source Code: https://github.com/gundal/nobleltehk.git

Kernel Special Features: [Stable] [Efficient] [Fast] [Smooth] Underclocked A53, GPU, Overclocked A53, A57, GPU, Voltage controls for: A53,A57,GPU,BUSSES. Synapse with backup and restore settings

Version Information

Status: Stable

Current Stable Version: 3.5

Stable Release Date: 2015-12-10

Current Beta Version: 4.0

Beta Release Date: 2016-01-01

Created 2015-10-10

Last Updated 2015-12-10