[Galaxy S 5 Original Android Development] MEHDIMYADI:
[KERNEL] [G900H] [TW 5] KIAN KERNEL v1.0 OC 1.5GHz & 2.0GHz & 600MHz [2015/30/10]

Hi,

I began to develop kernel for G900H, Works fine.

[IMG="http://up.vbiran.ir/uploads/26654144715554515612_attachment.png"]http://up.vbiran.ir/uploads/26654144715554515612_attachment.png[/IMG]

[MENTION=5058776]gelarman[/MENTION] see POST​

Contributors

[MENTION=1897326]googy_anas[/MENTION] , [MENTION=6334815]zparallax[/MENTION] , [MENTION=2715252]MEHDIMYADI[/MENTION]

[THANKS] to all devs on XDA and the great XDA team

Kernel Features:

Build with Linaro GCC 4.9.4

Based on last kernel source

Based on Linux kernel version 3.10.9

Add LED control

Enable unaligned capability for ARM

ARM: topology: Adjust efficiency ratio for Exynos5422

get_random_int to fix entropy depleting

Block: Reserve only one queue tag for sync IO

Enforce neon-vfpv4

Added Busybox last version

Char_random tweak

Add CPUFREQ_RELATION_C and use it

little tweak to correctly restore min/max policies

Make sync satisfy many requests with one invocation

LZO decompression speedup on ARM by using unaligned access

Enable/Disable logger via sysfs

media & video codec tweaked

Schedule mmc on idle CPU

Fix inaccurate accounting for real-time task

SELinux: Avoid enabling enforcing by conventional flag

SELinux: hard permissive

Add wolfson sound engine

Don't update idle time if cpu offline

Fix race that cause writeback hung

Enable UNALIGNED_ACCESS

Enable ondemand

Optimized ARM RWSEM algorithm

Fix compat msgrcv with negative msgtyp

Network Speed Tweak

Fix potential memory leak

add support for LZ4-compressed kernel

Add Force Fast Charge

Enabled ARMV7 COMPAT

Implement KERNEL MODE NEON

Filter multicast packages while suspended

Add LZ4 support [Yank555.lu-LoungeKatt]

CPU unaligned access path

Add new routine cpufreq verify within cpu limits

Disable generic big.little + minor changes

Interactive: merge interactive governor from new G920F source

Create generic version of ablk_helper

Add ARM NEON implementation

Disable a lot of debugging

Disabling software CRCs (+30% Performance)

SPi CRC configurable

Fix compilation error due to frame size (usb_storage)

Fix DEBUG_SECTION_MISMATCH

Fix hsbadr_MultiSystem_Kernel

Fix memory leak in gpiod_sysfs_set_active_low

Fix dvfs problem

Implement CPU_GPU Clock & Voltage & Thermal controls

Close race between key lookup and freeing

Modem waketime change

Prevent bringing up new CPUs during per-CPU initialization

Optimize copy_page for modern ARM platforms

Optimized ARM RWSEM algorithm

Drecrease time to enter sleep

Remove + sign from kernel version

Optimize apply slack

Add userspace knobs for users to filter some common excesive...

Added several tweaks and several optimizations

....soon more feature and tweak

Changelog:

v1.0

LZ4 compressor and crypto modules updated

Optimized Wifi

Enabled INPUT_EXPANDED_ABS

Ported exynos nterface from Universal5410

Added a missing permission check to do_umount

Increased hash table size for better performance

Again drecrease time to enter sleep

Added new hook for userspace cortex-brain script

Selinux: Do not allow mode changes

SELinux: just shut up :D

add system wide power_efficient workqueues

and more ....

Enjoy!

older

v0.9

REVERT CPUFREQ_RELATION_C

REVERT merge interactive governor from new G920F source to stock

REVERT media & video codec tweaked

Increased default entropy settings to (512,2048)

Updates for Power Suspend

Optimized SLUB memory allocator

Ramdisk Tweaked

Optimized and Tweaked

v0.8

Rebased with last source (G900HXXU1BOG6)

Add security in-core xattr support

DEFAULT DVFS changed from 266 to 350

Full neon-vfpv4 support

Implement KERNEL MODE NEON

Added charger control

Enable mounting cifs drives visible to all apps

Increase booting freq to 1.5GHz

Now CPU Remember last policy min&max on cluster restart

Check cpuidle_enable_device() return value

Request based dm-crypt

Added powersuspend driver

Added display panel hooks for powersuspend

Now configurable android log buffer sizes

Added some validation of lvds values

Added Dynamic read ahead

Fixed potential memory leak in path_lookupat

Added a switch for fork migration on big domain

Added missing videodev2 exynos headers

Clear page active before releasing pages

Fix potential logical errors

Now you can change TEMP control for reduce performance for period of time [MENTION=710349]Stw[/MENTION]eak in MISC tab/TEMPERATURE CONTROL

REVERT GPU some tweak to stock

and more...

v0.7.2

Mistake frq in gpu fixed (677 MHz)

sorry:rolleyes:

v0.7.1

Revert again CPU min frq to 200mhz and work with interactive GOV, if you do not like, change it [MENTION=710349]Stw[/MENTION]eak and dont have music stutter problems in deep sleep :)

Overclock GPU to 600MHZ

Tweaked again

Note: The first boot after flash this kernel speed may be lower, The problem only for the first time and then enjoy a lower battery consumption.

v0.7

LMK Tune up

Improve 3x faster integer sqrt

Now arch_power & gentle fair sleepers switchable [MENTION=710349]Stw[/MENTION]eak

Ported HOTPLUG_THREAD_STOP from N920F

Fixed a potential memory leak

Fixed an issue that FACS initialization is performed twice

Fixed footbridge clockevent device

Set LCD {0,1} enable lines when turning on CLCD

Fixed frequency typos

Fixed sparsemem build

Fixed bio_integrity_verify segment start bug

Fixed gendisk reference leak

Use kmem_cache_free when freeing entry in inode cache

Allow clocksources to be selected earlier

Enabled CLEANCACHE & ZCACHE

Fixed the setting of PF_DUMPCORE

Raise CPU OC to 1.5GHz and for A57 to 2.0GHz (Greater frequency of this does not work)

Revert GPU OC

Fixed a bug in tree bucket decode

Sensorhub: reduce wakelock time

Fixed lookup_dcookie() parameter handling

Fixed parameter handling for compat readv_writev syscalls

Fixed the too small buffer for dname

Fixed 2 bugs in msgrcv() MSG_COPY implementation

Modify message queue accounting to not take kernel data

Wake up worker only when the worker is idle

Use slowpath for cross page cached accesses

Added missing curly braces

Don't wait for congestion when mem is high

Fixed swapoff hang after page migration and fork

Pass readahead info down to the i_o scheduler

Fixed lockdep splat

Fixed irq_work 'tail' recursion

Fixed memory corruption when retrying atomic copy

Fixed stack info leak in timer_create()

Revert "gpu: more changes to reduce lags"

Implement smarter wake-affine logic

Optimize find_busiest_queue()

Fixed inode security list corruption

Fixed incorrect AI range code handling

Fixed posix_acl_file_xattr_userns gid conversion

Fixed bad hashing of dentries

Allow rescuer thread to do more work

Fixed occasional slow sync

Fixed writeback cache thrashing

Fixed BUG when booting

Optimize Sfck Compression

v06.1

Optimize for non-rotational

Fix a race in elevator switching and md device initialization

Fix "unautorised actions are detected reboot your device for desintall them" error [ @ yanis488 ]

v0.6

Allow down to 200MHz

Decrease wakelock time to 250ms

Fix calculation of dirtyable memory

Fix race between dentry put and lookup

Remove cross-cpu IPI by new latency request

plug the memory leak

Reduce l2_hsic wakelocks by decreasing l2_delay to 200ms

Use correct size for sysctl timeout entries

O3, let's go full placebo

SELinux: Fix memory leak upon loading policy

WolfsonMicro WM5110 sound control now working [MENTION=1546289]googy[/MENTION]stweak

Tweak gpu clock

Selinux=permissive [MENTION=434273]boot[/MENTION]

MIN DIRTY THRESH PAGES increased

NTFS support

Unlock freq chipset to 1600MHz and 2400MHz ***Beware dangerous***

NOTE: First time then boot up phone with new kernel( v0.6) please install any cpu manager like 3C Toolbox and go to cpu manager change 1.6GHz to 1.3GHz

GPU OC steps to 677 MHz ***Beware dangerous***

NOTE: First time then boot up phone with new kernel( v0.6) please install any gpu manager like 3C Toolbox and go to cpu manager and press GPU tab change 677MHz to 480MHz

and Other changes ...

v0.5

Revert Some tweak for stability

Speedup WB_SYNC_ALL pass called from sync

Sync: don't block the flusher thread waiting on IO

fs_aio.c: Asynchronous I_O latency to a solid-state disk greatly incrased

Input-touchscreen Added input-booster event (from S6)

sched: Reduce overestimating rq->avg_idle

sched_deadline: Fix a precision problem in the microseconds range

v0.4.2

now stweak working but not fully, use it at cpu and gpu is RISK! to be careful

Busybox Fully Fixed

LED NOTIFI. Brighter

several tweaks and several optimizations for better performance with battery life

v0.4.1

Fixed Stweaks error (again say not fully work because not enough time)

Fixed Busybox

several tweaks and several optimizations for better performance with battery life

etc.

v0.4

Lag bug fixed

Ramdisk updated to G900HXXU1BOG6

Revert several mod for better performance

several tweaks and several optimizations

v0.3

Enabled ARMV7 COMPAT

Implement KERNEL MODE NEON

Filter multicast packages while suspended

Add LZ4 support [Yank555.lu-LoungeKatt]

CPU unaligned access path

Add new routine cpufreq verify within cpu limits

Disable generic big.little + minor changes

Interactive: merge interactive governor from new G920F source

Create generic version of ablk_helper

Add ARM NEON implementation

Disable a lot of debugging

Disabling software CRCs (+30% Performance)

SPi CRC configurable

Fix compilation error due to frame size (usb_storage)

Fix DEBUG_SECTION_MISMATCH

Fix hsbadr_MultiSystem_Kernel

Fix memory leak in gpiod_sysfs_set_active_low

Fix dvfs problem

Implement CPU_GPU Clock & Voltage & Thermal controls

Close race between key lookup and freeing

Modem waketime change

Prevent bringing up new CPUs during per-CPU initialization

Optimize copy_page for modern ARM platforms

Optimized ARM RWSEM algorithm

Drecrease time to enter sleep

Remove + sign from kernel version

Optimize apply slack

N O T E

googy Stweak not fully work! ( i'm working... or can you help me, please help me :) )

Fix

A. for wifi password issue

1- open build.prop
2- search ro.securestorage.support
3- change true to false

Version Information

Status: Stable

Current Version: 1.0

Release Date: 2015-30-10

Last Updated 2015-30-10

Created 2015-06-07

Source

Web Site

Kernel Source : soon.

How to Flash:

Please download Flashify from google play

1. Restart to recovery

2. Flash attached .zip file. (xxx - CWM.zip)

5. Clearing the dalvik cache

6. Restart to system

Enjoy!