[Galaxy S 4 i9500 Android Development] VoLTaqe:
Biggest update ever... I added hotplug control it save many life and electricity bill :) You have to wipe dalvik cache after flash and dont forget to reset synapse values on first open on synapse otherwise your phone reboot yourself. Make sure before change any governor setting or governor you have to back to stock Hotplug Cpu Up boost value otherwise your phone reboot yourself too. I think everything perfect now. AOSP SUPPORT need some fixes so i will publish later. By the way i research kernel files for offline charge and add some codes but still not working. When kitkat kernel source published it will do the same thing but not work this method on lollipop source. I will continue search correct way but i think samsung dont want offline charge on custom kernel and maybe he include this feature to bootloader. Say again i dont know but try many more method too. Dont promise you about offline charge sorry and enjoy with new kernel and phone ;)

Changelog 6.4

- Added UKSM and enabled by default

- Added cpu hotplug controls (synapse)

- Added tunable i/o section (synapse)

- Dynamic fsync control (synapse)

- Android logger disabled by default

- Multi core power control (synapse)

- Lcd power drain reduced (synapse)

- Make more scalable by doing less atomic operations

- Queue mutex spinners with MCS lock to reduce cacheline content

- Make scheduler aware of cpu frequency state

- Optimization for tcp

- Optimized SLUB memory allocator

- Added FIDTRIM support for ext4

- GENTLE_FAIR_SLEEPERS fixes

- Configurable android log buffer sizes

- Set logcat size to 256

- Speedup ext4

- Improved INT/MIF

- Disabled add_random for more performance on block

- Send events one packet at a time on input driver

- Optimized square root algorithm

- Added support for 2MB allocations on Gpu utulity

- Allowed clocksources to be selected earlier during boot

- Added sysfs entry for cdrom to LUNs

- Check for accessory device before disconnecting HIDs

- Fixed bad hashing of dentries

- Added a missing permission check to do_umount

- Added ARM NEON implementation

- Expose SHA256 generic routine to be callable externally

- Expose generic sha512 routine to be callable from other modules

- Sha512: add ARM NEON implementation

- Reduced the worst case latencies

- Passed readahead info down to the i/o scheduler

- CPU unaligned access path

- Fixed the too small buffer for dname

- Optimized memcpy for cortex-A15

- Reduced log level on wireless driver

- Clean up anycast when an interface is destroyed

- Corrected kernel panic when accessing wireless driver

- Make watermarks tunable separately

- Added a sysctl to make optimistic addresses useful candidates

- Removed compressed copy from zram in-memory

- Upstream fixes on tick

- Wake up worker only when the worker is idle

- Introduce timer slack controller

- Dynamic management of timer slack

- Reduced topology values

- Added sys kernel interface to configure linux printk logging

- Optimized apply_slack

- Sysctl support for key TCP/IP parameters

- Enabled Dynamic Dirty Writeback by default

- Reduced overhead of mls_level_isvalid() function call on SELinux

- Added security in-core xattr support

- Correctly label /proc inodes in use before the policy is loaded

- Fixed kernel bug on empty security contexts

- Reduced SELinux log level

- Fixed kmem_cache_shrink wrong return value

- Fixed format mismatches in slab_err callers on slub

- Unregister wakeup source when disabling device wakeup

- Fixed slow sync on writeback

- Reduced rx wakelock timeout via sysfs node

- Added support for bit sliced AES using NEON instructions

- Avoid sending medium write commands if device is write protected

- Avoid to access NULL pointer when write metadata in xattr

- Prevent HSM state change race between ISR and PIO

- Disabled I/O stats for reduce CPU overhead

- Remember last policy min/max on cluster restart

- Optimized cpufreq_frequency_table_verify

- Break out early if freq equals to target_freq

- Improve debug prints on cpu driver

- Add option to force audit on SELinux

- Reduced more latency

- Added new routines to cpu driver

- Avoid flushing all workqueues

- Sync ro remount after blocking writers

- Optimized memory allocation on block

Edit: Source updated on OP too.