[Kernel][ION][CM11] Just Another... Stage 7.3 (18/12/2014)

Search This thread

tycoo

Senior Member
Sep 5, 2013
582
627
XBerg36
JUST ANOTHER KERNEL for Cyanogenmod 11.0 (unofficial)


Hi friends,

i had some fun the last weeks succesfully compiling a kernel on my own.
But because of my lack of knowledge how to improve the kernel further and the things are getting more and more complicated, i decided to stop my efforts for now.
Nevertheless i like to share my work with you and you are free to test the kernel and comment, if it is working fine for you as well. All kernel developers are free to have a look into my github and watch for maybe something useful to pick up for their work too:

GitHub

Credits & thanks goes to:
arco68, christopher83, AriesVE-DevCon-TEAM, hurtsky, madridii, lafactorial, arsradu, leroviten, sir mordred, all other authors you can see in the commits in my kernel branch, all friendly guys in the community who continuously delivering a lot of useful tools and tutorials for kernel development, and last but not least all participating users who keep this forum for the GALAXY Wonder alive!


-------

Main and common features, seen in the other kernels already:

- compiled with Linaro GCC 4.8.4-2014.11 Toolchains optimized for Cortex-A8 - by Christopher83
- O3 Optimization & NEON VFP compilation flag
- Governors: interactive default, conservative, lulzactive, interactiveX, ondemand, ondemandX, powersave, smartassV2, performance
- I/O schedulers: cfq default, noop, vr, sio, row, bfq, fiops, deadline
- Lowered display panel voltage
- Lowered wifi voltage
- Lowered vibetonz voltage
- Increased audio loudness
- Battery Life eXtender support
- Fast Charge support
- CPU voltage control VDD sys interface / Overclockable up to 1.8 GHz
- Increased cpu freq. on boot
- Fast Random generator (frandom)
- Dynamic management of the minimal timer slack value
- Dynamic management of dirty page writebacks
- Dynamic FSync v1.2
- msm: memutils: memcpy, memove optimization
- Disabled Gentle Fair Sleepers for better UI performance
- Optimized AES and SHA1 routines for ARM cpu architecture
- exFAT support
- LowMemoryKiller management of not killable processes


Additionally i experimented with some new stuff, hopefully trying to improve the memory management:

- MM patch bomb, regarding vmscan, compaction, page_writeback, oom_kill, slub,...
- new small and naive hashtable implementation
- red-black tree implementation & changed lowmemorykiller behaviour
- some miscellaneous updates


Highlight feature:

- fast lz4 compressed zram

Attention:
  • Zram will be set to a high size via init script provided by @ktulu84. Thank you.
  • Some do not kill processes for the 'LowMemoryKiller management of not killable processes' will be set via init script too. Credits to Christopher83 again.
  • To disable the zram script and use the default rom value again, just remove the file 'zram_high' placed in the folder '/system/etc/init.d/'.
  • Or just install latest Performance Control 2.2.4 by h0rn3t for easy control of the values. Recommended.
  • Disabling zram via performance control will delete the max_comp_streams setting. Before restart i recommend to open terminal emulator and enter the following commands:
    su
    echo 8 > /sys/block/zram0/max_comp_streams

Explanation for these changes:

In my experience the new lz4 compressed zram does a good job for very high memory demanding system configurations.
The i/o speed will possibly decrease, but in my understanding you will benefit due to the fact, that most processes can be swapped now faster and are not forced to be closed & have to restart later again.


-------

Disclaimer: You're installing this at your own risk. Please, make nandroid backups before installing any of these kernels. I take no responsibility for damaging your phone.


Kernels - based on new KK2.7 CAF-Branch provided for samsung msm7x30 devices by Christopher83 & arco68:

Should work with all roms based on arco's latest unofficial CM11 from 20141029 and 20141210:

18/12/2014 JAKStage7.3_UV_416MB_3.4.105+inittweaks

11/11/2014 JAKStage7.2_UV_416MB_3.4.104+inittweaks


Old Kernels, not recommended anymore:

21/08/2014 - For now only for DCM 2014/08/18 HOVER-HALO-PIE-PEEK

JAKStage7_UV_416MB_3.4.103_dcm

25/07/2014 - For Cyanogenmod 11.0 (20140721-UNOFFICIAL):

JAKStage6.3_416MB_UV_3.4.99

JAKStage6.3_396MB_UV_3.4.99
For Cyanogenmod 11.0 (20140704-UNOFFICIAL):

JAKStage6.2 - 3.4.96

JAKStage6.2_HM - 3.4.96

JAKStage6.2_VHM - 3.4.96

-------

JAKStage6.1-UV-HM_407MB - 3.4.95

JAKStage6_UV_HM407MB - 3.4.94

Kernels - based on CM-ancora/samsung-kernel-msm7x30 = AriesVE-DevCon-TEAM kernel source (cm-11.0_old):

JAKStage5.3 - 3.4.92 for ParanoidAndroid 4+ [Beta1 4.4} & [4.4 RC1] / Cyanogenmod 11.0 (20140528-UNOFFICIAL) possibly works better together with the new adreno libs / DCM 4.2 2014/06/11 atm not tested but should work, plz reply

JAKStage5.3 - 3.4.92 - TRIM support for ParanoidAndroid 4+ [Beta1 4.4} & [4.4 RC1] / Cyanogenmod 11.0 (20140528-UNOFFICIAL) possibly works better together with the new adreno libs / DCM 4.2 2014/06/11 atm not tested but should work, plz reply CAUTION: Before installation read this thread first! Questions regarding the TRIM feature plz post there as well.


Kernels - based on arco/samsung-kernel-msm7x30 (cm-11.0_old):

JAKStage5 - 3.4.91 for DarkCM [19/3-Beta3] / CyanogenMod 11.0 20140122 until 20140413 (unofficial), not entirely tested but should work

JAKStage5.1 - 3.4.91 for CyanogenMod 11.0 (20140528-UNOFFICIAL)

JAKStage5.1 - 3.4.91 - TRIM support introduced by sir mordred for CyanogenMod 11.0 (20140528-UNOFFICIAL) CAUTION: Before installation read this thread first! Questions regarding the TRIM feature plz post there as well.

Installation:

  1. flash the kernel
  2. wipe cache partition
  3. wipe dalvik cache
  4. reboot twice and enjoy

Have fun

XDA:DevDB Information
Just Another Kernel , Kernel for the Samsung Galaxy W I8150

Contributors
tycoo
Kernel Special Features:

Version Information
Status: Stable

Created 2014-06-03
Last Updated 2014-12-24
 

Attachments

  • Screenshot_2014-06-03-21-16-25.png
    Screenshot_2014-06-03-21-16-25.png
    89.2 KB · Views: 1,469
  • Screenshot_2014-06-03-21-15-23.png
    Screenshot_2014-06-03-21-15-23.png
    70.8 KB · Views: 1,736

tycoo

Senior Member
Sep 5, 2013
582
627
XBerg36
Reserved

Changelog

JAKStage7.3_UV_3.4.105+inittweaks (18/12/2014)

- compiled with Linaro GCC 4.8.4-2014.11 Toolchains optimized for Cortex-A8 - by Christopher83
- Kernel 3.4.105
- apllied latest changes by arco68
- BLX probably fixed
Code:
- Fix previous kernel/fork.c mismerge (Credits to tycoo)
- introduce for_each_thread() to replace the buggy while_each_thread() (Credits to Oleg Nesterov)
- prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID. (Credits to Ruchi Kandoi)
- prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of an arbitrary thread. (Credits to Ruchi Kandoi)
- Revert "Add PR_{GET,SET}_NO_NEW_PRIVS to prevent execve from granting privs" (Credits to Arne Coucheron)
- Revert "Fix execve behavior apparmor for PR_{GET,SET}_NO_NEW_PRIVS" (Credits to Arne Coucheron)
- Revert "prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of an arbitrary thread." (Credits to Arne Coucheron)
- Revert "prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID." (Credits to Arne Coucheron)
- tracing/syscalls: Ignore numbers outside NR_syscalls' range (Credits to Rabin Vincent)
- tracing/syscalls: Fix perf syscall tracing when syscall_nr == -1 (Credits to Will Deacon)
- Revert "Properly fix the 100% battery notification after charger unplug" (Credits to tycoo)
- Revert "futex: Unlock hb->lock in futex_wait_requeue_pi() error path" (Credits to tycoo)
- Squashed update of kernel from 3.4.104 to 3.4.105 (Credits to Cristoforo Cataldo)
- ksm: check and skip page, if it is already scanned (Credits to Pradeep Sawlani)

JAKStage7.2_UV_3.4.104+inittweaks (11/11/2014)

Code:
- Revert mm/shmem.c. & mm/truncate.c changes applied in Kernel update 3.4.100 (Credits to tycoo)
- ksm: check and skip page, if it is already scanned (Credits to Pradeep Sawlani)
- OOM, PM: OOM killed task shouldn't escape PM suspend (Credits to Michal Hocko)
- mm, oom: fix race when specifying a thread as the oom origin (Credits to David Rientjes)
- mm: compaction: compact zones on FB_BLANK_NORMAL (Credits to Ethan Chen)
- mm: compaction: do suspend compaction in workqueue (Credits to Yuan Jiangli)
- compact all zones on earlysuspend (Credits to Igor Kovalenko)
- mm: compaction: disable compaction deferring (Credits to Yi-wei Zhao)
- mm: compaction: compact normal zone (Credits to Yi-wei Zhao)
- Revert "ARM: 7493/1: use generic unaligned.h" (Credits to Cristoforo Cataldo)
- Revert "freezer: shorten freezer sleep time using exponential backoff" (Credits to Arne Coucheron)
- msm: Remove PMEM dependency for MSM7KV2_AUDIO (Credits to Michael Bestas)
- msm: Remove all references to CONFIG_ANDROID_PMEM (Credits to Laura Abbott)
- msm: kgsl: Remove all reference to CONFIG_ANDROID_PMEM (Credits to Laura Abbott)
- touchscreen: ancora: Add INPUT_PROP_DIRECT flag (Credits to sirmordred)
- msm: camera: Replace idle wakelocks with pm_qos (Credits to Arne Coucheron)
- cma: Return 0 on error path (Credits to Laura Abbott)
- cma: Allow option to use strict memblock_reserved memory (Credits to Laura Abbott)
- ion: tracing: add ftrace events for ion allocations (Credits to Liam Mark)
- mm: Add NULL check before de-referencing vma (Credits to Bharat Nihalani)
- mm/compaction: respect ignore_skip_hint in update_pageblock_skip (Credits to Joonsoo Kim)
- mm: failslab: Add support to force slab alloc failures based on size. (Credits to Krishna Reddy)
- arch: mm: do not invoke OOM killer on kernel fault OOM (Credits to Johannes Weiner)
- msm: kgsl: cleanup mismerge (Credits to Arne Coucheron)
- crypto: lzo - try kmalloc() before vmalloc() (Credits to Eric Dumazet)
- crypto: arm-aes - fix encryption of unaligned data (Credits to Mikulas Patocka)
- initrd: fix lz4 decompress with initrd (Credits to Yinghai Lu)
- lz4: Sync up with latest version (Credits to Pranav Vashi)
- Staging: android: timed_gpio.c: improved logic of gpio_get_time() (Credits to Murilo Opsfelder Araujo)
- eventpoll: fix uninitialized variable in epoll_ctl (Credits to Nicolas Iooss)
- Revert "epoll: use freezable blocking call" (Credits to Rafael J. Wysocki)
- futex: Make unlock_pi more robust (Credits to Thomas Gleixner)
- mm: do not sleep in balance_pgdat if there's no i/o congestion (Credits to Zlatko Calusic)
- Revert "kswapd: Introduce congestion_wait_kswapd" (Credits to tycoo)
- mm: fix prctl_set_vma_anon_name (Credits to Colin Cross)
- fs: fuse: Add replacment for CMA pages into the LRU cache (Credits to Laura Abbott)
- ARM: 7493/1: use generic unaligned.h (Credits to Rob Herring)
- defconfigs: Disable exFAT kernel driver (Credits to Arne Coucheron)
- fs: exfat: Make optional (Credits to Arne Coucheron)
- Squashed update of kernel from 3.4.103 to 3.4.104 (Credits to Cristoforo Cataldo)
- fm_si4709: samsung jb updates *GT-I9100 sources (Credits to Gottardo Stefano)
- mutex: Make more scalable by doing less atomic operations (Credits to Waiman Long)
- defconfigs: Updated defconfigs (Credits to sirmordred)
- fsa9480: corrected charging through USB 3.0 port also removed trailing spaces and some cleanups (Credits to Gottardo Stefano)
- Revert "defconfig: Disable FM radio" (Credits to tycoo)
- selinux: Fix Kernel panic due to NULL pointer dereference (Credits to Satya Durga Srinivasu Prabhala)
- selinux: call WARN_ONCE() instead of calling audit_log_start() (Credits to Richard Guy Briggs)
- mm: compaction: detect when scanners meet in isolate_freepages (Credits to Vlastimil Babka)
- mm: compaction: reset cached scanner pfn's before reading them (Credits to Vlastimil Babka)
- mm: compaction: do not accidentally skip pageblocks in the migrate scanner (Credits to Mel Gorman)
- ashmem: avoid deadlock between read and mmap calls (Credits to Todd Poynor)
- staging: android: ashmem: Avoid deadlock with mmap/shrink (Credits to Laura Abbott)
- staging: android: ashmem: get_name,set_name not to hold ashmem_mutex (Credits to Shankar Brahadeeswaran)
- Revert "ashmem: avoid deadlock between read and mmap calls" (Credits to tycoo)
- Revert "staging: android: ashmem: Avoid deadlock with mmap/shrink" (Credits to tycoo)
- Revert "[media] v4l2: vb2: one more fix for REQBUFS()" (Credits to Marek Szyprowski)
- videobuf2-core: Avoid locking userpages if no current->mm (Credits to Deva Ramasubramanian)
- Revert "[media] videobuf2-core: Use current->mm_active when locking USERPTR" (Credits to Deva Ramasubramanian)
- v4l2-ioctl.c: handle PREPARE_BUF like QUERYBUF (Credits to Vinay Kalia)
- media: Remove duplicate UVC error check (Credits to David Brown)
- lzma: Decompress faster (Credits to Pranav Vashi)
- workqueue: Fix permission for power_efficient (Credits to Pranav Vashi)
- zram: fix incorrect stat with failed_reads (Credits to Chao Yu)
- Fix ancora and ancora_tmo vibrator regulators * fixes the following dmesg logs <3>[ 0.146484] ldo19: requested voltage range [3300000, 3300000] does
- ancora: Lowered Vibetonz voltage (Credits to madridii)
- defconfig: Enable CONFIG_PM_RUNTIME (Credits to Arne Coucheron)
- defconfig: Disable FM radio (Credits to Arne Coucheron)
- msm7x30: samsung: Switch rest of boards to use msm_gpios_disable_free (Credits to Arne Coucheron)
- msm7x30: samsung: Disable sdc2_cfg_data (Credits to Arne Coucheron)
- msm7x30: samsung: Remove PMIC_GPIO_SD_DET (Credits to Arne Coucheron)
- msm7x30: Revert SDC channels to upstream (Credits to Arne Coucheron)
- mmc: core: continue to wait, when unblocked by signal (Credits to Konstantin Dorfman)
- mmc: core: fix block request queue hang during data crc errors (Credits to Sujit Reddy Thumma)
- mmc: queue: do not clean current request when urgent in progress (Credits to Konstantin Dorfman)
- mmc: core: do not reinsert prepeared FUA and FLUSH requests in stop flow (Credits to Konstantin Dorfman)
- mmc: core: increase timeout for disable cache operation (Credits to Maya Erez)
- mmc: block: flush request requeue after timeout. (Credits to Maya Erez)
- mmc: print an error on FLUSH timeout (Credits to Maya Erez)
- Revert "Revert "mmc: core: remove the polling for BKOPS completion"" (Credits to Arne Coucheron)
- block: row: Remove warning massage from add_request (Credits to Tatyana Brokhman)
- ancora: Give extra 1 mb into ion_sf heap (Credits to sirmordred)
- board-ancora_tmo: Minor updates and changes (Credits to doadin)
- target/rd: Refactor rd_build_device_space + rd_release_device_space (Credits to Nicholas Bellinger)
- vsprintf: ignore %n again (Credits to Kees Cook)
- seq_file: introduce seq_setwidth() and seq_pad() (Credits to Tetsuo Handa)
- seq_file: remove "%n" usage from seq_file users (Credits to Tetsuo Handa)
- msm: vidc: cache-flush encoder output buffers after alloc (Credits to Praveen Chavan)
- Revert "Staging: android: binder: More offset validation." (Credits to Arne Coucheron)
- qdsp5v2: Fix a null pointer dereference. (Credits to Rudolf Tammekivi)
- lcdc:ancora:Adjust porch values for rev. 1 panels too * rev. 1 panels are affected by blue screen issue too (Credits to sirmordred)
- lcd: ancora: Adjust porch values for rev. 2 panels (Credits to Arne Coucheron)
- defconfigs: Set ROW scheduler as default for ariesve, ancora_tmo and apache too (Credits to Cristoforo Cataldo)
- msm: qdsp5v2: Minor code sync. (Credits to Rudolf Tammekivi)
- msm: qdsp5v2: Convert all audio devices to ION. (Credits to Rudolf Tammekivi)
- net: wireless: bcmdhd: readded samsung MCAST_LIST_ACCUMULATION code updated from jf (Credits to Gottardo Stefano)
- net: wireless: bcmdhd: added samsung specific code (Credits to Gottardo Stefano)
- net: wireless: bcmdhd: Add support for hidden ssid PNO scan (Credits to Ashwin)
- net: wireless: bcmdhd: Add WIPHY_WOWLAN_ANY support (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: support Hotspot 2.0 release 1.0 (Credits to Ecco Park)
- net: wireless: bcmdhd: Change the parameter for TDLS (Credits to Ecco Park)
- net: wireless: bcmdhd: Sync with N5 branch (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: enable TDLS_auto_mode (Credits to Ecco Park)
- net: wireless: bcmdhd: Enable IPv6 RA filter feature (Credits to Ecco Park)
- net: wireless: bcmdhd: Set MAX_DTIM_ALLOWED_INTERVAL to 600 (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Change DTIM skip policy in suspend (Credits to Ecco Park)
- net: wireless: bcmdhd: cancel current PNO if connection will happen (Credits to Ecco Park)
- net: wireless: bcmdhd: reduced the wakelock time of RX packet (Credits to Ecco Park)
- net: wireless: bcmdhd: Fixed a problem of buganizer issue (11190960) (Credits to Ecco Park)
- net: wireless: bcmdhd: fixed power consumption issue of P2P. (Credits to Ecco Park)
- net: wireless: bcmdhd: Fix country checking (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: add code for WLS service. (Credits to Ecco Park)
- net: wireless: bcmdhd: Fixed Wi-Fi Location Service issues. (Credits to Ecco Park)
- net: wireless: bcmdhd: fix for negative padding (Credits to Ecco Park)
- net: wireless: bcmdhd: Fixed Coverity issue. (Credits to Ecco Park)
- net: wireless: bcmdhd: new feature for Roaming. (Credits to Ecco Park)
- net: wireless: bcmdhd: Fix of Wireless Location Service (Credits to Ecco Park)
- net: wireless: bcmdhd: Fix of Wireless Location Service (Credits to Ecco Park)
- net: wireless: bcmdhd: Update Location Service code (Credits to Ecco Park)
- net: wireless: bcmdhd: enable WL_IFACE_COMB_NUM_CHANNELS (Credits to Ecco Park)
- net: wireless: bcmdhd: Update to version 1.88.45 (Credits to Ecco Park)
- net: wireless: bcmdhd: Update to version 1.88.42 (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Update to version 1.88.41 (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Remove chatty message from wl_cfgp2p_act_frm_search (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Remove PASS_ARP_PACKET define (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Enable p2p support bits for p2p device (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Fix NDO functionality (Credits to ECCO PARK)
- net: wireless: bcmdhd: Update to version 1.88.27 (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Fix tdls processing from cfg80211 (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Update to version 1.88.21 (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Close p2p0 device in wl_down (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Update to version 1.88.16 (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Update to version 1.88.11 (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Enable full scan on PNO event (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Prevent recursive call of cfg80211_sched_scan_stopped() (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Update to version 1.88.10 (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Fix WEP-104 authentication (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Update to version 1.88.7 (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Update to version 1.88.6 (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Update to version 1.88.4 (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: Fix SUPPORT_PM2_ONLY option for p2p (Credits to Dmitry Shmidt)
- net: wireless: bcmdhd: bring bcmdhd version 1.28-27 https://android.googlesource.com/kernel/common/+/3afcb73627439d0d9d95ca31f2f6512809da0c30 (Credi
- Removed bcmdhd driver (Credits to Gottardo Stefano)
- Revert "Allowed IPv6 over WIFI in general, we control it in ROM, + no wakelock!" (Credits to tycoo)
- Revert "reduce wifi wakelock" (Credits to tycoo)
- board-ancora: Minor updates and changes (Credits to Arne Coucheron)
- devices-msm7x30: #ifdef around msm_nand device (Credits to Arne Coucheron)
- Squashed update of kernel from 3.4.102 to 3.4.103 (Credits to Arne Coucheron)
- fs: exFAT: Update to v1.2.9 (Credits to Arne Coucheron)
- msm_bam_rmnet: Fix potential memory corruption (Credits to Subash Abhinov Kasiviswanathan)
- n_tty: Fix n_tty_write crash when echoing in raw mode (Credits to Peter Hurley)
- msm: kgsl: Don't hold the refernce to the process private in kgsl create context (Credits to Gaurav Gagrani)
- msm: kgsl: Increase the timeout value for fault detection (Credits to Shubhraprakash Das)
- msm: kgsl: Force the ME off before reading the microcode (Credits to Jordan Crouse)
- defconfig: ancora: Set ROW scheduler as default (Credits to Arne Coucheron)
- USB: msm_otg: Fix a bug in charger detection procedure (Credits to Pavankumar Kondeti)
- USB: msm_otg: Fix host mode suspend bug (Credits to Sujeet Kumar)
- mmc: msm_sdcc: Remove unnecessary delay in interrupt context (Credits to Venkat Gopalakrishnan)
...


JAKStage7 - 3.4.103 (21/08/2014)
  • Sync with arco's latest changes
  • more changes see commits below
- touchscreen: ancora: Add missing BTN_TOUCH (Credits to Arne Coucheron)
- touchscreen: ancora: Update touchscreen API (Credits to sirmordred)
- drivers: usb: Use Android device as USB keyboard/mouse (Credits to Pranav Vashi)
- Squashed update of kernel from 3.4.102 to 3.4.103 (Credits to leroviten)
- fs: exFAT: Update to v1.2.9 (Credits to Arne Coucheron)
- msm_bam_rmnet: Fix potential memory corruption (Credits to Subash Abhinov Kasiviswanathan)
- n_tty: Fix n_tty_write crash when echoing in raw mode (Credits to Peter Hurley)
- msm: kgsl: Don't hold the refernce to the process private in kgsl create context (Credits to Gaurav Gagrani)
- msm: kgsl: Increase the timeout value for fault detection (Credits to Shubhraprakash Das)
- msm: kgsl: Force the ME off before reading the microcode (Credits to Jordan Crouse)
- defconfig: ancora: Set ROW scheduler as default (Credits to Arne Coucheron)
- USB: msm_otg: Fix a bug in charger detection procedure (Credits to Pavankumar Kondeti)
- USB: msm_otg: Fix host mode suspend bug (Credits to Sujeet Kumar)
- mmc: msm_sdcc: Remove unnecessary delay in interrupt context (Credits to Venkat Gopalakrishnan)
- android/lowmemorykiller: Move msleep_interruptible into loop (Credits to tycoo)
- android/lowmemorykiller: Account for total_swapcache_pages (Credits to Liam Mark)
- staging: android: lmk: Fix selectively count free CMA pages (Credits to tycoo)
- zram: replace global tb_lock with fine grain lock (Credits to Weijie Yang)
- zram: use size_t instead of u16 (Credits to Minchan Kim)
- zram: remove unused SECTOR_SIZE define (Credits to Sergey Senozhatsky)
- zram: rename struct `table' to `zram_table_entry' (Credits to Sergey Senozhatsky)
- Revert "sched: convert WARN_ON() to printk_sched() in try_to_wake_up_local()" (Credits to tycoo)
- Squashed update of kernel from 3.4.101 to 3.4.102 (Credits to Cristoforo Cataldo)
- sched: Enable Gentle Fair Sleepers (Credits to tycoo)
- vmpressure: do not check for pending work to prevent from new work (Credits to Michal Hocko)
- vmpressure: change vmpressure::sr_lock to spinlock (Credits to Michal Hocko)
- Squashed update of kernel from 3.4.100 to 3.4.101 (Credits to Cristoforo Cataldo)
- ARM: 7583/1: decompressor: Enable unaligned memory access for v6 and above (Credits to Dave Martin)
- fs: exFAT: Update to v1.2.7 (Credits to Arne Coucheron)
- Remove stray bcm4329 files (Credits to Arne Coucheron)
- Squashed update of kernel from 3.4.99 to 3.4.100 (Credits to Cristoforo Cataldo)
- net: Zeroing the structure ethtool_wolinfo in ethtool_get_wol() (Credits to Avijit Kanti Das)
- usb: gadget: f_audio_source: Fixed USB Audio Class Interface Descriptor (Credits to Anson Jacob)
- Revert "s3c2410_wdt: Add locking to cpu frequency transition notifier" (Credits to Mark Salyzyn)
- cgroup: Fix use after free of cgrp (cgrp->css_sets) (Credits to Hans de Goede)
- cgroup: Take css_set_lock from cgroup_css_sets_empty() (Credits to Hans de Goede)
- usb: gadget: f_accessory: Enabled Zero Length Packet (ZLP) for acc_write (Credits to Anson Jacob)
- ..

JAKStage6.3 - 3.4.99 (25/07/2014)
  • readded undervolted versions
  • Linaro GCC 4.9-2014.07 (4.9.1)
  • zram: set max_comp_streams to 6
  • revert of memutils
  • more changes see commits below
- zram: avoid lockdep splat by revalidate_disk (Credits to Minchan Kim)
- Add config for JAKStage6.3_UV_416MB (Credits to tycoo)
- Squashed revert of memutils (Credits to tycoo)
- board_ancora: Changed highmem configurations (Credits to tycoo)
- Squashed update of kernel from 3.4.98 to 3.4.99 (Credits to Cristoforo Cataldo)
- rtc: alarm: Squashed revert of power-on alarm feature and related commits (Credits to Cristoforo Cataldo)
- rtc: alarm: Squashed revert of power-on alarm feature updates (Credits to tycoo)
- Staging: android: binder: More offset validation. (Credits to Arve Hjønnevåg)
- msm: rpc: Re-add shutdown and restart handler for rpc (Credits to Cristoforo Cataldo)
- Handle 'sk' being NULL in UID-based routing. (Credits to Sreeram Ramachandran)
- net: core: Support UID-based routing. (Credits to Lorenzo Colitti)
- s3c2410_wdt: Add locking to cpu frequency transition notifier (Credits to Mark Salyzyn)
- cpufreq: fix sleeping in atomic context when realloc freq_table for all_time_in_state (Credits to Minsung Kim)
- DMA: PL330: Fix racy mutex unlock (Credits to Javi Merino)
- net: wireless: Increase scan entry expiration to fit new scan time (Credits to Dmitry Shmidt)
- prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID. (Credits to Ruchi Kandoi)
- cpufreq: Persist cpufreq time in state data across hotplug (Credits to Ruchi Kandoi)
- Revert "msm: mdp: Update sync pt. behaviour" (Credits to Arne Coucheron)
- defconfig: Disable KSM (Credits to Arne Coucheron)
- Revert "msm: rpc: add shutdown and restart handler for rpc" (Credits to Cristoforo Cataldo)
- misc: pmem: Retry again a few times if DMA allocation fails (Credits to Cristoforo Cataldo)
- Squashed update of kernel from 3.4.97 to 3.4.98 (Credits to Cristoforo Cataldo)
- Squashed update of kernel from 3.4.96 to 3.4.97 (Credits to Cristoforo Cataldo)
...

JAKStage6.2 - 3.4.96 (08/07/2014):
  • back to stock swappiness 60
  • no undervolted versions atm because they seem not stable to me. You can still use Performance Control to edit the voltages.
  • updated to arcos & christophers latest kernel changes
  • some lz4 & zram updates (see commits below)
- block: row: Fix crash when adding a new field in bio struct (Credits to Tanya Brokhman)
- mmc: core: invoke low power mode if card is not present (Credits to Asutosh Das)
- mmc: core: enhance card removal judgement for slow removal (Credits to Kevin Liu)
- zram: revalidate disk after capacity change (Credits to Minchan Kim)
- lz4: add overrun checks to lz4_uncompress_unknownoutputsize() (Credits to Greg Kroah-Hartman)
- lz4: fix another possible overrun (Credits to Greg Kroah-Hartman)
- lz4: ensure length does not wrap (Credits to Greg Kroah-Hartman)
- msm7x30: Use a higher memory allocation if CMA is used for ION MM heap (Credits to Cristoforo Cataldo)
- Added Christophers HighMemConfigurations again (Credits to tycoo)
- msm7x30: Update defconfigs (Credits to Cristoforo Cataldo)
- msm7x30: Use CMA for PMEM ADSP (Credits to Cristoforo Cataldo)
- msm7x30: Allow to optionally enable the use of CMA for ION MM and PMEM ADSP heaps (Credits to Cristoforo Cataldo)
- msm7x30: Simplify the code for hybrid memory allocations on board side (Credits to Cristoforo Cataldo)
- misc: pmem: Support for dynamic allocation through CMA (Credits to Cristoforo Cataldo)
- block: bfq: Squashed update from BFQ-v7r4 to BFQ-v7r5 (Credits to Arne Coucheron)
- Squashed update of kernel from 3.4.95 to 3.4.96 (Credits to Arne Coucheron)
- epoll: fix use-after-free in eventpoll_release_file (Credits to Konstantin Khlebnikov)
- staging: binder: add vm_fault handler (Credits to Vinayak Menon)
- binder: don't allow mmap() by process other than proc->tsk (Credits to Al Viro)
...

JAKStage6.1-UV-HM_407MB - 3.4.95 (30/06/2014):
  • enabled ANDROID_BG_SCAN_MEM in config and added some kernel/scheduler commits to make lowmemorykiller 'scan free memory more frequently' work. :) (Commit: staging: android: lmk: check free memory when tasks switch to background)
  • disabled QuickWakeUp Driver because of no significant less power consumption
Commits:
- Revert "audit: kiss goodbye you stupid piece of crap logging messages." (Credits to tycoo)
- sched: convert WARN_ON() to printk_sched() in try_to_wake_up_local() (Credits to Syed Rameez Mustafa)
- tracing/sched: add load balancer tracepoint (Credits to Steve Muckle)
- sched: change WARN_ON_ONCE to WARN_ON in try_to_wake_up_local() (Credits to Steve Muckle)
- sched: remove migration notification from RT class (Credits to Steve Muckle)
- sched: fix reference to wrong cfs_rq (Credits to Srivatsa Vaddagiri)
- sched: Fix SCHED_HRTICK bug leading to late preemption of tasks (Credits to Srivatsa Vaddagiri)
- sched: Mark schedule_io_timeout() with EXPORT_SYMBOL (Credits to Jordan Crouse)
- sched: provide per cpu-cgroup option to notify on migrations (Credits to Steve Muckle)
- sched: fix rq->lock recursion (Credits to Srivatsa Vaddagiri)
- Squashed update of kernel from 3.4.94 to 3.4.95 (Credits to Cristoforo Cataldo)
- Add default configuration for JAKStage6 (Credits to tycoo)
...
 
Last edited:

mohza

Senior Member
Sep 13, 2010
240
48
Great job man
Will it work for paranoid rom by madridii

Sent from my GT-I8150 using XDA Premium 4 mobile app
 

kiul

Member
Apr 1, 2013
19
3
wow another kernel for kitkat! :victory:
did you plan to make bigmem version too? thank you sir! :good:
 

tycoo

Senior Member
Sep 5, 2013
582
627
XBerg36

theloneseeker

Senior Member
Jul 21, 2013
369
541
Thrissur
@dodora3d,this kernel does not support mokee rom yet because mokee R5 base is CM11 build date 21/05/14.I believe this kernel is compatible only with CM11 dated 28/05/14.
@tycoo,the kernel needs only a small addition because of the additional framework files,but i will do it in my next release.I just dont need you to make kernels for every Rom seperately.:)
Continue the good work buddy:good::fingers-crossed:
 
  • Like
Reactions: dodora3d and tycoo

tycoo

Senior Member
Sep 5, 2013
582
627
XBerg36
Hey mates,

no posts = no complains i guess. :D

However, i am interested in some feedbacks if you don't mind.

For example, how is the performance in gaming, did you made some good experiences with the updated & faster (i believe) running zram,..?

cheers
 

Harakhti

Senior Member
Aug 27, 2012
468
135
28
Budapest
Hey mates,

no posts = no complains i guess. :D

However, i am interested in some feedbacks if you don't mind.

For example, how is the performance in gaming, did you made some good experiences with the updated & faster (i believe) running zram,..?

cheers

I've had random locks and hot reboots with anything above 1.6GHz before on other kernels, and 1.8 works with this one without errors. Occassional graphical flicker or boot logo appearance after PIN entry but nothing majorly setting back. Could be because of other mods used by me.
 
  • Like
Reactions: tycoo

tycoo

Senior Member
Sep 5, 2013
582
627
XBerg36
op updated with

JAKStage6_UV_HM407MB - 3.4.94 - for ROMS since and based on Cyanogenmod 11.0 (20140616-UNOFFICIAL)

New build based on new KK2.7 CAF-Branch provided for samsung msm7x30 devices by Christopher83 & arco68!

Credits & thanks again to @Christopher83 @arco68 @hurtsky @sir mordred for their fantastic work and kernel sources, my build is up to 95% or more based on! I just reorganized most things for my needs and merged them together again.

Attention:

  • With installing the kernel, vm swappiness will be set to 85.
  • Zram will be set to a default size of 230MB via init script provided by @ktulu84 Thank you.
  • Some do not kill processes for the 'LowMemoryKiller management of not killable processes' will be set via init script too. Credits to Christopher83 again.
  • To disable the zram script and use the default rom value again, just remove the file 'zram_high' placed in the folder '/system/etc/init.d/'.
Explanation for these changes:

In my experience the new lz4 compressed zram does a good job for very high memory demanding system configurations.
The i/o speed will possibly decrease, but in my understanding we will benefit due to the fact, that most processes can be swapped now faster and are not forced to be closed & have to restart later again. So at the end the overall performance will be better, hopefully.

What else:
  • undervolted highmem version
  • disabled KSM on kernel side
  • enabled QuickWakeup Driver again
  • some minor zram & lmk updates and changes

Last 180 commits.. (look into my git for more):
Code:
- mm: vmscan: Raised swappiness to 85 (credits to tycoo)
- msm7x30: Use CMA for PMEM ADSP (credits to Cristoforo Cataldo)
- misc: pmem: Add support for CMA (credits to Rudolf Tammekivi)
- msm7x30: Disable unsupported features (credits to Rudolf Tammekivi)
- msm: restart_7k: Disable local IRQ interrupt (credits to Tirupathi Reddy)
- msm: rpc: add shutdown and restart handler for rpc (credits to Arun Kumar Neelakantam)
- msm: rpc: add shutdown and restart handler for rpc (credits to Angshuman Sarkar)
- staging: android: lmk_do_not_kill: Raised number of managed process types (credits to tycoo)
- staging: android: lmk: Avoid to kill core apps (credits to tycoo)
- gpu: ion: Explictly mark DMA allocations as GFP_KERNEL (credits to Laura Abbott)
- gpu: ion: Don't call virt_to_page on addresses from dma_alloc (credits to Laura Abbott)
- mm: compaction: fix bit ranges in {get,clear,set}_pageblock_skip() (credits to Bartlomiej Zolnierkiewicz)
- mm: make is_vmalloc_addr lockless (credits to Laura Abbott)
- mm: Update is_vmalloc_addr to account for vmalloc savings (credits to Laura Abbott)
- mm: panic on the first bad page table entry access (credits to Pushkar Joshi)
- kernel/lib: add additional debug capabilites for data corruption (credits to Syed Rameez Mustafa)
- msm: Increase the kernel virtual area to include lowmem (credits to Neeti Desai)
- msm: Allow lowmem to be non contiguous and mixed. (credits to Neeti Desai)
- ARM: dma-mapping: remove custom consistent dma region (credits to Marek Szyprowski)
- mm: vmalloc: use const void * for caller argument (credits to Marek Szyprowski)
- ARM: dma-mapping: fix incorrect freeing of atomic allocations (credits to Aaro Koskinen)
- dma-contiguous: Return 'zero' pfn in case of error (credits to Chintan Pandya)
- cma: Drop the right mutex (credits to Laura Abbott)
- cma: Make locking finer grained (credits to Laura Abbott)
- cma: Add support for memory limits (credits to Laura Abbott)
- cma: Remove potential deadlock situation (credits to Laura Abbott)
- cma: Add API to get the start address of a CMA region (credits to Laura Abbott)
- cma: use MEMBLOCK_ALLOC_ANYWHERE for placing CMA regions (credits to Laura Abbott)
- cma: Remove restriction on region names (credits to Laura Abbott)
- cma: Add support for associating regions by name (credits to Laura Abbott)
- cma: Fix up devicetree bindings (credits to Laura Abbott)
- cma: Remove __init annotations from data structures (credits to Laura Abbott)
- drivers: dma-contiguous: add initialization from device tree (credits to Marek Szyprowski)
- drivers: dma-contiguous: clean source code and prepare for device tree (credits to Marek Szyprowski)
- mm: cma: fix condition check when setting global cma area (credits to Marek Szyprowski)
- drivers: dma-contiguous: refactor dma_alloc_from_contiguous() (credits to Michal Nazarewicz)
- drivers: cma: represent physical addresses as phys_addr_t (credits to Vitaly Andrianov)
- mm: cma: fix alignment requirements for contiguous regions (credits to Marek Szyprowski)
- sec_jack: updated driver (credits to Gottardo Stefano)
- msm7x30: Disable use of GLibC versions of memcpy and memmove by default (credits to tycoo)
- arm: Add a config option to use GLibC memcpy and memmove versions (credits to Cristoforo Cataldo)
- msm: kgsl: Add an input handler to power up the GPU on a touch event (credits to Tk-Glitch)
- board-ancora: tune very high mem allocation (credits to Hurtsky)
- ancora/ariesve: High memory allocations (credits to Hurtsky)
- acpuclock-7x30: Raised some standard UV and stock voltages for high OC cpu frequencies (credits to Cristoforo Cataldo)
- cpufreq: CPU Voltage Control (VDD sysfs interface) (credits to Cristoforo Cataldo)
- acpuclock-7x30: Increased cpu frequency on boot (credits to Cristoforo Cataldo)
- acpuclock-7x30: Added overclocking and undervolting support (credits to Cristoforo Cataldo)
- ancora: Lowered display panel voltage (credits to madridii)
- ancora: Lowered WIFI voltage (credits to madridii)
- ancora: Increased audio volume on board side (credits to madridii)
- power: ancora_battery: Increase battery check interval from 5 seconds to 15 seconds (credits to Cristoforo Cataldo)
- power: ancora_battery: Remove trailing spaces (credits to Cristoforo Cataldo)
- power: quickwakeup: initial driver (credits to Jared Suttles)
- Properly fix the 100% battery notification after charger unplug (credits to leroviten)
- power: 100% battery notification after charger unplug (credits to Cristoforo Cataldo)
- power: Added Battery Life eXtender (BLX) version 1 (Credits to Ezeekel) Adapted by Christopher83 for I9001 and I8150 devices - If the BLX charging limit is 10
- sched: Disabled Gentle Fair Sleepers for better UI performance (credits to Cristoforo Cataldo)
- fs: Asynchronous Fsync: Fix make defconfig warning (credits to hurtsky)
- Asynchronous Fsync: initial extraction of Async Fsync from HTC (credits to Paul Reioux)
- Allowed IPv6 over WIFI in general, we control it in ROM, + no wakelock! (credits to dorimanx)
- reduce wifi wakelock (credits to DerTeufel)
- suspend: enable freeze timeout configuration through sys (credits to Li Fei)
- Added BITS_PER_LONG_LONG definition avoiding lib/vsprintf.c errors. (credits to LaboDJ)
- audit: kiss goodbye you stupid piece of crap logging messages. (credits to Francisco Franco)
- Makefile: Use -fno-inline-functions to build with Linaro GCC 4.8 toolchains (credits to Cristoforo Cataldo)
- kernel/futex.c: Linux 3.4 compatibility fix up (credits to Paul Reioux)
- futex: Avoid taking hb lock if nothing to wakeup (credits to Davidlohr Bueso)
- futex: Document ordering guarantees (credits to Davidlohr Bueso)
- futex: Larger hash table (credits to Davidlohr Bueso)
- futex: Misc cleanups (credits to Davidlohr Bueso)
- swap: mem_cgroup_count_swap_user is unlocking wrong spinlock (credits to Kevin Wells)
- mm: page_alloc: retry direct compaction (credits to Jason Hrycay)
- cpufreq: Optimize cpufreq_frequency_table_verify() (credits to Viresh Kumar)
- rtmutex: Fix initialization (credits to Pranav Vashi)
- introduce for_each_thread() to replace the buggy while_each_thread() (credits to Oleg Nesterov)
- rcu: Add a module parameter to force use of expedited RCU primitives (credits to Antti P Miettinen)
- panic: resume console if panic after console suspend. (credits to shihhao.feng)
- jiffies conversions: Use compile time constants when possible (credits to Joe Perches)
- rcu: Yield simpler (credits to Thomas Gleixner)
- panic: force console_unlock() in panic() (credits to Bongkyu Kim)
- scripts/gen_initramfs_list.sh: fix flags for initramfs LZ4 compression (credits to Daniel M. Weeks)
- initramfs: read CONFIG_RD_ variables for initramfs compression (credits to P J P)
- writeback: remove nr_pages_dirtied arg from balance_dirty_pages_ratelimited_nr() (credits to Namjae Jeon)
- Optimize copy_page for modern ARM platforms (credits to Boy Petersen)
- ARM: module: add text.unlikely section to unwind (credits to Jason Hrycay)
- ARM: fix warning caused by wrongly typed arm_dma_limit (credits to Russell King)
- block: Reserve only one queue tag for sync IO if only 3 tags are available (credits to Jan Kara)
- block: account iowait time when waiting for completion of IO request (credits to Vladimir Davydov)
- sched: add wait_for_completion_io[_timeout] (credits to Vladimir Davydov)
- lib: vsprintf.c: stash vsprintf.c commits from upstream. (credits to Francisco Franco)
- lib/radix-tree.c: swapoff tmpfs radix_tree: remember to rcu_read_unlock (credits to Hugh Dickins)
- lib/radix-tree.c: make radix_tree_node_alloc() work correctly within interrupt (credits to Jan Kara)
- radix-tree: fix preload vector size (credits to Nick Piggin)
- staging: android: Fix three checkpatch issues in binder.c (credits to Pranav Vashi)
- binder: search for receiving context pid in global namespace (credits to Ricardo Mendoza)
- drivers: staging: Correct typo in debug (credits to Pranav Vashi)
- binder: NULL pointer reference (credits to Paresh Nakhe)
- staging: android: binder:add ioctl BINDER_GET_PEER_PID (credits to Yi-wei Zhao)
- logger: Add sys fs kernel interface to configure Android logger (credits to andip71)
- drivers/staging: Configurable android log buffer sizes (credits to Hurtsky)
- lowmemorykiller: Account for highmem during kswapd reclaim (credits to Liam Mark)
- staging: android: lmk: add rcu lock while test task flag (credits to Yi-wei Zhao)
- staging: android: lowmemorykiller: set TIF_MEMDIE before send kill sig (credits to Weijie Yang)
- staging: android: lmk: check TIF directly (credits to Yuanyuan Zhong)
- staging: android: lmk: skip if killed by lmk (credits to Yuanyuan Zhong)
- staging: android: lmk: check free memory when tasks switch to background (credits to Hong-Mei Li)
- staging: android: lowmemorykiller: implement task's adj rbtree (credits to Hong-Mei Li)
- staging: android: lowmemorykiller: select a new task to kill (credits to Yi-wei Zhao)
- staging: android: lowmemorykiller: Management of not killable processes (credits to Cristoforo Cataldo)
- fs/ext4: use rbtree postorder iteration helper instead of opencoding (credits to Cody P Schafer)
- rbtree: fix rbtree_postorder_for_each_entry_safe() iterator (credits to Jan Kara)
- trace/trace_stat: use rbtree postorder iteration helper instead of opencoding (credits to Cody P Schafer)
- rbtree: add rbtree_postorder_for_each_entry_safe() helper (credits to Cody P Schafer)
- rbtree: add postorder iteration functions (credits to Cody P Schafer)
- rbtree: include linux/compiler.h for definition of __always_inline (credits to Will Deacon)
- rbtree: fix incorrect rbtree node insertion in fs/proc/proc_sysctl.c (credits to Michel Lespinasse)
- lib/rbtree.c: avoid the use of non-static __always_inline (credits to Michel Lespinasse)
- rbtree: move augmented rbtree functionality to rbtree_augmented.h (credits to Michel Lespinasse)
- rbtree: add RB_DECLARE_CALLBACKS() macro (credits to Michel Lespinasse)
- rbtree: remove prior augmented rbtree implementation (credits to Michel Lespinasse)
- rbtree: faster augmented rbtree manipulation (credits to Michel Lespinasse)
- rbtree: low level optimizations in rb_erase() (credits to Michel Lespinasse)
- rbtree: handle 1-child recoloring in rb_erase() instead of rb_erase_color() (credits to Michel Lespinasse)
- rbtree: place easiest case first in rb_erase() (credits to Michel Lespinasse)
- rbtree: add __rb_change_child() helper function (credits to Michel Lespinasse)
- rbtree: optimize fetching of sibling node (credits to Michel Lespinasse)
- rbtree: coding style adjustments (credits to Michel Lespinasse)
- rbtree: low level optimizations in __rb_erase_color() (credits to Michel Lespinasse)
- rbtree: optimize case selection logic in __rb_erase_color() (credits to Michel Lespinasse)
- rbtree: adjust node color in __rb_erase_color() only when necessary (credits to Michel Lespinasse)
- perf tools: Fix build for another rbtree.c change (credits to Adrian Hunter)
- rbtree: low level optimizations in rb_insert_color() (credits to Michel Lespinasse)
- rbtree: adjust root color in rb_insert_color() only when necessary (credits to Michel Lespinasse)
- rbtree: break out of rb_insert_color loop after tree rotation (credits to Michel Lespinasse)
- rbtree: reference Documentation/rbtree.txt for usage instructions (credits to Michel Lespinasse)
- rbtree: move some implementation details from rbtree.h to rbtree.c (credits to Michel Lespinasse)
- rbtree: empty nodes have no color (credits to Michel Lespinasse)
- regmap: rbtree: Don't bother checking for noop updates (credits to Mark Brown)
- mm/kmemleak.c: remove obsolete simple_strtoul (credits to Abhijit Pawar)
- kmemleak: use rbtree instead of prio tree (credits to Michel Lespinasse)
- kmemleak: Replace list_for_each_continue_rcu with new interface (credits to Michael Wang)
- zram: correct offset usage in zram_bio_discard (credits to Weijie Yang)
- zram: support REQ_DISCARD (credits to Joonsoo Kim)
- zram: use scnprintf() in attrs show() methods (credits to Sergey Senozhatsky)
- zram: propagate error to user (credits to Minchan Kim)
- zram: return error-valued pointer from zcomp_create() (credits to Sergey Senozhatsky)
- zram: move comp allocation out of init_lock (credits to Sergey Senozhatsky)
- zram: add lz4 algorithm backend (credits to Sergey Senozhatsky)
- zram: make compression algorithm selection possible (credits to Sergey Senozhatsky)
- zram: add set_max_streams knob (credits to Sergey Senozhatsky)
- zram: add multi stream functionality (credits to Sergey Senozhatsky)
- zram: factor out single stream compression (credits to Sergey Senozhatsky)
- zram: use zcomp compressing backends (credits to Sergey Senozhatsky)
- zram: delete zram_init_device() (credits to Sergey Senozhatsky)
- zram: introduce compressing backend abstraction (credits to Sergey Senozhatsky)
- zram: move zram size warning to documentation (credits to Sergey Senozhatsky)
- zram: drop not used table `count' member (credits to Sergey Senozhatsky)
- zram: report failed read and write stats (credits to Sergey Senozhatsky)
- zram: remove zram stats code duplication (credits to Sergey Senozhatsky)
- zram: use atomic64_t for all zram stats (credits to Sergey Senozhatsky)
- zram: remove good and bad compress stats (credits to Sergey Senozhatsky)
- zram: do not pass rw argument to __zram_make_request() (credits to Sergey Senozhatsky)
- zram: drop `init_done' struct zram member (credits to Sergey Senozhatsky)
- zram: avoid null access when fail to alloc meta (credits to Minchan Kim)
- zram: remove zram->lock in read path and change it with mutex (credits to Minchan Kim)
- zram: remove workqueue for freeing removed pending slot (credits to Minchan Kim)
- zram: introduce zram->tb_lock (credits to Minchan Kim)
- zram: use atomic operation for stat (credits to Minchan Kim)
- zram: remove unnecessary free (credits to Minchan Kim)
- zram: delay pending free request in read path (credits to Minchan Kim)
- zram: fix race between reset and flushing pending work (credits to Minchan Kim)
- zram: add zram maintainers (credits to Minchan Kim)
- zram: add copyright (credits to Minchan Kim)
- zram: remove old private project comment (credits to Minchan Kim)
- zram: Add documentation (credits to Pranav Vashi)
- zram: promote zram from staging (credits to Pranav Vashi)
- staging: delete non-required instances of include <linux/init.h> (credits to Paul Gortmaker)
- zsmalloc: add more comment (credits to Nitin Cupta)
- zsmalloc: add Kconfig for enabling page table method (credits to Minchan Kim)
 
Last edited:

tycoo

Senior Member
Sep 5, 2013
582
627
XBerg36
op updated with

JAKStage6.1-UV-HM_407MB - 3.4.95

  • enabled ANDROID_BG_SCAN_MEM in config and added some kernel/scheduler commits to make lowmemorykiller 'scan free memory more frequently' work. :) (Commit: staging: android: lmk: check free memory when tasks switch to background)
  • disabled QuickWakeUp Driver because of no significant less power consumption

Commits:

Code:
- Revert "audit: kiss goodbye you stupid piece of crap logging messages." (Credits to tycoo)
- sched: convert WARN_ON() to printk_sched() in try_to_wake_up_local() (Credits to Syed Rameez Mustafa)
- tracing/sched: add load balancer tracepoint (Credits to Steve Muckle)
- sched: change WARN_ON_ONCE to WARN_ON in try_to_wake_up_local() (Credits to Steve Muckle)
- sched: remove migration notification from RT class (Credits to Steve Muckle)
- sched: fix reference to wrong cfs_rq (Credits to Srivatsa Vaddagiri)
- sched: Fix SCHED_HRTICK bug leading to late preemption of tasks (Credits to Srivatsa Vaddagiri)
- sched: Mark schedule_io_timeout() with EXPORT_SYMBOL (Credits to Jordan Crouse)
- sched: provide per cpu-cgroup option to notify on migrations (Credits to Steve Muckle)
- sched: fix rq->lock recursion (Credits to Srivatsa Vaddagiri)
- Squashed update of kernel from 3.4.94 to 3.4.95 (Credits to Cristoforo Cataldo)
- Add default configuration for JAKStage6 (Credits to tycoo)
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    JUST ANOTHER KERNEL for Cyanogenmod 11.0 (unofficial)


    Hi friends,

    i had some fun the last weeks succesfully compiling a kernel on my own.
    But because of my lack of knowledge how to improve the kernel further and the things are getting more and more complicated, i decided to stop my efforts for now.
    Nevertheless i like to share my work with you and you are free to test the kernel and comment, if it is working fine for you as well. All kernel developers are free to have a look into my github and watch for maybe something useful to pick up for their work too:

    GitHub

    Credits & thanks goes to:
    arco68, christopher83, AriesVE-DevCon-TEAM, hurtsky, madridii, lafactorial, arsradu, leroviten, sir mordred, all other authors you can see in the commits in my kernel branch, all friendly guys in the community who continuously delivering a lot of useful tools and tutorials for kernel development, and last but not least all participating users who keep this forum for the GALAXY Wonder alive!


    -------

    Main and common features, seen in the other kernels already:

    - compiled with Linaro GCC 4.8.4-2014.11 Toolchains optimized for Cortex-A8 - by Christopher83
    - O3 Optimization & NEON VFP compilation flag
    - Governors: interactive default, conservative, lulzactive, interactiveX, ondemand, ondemandX, powersave, smartassV2, performance
    - I/O schedulers: cfq default, noop, vr, sio, row, bfq, fiops, deadline
    - Lowered display panel voltage
    - Lowered wifi voltage
    - Lowered vibetonz voltage
    - Increased audio loudness
    - Battery Life eXtender support
    - Fast Charge support
    - CPU voltage control VDD sys interface / Overclockable up to 1.8 GHz
    - Increased cpu freq. on boot
    - Fast Random generator (frandom)
    - Dynamic management of the minimal timer slack value
    - Dynamic management of dirty page writebacks
    - Dynamic FSync v1.2
    - msm: memutils: memcpy, memove optimization
    - Disabled Gentle Fair Sleepers for better UI performance
    - Optimized AES and SHA1 routines for ARM cpu architecture
    - exFAT support
    - LowMemoryKiller management of not killable processes


    Additionally i experimented with some new stuff, hopefully trying to improve the memory management:

    - MM patch bomb, regarding vmscan, compaction, page_writeback, oom_kill, slub,...
    - new small and naive hashtable implementation
    - red-black tree implementation & changed lowmemorykiller behaviour
    - some miscellaneous updates


    Highlight feature:

    - fast lz4 compressed zram

    Attention:
    • Zram will be set to a high size via init script provided by @ktulu84. Thank you.
    • Some do not kill processes for the 'LowMemoryKiller management of not killable processes' will be set via init script too. Credits to Christopher83 again.
    • To disable the zram script and use the default rom value again, just remove the file 'zram_high' placed in the folder '/system/etc/init.d/'.
    • Or just install latest Performance Control 2.2.4 by h0rn3t for easy control of the values. Recommended.
    • Disabling zram via performance control will delete the max_comp_streams setting. Before restart i recommend to open terminal emulator and enter the following commands:
      su
      echo 8 > /sys/block/zram0/max_comp_streams

    Explanation for these changes:

    In my experience the new lz4 compressed zram does a good job for very high memory demanding system configurations.
    The i/o speed will possibly decrease, but in my understanding you will benefit due to the fact, that most processes can be swapped now faster and are not forced to be closed & have to restart later again.


    -------

    Disclaimer: You're installing this at your own risk. Please, make nandroid backups before installing any of these kernels. I take no responsibility for damaging your phone.


    Kernels - based on new KK2.7 CAF-Branch provided for samsung msm7x30 devices by Christopher83 & arco68:

    Should work with all roms based on arco's latest unofficial CM11 from 20141029 and 20141210:

    18/12/2014 JAKStage7.3_UV_416MB_3.4.105+inittweaks

    11/11/2014 JAKStage7.2_UV_416MB_3.4.104+inittweaks


    Old Kernels, not recommended anymore:

    21/08/2014 - For now only for DCM 2014/08/18 HOVER-HALO-PIE-PEEK

    JAKStage7_UV_416MB_3.4.103_dcm

    25/07/2014 - For Cyanogenmod 11.0 (20140721-UNOFFICIAL):

    JAKStage6.3_416MB_UV_3.4.99

    JAKStage6.3_396MB_UV_3.4.99
    For Cyanogenmod 11.0 (20140704-UNOFFICIAL):

    JAKStage6.2 - 3.4.96

    JAKStage6.2_HM - 3.4.96

    JAKStage6.2_VHM - 3.4.96

    -------

    JAKStage6.1-UV-HM_407MB - 3.4.95

    JAKStage6_UV_HM407MB - 3.4.94

    Kernels - based on CM-ancora/samsung-kernel-msm7x30 = AriesVE-DevCon-TEAM kernel source (cm-11.0_old):

    JAKStage5.3 - 3.4.92 for ParanoidAndroid 4+ [Beta1 4.4} & [4.4 RC1] / Cyanogenmod 11.0 (20140528-UNOFFICIAL) possibly works better together with the new adreno libs / DCM 4.2 2014/06/11 atm not tested but should work, plz reply

    JAKStage5.3 - 3.4.92 - TRIM support for ParanoidAndroid 4+ [Beta1 4.4} & [4.4 RC1] / Cyanogenmod 11.0 (20140528-UNOFFICIAL) possibly works better together with the new adreno libs / DCM 4.2 2014/06/11 atm not tested but should work, plz reply CAUTION: Before installation read this thread first! Questions regarding the TRIM feature plz post there as well.


    Kernels - based on arco/samsung-kernel-msm7x30 (cm-11.0_old):

    JAKStage5 - 3.4.91 for DarkCM [19/3-Beta3] / CyanogenMod 11.0 20140122 until 20140413 (unofficial), not entirely tested but should work

    JAKStage5.1 - 3.4.91 for CyanogenMod 11.0 (20140528-UNOFFICIAL)

    JAKStage5.1 - 3.4.91 - TRIM support introduced by sir mordred for CyanogenMod 11.0 (20140528-UNOFFICIAL) CAUTION: Before installation read this thread first! Questions regarding the TRIM feature plz post there as well.

    Installation:

    1. flash the kernel
    2. wipe cache partition
    3. wipe dalvik cache
    4. reboot twice and enjoy

    Have fun

    XDA:DevDB Information
    Just Another Kernel , Kernel for the Samsung Galaxy W I8150

    Contributors
    tycoo
    Kernel Special Features:

    Version Information
    Status: Stable

    Created 2014-06-03
    Last Updated 2014-12-24
    14
    Update!

    Download: JAKStage7.3_UV_416MB_3.4.105+inittweaks

    Changelog:

    - compiled with Linaro GCC 4.8.4-2014.11 Toolchains optimized for Cortex-A8 - by Christopher83
    - Kernel 3.4.105
    - apllied latest changes by arco68
    - BLX probably fixed
    Code:
    - Fix previous kernel/fork.c mismerge (Credits to tycoo)
    - introduce for_each_thread() to replace the buggy while_each_thread() (Credits to Oleg Nesterov)
    - prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID. (Credits to Ruchi Kandoi)
    - prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of an arbitrary thread. (Credits to Ruchi Kandoi)
    - Revert "Add PR_{GET,SET}_NO_NEW_PRIVS to prevent execve from granting privs" (Credits to Arne Coucheron)
    - Revert "Fix execve behavior apparmor for PR_{GET,SET}_NO_NEW_PRIVS" (Credits to Arne Coucheron)
    - Revert "prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of an arbitrary thread." (Credits to Arne Coucheron)
    - Revert "prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID." (Credits to Arne Coucheron)
    - tracing/syscalls: Ignore numbers outside NR_syscalls' range (Credits to Rabin Vincent)
    - tracing/syscalls: Fix perf syscall tracing when syscall_nr == -1 (Credits to Will Deacon)
    - Revert "Properly fix the 100% battery notification after charger unplug" (Credits to tycoo)
    - Revert "futex: Unlock hb->lock in futex_wait_requeue_pi() error path" (Credits to tycoo)
    - Squashed update of kernel from 3.4.104 to 3.4.105 (Credits to Cristoforo Cataldo)
    - ksm: check and skip page, if it is already scanned (Credits to Pradeep Sawlani)

    :)

    Important: read opening post for compatibilty questions
    10
    op updated with new kernel. Changelog see 2nd post.

    Next kernel i will perhaps enable zram multi compression streams, but have to test it some more first.

    cheers
    8
    Reserved

    Changelog

    JAKStage7.3_UV_3.4.105+inittweaks (18/12/2014)

    - compiled with Linaro GCC 4.8.4-2014.11 Toolchains optimized for Cortex-A8 - by Christopher83
    - Kernel 3.4.105
    - apllied latest changes by arco68
    - BLX probably fixed
    Code:
    - Fix previous kernel/fork.c mismerge (Credits to tycoo)
    - introduce for_each_thread() to replace the buggy while_each_thread() (Credits to Oleg Nesterov)
    - prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID. (Credits to Ruchi Kandoi)
    - prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of an arbitrary thread. (Credits to Ruchi Kandoi)
    - Revert "Add PR_{GET,SET}_NO_NEW_PRIVS to prevent execve from granting privs" (Credits to Arne Coucheron)
    - Revert "Fix execve behavior apparmor for PR_{GET,SET}_NO_NEW_PRIVS" (Credits to Arne Coucheron)
    - Revert "prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of an arbitrary thread." (Credits to Arne Coucheron)
    - Revert "prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID." (Credits to Arne Coucheron)
    - tracing/syscalls: Ignore numbers outside NR_syscalls' range (Credits to Rabin Vincent)
    - tracing/syscalls: Fix perf syscall tracing when syscall_nr == -1 (Credits to Will Deacon)
    - Revert "Properly fix the 100% battery notification after charger unplug" (Credits to tycoo)
    - Revert "futex: Unlock hb->lock in futex_wait_requeue_pi() error path" (Credits to tycoo)
    - Squashed update of kernel from 3.4.104 to 3.4.105 (Credits to Cristoforo Cataldo)
    - ksm: check and skip page, if it is already scanned (Credits to Pradeep Sawlani)

    JAKStage7.2_UV_3.4.104+inittweaks (11/11/2014)

    Code:
    - Revert mm/shmem.c. & mm/truncate.c changes applied in Kernel update 3.4.100 (Credits to tycoo)
    - ksm: check and skip page, if it is already scanned (Credits to Pradeep Sawlani)
    - OOM, PM: OOM killed task shouldn't escape PM suspend (Credits to Michal Hocko)
    - mm, oom: fix race when specifying a thread as the oom origin (Credits to David Rientjes)
    - mm: compaction: compact zones on FB_BLANK_NORMAL (Credits to Ethan Chen)
    - mm: compaction: do suspend compaction in workqueue (Credits to Yuan Jiangli)
    - compact all zones on earlysuspend (Credits to Igor Kovalenko)
    - mm: compaction: disable compaction deferring (Credits to Yi-wei Zhao)
    - mm: compaction: compact normal zone (Credits to Yi-wei Zhao)
    - Revert "ARM: 7493/1: use generic unaligned.h" (Credits to Cristoforo Cataldo)
    - Revert "freezer: shorten freezer sleep time using exponential backoff" (Credits to Arne Coucheron)
    - msm: Remove PMEM dependency for MSM7KV2_AUDIO (Credits to Michael Bestas)
    - msm: Remove all references to CONFIG_ANDROID_PMEM (Credits to Laura Abbott)
    - msm: kgsl: Remove all reference to CONFIG_ANDROID_PMEM (Credits to Laura Abbott)
    - touchscreen: ancora: Add INPUT_PROP_DIRECT flag (Credits to sirmordred)
    - msm: camera: Replace idle wakelocks with pm_qos (Credits to Arne Coucheron)
    - cma: Return 0 on error path (Credits to Laura Abbott)
    - cma: Allow option to use strict memblock_reserved memory (Credits to Laura Abbott)
    - ion: tracing: add ftrace events for ion allocations (Credits to Liam Mark)
    - mm: Add NULL check before de-referencing vma (Credits to Bharat Nihalani)
    - mm/compaction: respect ignore_skip_hint in update_pageblock_skip (Credits to Joonsoo Kim)
    - mm: failslab: Add support to force slab alloc failures based on size. (Credits to Krishna Reddy)
    - arch: mm: do not invoke OOM killer on kernel fault OOM (Credits to Johannes Weiner)
    - msm: kgsl: cleanup mismerge (Credits to Arne Coucheron)
    - crypto: lzo - try kmalloc() before vmalloc() (Credits to Eric Dumazet)
    - crypto: arm-aes - fix encryption of unaligned data (Credits to Mikulas Patocka)
    - initrd: fix lz4 decompress with initrd (Credits to Yinghai Lu)
    - lz4: Sync up with latest version (Credits to Pranav Vashi)
    - Staging: android: timed_gpio.c: improved logic of gpio_get_time() (Credits to Murilo Opsfelder Araujo)
    - eventpoll: fix uninitialized variable in epoll_ctl (Credits to Nicolas Iooss)
    - Revert "epoll: use freezable blocking call" (Credits to Rafael J. Wysocki)
    - futex: Make unlock_pi more robust (Credits to Thomas Gleixner)
    - mm: do not sleep in balance_pgdat if there's no i/o congestion (Credits to Zlatko Calusic)
    - Revert "kswapd: Introduce congestion_wait_kswapd" (Credits to tycoo)
    - mm: fix prctl_set_vma_anon_name (Credits to Colin Cross)
    - fs: fuse: Add replacment for CMA pages into the LRU cache (Credits to Laura Abbott)
    - ARM: 7493/1: use generic unaligned.h (Credits to Rob Herring)
    - defconfigs: Disable exFAT kernel driver (Credits to Arne Coucheron)
    - fs: exfat: Make optional (Credits to Arne Coucheron)
    - Squashed update of kernel from 3.4.103 to 3.4.104 (Credits to Cristoforo Cataldo)
    - fm_si4709: samsung jb updates *GT-I9100 sources (Credits to Gottardo Stefano)
    - mutex: Make more scalable by doing less atomic operations (Credits to Waiman Long)
    - defconfigs: Updated defconfigs (Credits to sirmordred)
    - fsa9480: corrected charging through USB 3.0 port also removed trailing spaces and some cleanups (Credits to Gottardo Stefano)
    - Revert "defconfig: Disable FM radio" (Credits to tycoo)
    - selinux: Fix Kernel panic due to NULL pointer dereference (Credits to Satya Durga Srinivasu Prabhala)
    - selinux: call WARN_ONCE() instead of calling audit_log_start() (Credits to Richard Guy Briggs)
    - mm: compaction: detect when scanners meet in isolate_freepages (Credits to Vlastimil Babka)
    - mm: compaction: reset cached scanner pfn's before reading them (Credits to Vlastimil Babka)
    - mm: compaction: do not accidentally skip pageblocks in the migrate scanner (Credits to Mel Gorman)
    - ashmem: avoid deadlock between read and mmap calls (Credits to Todd Poynor)
    - staging: android: ashmem: Avoid deadlock with mmap/shrink (Credits to Laura Abbott)
    - staging: android: ashmem: get_name,set_name not to hold ashmem_mutex (Credits to Shankar Brahadeeswaran)
    - Revert "ashmem: avoid deadlock between read and mmap calls" (Credits to tycoo)
    - Revert "staging: android: ashmem: Avoid deadlock with mmap/shrink" (Credits to tycoo)
    - Revert "[media] v4l2: vb2: one more fix for REQBUFS()" (Credits to Marek Szyprowski)
    - videobuf2-core: Avoid locking userpages if no current->mm (Credits to Deva Ramasubramanian)
    - Revert "[media] videobuf2-core: Use current->mm_active when locking USERPTR" (Credits to Deva Ramasubramanian)
    - v4l2-ioctl.c: handle PREPARE_BUF like QUERYBUF (Credits to Vinay Kalia)
    - media: Remove duplicate UVC error check (Credits to David Brown)
    - lzma: Decompress faster (Credits to Pranav Vashi)
    - workqueue: Fix permission for power_efficient (Credits to Pranav Vashi)
    - zram: fix incorrect stat with failed_reads (Credits to Chao Yu)
    - Fix ancora and ancora_tmo vibrator regulators * fixes the following dmesg logs <3>[ 0.146484] ldo19: requested voltage range [3300000, 3300000] does
    - ancora: Lowered Vibetonz voltage (Credits to madridii)
    - defconfig: Enable CONFIG_PM_RUNTIME (Credits to Arne Coucheron)
    - defconfig: Disable FM radio (Credits to Arne Coucheron)
    - msm7x30: samsung: Switch rest of boards to use msm_gpios_disable_free (Credits to Arne Coucheron)
    - msm7x30: samsung: Disable sdc2_cfg_data (Credits to Arne Coucheron)
    - msm7x30: samsung: Remove PMIC_GPIO_SD_DET (Credits to Arne Coucheron)
    - msm7x30: Revert SDC channels to upstream (Credits to Arne Coucheron)
    - mmc: core: continue to wait, when unblocked by signal (Credits to Konstantin Dorfman)
    - mmc: core: fix block request queue hang during data crc errors (Credits to Sujit Reddy Thumma)
    - mmc: queue: do not clean current request when urgent in progress (Credits to Konstantin Dorfman)
    - mmc: core: do not reinsert prepeared FUA and FLUSH requests in stop flow (Credits to Konstantin Dorfman)
    - mmc: core: increase timeout for disable cache operation (Credits to Maya Erez)
    - mmc: block: flush request requeue after timeout. (Credits to Maya Erez)
    - mmc: print an error on FLUSH timeout (Credits to Maya Erez)
    - Revert "Revert "mmc: core: remove the polling for BKOPS completion"" (Credits to Arne Coucheron)
    - block: row: Remove warning massage from add_request (Credits to Tatyana Brokhman)
    - ancora: Give extra 1 mb into ion_sf heap (Credits to sirmordred)
    - board-ancora_tmo: Minor updates and changes (Credits to doadin)
    - target/rd: Refactor rd_build_device_space + rd_release_device_space (Credits to Nicholas Bellinger)
    - vsprintf: ignore %n again (Credits to Kees Cook)
    - seq_file: introduce seq_setwidth() and seq_pad() (Credits to Tetsuo Handa)
    - seq_file: remove "%n" usage from seq_file users (Credits to Tetsuo Handa)
    - msm: vidc: cache-flush encoder output buffers after alloc (Credits to Praveen Chavan)
    - Revert "Staging: android: binder: More offset validation." (Credits to Arne Coucheron)
    - qdsp5v2: Fix a null pointer dereference. (Credits to Rudolf Tammekivi)
    - lcdc:ancora:Adjust porch values for rev. 1 panels too * rev. 1 panels are affected by blue screen issue too (Credits to sirmordred)
    - lcd: ancora: Adjust porch values for rev. 2 panels (Credits to Arne Coucheron)
    - defconfigs: Set ROW scheduler as default for ariesve, ancora_tmo and apache too (Credits to Cristoforo Cataldo)
    - msm: qdsp5v2: Minor code sync. (Credits to Rudolf Tammekivi)
    - msm: qdsp5v2: Convert all audio devices to ION. (Credits to Rudolf Tammekivi)
    - net: wireless: bcmdhd: readded samsung MCAST_LIST_ACCUMULATION code updated from jf (Credits to Gottardo Stefano)
    - net: wireless: bcmdhd: added samsung specific code (Credits to Gottardo Stefano)
    - net: wireless: bcmdhd: Add support for hidden ssid PNO scan (Credits to Ashwin)
    - net: wireless: bcmdhd: Add WIPHY_WOWLAN_ANY support (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: support Hotspot 2.0 release 1.0 (Credits to Ecco Park)
    - net: wireless: bcmdhd: Change the parameter for TDLS (Credits to Ecco Park)
    - net: wireless: bcmdhd: Sync with N5 branch (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: enable TDLS_auto_mode (Credits to Ecco Park)
    - net: wireless: bcmdhd: Enable IPv6 RA filter feature (Credits to Ecco Park)
    - net: wireless: bcmdhd: Set MAX_DTIM_ALLOWED_INTERVAL to 600 (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Change DTIM skip policy in suspend (Credits to Ecco Park)
    - net: wireless: bcmdhd: cancel current PNO if connection will happen (Credits to Ecco Park)
    - net: wireless: bcmdhd: reduced the wakelock time of RX packet (Credits to Ecco Park)
    - net: wireless: bcmdhd: Fixed a problem of buganizer issue (11190960) (Credits to Ecco Park)
    - net: wireless: bcmdhd: fixed power consumption issue of P2P. (Credits to Ecco Park)
    - net: wireless: bcmdhd: Fix country checking (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: add code for WLS service. (Credits to Ecco Park)
    - net: wireless: bcmdhd: Fixed Wi-Fi Location Service issues. (Credits to Ecco Park)
    - net: wireless: bcmdhd: fix for negative padding (Credits to Ecco Park)
    - net: wireless: bcmdhd: Fixed Coverity issue. (Credits to Ecco Park)
    - net: wireless: bcmdhd: new feature for Roaming. (Credits to Ecco Park)
    - net: wireless: bcmdhd: Fix of Wireless Location Service (Credits to Ecco Park)
    - net: wireless: bcmdhd: Fix of Wireless Location Service (Credits to Ecco Park)
    - net: wireless: bcmdhd: Update Location Service code (Credits to Ecco Park)
    - net: wireless: bcmdhd: enable WL_IFACE_COMB_NUM_CHANNELS (Credits to Ecco Park)
    - net: wireless: bcmdhd: Update to version 1.88.45 (Credits to Ecco Park)
    - net: wireless: bcmdhd: Update to version 1.88.42 (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Update to version 1.88.41 (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Remove chatty message from wl_cfgp2p_act_frm_search (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Remove PASS_ARP_PACKET define (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Enable p2p support bits for p2p device (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Fix NDO functionality (Credits to ECCO PARK)
    - net: wireless: bcmdhd: Update to version 1.88.27 (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Fix tdls processing from cfg80211 (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Update to version 1.88.21 (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Close p2p0 device in wl_down (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Update to version 1.88.16 (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Update to version 1.88.11 (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Enable full scan on PNO event (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Prevent recursive call of cfg80211_sched_scan_stopped() (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Update to version 1.88.10 (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Fix WEP-104 authentication (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Update to version 1.88.7 (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Update to version 1.88.6 (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Update to version 1.88.4 (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: Fix SUPPORT_PM2_ONLY option for p2p (Credits to Dmitry Shmidt)
    - net: wireless: bcmdhd: bring bcmdhd version 1.28-27 https://android.googlesource.com/kernel/common/+/3afcb73627439d0d9d95ca31f2f6512809da0c30 (Credi
    - Removed bcmdhd driver (Credits to Gottardo Stefano)
    - Revert "Allowed IPv6 over WIFI in general, we control it in ROM, + no wakelock!" (Credits to tycoo)
    - Revert "reduce wifi wakelock" (Credits to tycoo)
    - board-ancora: Minor updates and changes (Credits to Arne Coucheron)
    - devices-msm7x30: #ifdef around msm_nand device (Credits to Arne Coucheron)
    - Squashed update of kernel from 3.4.102 to 3.4.103 (Credits to Arne Coucheron)
    - fs: exFAT: Update to v1.2.9 (Credits to Arne Coucheron)
    - msm_bam_rmnet: Fix potential memory corruption (Credits to Subash Abhinov Kasiviswanathan)
    - n_tty: Fix n_tty_write crash when echoing in raw mode (Credits to Peter Hurley)
    - msm: kgsl: Don't hold the refernce to the process private in kgsl create context (Credits to Gaurav Gagrani)
    - msm: kgsl: Increase the timeout value for fault detection (Credits to Shubhraprakash Das)
    - msm: kgsl: Force the ME off before reading the microcode (Credits to Jordan Crouse)
    - defconfig: ancora: Set ROW scheduler as default (Credits to Arne Coucheron)
    - USB: msm_otg: Fix a bug in charger detection procedure (Credits to Pavankumar Kondeti)
    - USB: msm_otg: Fix host mode suspend bug (Credits to Sujeet Kumar)
    - mmc: msm_sdcc: Remove unnecessary delay in interrupt context (Credits to Venkat Gopalakrishnan)
    ...


    JAKStage7 - 3.4.103 (21/08/2014)
    • Sync with arco's latest changes
    • more changes see commits below
    - touchscreen: ancora: Add missing BTN_TOUCH (Credits to Arne Coucheron)
    - touchscreen: ancora: Update touchscreen API (Credits to sirmordred)
    - drivers: usb: Use Android device as USB keyboard/mouse (Credits to Pranav Vashi)
    - Squashed update of kernel from 3.4.102 to 3.4.103 (Credits to leroviten)
    - fs: exFAT: Update to v1.2.9 (Credits to Arne Coucheron)
    - msm_bam_rmnet: Fix potential memory corruption (Credits to Subash Abhinov Kasiviswanathan)
    - n_tty: Fix n_tty_write crash when echoing in raw mode (Credits to Peter Hurley)
    - msm: kgsl: Don't hold the refernce to the process private in kgsl create context (Credits to Gaurav Gagrani)
    - msm: kgsl: Increase the timeout value for fault detection (Credits to Shubhraprakash Das)
    - msm: kgsl: Force the ME off before reading the microcode (Credits to Jordan Crouse)
    - defconfig: ancora: Set ROW scheduler as default (Credits to Arne Coucheron)
    - USB: msm_otg: Fix a bug in charger detection procedure (Credits to Pavankumar Kondeti)
    - USB: msm_otg: Fix host mode suspend bug (Credits to Sujeet Kumar)
    - mmc: msm_sdcc: Remove unnecessary delay in interrupt context (Credits to Venkat Gopalakrishnan)
    - android/lowmemorykiller: Move msleep_interruptible into loop (Credits to tycoo)
    - android/lowmemorykiller: Account for total_swapcache_pages (Credits to Liam Mark)
    - staging: android: lmk: Fix selectively count free CMA pages (Credits to tycoo)
    - zram: replace global tb_lock with fine grain lock (Credits to Weijie Yang)
    - zram: use size_t instead of u16 (Credits to Minchan Kim)
    - zram: remove unused SECTOR_SIZE define (Credits to Sergey Senozhatsky)
    - zram: rename struct `table' to `zram_table_entry' (Credits to Sergey Senozhatsky)
    - Revert "sched: convert WARN_ON() to printk_sched() in try_to_wake_up_local()" (Credits to tycoo)
    - Squashed update of kernel from 3.4.101 to 3.4.102 (Credits to Cristoforo Cataldo)
    - sched: Enable Gentle Fair Sleepers (Credits to tycoo)
    - vmpressure: do not check for pending work to prevent from new work (Credits to Michal Hocko)
    - vmpressure: change vmpressure::sr_lock to spinlock (Credits to Michal Hocko)
    - Squashed update of kernel from 3.4.100 to 3.4.101 (Credits to Cristoforo Cataldo)
    - ARM: 7583/1: decompressor: Enable unaligned memory access for v6 and above (Credits to Dave Martin)
    - fs: exFAT: Update to v1.2.7 (Credits to Arne Coucheron)
    - Remove stray bcm4329 files (Credits to Arne Coucheron)
    - Squashed update of kernel from 3.4.99 to 3.4.100 (Credits to Cristoforo Cataldo)
    - net: Zeroing the structure ethtool_wolinfo in ethtool_get_wol() (Credits to Avijit Kanti Das)
    - usb: gadget: f_audio_source: Fixed USB Audio Class Interface Descriptor (Credits to Anson Jacob)
    - Revert "s3c2410_wdt: Add locking to cpu frequency transition notifier" (Credits to Mark Salyzyn)
    - cgroup: Fix use after free of cgrp (cgrp->css_sets) (Credits to Hans de Goede)
    - cgroup: Take css_set_lock from cgroup_css_sets_empty() (Credits to Hans de Goede)
    - usb: gadget: f_accessory: Enabled Zero Length Packet (ZLP) for acc_write (Credits to Anson Jacob)
    - ..

    JAKStage6.3 - 3.4.99 (25/07/2014)
    • readded undervolted versions
    • Linaro GCC 4.9-2014.07 (4.9.1)
    • zram: set max_comp_streams to 6
    • revert of memutils
    • more changes see commits below
    - zram: avoid lockdep splat by revalidate_disk (Credits to Minchan Kim)
    - Add config for JAKStage6.3_UV_416MB (Credits to tycoo)
    - Squashed revert of memutils (Credits to tycoo)
    - board_ancora: Changed highmem configurations (Credits to tycoo)
    - Squashed update of kernel from 3.4.98 to 3.4.99 (Credits to Cristoforo Cataldo)
    - rtc: alarm: Squashed revert of power-on alarm feature and related commits (Credits to Cristoforo Cataldo)
    - rtc: alarm: Squashed revert of power-on alarm feature updates (Credits to tycoo)
    - Staging: android: binder: More offset validation. (Credits to Arve Hjønnevåg)
    - msm: rpc: Re-add shutdown and restart handler for rpc (Credits to Cristoforo Cataldo)
    - Handle 'sk' being NULL in UID-based routing. (Credits to Sreeram Ramachandran)
    - net: core: Support UID-based routing. (Credits to Lorenzo Colitti)
    - s3c2410_wdt: Add locking to cpu frequency transition notifier (Credits to Mark Salyzyn)
    - cpufreq: fix sleeping in atomic context when realloc freq_table for all_time_in_state (Credits to Minsung Kim)
    - DMA: PL330: Fix racy mutex unlock (Credits to Javi Merino)
    - net: wireless: Increase scan entry expiration to fit new scan time (Credits to Dmitry Shmidt)
    - prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID. (Credits to Ruchi Kandoi)
    - cpufreq: Persist cpufreq time in state data across hotplug (Credits to Ruchi Kandoi)
    - Revert "msm: mdp: Update sync pt. behaviour" (Credits to Arne Coucheron)
    - defconfig: Disable KSM (Credits to Arne Coucheron)
    - Revert "msm: rpc: add shutdown and restart handler for rpc" (Credits to Cristoforo Cataldo)
    - misc: pmem: Retry again a few times if DMA allocation fails (Credits to Cristoforo Cataldo)
    - Squashed update of kernel from 3.4.97 to 3.4.98 (Credits to Cristoforo Cataldo)
    - Squashed update of kernel from 3.4.96 to 3.4.97 (Credits to Cristoforo Cataldo)
    ...

    JAKStage6.2 - 3.4.96 (08/07/2014):
    • back to stock swappiness 60
    • no undervolted versions atm because they seem not stable to me. You can still use Performance Control to edit the voltages.
    • updated to arcos & christophers latest kernel changes
    • some lz4 & zram updates (see commits below)
    - block: row: Fix crash when adding a new field in bio struct (Credits to Tanya Brokhman)
    - mmc: core: invoke low power mode if card is not present (Credits to Asutosh Das)
    - mmc: core: enhance card removal judgement for slow removal (Credits to Kevin Liu)
    - zram: revalidate disk after capacity change (Credits to Minchan Kim)
    - lz4: add overrun checks to lz4_uncompress_unknownoutputsize() (Credits to Greg Kroah-Hartman)
    - lz4: fix another possible overrun (Credits to Greg Kroah-Hartman)
    - lz4: ensure length does not wrap (Credits to Greg Kroah-Hartman)
    - msm7x30: Use a higher memory allocation if CMA is used for ION MM heap (Credits to Cristoforo Cataldo)
    - Added Christophers HighMemConfigurations again (Credits to tycoo)
    - msm7x30: Update defconfigs (Credits to Cristoforo Cataldo)
    - msm7x30: Use CMA for PMEM ADSP (Credits to Cristoforo Cataldo)
    - msm7x30: Allow to optionally enable the use of CMA for ION MM and PMEM ADSP heaps (Credits to Cristoforo Cataldo)
    - msm7x30: Simplify the code for hybrid memory allocations on board side (Credits to Cristoforo Cataldo)
    - misc: pmem: Support for dynamic allocation through CMA (Credits to Cristoforo Cataldo)
    - block: bfq: Squashed update from BFQ-v7r4 to BFQ-v7r5 (Credits to Arne Coucheron)
    - Squashed update of kernel from 3.4.95 to 3.4.96 (Credits to Arne Coucheron)
    - epoll: fix use-after-free in eventpoll_release_file (Credits to Konstantin Khlebnikov)
    - staging: binder: add vm_fault handler (Credits to Vinayak Menon)
    - binder: don't allow mmap() by process other than proc->tsk (Credits to Al Viro)
    ...

    JAKStage6.1-UV-HM_407MB - 3.4.95 (30/06/2014):
    • enabled ANDROID_BG_SCAN_MEM in config and added some kernel/scheduler commits to make lowmemorykiller 'scan free memory more frequently' work. :) (Commit: staging: android: lmk: check free memory when tasks switch to background)
    • disabled QuickWakeUp Driver because of no significant less power consumption
    Commits:
    - Revert "audit: kiss goodbye you stupid piece of crap logging messages." (Credits to tycoo)
    - sched: convert WARN_ON() to printk_sched() in try_to_wake_up_local() (Credits to Syed Rameez Mustafa)
    - tracing/sched: add load balancer tracepoint (Credits to Steve Muckle)
    - sched: change WARN_ON_ONCE to WARN_ON in try_to_wake_up_local() (Credits to Steve Muckle)
    - sched: remove migration notification from RT class (Credits to Steve Muckle)
    - sched: fix reference to wrong cfs_rq (Credits to Srivatsa Vaddagiri)
    - sched: Fix SCHED_HRTICK bug leading to late preemption of tasks (Credits to Srivatsa Vaddagiri)
    - sched: Mark schedule_io_timeout() with EXPORT_SYMBOL (Credits to Jordan Crouse)
    - sched: provide per cpu-cgroup option to notify on migrations (Credits to Steve Muckle)
    - sched: fix rq->lock recursion (Credits to Srivatsa Vaddagiri)
    - Squashed update of kernel from 3.4.94 to 3.4.95 (Credits to Cristoforo Cataldo)
    - Add default configuration for JAKStage6 (Credits to tycoo)
    ...
    8
    op updated with

    JAKStage6.1-UV-HM_407MB - 3.4.95

    • enabled ANDROID_BG_SCAN_MEM in config and added some kernel/scheduler commits to make lowmemorykiller 'scan free memory more frequently' work. :) (Commit: staging: android: lmk: check free memory when tasks switch to background)
    • disabled QuickWakeUp Driver because of no significant less power consumption

    Commits:

    Code:
    - Revert "audit: kiss goodbye you stupid piece of crap logging messages." (Credits to tycoo)
    - sched: convert WARN_ON() to printk_sched() in try_to_wake_up_local() (Credits to Syed Rameez Mustafa)
    - tracing/sched: add load balancer tracepoint (Credits to Steve Muckle)
    - sched: change WARN_ON_ONCE to WARN_ON in try_to_wake_up_local() (Credits to Steve Muckle)
    - sched: remove migration notification from RT class (Credits to Steve Muckle)
    - sched: fix reference to wrong cfs_rq (Credits to Srivatsa Vaddagiri)
    - sched: Fix SCHED_HRTICK bug leading to late preemption of tasks (Credits to Srivatsa Vaddagiri)
    - sched: Mark schedule_io_timeout() with EXPORT_SYMBOL (Credits to Jordan Crouse)
    - sched: provide per cpu-cgroup option to notify on migrations (Credits to Steve Muckle)
    - sched: fix rq->lock recursion (Credits to Srivatsa Vaddagiri)
    - Squashed update of kernel from 3.4.94 to 3.4.95 (Credits to Cristoforo Cataldo)
    - Add default configuration for JAKStage6 (Credits to tycoo)