Added New Sammy JB 4.2.1 Leaked release support! NEED testing!
Retuned kernel as Real Linux system. + MORE TNX Dorimanx!
discovered that if we use dirty_background_ratio more than 20
and dirty_ratio more than 20 , then transfering big file over usb
will SOD our device, we have low mem! so system push all to buffers
and kill the main service by OOM! game over.

i have set to 10 both values, transfered 700MB file on 11MB/s to storage
and using vmstat i seen that WA = disk utilization finished working when file was
trasfered, as expected! no delays no sods.
Finnaly Dorimanx have found how kernel.sched_ should be configured.

all that set in values is X2 in real tuning!
also the order is very important.

and sched_rt_runtime_us has to be 95000 default!
fixed stock on boot! (syntax error)
cleaned not used functions
synced ksm control with Dorimanx SGSII cortexbrain script
Revamped and hopefully final version of mDNIe controls:

    The controls work now on two levels: First we have a master sequence that overrides any and all of Samsung's settings; currently this version is released without calibration, however in the next minor version it will be updated with proper professional screen calibration. See the Note 2 thread to see what to expect here too. The master sequence is calibrated to sRGB norms on a precision level equalling and even surpassing the iPad3/4.

    The master sequence works as as the calibrated base; for people not wanting to bother further with any more controls, you simply enable this and you're done.

    Second part is the register hook, it catches effect values and modifies them by applying delta values available as controls in STweaks and in /sys/class/misc/mdnie/hook_control/.

    Leaving both these options will give you Samsung's default values, plus the black crush fix.

    The register hook, while used on Samsung's profiles, is not capable to alter effects which are not integrated in that screen profile's value sequence, the "Movie" profile for example lacks some effects present in the "Dynamic" profile. The same is valid when having different scenarios, the "Camera" scenario will use different effects in its base than the "UI" scenario. To fully explore all possible effects, use the Master profile as it integrates all effect values known.
    Each control has a master kill-switch which enables or disables the effect. This varies by profile and scenario, so you have control to only "toggle" the switch, whatever its state may be in.
    Digital noise reduction - Reduces and flattens out grain. Advanced controls are found in the hook_control folder with the dnr_ prefix.
    High dynamic range - A HDR effect which brings out details in dark and extremely bright scenes.
    Digital edge enhancement - An edge enhancement effect. What we previously called "sharpening". Divided in controls for radius, amount and threshold. Read the Wikipedia page for more information. More advanced controls found in the sysfs under the de_ prefix.
    For the above three effects, scenario consideration is taken into account. You can enable/disable them depending when you want it to be applied. Please be aware only the stock applications trigger the scenarios. I will try to enable at least the video scenario depending on when the hardware decoder is active in the future so that they are enabled also in third-party video players.
    Chroma saturation control - Same as in previous version but with fixed labels.
    Colour temperature control - By default this is disabled on all profiles, however, if your screen has a tint to it, this is the first control you should try to fix as it alters temperature on all channels.
    The SCR controls are colour channel filters working on the Red, Green, Blue, Yellow, Cyan, Magenta, White, and Black channels.
    Imagine the controls as manipulating the corners of the RGB cube:

    (Credit to Wikipedia for the graphic)

    By controlling the RGB coordinates of each corner/channel we can mould the cube into a different shape. At the same time the cube is projected onto a hexagon; the perimeter of the hexagon represents the colour hue, the radius of the hexagon from the middle represents chroma. We can use the chroma saturation controls to "push in" each corner of the cube, while moulding the corner's directions with the RGB controls. The RGB coordinates can be transformed into the HSL space space if needed, however I didn't include this function yet as I don't feel the need for it.

    STweaks has controls for the RGBYCMW channels, the K (Black) channel I left out because it makes no sense in altering it, but can be found in the sysfs folder.
    Several controls have a "factory setting" switch, this are the burned in-hardware values for some controls, they overwrite the controls themselves.
    Additionally to the controls exposed to STweaks, there are several other effects and modifiers exposed in the sysfs interfaces. This also includes the gamma curve controls for levels 0-255 in steps of 16.

    There are also some additional unidentified configurables which I wasn't able to properly give a name to or had no effects: Dithering, ABC (Seems to give a gamma brightness boost), SCC, UC, and MCM (Colour temperature) configurables whose exact effect isn't documented.
fixed postinit.sh not started on Sammy 4.2.1 boot
profile fixing
remove new line
updated mdnie-control configuration
remove "No newline at end of file"
synced my default profile settings
added mobile network on / off at cron + some optimize
Merge remote branch 'halaszk/master'