[ROM][Unofficial][AOSP] Android 5.1.1 Lollipop - Galaxy Tab 10.1 Android Development

Code:
*** Disclamer
Read all instructions before proceeding.
Use at your own risk. I am not responsible for
bricked devices, broken SD cards, broken hearts.
Android Open Source Project 5.1
Lollipop
for
Samsung Galaxy Tab 10.1
(P7510, P7500, SGH-T859)
(p4wifi, p4, p4tmo)​
​
Customizations:
busybox
CMFileManager
DSP Manager
Cyanogenmod audio/video frameworks
Privacy Guard
Advanced reboot menu
Long press recents to switch to previous app
Clear all recents button
Long press back to force kill app
Left navigation bar buttons
Kernel features:
CPU OC (1.2Ghz - 1.6Ghz)
CPU Voltage control
GPU OC (400Mhz)
Dynamic fsync
F2FS
SELinux
Voodoo Sound
USB Charging
Installation instructions
First Install:
Install TWRP 2.8.7.0 or newer
Wipe cache, dalvik cache, system, data
Install the ROM
Optional step:
- Install gapps
- Install SuperSU 2.52
Reboot into the ROM
The first boot will take longer than Android 4.4.4 and older ROMs. Android Runtime (ART) is slower than Dalvik at optimizing applications the first time.
Optional steps...
To enable voice calling:
Install I9103XXLQ3 modem (Thanks to Lucas Kado):
[MOD][09.09.2012] Enable Voice Call For ROMs Based ON [Stock ICS & CM9 & CM10 & AOKP]
To enable SELinux enforcing mode:
The default SELinux mode is Permissive. Flash the "Set_SELinux_enforcing" zip to enable full SELinux enforcing mode.
Downloads
ROM:
p4wifi (GT-P7510): WIFI only tablet.
aosp-5.1.1-p4wifi-20160305.zip
p4 (GT-P7500): Cellular / 3G tablet.
aosp-5.1.1-p4-20160305.zip
p4tmo (SGH-T859): Tablet from T-Mobile carrier.
aosp-5.1.1-p4tmo-20160305.zip
Mirrors:
Android File Host
dev-host
Extra Utilities
aosp-5.1.0-p75xx-Set_SELinux_enforcing-v2.zip
aosp-5.1.0-p75xx-Set_SELinux_permissive-v2.zip
ICS Audio HAL
This ROM uses a new open source audio HAL written for the Android 5.0 API. Install this to use the old ICS audio HAL.
The audio dock will work with this.
p75xx-ICS-AudioHAL-20150110.zip
p75xx-ICS_AudioHAL-AOSP_5.1.0-20150311.zip
Lollipop gapps:
For AOSP 5.1.x
- p75xx-gapps-L-7-17-15.zip
- p75xx-gapps-L-5-6-15.zip
root: SuperSU
BETA SuperSU v.2.52
Changelog
Code:
Current changelog:
October 9, 2017
Add ARM NEON emulation
Kernel fixes
March 5, 2016
14ce2ff Update f2fs from Jaegeuk's linux-3.4.y branch
aa33f57 Revert "bound cpu cores to same speed"
7bf6385 Update f2fs from Jaegeuk's linux-3.4.y branch
b7da55c f2fs: support for kernel 3.1 with M for grouper
c3caabe Update f2fs from Jaegeuk's linux-3.4.y branch
6d4068a f2fs: support for kernel 3.1
February 15, 2016
Update to android-5.1.1_r30
Add missing WIFI tethering patch
Kernel L2 cache improvements
October 31, 2015
project device/samsung/p4-common/
32c8ec7 p4-common: switch to BFQ io scheduler
project kernel/samsung/p4/
94ec284 Update f2fs from Jaegeuk's linux-3.4 branch
e846e09 f2fs: support for kernel 3.1
418d0b0 Move other graphite flags into its kconfig section
58660d9 Revert "Enable ccache"
a32532a Revert "defconfig: enable graphite optimization"
fc4d1f6 ARM: 7168/1: use cache type functions for arch_get_unmapped_area
854a90d ARM: 7169/1: topdown mmap support
0dda9f1 ARM: 7294/1: vectors: use gate_vma for vectors user mapping
d6c8c57 defconfig: switch to slab
79f2d7a touchscreen: mxt1386: Report pressure events
e92b8e2 touchscreen: mxt1386: report active based on detect bit
fdb401f touchscreen: mxt1386: Tweak parameter range
18148fb defconfig: Use cmdline extend
Older Changes:
Code:
August 14, 2015
project bionic/
ba3ba89 Replace Cortex A15 strlen implementation with cortex-strings
606eca6 Import memchr implementation from cortex-strings for Cortex A15
b95b9b7 libc: tegra2: Use a15 strlen and string copy
b553cd8 libc: Update non-neon cortex a9 makefile
4a07afa bionic/libm pow optimizations for arm64
c35e587 Sync libm with upstream.
f9ad8a8 Get new coshl, sinhl, and tanhl implementations from upstream.
87d2724 Fix our <complex.h> support.
976604d libm: arm: Add arm specific floor() optimization
7f1159a Add aarch64 instructions wherever possible
e91b015 libm: Fix makefiles
project build/
44da9a4 "LMY48H"
d278554 "LMY48I"
project device/samsung/p4-common/
2d30b54 p4-common: switch back to cortex-a9 bionic
project external/libavc/
2eaba5e Encoder: Fixed an issue in handling FPS greater than 60
project frameworks/av/
efbf145 audiopolicy: Make sense of concurrency properties
e47a66b libmedia: AudioTrack offload only for STREAM_MUSIC
aa31cfa libmedia: Enable TrackOffload for more usecases
086daa6 libstagefright: use SW AAC encoder for HE-AAC format
e914a34 httplive: Check for bandwidth switch only for variant playlists
5bdf394 httplive: Check for NULL playlist in postPrepared
09fade8 httplive: Adjust seek time to last video IDR time
a588850 audiopolicy: Fix for isStateInCall() do not return proper status
49a2379 libstagefright: Fix crash in convertMetaDataToMessage
56c7950 nuplayer: Fix incorrect state handling while shutting down a decoder
3676897 Guard against codecinfo overflow
93d306a MPEG4Extractor: still more NULL dereference fixes
ba0017c SampleTable: fix integer overflow checks.
beaf7af AudioOutput: Always open AudioTrack with a flag
bdd042d audiopolicy: use deep_buffer as default output for music stream
fc5ee4b audiopolicy: fix for voice call to work on USB headset during concurrency
4b48487 audiopolicy: fix playback of multichannel pcm clips via low latency output
c773ab2 libeffects: validate channel mask in downmixer configure
bb5a485 Fix multiple division-by-zero conditions in MPEG4 parsing
8da57d7 Fix null-pointer-dereferences accessing the SampleTable
f5024f6 MPEG4Extractor.cpp: Add check for size == SIZE_MAX
574e49d Detect allocation failures and bail gracefully
744a392 libstagefright: Remove nBitPerSample CHECK
cc68933 Fix global-buffer-overflow in voAWB_Copy.
8dbd7ff Check allocation
62c0231 Fix new[] vs delete mismatch.
ce0ebe4 The preview frame data is broken when sending via Binder
1610dca Validation of Number of Channels on WAV files
72323a4 libstagefright: fix output buffer is not released by Writer when stopping
bbc6668 libstagefright: Fix incorrect duration calculation
6a2289e Add AUtils::isInRange, and use it to detect malformed MPEG4 nal sizes
636050c Add some sanity checks
aae1058 HDCP: buffer over flow check -- DO NOT MERGE
8d2c4b3 IOMX: Add buffer range check to emptyBuffer
523b5c5 libstagefright: Scale up bitrate for HSR videos
c69b0a3 video: Disable resync markers
51dde7a AudioMixer: fill 0s at right place when no more buffers available
35460e9 MPEG4Extractor.cpp: handle chunk_size > SIZE_MAX
7c7f1e1 Fatal error while playing certain mkv files.
38c26d7 stagefright: Don't crash on invalid / null AVCC atoms in MKV
project frameworks/base/
18fd2dc Barrier only messages shouldn't prevent the idle handlers from running
project frameworks/native/
cadfa27 Fix mistake using width instead of height.
63503fe Workaround for black screenshots due to z-order change
project kernel/samsung/p4/
caa6dae ARM: 7403/1: tls: remove covert channel via TPIDRURW
dc508fd ARM: 7587/1: implement optimized percpu variable access
ff15b70 ARM: 7735/2: Preserve the user r/w register TPIDRURW on context switch and fork
3dfe7a0 ARM: 7747/1: pcpu: ensure __my_cpu_offset cannot be re-ordered across barrier()
5ec7979 crc32: optimize inner loop
a1f50af ARM: bitops: prefetch the destination word for write prior to strex
6069ae6 video: tegra: nvmap: Set PAGELIST_VMALLOC_MIN size correct
f7cbb13 mm for fs: add truncate_pagecache_range()
45196f8 Update f2fs from Jaegeuk's linux-3.4 branch
8a6aa31 f2fs: support for kernel 3.1
project packages/apps/CMFileManager/
f328e4f [CMFileManager] Fix can't copy after disconnect with pc.
7b09bb0 Made NavigationView reliant on FileObserver to keep up to date.
6e633d8 Automatic translation import
cb05075 Revert "Made NavigationView reliant on FileObserver to keep up to date."
ddb22bb Fixed ANR associated with SecureStorage
c740f92 Fixed search to actually open the clicked folder
6f6094d Fixed ANR & Memory Leak Associated with 3GP
13879c7 Fix don't pop up "Actions" menu when long pressing on a file/folder after open and close "Use swipe gesture".
eb58bd8 Automatic translation import
602f3de RTL: move buttons to proper spot in nav drawer
b5c78a6 Automatic translation import
bd79d58 Improve copy/move performance with nio and reintroduce cancel.
project system/core/
2eb6642 - Revert "fs_mgr: let fsck.f2fs actually attempt a fix"
July 29, 2015
project device/samsung/p4-common/
52ee2e9 libstagefrighthw: add libstagefrighthw for tf700t/tf300t tablets
project external/f2fs-tools/
ef77a4a mkfs.f2fs: set encryption feature
d07544c fsck.f2fs: show superblock features and encryption info
bcf54d1 dump.f2fs: show i_advise field in inode
ac43c66 fsck.f2fs: avoid build warning
e48773e fsck.f2fs: add hash conversion for encrypted dentries
f9cb4b2 fsck.f2fs: select to update the latest valid summary
da3931d fsck.f2fs: drop extent_info to avoid potential wrong access
project external/ffmpeg/
56bedf7 Update to ffmpeg 2.7.2
project external/libavc/
87ad734 Merge "Don't set -mno-avx"
3c192ea Merge "Mark arrays of pointers as const"
9fbffcf Don't declare variables after statements
f080d51 Fixed encode of single frame
d0603c3 Merge "Remove the now unused stride field from the set dimensions struct"
a306c95 Merge "Fixed encode of trailing B frames"
cc58d3f Check the width/height and adjust level used for RC
08e68e8 avcenc: Initialize avg_time
8e78e30 Make sure that apv_bufs[0] and u4_is_last always are set
0fee948 Use INT_MAX as i4_max_sad in ih264e_evaluate_bipred
9c6a2f7 Cabac optimizations
b7d5bb5 Fixed issue in cost computation for BIPRED ME
5696adb Validate the u4_entropy_coding_mode field
634567f Merge "Always do recon of 4x4 intra blocks"
aad4587 Made gops closed
1cd52d6 Merge "Don't use side effects in the macro PUT_BITS_SEV parameters"
90bd045 Decoder: Fixed issues shown by Valgrind
project external/stagefright-plugins/
df31683 Revert "stagefright-plugins: Restructure the code"
project frameworks/av/
f481ae6 Merge branch 'cm-12.1' of https://github.com/CyanogenMod/android_frameworks_av.git into cm-12.1-p4
181e02c Fix TF101 workaround for NVOMX plugin crash
7e07312 Remove TF101_OMX
512a42f Revert "stagefright: Move a bunch of FFMPEG stuff out of here"
21b5b3e Revert "stagefright: Add support for loading a custom OMXPlugin"
project frameworks/native/
47b6110 Revert "Add OMX_AUDIO_CodingAPE and OMX_AUDIO_CodingDTS"
f96eb86 Revert "Revert "Add OMX_AUDIO_CodingAPE and OMX_AUDIO_CodingDTS""
project vendor/samsung/p4/
2a4f1c8 Remove stagefrighthw.so
project vendor/samsung/p4wifi/
676d1c0 Remove stagefrighthw.so
July 23, 2015
project kernel/samsung/p4/
8402aaf ARM: missing ->mmap_sem around find_vma() in swp_emulate.c
4f8f9f2 ext4: fix memory leak in xattr
f662c201 Revert "SCHEDULER: Autogroup patch group by current user android UID instead of task ID"
f6c7ac3 cpufreq: interactive: Align timer windows for all CPUs
25d9b61 cpufreq: interactive: Reset last evaluated jiffy in idle callback
e803dc2 cpufreq: interactive: Round up timer_rate to match jiffy
32c73e9 Graphite optimization kconfig option
5518b30 defconfig: enable graphite optimization
project libcore/
8cb50cb Remove forced alignment code.
July 17, 2015
project bionic/
4487f63 libc: Cache large /etc/hosts files
project build/
222d0ae Saberize v5 (3/5)
455c0f5 Fix call to dumvar
project device/samsung/p4-common/
83e2ed3 Revert "p4-common: Avoid hotplug kernel crash"
b2b1ec8 p4-common: Fix and clean up init.d scripts
3d524fd p4-common: Remove build custom flags
2a8e73a p4-common: Remove custom stagefright cache params
1c4e84d p4-common: Disable running without sync framework flag
820aa61 p4-common: Don't install alternate random script
44d5f56 p4-common: Switch to FIOPS io scheduler
project external/ffmpeg/
4bf19a5 Update to ffmpeg 2.7.1
project external/libpng/
8022b8e Make compatible with SaberMod ARM mode.
project external/stagefright-plugins/
e9eddbf stagefright-plugins: Disable lowres
529ea8c stagefright-plugins: Improve seeking further
a82d5bd stagefright-plugins: Add special handling of DivX files
ce6fc45 stagefright-plugins: Fix adaptive buffer and crop handling
68d9c45 stagefright-plugins: Remove Vorbis/MP3/H263/H264/HEVC
project frameworks/base/
c701b1e Barrier only messages shouldn't prevent the idle handlers from running
project frameworks/native/
4f4e423 SF: Skip render-to-texture for color transforms
project frameworks/opt/net/wifi/
e1f6fbc Fix memory leak in WifiNative
project kernel/samsung/p4/
686f7d7 base: cpu: Make cpu online sysfs readonly
d61cf07 arm: tegra: thermal: Fix p4lte build
65668ac sync: don't block the flusher thread waiting on IO
3c2e117 ext4: Speedup WB_SYNC_ALL pass called from sync(2)
b83fef6 udp: fix behavior of wrong checksums
1cca78f Makefile: Use O3 and Graphite
bd0772d compiler-gcc: Update to upstream for GCC 5.x compiler
a4397ae GCC 5.1 build fixes
c38fd65 defconfig: Disable some debugging
df855aa Revert "lowmemorykiller: optimize for use with zswap"
f18a32b lowmemorykiller: Don't count swap cache pages twice
49a0387 Revert "drivers: staging: android: lmk compile fixup"
8ce1cfe Revert "lowmemorykiller: Use asynchronous compaction"
f4f8fcd Revert "lowmemorykiller: Compact memory when killing processes"
c8322ee3 android: drivers: workaround debugfs race in binder
eb2f91e arm: config: p4wifi: Enable zRAM options suggested by Google
7336f70 Revert "defconfig: frandom"
08e15f9 Revert "Added frandom kernel random number generator: http://www.billauer.co.il/frandom.html"
f6885cb net: llc: use correct size for sysctl timeout entries
012453e netfilter: nf_conntrack: reserve two bytes for nf_ct_ext->len
48e8533 A local route may have a lower hop_limit set than global routes do.
4f38de3 ipv4: try to cache dst_entries which would cause a redirect
c16a81d vfs: read file_handle only once in handle_to_path
42d0e43 mmc: block: Update error handling if block data is not available
3551921 selinux: fix inode security list corruption
04808cf ARM: 7919/1: mm: refactor v7 cache cleaning ops to use way/index sequence
d76c0cd Revert "block, bfq: add Early Queue Merge (EQM) to BFQ-v7r8 for 3.1.0"
600e1ab Revert "block: introduce the BFQ-v7r8 I/O sched for 3.1"
44b7fc3b Revert "block: cgroups, kconfig, build bits for BFQ-v7r8-3.1"
7a5cae4 Revert "block: prepare I/O context code for BFQ-v7r8 for 3.1"
c609384 block: fix genhd refcounting in blkio_policy_parse_and_set()
52280cd block: move blk_throtl prototypes to block/blk.h
390bef4 block: pass around REQ_* flags instead of broken down booleans during request alloc/free
66c94ee block: drop unnecessary blk_get/put_queue() in scsi_cmd_ioctl() and blk_get_tg()
72e5dcb block: reorganize queue draining
c20f87c block: reorganize throtl_get_tg() and blk_throtl_bio()
551d25c block: make get_request[_wait]() fail if queue is dead
233001b block: drop @tsk from attempt_plug_merge() and explain sync rules
efa12eb block: fix request_queue lifetime handling by making blk_queue_cleanup() properly shutdown
12ae3a2 block: initialize the bounce pool if high memory may be added later
811183b block: fix a typo in the blk-cgroup.h file
f531c70 block: Remove the control of complete cpu from bio.
88320aa block: warn if tag is greater than real_max_depth.
239d247 blk-throttle: Free up policy node associated with deleted rule
0df5999 blk-throttle: Take blkcg->lock while traversing blkcg->policy_list
5616b48 blk-throttle: use queue_is_locked() instead of lockdep_is_held()
6fefae4 block: don't call blk_drain_queue() if elevator is not up
30df47c block, sx8: kill blk_insert_request()
5670654 block: add blk_queue_dead()
6ebed60 block: fix drain_all condition in blk_drain_queue()
4c0a1bd block: add missing blk_queue_dead() checks
a9ef87a block, cfq: move cfqd->cic_index to q->id
9517813 block: misc ioc cleanups
d8795f2 block: make ioc get/put interface more conventional and fix race on alloction
39bd421 block: misc updates to blk_get_queue()
620de54a block, cfq: misc updates to cfq_io_context
6d6a86c block, cfq: move ioc ioprio/cgroup changed handling to cic
acf16ed block, cfq: fix race condition in cic creation path and tighten locking
24b5fba block, cfq: fix cic lookup locking
38a1289 block, cfq: unlink cfq_io_context's immediately
2d4d01f block, cfq: remove delayed unlink
a95acba block, cfq: kill ioc_gone
e406bdc block, cfq: kill cic->key
067e171 block, cfq: replace current_io_context() with create_io_context()
05107d7 block: reorder elevator switch sequence
1c5462b2 block: remove elevator_queue->ops
640fd83 block, cfq: reorganize cfq_io_context into generic and cfq specific parts
6d31480 block, cfq: move cfqd->icq_list to request_queue and add request->elv.icq
28026e0 block, cfq: move io_cq lookup to blk-ioc.c
948013b block, cfq: move icq cache management to block core
71b69e3 block, cfq: move io_cq exit/release to blk-ioc.c
5347ffc block, cfq: restructure io_cq creation path for io_context interface cleanup
d8d2502 block, cfq: move icq creation and rq->elv.icq association to block core
12f3d5d block, cfq: fix empty queue crash caused by request merge
afa0f35 block: recursive merge requests
c631ab7 block: ioc_cgroup_changed() needs to be exported
c7b050e block: an exiting task should be allowed to create io_context
89a8f79 block: remove WARN_ON_ONCE() in exit_io_context()
3dc5b4d block: Introduce blk_set_stacking_limits function
feb05a6 block: Add BLKROTATIONAL ioctl
a00dfa4 fs: remove unneeded plug in mpage_readpages()
bcce0d5 blockdev: convert some macros to static inlines
aa4a136 include/linux/bio.h: use a static inline function for bio_integrity_clone()
ecb5b65 bio: change some signed vars to unsigned
6fc6d50 block: Stop using macro stubs for the bio data integrity calls
2c79fc0 Revert "block: recursive merge requests"
e2467ee Revert "block: fixes required to make the kernel compile with ROW."
4446aef fs: fuse: Fix-ups after d8795f2c85d4e458ec4f8353c3de693ee9d450fc
5386714 cfq-iosched: fix use-after-free of cfqq
b403c63 block,cfq: change code order
d97fc7d block: fix NULL icq_cache reference
f9faa23 block: fix ioc locking warning
17186c2 block: strip out locking optimization in put_io_context()
9d170a3 block: separate out blk_rq_merge_ok() and blk_try_merge() from elevator functions
736cc20 block: don't call elevator callbacks for plug merges
e8bda1e bsg: fix sysfs link remove warning
6cac422 block: fix lockdep warning on io_context release put_io_context()
3890115 block: replace icq->changed with icq->flags
316e673 block: simplify ioc_release_fn()
6ba1509 block: exit_io_context() should call elevator_exit_icq_fn()
eb6d63a block: fix ioc leak in put_io_context
0fd50c6 block: blk_alloc_queue_node(): use caller's GFP flags instead of GFP_KERNEL
1304491 block: use lockdep_assert_held for queue locking
8b4ef57 block: Make cfq_target_latency tunable through sysfs.
44e08ef block: make auto block plug flush threshold per-disk based
3cff711 block: fix buffer overflow when printing partition UUIDs
485197e block: fix request_queue->flags initialization
4cb8505 cgroup: add cgroup_root_mutex
c814092 threadgroup: rename signal->threadgroup_fork_lock to ->group_rwsem
c3e285f cgroup: always lock threadgroup during migration
1ffddb4a cgroup: improve old cgroup handling in cgroup_attach_proc()
7c066d3 cgroup: introduce cgroup_taskset and use it in subsys->can_attach(), cancel_attach() and attach()
7c5426a cgroup: kill subsys->can_attach_task(), pre_attach() and attach_task()
e525675 cgroup: don't use subsys->can_attach_task() or ->attach_task()
838cf8b cgroup_freezer: Fix build
b43392c cgroup: propagate mode_t
52c57bb cgroup: remove cgroup_attach_task_current_cg()
f1fe20a cgroup: move struct cgroup_pidlist out from the header file
ae1fc96 cgroup: revert ss_id_lock to spinlock
8b314a3 block: fiops ioscheduler core
16ab2c1 block: fiops read/write request scale
75597dd block: fiops sync/async scale
4df5521 block: fiops add ioprio support
39bc9cc block: fiops preserve vios key for deep queue depth workload
12626e0 block: fiops bias sync workload
c68587d block: cgroups, kconfig, build bits for BFQ-v7r8-3.4
82b1954a block: introduce the BFQ-v7r8 I/O sched for 3.4
bc44c2f block, bfq: add Early Queue Merge (EQM) to BFQ-v7r8 for 3.4.0
48130ff BFQ: Fix up for upstream 3.4 block and partial cgroup backports
911abd8 mm: make swapin readahead skip over holes
67a2eb7 shmem: cleanup shmem_add_to_page_cache
7fe8734 lib/radix-tree.c: make radix_tree_node_alloc() work correctly within interrupt
bea141f pstore: selinux: add security in-core xattr support for rootfs, pstore and debugfs
8ca5c5a Revert "writeback: fix writeback cache thrashing"
0ef581f writeback: account per-bdi accumulated dirtied pages
5c9427b writeback: dirty position control
9232e4b writeback: add bg_threshold parameter to __bdi_update_bandwidth()
cd14996 writeback: dirty rate control
ec92937 writeback: stabilize bdi->dirty_ratelimit
0aface7 writeback: per task dirty rate limit
f440b08 writeback: IO-less balance_dirty_pages()
f768c02 writeback: limit max dirty pause time
17f5989 writeback: control dirty pause time
aa7e2fc writeback: dirty position control - bdi reserve area
c49792c writeback: per-bdi background threshold
c275aea writeback: trace event bdi_dirty_ratelimit
a2e92b5 writeback: trace event balance_dirty_pages
5a7cfe8 writeback: fix uninitialized task_ratelimit
1650668 mm: Make task in balance_dirty_pages() killable
2d559d2 writeback: hard throttle 1000+ dd on a slow USB stick
5245c7a ext4: warn if direct reclaim tries to writeback pages
70826da writeback: fix writeback cache thrashing
7bdcb42 writeback: fix race that cause writeback hung
7addbb8 writeback: remove vm_dirties and task->dirties
1d9dcda writeback: comment on the bdi dirty threshold
de54aa8 writeback: permit through good bdi even when global dirty exceeded
220cb45 writeback: set max_pause to lowest value on zero bdi_dirty
3d5f7e4 writeback: charge leaked page dirties to active tasks
83f8dfc writeback: fix dirtied pages accounting on sub-page writes
7d887fa writeback: fix dirtied pages accounting on redirty
a9c86ab writeback: dirty ratelimit - think time compensation
7bde8d6 writeback: fix ppc compile warnings on do_div(long long, unsigned long)
6ce29e4 writeback: max, min and target dirty pause time
465affd writeback: avoid tiny dirty poll intervals
1a0b83e writeback: do strict bdi dirty_exceeded
a5731de writeback: balanced_rate cannot exceed write bandwidth
f152649 net: wireless: bcmdhd: Reduce HW4 logging level
6460c52 workqueue: CPU hotplug keep idle workers
aa1d07f arm: workqueue: fix get_pool_nr_running()
d31ec88 sched: unthrottle rt runqueues in __disable_runtime()
011ba24 kthread: disable preemption during complete()
67c9a09 ARM: mm: cache-l2x0: Implement outer_clean_all()
ce6ab65 mm: Fix incorrect cache attribute restoration.
6bfdfe5 mm: Avoid freeing init and initrd memory when CPA is enabled.
2252275 ARM: 7467/1: mutex: use generic xchg-based implementation for ARMv6+
d3da7fa ARM: mutex: use generic atomic_dec-based implementation for ARMv6+
project system/core/
6240b07 Fix compile with SaberMod
project vendor/sm/
2ad8230 Add p4wifi
June 28, 2015
project device/samsung/p4-common/
8400112 p4-common: Avoid hotplug kernel crash
0190630 p4-common: restrict dmesg
8849014 p4-common: multirom: add tegra-kbc to init devices
6a52c6e p4-common: Make vendor config optional
a9752c6 hwc: Skip composition when numHwLayers is zero
project external/ffmpeg/
74773c1 ffmpeg: Readd missing X86 fixups
3b79b80 ffmpeg: Set cpu arch for silvermont config
project external/stagefright-plugins/
e5f8759 ffmpeg: Remove a couple of codecs we don't need
36780e8 stagefright-plugins: Set sensible defaults for audio decoders
3272744 stagefright-plugins: Update codec list with capabilities
project frameworks/av/
775c557 stagefright: ffmpeg: Slightly raise the threshold for the ffmpeg scanner
90371ca Merge branch 'cm-12.1' of https://github.com/CyanogenMod/android_frameworks_av.git into cm-12.1-p4
project frameworks/base/
b7b3ad9 Fix a GL error leak issue
2154010 Merge tag 'tags/android-5.1.1_r5' into aosp-5.1.1_r5-p4
project frameworks/native/
94d649a SF: Reduce resync samples without present
886ec01 Merge branch 'android-5.1.1_r5' into aosp-5.1.0-p4
project kernel/samsung/p4/
33caae7 netfilter: Sync with grouper android-5.1.0_r0.4
98ee028 netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages
5171a7f sock: Introduce named constants for sk_reuse
8415f79 net: wireless: Sync with grouper android-5.1.0_r0.4
49f1b7a block: disable entropy contributions for nonrot devices
4cb0220 defconfig: Disable SELinux
dce2b44 Revert "defconfig: Disable SELinux"
700f75a defconfig: Enable kexec-hardboot for p4, p4tmo, and p4lte
7d02246 sysctl net: Keep tcp_syn_retries inside the boundary
903d78d WLAN subsystem: Sysctl support for key TCP/IP parameters
2cf48c8 net: Create shadow files under /sys/kernel/ipv4
project packages/apps/CMFileManager/
91c9e78 Fix parsing of shell command output regardless of encoding
1b15dff Automatic translation import
22b9eab Shell console: fix bug in shell output stream
June 20, 2015
project bionic/
d23763b libc: tegra2: Update memchr from aosp
cf10b1c libc: Cache large /etc/hosts files
6c554bf Revert "libc: Cache large /etc/hosts files"
project device/samsung/p4-common/
4d817d0 p4-common: Prefer ffmpeg vp8 and vp9 decoder
a79d8c9 p4-common: overlay: Update screen brightness levels
de0c6cd p4-common: overlay: Remove softap from wifi tether regex
project external/stagefright-plugins/
949ae01 stagefright-plugins: Add -Wno-psabi for ARM64 builds as well
ffed52f FFmpegExtractor: mark HEVC as supported
86506b6 stagefright-plugins: Refactor the decoders
56bdc69 stagefright-plugins: Move and update codec XML
1778caf stagefright-plugins: Clean up makefiles
f50a061 stagefright-plugins: Refactoring the extractor
1e35faa stagefright-plugins: Convert tabs to spaces
ee5d283 stagefright-plugins: Minor fix for FFMPEG 2.7
project external/wpa_supplicant_8/
1f6393f nl80211: add ifndef on AP SME condition
project frameworks/av/
c764b0a Merge remote-tracking branch 'cyanogenmod/cm-12.1' into cm-12.1-p4
a1fa45c audio: Fixed streamType for non-media streams
9cc1c24 audiopolicy: Fix call recording for legacy qcom HAL (again)
3fd6088 audio: fix incall music ifdefs (3/3)
489d096 ESQueue:use 0x000001 instead of 0x00000001 as sync word in H264/MPEG_VIDEO
4816034 Don't fail read when "seeking" to current position
5e179e6 libstagefright: free mMoovBoxBuffer
0d94b66 Signal EOS at end of mpeg video to flush out final sample
ba8d3f2 MediaCodec: use non-blocking call to get service
72ae734 Fix div zero error in corrupted media file
22a8369 Nuplayer: Fix no image or image will be delay issue
2aa3a23 frameworks/av: do not allow voip direct output for non 16-bit PCM
a39faef libstagefright: Support PCM channel mask update
f266c28 nuplayer: Don't write data to sink if sink is stopped
e640dc4 RTSPSource: check audio buffer count
e44aa1c NuPlayer: Fix for PCM offload fallback on BT
3759ee4 AudioFlinger: Add PCM offload format for dumpsys logging
67054e8 NuPlayer: Fix for pcm offload not using offload path after pause time out
774df3f NuPlayer: Fix incorrect time update for pause followed by seek, resume
45bbdff stagefright: Replace strncpy with strlcpy
1df821b frameworks/av: Fix NULL check for source
7ff13ee nuplayer: improve startup/rebuffering for http progressive playback
3cbb418 audio: removed stream type check from AudioTrack
16c78bb Fix several ineffective integer overflow checks
e586b3e Fix integer underflow in ESDS processing
3854030 Fix integer overflow during MP4 atom processing
a7cf34b Revert "audio: Reduce device switch delay"
14df986 nuplayer: start or stop audio sink from renderer only
ab5b940 NuPlayer: Clear stale track packets on seek
a43fc72 audiopolicy: Unbreak incall music
0546fab Merge branch 'cm-12.1' of https://github.com/CyanogenMod/android_frameworks_av.git into cm-12.1-p4
37882c1 audiopolicy: Use legacy alsa to guard incall music feature
4f9390d audiooutput: Serialize access to AudioOutput
96e0621 Nuplayer: During flush operation flush audiosink
4f6010d stagefright: Fix issues with software decoders
1e9fb53 Merge branch 'cm-12.1' of https://github.com/CyanogenMod/android_frameworks_av.git into cm-12.1-p4
project frameworks/base/
c0a5106 policy: Show a simple dialog about optimizing apps
project kernel/samsung/p4/
9d84b5d Revert "video: tegra: remove free memory check"
fea1797 bcmdhd: espresso10 driver
d24d7ff bcmdhd: Fix build for p4
805b82f net: wireless: bcmdhd: Enable p2p support bits for p2p device
caece2f bcmdhd: Disable pno support
5a0b388 bcmdhd: Enable Ad-Hoc (IBSS) mode
1e8eac5 backlight: cmc623: Reduce deadzone at lower backlight level
89df4af backlight: cmc623: Fix tune_level calculation
7a8aeea backlight: cmc623: Clean up code
8ff490f cpufreq: interactive: restructure CPUFREQ_GOV_LIMITS
089ace1 subsystem: CPU FREQUENCY DRIVERS- Set cpu_load calculation on current frequency
1e94567 block: Make CFQ default to IOPS mode on SSDs
28b524f fs: take i_mutex during prepare_binprm for set[ug]id executables
3559d50 ARM: tegra: Implement 6395/1 for Tegra
b07ee46 ARM: 7746/1: mm: lazy cache flushing on non-mapped pages
3422443 ARM: cacheflush: don't round address range up to nearest page
eef66cf video: tegra: cmc623: Fix build warnings
33d93b9 sensors: proxlight: bh1721fvc: Fix error log
6b2bc1c workqueue: make all workqueues non-reentrant
1e0d016 update defconfig
446a27e Revert "block, bfq: add Early Queue Merge (EQM) to BFQ-v7r7 for 3.1.0"
c22600d Revert "block: introduce the BFQ-v7r7 I/O sched for 3.1"
caaa9ce Revert "block: cgroups, kconfig, build bits for BFQ-v7r7-3.1"
2ea3d7f Revert "block: prepare I/O context code for BFQ-v7r7 for 3.1"
916953c block: prepare I/O context code for BFQ-v7r8 for 3.1
7a534fc block: cgroups, kconfig, build bits for BFQ-v7r8-3.1
04f0dd6 block: introduce the BFQ-v7r8 I/O sched for 3.1
fc6069b block, bfq: add Early Queue Merge (EQM) to BFQ-v7r8 for 3.1.0
5730193 Implement kexec-hardboot
78d6db6 defconfig: Enable kexec hardboot
project packages/apps/CMFileManager/
da3e50d Prevent possible OOBE when ran under monkey test
c5c6852 CM Easy Mode File Manager Navigation fixes
2ed65f0 Fix back arrow discoloration in action bar
3a81139 Automatic translation import
08a24ff Prevent possible OutOfBoundsException
835447a Update Editor Activity to handle Content URI
0c06f5c [CMFileManager] The remember selection don't work when open a file
41232db CMFileManager: Improved strings
0d31e17 [CMFileManager]Fix the FileManager Crash.
9a75e1b [CMFileManager]Fix CMFileManager sometimes crash.
4841e94 Automatic translation import
b1bac2d Fix there are no folders in NavigationView Pinned file manager
ae97d0f Automatic translation import
May 13, 2015
project bionic/
4b2a184 Revert "libc: tegra2: Try again Cortex-A9 optimized memcpy"
project device/samsung/p4-common/
4d817d0 p4-common: Prefer ffmpeg vp8 and vp9 decoder
project frameworks/av/
779252b libmedia: avoid processing stale callback events when track recycled
8b5540c libstagefright: Fix for handling of stream with corrupt frames
c764b0a Merge remote-tracking branch 'cyanogenmod/cm-12.1' into cm-12.1-p4
May 8, 2015
project bionic/
55a62b4 libc: tegra2: Try again Cortex-A9 optimized memcpy
dd34e6e libc: tegra2: Use Cortex-a9 strcpy
df6879e Use ARM assembly instructions for fabs/fabsf
project build/
fed24bb Allow a device to generically define its own headers
project external/f2fs-tools/
b3ed522 f2fs-tools: fix build system to make distcheck correctly
0dd62d1 configure: add check for fallocate
827d130 mkfs.f2fs: show bytes for total_sectors
563b7f3 fsck.f2fs: show cp_state for fsck.f2fs
5ef95c4 fsck.f2fs: show total sectors consumed by filesystem
77da947 mkfs.f2fs: add quite mode, -q
70677f4 mkfs.f2fs: 512 UTF-16 characters for label
6227183 fsck.f2fs: reduce redundant message
3965dfd fsck.f2fs: remove inconsistent named directories
1afeea2 fsck.f2fs: check file types
70ec5c5 fsck.f2fs: fix inodes having wrong i_links
8be5073 fsck.f2fs: skip block count fix when i_links is fixed
bcbc323 fsck.f2fs: preserve orphan blocks
5f81460 fsck.f2fs: return summary block pointer and types
27f4bbd fsck.f2fs: fix summary block
3331158 fsck.f2fs: fix corrupted dentries
b54be7e fsck.f2fs: count child directories correctly for i_links
1a7969f fsck.f2fs: fix missing i_links
4e29cee fsck.f2fs: clean up child information
c9d380e fsck.f2fs: fix missing dentries
9b2bd4f fsck.f2fs: fix orphan inode's link count
d110a43 Revert "mkfs.f2fs: 512 UTF-16 characters for label"
ad39d96 fsck.f2fs: show ckeckpoint version info
project external/ffmpeg/
7a4bdf1 Update FFMPEG 2.5.6
57e6214 Restore av_err2str
project external/libavc/
c72323e Fixed few issues seen in CTS tests
cd9e51f fix file permissions
25e8adb Resolved warnings and fixed alignment of few assemblies
project external/wpa_supplicant_8/
6aa95d8 P2P: Validate SSID element length before copying it
project frameworks/av/
fb629ad Ensure there is no two same storages showing on the computer.
12d059e MediaCodec: use non-blocking call to get service
bd4881c stagefright: Configure codecs correctly in the mediatek platform
f519217 audio policy: validate stream type received from binder calls.
9fe3b80 mpeg2ts: Enable timestamp reordering for HEVC TS content
4f68435 mpeg2ts: Clean up HEVC format checks
4828d45 Audioflinger: fix for hardware accelerated effects memory leak issue
fbe18e6 audiopolicy: fix crash in camcorder during voice call
d851d89 Revert "nuplayer: Modify seek and resume latency calculation"
ec8cc54 nuplayer: Fix bitrate propagation
8ffdb20 libstagefright: wfd: add option to omit using intra macroblock refresh mode
e48b311 Revert "nuplayer: do not use cached source for wvm content -- DO NOT MERGE"
dd2e326 stagefright: httplive: Bring in line with upstream
6f0df50 Merge remote-tracking branch 'cyanogenmod/cm-12.1' into cm-12.1-p4
project frameworks/base/
2df81c2 Revert "Revert "DimLayer : remove unnecessary surface transaction calls""
e62470c Revert "Revert "Remove the window whose client process has died or become zombie""
549dd1e Revert "Revert "Improve concurrency by propagating B services to higher adj""
4c3616f Revert "Revert "hwui : fix memory leak due to duplicate in shadow cache""
24c5a33 Left nav bar (1/2)
project frameworks/opt/net/wifi/
55d2439 Revert "aggressively blacklist WifiConfiguration for the purpose of switching network"
project kernel/samsung/p4/
19cba0d defconfig: Enable tegra errata
10196cb Update f2fs to for-f2fs-4.1 from Jaegeuk's linux-3.4 branch
8c2e022 f2fs: support for kernel 3.1
3fb6d1c Revert "f2fs: enhance multi-threads performance"
90acd29 f2fs: fix wrong error hanlder in f2fs_follow_link
5c2888f misc: nct1008: add id for nct72
67cda80 drivers: nct: exposed nct internal/external temps
bbf52b4 drivers: misc: nct: fix section mismatch warning
c6e502f misc: nct: section mismatch fix
c3d4ef6 drivers: nct: shutdown and thermal register
86e596e drivers: misc: nct driver decouple
5cbba8d drivers: nct: Fixed uninitialized variable
a35f766 drivers: nct: Added hysteresis
1693f51 arm: tegra: thermal: nct1008 support for p4wifi
c5ab0eb ARM: tegra: thermal: Remove tegra therm dependency
ed27375 defconfig: enable config thermal
5419b99 arm: tegra: thermal: nct1008 support for rest of samsung pX boards
8e9f5aa ipv4: Missing sk_nulls_node_init() in ping_unhash().
0029ee9 Revert "Revert "kernel:sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire""
39ac867 fs: aio: Fix bad merge
d31abd7 Revert "Revert "android: lowmemorykiller: squash task adj rbtree optimization from Motorola""
cc8bc12 defconfig: use Motorola's lmk optimizations
323c773 drivers:lmk: Fix double delete issue
cea73cb lmk: wrap the lmk code with config
468715e staging:android:lmk: read rb tree root with spinlock
aaedf1c Revert "cpufreq: interactive: Remove trace event from idle_start handler"
f77ca4f Revert "cpufreq: interactive: Reset floor_validate_time if busy at max for 100ms"
3c5b25d tcp: fix FIONREAD/SIOCINQ
ac157b0 defconfig: Turn off CONFIG_CC_OPTIMIZE_FOR_SIZE
4711923 Revert "defconfig: Enable tegra errata"
acc31c5 defconfig: use Motorola's lmk optimizations
project packages/apps/Settings/
6d1fc14 Left nav bar (2/2)
April 28, 2015
Fix no sim card detected for p4.
April 26, 2015
I haven't encountered any freezing after these changes.
It now has ICS audio wrapper by default. This should be suitable for most users. I think it is only those who use the audio dock that need to install the old ICS audio HAL.
project bionic/
f354b2a Revert "libc: tegra2: Cortex-A9 optimized memcpy"
project kernel/samsung/p4/
8c44c03e Revert "mutex: Place lock in contended state after fastpath_lock failure"
31cd532 Revert "ARM: 7587/1: implement optimized percpu variable access"
23a755f Revert "ARM: mutex: use generic atomic_dec-based implementation for ARMv6+"
b664aa6 Revert "ARM: 7467/1: mutex: use generic xchg-based implementation for ARMv6+"
April 23, 2015
50f9704 libaudio: spdif: write the bytes all at once
cab7db4 AudioWrappers: Update audio policy for Lollipop
41ce091 AudioWrappers: Reduce logging from info to verbose
721ffe7 AudioWrappers: Build the audio policy
874baab Enable USE_LEGACY_AUDIO_POLICY
55977a5 Update media codec definitions
6e35f2c Default to AwesomePlayer
c9721c0 Build audio_policy.tegra
0390ad9 sepolicy: Bluetooth tethering
a87c048 sepolicy: Wifi tethering denials
c668cd8 Merge tag 'android-5.1.0_r5' into aosp-5.1.0-p4
fddab84 PackageManager: allow build-time disabling of components
2084b02 SystemUpdateService: enable service but lock its receivers [1/2]
5494227 base: nat464X: Only update ipv4 pseudo-interface when it's connected
37f1430 base: ConnectivityServer: Don't reap the new network
652814c Revert "DimLayer : remove unnecessary surface transaction calls"
0cfc66b Revert "Remove the window whose client process has died or become zombie"
e6977b3 Revert "Improve concurrency by propagating B services to higher adj"
cb61503 Revert "hwui : fix memory leak due to duplicate in shadow cache"
d8af7f7 Merge tag 'android-5.1.1_r1' into aosp-5.1.0-p4
kernel
517c9ed arm: tegra: display: provide framebuffer clear function
9eff89f arm: tegra: display: handle fbmem2 cmdline parameter
a8e6af0 arm: tegra: atags: properly parse tegra bootloader tags
4b6f9be mach-tegra: fix type of iram start/end
793b4f9 video: tegra: p4: clear fb2 unspecified by bootloader
57348aa Revert "CHROMIUM: media: tegra: set the clock rate of avp.sclk for T20/T25"
5b30ebe video: tegra: remove free memory check
b950460 ARM: 7478/1: errata: extend workaround for erratum #720789
f76e8c6 mutex: Place lock in contended state after fastpath_lock failure
cb6b69b6 ARM: 7178/1: fault.c: Port OOM changes into do_page_fault
April 14, 2015
Update CMFileManager
Update telephony frameworks
Switch to CyanogenMod 12.1 audio/video frameworks
7eab128 libc: Restore cortex-a9 to aosp
6a71b00 libc: tegra2: A9 optimized memcmp and memcpy
188a198 Fix memchr overflow.
6b49e30 Make libaudio optional
4c1cf12 Add AudioWrappers by Thomas Wendt
ea20ddc Revert "PowerHAL: Set interactive go_hispeed_load to 95"
kernel:
37a1489 defconfig: bring up p4tmo and p4lte
23538be ARM: 7467/1: mutex: use generic xchg-based implementation for ARMv6+
1e8b290 ARM: mutex: use generic atomic_dec-based implementation for ARMv6+
27c2485 ARM: 7587/1: implement optimized percpu variable access
eed8b4d Revert "cpufreq: interactive: Add get_cpu_idle_time() to for 3.1 compatibility"
450ce14 Revert "cpufreq: interactive: Update from hammerhead kernel"
062577f Revert "android: lowmemorykiller: squash task adj rbtree optimization from Motorola"
c6c5386 Revert "introduce for_each_thread() to replace the buggy while_each_thread()"
c77524c cpufreq: tegra2 voltage control: Improve undervolt table
a1c95e6 arm: tegra: p75xx: Apply OC voltages only to speedo 1 process 0 and 1 chips
April 3, 2015
Revert "PowerHAL: interactive scheduler settings from grouper"
PowerHAL: Set interactive go_hispeed_load to 95
make switch to last app animation snappier
[ActivityManager] Prevent provider from been created twice.
[ActivityManager] fix NPE in ActivityStack.resetTargetTaskIfNeededLocked.
Layout the config-changed window if it has surface
[ActivityManager] Reset ActivityRecord's waitingVisible
[ActivityManager] Use synchronized to protect object
PackageManager: Restrict system packages to protected storage
ResolverActivity: fix null pointer exception
[ActivityManager] Ensure provider external access count will be released.
[ActivityManager] Improve task order of getRunningTasks.
[ActivityManager] Fix index out of bounds when updating next pss time.
[ActivityManager] Avoid orphan ContentProviderRecord.
[ActivityManager] Reduce report wrong anr activity
Avoid deadlock between ActivityManagerService and ProcessStatsService.
[ActivityManager] Fix adjust to wrong focused stack
[ActivityManager] Set appropriate relation of task to home
[ActivityManager] Prevent application holding AMS lock
[ActivityManager] Fix process record leakage.
[ActivityManager] Distinguish FG or BG receiver finished
Prevent system server dump stuck by pipe buffer full.
[ActivityManager] Fix activity always visible.
Revert "[ActivityManager] Set appropriate relation of task to home"
Revert "Revert "[ActivityManager] Set appropriate relation of task to home""
Revert "[ActivityManager] Improve task order of getRunningTasks."
MediaCodec: Update cached buffers in async mode
Perform once GCs on all app process when system ready
Clear the previous states before setting the new app visibility
Remove the window whose client process has died or become zombie
hwui : fix memory leak due to duplicate in shadow cache
[ActivityManager] Avoid killing unrelated processes.
Layout the window to be displayed if it would be resized
DimLayer : remove unnecessary surface transaction calls
Wait for opening apps ready before stopping freezing display
Wait for visible wallpaper drawn before starting app transitions
Assign more reasonable width and height of a window surface
Fixes large number of thumbnails leads to low memory
Improve concurrency by propagating B services to higher adj
Revert "third part apps can unlock the phone without password even if the phone has setted the password"
[ActivityManager] Improve multi-thread access the same provider
Remove unnecessary sleep in ActivityThread.
Revert "ResolverActivity: fix null pointer exception"
CMFileManager: change warning drawables used in dialogs for visibility
kernel:
Revert "ARM: Tegra: Added support to run at two frequency modes"
CHROMIUM: media: tegra: set the clock rate of VDE for T20/T25
CHROMIUM: media: tegra: set the clock rate of avp.sclk for T20/T25
CHROMIUM: arm: tegra: fix cpu clock transition latency
arm: tegra: p4/p4wifi: Enable uartb clock only when needed
CHROMIUM: arm: tegra: clocks: sanity-check clocks at boot
ARM: tegra: move secondary start kernel message
cpufreq: interactive: Update from hammerhead kernel
cpufreq: interactive: Add get_cpu_idle_time() to for 3.1 compatibility
March 28, 2015
AppOps/Privacy Guard from cm-12.0
f2fs-tools 1.4.1
p4-common: HDMI audio (untested work in progress)
fs_mgr: Skip filesystem check unless fs_type matches
frameworks/base: Clear recents fixes from cm-12.0
kernel:
Revert "disable DEBUG_SEC configs"
radix_tree: clean away saw_unset_tag leftovers
radix_tree: remove radix_tree_indirect_to_ptr()
radix_tree: take radix_tree_path off stack
radix-tree: introduce bit-optimized iterator
radix-tree: rewrite gang lookup using iterator
radix-tree: fix preload vector size
radix-tree: fix contiguous iterator
Update f2fs from Jaegeuk's linux-3.4 branch
f2fs: support for kernel 3.1
mm: shmem: use new radix tree iterator
radix-tree: use iterators in find_get_pages* functions
March 20, 2015
Add init.d support
PowerHAL: Tweak interactive scheduler parameters
Settings: Add option to scramble pin layout when unlocking (1/2).
Keyguard: Add option to scramble pin layout when unlocking (2/2).
Add global scramble pin layout setting.
base [1/6]: fix screenshot and rotation animation
native [2/6]: init display orientation according to panel orientation
native [3/6]: surfaceflinger: reimplement hwrotation
native [4/6]: surfaceflinger: odd hw rotation (90/270) patch for swapping width/height
native [5/6]: surfaceflinger: fix boot animation rotation problem
native [6]: surfaceflinger: consolidate display orientation compensation hooks
kernel:
Revert "defconfig: disable HW crypto engine"
arm: tegra2: Revert clocks to ICS code
ARM: tegra: clock: Update secondary pll dividers resume
ARM: tegra: clock: Add reset propagation delays
arm: tegra2: Restore p4 and p4wifi overclock
Tegra2 voltage control
defconfig: Enable overclock and voltage control
ARM: Tegra: Added support to run at two frequency modes
Revert "Revert "arm: config: p4wifi: Enable zRAM options suggested by Google""
arm: tegra2: Set tegra_pm_notify to nvidia nv-3.1 behaviour
arm: tegra2: Remove 150Mhz step
See post #980 for additional notes.
March 13, 2015
Update to Android 5.1.0_r1
- Install TWRP 2.8.5.0
- Do a full wipe then install the ROM.
- Default SELinux mode is Permissive. Install the "enforcing" bootimage if you want to enable SELinux.
Notes:
I did not merge Android 5.1.0 into my 5.0.x sources. The necessary changes were cherry-picked from my 5.0.x sources on to the new Android 5.1.0_r1 sources.
I've gone back to using the AOSP repositories for Bluetooth/bluedroid and frameworks_av instead of CyanogenMod. I don't know what their timeline is for moving to CM-12.1.
The 3G parts from OmniROM have been updated. I hadn't bothered to update it previously out of fear of breaking it. I only have the WIFI tablet so 3G is untested.
Most other things should be working the same as with the AOSP 5.0.x ROM.
Other Changes:
bionic: libc: tegra: Switch some parts from Generic to Cortex-A9
boringssl: Remove client-side support for ServerKeyExchange in the RSA key exchange. (CVE-2015-0204)
kernel:
defconfig: disable HW crypto engine
net/ping: handle protocol mismatching scenario
ARM: 8118/1: crypto: sha1/make use of common SHA-1 structures
ARM: add .gitignore entry for aesbs-core.S
ARM: move AES typedefs and function prototypes to separate header
ARM: 7723/1: crypto: sha1-armv4-large.S: fix SP handling
mac80211 & nl80211: add support to abort a scan request on tx
Revert "arm: config: p4wifi: Enable zRAM options suggested by Google"
ARM: tegra: Remove timer workaround
March 5, 2015
PowerHAL: Update for Lollipop
- Low Power Mode power hint caps the maximum frequency to 456Mhz.
- Remove non-existent input_boost and boost_factor (gone in kernel 3.4 interactive scheduler).
- Refactor nonsensical logic in p3_power_set_interactive.
- setInteractive on: set go_hispeed_load to 85 . setInteractive off: set go_hispeed_load to 99.
Fix widevine lib paths
p4-common: Fix "stagefright: Add legacy MediaBuffer::acquireBuffer symbol" from switch to cm-12.0 frameworks/av
hwc: Crop the first layer instead of the second
system/core: Revert "fs_mgr: Use fsck.f2fs auto fix flag"
bionic: Use QCOM sqrt optimization on tegra2
libpng: Fix buffer overflow security vulnerability (CVE-2014-9495)
libpng: Restore a width check that was removed from png.c (CVE-2015-0973)
openssl: Upgrade to 1.0.1l (CVE-2015-0204)
Update cm-12.0 android_external_bluetooth_bluedroid
Update cm-12.0 android_frameworks_av
kernel:
Upgrade BFQ-v6r2 to BFQ-v7r7
netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages (CVE-2014-2523)
mnt: Only change user settable mount flags in remount (CVE-2014-5206)
cfq-iosched: Fix null pointer dereference
cpufreq: interactive: turn boost_pulse off on boost off
cpufreq: interactive: fix compiling warnings
cpufreq: interactive: Reset floor_validate_time if busy at max for 100ms
cpufreq: interactive: Remove trace event from idle_start handler
cpufreq: interactive: delete timers for GOV_START
arm/crypto: Add optimized AES and SHA1 routines
ARM: 7626/1: arm/crypto: Make asm SHA-1 and AES code Thumb-2 compatible
ARM: 7837/3: fix Thumb-2 bug in AES assembler code
add extra free kbytes tunable
mmc: use really long write timeout to deal with crappy cards
ARM: tegra: clock: Update secondary pll dividers resume
ARM: tegra: clock: Add reset propagation delays
See post #884 for additional notes
February 25, 2015
f2fs-tools 1.40
fs_mgr: Add fsck.f2fs auto fix arg
Update cm-12.0 android_frameworks_av
kernel:
Disable tegra2 stat_mon
bcmdhd: Set custom dpc cpu core
bcmdhd: add threaded rx frame
bcmdhd: use kthread_run instead of kernel_thread
recovery:
f2fs-tools 1.40
See post #838 for additional notes
February 19, 2015
sepolicy:
- Add 3G radio permissions (thanks to Prowler665)
- Fix boot from lpm charging with selinux enforcing
Update cm-12.0: bluedroid, CMFileManager, busybox
Exchange: fix call wrong service when reschedule an eas ping
exchange: use the port returned by autodiscover response
Kernel
ksm: Provide support to use deferred timers for scanner thread
cgroup: remove synchronize_rcu() from cgroup_attach_{task|proc}()
Revert "kernel:sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire"
Revert "cpufreq: Report correct min/max frequencies."
disable DEBUG_SEC configs
See post #799 for additional notes.
February 9, 2015
fstab: Add F2FS data and cache partition
Build Launcher3
bluetooth: Allow larger a2dp bursts per tick
Update cm-12.0 parts
- android_external_bluetooth_bluedroid
- android_frameworks_av
- CMFileManager
hwrotation for Galaxy Tab 8.9
kernel:
F2FS backports from grouper kernel
recovery:
Build on android 5.0 sources
Allow mkfs to be run
See post #722 for additional notes.
January 31, 2015
hwc: Fix blurryness in portrait
wpa_supplicant: Use legacy NL80211 STA events for older drivers
Update CyanogenMod/android_frameworks_av
kernel: Cherry-pick things from AOSP kernel/tegra
January 27, 2015
Revert "WindowManagerService: Fix On-Screen keyboard popups when hw-keyboard is present"
libaudio: Bad sleep times when pcm_get_htimestamp() fails
January 25, 2015
Another try at buggy hwcomposer workaround [1]
Revert invisible layer workaround
Input method selector notification toggle
Fix On-Screen keyboard popups when hw-keyboard is present [2]
Fix missing break statement in GPS code (improves signal locking)
Update CMFileManager
Update CyanogenMod/android_frameworks_av
ANR and NPE fixes AOSP master and CyanogenMod cm-12.0
Misc. small optimizations from AOSP master and CyanogenMod cm-12.0
Show Optimizing app dialog on first boot
Lockscreen pin scrambling
Expanded desktop
Kernel:
Re-enable Samsung dock driver
Compile kernel with Linaro 4.9 toolchain
January 18, 2015
Extend buggy hwcomposer workaround to lockscreen and multi-user
Enable target running without sync framework flag
January 16, 2015
Fix HWC rendering path
Fix SurfaceFlinger source crop
Switched to hwcomposer 1.0 wrapper
Work around proprietary hwcomposer blob glitches
See post #545 for additional info
January 10, 2015
revert Add 48kHz A2DP to audio policy
Fix WIFI access point not being rememberd
overlay: Add setting for dock audio and power control widget
Add ICS audio blob hacks to CM-12.0 frameworks av and build old ICS audio HAL for those that use it
January 9, 2015
Recompiled wifi driver without verbose debugging
Fix microphone breakage in 20150108 build
January 8, 2015
SystemUI
- Advanced reboot menu (enable in Developer Options)
- Close all recent apps button
- Long press Recents to switch to last app
- Long press Back to force close app (enable in Developer Options)
Audio HAL
- Dock audio output path
- BT SCO audio output paths
- Ringer paths
Add 48kHz A2DP to audio policy
Wifi firmware from 5.90.100.410 to 5.90.100.430
Switch to CyanogenMod/android_frameworks_av [1]
Switch to video codecs from Toradex Android tarballs [2]
Updated Widevine DRM libraries [3]
Update CMFilemanager
kernel:
- Backported a few wifi P2P driver changes. (WIFI Direct still not working.)
See post #463 for additional notes.
January 1, 2015
Fix memory leak in system_server when screen on/off. [URL="https://github.com/CyanogenMod/android_frameworks_base/commit/d25b891dccd223bb00f45e27062e5391a55be8ff"]reference.[/URL]
Add DSPManager app
Add missing Java library needed for Bluetooth
Add the new Lollipop audio HAL
Add audio remote submix policy
Build the standard audio policy manager instead of the legacy audio policy manager
Fix email combined view crash
If there are any problems with the new audio HAL then please save a logcat of the problem and send it over! If we can get it working without many problems then we can get rid of the old ICS audio blobs forever. This will make it easier to port present and future ROMs.
To go back to the old ICS audio just install the p75xx-ICS-AudioHAL-20141222.zip package.
See post [URL="http://forum.xda-developers.com/showpost.php?p=57883713&postcount=387"]#387[/URL] for additional notes.
December 30, 2014
Experimental: Initial version of audio HAL for Android 5.0 API. See post [URL="http://forum.xda-developers.com/showpost.php?p=57844650&postcount=368"]#368[/URL]
[URL="http://forum.xda-developers.com/devdb/project/dl/?id=10384"]p75xx-Lollipop-AudioHAL-20141230.zip [/URL]
To revert back to the ICS audio HAL install this.
It's just the audio HAL from the 20141222 ROM.
[URL="http://forum.xda-developers.com/devdb/project/dl/?id=10382"]p75xx-ICS-AudioHAL-20141222.zip [/URL]
December 27, 2014
Standalone fix for Combined View in Email: [URL="http://forum.xda-developers.com/devdb/project/dl/?id=10341"]p75xx-Email_fix_combined_view.zip[/URL]
Experimental build 20141227
Bluetooth audio output
This is for testing. This audio code will not be included in the regular builds yet.
See Post [URL="http://forum.xda-developers.com/showpost.php?p=57778887&postcount=351"]#351[/URL] for more info.
[STRIKE]p4-lollipop-experimental-20141227.zip
p4wifi-lollipop-experimental-20141227.zip[/STRIKE]
December 22, 2014
Update to Android 5.0.2
Switched from [B]userdebug[/B] to [B]user[/B] build.
Switched to healthd charger. No longer using the old LPM charger method.
Reverted a change in media_codecs.xml
Cherry picked some Bluetooth stack commits from CyanogenMod 12.0
December 19, 2014
Fix Email app crashing at start up. [URL="http://forum.xda-developers.com/devdb/project/dl/?id=10213"]
p75xx-Email_fix.zip[/URL]
December 17, 2014
3G fixes
December 16, 2014
Revert frameworks_av changes
Switch to OmniROM frameworks_opt_telephony
Add CMFilemanager and Busybox
Fix camera switching force close: [URL="http://forum.xda-developers.com/devdb/project/dl/?id=10190"]p75xx-camera_fix.zip[/URL]
TWRP: Added encryption support.
December 6, 2014
Update to Android 5.0.1
November 27, 2014
Fixed charger mode
Added support OTA survival scripts
Added power menu Reboot action
Removed device check from p4wifi installer
Updated gapps
November 20, 2014
[new] Update to android 5.0.0 r7 (LRX21V)
[new] kernel: arm: tegra: Add an API call to log wakeup reasons
[changed] Enable multi user UI
[changed] Bluetooth audio compatibility backports
[fixed] Browser settings crash
November 15, 2014
[fixed] keyboard on p4
November 14, 2014
[changed] updater-script: Use pre-lollipop installer script
November 13, 2014
[new] Add Lollipop support to p4wifi device sources
[new] Android Lollipop frameworks compatibility fixes for p4wifi
[fixed] Kernel: Fix reboot hang when compiled with GCC > 4.7
[fixed] Kernel: Misc GCC compilation fixes
[fixed] Kernel: netfilter: Add missing commits
Working
Video
Audio
Wifi
3G
GPS
Encryption
Not working or buggy
Bluetooth
--- Pairing and tethering working
--- Audio output working with the Lollipop audio HAL
--- Other bluetooth functionality may or may not be working
Camera.
--- Panorama does not work.
Keyboard dock
--- Not working.
WIFI tethering
--- Works if you set custom DNS servers on the client
WIFI Direct
--- Might be working since 20150620. Might be buggy for some.
Wireless Display (Miracast) / Screen recording
--- Not working.
--- Miracast support was introduced in Jellybean
--- Lollipop has a new screen recording API
--- This is device only has ICS graphics blobs which are not compatible with Lollipop screen recording
Donate:
Via Paypal
Thanks To/Credits
Code:
* All of the developers and contributors for this device
* All of the users who send system logs and bug reports
* twa_priv
* AAccount
* BeeGee_Tokyo
* kasper_h
* pershoot
XDA:DevDB Information
Android 5.1 Lollipop, ROM for the Samsung Galaxy Tab 10.1
Contributors
decatf
Source Code: https://github.com/Decatf
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.1.x
Based On: AOSP
Version Information
Status: Stable
Created 2014-11-13
Last Updated 2017-10-09​

Reserved
FAQ and common problems
* How to root the ROM
Install TWRP
Install ChainFire SuperSU zip in recovery.​
Video / audio issues
* Chrome crashes when playing videos
It is a bug in newer versions of Chrome. Only Google can fix it. Use Chrome 29.x or older for HTML5 video playback.
Update - 2015-05-14 - Chrome version 42.0.2311.111: HTML5 videos are not crashing but they only work in full screen mode.​
* Low sound volume with Lollipop audio HAL
Use Voodoo Sound app to increase the headphone amplification.​
* Youtube video freezes but audio still playing
Set quality to 480p or less.​
* Can we fix laggy video playback? Can we fix Youtube HD video?
No​
* Why can't we fix video playback?
The video drivers and codecs are closed source. We cannot modify it. We cannot debug it.
There are no other video drivers or video codecs except for the ICS drivers and codecs. Video streaming technology advances but we are stuck with old drivers and codecs from ICS.​
* Can we use ICS / Jellybean / Kitkat video drivers?
We have always been using ICS video drivers. There is no other driver.
Every ROM for this tablet is using the ICS video drivers.
Every single one. No exceptions.​
* Youtube HD worked with ICS ROM. Why doesn't it work now?
The drivers are outdated. The video drivers are from 2011. The recent Youtube app is using 2015 streaming technology.​
* Can we write new drivers? Can we update the drivers?
No. There is no open source code. There is no technical documentation. We can't do anything without both of those. There is no where to start from. There is nothing that can be modified.​
* Why is there no open source code or technical documentation for video drivers?
They are closely guarded NVidia secrets. They will not release it to the public.​
Misc. issues
* Can't mount USB storage. How to mount USB storage?
Use StickMount​
* TRIM does not work. (fstrim : FSTRIM: Operation not supported on transport endpoint)
TRIM is disabled due to the eMMC "SuperBrick" bug​
* Undervolting
Use this at your own risk!
The only app for voltage control that is officially supported by this kernel is SetCPU.
Most apps use the same kernel interface for voltage control but none of the app developers agreed on a standard interface. For that reason it is impossible to support all apps. Do not use any other app for voltage control.​
* Do CyanogenMod themes work?
* Do Touchwiz themes work?
* CM-12 themes?
* CM-11 themes?
No.​
* Swipe gesture not working with stock keyboard.
Swipe gestures will not work with the stock keyboard. Install the Google Keyboard.
It requires a proprietary library from Google. This closed source module does not work on this tablet.​
* I have some other problem.
Send me system logs and describe in detail what the problem is. See Problem Reporting Steps below.​
Problem reporting steps:
How to send system logs:
Root the device by installing ChainFires SuperSU.
Install SysLog.
Reproduce the problem.
Open Syslog app and save the Kernel Log and Main Log.
Send me the log files stored in /sdcard/Syslog.
Share the files on Dropbox or another similar site.
Then PM me a link to the files. Please describe exactly what the issue is.

Damn! I definitely wasn't expecting this so quickly since it took so long for KK to arrive for our tab. Thanks a lot for this. Hopefully we can see a p4 build since it has almost the same source tree as p4wifi. Even if we can't, I'd still be flashing this on my p4.
Sent from my GT-P7500 using Tapatalk

eushaun99 said:
Damn! I definitely wasn't expecting this so quickly since it took so long for KK to arrive for our tab. Thanks a lot for this. Hopefully we can see a p4 build since it has almost the same source tree as p4wifi. Even if we can't, I'd still be flashing this on my p4.
Sent from my GT-P7500 using Tapatalk
Click to expand...
Click to collapse
I'm going to put up a p4 build. But since I only have the p4wifi I have no guarantees that it will work right away...

decatf said:
I'm going to put up a p4 build. But since I only have the p4wifi I have no guarantees that it will work right away...
Click to expand...
Click to collapse
I can test it, but I can't test the 3g since I don't have a sim card for my tab.
Sent from my GT-P7500 using Tapatalk

Hows the speed?
Laggy or very usable like omni rom by AAccount?

.me said:
Hows the speed?
Laggy or very usable like omni rom by AAccount?
Click to expand...
Click to collapse
The performance is similar to Kitkat. It didn't get much better or worse.

It's that weird time of the year again where my old GT-P7510 is going to run lollypop before my Nexus receives it's ota! ?
Small question, I did my twrp backup and downloaded everything. Now, can I just restore my cm10.2 backup is I don't like how lollypop runs on my tablet?
Sent from my Nexus 7 2013

Edit : I flashed the gapps and its all good. I guess there is no way to make the tab faster though right ?
Hi
I just tried to flash this rom.
When I flash it the first time I couldn't do anything (ie open the browser, open play store etc). Every app was crashing.
I then tried to flash it twice in a row. The problem is after flashing it once, TWRP disappeared when I tried to boot the recovery. Instead I had the dead android with a read triangle with a "!" inside.
Anyone can help ?
Thank you for helping and thank you to the developer that cooked this.

Wow, thank you for your great work!

Olivier V said:
It's that weird time of the year again where my old GT-P7510 is going to run lollypop before my Nexus receives it's ota! ?
Small question, I did my twrp backup and downloaded everything. Now, can I just restore my cm10.2 backup is I don't like how lollypop runs on my tablet?
Sent from my Nexus 7 2013
Click to expand...
Click to collapse
I have never used the backup and restore features. I've only tried it once just now and it worked. I wiped before restoring a backup of cm 10.2.
diperso said:
Edit : I flashed the gapps and its all good. I guess there is no way to make the tab faster though right ?
Hi
I just tried to flash this rom.
When I flash it the first time I couldn't do anything (ie open the browser, open play store etc). Every app was crashing.
I then tried to flash it twice in a row. The problem is after flashing it once, TWRP disappeared when I tried to boot the recovery. Instead I had the dead android with a read triangle with a "!" inside.
Anyone can help ?
Thank you for helping and thank you to the developer that cooked this.
Click to expand...
Click to collapse
So TWRP was still okay for you after when you installed the zip twice? It should not have flashed over the recovery in any case. There is no recovery included in this package. Unless I've done something wrong but tested it quite a few times by now.

decatf said:
I have never used the backup and restore features. I've only tried it once just now and it worked. I wiped before restoring a backup of cm 10.2.
So TWRP was still okay for you after when you installed the zip twice? It should not have flashed over the recovery in any case. There is no recovery included in this package. Unless I've done something wrong but tested it quite a few times by now.
Click to expand...
Click to collapse
Sorry I realise I was not clear.
What I did:
Full Wipe
Install TWRP
Install rom
Reinstall TWRP
Reinstall Rom
Install TWRP
Flash gapps

It works very well for me =) Smooth and fast for now.
What I did :
- Install clockworkmod 6.0.6 with Odin
- Install the ROM twice
- Reboot
- Reinstall clockworkmod (don't know why it crashed)
- Install GApps
I was running the original ROM before and it seems to be faster now.
Thak you for the great job !

decatf said:
I have never used the backup and restore features. I've only tried it once just now and it worked. I wiped before restoring a backup of cm 10.2.
So TWRP was still okay for you after when you installed the zip twice? It should not have flashed over the recovery in any case. There is no recovery included in this package. Unless I've done something wrong but tested it quite a few times by now.
Click to expand...
Click to collapse
Same problem here, TWRP is gone... :crying:
I'll try flashing the recovery with odin..

Uhh I'm having a different problem. I can't flash the ROM zip at all. Tried with TWRP 2.7.1.0 and 2.8.0.0. In recovery it says error executing update binary. I checked the log and it said 'line 4 col 150: unknown function "block_image_update". Did I miss something? Flashed the p4 version BTW.
Edit: recovery.log
Sent from my GT-P7500 using Tapatalk

pontos2 said:
It works very well for me =) Smooth and fast for now.
What I did :
- Install clockworkmod 6.0.6 with Odin
- Install the ROM twice
- Reboot
- Reinstall clockworkmod (don't know why it crashed)
- Install GApps
I was running the original ROM before and it seems to be faster now.
Thak you for the great job !
Click to expand...
Click to collapse
Could you give me a link to the cwm 6.0.6 recovery? I tried the one I had but it didn't work.
Sent from my Nexus 7 2013

Olivier V said:
Could you give me a link to the cwm 6.0.6 recovery? I tried the one I had but it didn't work.
Sent from my Nexus 7 2013
Click to expand...
Click to collapse
I think it's this one : droidbasement .com/db-blog/?p=3054

pontos2 said:
I think it's this one : droidbasement .com/db-blog/?p=3054
Click to expand...
Click to collapse
Didn't work with Odin 1.85... i'll try with other versions of Odin.

Olivier V said:
Didn't work with Odin 1.85... i'll try with other versions of Odin.
Click to expand...
Click to collapse
I had the same problem (md5 not didn't match) the first time, but I downloaded the recovery again and flashed it without changing the name.
Purhaps you should try a latest Odin ? odindownload.com

pontos2 said:
I had the same problem (md5 not didn't match) the first time, but I downloaded the recovery again and flashed it without changing the name.
Purhaps you should try a latest Odin ? odindownload.com
Click to expand...
Click to collapse
Everytime i flash with Odin it says it passed, but when i reboot and try to get into recovery i get a dead lil droid...
Is there another way of flashing a recovery?

Related

[KERNEL] [SM-T800 WIFI & T805 LTE] [12 Mar] SkyHigh TW KK Kernel [v3.3] [Synapse ++]

[KERNEL] [SM-T800 WIFI & T805 LTE] [12 Mar] SkyHigh TW KK Kernel [v3.3 FINAL] [Synapse ++]
I DO NOT SUPPORT THIS KERNEL OR THREAD ANY LONGER, SO PLEASE FLASH AT YOUR OWN RISK AND DO NOT PM FOR HELP or Q&A. ANY USER or DEV KANG THIS KERNEL WITHOUT PERMISSION WILL BE REPORTED
Click to expand...
Click to collapse
10.5" SM-T800 WIFI & T805 LTE TW 4.4.2 Exynos 5420 supported in thread only !!
PLEASE POST QUESTIONS THAT ARE NOT DEVELOPMENT RELATED IN Q&A HERE. THIS WILL HELP KEEP THINGS TIDY
BEFORE POSTING, ENSURE YOU READ POSTS #1-3 AND SEARCH THREAD FOR INFO FIRST. THANK YOU FOR YOUR ASSISTANCE
THREAD RULES & PROTOCOLS FOR THIS DEVELOPMENT THREAD:
BY POSTING YOUR ISSUES IN THIS THREAD, YOU ARE AGREE TO ABIDE BY THE FOLLOWING
DEVICE MODEL
ROM and firmware version etc
EXACT steps taken to reproduce YOUR isssue
Screenshots (if applicable)
Did you read Posts #1-3 completely?
Did you search the thread, XDA or GOOGLE?
Did you follow the install instructions EXACTLY?
What was your previous kernel?
Do you have any other known kernel tweaking apps, scripts or mods? (remove them)
Try older kernel (don't not flash anything older than v0.9 )
Try lastest stock firmware (without custom ROM - if you have installed)
ONLY IF YOU HAVE TRIED SUGGESTIONS ABOVE:
Turn on logging in Synapse and save logs AT TIME OF ERROR. AND post together with ALL the above information.
ELSE, DON'T WASTE MY TIME, YOU WILL BE IGNORED AND/OR POST REPORTED !!
THANK YOU :good:
I don't have time to build for any more devices I can't personally test & debug - sorry.
Let get it straight, I am not a real Developer, but I am UpInTheAir, part time kernel “hack” of SM-T700/705, SM-N9005 LTE, SGT 7.7 JB & ICS Kernels. I now share with you my Exynos5 TW SM-T800 WIFI & SM-T805 LTE kernels compiled from official Samsung sources.
* I don't pretend to know everything, so if you can be constructive and help out this project, please do so. You will find allot of answers by searching gitHub, XDA and SEARCH Just like I do …......
>> SCREENSHOTS << from T705 v0.5 : might not be always up-to-date !
FEATURES
* Based on official Samsung source: T705WVLU1ANJ5
* ramdisk source: T800XXU1ANJ6 & T805XXU1AOA1
* Built with Stock ARM Toolchain 4.7 (proven stabilty + efficiency + performance)
* Compiled with KERNEL_MODE_NEON & -mfpu=neon-vfpv4 + optimizations
* ARM: UNALIGNED_ACCESS
* KNOX WARRANTY VOID: 1
* SELinux PERMISSIVE or Enforcing
* adb insecure
* ROM Knox disable/freeze via Synapse control
* init.d script support (drop in script & set permissions to 755 or 777 and reboot)
* busybox v1.22.0-Dream-IRC installed to /sbin
* Will NOT delete your WIFI settings & passwords
* Possible Screen Mirroring / AllShare Cast fix
* Synapse app support for almost all kernel configurations + more !!
Many descriptions are in the app ! If you require more info, don't be lazy, please SEARCH like I did !
SYNAPSE FEATURES
CPU FREQ
CPU max frequency A15 cores = 2100 MHz (stock/default = 1900 MHz)
CPU min frequency A7 cores = 200 MHz (stock/default = 500 MHz)
A15 big & A7 LITTLE Cores time in state
CPU MULTICORE
Mult-core Hotplug Management
Screen OFF mode (fixed default)​Exynos Dynamic CPU Hotplug Freq (A7 cores)
Hotplug CPU UP load
Hotplug CPU UP boost
Hotplug CPU DOWN hysteresis​
Multi-core power saving control (sched_mc_power_savings)
Power-efficient Workqueues control
CPU VOLT
Voltage control for:
big cores
LITTLE cores​
CPU GOV
CPU governor
interactive (default)
on-demand (tweaked to use power efficient workqueues)
conservative​
CPU governor tunables
DEVFREQ
CPU internal frequency voltage control (Stock 133-600 MHz)
83-133 - 222 - 333 - 400 - 440 - 460 - 480 - 500 - 600​
Memory frequency voltage control (stock 160-733 MHz)
133-160 - 200 - 266 - 400 - 533 - 667 - 733 (1.9 GHz) - 800 (2.0 GHz) - 933 (2.1 GHz)​
GPU
Midgard GPU power policy control
coarse_demand (default)
demand (stock)
always_on​
Midgard GPU power policy threshold control (profiles)
Battery (default)
On-demand
Peformance​
GPU max frequency = 667 MHz (stock/default = 480 MHz)
GPU min frequency = 100 MHz (stock/default = 177 MHz)
GPU voltage control
GPU freq time in state
GPU QoS
MScaling settings for:
MIF
INT
CPU​
IO
I/O Schedulers
BFQ (default - tweaked for SSD)
DEADLINE (tweaked for SSD)
CFQ
NOOP
FIOPS
SIO
ZEN​
Int storage scheduler
Int storage read-ahead (512 KB for 16 GB partition)
General IO tuneables
I/O scheduler tunables
MEMORY
Ultra Kernel SamePage Merging (UKSM)
UKSM stats
Scan delay interval
UKSM CPU governor (profiles)
Max CPU consumption (use with FULL governor)​
Dynamic Fsync control (default enabled)
Dynamic management of dirty page writebacks
Active
Suspend​
Virtual Memory
VNSWAP control
ZSwap memory pool control
Adaptive Dirty Background Ratio on Suspend / Resume
Adaptive Dirty Ratio on Suspend / Resume
Drop caches (Clear VFS cache after boot)
Laptop Mode
Swapiness
Adaptive VFS Cache Pressure on Suspend / Resume​
POWER SUSPEND
PowerSuspend
Autosleep_hook
Userspace_trigger
DisplayPanel_hook
Hybrid_hook (default)​
PowerSuspend State (only with Userspace_trigger)
ADVANCED
Low Menory Killer Profiles
Low
Medium
Default
Agressive
Exterminate​
Low Memory Killer minfree tuning (OOM LMK)
Management of not killable processes whitelist
system apps
user apps​
Entropy
Gentle Fair Sleepers control
Arch Power control (enabled)
randomize_va_space control
Dynamic management of minimal timer slack value (active & suspend)
Generic and core apps/processes
Apps/processes in foreground
Apps/processes in background and non interactive​
THERMAL
CPU thermal control
GPU thermal control
Memory interface thermal control
AUDIO
* WolfsonMicro Sound Control by AndreiLux
* parametric equalizer presets & tuning by heyjoe66
Mono mixer
Speaker amplification
Left channel volume
Right channel volume
Earpiece volume
Privacy mode​
SP equalizer control
HP equalizer control
BATTERY
Battery info
Unstable power detection
AC mains
Standard downstream port
Dedicated charging port
Charging downstream port
Accessory charger adapter
Miscellaneous charging
MHL power
Battery Scaling Calibration (fuel-gauge chip reset)
NETWORK
TCP congestion control
All available enabled.
Default = westwood+​
Screen mirror/allshare cast fix control (default = enabled)
Clean WIFI Lease
WiFi Power Mode While Screen-On/Off
Force Off
Off
Fast (default = screen ON)
Max (default = screen OFF)​
WiFi DTIM Interval While Screen-On/Off
tcp_default_init_rwnd
TCP/IP network security
TCP/IP network speed (default = enabled)
3G DNS speed & security tweak
Google, OpenDNS, Comodo, Level3, Norton_DNS, Smart_Viper​
GPS region TEMPORARY REMOVED IN v2.0.0
Default, Asia, Europe, Oceania, North America, South America, Africa​
IVP6 Optimistic Detection
optimistic_dad (enabled)
use_optimistic (enabled)​
USB TEMPORARY REMOVED IN v2.0.0
UMS (USB Mass Storage) mode
MTP mode
USB Keyboard / Mouse (with USB Keyboard app)
SECURITY
KNOX control (default "NO_ACTION")
SELinux status control
Permissive (default)
Enforcing​
SYSCTL
FS SYSCTL
Kernel SYSCTL
Net SYSCTL
VM SYSCTL
FS (File System)
Display FS Type
FS Controls
remount System r/w r/o
remount RootFS r/w r/o​
SPI CRC settings control (disabled)
Optimise Databases (SQLite3)
File System Trim
Wipe Options
cache reboot
dalvik-cache reboot
cache & dalvik-cache reboot
clipboard cache
tombstones​
BACKUP & RESTORE
Name - Restore - Delete - Backup
profiles
kernel image​
REBOOT
Reboot device
Recovery Mode
Download Mode
Power Off
Clear Synapse Data
Restart Synapse
LOGS
Android logger control (disabled)
logcat
Kernel logger printk control (dmesg)
dmesg
last_kmsg
INFO
* xz kernel compression
* Reduced logging
* enable ARCH_POWER
* use WQ_POWER_EFFICIENT
* optimized SLUB memory allocator
* Frandom
* mount partitions NOATIME and NODIRATIME by default
* FIDTRIM
* F2FS support in source and ramdisk (not tested)
* exFAT FS support
* NTFS R/W support with app
* CIFS support
* Asynchronous Fsync
* WIFI: filter multicast packages while suspended
* /proc/.config.gz support
* CRYPTO_SHA1_ARM_NEON, CRYPTO_SHA512 & CRYPTO_SHA512_ARM_NEON
* NVIDIA power efficiency patches
* Low Memory Killer tweaks
* Microsoft X-BOX gamepad controller in-built module
* And lots lots more ...................
CREDITS
* My family !!
* BeansTown106 & Chainfaire for bringing root
* halaszk88 - initial sysnapse layout & many source commits
* AndreiLux - many many contributions to Exynos kernel development & Synapse app
* apbaxel - various synapse controls I've adapted
* Christopher83 - all things dynamic !
* faux123 - various patches
* Yank555 - various patches
* heyjoe66 - Wolfson parametric equalizer presets & tuning. Also Dynamic Hotplug implementation
* XDA
* Samsung OSRC
* and many others!
* check github source credits
* IF I'VE FORGOTTON ANYONE, PLEASE DON'T BE SHY AND SPEAK UP, THANKS
XDA:DevDB Information
SM-T800 WIFI & T805 LTE TW Kernel, Kernel for the Samsung Galaxy Tab S
Contributors
UpInTheAir
Source Code: https://github.com/UpInTheAir/Galaxy-Tab-S-Kernel/commits/SkyHigh
Kernel Special Features: Synapse ++ Read OP
Version Information
Status: Abandoned
Current Stable Version: v3.3 FINAL
Stable Release Date: 2015-03-12
Created 2014-08-22
Last Updated 2015-04-14
Requirements - installation & download
** DISCLAIMER : FLASH AT YOUR OWN RISK **
WARNING :
* Under-volting can cause instability
* Over-clocking can cause freeze/reboot, heat & damage to CPU, GPU or other hardware
* Any customizations may void warranty
* May not be suitable for your device or customizations
* UpInTheAir is NOT responsible, the person you see in the mirror is !
REQUIREMENTS
Watch >> THIS <<
SM-T800 WIFI or T805 LTE Exynos device
TW Kit Kat 4.4.2
Rooted
TWRP Recovery
CHANGE-LOG
v3.3 [12-March-2015]
kernel :
Revert "net: wireless: bcmdhd4354: Fixed failure to enter PS mode while roaming in suspend" (reverting fixes reported issue of "slow & laggy" connection on 5GHz WIFI)
v3.2 [12-March-2015]
ramdisk :
Synapse: FS: remove "Wipe Cache" and "Wipe Dalvik-Cache" options (may cause user app issue who forget to reboot)
Synapse: FS: add "Wipe Cache & Dalvik-Cache Reboot" option
kernel :
Revert "ipv4: try to cache dst_entries which would cause a redirect" (reverting fixes reported issue of "slow & laggy" connection on 5GHz WIFI)
v3.1 [11-March-2015]
ramdisk :
init.rc: remove some boot defaults (set in source)
Synapse: GPU QoS: FIX GPU CPU QoS display correct CPU (A7) freq, ie CPU freq 250 is now displayed as 500 MHz for GPU 177 MHz, and so on
Synapse: FS: add Wipe tombstones option
Synapse: MEMORY: change dirty_ratio & dirty_background_ratio to Adaptive and update descriptions.
kernel :
mm/page-writeback.c: enabled Dynamic Dirty Writeback by default
mm: Implement Adaptive Dirty Background Ratio & Dirty Ratio for suspend/resume [by UpInTheAir]
config: enable ADAPTIVE_DIRTY_BACKGROUND_RATIO & ADAPTIVE_VM_DIRTY_RATIO
mm: adjust dirty_background ratio to mirror ramdisk init.rc value
mm: adjust swappiness value to mirror ramdisk
fs: make ADAPTIVE_VFS_CACHE_PRESSURE compile optional [by UpInTheAir]
config: enable ADAPTIVE_VFS_CACHE_PRESSURE
v3.0 [09-March-2015]
ramdisk :
Synapse: FS: add FSTrim push button
Synapse: FS: add Wipe Options - Wipe Cache, Wipe Cache Reboot, Wipe Dalvik-Cache, Wipe Dalvik-Cache Reboot, Wipe Clipboard Cache
Synapse: BACKUP RESTORE: FIX backups not being restored
Synapse: BACKUP RESTORE: rework and now able to add names to Profile and Kernel Backups !!
kernel :
Samsung DYNAMIC Hotplug control: hotplug_cpu_up_boost_value 90 > 0 (better UI performance with all cores on like stock. Battery nuts can set to 30%)
timer: optimize apply_slack()
kernel/timer.c: Optimize apply_slack() for size and speed
block: recursive merge requests
ipv4: try to cache dst_entries which would cause a redirect
net: wireless: bcmdhd4354: Fixed failure to enter PS mode while roaming in suspend
v2.9 [05-March-2015]
ramdisk :
sbin: SkyHigh.sh: Do not kill system and user app processes enabled by default
sbin: SkyHigh.sh: added some default processes
init.rc: set SELinux Permissive by default on boot
init.rc: add support for timer slack values and defaults
Synapse: CPU MULTICORE: remove Hotplug mode control (Hotplug screen on & off mode is default permanent). Screen off mode is just too buggy, there is a work-around which I'll add to Post #3 PERFORMANCE section
Synapse: CPU GOV: FIX seekbar (replace it) not setting sampling rate when changing to conservative gov
Synapse: ADVANCED: add Dynamic timer slack controls & default values for battery savings ( thanks to Christopher83 )
Synapse: SECURITY: add SELinux Status control (toggle between Enforcing & Permissive)
Synapse: FS: add SPI CRC Settings control (already disabled by default in source)
Synapse: LOGS: add printk (kernel dmesg) control
Synapse: tidy up & a few other minor things
kernel :
Revert "SELinux: set permissive in source instead of ramdisk
SELinux: permit Enforcing > Permissive changes in ROM
drivers/mmc: spi CRC configurable
cpufreq: interactive: don't schedule timer on offline cpu
cpufreq: interactive: delete timers for GOV_START
cpufreq: conservative: adjust freq dn threshold so hotplug cores lower to A7 values at low load
mm: remove compressed copy from zram in-memory
Samsung DYNAMIC Hotplug control: sync with oloendithas
Makefile: fix DYNAMIC Hotplug control compile warnings
tick: Upstream fixes
kthread_work: wake up worker only when the worker is idle
config: enable DEBUG_HOTPLUG
cgroups: Introduce timer slack controller
kernel: cgroup_timer_slack: Adaptations for 3.4 kernel
config: enable CGROUP_TIMER_SLACK
kernel: cgroup_timer_slack: Dynamic management of timer slack
kernel: cgroup_timer_slack: Dynamic management of timer slack - adapt for PowerSuspend driver
config: CGROUP_DYNAMIC_TIMER_SLACK
sched: Set MC (multi-core) sched domain's busy_factor attribute to 1
Makefile: Turn off -Wmaybe-uninitialized when building with -Os
CPU hotplug, writeback: Don't call writeback_set_ratelimit() too often during hotplug
printk: Add sys kernel interface to configure linux printk logging
printk: make sysfs kernel interface compatible with Synapse app
scripts: gcc-wrapper: Use wrapper to check compiler warnings
Makefile: implement CCACHE properly
Makefile: Fix gcc-4.9.0 miscompilation of load_balance() in scheduler
Makefile: optimize flags
Samsung DYNAMIC Hotplug control: screen on & off mode set default
WLAN subsystem: Sysctl support for key TCP/IP parameters
Samsung DYNAMIC Hotplug control: hotplug_cpu_up_boost_value 90 > 30
v2.8 [28-February-2015]
ramdisk :
init.rc: set Wolfson speaker equalizer switch off by default
synapse: add CPU MULTICORE tab: add Holtplug controls for screen off & on/off modes
synapse: CPU FREQ: move CPU multi-core power saving & Power Efficient WQ controls to CPU MULTICORE
synapse: MEMORY: remove KSM & add UKSM controls
synapse: SYSCTL KERNEL: fix apply/discard bug
kernel :
Samsung DYNAMIC Hotplug control
Hotplug: set to Screen OFF mode by default
scheduler: update BFQ-v7r4 to BFQ-v7r7 for 3.4.0
UKSM v1.2.2
UKSM: fix compile warnings
config: enable UKSM
Hotplug: prevent changes to user set scaling_min_freq_gpu
v2.7 [02-February-2015]
ramdisk :
init.rc: set optimistic DAD enabled
synapse: SYSCTL: add separate FS-KERNEL-NET-VM (if you don't understand what each does, don't touch)
synapse: ADVANCED: add Arch Power control (enabled)
synapse: NETWORK: add IVP6 Optimistic Detection (enabled)
kernel :
net: wireless: bcmdhd4358: reduce kernel logging
page_alloc: Make watermarks tunable separately
powersuspend: various patches/fixes
usb: gadget: check for accessory device before disconnecting HIDs
ipv6: clean up anycast when an interface is destroyed
xt_qtaguid: Use sk_callback_lock read locks before reading sk->sk_socket
ARM: compile KERNEL_MODE_NEON with -mfpu=neon-vfpv4
Makefile: various (experimental) kernel build optimizations
sched: Add controls for sched features
ARM: compile vfp with softfp
v2.6.0 [30-Jan-2015]
ramdisk :
synapse: NETWORK: FIX apply/discard bug for TCP speed/security & 3G DNS tweaks
synapse: NETWORK: add Screen mirror/allshare cast fix control
Synapse: NETWORK: add Clean WIFI Lease
synapse: NETWORK: set TCP/IP Network Speed tweak "Enabled" by default
Synapse: ADVANCED: add LMK profiles
Synapse: MEMORY: add KSM stats
Synapse: MEMORY: add Drop caches (default enabled)
Synapse: BATTERY: add battery scaling re-calibration instructions
kernel :
arch: arm: lib: optimize memcpy for cortex-A15
config: enable ARM_PLD_64BYTE & USE_LDRDSTRD_OVER_LDMSTM
Revert "BCMDHD4354: WIFI: POWERSUSPEND support (not using with panel on/off powersuspend hooks)
v2.5.0 [24-Jan-2015]
ramdisk :
T805XXU1AOA1 ramdisk
synapse: GPU QoS: add GPU QoS controls for: MIF, INT, CPU
synapse: AUDIO: add controls for speaker amplification & equalizer
ramdisk: /sbin/SkyHigh.sh: add Wolfson sound defaults (parametric equalizer presets & tuning by heyjoe66)
kernel :
sched: Implement smarter wake-affine logic
cpufreq: interactive: decrease timer_slack to 70ms
kernel/power/powersuspend: add display panel hooks for powersuspend
kernel/power/powersuspend: add missing version numbers
wolfson sound control: Fixed stereo EQ and DRC for headphones and speakers
byteorder: allow arch to opt to use GCC intrinsics for byteswapping
CPU unaligned access path
ARM: enable UNALIGNED_ACCESS
Makefile: enable unaligned access
config: enable HAVE_EFFICIENT_UNALIGNED_ACCESS
fs/dcache.c: Fix the too small buffer for dname
GPU: add interface to modify GPU governor scaling table for MIF/INT/CPU QoS freq
Makefile: fix compile error
devfreq: INT: unlock 83 MHz min freq
devfreq: MIF: unlock 133 MHz min freq
v2.4.0 [17-Jan-2015]
ramdisk :
synapse: GPU: FIX GPU governor not setting on reboot
synapse: MEMORY: update Dynamic Dirty Page Writeback description
kernel :
cpufreq: interactive: use new CPUFREQ_RELATION_C
fs: vfat: reduce the worst case latencies
config: enable XPAD support (Microsoft X-BOX gamepad)
mm: pass readahead info down to the i/o scheduler
v2.3.0 [12-Jan-2015]
ramdisk :
/sbin/SkyHigh.sh: add NTFS r/o mounting (/mnt/ntfs/). For r/w, use paragon app.
kernel :
block: sysfs: allow non superusers to change I/O scheduler
Fix dynamic read-ahead
binfmt_elf.c: use get_random_int() to fix entropy depleting (max = 4096)
android: lowmemorykiller: add lmk parameters tunning code
lowmemorykiller: Account for highmem during kswapd reclaim
cpufreq: interactive: don't skip waking up speedchange_task if target_freq > policy->cur
omdemand: lower down_step_level to 100 (aka 200) MHz
cpufreq: Introduce new relation for freq selection
Squash 'enhance power efficiency' patches
vfs: fix bad hashing of dentries
selinux: whitelist f2fs
SELinux: Fix memory leak upon loading policy
selinux: just shut up
selinux: fix inode security list corruption
fs: Add a missing permission check to do_umount
kernel: add support for gcc 5
crypto: create generic version of ablk_helper
ARM: pull in <asm/simd.h> from asm-generic
crypto: sha1: add ARM NEON implementation
config: CRYPTO_SHA1_ARM_NEON
crypto: ablk_helper - Replace memcpy with struct assignment
crypto: add crypto_[un]register_shashes for [un]registering multiple shash entries at once
crypto: sha256 - Expose SHA256 generic routine to be callable externally
crypto: sha512 - Expose generic sha512 routine to be callable from other modules
ARM: 8120/1: crypto: sha512: add ARM NEON implementation
config: enable CRYPTO_SHA512 & CRYPTO_SHA512_ARM_NEON
ARM: 7723/1: crypto: sha1-armv4-large.S: fix SP handling
board-lt03-battery: Longer battery polling interval
v2.2.0 [24-Dec-2014]
ramdisk :
init.rc: set GPU governor course_demand (set as default)
Synapse: GPU: add Midgard GPU power policy control
Synapse: GPU: add Midgard GPU power policy threshold control (set default profile "Battery")
Synapse: NETWORK: add 3G DNS speed & security tweak
Synapse: Some more clean up
kernel :
usb: gadget: mass_storage: added sysfs entry for cdrom to LUNs
Mali: proper GOV table on init; code cleanup
v2.1.0 [21-Dec-2014]
ramdisk :
FIXED CIFS: init.rc: Create mountpoint so Dalvik can mark as slave in zygotes to allow CIFS mounting and other app databases (forgot to include when updated ramdisk)
FIXED slow Synapse load on boot: KNOX: please set to "NO_ACTION" after set Disabled or Enabled. Knox will still be enabled or disabled.
Synapse: Lots of clean up of code and remnants of old files
Synapse: Tidy up of layout, added/remove/move tabs and features about
Synapse: CPU: added big.LITTLE CPU freq time in state
Synapse: GPU: added GPU freq time in state
Synapse: IO: added IO scheduler tunables
Synapse: BATTERY: added more info
Synapse: REBOOT: added Restart Synapse button
Synapse: INFO: added asv_group
Synapse: NETWORK: add TCP security
Synapse: NETWORK: add TCP speed
v2.0.0 [27-Nov-2014]
updater-script :
Removed ROM KNOX removal code (Synapse freeze/disable in Synapse control added)
ramdisk :
ramdisks from T800XXU1ANJ6 & T805XXU1ANJ5
init.rc/default.prop: removed SELinux permissive hack, now set in source
Synapse: Security: add KNOX enable/disable (freeze) control
Synapse: CPU: Power-efficient Workqueues control (default enabled)
Synapse: USB: remove storage options (temporary until fixed)
Synapse: Network: remove GPS tweak options - slowing down boot (temporary until fixed)
Synapse: various small tidy up and additions
kernel :
source update: T705WVLU1ANJ5
SELinux: set permissive in source instead of ramdisk
v1.9.1 [07-Oct-2014]
ramdisk :
synapse: FS: bug fix - Optimise Databases error if no sdcard/SkyHigh/Log folder not present
v1.9 [07-Oct-2014]
ramdisk :
init.rc: remove Gentle Fair Sleepers boot default - now disabled by default in source
synapse: Backup Restore: fixed bug not backing up & restore current kernel
synapse: FS: add push button to Optimise Databases (SQLite3)
kernel :
xz: tweaking kernel compression
af_unix: speedup /proc/net/unix
sched: disable GENTLE_FAIR_SLEEPERS by default
mm: don't wait for congestion when mem is high
block: disable add_random for more performance on SSD's
fs/dyn_sync_cntrl: on by default if enabled in defconfig
mmc: disable CRC check for better performance
mm: optimize Kernel Samepage Merging (KSM)
Input: send events one packet at a time
lib/int_sqrt.c: optimize square root algorithm
readahead: make context readahead more conservative
gpu: ion: system_heap: add support for 2MB allocations
CHROMIUM: clocksource: allow clocksources to be selected earlier during boot
v1.8 [30-Sept-2014]
ramdisk :
init.rc: Create mountpoint so Dalvik can mark as slave in zygotes to allow CIFS mounting and other app databases.
synapse: USB: add MTP mount option (if is doesn't mount storage properly on PC, just toggle between Default > MTP )
synapse: INT/MIF voltage control
kernel :
EXYNOS5420 MIF: unlock MIF 933 MHz & set for CPU 2.0+ GHz freq
opp: De-obscurify OPP structs and disclose find_device_opp
devfreq: add Exynos 5420 MIF voltage control
devfreq: add Exynos 5420 INT voltage control
MIF / INT fix
MIF / INT: allow 6250 mV increments
EXYNOS5420 MIF: set 800 MHz for CPU 2.0 GHz freq
workqueue: fix permission for power_efficient
v1.7 [21-Sept-2014]
kernel :
arch/arm/Makefile: adaptation to full neon-vfpv4 support
sched: GENTLE_FAIR_SLEEPERS fix unused cpu var
drivers/staging: configurable android log buffer sizes
config: set LOGCAT_SIZE=256
ext4: Speedup WB_SYNC_ALL pass called from sync(2)
bfq-iosched: tuning for SSD
ksm: check and skip page, if it is already scanned
config: enable KSM_CHECK_PAGE
config: enable Conservative & disable Userspace governor
v1.6 [17-Sept-2014]
ramdisk :
init.rc: set defaults: removed KSM deferred_timer as now set enabled in source
synapse: Network: tcp_default_init_rwnd (not sure how to tune the value yet)
synapse: Reboot: added Power Off option
kernel :
cifs: enable mounting cifs drives visible to all apps
config: enable CIFS RESTRICT_ROOTFS_SLAVE
block: Reserve only one queue tag for sync IO if only 3 tags are available
setlocalversion: do not append -dirty when there are un-committed changes
kswapd: reduce time spent in congestion_wait
workqueue: add system wide power_efficient workqueues (battery)
config: enable WQ_POWER_EFFICIENT (battery)
CPUFREQ: ondemand: use power efficient wq (battery)
mutex: Make more scalable by doing less atomic operations
mutex: Queue mutex spinners with MCS lock to reduce cacheline contention
writeback: fix writeback cache thrashing
sched: Make scheduler aware of cpu frequency state
bcmdhd4354: filter multicast packages while suspended (battery)
tcp: add a sysctl to config the tcp_default_init_rwnd
net: tcp: optimization with rcv_wnd
vfp/Makefile: compile with -mfpu=neon-vfpv4 & hard float
slub: optimized SLUB memory allocator
net: loopback: set default mtu to 64K
ksm: enable deferred_timer by default to prevent the CPU to be wakened for ksm activities
ext4: add support for FIDTRIM, a best-effort ioctl for deep discard trim (no idea if it's working)
Report permissive mode in avc: denied messages
config: disable mutex debugging
v1.5 [10-Sept-2014]
ramdisk :
init.rc: set defaults: Dynamic FSync enabled
kernel :
ARM: implement KERNEL_MODE_NEON
config: enable KERNEL_MODE_NEON
Makefile: added ccache for speed up kernel compile
sync: don't block the flusher thread waiting on IO
staging: android: lowmemorykiller: select a new task to kill
SELinux: Reduce overhead of mls_level_isvalid() function call
SELinux: Fix kernel BUG on empty security contexts
fix compile warning for Async Fsync
arm/crypto: add optimized AES and SHA1 routines
config: enable CRYPTO_SHA1_ARM & CRYPTO_AES_ARM
softirq: reduce latencies
ext4: speed up truncate/unlink by not using bforget() unless needed
mm: Clear page active before releasing pages
v1.4 [07-Sept-2014]
ramdisk :
synapse: Memory: VNSWAP control (1>1024 MB - Unable to disable (reset) / set size to 0 yet)
synapse: Memory: ZSwap memory pool control
synapse: Memory: Deferred Timer control
synapse: minor typo, cleanup & corrections to general layout and descriptions
kernel :
ksm: Provide support to use deferred timers for scanner thread
sched: LOAD_FREQ (4*HZ+122) avoids loadavg Moire
staging: android: lowmemorykiller: implement task's adj rbtree
config: enable ANDROID_LMK_ADJ_RBTREE
cpufreq: tidy up
block: add SIO I/O scheduler
block: add ZEN I/O scheduler
config: enable SIO & ZEN I/O schedulers
v1.3 [03-Sept-2014]
ramdisk :
synapse: Reboot: added Reboot to Download Mode
synapse: USB: USB Mouse / Keyboard control
ramdisk: file_contexts: add busybox to file_contexts to allow via SELinux
kernel :
cpufreq: Fake the IKS specific frequency table to stock values (fixes: corrects to stock CPU touch boost frequencies & CPU freq in Power Saving Mode)
lib: memcopy & string use glibc version
scheduler: update BFQ-v7r4 to BFQ-v7r5 for 3.4.0
drivers: usb: Use Android device as USB keyboard/mouse
USB KEYBOARD/MOUSE: added on/off trigger to driver
v1.2 [01-Sept-2014]
ramdisk :
synapse: Network: WiFi Power Mode controls
kernel :
BCMDHD4354: WIFI PM support for KitKat driver
BCMDHD4354: WIFI: POWERSUSPEND support
sched: cpu_power: enable ARCH_POWER
v1.1 [31-August-2014]
ramdisk :
init.rc: added some more boot defaults
synapse: new PowerSuspend controls: (enabled Hybrid as default)
kernel :
kernel/power/powersuspend: cumulative update to version 1.5
kernel/power/powersuspend: LCD screen on/off hooks
v1.0 [27-August-2014]
ramdisk :
default.prop: Possible Screen Mirroring / AllShare Cast fix (please give FULL report !!)
init.rc: added some more boot defaults
synapse: added to descriptions & general clean up
synapse: PowerSuspend: (enabled by default)
added dynamic Fsync control (disabled by default)
moved Dynamic Dirty Page Writeback controls
added Adaptive VFS Cache Pressure on Suspend / Resume​
synapse: Battery: added Battery Scaling Calibration (fuel-gauge chip reset)
synapse: Reboot: added Clear Synapse Data button
kernel :
fs/dyn_sync_cntrl: dynamic Fsync control v1.5
fs/dcache.c: adaptive vfs_cache_pressure on suspend / resume
fs/aio.c: Asynchronous I/O latency to a solid-state disk greatly increased
enabled AIO
kernel: sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire
config: set default TCP Westwood+ -- remembered at last
Dynamic read-ahead (1024 kB for 16 GB partition)
block: add FIOPS I/O scheduler
block: deadline: tweaks
Optimize for non-rotational
allow 0ms deadline latency, increase the read speed​
Initial v0.9 release [22-August-2014]
All source and ramdisk mods synced with T700/705 build
INSTALLATION
Watch >> THIS <<
Uninstall any CPU control apps, tweaks and scripts etc.
Recommend: Install Wanam DVFS disabler for greater kernel control
Recommend: Backup your current kernel with TWRP Recovery
Recommend: Install Synapse app from Google Play and rate it ☆☆☆☆☆ !!
If Synapse app is installed and using with any current kernel: device settings > applications > synapse > FORCE STOP & CLEAR DATA
Flash with CWM or TWRP Recovery
After boot (wait at least 60-120 secs)
Open Synapse
Tap "Understood"
Make any change, and tap the "" to apply new defaults
After setting and applying any GPU freq changes, don't forget to tap [Apply GPU Governor Settings] in Synapse GPU section
Any issues, please check Posts #1-3 and search the thread BEFORE posting
DOWNLOAD
10.5" TF800 WIFI EXYNOS
>> WIFI SkyHigh T800 WIFI kernel <<
STOCK T800 WIFI T800ZSU1ANL1 kernel (Flashing Stock will wipe your WiFi setings !)
---------------------------------------------------------------------------------------------------
10.5" TF805 LTE EXYNOS
>> LTE SkyHigh T805 LTE kernel <<
STOCK T805 LTE T805XXU1AOA1 kernel (Flashing Stock will wipe your WiFi setings !)
SOURCE
>> github <<
.
HELP & FAQ
HELP & FAQ
PLEASE POST QUESTIONS THAT ARE NOT DEVELOPMENT RELATED IN Q&A HERE. THIS WILL HELP KEEP THINGS TIDY
BEFORE POSTING, ENSURE YOU READ POSTS #1-3 AND SEARCH THREAD FOR INFO FIRST. THANK YOU FOR YOUR ASSISTANCE
BUGS
[Q] Duplicate proc/last_kmsg files
[A] Doesn't appear to affect anything, looking into it - apparently only from v0.8 and up
[Q] Synapse: AUDIO: HP equalizer does not work
[A] Toggle the control switch off > apply > on > apply >then it works
[Q] GPU Qos has this error:
[A] Don't worry, it wont hurt, and will only show if GPU freq 100 MHz is not in use. If you set 100 MHz and restart synapse, control will be available without error.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
AUDIO
If you don't like the sound:
open synapse app
AUDIO: set all SP equalizer settings to zero
disable SP equalizer
apply
"SYNAPSE BOOT CANCELLED"
Wait for the kernel to stabilize and device to cool
Open synapse app
Synapse app menu > select all globally > undo > apply
Re-boot
If still issues > try again after #1
Still issues > Manually set config after boot (open synapse app > syanapse app menu > settings > disable apply on boot)
ISSUES
DO NOT POST ANY BUG REPORTS REGARDING SOD, FREEZE or REBOOT WHERE YOU (USER) HAS CHANGED ANY VOLTAGE OR FREQUENCY FROM DEFAULT !!
Uninstall any CPU control apps, tweaks and scripts etc.
Install Wanam DVFS disabler for greater kernel control
Flash kernel
Boot and allow things to stabilize
Open Synapse & tap :
"understood" message about unstable boot
"select all globally"
"undo" button
"apply"
make any change
"apply"
Reboot and ensure "synapse boot completed" toast message
You should be good to go
BOOT-LOOP
Power off & let device cool
Wipe cache & dalvik-cache in recovery (if custom recovery)
Re-flash kernel
Re-boot
Let things stabilize and cool before touching anything
BETTER BATTERY LIFE
There are no best settings. User "HABIT" is #1 cause of battery drain, followed by screen, ROM & apps, modem etc
This kernel is built to be balanced with a good mix of battery whilst keeping performance
Decrease screen brightness
Use dark wallpapers and app themes
Check your wakelocks with better battery stats app & use Greenify app to stop unwanted apps self starting and running in the background
Suggest:
CPU GOV: governor = ondemand (tweaked for power efficient workqueues)
CPU FREQ: 200 > 1900 MHz (-25 mV for all)
Synapse: CPU MULTICORE: Hotplug CPU UP boost = 30 %
GPU: 100 > 480 MHz (-50 mV for all) (100 MHz may induce some GUI sluggishness)
GPU: Midgard Power policy control = coarse_demand
GPU: Midgard Power policy threshold control = Battery (may induce some GUI sluggishness)
PowerSuspend Driver = Enable
MEMORY: Dynamic FSync = Enable
MEMORY: Dirty Page Writeback = Enable
CPU Multicore Power Saving = (2) Agressive
BETTER PERFORMANCE
DO NOT POST ANY BUG REPORTS REGARDING SOD, FREEZE or REBOOT WHERE YOU (USER) HAS CHANGED ANY VOLATGE OR FREQUENCY FROM DEFAULT !!
Disable DVFS with [APP][Android 4.0+][DVFS Disabler]
Warmer device under heavy load, but within the safe CPU temp of 95 degC
Synapse: CPU FREQ: 500 > 2000 MHz (2100 not stable for some devices)
Synapse: CPU MULTICORE: Power Efficient WQ = disabled
Synapse: CPU GOV: use Interactve governor
Synapse: GPU: set Midgard Power policy threshold profile to Ondemand or Performance. This will scale your GPU up/down faster at the expensive of battery life compared to Battery profile.
Synapse: GPU: GPU max freq = 533 MHz (more if your device is stable)
Synapse: MEMORY: UKSM = enabled
Synapse: ADVANCED: LMK profile = aggressive
GPU THESHOLD CONTROL
Set Midgard Power policy threshold profile (This determine how your GPU freq scales up/down):
Battery = battery friendly
Ondemand = Good all-round mix
Performance = A little agressive
Method:
Ensure you apply [] any changes to MIN / MAX GPU freq or GPU GOV Threshold profile
PRESS THE "Apply GPU GOV SETTINGS" button !!
Settings will be applied immediately and auto set on every boot.
HOW TO BACKUP YOUR STOCK KERNEL BEFORE FLASHING SkyHigh KERNEL
Boot into TWRP Recovery
Select Backup
Select "[X] Boot" only (boot.img/kernel)
Select Storage > Micro SD (if external sdcard installed) > OK
Swipe to backup
CAN I USE OTHER KERNEL CONTROL APPS
No, many features and options won't be available. Remove all other control apps to avoid conflicts !
Synapse is the recommended and has everything you need
HOW TO MONITOR LIVE CPU & GPU VALUES
CPU load & freq - available RAM - GPU freq - CPU temp - most resource intensive process
[APP][2.1+] Cool Tool
Download my personal cooltool_presets > unzip & copy folder to INTERNAL sdcard. If you have cool tool app already running, you must disable > overwrite existing folder > enable
LITTLE CORE CPU FREQUENCY
Real frequency is apparently double that reported by other apps
Example: min 200 MHz (real) in Synapse is reported as 100 MHz in SetCPU
RANDOM REBOOT
Don't UV or UC CPU or GPU
Use SkyHigh defaults
DOWNLOAD LINK NOT WORKING
I want to keep this project all in one place (Thanks to XDA) - ☆☆ NO MIRRORS ☆☆
Please try again in a few minutes
POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE
Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE
DO NOT KILL PROCESSES
This feature allows the user to define processes and system processes white-lists filled with the preferred process names and to not be killed by lowmemorykiller, unless it is absolutely necessary.
When a the lowmemorykiller needs to free ram, it will first kill the processes not included inside the two process name lists chosen by the user.
If there are no more standard killable processes, then it will be necessary to kill one of the processes included inside one of the two white-lists, to prevent system hangs, slowdowns, etc.
You can find the [SkyHigh/Synapse] folder on your internal sdcard and add one process name per line. Lists updated on reboot.
Max 25 processes
Example only:
Code:
com.ea.games_r3_row
com.quoord.tapatalkxdapre.activity
DYNAMIC MANAGEMENT OF DIRTY PAGE WRITEBACKS
* [Christopher83]
This feature allows to have two different intervals for dirty page
writebacks and to dynamically manage them when the system has been
resumed (it's active) or when has been suspended.
Three new procfs parameters are exposed inside /proc/sys/vm path:
- dynamic_dirty_writeback is the activation status of this feature,
set 1 to enable it, set 0 to disable it and use the standard behaviour
- dirty_writeback_active_centisecs is the interval for the dirty page
writebacks when the system is active (screen on)
- dirty_writeback_suspend_centisecs is the interval for the dirty page
writebacks when the system is suspended (screen off)
This feature is in part inspired on Francisco Franco's patch:
https://github.com/franciscofranco/mako/commit/34d79548cf16b69c7d0154836018e7f258a22947
Click to expand...
Click to collapse
BACKUP & RESTORE
If the backup isn't visible, reboot device and ensure for have "synapse boot completed" message. Otherwise synapse won't read the file.
Reboot after applying your new settings
Read "ISSUES" & "SYNAPSE BOOT CANCELLED" above
TCP/IP NETWORK SECURITY
* Thanks to zeppelinrox & V6SuperCharger
Hardening the TCP/IP stack to SYN attack
Bump up tw_buckets in case we get DoS'd
Ignore pings
Don't cache connection metrics from previous connection
Don't pass traffic between networks or act as a router
Enable spoofing protection (turn on reverse packet filtering)
Don't accept source routing
Don't accept redirects
- Further reading:
http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening
http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks
SEGMENTATION FAULT
I don't believe it's kernel related, but rather busybox
Try uninstall your ROM busybox with this app. https://play.google.com/store/apps/details?id=stericson.busybox and reboot.
Re-flash kernel
Use the busybox that comes with the kernel located in /sbin
Also try to update your SuperSu and su binary if it asks and reboot.
USB KEYBOARD / MOUSE
Base project: https://github.com/pelya/android-keyboard-gadget
Required app: USB KEYBOARD
For best results, enable & use Hacker's Keyboard
Steps:
Ensure device USB debugging
Connect device to system via USB cable
Enable in Synapse > USB > USB Keyboard / Mouse >> Enable & apply
Start USB KEYBOARD app
BATTERY SCALING CALIBRATION - FUEL GAUGE RESET
Tap [Fuel-Gauge reset] in synapse BATTERY section
Reboot device
Battery % "reporting" calibration (digital)
a) Deplete battery to 5-10% (NOT ZERO)
b) Charge UNINTERUPTED until FULL (don't touch)
c) Unplug and then use normally. Device should then re-calibrate itself
..
v0.9 release
Initial T805 LTE kernel v0.9 is officially released !!
Thanks to @619619 for the test :good:
Please read carefully Posts #1-3 BEFORE doing anything. A lot of additional info can can found by searching
T800 WIFI Users:
I would like to build your kernel using T800ZCU1ANG2 ramdisk. I require the stock boot.img from this firmware. Without it, I won't biuld it.
Cheers,
UITA
.
UpInTheAir said:
Initial T805 LTE kernel v0.9 is officially released !!
Thanks to @619619 for the test :good:
Please read carefully Posts #1-3 BEFORE doing anything. A lot of additional info can can found by searching
T800 WIFI Users:
I would like to build your kernel using T800ZCU1ANG2 ramdisk. I require the stock boot.img from this firmware. Without it, I won't biuld it.
Cheers,
UITA
.
Click to expand...
Click to collapse
PFA the stock NG2 kernel for the 10.5 WIFI
UpInTheAir said:
Initial T805 LTE kernel v0.9 is officially released !!
Thanks to @619619 for the test :good:
Please read carefully Posts #1-3 BEFORE doing anything. A lot of additional info can can found by searching
T800 WIFI Users:
I would like to build your kernel using T800ZCU1ANG2 ramdisk. I require the stock boot.img from this firmware. Without it, I won't biuld it.
Cheers,
UITA
.
Click to expand...
Click to collapse
Cheers
Inviato dal mio SM-N9005 utilizzando Tapatalk
** T805 kernel RECALL **
Please wait for re-upload, minor error in init.rc
v0.9 released for all models & re-uploaded T805 kernel
R3_v0.9 kernel is now released for supported 10.5" models
* re-uploaded T805 LTE kernel - fixed minor mistake
* T800 WIFI R3_v0.9 is untested. Please let me know how it goes........ I have added flashable Stock kernels in the Download section (if required).
For those on older ROM firmware, please upgrade or you might have issues that we can't reproduce. Otherwsie, stay with stock.
Ensure you flash the kernel for your device model !!
NOTE: commit credits are in source.
Further instructions in Synapse app & Posts #1-3
Enjoy :good:
Cheers,
UITA
.
thank you very much, I'm going to try it immediately
UpInTheAir said:
R3_v0.9 kernel is now released for supported 10.5" models
* re-uploaded T805 LTE kernel - fixed minor mistake
* T800 WIFI R3_v0.9 is untested. Please let me know how it goes........ I have added flashable Stock kernels in the Download section (if required).
For those on older ROM firmware, please upgrade or you might have issues that we can't reproduce. Otherwsie, stay with stock.
Ensure you flash the kernel for your device model !!
NOTE: commit credits are in source.
Further instructions in Synapse app & Posts #1-3
Enjoy :good:
Cheers,
UITA
.
Click to expand...
Click to collapse
Hi @UpInTheAir
I just had a small question you firmware is based on the ANG2. (CHN) right I had the ANFB. On a T800 wifi with stock rom I didn't like the other roms so far but I want to try your firmware not sure if flashing yours can break my tab . Do you had any subjections?
Thanks for sharing your work
WarLion said:
Hi @UpInTheAir
I just had a small question you firmware is based on the ANG2. (CHN) right I had the ANFB. On a T800 wifi with stock rom I didn't like the other roms so far but I want to try your firmware not sure if flashing yours can break my tab . Do you had any subjections?
Thanks for sharing your work
Click to expand...
Click to collapse
No, source is Japan.
The ramdisk is ANG2 from China.
I don't have a 10.5" device so can't really comment except try for yourself. If you're worried, just back up your data (titanium backup app) before hand along with boot.img for your device (TWRP) to exSdCard. The kernel may or may not work properly on older firmware such as FB etc. Up to user to try for yourself.
UpInTheAir said:
No, source is Japan.
The ramdisk is ANG2 from China.
I don't have a 10.5" device so can't really comment except try for yourself. If you're worried, just back up your data (titanium backup app) before hand along with boot.img for your device (TWRP) to exSdCard. The kernel may or may not work properly on older firmware such as FB etc. Up to user to try for yourself.
Click to expand...
Click to collapse
Thanks mate I will try tomorrow morning thanks
Hi
I tried it, and to be honest, I don't feel any improvement currently, I guess I need to use it some days to check.
I tried Antutu Benchmark, just to see... No matter settings I try in Synapse, default, or boosted CPU/GPU, results are lower with SkyHigh kernel.
~34500 with Stock Kernel
~33000/33500 with SkyHigh Kernel
Thank you
Orphee said:
Hi
I tried it, and to be honest, I don't feel any improvement currently, I guess I need to use it some days to check.
I tried Antutu Benchmark, just to see... No matter settings I try in Synapse, default, or boosted CPU/GPU, results are lower with SkyHigh kernel.
~34500 with Stock Kernel
~33000/33500 with SkyHigh Kernel
Thank you
Click to expand...
Click to collapse
You might need to read Post #3 again, and the last few pages of the 8.4" kernel thread regarding heat and throttling.
I have said before that we might need newer source and I can't do magic with that. My older firmware + SkyHigh kernel (older source) scored 36200 standard AnTuTu (edit: just with GPU OC) but I don't really care. I don't live for the benchmark, and I certainly don't see any negative impact on general use
There are other features to the kernel, and if they don't suit user needs, I've included the stock kernel for download
Other than that, we just need to wait to better firmware and source.
I did read the #3 post, don't worry I was not trashtalking
Of course I see there is other interesting features
Again, thank you for your work
Orphee said:
I did read the #3 post, don't worry I was not trashtalking
Of course I see there is other interesting features
Again, thank you for your work
Click to expand...
Click to collapse
I realize that, no worries Just edited previous post.....
This newer firmware just runs hotter with older & newer kernel source. Throttling is induced earlier > decreased benchmark performance. Maybe a newer ROM or kernel source will help, time will tell.
UpInTheAir said:
[KERNEL] [SM-T800 WIFI & T805 LTE] [22 August] SkyHigh TW Kernel [R3_v0.9] [Synapse ++]
10.5" SM-T800 WIFI & T805 LTE TW Exynos 5420 supported in thread only !!
I don't have time to build for any more devices I can't personally test & debug - sorry.
Click to expand...
Click to collapse
can you please port this kernel to SM T520 Tab pro 10.1? they are pretty similar in hardware.
CodeIndia said:
can you please port this kernel to SM T520 Tab pro 10.1? they are pretty similar in hardware.
Click to expand...
Click to collapse
I don't have the time or desire to expand on the commitments I have already (particularly for yet another device I don't use). There is no "porting", but would need complete build and patch from source for your own hardware .......
Using this kernel with ThunderRom800. Antutu of 34907 without doing any tweaking!
Subsonic44 said:
Using this kernel with ThunderRom800. Antutu of 34907 without doing any tweaking!
Click to expand...
Click to collapse
Might be an update towards end of week. Just testing ATM and trying to get final Synapse controls just right.

[KERNEL] [SM-T700 | T705 | T800 | T805] SkyHigh TW LL Kernels [26 August 2015] [v2.0]

[KERNEL-DISCONTINUED] [Galaxy Tab-S Exynos 5420] [26 August] SkyHigh TouchWiz 5.0.2 Kernel [v2.0] [Synapse ++ EXT4 | F2FS | exFAT | NTFS | CIFS]
WELCOME TO SkyHigh KERNEL !! THE FIRST AND MOST ADVANCED, FULL FEATURED & STABLE TAB-S KERNEL IS BACK !!
NOW WITH DUAL EXT4 | F2FS CACHE & DATA PARTITION SUPPORT !!
WARNING
Code:
[COLOR="Red"]PLEASE SHOW RESPECT TO ACTUALLY [COLOR="PURPLE"][B]READ POSTS #1-3[/B][/COLOR]
[URL="http://forum.xda-developers.com/announcement.php?a=81"][B]XDA RULE #1 "SEARCH BEFORE POSTING"[/B][/URL] (GOOGLE, XDA & THREAD),
IF YOU DON'T LIKE A UP-FRONT "MATTER OF FACT" APPROACH,
[B]THEN DON'T BOTHER POSTING[/B]. [/COLOR]
Code:
[COLOR="Red"]BE WARNED, THOSE WHO [B]KANG[/B] WITHOUT PERMISSION WILL BE REPORTED !!
I WILL LISTEN IF ASKED, BUT NO GUARANTEES !![/COLOR]
FEATURES
Code:
* Based on the [B]LATEST[/B] official Samsung source: [URL="http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=sm-t805"]SM-T805_EUR_LL_Opensource T805XXU1BOG2[/URL] ([U]ALL[/U] KERNELS COMPILED WITH [U]SAME[/U] [B]SkyHigh[/B] SOURCE !!)
* ramdisk sources: [B]T700[/B]XXU1BOF3 [B]T705[/B]XXU1BOF2 [B]T800[/B]XXU1BOG2 [B]T805[/B]XXU1BOG2
* Compiled with [URL="https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/"]Google ARM Toolchain GCC 4.8[/URL]
* Linux 3.4.108
* ARM: full neon-vfpv4 support & compile with -mfpu=neon-vfpv4 + optimizations
* [COLOR="Red"]KNOX WARRANTY VOID: 1[/COLOR]
* [COLOR="red"]SELinux PERMISSIVE[/COLOR] (for Titanium Backup and other apps to work correctly) == able to switch to ENFORCING and back with control in [B]Synapse[/B]
* adb insecure
* init.d script support (drop in script & set permissions to 755 or 777 and reboot)
* busybox v1.24.1-Dorimanx installed to /sbin
* [URL="https://github.com/Chroma-Aosp/android_vendor_chroma/commit/a8ecd5b2e4724448ccf92b29e08eb1a249e21957"]ART optimization[/URL]
* Possible Screen Mirroring / AllShare Cast fix
* Secure storage = false (should prevent WIFI settings & passwords wiping on flash)
* Unified kernel to support both:
[INDENT]EXT4
[COLOR="red"][URL="http://forum.xda-developers.com/showthread.php?t=2697069"]F2FS[/URL][/COLOR] (cache & data partitions)[/INDENT]
* [B]Synapse app support[/B] for many kernel configurations + more !!
* Many descriptions are in the app ! If you require more info, don't be lazy, please [B]SEARCH[/B] like I did ;)
SYNAPSE FEATURES
ABOUT
PayPal Donation link
SkyHigh kernel thread link
Up time
Total
Sleep
Awake​
CPU FREQ
CPU temperature
CPU freq scaling
CPU live frequency
MAX: 2100 MHz (stock/default = 1900 MHz)
MIN: 200 MHz (stock/default = 500 MHz)​
CPU MULTICORE
Samsung DYNAMIC Hotplug
CPU UP load
Hotplug Freq
CPU UP boost (default = 0 - all cores on)
CPU down hysteresis​
sched_mc_power_savings
performance (default)
balanced (use with HotPlug)
battery​
CPU VOLT
A15 big cores
A7 LITTLE cores
CPU GOV
CPU governors
interactive (default)
on-demand
conservative​
CPU governor tunables
DEVFREQ (BUSES)
CPU internal freq voltage control
Memory freq voltage control
GPU
GPU stats
Current clock freq
Live Frequency Utilization (load)
Time in state​
GPU power policy control
coarse_demand (default)
demand
always_on​
Midgard GPU threshold policy control
Battery
On-demand
Performance​
GPU scaling settings
Default: 177 - 480 MHz (stock)
Max: 667 MHz (533-667 MHz may not be stable for all devices)
Min : 100 MHz (battery)​
GPU voltage control
GPU QoS
Memory
Internal
CPU
CORTEX (Dynamic Screen ON/OFF functions)
Cortexbrain-Background-Process control (master switch)
Custom DVFS for TW ROMs
Power-efficient Workqueues (statically Enabled during screen OFF)
Kernel tweaks
Memory tweaks
System tweaks
Battery tweaks
Network tweaks
Android logger control
Auto = screen ON (enabled) & screen OFF (disabled)
Disabled = screen ON/OFF disabled​logcat​
Kernel logger printk control (dmesg)
Auto = screen ON (enabled) & screen OFF (disabled)
Disabled = screen ON/OFF disabled​dmesg
last_kmsg​
IO
I/O Schedulers
BFQ (default - tweaked for SSD)
DEADLINE (tweaked for SSD)
FIOPS
CFQ (tweaked for SSD)
NOOP
SIO
ROW (tweaked)
ZEN (optimised for Android)​
Storage read-ahead (512 KB)
General IO tuneable
Add random
IO stats
Rotational
No merges
RQ Affinity​
I/O scheduler tunables
MEMORY
Memory state
Total
Free​
Ultra Kernel SamePage Merging (UKSM)
UKSM stats
Scan Delay Interval
UKSM Governor
Max CPU consumption​
Dynamic Fsync control (default enabled)
Dynamic management of dirty page writeback
Active
Suspend​
Virtual Memory
Virtual NAND (VNSWAP) control
ZSwap memory pool control
ZSwap max compression ratio
Dirty Background Ratio
Dirty Ratio
Drop caches (Clear VFS cache after boot)
Laptop Mode
Swapiness
Adaptive VFS Cache Pressure on Suspend / Resume​
ADVANCED
Low Memory Killer Profiles
Low
Medium
Custom (recommend)
Default (almost stock values = default)
Aggressive
Exterminate​
Low Memory Killer minfree tuning (OOM LMK)
Optimize Recent's Menu & RAM control (default = 2)
profiles​
Entropy
Gentle Fair Sleepers control (disabled)
Arch Power control (enabled)
Dynamic Management of minimal timer slack value
Generic core apps/processes (active/suspend)
Apps/processes in foreground (active/suspend)
Apps/processes in background and non-interactive (active/suspend)​
POWER SUSPEND
Autosleep_hook
Userspace_trigger
DisplayPanel_trigger
Hybrid_hook (default) uses Autosleep & DisplayPanel​
PowerSuspend State
PowerSuspend version
AUDIO
(WolfsonMicro Sound Control by AndreiLux)
Mono mixer
Speaker amplification
Main speaker volume (individual left & right channels)
Earpiece volume
Privacy mode​
SP equalizer settings
Headphone amplification
SCREEN
LCD reduce power
NETWORK
TCP congestion control
All available enabled.
Default = westwood+​
Screen mirror/allshare cast fix control (enabled)
Clean WIFI Lease
WiFi Power Mode While Screen-On/Off
Force Off
Off
Fast (default = screen ON)
Max (default = screen OFF)
WiFi DTIM Interval While Screen-On/Off​
RX wakelock timeout control
TCP/IP network security
TCP/IP network speed (enabled)
3G DNS speed & security tweak
Google
OpenDNS
Comodo, Level3
Norton_DNS
Smart_Viper​
IVP6 Optimistic Detection
optimistic_dad (enabled)
use_optimistic (enabled)​
USB
Status
USB Mode Selection
MTP
PTP
UMS (USB Mass Storage)​
SECURITY
KNOX control
NO_ACTION (default)
Disabled
Enabled​
SELinux
Security Policy control (Permissive = default)
Live status
Force Audit control (debugging disabled)​
BATTERY
Battery info
Unstable power detection
AC mains
Standard downstream port
Dedicated charging port
Charging downstream port
Accessory charger adapter
Miscellaneous charging
MHL power
Battery Scaling Calibration (fuel-gauge chip reset)
THERMAL
CPU thermal control
GPU thermal control
Memory interface thermal control
FS (File System)
Display FS Type
FS Controls
remount System r/w r/o
remount RootFS r/w r/o​
SPI CRC settings control (disabled)
Scrolling cache control (default = 2)
Optimise Databases (SQLite3)
File System Trim
Wipe options
cache reboot
dalvik-cache reboot
cache & dalvik-cache reboot​
Clean up
clipboard cache
/data/tombstones
/data/anr logs
/data/dropbox logs
lost+found​
SYSCTL
FS SYSCTL
Kernel SYSCTL
Net SYSCTL
VM SYSCTL
BACKUP & RESTORE
Name - Restore - Delete - Backup
profiles
kernel image​
REBOOT
Reboot device
Recovery Mode
Download Mode
Power Off
Clear Synapse Data & Reboot
Restart Synapse
INFO
Tweaked xz compression for zImage
Reduced logging
Various ext4 & mm tweaks
Use faster memcopy & string use glibc version
optimized SLUB memory allocator
use WQ_POWER_EFFICIENT
HAVE_EFFICIENT_UNALIGNED_ACCESS
Lowmemorykiler (LMK) tuning
exFAT FS support
NTFS
R/W support for USB OTG with Paragon app (NTFS extSDcard not tested)
R/O with USB OTG from directory /mnt/ntfs/........
CIFS support (not tested)
Frandom
mount partitions NOATIME and NODIRATIME by default
Allow untrusted apps to read from debugfs (mitigate SELinux denials)
WIFI: filter multicast packages while suspended
CRYPTO: SHA1_ARM_NEON, SHA256, SHA256_ARM, SHA512, SHA512_ARM_NEON
Low Memory Killer tweaks
Entropy tweaks
CLEANCACHE
Microsoft X-BOX gamepad controller in-built module
Much more - check source commits & Synapse
CREDITS
My family !!
@Chainfaire - root & SuperSU
@AndreiLux - years of support for Exynos development and his various kernel features + Synapse app
@halaszk88 - patches & controls I've adapted to many of my kernel
@Dorimanx - BusyBox and various ramdisk tweaks
@apb_axel - I adapted and used many of the Synapse controls to suit my kernels
@heyjoe66 - various source patches + Wolfson Audio parametric equalizer pre-sets & tuning values
@ashyx - F2FS guide & F2FS TWRP recovery
XDA
Android File Host
Samsung OSRC
and many others!
check github source credits
ALL contributing members that have provided constructive feedback (good or bad), words of encouragement, or having just quietly hit the thanks button (I see you there)
IF I'VE FORGOTTEN ANYONE, PLEASE DON'T BE SHY AND SPEAK UP, THANKS
XDA:DevDB Information
SkyHigh Kernels for Samsung Galaxy Tab-S TW 5.0.2 Exynos 5420, Kernel for the Samsung Galaxy Tab S
Contributors
UpInTheAir
Source Code: https://github.com/UpInTheAir/Samsung-Galaxy-Tab-S-Kernel
Kernel Special Features: Synapse ++ | F2FS | EXT4 | exFAT | NTFS | CIFS
Version Information
Status: No Longer Updated
Current Stable Version: 2.0
Stable Release Date: 2015-08-26
Created 2015-06-11
Last Updated 2016-01-10
Warning - ChangeLog - Requirements - Installation - Download - Source
** DISCLAIMER : FLASH AT YOUR OWN RISK **
WARNING :
Code:
[COLOR="Red"]* Under-volting can cause instability
* Over-clocking can cause freeze/reboot, heat & damage to CPU, GPU or other hardware
* Any customizations may void warranty
* May not be suitable for your device or customizations
* UpInTheAir is NOT responsible, the person you see in the mirror is !![/COLOR]
CHANGE-LOG
[v2.0] 26th August 2015
source:
Merge in Source: SM-T805_EUR_LL_Opensource T805XXU1BOG2
[v1.9] 23rd August 2015
ramdisk:
Synapse: USB: add my USB Storage controls. Currently just MTP-PTP-UMS (still a bit of work needed, but happy enough for now)
[v1.8] 21st August 2015
ramdisk:
SM-T805 LTE ONLY - Fixed not loading Synapse and setting SELinux Permissive mode on boot
[v1.8] 18th August 2015
ramdisk:
ramdisk source updates from T705XXU1BOF2 (I think I forgot to merge it in previously.... ) - T800XXU1BOG2 - T805XXU1BOG2
source:
fs: rework F2FS to latest August source changes (credits to @arter97 for the commits - saved me lots of time patching 100's of commits !)
[v1.7] 14th August 2015
updater-script:
delete dalvik-cache on flash for ART optimization to everything
ramdisk:
Synapse: MEMORY: re-work VN swap control + auto set swappiness to 0 on Disable and 130 on Enable.
Synapse: ADVANCED: add 4 profiles for Optimize Recent's Menu & RAM control (default = 2). Values from here @mikeyinid
Synapse: ADVANCED: LMK: add Default profile to mirror Optimize Recent's Menu default (2) – experimental values for now
Synapse: SECURITY: add Security Policy Update to list of Knox related apps/processs to freeze
Synapse: SECURITY: add SELinux live status
default.prop: Turn ART optimization to everything @sykopompos
default.prop: set Optimize Recent's Menu & RAM to profile #2 values
SkyHigh.sh: re-enable frandom permissions
file_contexts: add frandom @placiano
source:
block: Make CFQ default to IOPS mode on SSDs
cfq-iosched: fix the setting of IOPS mode on SSDs
powersuspend: add power_suspended boolean for global access
Optimize copy_page for modern ARM platforms
zen-tune: Implement zen-tune v3 (experimental)
zen-tune: exclude from compile by default
config: disable ZEN_INTERACTIVE (will test values via sysfs for now)
frandom: clean up
frandom: Clear up checkpatch conflicts
frandom: Dynamically allocate the char device numbers
[v1.6] 8th August 2015
ramdisk:
ramdisk source updates from T705XXU1BOF2 - T800KXU1BOF2 - T700XXU1BOF3
Synapse: MYABOUT: add push buttons for Donation and SkyHigh kernel XDA thread links (will open browser)
Synapse: BATTERY: removed screen ON A/C Mains charging controls (didn't seem to work)
Synapse: BATTERY: FIX - A/C Mains charging limited to 2550 mA/h rate (over this causes rate to drastically reduce)
Synapse: ADVANCED: add Optimize Recent's Menu & RAM control (Disabled by default) - original fix by @mikeyinid
Synapse: ADVANCED: FIX - removed LMK Do-Not-Kill white-list control (caused aggressive launcher re-draw)
Synapse: ADVANCED: added LMK profile "Custom" using @neobuddy89 tuned values. Stock profile is default
Synapse: ADVANCED: LMK: some changed merged from @apb_axel
Synapse: ADVANCED: removed randomize_va_space control (Disabling causing app FC in 5.0.2)
Synapse: GPU: added Frequency Utilization (live frequency load)
Synapse: REBOOT: FIX - Synapse clear data button (will also reboot device so defaults are loaded)
Synapse: replaced empty SDescriptions with SSpacer format to make spaces (AndreiLux said it would speed up loading Synapse)
Synapse: minor description and styling updates
default.prop: Scrolling cache default changed from (3) to (2)
SkyHigh.sh: Permission fixes for LMK moved from init.rc
SkyHigh.sh: Update SELinux white-list from @neobuddy89
source:
FIX - UNALIGNED_ACCESS not implemented properly :
byteorder: allow arch to opt to use GCC intrinsics for byteswapping
ARM: enable UNALIGNED_ACCESS
config: enable ARCH_USE_BUILTIN_BSWAP for UNALIGNED_ACCESS​
FIX - Memory management issues and aggressive screen re-draw :
Revert "staging: android: lowmemorykiller: Management of not killable processes"
Revert "config: enable ANDROID_LOW_MEMORY_KILLER_DO_NOT_KILL_PROCESS"​
staging:android:lmk: Use for_each_thread helper
staging: android: LMK: Tune up
Protect imp apps and services till last breathe
Add minfree values for content provider and empty apps
Fix derps of int/short format specifiers​
[v1.5] 03 July 2015
ramdisk:
Synapse: BATTERY: add screen on A/C Mains charging controls
source:
Linux 3.4.39 > 108 !! (this took a lot of time)
[v1.4] 26 June 2015
Flashable Zip:
Remove AROMA Installer
ramdisk:
Modify for single unified kernel supporting both ext4 & f2fs (cache & data partitions)
Synapse: MULTICORE: Removed Hotplug master control - all cores forced on (Hotplug CPU UP Boost = 0% | User can set 30-90% for battery savings)
source:
cpufreq: add new routine cpufreq_verify_within_cpu_limits()
Samsung DYNAMIC Hotplug control: enable by default
Samsung DYNAMIC Hotplug control: 0% brings all cores online (set as default)
cpufreq: ondemand: Fix update_sampling_rate race with hotplug
CPU hotplug, debug: detect imbalance between get_online_cpus() and put_online_cpus()
mm: vmscan: If kswapd has been running too long, allow it to sleep
writeback: fix race that cause writeback hung
lib: cpu_rmap: avoid flushing all workqueues
fs/super.c: sync ro remount after blocking writers
block/partitions: optimize memory allocation in check_partition()
sched: Set MC (multi-core) sched domain's busy_factor attribute to 1
AIO: Don't plug the I/O queue in do_io_submit() Asynchronous I/O latency to a solid-state disk greatly increased
block: Adding ROW scheduling algorithm
A bunch of commits to get ROW I/O scheduler working
block: row: add magic values - tweaks from fransicofranco
config: enable ROW I/O scheduler
[v1.3] 24 June 2015
Flashable Zip:
Convert to AROMA Installer with choice of either SkyHigh-ext4 or SkyHigh-f2fs kernels
ramdisk:
add F2FS support for SkyHigh-f2fs kernel
source:
kernel/sched/fair: reduce latency
add f2fs driver
fs: introduce a generic shutdown ioctl
f2fs: ditch SEGMENT_SIZE for f2fs_trim_fs
f2fs: fix mismatching lock and unlock pages for roll-forward recovery
config: enable F2FS
Revert " block: remove WQ_POWER_EFFICIENT from kblockd"
block: zen: Optimize usage for android
[v1.2] 19 June 2015
ramdisk:
Stop Google Service and restart it on boot. This removes high CPU load and ram leak! (dorimanx)
rq_affinity = 2 (Aggressive) We need faster I/O so do not try to force moving to other CPU cores (dorimanx)
Synapse: MEMORY: add ZSwap max_compression_ratio control
Synapse: SECURITY: add Force Audit control (SELinux debugging)
Synapse: GPU: changed path for better GPU live freq. 24 MHz ("standby" freq is now visible, but not included in stats as not in asv table)
Synapse: CPU MULTICORE: added Samsung Dynamic Hotplug control (WARNING: REBOOT is required if you Disable !!
Synapse: various changes, style and control improvements etc (all took time)
source:
config: SM-T805 - fix override compile warnings
block: disable I/O stats. Disabling will break I/O monitoring apps but reduce CPU overhead
cpufreq: Remember last policy min/max on cluster restart
cpufreq: Optimize cpufreq_frequency_table_verify()
cpufreq: Break out early if freq equals to target_freq
cpufreq: Improve debug prints
selinux: Add option to force audit
Samsung DYNAMIC Hotplug (heyjoe66)
Hotplug: set to Screen OFF mode by default
cpufreq: conservative: adjust freq dn threshold so hotplug cores lower to A7 values at low load
CPU hotplug, writeback: Don't call writeback_set_ratelimit() too often during hotplug
Samsung DYNAMIC Hotplug control: hotplug_cpu_up_load_value = 0 (Normal)
UKSM: update to v0.1.2.3
[v1.1] 15 June 2015
ramdisk:
SELinux Permissive on boot (default)
Synapse: GPU: Fix /work-around: governor threshold control is now auto set after applying governor profile or changes to freq max/min
Synapse: add CORTEX: CortexBrain Background Process to manipulate screen state on/off settings
Synapse: add SCREEN settings
Synapse: SECURITY: add link to more info
Synapse: FS: Scrolling Cache control
Synapse: some minor fix ups and tidy up
[v1.0] initial Lollipop release, 13 June 2015
REQUIREMENTS
SM-T700 WIFI - SM-T705 LTE - SM-T800 WIFI - SM-T805 LTE Exynos 5420 device
TouchWiz 5.0.2 Lollipop
Latest firmware with appropriate ROM and boot-loader versions. Check sammobile or samsung-updates (no boot = Read Post #3 for working firmware base)
Rooted
custom recovery (F2FS TWRP if wishing to flash F2FS kernel)
INSTALLATION
Backup your WIFI settings if you are coming from stock ROM or kernel with ro.securestorage.support=true
Backup your original boot.img [BOOT] in custom recovery (or better to backup everything)
Uninstall any CPU control apps, tweaks and scripts etc.
Recommend: Disable or remove KNOX (you can disable with Synapse once kernel is flashed if you wish)
Install Synapse app from Google Play and rate it ☆☆☆☆☆ !!
Disconnect device from PC USB
Device settings > developer options > enable USB debugging
If flashing from previous SkyHigh kernel > Force Stop Synapse app > clear data
Flash SkyHigh kernel in custom recovery
If you wish F2FS (data & cache partitions)
Follow > THIS < guide, but flash SkyHigh kernel instead !!​
After boot:
a) wait at least 60-120 secs to stabilize
b) Open Synapse
c) Tap "Understood" and apply
d) Change any setting and apply​
DOWNLOADS
SkyHigh
[CWM] T700 WIFI SkyHigh Kernel v2.0
[CWM] T705 LTE SkyHigh Kernel v2.0
[CWM] T800 WIFI SkyHigh Kernel v2.0
[CWM] T805 LTE SkyHigh Kernel v2.0
==========================================
STOCK
WARNING: Flashing stock may WIPE your WIFI settings. So back it up !!
[CWM] T705 LTE T705XXU1BOE6 Kernel
SOURCE
ALL KERNELS COMPILED WITH SAME SkyHigh SOURCE !!
Github
.
HELP - FAQ
THREAD RULES & PROTOCOLS FOR THIS DEVELOPMENT THREAD:
BY POSTING YOUR ISSUES IN THIS THREAD, YOU ARE AGREE TO HELP YOURSELF FIRST BY PROVIDING INFO REGARDING:
Code:
1. DEVICE MODEL
2. ROM and firmware version (build number, boot-loader etc)
3. EXACT steps taken to reproduce YOUR issue
4. Screen-shots (if applicable)
5. Did you read Posts #1-3 completely?
6. Did you search the thread, XDA or GOOGLE?
7. Did you follow the install instructions EXACTLY?
8. What was your previous kernel?
9. Do you have any other known kernel tweaking apps, scripts or mods? (remove them)
10. Try older kernel (if available)
11. Try latest stock firmware (without custom ROM - if you have installed)
12. Delete your ROM BusyBox (kernel uses it's own in /sbin)
ONLY IF YOU HAVE TRIED SUGGESTIONS ABOVE:
Turn on logging in Synapse and save logs AT TIME OF ERROR. AND post together with ALL the above information.
ELSE, DON'T WASTE MY TIME, YOU WILL BE IGNORED AND/OR POST REPORTED !!
THANK YOU :good:
CAN I BUILD A KERNEL FOR YOUR __XX DEVICE ?
NO - I will not build for any device that I can not compile using same source, personally test method or debug
Otherwise, please do not bother asking
"NO UCI SUPPORT"
It's a ROM busybox compatibility issue
Two choices:
Remove your ROM busybox from /system xbin and /system/bin (Synapse will use the kernel busybox in /sbin).
Force stop Synapse and delete app data (device settings > applications)
Re-flash kernel as per Installation Instructions
OR
Try install a different busybox ( v1.23-1-Stericson works for me on stock ROM)
Force stop Synapse and delete app data (device settings > applications)
Re-flash kernel as per Installation Instructions
STUCK ON SAMSUNG BOOT LOGO AFTER FLASH
Ensure you flashed the correct kernel for your device model
Ensure your download is not corrupted. Check MD5 hash or re-download
Your current base firmware (ROM, boot-loader version etc.) may be incompatible - UPDATE to latest with Odin and try again.
If you wish to restore to a working system, just restore your boot.img backup made previously with recovery (ref: Installation Instructions)
CONFIRMED WORKING STOCK BASE FIRMWARE
T700: XXU1BOE3 or XXU1BOE4 (T700XXU1BOE5 which has a lower change-list does not boot ) or newer
T705: XXU1BOE6 or newer
T800: XXU1BOE2 KXU1BOF2 or newer
T805: XXU1BOE3 or newer
CM SUPPORT
Read Post #12
"Unauthorized actions have been detected, reboot to undo changes"
As it's a common warning found with all KNOX enabled android devices, you would have found the answer by Google search and also that it is actually unrelated to kernel and also unrelated to this kernel development..............
It is caused by the process of rooting/modifying your device. Unless you use KNOX, don't worry.
[Q] How to disable
[A] Freeze or delete your KNOX & Security related apps/processes manually (using root explorer or titanium backup (pro) or use Synapse > Security > disable KNOX
HOW TO BACKUP YOUR STOCK KERNEL BEFORE FLASHING SkyHigh KERNEL
Boot into TWRP Recovery
Select Backup
Select "[X] Boot" only (boot.img/kernel)
Select Storage > Micro SD (if external sdcard installed) > OK
Swipe to backup
CAN I USE OTHER KERNEL CONTROL APPS
No, many features and options won't be available. Remove all other control apps to avoid conflicts !
Synapse is the recommended and has everything you need
BATTERY TIPS
DO NOT POST ANY BUG REPORTS REGARDING SOD, FREEZE or REBOOT WHERE YOU (USER) HAS CHANGED ANY VOLTAGE OR FREQUENCY FROM DEFAULT !!
There are no best settings. User "HABIT" is #1 cause of battery drain, followed by screen, ROM & apps, modem etc
The kernel defaults are balanced with a good mix of battery whilst keeping performance
Decrease screen brightness
Use dark wallpapers and app themes
Check your wakelocks with better battery stats or wakelock detector apps & use Greenify app to stop unwanted apps self starting and running in the background
Synapse:
- CPU GOV: governor = ondemand (tweaked for power efficient work-queues)
- CORTEX: PEQW = Enabled
- CPU FREQ: 200 > 1900 MHz (-25 mV for all 200 > 1900 MHz freqs - depending on asv_group)
- CPU MULTICORE: Hotplug CPU up load = Balance (with Hotplug CPU UP boost >0%)
- CPU MULTICORE: Hotplug CPU UP boost = 60 % (to 90%)
- CPU MULTICORE: CPU Multicore Power Saving = Aggressive
- GPU: Midgard Power policy control = coarse_demand
- GPU: Midgard Power policy threshold control = Battery (may induce some GUI sluggishness with 100 MHz min.)
- GPU: 100 > 480 MHz (-50 mV for all 100 > 480 MHz freqs - depending on asv_group) (Min 100 MHz may induce some GUI sluggishness)
- PowerSuspend Driver = Enable
- MEMORY: Dynamic FSync = Enable
- MEMORY: Dirty Page Writeback = Enable
- IO: RQ Affinity = Enable​
PERFORMANCE TIPS
DO NOT POST ANY BUG REPORTS REGARDING SOD, FREEZE or REBOOT WHERE YOU (USER) HAS CHANGED ANY VOLTAGE OR FREQUENCY FROM DEFAULT !!
Disable DVFS with [APP][Android 4.0+][DVFS Disabler] - Warmer device under heavy load, but within the safe CPU temp of 95 degC (NOTE: Xposed for Lollipop is still experimental, so results may vary)
Synapse:
- CPU FREQ: 500 > 2000 MHz (2100 not stable for some devices)
- CPU MULTICORE: Power Savings = Performance
- CPU GOV: use Interactve governor
- GPU: Midgard Power policy threshold profile = On-demand or Performance. (This will scale your GPU up/down faster at the expensive of battery life compared to Battery profile)
- GPU: GPU max freq = 533 MHz (more if your device is stable)
- MEMORY: UKSM = Enabled
- ADVANCED: LMK profile = Aggressive​
LITTLE CORE CPU FREQUENCY
Real frequency is apparently double that reported by other apps
Example: min 200 MHz (real) in Synapse is reported as 100 MHz in SetCPU
RANDOM REBOOT
Don't UV or UC CPU or GPU
Use SkyHigh defaults
Use stock ROM base that's confirmed working
ASV_GROUP (ALL DEVICES ARE NOT CREATED EQUAL)
http://forum.xda-developers.com/showpost.php?p=61579949&postcount=202
CAN I INCLUDE SkyHigh KERNEL IN MY ROM
Although I do appreciate your contribution here, if you could please do not include my kernel in any ROM package etc. This policy goes for anyone.
Having my kernel distributed outside my development thread just removes a lot of credit and more importantly, constructive user feedback that could be helpful to my development or user issue.
WHAT IS F2FS & HOW CAN IT BENEFIT
Info
Improved performance
DOWNLOAD LINK NOT WORKING
I want to keep this project all in one place - ☆☆ NO MIRRORS ☆☆
Please try again in a few minutes
POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE
Disable TW DVFS with wanam xposed. You will need his xposed for Samsung Lollipop.
Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE
DYNAMIC MANAGEMENT OF DIRTY PAGE WRITEBACKS
* [Christopher83]
This feature allows to have two different intervals for dirty page
writebacks and to dynamically manage them when the system has been
resumed (it's active) or when has been suspended.
Three new procfs parameters are exposed inside /proc/sys/vm path:
- dynamic_dirty_writeback is the activation status of this feature,
set 1 to enable it, set 0 to disable it and use the standard behaviour
- dirty_writeback_active_centisecs is the interval for the dirty page
writebacks when the system is active (screen on)
- dirty_writeback_suspend_centisecs is the interval for the dirty page
writebacks when the system is suspended (screen off)
This feature is in part inspired on Francisco Franco's patch:
https://github.com/franciscofranco/mako/commit/34d79548cf16b69c7d0154836018e7f258a22947
Click to expand...
Click to collapse
BACKUP & RESTORE
DO NOT restore profiles from different kernel version
If the backup isn't visible, reboot device and ensure for have "synapse boot completed" message. Otherwise synapse won't read the file.
Reboot after applying your new settings
TCP/IP NETWORK SECURITY
* Thanks to zeppelinrox & V6SuperCharger
Hardening the TCP/IP stack to SYN attack
Bump up tw_buckets in case we get DoS'd
Ignore pings
Don't cache connection metrics from previous connection
Don't pass traffic between networks or act as a router
Enable spoofing protection (turn on reverse packet filtering)
Don't accept source routing
Don't accept redirects
- Further reading:
http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening
http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks
CHROMECAST - STREAMING PROBLEMS
* Thanks to @AtLmd Post
Lock screen MUST be enabled (simple screen lock swipe) I don't know why but it breaks the chromecast app's ability to resume smoothly if switched off
Synapse > Network > DTIM (both screen ON & OFF) = 1
Synapse > Network > WIFI Power Mode (screen OFF) = FAST
.
Great
Sent from my SM-G900T using XDA Free mobile app
sound tweaks
thanks for your plans to include the Tab into your work. Really appreciated.
Just to ask (I am not sure if this is the right time to ask) if you can include some good sound system (Viper, Wolfson, etc).
Thanks in advance.
mazen1966 said:
thanks for your plans to include the Tab into your work. Really appreciated.
Just to ask (I am not sure if this is the right time to ask) if you can include some good sound system (Viper, Wolfson, etc).
Thanks in advance.
Click to expand...
Click to collapse
Just walked in the door after 2 days of international flights (jet lag big time), please give me some time.
I'm not sure if you realize, but I am the builder of previous SkyHigh kernels for Tab S KitKat, just haven't the time to build for LL until now
Intend to have most features from older SkyHigh KK builds. BTW, Viper is not a kernel feature ..........
But one step at a time
Good stuff been waiting for this. Sky high was always one of the better stable kernels.
Just one request though. Could you build an F2FS compatible one aswell or at least release your source code on your repo so I can build it myself.
ashyx said:
Good stuff been waiting for this. Sky high was always one of the better stable kernels.
Just one request though. Could you build an F2FS compatible one aswell or at least release your source code on your repo so I can build it myself.
Click to expand...
Click to collapse
I might take a look at some point. I have never tested it, but a 800/805 user did say had it working on KK with SkyHigh + recovery ..........
I just spent 2 hours trying to sort out a compile error, if only I'd checked the GPU code. It has changed in LL and now uses midgard sources :cyclops: Just tired and not thinking straight and cherry-picking without actually looking !!. Continue tomorrow
UpInTheAir said:
I might take a look at some point. I have never tested it, but a 800/805 user did say had it working on KK with SkyHigh + recovery ..........
I just spent 2 hours trying to sort out a compile error, if only I'd checked the GPU code. It has changed in LL and now uses midgard sources :cyclops: Just tired and not thinking straight and cherry-picking without actually looking !!. Continue tomorrow
Click to expand...
Click to collapse
I read that and he was actually wrong. I could see how he thought it had worked, but the script he used would never have worked on any of our roms, it actually did nothing.
All that happened was that the partition that he formatted to f2fs automatically got formatted back to ext 4 upon first boot.
Your kernel didn't work with an f2fs partition as it needed some modifications to the actual source code to make it work.
It was the same story with iron kernel, but Tkkg managed to get it to work by pulling in some changes from Nvertigo's repo.
I managed to get it to boot after making the required modifications to the ramdisk.
Unfortunately the kernel had other issues which caused the tablet to freeze. This was seemingly caused by adding hotplugging to the kernel.
I was then looking for a good t805 lollipop source to build from until iron kernel was fixed.
Unfortunately your repo didn't have the lollipop kernel source, so just left it alone until I could be bothered again.
For touchwiz LP and CM12.1?
Great news!
Good to be able to OC LP Rom.
rookie12 said:
For touchwiz LP and CM12.1?
Click to expand...
Click to collapse
Only TW.
Firstly, no disrespect to those Devs, I just find CM boring visually and tacky. It's just my personal opinion, not a criticism of one's choice to build or use There is no "right" or "wrong". Secondly, I don't have time for it other than what I can/want to spare.
Editing OP.
Delete...... Good to see Skyhigh back! Was great in KitKat! Can't wait to see what's in for lollipop
ashyx said:
I read that and he was actually wrong. I could see how he thought it had worked, but the script he used would never have worked on any of our roms, it actually did nothing.
All that happened was that the partition that he formatted to f2fs automatically got formatted back to ext 4 upon first boot.
Your kernel didn't work with an f2fs partition as it needed some modifications to the actual source code to make it work.
It was the same story with iron kernel, but Tkkg managed to get it to work by pulling in some changes from Nvertigo's repo.
I managed to get it to boot after making the required modifications to the ramdisk.
Unfortunately the kernel had other issues which caused the tablet to freeze. This was seemingly caused by adding hotplugging to the kernel.
I was then looking for a good t805 lollipop source to build from until iron kernel was fixed.
Unfortunately your repo didn't have the lollipop kernel source, so just left it alone until I could be bothered again.
Click to expand...
Click to collapse
Maybe you could assist with constructive help/feedback if/when the time comes.
DUHAsianSKILLZ said:
Delete
Click to expand...
Click to collapse
I have made it clearerr in OP for those that overlooked the title. Some will still not bother to read though (past experience) ....
UpInTheAir said:
Maybe you could assist with constructive help/feedback if/when the time comes.
Click to expand...
Click to collapse
Sure, no problem.
Hi, upintheair, glad to see you come back! a few days ago, I compiled a custom LL kernel, using your gpu hooks. LL kernel uses a different graphic driver, but the code are more or less the same, just modify the corresponding files in midgard then gpu hooks are going to work.! I planned to share my kernel source on github but now you are going to develop a more advanced one, it seems that I can stop doing this and wait for your kernel, once it was out, I will flash it to replace my own.
ninspector said:
Hi, upintheair, glad to see you come back! a few days ago, I compiled a custom LL kernel, using your gpu hooks. LL kernel uses a different graphic driver, but the code are more or less the same, just modify the corresponding files in midgard then gpu hooks are going to work.! I planned to share my kernel source on github but now you are going to develop a more advanced one, it seems that I can stop doing this and wait for your kernel, once it was out, I will flash it to replace my own.
Click to expand...
Click to collapse
I woke up early this morning, (body is still in another time zone), and have Synapse up and running.
Have already implemented: CPU voltage control, GPU OC/UC, GPU voltage control, GPU clock & governor control for new sources (not yet committed to github). Could give screen shot, but busy testing before Son goes to school
Just have an issue to sort out (not sure if ROM or kernel yet) for some apps FC on boot. Might be to do with Selinux
Welcome back!! I am glad to see you making kernel for LL. I chose to stay on KitKat as I am getting way too good battery life from your kernel to switch. No lie, I get about a weeks worth of use before I have to charge it. Granted I am not a heavy use, average about 6 - 8 hours of total screen time, but it is truly a join to not have to charge each night. Previously the best I got was a day and half with the same use patterns. Again, welcome back and look forward to your LL kernel. This will now motivate me to upgrade. :good:
I'll probably release v1.0 for T700 & T705 today. Still a bit of work to do yet with Synapse.
T800 & T805 will be a while away yet as first beta reported failed to boot using same source. So I will build for my device first until I'm happy with it's progress, then take a look at 10.5" again.
EDIT: Changed my mind, I wish to continue instead of release. I don't want to hurry. Why stop when I'm on a roll

[KERNEL][3.4][MM-6.0][BETA] Stock CM13.0-kernel + Unmerged CAF patches [05/02/2016]

Code:
*** Disclaimer
[B]Your warranty is now void.[/B]
We are not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Please do some research if you have any concerns about features included in this ROM before flashing it!
YOU are choosing to make these modifications, and if you point the finger at us for messing up your device, we will laugh at you.
Introduction
In this thread you may find the stock CM kernel 3.4 for MM-6.0 rom (CM 13.0 and derivatives) which include unmerged CAF Patches for testing purposes.
Of course, your feedback, as always, are welcome and certainly valuable.
- When reporting bugs please mention which CM/Kernel version you're running. (About Phone -> kernel version [Should begin with [email protected]])
- Also make sure to mention which device you test it on: d802, d800 etc.
- If you notice improved behavior also be sure to write a review as well, this helps me in figuring out the exact improvements done by the patches.
Unsupported Roms:
- Resurrection Remix
- Blisspop
- Broken OS/Rom
What NOT to expect:
Don't expect this kernel to fix anything related to RIL (Invalid Number/Preferred network selection etc.) these are problems which reside in the LG binary/library blobs and not the kernel. Whenever the kernel fixes something major I'll make sure to mention it in this post. Builds get tested by me first so I'll try to make sure it doesn't brick your device.
What to expect:
- Currently it appears that there seems some improvement with screen rotation, it seems to fix the pixels showing on rotation bug [Please verify this yourself as well and report back]
- CM Team warned me about one of the patches which might cause your headset buttons not to function with this kernel [If you have a headset please test if it functions correctly with this kernel, make sure all the buttons work!]
Click to expand...
Click to collapse
Installation instructions
Back-up your current kernel so you can always go back
- Boot to Recovery
- Choose backup and untick System and Data (if you only want to backup kernel otherwise just leave it as it is)
- Swipe to Backup and you're done
Return to main menu by pressing the back button and proceed with installation steps below:
1) Download the preferred kernel zip file to sdcard or external sdcard
2) Reboot to recovery mode
3) Flash the kernel zip file
4) Reboot the system
Important: As long as you'll participate in testing when, updating CM OTA you'll have to reapply the kernel zip file. (CM OTA overwrites boot partition)!
Click to expand...
Click to collapse
Changelog
Code:
[B]05/02/2016 - Stock CM Kernel 3.4 v1.0 for MM-6.0 + Unmerged CAF Patches[/B]
- msm: vidc: replace resurrect_fw with unload_fw (credits to Ashray Kulkarni)
- msm: vidc: Error handling when core is in bad state (credits to Praneeth Paladugu)
- msm: mdss: remove unnecessary lock in checking DSI status (credits to Ray Zhang)
- qseecom: add mutex protection for unloading app in qseecom_release (credits to Zhen Kong)
- spi: spi_qsd: Add multi-ee support (credits to Dan Sneddon)
- qseecom: Change pr_info messages to pr_debug (credits to AnilKumar Chimata)
- msm: mdss: update panel info node with dynamic fps parameters (credits to Jeevan Shriram)
- spi_qsd: Fix DMA errors (credits to Dan Sneddon)
- rtac: Check active asm clients before removing adm device (credits to Ramjee Singh)
- msm: kgsl: check for NULL pointer access (credits to Anupam Sakargayan)
- msm: mdss: Unmap only when buffer was mapped (credits to Jayant Shekhar)
- scm-mpu: Add additional memory protection options (credits to Patrick Daly)
- msm: mdss: Grouping enable and prepare calls for dsi link clocks (credits to raghavendra ambadas)
- msm: mdss: Fix Iommu page fault for splash logo enabled feature (credits to raghavendra ambadas)
- msm: mdss: fix underrun seen with HDMI connected as external (credits to Vineet Bajaj)
- msm: mdss: handle secure display state for MDP (credits to Dhaval Patel)
- net: ipc_router: Disable using SMEM Logs by default (credits to Karthikeyan Ramasubramanian)
- net: inet_diag: zero out uninitialized idiag_{src,dst} fields (credits to Daniel Borkmann)
- UPSTREAM: memcg: Only free spare array when readers are done (credits to Martijn Coenen)
- UPSTREAM: include/linux/poison.h: fix LIST_POISON{1,2} offset (credits to Vasily Kulikov)
- UPSTREAM: proc: actually make proc_fd_permission() thread-friendly (credits to Oleg Nesterov)
- UPSTREAM: proc: make proc_fd_permission() thread-friendly (credits to Oleg Nesterov)
- fs/dcache.c: Fix the too small buffer for dname (credits to Devin Kim)
- All previous unmerged commits
[B]Older Releases:[/B]
[HIDE]
[B]30/01/2016 - Stock CM Kernel 3.4 v1.0 for MM-6.0 + Unmerged CAF Patches[/B]
- ASoC: wcd9xxx: Handle fake mechanical interrupt (credits to Sudheer Papothi)
- msm:camera:isp: vfe num input validation during reset (credits to VijayaKumar T M)
- msm: camera: check size of allocated buffer to prevent overflow (credits to Vasko Kalanoski)
- cpufreq: ondemand: Resolve deadlock when waking up dbs sync thread (credits to Swetha Chikkaboraiah)
- mdss: dsi: Fix null dereferences (credits to Charles Bin)
- msm: mdss: check for validity of ESD thread before scheduling it (credits to Padmanabhan Komanduru)
- ARM: dts: msm: Update the vifeed back routing (credits to Gopikrishnaiah Anandan)
- msm: mdss: Update ad_bl_level on first set backlight call (credits to Ping Li)
- msm: mdss: add init and deinit calls to notify update ioctl (credits to Krishna Chaitanya Parimi)
- mmc: core: update host->card after getting RCA for SD card (credits to Sahitya Tummala)
- msm: camera: fix write sensor settings issue (credits to Vasko Kalanoski)
- msm: cpp: Ignore hardware interrupt when timer expires (credits to VijayaKumar T M)
- msm: camera2: cpp: Enhance timeout handler for multi-frame processing (credits to Krishna VijayaKumar T M)
- msm: mdss: isolate cleanup of pipes within kickoff (credits to Adrian Salido-Moreno)
- dt: introduce for_each_available_child_of_node, (credits to Timur Tabi)
- msm: mdss: Allow DMA pipe sharing only on WB mixer (credits to Sree Sesha Aravind Vadrevu)
- usb: dwc3: Improve erratic errors events handling (credits to Manu Gautam)
- ARM: dts: msm: Remove fb memory allocation (credits to Jeevan Shriram)
- ARM: dts: msm: camera: Update generic cam entries (credits to VijayaKumar T M)
[B]30/01/2016 - Stock CM Kernel 3.4 v1.0 for MM-6.0 + Unmerged CAF Patches[/B]
- qseecom: avoid buffer over-write when copying app_name (credits to William Clark)
- ASoC: wcd9xxx: Handle fake mechanical interrupt (credits to Sudheer Papothi)
- qcedev: msm: Remove gating of zero length packets for authentication (credits to Mallikarjuna Reddy Amireddy)
- ARM: dts: msm: Fix ROI alignment for CMD mode panel (credits to Baldev Kumar Sahu)
- msm: thermal: Add RT priority to kernel thermal threads (credits to Shiju Mathew)
- msm: thermal: Add RT priority to kernel hotplug thread (credits to Shiju Mathew)
- msm:camera:isp: vfe num input validation during reset (credits to VijayaKumar T M)
- cpufreq: cpu-boost: Resolve deadlock when waking up sync thread (credits to Swetha Chikkaboraiah)
- msm: vidc: Add support to read venus version through debugfs (credits to Praneeth Paladugu)
- kernel: Restrict permissions of /proc/iomem. (credits to Biswajit Paul)
- mmc: core: Fix mmc clk scale down during writes. (credits to Ritesh Harjani)
[B]18/01/2016 - Stock CM Kernel 3.4 v1.0 for MM-6.0 + Unmerged CAF Patches[/B]
- ASoC: wcd9xxx: Do not recalibrate DCE_Z in the middle of mic voltage (credits to Phani Kumar Uppalapati)
- net: rps: fix cpu unplug (credits to Eric Dumazet)
- msm: mdss: Extend GC programming to writeback mixers in pp (credits to Krishna Chaitanya Parimi)
- msm: mdss: Program linear GC LUT as default for rounding (credits to Krishna Chaitanya Parimi)
- diag: Make fixes to diag_switch_logging (credits to Ravi Aravamudhan)
- mmc: core: Update PON based on the system state (credits to Sahitya Tummala)
- msm: kgsl: Wake up snoozing threads on marker expiry (credits to Anupam Sakargayan)
- msm: isp: validate vfe_intf max params (credits to Suman Mukherjee)
- msm: vidc: Cancel pending power collapse works in core_release (credits to Deva Ramasubramanian)
- USB: msm_otg: Configure HV DPSE/DMSE pin interrupt bits of PHY register (credits to Guoping Yu)
- Revert "ASoC: compr: Disable soft-pause for compress playback" (credits to wjiang)
- msm: Add timeout to read APR responses (credits to Karthik Reddy Katta)
- diag: Release wakeup sources properly (credits to Ravi Aravamudhan)
- msm: vidc: Handle power collapse cancel properly (credits to Praneeth Paladugu)
- prctl: make PR_SET_TIMERSLACK_PID pid namespace aware (credits to Micha Kalfon)
- ARM/ARM64: arch_timer: add macros for bits in control register (credits to Sudeep KarkadaNagesha)
- ARM: arch_timer: add support to configure and enable event stream (credits to Sudeep KarkadaNagesha)
- drivers: clocksource: add CPU PM notifier for ARM architected timer (credits to Sudeep KarkadaNagesha)
- msm: isp: Fix bus halt acknowledgement. (credits to Vijaya Kumar T M)
- msm:pproc: CPP freed pointer in error case (credits to Vijaya Kumar T M)
- ASoC: msm: audio-effects: Check for array index (credits to Weiyin Jiang)
- ARM: msm: Clean up sensor ADSP driver; OCMEM is no longer used (credits to Satya Durga Srinivasu Prabhala)
- diag: dci: Send mode reset command to the apps processor (credits to Katish Paran)
- msm: rpc: Fix uninitialized union in rpc router code (credits to FNU Ramendra)
- msm: rpc: Fix uninitialized union in rpc router close function (credits to FNU Ramendra)
- ASoC: Change to correctly set the BTSCO Sample Rate (credits to Shreyas Nagasandra Chandrasekhar)
- msm: vidc: Update the clock state variable before unprepare clocks (credits to Praneeth Paladugu)
- msm: mdss: un map dsi transmit buffer properly (credits to Kuogee Hsieh)
- msm: mdss: Prevent backlight update during continuous splash (credits to Jayant Shekhar)
- msm: mdss: Fix check for backlight update during continuous splash (credits to Jayant Shekhar)
- msm: mdss: Notify AD only when brightness changes (credits to Ping Li)
- diag: Make DCI change not to access info from a dangling pointer (credits to Dixon Peterson)
- msm:camera:isp: Fix array index bound checks (credits to Suman Mukherjee)
- msm: mdss: rotator: replace work_pending with work_busy (credits to Ujwal Patel)
- msm: camera: validate user space parameter for max and min value (credits to Vasko Kalanoski)
- soc: qcom: bam_dmux: Sync SSR with disconnect/reconnect (credits to Jeff Hugo)
- msm: camera: isp: fix for avtimer power collapse (credits to Senthil Kumar Rajagopal)
- msm_fb: display: validate input args of mdp4_argc_process_write_req (credits to raghavendra ambadas)
- ASoC: msm: Correct RTAC mutex lock (credits to Ben Romberger)
[B]16/01/2016 - Stock CM Kernel 3.4 v1.0 for MM-6.0 + Unmerged CAF Patches[/B]
- ASoC: wcd9xxx: Do not recalibrate DCE_Z in the middle of mic voltage (credits to Phani Kumar Uppalapati)
- net: rps: fix cpu unplug (credits to Eric Dumazet)
- msm: mdss: Extend GC programming to writeback mixers in pp (credits to Krishna Chaitanya Parimi)
- msm: mdss: Program linear GC LUT as default for rounding (credits to Krishna Chaitanya Parimi)
- diag: Make fixes to diag_switch_logging (credits to Ravi Aravamudhan)
- mmc: core: Update PON based on the system state (credits to Sahitya Tummala)
- msm: kgsl: Wake up snoozing threads on marker expiry (credits to Anupam Sakargayan)
- msm: isp: validate vfe_intf max params (credits to Suman Mukherjee)
- msm: vidc: Cancel pending power collapse works in core_release (credits to Deva Ramasubramanian)
- USB: msm_otg: Configure HV DPSE/DMSE pin interrupt bits of PHY register (credits to Guoping Yu)
- Revert "ASoC: compr: Disable soft-pause for compress playback" (credits to wjiang)
- msm: Add timeout to read APR responses (credits to Karthik Reddy Katta)
- diag: Release wakeup sources properly (credits to Ravi Aravamudhan)
- msm: vidc: Handle power collapse cancel properly (credits to Praneeth Paladugu)
[B]11/01/2016 - Stock CM Kernel 3.4 v1.0 for MM-6.0 + Unmerged CAF Patches[/B]
- ASoC: wcd9xxx: Do not recalibrate DCE_Z in the middle of mic voltage (credits to Phani Kumar Uppalapati)
- msm: mdss: fix issue in calculating decimated dimensions (credits to Jeevan Shriram)
- msm: mdss: fix pixel extension validation on decimation (credits to Adrian Salido-Moreno)
- msm: vidc: release sync_lock before waiting on command response (credits to Maheshwar Ajja)
- msm:pproc:Freed the vpe prameters to avoid memleak (credits to Vijaya Kumar T M)
- ASoC: wcd9320: avoid wrong free of resource while enabling ANC (credits to Shreyas Nagasandra Chandrasekhar)
- msm: vidc: Clean up properly when instance exits at MSM_VIDC_INIT state (credits to c_sridur)
- net: rps: fix cpu unplug (credits to Eric Dumazet)
- msm: mdss: fix rotator failures when pixel format changes (credits to Ingrid Gallardo)
- msm: mdss: ensure rotator work is done before reconfiguring session (credits to Adrian Salido-Moreno)
- msm: mdss: Upgrade and fix AD implementation (credits to Ping Li)
[/HIDE]
Click to expand...
Click to collapse
Downloads
Download:
Stock CM Kernel + CAF Patches MM-6.0 AndroidFileHost Folder
(D800) Direct Download Beta Kernel (05/02/2016) md5: 9f0ebcf59148430cd5ff9e02f71ecb4c
(D801) Direct Download Beta Kernel (05/02/2016) md5: e4a66a2a168f4ec7d550d94f6a96f197
(D802) Direct Download Beta Kernel (05/02/2016) md5: 89a7f9722aa490ba876519fcbacc930c
(VS980) Direct Download Beta Kernel (05/02/2016) md5: 03430e606956d2ccc1ebed72fef6483d
Sources:
Development branch of Stock CM Kernel
Click to expand...
Click to collapse
Thanks To/Credits
Code:
[B]LG-Devs[/B], [B]Rashed97[/B], [B]Intervigil[/B], [B]Invisiblek[/B], and other devs I'm surely missing
[B]CyanogenMod[/B], [B]Kernel.org[/B], [B]Code Aurora Forum[/B], [B]Google developers[/B]
XDA:DevDB Information
[KERNEL][3.4][MM-6.0][BETA] Stock CM13.0-kernel + Unmerged CAF patches [05/02/2016], Kernel for the LG G2
Contributors
PsychoGame
Source Code: http://review.cyanogenmod.org/#/q/project:CyanogenMod/android_kernel_lge_msm8974
Kernel Special Features: Stock CM kernel with unmerged CAF patches for MM 6.0 rom (CM 13.0 and derivatives)
Version Information
Status: Beta
Current Beta Version: 6.0
Created 2016-01-12
Last Updated 2016-02-05
Reserved first post for future additions
Booted OK i think this fixed small pixels when phone is rotated. Anything to test?
Sent from my LG-D802 using Tapatalk
Just to add my own experience. I've been running the d800 20160111 kernel for many hours now and it has been very stable. I'm not sure what the small pixels problem was, but considering how many of the fixes are for the video subsystem, I wanted to mention that I've been successfully playing Badlands through parts of the day, quite successfully.
Except for the part where I can't make it through the game level without dying. That kinda sucks, but I'm working on it.
mujka said:
Booted OK i think this fixed small pixels when phone is rotated. Anything to test?
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
If you have a headset for you're phone please test if all the buttons work okay.
In this kernel there's a patch included in which CM-Team encountered problems with it in the past.
Other then that there's nothing specific to test atm. just run the kernel for a few days and report if you encounter any strange things or notice any improvements to the kernel which CM is shipping with their OTA.
I tested buttons in youtube app all working. I think kernel is a bit smoother. On balanced profile in battery settings phone achieved 51k in antutu.
Sent from my LG-D802 using Tapatalk
Currently I'm also benchmarking CM-13 build 12/01/2016 for D802 with Antutu and GFXBench.
It's very difficult to base any conclusions on these scores because it's very difficult to always have the phone in exactly the same condition as the previous test.
But I'll also run multiple tests with Antutu to check if there's a steady improvement or regression.
I think GFXBench will have most impact given the fact there are multiple vidc and mdss patches inside.
I'll report back with my findings after a few tests so anybody can compare their findings to mine.
Update 1:
After finishing extensive benchmarking in almost the same conditions (Airplane Mode), Balanced battery profile, reboot after each benchmark I come to the following conclusion:
There seems a small, almost neglect-able improvement in performance. Of course every improvement is good because that's what we're aiming for of course. Benchmarking results with patched kernel seem to be a little bit less jumpy in score though. At least stress testing through multiple runs doesn't result in any strange kernel behavior so that's nice to notice as well.
I'm not sure if this has any place here...
First off thanks @PsychoGame for this! We are well on our way to a great C13 experience!
Also, regarding the WiFi issues:
https://code.google.com/p/android/issues/detail?id=170078#c56
jl10101 said:
I'm not sure if this has any place here...
First off thanks @PsychoGame for this! We are well on our way to a great C13 experience!
Also, regarding the WiFi issues:
https://code.google.com/p/android/issues/detail?id=170078#c56
Click to expand...
Click to collapse
Hello @jl10101,
I'm aware some people have problems with wifi losing it's signal while phone is in deep sleep.
On my phone (d802) in my case I don't encounter this issue to be honest so I'm not able to debug this myself.
My first focus is to get kernel up-to-date with latest msm8974 drop from CAF.
After this, if some patch didn't magically fix it already , I'll try to look into any known bugs.
Tried your kernel on Jan 12 build. The pixel problem is solved . I tested the headset buttons with Poweramp its working fine.
Sent from my LG-D802 using Tapatalk
latsest RR didnt booted with this kenel
Bliss did not boot with this kernel either but aicp mm did
Hello @syrkles and @vrwmiaris1
I'm not familiar with RR or Bliss at all.
Are these Roms directly based/build from CM kernel and device source tree?
If not this kernel is not meant for the rom in question.
Also can you tell me which devices you have?
Nice to hear AICP MM is booting, I'm guessing this rom source is directly based of CM sourcetree
Greetings PsychoGame
Before using this kernel, i am facing some extreme lag from time to time even after clean install, but this kernel seems to solve this issue, great work!
Sent from my LG-D802 using Tapatalk
@PsychoGame
Both are based on cm. Probably some issues in their ramdisk
Hello @Lawlrus,
Thank you for your explanation, I'm not familiar with these roms but indeed if something in ramdisk is different from CM ramdisk indeed it's giving problems booting.
Good point and didn't think of it yet, al least I'll post it in the OP that RR and Bliss do not work with this kernel to make sure that's clear to everybody who wants to try the kernel.
Greetings PsychoGame
It seems that those change in your kernel will be included in the next nighty?
Sent from my LG-D802 using Tapatalk
ansontyl96 said:
It seems that those change in your kernel will be included in the next nighty?
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
Hello @ansontyl96,
Indeed, the next nightly includes a big part of the changes included in this kernel.
I have used this kernel for over a week and so far haven't encountered any negative side effects.
Based on the fact the kernel had been downloaded multiple times for different device models (d800, d802, vs980 and l01f) but I haven't received much to nothing at all negative comments so we went ahead and merged it.
Next kernel beta release is in the pipeline at the moment and will probably be posted tomorrow.
Greetings PsychoGame
PsychoGame said:
Hello @ansontyl96,
Indeed, the next nightly includes a big part of the changes included in this kernel.
I have used this kernel for over a week and so far haven't encountered any negative side effects.
Based on the fact the kernel had been downloaded multiple times for different device models (d800, d802, vs980 and l01f) but I haven't received much to nothing at all negative comments so we went ahead and merged it.
Next kernel beta release is in the pipeline at the moment and will probably be posted tomorrow.
Greetings PsychoGame
Click to expand...
Click to collapse
Cheers mate, I can't wait to test it as the kernal I am using now already solved many lag issues for some reasons,before this kernal i always face some extreme lag from time to time probably because of cpu, but just wanna ask will there be any chance that we can fix the speaker's low volume issues?
Anyway great jobs
Sent from my LG-D802 using Tapatalk
This kernel also works on the latest vanir nightly

[KERNEL][LOS-N/O] 28-06-2018 AGNi 🔥 pureLOS-N/O v13.0

AGNi pureLOS-N/O
(Audiophile's Blazing Fast & Efficient Kernel)​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Join Telegram DISCUSSION & TESTING GROUP
AGNi Toolbox:- GOTO 3rd POST HERE
For Android 7.x / 8.x LOS/AOSP
DOWNLOAD pureLOS-N/O kernel:- HERE
General Improvements:
Built with custom UBERTC GCC 8.0.0
Enhanced compiler optimizations with device and target flags, build improvements, etc
Removed a ton of debug and logging to improve performance
ARM64 enhanced performance and battery patches
CVE security patches, general upstream and CAF fixes - upstreamed to Linux 3.10.108 and added patches from CAF LA.BR.1.3.6 & Android 8 release LA.BR.1.3.7
CPU & GPU Improvements:
Interactive governor tuned to achieve maximum performance with best battery life by default
Several CPU Governors available - Interactive, Blu_Active, CAF active, Cultivation, Darkness, ElementalX, Chill, Bioshock, Despair, Relaxed, Ironactive, Wheatley, ALUcard
Slight OC, mild undervolt to reduce heat and improve stability and battery life
Input boost off by default
Adreno Idler and Adrenoboost available
CPU and GPU Voltage control (optional)
Network improvements:
Implemented Wireguard VPN support usable with Azire VPN
Enhanced TCP methods - reno, htcp, highspeed, westwood+, CDG, Network and Wifi tweaks and updated drivers
Option to enable 2.4 GHz Wi-Fi channel bonding while installing => moved to AGNi Toolbox
I/O improvements:
Several I/O control tweaks, added schedulers (Zen, SIO, SIOplus, BFQ, CFQ, Maple, Tripndroid, Row, Deadline, V(R), No-OP,fiops), tweaked and updated filesystems (EXT4, F2FS, ExFAT, NTFS & CIFS)
Adaptive LMK, 1GB LZ4 ZSWAP+VNSWAP available and on by default for better multitasking
ext4-lazytime mounting for /data (improves filesystem performance)
UKSM while charging to optimize RAM use option
Dynamic FileSync toggle
Supports SDCARDFS, CIFS, exFAT
Disabled I/O CRC check for more performance
Screen Improvements:
sRGB and KCAL - Advanced color control for Qualcomm MDSS v2 (RGB calibration and post-processing features)
Backlight dimmer for lower minimum brightness
Wake gestures, dt2w, s2s and s2w for all panels
Sound improvements:
modify headphone processing for increased fidelity
modify speaker processing for clarity
Implemented flar2 sound control along with Franco sound control
Slimbus OC for better sound quality
Added a lot of audio enhancements (heaven for audiophiles)
Fixed earpiece & mic boost
Ported hybrid headphone jack driver from Sony 3.18 with CAF patches for faster detection
Headphone impedance detection
Headphone mic volume boost
Fix earphone Jack's various problems
Battery improvements:
USB Fast Charge (USB mode up to 900mA with MTP on)
Boeffla Wakelock blocker available
Power efficient workqueues
Option to replace thermal blobs with old ones which may help to resolve slow charging issue while installing
Fast charging with maximum 2100mA safe limit with temperature control
Miscellaneous improvements:
Optimized hardware accelerated crc+crypto routines
Implemented lot of security fixes
Vibrator Strength tunable
Notification LED brightness options
Can use device as USB keyboard and mouse with the app by pelya
Option to select SElinux mode while installing
Compatibility with Magisk v14+ and SuperSU SR5
Compatible with Kernel Auditor and EX Kernel Manager
Spectrum app profiles support
AGNi improvements:
Custom Agni Control app for all your kernel control needs, has many useful CPU profiles and advanced options, available while installing
Custom Agni ScreenModes app which has various KCAL profiles to improve screen experience, available while installing
Works on all Marshmallow, Nougat and Oreo ROMs
AGNi pureLOS CHANGELOG:-
AGNi pureLOS-N/O v13.0:-
qdsp6v2: dts_eagle: use newer drivers
wcd9335: accept interrupts for huwifi mode
sound: wcd9335: add huwifi_mode & low_distort_amp mode
sound:codecs: wcd9335: remove impedl code
msm_audio_ion: add DTS-Eagle dependency - msm_audio_populate_upper_32_bits
sound: codecs: wcd9335: laster k's driver
slimbus: lower oc
sound: wcd9335: Disable g_DebugMode
Initial AudioWizard bringup
sound: DTS-Eagle integration
drivers: Initial import of DTS-Eagle driver
Kconfig: msm: remove deprecated dts eagle driver
revert: "ipv6: sctp: fix lockdep splat in sctp_v6_get_dst()
revert: "BACKPORT: ipv6: fix udpv6 sendmsg crash caused by too small MTU
revert: "BACKPORT: netlink: add a start callback for starting a netlink dump
revert: "ipsec: Fix aborted xfrm policy dump crash
revert: "BACKPORT: net: xfrm: support setting an output mark.
revert: "BACKPORT: net: ipv4: fix for a race condition in raw_sendmsg
disable CONFIG_IOMMU_AARCH64,CONFIG_ARM_SMMU
AGNi Control: enable fsync operations by default
AGNi Installer: fix frequency hysteresis values
AGNi pureLOS-N/O v12.9:-
New Additions:-
Merge caf/LA.BR.1.3.7_rb1.11
staging: prima: Merge caf/LA.BR.1.3.7_rb1.11
fs: Add sdfat support (msdos,fat16,vfat,exfat combined driver)
fs: sdfat: sync upstream
fs/proc: hide androidboot.selinux=permissive flag in /proc/cmdline
enable HARDEN_BRANCH_PREDICTOR
disable SCHED_FREQ_INPUT
drivers/power: disable bcl
mm/vmscan: fix prepare_kswapd_sleep if kswapd running too long
Updates:-
ANDROID: sdcardfs: Set s_root to NULL after putting
ANDROID: sdcardfs: d_make_root calls iput
ANDROID: sdcardfs: Check for private data earlier
ANDROID: sdcardfs: Hold i_mutex for i_size_write
ANDROID: sdcardfs: Protect set_top
msm: mdss: adjust mdss_mdp_get_plane_sizes parameters init order
BACKPORT: futex: Remove requirement for lock_page() in get_futex_key()
UPSTREAM: scsi: sg: don't return bogus Sg_requests
ALSA: pcm: prevent UAF in snd_pcm_info
ALSA: pcm: use lock to protect substream runtime resource
ALSA: pcm: add locks for accessing runtime resource
ANDROID: sound: rawmidi: Hold lock around realloc
drivers: qdsp6v2: Add mutex unlock to properly release lock
binder: use GFP_HIGHUSER flag since binder is designed for userspace
Bluetooth: Prevent stack info leak from the EFS element
ASoC: msm: qdspv2: add mutex to prevent access same memory simultaneously
msm: ADSPRPC: validate user buffers after copying from user
dts: kenzo: disable sched_enable_power_aware
kgsl: convert some workqueues to use kthreads
kgsl: Increase priority of RT thread
msm: mdss: check buffer size before writing to user buffer
dtsi: adjust prim panel and panel-supply as per latest miui
kernel: disable arch_power by default & allow toggle
cpufreq: ironactive: add checks for CONFIG_SCHED_FREQ_INPUT
Fixes:-
kernel/cgroup: fix permission checks for task group attach
kernel/workqueue: restore to older state
ANDROID: Bluetooth: hidp: buffer overflow in hidp_process_report
ipsec: Fix aborted xfrm policy dump crash
BACKPORT: msm: mdss: Fix invalid dma attachment during fb shutdown
msm: mdss: Fix for wrong length in copy_to_user
msm: sensor: actuator: fix out of bound read for region params
msm: sensor: actuator: check NULL pointer for actuator ctrl
revert: "msm: mdss: fix race condition between rotator api's
dts: fix big cluster max-corners
dts: restore 133,200,366MHz gpu freq steps
AGNi specific additions:-
AGNi Control: tweak impulse governor & other governor scripts
AGNi Control: add option DoubleTap2Wake+Swipe2Wake(^v,<>)+Swipe2Sleep
AGNi Installer: add gpu uv option
AGNi Installer: tweak scheduler
AGNi Installer: set 266MHz gpu freq as min default balanced spectrum profile
AGNi Installer: make rcu 3x aggressive RCU_FAST_NO_HZ for Battery profile
AGNi Installer: use modified thermal config [LOS-N/O]
AGNi Installer: always replace thermal engine without thermal libs [LOS-N/O]
AGNi Installer: fix goodix-netlink auto mode for NOS-Oreo [LOS-O]
AGNi Installer: add back option to replace thermal engine [LOS-N/O,MIUI-MM]
AGNi pureLOS-N/O v12.8:-
Audio:-
aw8738_amp: change to mode 5
Disable graphite optimizations for sound,qdsp6v2
wcd-mbhc-v2: add more compatibility to jack's stock-mode operation
audio: add cmdline option for 16(default)/32bits default compr & pcm routing
ASoC: squashed revert to older state
slimbus: set max limit 24bit @ 192KHz
New Additions:-
prima(wifi): Merge caf/LA.BR.1.3.7_rb1.9 (v3.0.11.66 --> v3.0.11.85)
Merge caf/LA.BR.1.3.7_rb1.9
drivers/power: hardwire bcl trigger at 10% battery, disable for MIUI-N
cpufreq_stats,cpufreq_governor,cgroup,cpuset upstream commits
mm: kmemleak_alloc_percpu() should follow the gfp from per_alloc()
dm,md verity commits
qpnp-smbcharger: add cmdline option to suppress QC charging support @ 9 volts
Convert some more drivers to use msecs_to_jiffies insted of HZ
reboot_auto_fsync: flush writeback buffers and sync more completely
fsync: flush writeback buffers with auto fsync & sync-on-suspend
fsync: allow auto_fsync_delay_sec=0 to disabe AGNi auto fsync dwork
fs/sync: allow sdcardfs to use vfs_fsync_range_sdcardfs always
Updates:-
Disable discard mount early mount of system partition [LOS-O]
cpufreq: cafactive: disable tracing
workqueue: disable power_efficient wq's by default and allow sysfs tunable
block: modify fiops
proc: meminfo: provide estimated available memory
proc: meminfo: estimate available memory more conservatively
CHROMIUM: selinux: Do not log "permissive" denials
BACKPORT: net: ipv4: fix for a race condition in raw_sendmsg
BACKPORT: USB: core: harden cdc_parse_cdc_header
UPSTREAM: USB: fix out-of-bounds in usb_set_configuration
UPSTREAM: HID: usbhid: fix out-of-bounds bug
UPSTREAM: USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor()
nl80211: Define policy for packet pattern attributes
crypto: hmac - require that the underlying hash algorithm is unkeyed
timers, sched_clock: Update timeout for clock wrap
cpu_input_boost: Use power efficient workqueues
cpu_input_boost: increase wakeboost to 2 seconds
Fixes:-
dts: kgsl: remove 366MHz step, restore stock gpu voltages
qpnp-smbcharger: reintroduce default_hvdcp3_icl_ma tunable
qpnp-smbcharger: fix "make 2100mA max default charging current"
qpnp-fg: fix "force swappiness 1 on battery level <= 15%"
fs/exfat: partial revert "update exfat (squash commit)"
revert "sched: Set sched_upmigrate_min_nice to 9
revert "sched: Introduce Shadow scheduling
Revert "workqueue: make sure delayed work run in local cpu"
AGNi specific additions:-
AGNi Control: 2.0GHz unlock for big cluster cpus
AGNi Control: tweak cultivation governor
AGNi Control: disable adreno boost default
AGNi Control: tweak default interactive & scheduler
AGNi Control: TCP congestion cubic by default
AGNi Control: tweak cafactive governor
AGNi Control: add again those rare used governor options
AGNi Control: fixup fsync options
AGNi Control: increase default interactive timer, intsd(maple, 1024) extsd(fiops,1024)
AGNi Installer: restructure Aroma Menus to single page
AGNi Installer: remove discard mounts in fstab
AGNi Installer: latest arm64+selinux busybox YDS in /sbin
AGNi Installer: fix rare installer status 7 errors
AGNi Installer: try fix option to select stock cpu voltages
AGNi Installer: add cmdline option for audio 24/32bits audio
AGNi Installer: add option to select stock cpu voltages
AGNi Installer: set QC2.0 9v suppress disabled by default
AGNi Installer: always replace thermal engine & libs
AGNi Installer: allow auto-selinux handling based on last kernel [LOS-O]
AGNi Installer: resolve selinux issues leading to fp problems [LOS-N/O]
AGNi Installer: disable init.qcom.post_boot.sh [LOS-O]
AGNi Installer: use fstrim on boot [LOS-N,MIUI-MM/N]
OLD CHANGELOGS: HERE
Download the app for supporting this keyboard & mouse feature HERE
DOWNLOADS:- HERE
XDA:DevDB Information
AGNi kernel (Audiophile's Blazing Fast & Efficient Kernel), Kernel for the Xiaomi Redmi Note 3
Contributors
psndna88
Source Code: https://github.com/psndna88/AGNi_pureMIUI.git
Kernel Special Features: Based on caf/LA.BR.1.3.6_rb1.25,/LA.BR.1.3.7_rb1.11 LOS15.0 official sources with selectively picked mods/patches
Version Information
Status: Stable
Created 2016-10-02
Last Updated 2018-06-28
GOODIX / CAMERA LIBS and CAMERA FC + FLASH FIX
Try different gpu libs zip:-
Xperia_X_Oreo_GPU_blobs_ktommy91.zip
AGNi 12.4+ deepSleep Hotfix apk:-
use to restart google play services in rare cases of no deep sleep.
may need to run once per reboot
CAMERA LIBS for kenzo/kate:
blobs for following camera sensors:
- ov16880_f16v01a
- ov16880_omida05
- s5k5e8_z5e8yab
- s5k5e8_yx13
- face detection extension blobs
(Old & Obsolete)
Nougat Camera FC and flash complete fix by @billchen1977 flashable zip with proper file permissions 100% SOLUTION
AGNi-cmN-goodix-libs-AIO-patcher.zip (test version)
- includes goodix hal and libs
- includes goodix wrapper lib which loads fpc or goodix as per detected hardware by kernel cmdline (taken from NOS)
- patches boot.img to add goodix support (useful for roms without goodix support)
- adds goodix supported sepolicy files to boot.img (keeps goodix happy with enforcing selinux)
AGNi Toolbox
AGNi Toolbox v1.6 AROMA-flashable-zip:-
update magisk uninstaller codes
AGNi Toolbox v1.5 AROMA-flashable-zip:-
udate updater binary and script
add 2.4GHz wifi channel bonding options
AGNi Toolbox v1.4 AROMA-flashable-zip:-
add option to dump last_kmsg to internal storage from recovery to diagnose a bootloop.
usable when user forces boot to recovery after a bootloop
AGNi Toolbox v1.3 AROMA-flashable-zip:-
add option to uninstall magisk v12 and above (you need to reflash rom or stock kernel (boot.img)
AGNi Toolbox v1.2 AROMA-flashable-zip:-
add support for fat32/exfat/ext4/ntfs detection and auto fix errors on system,data,cache,sdcard,usb-otg
(Run from internal storage to scan external sdcard filesystem)
AGNi Toolbox v1.1 AROMA-flashable-zip:-
-Remove FingerPrint Security+Data
-Run ext4 filesystems Check & Repair on /system /data /cache
-Clear Battery Stats Data
-Remove Lock Screen Security
can you recomennded setting for kernel auditor from this kernel
kucingbaik2 said:
can you recomennded setting for kernel auditor from this kernel
Click to expand...
Click to collapse
this is for android 7 Nougat test and let me know
i have no such recommended settings..
Hello, will works with santosh cm14 ?
jordandroid64 said:
Hello, will works with santosh cm14 ?
Click to expand...
Click to collapse
yes its based on same source as its cm14 kernel.. test n give me feedback!
I will flash CM14 this afternoon and test , you have try this kernel ?
Trouble with downloading...
Where can I download this kernel? The download link doesn't work.
icyjuice said:
Where can I download this kernel? The download link doesn't work.
Click to expand...
Click to collapse
Same problem here... Can't download!
Regards!
Really good!
Please add support for goodix fingerprint in your next build if you can
I really appreciate your work!
Please update link?
Flashed this on cm14 by santosh 21september build. Phone boots straight into twrp. Back on stock kernel.
im held up now, will repackage the zip n put when i get free time next
psndna88 said:
im held up now, will repackage the zip n put when i get free time next
Click to expand...
Click to collapse
add s5k3p3_f3p3man camera sensor support too ld be nice
alrightnik said:
add s5k3p3_f3p3man camera sensor support too ld be nice
Click to expand...
Click to collapse
check this: MISSING BLOBS LINK
try the new upload http://forum.xda-developers.com/devdb/project/dl/?id=20755
psndna88 said:
try the new upload http://forum.xda-developers.com/devdb/project/dl/?id=20755
Click to expand...
Click to collapse
Booted and Works great.
Working well with CM14- Nougat (santhosh)

[PIE/Q][KERNEL][4.9.223-Upstream][GPU-OC] TrinityKernel R4.0 -(Gaming-Battery Kernel)

[ Introduction : ]
Welcome to The TrinityKernel, Giving the Most recent Bit Patches including new Distinctive features and Optimization(s), When your utilizing this kernel expect 2 weeks regular update.
WIP THREAD​
KERNEL DOWNLOAD :
https://github.com/francisrosario/android_kernel_razer_sdm845/releases/download/4.0/TrinityKernel-kernel-r4-20200512.zip
Special Features.
Upstream Kernel update to 4.9.215 from 4.9.198. Tons of Changes!!
KCal ( Change Display R G B Values. )
Added Adreno Boost V2.2
Added KLapse
Added new PM Driver
Added USB Fast Charge @ 900mA
Added more GPU Optimization
Compiled using Linaro Toolchain! with Snapdragon Optimization Reverted to GCC, I'll be using Different CC soon!!
Full Changelog :
Code:
[U][I][B]r4
[/B][/I][/U]
Set to Version 4.0
defconfig: Changes in SCHED_TUNE
build_kernel: use 2020-03 for the patch level
Merge 4.9.223 into kernel.lnx.4.9.r34-rel
Merge 4.9.222 into kernel.lnx.4.9.r34-rel
Merge 4.9.221 into kernel.lnx.4.9.r34-rel
Merge 4.9.220 into kernel.lnx.4.9.r34-rel
Merge 4.9.219 into kernel.lnx.4.9.r34-rel
Merge 4.9.218 into kernel.lnx.4.9.r34-rel
Merge 4.9.217 into kernel.lnx.4.9.r34-rel
Merge 4.9.216 Fix
Merge 4.9.216 into kernel.lnx.4.9.r34-rel
Revert "dynamic eas boost: add 4th level - longer input boost, higher…
Revert "dynamic schedtunes: boost framework based top-app boost uci h…
Revert "sched/tune: Create dynamic_boost SchedTune parameter"
Revert "cpu-boost: Reset Dynamic SchedTune Boost only if it is curren…
Revert "sched/boost: Perform SchedTune boosting when sched_boost is t…
Revert "dynamic schedtune: Boost Value of 3"
Revert "dynamic schedtune: add UCI rootless config hooks"
Revert "dynamic eas boost: add 4th level - longer input boost, higher…
Revert "Dynamic Tuneboost V3"
Revert "sched/tune: Add initial support for Dynamic SchedTune Boost"
Add BFQ and Patches
[U][I][B]r3
[/B][/I][/U]
a1b25362f906 [SIZE="4"]Version 3.1[/SIZE]
f3042ef51c73 devfreq_boost: Merge fixup
65425451d967 Regenerate Defconfig + enable devfreq boost
eedbb7f89a9e base: dd: Continue probe deferral forever as needed after late_initcall
d7089bdcb539 drm/msm/sde: Cache register values when performing clock control
c44748f7dfe1 devfreq_boost: Replace all instances of fb_notif with msm_drm_notif
088e8713acb2 devfreq_boost: Convert to msm_drm_notifier
6e25561aa700 devfreq: Introduce devfreq boost driver
585649668676 defconfig: Regenerate
25f3a25bd678 Revert "drm: msm: sde: Boost CPU when a new frame is ready to be committed"
779cfdee0f9a cpufreq: Return 0 from ->fast_switch() on errors
08ba2b4cef95 Revert "mm: Boost when memory pressure becomes high"
2ac6b8c2b77f Revert "kernel: Boost to the max for a short amount of time when zygote forks"
cf964e14044b power: qpnp-fg-gen3: fix soc not keeping full after charging overnight
215800e2282c sched: boost: Don't try to kick idle CPU
f48c30b60da4 ARM: dts: sdm845: Set GPU idle timeout to 64 ms
bb1ebbfd4607 gcc-9: silence 'address-of-packed-member' warning
192912e0d72c qseecom: micro optimization for module detection
ac529eda77bf thermal: core: Use high value to init low temp tracking thermal_zone
91a5c4f6cd15 cpufreq: Return 0 from ->fast_switch() on errors
91607fc81ce2 cpufreq: blu_schedutil: merge latest CAF kernel/msm-4.9
6f713ec32fcb cpufreq: blu_schedutil: fix iowait_boost_enable on gov change
e3d5e498db9a cpufreq: blu_schedutil: add some bits from Pixel 3
5cab0f285280 cpufreq: blu_schedutil: add a couple fixes
752fef8bae3f cpufreq: blu_schedutil: make iowait boost optional
661c57491bd2 cpufreq: blu_schedutil: Introduce initial bringup
b0b716669178 beryllium: Block a couple wakelocks
2e5fa2022a18 kernel: Boost to the max for a short amount of time when zygote forks
efb95e07616a drm: msm: sde: Boost CPU when a new frame is ready to be committed
766a7b9289e7 qpnp-fg: adjust percentage calculation formula
243e391a74be drm/msm/sde: Cache register values when performing clock control
b2fd6214e852 string: Use faster alternatives when constant arguments are used
248f45bbad83 Initialize ata before graphics
6b73094b185c kernel: time: reduce ntp wakeups
4d81ebff7f7b drm/msm: do not notify events when the system is shutting down
ca73061a13ac mm: Boost when memory pressure becomes high
ba153511da46 drm/msm/sde: Wait for ctl_start asynchronously on cmd mode panels
cdb7a2faee49 clk: qcom: clk-cpu-osm: Don't sleep inside the global clk lock
e5aa97911226 clk: qcom: clk-cpu-osm: Convert atomic delay into sleep
19e4de07702b clk: qcom: clk-cpu-osm: Limit the rate of CPU clock-rate changes
afc6061b7f82 Merge branch 'Master-Branch' into Master-Workspace
84277d2ce69a ecryptfs: Fix up bad backport of fe2e082f5da5b4a0a92ae32978f81507ef37ec66
6e13499cef9c kernel.lnx.4.9.r27-rel: Merge fix
47fff482b8ff Merge remote-tracking branch 'kernel.lnx.4.9.r27-rel'
b38aba85e44e defconfig : EXP defconfig
4109cc4db707 Merge 4.9.215 into kernel.lnx.4.9.r27-rel
5ca831a09a02 Merge tag 'LA.UM.8.8.1.r1-01800-QCS605.0' into Master-Workspace
ab90ee2f5c21 Merge tag 'LF.BR.1.2.11.r1-01000-8x09.0' into Master-Workspace
e140b761cf1c Makefile: Fix Toolchain dir
4e03d7a4e255 staging/android: Fix ashmem merge.
52332bbc5023 r3
4c8938c9bfc6 Revert "intramfs gitignore"
86509f5ff586 mm: Disable readahead by default
d1e0f0d6943c mm: Do not periodically flush dirty pages
fdf51b0e69e8 PM / Sleep: Expedite garbage collection if idle
9a11e7759313 PM / Sleep: Start killing wakelocks after one minute of idle
a2230fe58e8c mm: util: Guarentee memory access to applications
52b38ee933ba mm: Lock dirty background writeback to an internal ratio
3eb19913fff1 mm: Adjust dirty ratio percentage
bc4f4d0c194b mm: util: Guarentee memory access to applications
633dce263118 net: Allow BFP JIT to compile without module support
31f8cebc7533 intramfs gitignore
3f1a11664de1 arm64: bfp_jit: Enable JIT by default
63281e7ce869 arm64: debug: Disable JTAG debugging by default
99483ccc7026 Compiler Build Patch Fix!
834fc0c91c06 Merge branch 'Master-Branch' into Master-Workspace
4d9f5b2aa40b Change Build Path to new PopOS Directory (Server)
970381096fc3 Revert Build_Kernel
5c714ce7a7ef drivers: video: Add MDSS Powersuspend hook
4476d23ce143 Auto stash before cherry pick of "arm/arm64: crypto: boost performance"
1ff4dd34cede arm/arm64: crypto: boost performance
974b6f110042 Disable DSB #2
f683aea985af Disable DSB
76d1cb056575 fix powersuspend compile error
9bd9ef62e2e1 powersuspend: add debug sysfs trigger to see how driver work
86c41b37a842 powersuspend: Replaced deprecated singlethread workqueue with updated schedule_work
3919657cb2c5 powersuspend: add power_suspended boolean for global access
0325390f1b5f kernel/power/powersuspend: v1.6.1 add autosleep & hybrid modes
80f2d22a18cf Push Defconfig
1edc3bfe5fa3 kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.7 (faux123/Yank555.lu)
63da01570ccc kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.7 (faux123/Yank555.lu)
bd15372b7b84 kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.6 (faux123/Yank555.lu)
263fc80493c0 kernel/power/powersuspend: new PM kernel driver for Android w/o early_suspend v1.5 (faux123/Yank555.lu)
43029176f2df GenerateChangelog Script
a30b80f32117 Merge tag 'LA.UM.8.3.r1-07300-sdm845.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.9 into master-wip
671d8e5b592f Merge tag 'LA.UM.8.3.r1-07200-sdm845.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.9 into master-wip
ecfd6ac644a0 Merge branch 'master-wip' of https://github.com/fxTHaxxorX/android_kernel_razer_sdm845.git; tag 'LA.UM.8.3.r1-07100-sdm845.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.9 into master-wip
861060461ec4 Merge tag 'LA.UM.8.3.r1-06900-sdm845.0' of https://source.codeaurora.org/quic/la/kernel/msm-4.9 into master-wip
0c0ecca0153c Revert "fs/dcache: Set vfs_cache_pressure to 0"
6268ba7689f0 Revert "mm/vmscan: Set Swappiness to zero"
053fdb2fceca Increase adreno bus data limit: 1200:
fad8b809d019 random: Fix comment for unused random_min_urandom_seed
14431ac1929e random: Remove variable limit
90c7fda85003 random: Remove stale urandom_init_wait
f3588b6c2508 random: Prevent add_input from doing anything
16d82e9dd51a r2 Changes ( version ; devfreq )
d6df9f8beccf gpu: devfreq: adrenoboost v2.2
65f7f0768c28 GPU: add 180 MHz step
7e7c52d20740 sdm845: max gpu freq -> 835MHz
2c0ef4504960 GPU OC to 833 mhz
[U]
[I][B]r2[/B][/I][/U]
16d82e9dd51a r2 Changes ( version ; devfreq )
d6df9f8beccf gpu: devfreq: adrenoboost v2.2
65f7f0768c28 GPU: add 180 MHz step
7e7c52d20740 sdm845: max gpu freq -> 835MHz
2c0ef4504960 GPU OC to 833 mhz
2f056c80b285 workqueue: make workqueue available early during boot
7d42ee1396f1 mm: swap_ratio: consider swap slots
8ae0abb02e56 mm/swapfile.c: fix swapon frontswap_map memory leak on error
0342544ef43f mm: kvfree the swap cluster info if the swap file is unsatisfactory
e723363ef91b mm/swapfile.c: fix swap space leak in error path of swap_free_entries()
ff582ec0c2f6 mm, swap: avoid lock swap_avail_lock when held cluster lock
165019f7f57e mm, swap: Fix a race in free_swap_and_cache()
64876fd07a90 mm/swap: skip readahead only when swap slot cache is enabled
98e0a0d12bcf mm/swap: enable swap slots cache usage
cf45d9165fa9 mm/swap: add cache for swap slots allocation
f979d71c7445 mm/swap: free swap slots in batch
442784a913cd mm: add three more cond_resched() in swapoff
2487dfea5612 mm/swap: skip readahead for unreferenced swap slots
26030f179c2c mm/swap: allocate swap slots in batches
5bfe1c57a374 mm/swap: fix kernel message in swap_info_get()
691f944d8d88 mm/swap: add cluster lock
5850a02d5e3d sched/tune: increase BOOSTGROUPS_COUNT to 6
559d8148e9d5 thermal: fix lockdep splat from qcom driver
04e304e0d269 cpuset: fix hotplug lock
67a1a72bb7b9 sched: fix unbalanced locking
970352063161 mm: per-process reclaim
7953370ec295 Merge 4.9.214 into kernel.lnx.4.9.r27-rel
2ab14262da04 temporarily revert to GCC Compiler
If you want to change display RGB Values and etc.. Kindly use Franco Kernel Manager / Ex Kernel Manager you can get it in Playstore or Google
Nightly Daily Builds :
https://trinitydata.ap.ngrok.io/s/DyLSqHRGmcampzz
Kernel Source :
Kernel Source Code
Special Thanks to :
Arter97 - Kernel Source Base
DooMLord - Kernel Tools
XDA Community for Kernel Patches
- reserved for r3 beta release -
Hello. Thank you very much for this kernel. Can you add much-needed tweak ? Always on fingerprint. So is fingerprint will work when screen is off . Thanks.
gorast358 said:
Hello. Thank you very much for this kernel. Can you add much-needed tweak ? Always on fingerprint. So is fingerprint will work when screen is off . Thanks.
Click to expand...
Click to collapse
Let's me see about that one, But that feature is available in GSI ROMs.
https://forum.xda-developers.com/project-treble/trebleenabled-device-development
Try RR or Havoc ROM.
I'm using stock with arter kernel. Gsi have too many bugs for me. I hope you can do it. Thanks.
f(x)THaxxorX said:
Let's me see about that one, But that feature is available in GSI ROMs.
https://forum.xda-developers.com/project-treble/trebleenabled-device-development
Try RR or Havoc ROM.
Click to expand...
Click to collapse
it's more than kernel thing. and it's not available in these gsi
---------- Post added at 11:33 AM ---------- Previous post was at 11:30 AM ----------
gorast358 said:
I'm using stock with arter kernel. Gsi have too many bugs for me. I hope you can do it. Thanks.
Click to expand...
Click to collapse
well i (with friends) found out how to fix Bluetooth audio and there's no bug left if you are using latest phh gsi or pixel experience. (Expressluke broke his havoc on latest versions)
Couple of questions.
1. I see this is a zip, so do you have to already have the arter kernel installed with TWRP to install this?
2. If that is the case, can this then be installed over the arter kernel?
3. Will it keep TWRP?
Also, thanks for the development, Razer Phone 2 development is quite scarce.
tard24 said:
Couple of questions.
1. I see this is a zip, so do you have to already have the arter kernel installed with TWRP to install this?
2. If that is the case, can this then be installed over the arter kernel?
3. Will it keep TWRP?
Also, thanks for the development, Razer Phone 2 development is quite scarce.
Click to expand...
Click to collapse
1. You can directly flash this via Arters Kernel using TWRP..
2. This will overwrite your current kernel which is Arter's Kernel.
3. Yes.
As for the next version I'm already implementing new features from other devices like blue_schedutil, KLapse, and other more optimization and patches.. This might take 1-2 weeks.
Regards,
TrinityHaxxorX
RKBD said:
it's more than kernel thing. and it's not available in these gsi
---------- Post added at 11:33 AM ---------- Previous post was at 11:30 AM ----------
well i (with friends) found out how to fix Bluetooth audio and there's no bug left if you are using latest phh gsi or pixel experience. (Expressluke broke his havoc on latest versions)
Click to expand...
Click to collapse
Is incoming SMS working now? Is the fingerprint scanner reliable? Play Store device certification? Those three things have kept me from using any GSI I've tried.
f(x)THaxxorX said:
1. You can directly flash this via Arters Kernel using TWRP..
2. This will overwrite your current kernel which is Arter's Kernel.
3. Yes.
Click to expand...
Click to collapse
Thank you for developing this! Is f2fs compatible with this kernel as well?
Reznor7 said:
Is incoming SMS working now? Is the fingerprint scanner reliable? Play Store device certification? Those three things have kept me from using any GSI I've tried.
Click to expand...
Click to collapse
Both always worked for me.
also fingerprint got fixed on 10
I've already KLapse, USB2 Fastcharge, KCal and other more goodies :" .. Hope you enjoy my next version of my Kernel.. Ofcourse F2FS is supported since my Kernel Source is from Arter's Kernel Source.
f(x)THaxxorX said:
TrinityKernel R2.0 ( BETA ) - This is the Beta kernel of 2.0..
Kindly hit the Thanks Button ..
Click to expand...
Click to collapse
you just changed title to TREMBLE and your beta kernel doesn't boot on TREBLE GSIs (and probably on stock too but i haven't tried it yet)
RKBD said:
you just changed title to TREMBLE and your beta kernel doesn't boot on TREBLE GSIs (and probably on stock too but i haven't tried it yet)
Click to expand...
Click to collapse
Fixed it sorry!! The kernel works well if it's flashed via TWRP... Here's the fix if it's flashed via fastboot.. Kindly download the img and flash it.
If there's any problem kindly provide kernel log.
But everything works well now.
Here's the V2.0 BETA compiled using Linaro Toolchain.
Flashable Zip:
https://trinitydata.ap.ngrok.io/s/ioxXApst6yq4aHY
.img File:
https://trinitydata.ap.ngrok.io/s/g2Nm36XeTmdZt6S
Kernel is great!
This is example of Always-on Fingerprint .it is not working on our phone.
https://forum.xda-developers.com/apps/magisk/module-fingerprint-mi-5-mi-note-2-t3660179
gorast358 said:
This is example of Always-on Fingerprint .it is not working on our phone.
https://forum.xda-developers.com/apps/magisk/module-fingerprint-mi-5-mi-note-2-t3660179
Click to expand...
Click to collapse
Alright I'll look into it at a Kernel Level Perspective.. I'll be creating A module for that one. No promises yet but I'll add it to my To Do list.
Thank you for the time and effort .
Can SELinux be flipped to permissive on this kernel on GSI? With arter97's kernel SELinux cannot be changed to Permissive, though it might be due to GSI.
I need SELinux permissive so I can make use of Tincore for gamepad accessories like FeiZhiWee2T. Without SELinux permissive Tincore will not be able to see my controller.
EDIT: Just flashed and the answer is no. I think most likely both the kernel and GSI need to be able to support permissive in order to do so.

Categories

Resources