[Kernel]-Ultimate Hells-Core-[JSS15J][05/09/13]BETA 2// - Nexus 4 Android Development

{
"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"
}
Welcome to my Kernel Thread !
This Kernel is based on Hells-Core !
Latest Build: Beta 2 (B2)
my github​​
Donations I got
*MallardDuck
XDA:DevDB Information
UltimateHellsCore_Development, a Kernel for the Google Nexus 4
Contributors
AndrolinRoot, hellsgod
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: Beta 2
Beta Release Date: 2013-09-06
Created 2013-09-06
Last Updated 2013-09-07

Features of this Kernel​
Code:
:::4.3 starts from::::
<<Main Features from 4.2 which are mostly also in 4.3>>
ROW Scheduler (default)
SIO
Color profiles
ARM Auto Hotplug
Scheduler-optimizing
-100MV undervolt
UV Interface
288mhz as "low freq"
some not used freq. are removed
faux Sound Control
faux Speaker Amp Control
faux Gamma Control with motley's tweak to get it working with trickstermod
dynamic fsync
USB Force Fast Charging
mako_hotplug 2 (thx myfluxi, franciscofranco)
Scheduling Patches
rq Patches
lmk Patches
pm Patches
S2W Fix (thx myfluxi)
GPU Patches
Charger / Battery Patches
HSIC Patches
O2 optim.
O3 optim.
workqueue Patches
<<I dont remember all>>
(b30)
Rebase to 4.3 source
Alle main features from 4.2
(b31)
Makefile: Compile Optimization Part 2
Use pgprot_writecombine in ion_system_heap_map_kernel for optimization (IntersectRaven)
(b32)
Async I/O latency to a ssd greatly increased, 34% gain (Creds: kleikamp)
mm: writeback: every 500ms the writeback daemon kicks in and flushes the dirty pages into disk (franco)
Revert "block: row: fix one of the magic values.
Revert "block: row: hardcode magic values
block: row-iosched idling triggered by readahead pages (Lee Susman)
mm: change initial readahead window size calculation (Lee Susman)
mm: pass readahead info down to the i/o scheduler (Lee Susman)
thermal: tsens8960: Increase the polling rate (Siddartha Mohanadoss)
cgroups: timer_slack: forward port timer_slack to 3.4 (franco)
msm_fb: Set RR sched policy for Glupdator thread (Kalyan Thota)
msm: don't compile MSM_RUN_QUEUE_STATS (franco)
ARM: 7493/1: use generic unaligned.h (faux123)
lib: Sparc's strncpy_from_user is generic enough, move under lib/ (faux123)
lib: add generic strnlen_user() function (torvalds)
lib: Fix generic strnlen_user for 32-bit big-endian machines (paulusmack)
ARM: use generic strnlen_user and strncpy_from_user functions (faux123)
kernel: Move REPEAT_BYTE definition into linux/kernel.h (faux123)
word-at-a-time: make the interfaces truly generic (torvalds)
arch/arm/Kconfig: enable unaligned capability for ARM (faux123)
ARM: dcache: select DCACHE_WORD_ACCESS for little-endian ARMv6+ CPUs (Will Deacon)
ARM: 7492/1: add strstr declaration for decompressors (Rob Herring)
ARM: 7592/1: nommu: prevent generation of kernel unaligned memory accses (Will Deacon)
ARM: 7593/1: nommu: do not enable DCACHE_WORD_ACCESS when !CONFIG_MMU (faux123)
(b33)
lib/scatterlist: do not re-write gfp_flags in __sg_alloc_table()
switch the protection of percpu_counter list to spinlock
lib/vsprintf.c: "%#o",0 becomes '0' instead of '00'
vsprintf: correctly handle width when '#' flag used in %#p format
vsprintf: further optimize decimal conversion
vsprintf: add %pMR for Bluetooth MAC address
lib/vsprintf.c: remind people to update Documentation/printk-formats
lib/vsprintf.c: kptr_restrict: fix pK-error in SysRq show-all-timers(Q)
vsprintf: add support of '%*ph[CDN]'
lib: vsprintf: optimize division by 10 for small integers
lib: vsprintf: optimize division by 10000
lib: vsprintf: optimize put_dec_trunc8()
lib: vsprintf: fix broken comments
lib/vsprintf: update documentation to cover all of %p[Mm][FR]
lib/vsprintf.c: improve standard conformance of sscanf()
scatterlist: add sg_alloc_table_from_pages function
scatterlist: atomic sg_mapping_iter() no longer needs disabled IRQs
tmpfs: fix mempolicy object leaks
Make sure PWMs are running in sync
lm3530: Add a toggle for the CABC PWM
msm: pm-8x60: Setup memory for save/restore cpu registers early
msm: hotplug: wait for hotplug completion event from secondary core
msm: pm-8x60: Use relative time for events
msm: pm: send notification only for SPC and PC
msm_fb: display: fix iommu page fault when iommu buffer freed
msm: avs: Restore core voltage when disabling AVS
msm: spm: set vdd directly for current cpu
msm: pm: Add support for retention on each core
msm: pm: add failed stats
msm: rpm: add debug msg for rpm outstanding req
Staging: android: binder: Fix memory leak on thread/process exit
msm: display: Add DSI clock control for MDP GDHS power collapse
mako: Add DSI clock control for MDP GDHS power collapse
msm: Fix race condition in domain lookup
mmc: core: Allow changing bus frequency for SD/eMMC cards in runtime
mmc: core: Fix some driver hangs when dealing with broken devices
mmc: core: Add load based clock scaling support
mmc: core: Add sysfs entries for dynamic control of clock scaling
mmc: core: claim mmc host while enabling clock scaling from userspace
mmc: core: run clock scaling only in valid card state
mmc: core: Log MMC clock frequency transitions
mmc: core: Add support for notifying host driver while scaling clocks
mmc: msm_sdcc: Add support for dynamic bus clock vote
mmc: msm_sdcc: fix a type mismatch in msmsdccc_config_dma()
mmc: msm_sdcc: Enable clock scaling capability
mmc: core: remove the polling for BKOPS completion
msm: msm_bus: Fix the 64-bit division during interleaving
msm: msm_bus: Change MDP port interleaved setting
msm: msm_bus: Add NULL pointer checks
msm: msm_bus: Explicitly clear client requests before removal
msm: msm_bus: Correct the return value from register-client
msm: pm-data: Enable powercollapse/suspend_enabled for non-boot cpus
sched: Reset rq->next_interval before going idle
hrtimer: Prevent hrtimer_enqueue_reprogram race
sched: fix reference to wrong cfs_rq
sched: Convert BUG_ON()s in try_to_wake_up_local() to WARN_ON_ONCE()s
sched: change WARN_ON_ONCE to WARN_ON in try_to_wake_up_local()
msm: move printk out of spin lock low_water_lock
msm: pm: Add support to query cpu status
mako: Add support to query cpu status
mmc: Urgent request support
msm_fb: hdmi: Resolution modes on HDMI
remove compilation error by changing int to uint32_t
video: msm: external: Limit HDMI to standard resolutions
# VM-Tweaks
echo "4096" > /proc/sys/vm/min_free_kbytes;
echo "0" > /proc/sys/vm/oom_kill_allocating_task;
echo "0" > /proc/sys/vm/panic_on_oom;
echo "0" > /proc/sys/vm/laptop_mode;
echo "0" > /proc/sys/vm/swappiness;
echo "50" > /proc/sys/vm/vfs_cache_pressure;
echo "90" > /proc/sys/vm/dirty_ratio;
echo "1" > /proc/sys/vm/overcommit_memory;
echo "4" > /proc/sys/vm/min_free_order_shift;
echo "1" > /proc/sys/vm/oom_dump_tasks;
echo "0" > /proc/sys/vm/swappiness
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs;
echo "500" > /proc/sys/vm/dirty_expire_centisecs;
echo "8" > /proc/sys/vm/page-cluster;
echo "3" > /proc/sys/vm/drop_caches
# File-System
echo "10" > /proc/sys/fs/lease-break-time;
echo "32000" > /proc/sys/fs/inotify/max_queued_events;
echo "524288" > /proc/sys/fs/file-max;
echo "256" > /proc/sys/fs/inotify/max_user_instances;
echo "10240" > /proc/sys/fs/inotify/max_user_watches;
# Kernel-Tweaks
echo "1000000" > /proc/sys/kernel/sched_min_granularity_ns;
echo "18000000" > /proc/sys/kernel/sched_latency_ns;
echo "3000000" > /proc/sys/kernel/sched_wakeup_granularity_ns;
echo "0" > /proc/sys/kernel/panic;
echo "1" > /proc/sys/kernel/panic_on_oops;
echo "64000" > /proc/sys/kernel/msgmni;
echo "64000" > /proc/sys/kernel/msgmax;
echo "4096" > /proc/sys/kernel/shmmni;
echo "2097152" > /proc/sys/kernel/shmall;
echo "536870912" > /proc/sys/kernel/shmmax;
echo "524288" > /proc/sys/kernel/threads-max;
echo "500 512000 64 2048" > /proc/sys/kernel/sem;
echo "0" > /proc/sys/kernel/sched_child_runs_first;
# Network Tweaks
echo "524288" > /proc/sys/net/core/rmem_max;
echo "524288" > /proc/sys/net/core/wmem_max;
echo "6144 87380 524288" > /proc/sys/net/ipv4/tcp_rmem;
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle;echo "6144 87380 524288" > /proc/sys/net/ipv4/tcp_wmem;
fs/sync: Make sync() satisfy many requests with one invocation
Revert "input: lge: use the old 100px finger movement code for CPU frequency”
Revert "drivers: input: disable onlining the second core on screen touch”
Revert "drivers: input: clean up the boospulse call detection funtion."
Revert "drivers: input: instead of calling boostpulse every touch input...”
lge_touch_core: Simpler method of boosting the cpu frequency on touch
intellidemand: Activate Touch Boost
ondemand: Set boosfreq to 1242mhz (for Touch Boost)
cpufreq: intellidemand: Change optimal_freq to 1242mhz
cpufreq: ondemand: Set optimal_freq to 864mhz and sync_freq to 1350mhz
intellidemand: Tweak some values
delete ("/system/lib/hw/power.msm8960.so"); (im UpdaterScript)
msm_fb: display: fix the hang issue caused by solidfill pipe
msm_fb: display: add mfd null pointer and mfd panel_power_on checks
msm: mdp: Do not wait for vsync for command mode panel
msm_fb: Set timeline threshold for command mode to 2
Revert "msm: mdp: Update sync pt. behaviour"
msm: display: command mode panel release fence
msm: mdp: Update sync pt. behaviour
msm: mdp: Change msmfb kworker to kthread
intellidemand: Set Optimal-Freq back to 1242mhz (testing)
ondemand: Set boostfreq to 1026mhz (1242mhz is maybe to high)
intellidemand: Set Sync_Freq backt to 702mhz
acpuclock: Deactivate 864mhz
Revert "cpufreq: smartmax: Test ideal freq 864mhz (we don't need 1026…
ondemand: Set Sync_Freq back to 702mhzsound/soc/codecs/wcd9310.c: expose additional controls
cpufreq: conservative: Enable load tuning (thx myfluxi) (reverted
Revert "arm: mako_hotplug: Add intermediate load level"
Revert "mako_hotplug: Pull check routine optimizations from franco git"
Revert "mako_hotplug: Pull Chalhoubs circular buffer from franco git"
Revert "mako_hotplug: Properly set cpu freq policy on suspend/resume"
cpufreq: Introduce governor load tuning
Revert "mako_hotplug: Resume late from early suspend"
Revert "mako-hotplug: Fixup funtion declaration"
Revert "arm: mako_hotplug: Stop spamming the kernel log buffer"
Revert "arm: mako_hotplug: Unify drivers, Lindent, cleanup interface"
Revert "arm: mako_hotplug: Fix section mismatch"
Revert "arm: mako_hotplug: Import from francoKernel"
ARM: add auto hotplug driver
arm: auto hotplug - wrap all pr_info into the existing debug mode so we
auto_hotplug: enhancements
auto_hotplug: enhancements (rev 2)
auto_hotplug: enable the min_online_cpus value
auto_hotplug: enhancements (rev 3)
auto_hotplug: parameter validation for max_online_cpus
auto_hotplug: stack the deck on auto_hotplug_late_resume to get things
auto_hotplug: rev 4 - let's lean a little more towards performance.
auto_hotplug: Set min cores online to "2" and onlining all cores usin…
Revert "cpufreq: interactive: Enable userspace control for load tuning"
cpufreq: ondemand: Enable userspace control for load tuning
Revert "cpufreq: boost the sampling rate on touch event"
cpufreq: boost the sampling rate on touch event
config: Activate auto_hotplug
Revert "mako: Add support to query cpu status"
Revert "msm: pm: Add support to query cpu status"
Revert "msm: pm-data: Enable powercollapse/suspend_enabled for non-bo…
Revert "msm: pm: Add support for retention on each core"
Revert "msm: hotplug: wait for hotplug completion event from secondar…
Revert "msm: spm: set vdd directly for current cpu"
auto_hotplug: Add suspend_freq
auto_hotplug: Tweaks for battery / Allow higher enable_load_threshold…
cpufreq: ondemand: Fix the boostpulse interface (again)
lge_touch_core: Do not boost touch while suspended
Revert "touch_synaptics: Loop until i2c is awake (thx myfluxi)"
Revert "touch_synaptics: Add delay to init function"
Revert "touch_synaptics: i2c read delay is only needed while suspended"
Revert "touch_synaptics: Give i2c a little time to wakeup, fix sweep2…
touch_synaptics: Loop until i2c is awake
sweep2wake: Cleanup (thx myfluxi)
sweep2wake: disable as default for now
kernel: cgroup_timer_slack: Adaptations for 3.4 kernel
writeback: Fix occasional slow sync(1)
binfmt_elf.c: use get_random_int() to fix entropy depleting
mmc: msm_sdcc: check for pending_resume in SDCC system suspend
sound control 3.x: Initial GPL release for WCD9310 Audio Codec
config: Use XZ instead of GZIP
freezer: set PF_SUSPEND_TASK flag on tasks that call freeze_processes
block: cfq: merge tweaked tunables.
cpufreq: interactive: Set hispeed_freq to 1026mhz
mach-msm: subsystem_restart: Fix CPU detection
board_mako: Adjust throttle temp
touchscreen: tweak some initialization parameters for better UI response
Accuracy Filter Control: export accuracy filter items to userspace
input: touchscreen: change filter parameters courtesy of viking37.
---><-----><------><------><------><------><-------><-----><
-------------------------------------------------------------------------
<<Ultimate Hells Core Development starts now>>
Build Number : v37t1
Added GPU OC to 487Mhz and tweaked it (credits to faux)
---------------------------------------------------------------------------
New Build Numbers : Beta 1
Added reworked blx (credits mathkid95)
Added new build flags
Added/ build with own tool chain
----------------------------------------------------------------------------
New Build Number : Beta 2
-Fixed acpuclock-8064.c (aznrice2k4 )
-New GPU OC config
-CPU OC to 1823MHz (parts used from engstk)
-Max normal freq is 1500mhz
-Fixed blx
-Other minor tweaks and fixes

Downloads​
Flash at your own risk !
--------------------------------------------------------------------------------------
-- First Release -- v37
Build by hells, next builds will be build by me
DOWNLOAD THE BEAST
JSS is stable / JWR has Screen tearing​-----------------------------------------------------------------------------------------
Hey, so here is a build which was compiled by me !
Its now Beta 1 !
DOWNLOAD NEW BEAST​
Code:
Changelog:
New Build Numbers : Beta 1
Added reworked blx (credits mathkid95)
Added new build flags
Added/ build with own tool chain
-----------------------------------------------------------------------------------------
Hey , so finally with the help of my good old friend aznrice2k4 I got it to compile
No testers needed, I tested it
Build Number : Beta 2 (stable)
Changelog:
-Fixed acpuclock-8064.c (aznrice2k4 )
-New GPU OC config
-CPU OC to 1823MHz (parts used from engstk)
-Max normal freq is 1500mhz
-Fixed blx
-Other minor tweaks and fixes
Download new Beast​

Thanks to hellsgod for the kernel base and the help !
Also thanks to him for this build , since I had some errors with my build server !
Credits:
>>hellsgod
>>faux123
>>morfic
>>franciscofranco
>>engstk
>>mathkid95
>>aznrice2k4
>>molesarecoming for color profiles
>>Birdman and Goo.im for Buildserver
>>One2thTEXAN for banners
>>BytecodeMe for helping
>>cpu999 for helping
>>Oblikas for helping​
If someone feels bad because I forgot him ->PM me
​
Here are 2 bootanimations made for this kernel by One2thTEXAN
Download
Use this Banner made by One2thTEXAN to show support
Or use mine from #1 post
[/CENTER]

What? Hellscore is here.. Wowww :thumbup:
Sent from my Nexus 4 using Tapatalk 4

Nice man ! So many toys to play...this why I love nexus !!!:thumbup::thumbup:

welcome! really good kernel.

No download links?
TrOjAn

AndrolinRoot said:
Features of this Kernel​
Code:
:::4.3 starts from::::
<<Main Features from 4.2 which are mostly also in 4.3>>
ROW Scheduler (default)
SIO
Color profiles
ARM Auto Hotplug
Scheduler-optimizing
-100MV undervolt
UV Interface
288mhz as "low freq"
some not used freq. are removed
faux Sound Control
faux Speaker Amp Control
faux Gamma Control with motley's tweak to get it working with trickstermod
dynamic fsync
USB Force Fast Charging
mako_hotplug 2 (thx myfluxi, franciscofranco)
Scheduling Patches
rq Patches
lmk Patches
pm Patches
S2W Fix (thx myfluxi)
GPU Patches
Charger / Battery Patches
HSIC Patches
O2 optim.
O3 optim.
workqueue Patches
<<I dont remember all>>
<<Ultimate Hells Core Development starts now>>
Added GPU OC to 487Mhz and tweaked it (credits to faux)
What comes next / feature requests
>>BLX from Matrix<<​
Click to expand...
Click to collapse
What changes are done in Sleep to wake
& where is the download link

Here comes another toy. =w= Devil snickers~

Hell yeah, had to use google translate every version lool..
thanks for this amazing kernel

Download the beast !
Download hells porn

How's the battery life?
I always wanted to do that.... lol

playya said:
How's the battery life?
I always wanted to do that.... lol
Click to expand...
Click to collapse
If you dont set your min freq. to 1512mhz its super

Finally no more speaking german on the original thread Thnx for bringing hells core tot xda!!!!
Verstuurd vanaf mijn Nexus 4 met Tapatalk 4

AndrolinRoot said:
If you dont set your min freq. to 1512mhz its super
Click to expand...
Click to collapse
Ahhh sooky sooky now gonna test this puppy now...lol damn and I was hoping I could set to 1512... Lol
Serious note good stuff and Thx for the contribution

So far so good...
Tested Touch Control & it works :victory:
Performance is good..Now to test the battery life

Glad to this kernel in the N4 XDA section! Cool

Guys you should know I use his kernel as base and dont maintain it !
If you want features write them here and I will look into them

Nice, testing now

Related

[KERNEL][4.3][JWR][AK-Piasek.FIVE.JW][AK-Based][18-11]

I put on because no one supports kernel for Android 4.3
These kernels were already in the topic AK but they were buried under more recent posts.
Still I am using Android 4.3 and I will try to upgrade the kernel as long as I did not come out interesting custom ROM on Android 4.4
So far, two editions came out of my kernel:
AK-Piasek.ONE.JW
Based on AK.103.JW
Changelog:
Revert: linux/mm: set MAX_READAHEAD 768, MIN_READAHEAD 32
cyanogen_mako_defconfig: default INTELLIDEMAND
Linux 3.4.68
USB: serial: ti_usb_3410_5052: add Abbott strip port ID to combined
wireless: radiotap: fix parsing buffer overrun
writeback: fix negative bdi max pause
Ext3: return 32/64-bit dir name hash according to usage type
net: dst: provide accessor function to dst->xfrm by vyasevich
connector: use nlmsg_len() to check message length
farsync: fix info leak in ioctl
ipv6: restrict neighbor entry creation to output flow
can: dev: fix nlmsg size calculation in can_get_size()
ipv4: fix ineffective source address selection
net: heap overflow in __audit_sockaddr()
proc connector: fix info leaks
net: mv643xx_eth: fix orphaned statistics timer crah and update stati...
net: do not call sock_put() on TIMEWAIT sockets
tcp: do not forget FIN in tcp_shifted_skb()
tcp: must unclone packets before mangling them
config: Remove unused MEDIA_TUNER option
cyanogen_mako_defconfig: enable KALLSYMS and MODULES
net: flow: Prevent bringing up new CPUs during per-CPU initialization
crypto: msm: Fix Uninitialized flags
deleted faux gamma control and add Franco gamma control
AK-Piasek.TWO.JW
Based od AK-Piasek.ONE.JW
Changelog:
Support Trickster MOD GPU Governor control
cpufreq: intellidemand: add new power_suspend pm driver
cyanogen_mako_defconfig: enable POWERSUSPEND
powersuspend: new pm kernel driver for android w/o early_suspend
cpufreq: intellidemand: update two_phase_freq to 1242Mhz
cpufreq: intellidemand: update to version 4.4 Nexus 5
msm: kgsl: Add touchboost to trustzone governor
AK-Piasek.THREE.JW
Based od AK-Piasek.TWO.JW
changelog:
cyanogen_mako_defconfig: enable EXT4_USE_FOR_EXT23
add new hotplug governor from Faux123 N5 Kernel
SELinux: include definition of new capabilities
cyanogen_mako_defconfig: disable IP_PNP
cyanogen_mako_defconfig: enable JUMP_LABEL
cyanogen_mako_defconfig: enable HEAP RANDOMIZATIONS
msm: acpuclock: Add more frequencies and reduce Overclock
cpufreq: cleaning all unused code for intellidemand and cpufreq drivers
AK-Piasek.FOUR.JW
Based od AK-Piasek.THREE.JW
changelog:
Linux 3.4.69
drm/radeon/atom: workaround vbios bug in transmitter table on rs780
drm: Prevent overwriting from userspace underallocating core ioctl st… …
mm: fix aio performance regression for database caused by THP
aacraid: missing capable() check in compat ioctl
lib/scatterlist.c: don't flush_kernel_dcache_page on slab page
xtensa: don't use alternate signal stack on threads
uml: check length in exitcode_proc_write()
Staging: bcm: info leak in ioctl
staging: ozwpan: prevent overflow in oz_cdev_write()
ASoC: dapm: Fix source list debugfs outputs
ASoC: wm_hubs: Add missing break in hp_supply_event()
ALSA: hda - Add a fixup for ASUS N76VZ
parisc: Do not crash 64bit SMP kernels on machines with >= 4GB RAM
clockevents: Sanitize ticks to nsec conversion
md: Fix skipping recovery for read-only arrays.
libata: make ata_eh_qc_retry() bump scmd->allowed on bogus failures
can: flexcan: flexcan_chip_start: fix regression, mark one MB for TX … …
jfs: fix error path in ialloc
USB: quirks: add touchscreen that is dazzeled by remote wakeup
USB: quirks.c: add one device that cannot deal with suspension
USB: support new huawei devices in option.c
kernel/power/powersuspend: default to userspace for now
kernel/power/powersuspend: add back userpace control w/ default kernel
kernel/power/powersuspend: remove userspace dependency from powersuspend
cyanogen_mako_defconfig: remove old logic for power saving with MC an…
intellidemand: enable touch boost for new touch screen device
intelli_plug: revert to aggressive hotplug - bump to v2.0
changed intelli_plug sampling rates and bump to version 2.0
AK-Piasek.FIVE.JW
Based od AK-Piasek.FOUR.JW
Changelog:
Undervolting
acpuclock-8064.c: add cpufreq and reduce OC
msm: vidc: Initialize kernel space stack variables
Add internal bool for snd_pcm struct
ALSA: fix oops in snd_pcm_info() caused by ASoC DPCM
cyanogen_mako_defconfig: enable INTELLI_THERMAL
intelli: thermal: fix stats calculations
intelli: thermal: initial coding for Qualcomm S4 Pro devices
jiffies conversions: Use compile time constants when possible
intelli_plug: use a context safe function call instead
Revert intelliplug: add mutext protection around input work
pm8921-charger: Remove stupid message
ARM: kernel: update topology to use new MPIDR macros
ARM: kernel: enhance MPIDR macro definitions
ARM: 7482/1: topology: fix section mismatch warning for init_cpu_topology
ARM: 7463/1: topology: Update cpu_power according to DT information
ARM: 7462/1: topology: factorize the update of sibling masks
ARM: 7461/1: topology: Add arch_scale_freq_power function
vfp: makefile: compile with neon optimization
cpufreq: interactive: remove unused code for boostpulse chown
Source:
Github
As soon as I find some free time surely will release the next edition of my Kernel
I use this kernel on a daily basis and I have no problem.
As a formality, will bear no liability for any damage and installs my kernel at your own risk.
reserved
reserved last one
deleted
This is awesome, thank you for this man. Much appreciated
Are the one two and three different versions or updated ones? Which one do you use?
Sent from my Nexus 4 using Tapatalk
nadavar said:
Are the one two and three different versions or updated ones? Which one do you use?
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
I use latest version (three). Every newer version is updating previous
In next update i think add double tap 2 wake and lower voltages
Keep it up with this good work my friend .. im very happy to see your own thread.
anarkia1976 said:
Keep it up with this good work my friend .. im very happy to see your own thread.
Click to expand...
Click to collapse
Thanks for your help and support
Will there be a CM kernel?
Really like this kernel so far.
just out of curiosity, what cpu and gpu gov do you use?
does it come tweaked out of the box? because the default gov was ondemand when i flashed it.
Thanks!!
nadavar said:
Really like this kernel so far.
just out of curiosity, what cpu and gpu gov do you use?
does it come tweaked out of the box? because the default gov was ondemand when i flashed it.
Thanks!!
Click to expand...
Click to collapse
I use intellidemand for CPU and interactive for GPU. Default settings governors on Cpu is intellidemand and GPU ondemand. If you have differend you should deleting data for CPU control app.
AK-Piasek.FOUR.JW
Based od AK-Piasek.THREE.JW
changelog:
Linux 3.4.69
drm/radeon/atom: workaround vbios bug in transmitter table on rs780
drm: Prevent overwriting from userspace underallocating core ioctl st… …
mm: fix aio performance regression for database caused by THP
aacraid: missing capable() check in compat ioctl
lib/scatterlist.c: don't flush_kernel_dcache_page on slab page
xtensa: don't use alternate signal stack on threads
uml: check length in exitcode_proc_write()
Staging: bcm: info leak in ioctl
staging: ozwpan: prevent overflow in oz_cdev_write()
ASoC: dapm: Fix source list debugfs outputs
ASoC: wm_hubs: Add missing break in hp_supply_event()
ALSA: hda - Add a fixup for ASUS N76VZ
parisc: Do not crash 64bit SMP kernels on machines with >= 4GB RAM
clockevents: Sanitize ticks to nsec conversion
md: Fix skipping recovery for read-only arrays.
libata: make ata_eh_qc_retry() bump scmd->allowed on bogus failures
can: flexcan: flexcan_chip_start: fix regression, mark one MB for TX … …
jfs: fix error path in ialloc
USB: quirks: add touchscreen that is dazzeled by remote wakeup
USB: quirks.c: add one device that cannot deal with suspension
USB: support new huawei devices in option.c
kernel/power/powersuspend: default to userspace for now
kernel/power/powersuspend: add back userpace control w/ default kernel
kernel/power/powersuspend: remove userspace dependency from powersuspend
cyanogen_mako_defconfig: remove old logic for power saving with MC an…
intellidemand: enable touch boost for new touch screen device
intelli_plug: revert to aggressive hotplug - bump to v2.0
changed intelli_plug sampling rates and bump to version 2.0
AK-Piasek.FIVE.JW
Based od AK-Piasek.FOUR.JW
Changelog:
Undervolting
acpuclock-8064.c: add cpufreq and reduce OC
msm: vidc: Initialize kernel space stack variables
Add internal bool for snd_pcm struct
ALSA: fix oops in snd_pcm_info() caused by ASoC DPCM
cyanogen_mako_defconfig: enable INTELLI_THERMAL
intelli: thermal: fix stats calculations
intelli: thermal: initial coding for Qualcomm S4 Pro devices
jiffies conversions: Use compile time constants when possible
intelli_plug: use a context safe function call instead
Revert intelliplug: add mutext protection around input work
pm8921-charger: Remove stupid message
ARM: kernel: update topology to use new MPIDR macros
ARM: kernel: enhance MPIDR macro definitions
ARM: 7482/1: topology: fix section mismatch warning for init_cpu_topology
ARM: 7463/1: topology: Update cpu_power according to DT information
ARM: 7462/1: topology: factorize the update of sibling masks
ARM: 7461/1: topology: Add arch_scale_freq_power function
vfp: makefile: compile with neon optimization
cpufreq: interactive: remove unused code for boostpulse chown

[KERNEL] [Jan 28] [Sense][GPE] Hypernova_2.0.3-Mallow && Flar-Port_6.03.3-Mallow

[KERNEL] [Jan 28] [Sense][GPE] Hypernova_2.0.3-Mallow && Flar-Port_6.03.3-Mallow
{
"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"
}
HTC One M8_WHL Sense Kernel
(All Variants)
This kernel has been
MassStashed​
Kernel Features
FEATURES - FlarPort
Latest Pre-Release optimized -O3 linaro 4.9.3 toolchain
Easy installation with Aroma installer - Special thanks to flar2
overclocking
gboost for enhanced gaming performance
choose voltage profile in installer
full user voltage control
underclock CPU or GPU
i/o schedulers: FIOPS, SIO, CFQ, NOOP, ROW, deadline
optional sweep2sleep
Optional custom wake gestures (no motion required!)
Optional pocket detection (with custom wake gestures)
Option to disable volume button wakes camera (with custom wake gestures)
High Definition Audio capability
Optional USB fastcharge
Option to reduce vibration strength
Remove /system write protection
NTFS r/w, CIFS, exFAT support
Option to disable fsync
Option to disable magnetic cover
/dev/frandom support
Color control
DriveDroid support
Stereo call recording
Unified dtb's to make work with all variants (Thanks captain_throwback)
Kernel Features
FEATURES - Hypernova
Latest Pre-Release optimized -O3 linaro 4.9.3 toolchain
Everything from flar2's amazing kernel (Gboost removed in favor of interactive and hotplug cpu control. Not necessary with this setup)
Franco's mako_hotplug
*cpu-boost* (Removed currently)
Franco's enhanced interactive governor set to default (Tweaked settings thanks to Dan)
NTFS support
Many other enhancements not normally added to sense kernels that I've seen
F2FS
INSTALLATION
1. Install zip from recovery
2. Follow the instructions, if you don't know what to do, use the pre-selected options
3. Wipe cache/dalvik cache
4. Reboot
It is recommended to disable or increase the screen timeout in TWRP recovery. If the screen timeout is enabled in TWRP, there may be a black screen after exiting the Aroma installer. This is nothing to worry about. Simply hold power and volume down and volume up buttons until it reboots. The installation will be fine. If things get stuck in aroma, simply do this reboot method and immediately hold down to get to bootloader mode, then select recovery and start from the beginning.
Donate to franciscofranco!
A lot of this is thanks to franciscofranco’s commits, so donate to him!
Donate to Flar2!
A lot of this is thanks to flar2’s commits, so donate to him!
Here’s mine if you would like to donate to me specifically
DOWNLOADS
Sense 5.0.1 & 5.0.2
GPE 6.0
NOTES AND OTHER IMPORTANT STUFF YOU SHOULD KNOW!!!
ElementalX Configuration File
Your choices in the Aroma installer are used to build a configuration file. The config file is located at /etc/elementalx.conf. You can edit this file to change kernel settings. Whatever is set in this file will take effect when the device is booted (unless other scripts or apps interfere!)
If settings are not sticking:
[*]Make sure you have busybox installed correctly and updated to the latest version
[*]Make sure the file permissions for /etc/init.d/99elementalx or 99msx are set to execute.
[*]Check to see if any /etc/init.d scripts or apps (such as Kernel Tuner or TricksterMod) are interfering with your settings.
ElementalX Log File
Every boot, a log file is created at /data/local/tmp/elementalx-kernel.log or msx-kernel.log. This file shows the date and time and all settings that have been applied. Use this to verify and troubleshoot configuration options. Also, in this file is your devices PVS number. Please refer to the links down below as to what the heck the PVS means. Helps with troubleshooting OC/voltage related reboots device specific. Not all devices were created equal!
Overclocking
Overclocking is optional. The installer lets you choose the maximum frequency. Whatever frequencies you chose in the installer will be set at boot for each CPU. Not all devices can handle overclocking. I don't recommend overclocking, this device is fast enough. If you overclock, the CPU frequency will likely be throttled due to heat. I recommend the stock frequencies, as this device is plenty fast.
CPU voltages
The installer allows you to choose from several undervolting options: stock, -15mV, -30mV, or -45mV. This only undervolts the lowest frequency, which happens to be the frequency used the most, and this is safer. Be careful, lowering voltages can cause instability.
gboost
gboost enhances gaming performance by giving a slight boost to cpu frequencies when the graphics load is high (e.g. while gaming). It should have no effect on battery life during regular usage, so it's safe to leave it enabled all the time.
fsync
fsync can be disabled if you're looking for the last ounce of performance. I recommend leaving it enabled as there is a slight risk of data loss if your phone shuts off unexpectedly before filesystems are synced.
Installing a new ROM
If you install a new ROM, it will probably replace this with the stock kernel and will definitely overwrite /etc/init.d/99elementalx and /etc/elementalx.conf so you will lose your settings and certain features. So always reinstall the kernel after installing a ROM.
Sweep2sleep
Sweep2sleep allows you to put your device to sleep by swiping right to left across the bottom of the screen where the back, home, recent buttons are. I find this useful since the stock motion gestures do not provide a good way to turn off the screen.
/sys/android_touch/sweep2wake
0= disabled
1= sweep2sleep right enabled
2= sweep2sleep left enabled
3= sweep2sleep left and right enabled
USB fastcharge
USB fastcharge is optional. This will allow you to charge at a faster rate when connected to a USB port. The default limit for USB ports is 500ma, this increases it to 1100ma. Be sure that the computer/laptop/whatever you are plugged into can handle it. Some will automatically cap it at 500ma. Please note that this does not force AC charge mode like previous implementations of force fastcharge. Your battery setting will still say USB mode. You can edit /etc/elementalx.conf to change the setting on boot.
Wake Gestures
There are three modes
Mode 1: Stock Motion Launch Gestures
For stock motion launch gestures, /sys/android_touch/wake_gestures, /sys/android_touch/sweep2wake and /sys/android_touch/doubletap2wake must all be set to 0. Enabling any of these overrides the stock gestures. Obviously Motion Launch Gestures must be enabled in the system settings.
Mode 2: Remove motion requirement
For this, you must set /sys/android_touch/wake_gestures to 1 and enable at least one gesture in /sys/android_touch/sweep2wake or /sys/android_touch/doubletap2wake and Motion Launch Gestures must be enabled in system settings. In this mode, when you sweep or doubletap, the appropriate input events are generated and acted upon the EasyAccessService (i.e., the system app that handles gesture actions).
Mode 3: Traditional S2W/DT2W
In this mode, wake gestures and actions are handled entirely by the kernel. The gestures will turn on the screen and that's it. For this, you must set /sys/android_touch/wake_gestures to 0 and enable at least one gesture in /sys/android_touch/sweep2wake or /sys/android_touch/doubletap2wake. It doesn't matter if Motion Launch Gestures is enabled or disabled in system settings, the gestures don't interact with it in this mode.
Options
For modes 2 and 3, there are several options.
Sweep2Wake
Gesture........Value
Sweep right......1
Sweep left........2
Sweep up.........4
Sweep down.....8
Add up the values for each gesture you want to enable and put the total in /sys/android_touch/sweep2wake. For example, to enable all gestures, the value is 15 (1+2+4+8). To enable sweep right, sweep left and sweep up, the value is 7 (1+2+4)
DoubleTap2wake
Set /sys/android_touch/doubletap2wake to 1 to enable DT2W, and set to 0 to disable it.
Pocket Detection
Set /sys/android_touch/pocket_detect to 1 to enable pocket detection, and set to 0 to disable it. Pocket detection is experimental right now, I'd say it's about 90% functional, but there is an occasional bug where it either doesn't work or works too well.
Vibration Strength
Haptic feedback can be enabled for the wake gestures in /sys/android_touch/vib_strength. This setting takes a number between 0 and 60. Default is 20, which is the same vibration as the stock gestures. Setting this to 0 disables haptic feedback.
SOURCE
https://github.com/MassStash
https://github.com/flar2
https://github.com/franciscofranco
................................................................................................
XDA: DevDB Information
MassStashed-m8whl, Kernel for the HTC One (M8WHL)
Contributors
franciscofranco
flar2
Evolutionmods
MassStash
Version Information for FlarPort
Status: Solid as ****
Current Stable Version: 6.03.3 & 4.04 & 3.04
Stable Release Date: 01-28-2016
Version Information for Hypernova (mako_hotplug)
Status: Solid as ****
Current Stable Version: 2.0.3
Stable Release Date: 01-28-2016
Created 06-20-2014
Last Updated 01-28-2016
Changelog
CHANGELOG (Cliff-Notes) Here's a GDoc for Latest
If this is first time flashing these updated packaged kernels, please dirty or full wipe flash the rom you’re on, let it boot to system, then reboot to twrp and flash one of these kernels. Also recommneded to flash ROM’s boot.img or just dirty flash if switching between these kernels.
Feb 27, 2015 - Lollipop
All compiled with latest linaro 4.9.3 prerelease toolchain and are all also packaged with anykernel method to allow for zImage and dt.img injection into rom’s stock boot.img, thus keeping ramdisk with any specific optimizations made for that exact rom. Also anykernel script now used to inject kernel settings script, formerly referred to as init script, into ramdisk to be loaded without need for init.d, and thus no need for setting selinux to permissive (Thanks Flar2).
May 30, 2015
Hypernova 1.5.1
GPE 5.1 & Sense 5.0.2
Add f2fs support …
Add support for M8TL
arm: crypto: Add optimized SHA-256/224 …
fs/namei.c: fix potential memory leak in path_lookupat …
sched/nohz: Fix rq->cpu_load[] calculations …
sched/fair: Let minimally loaded cpu balance the group …
input: touchboost: conservative samples every 10ms, no point in limit… …
ASoC: msm: Correct RTAC mutex lock …
cpuidle: remove cross-cpu IPI by new latency request. …
cpufreq: Break out early if freq equals to target_freq …
cpufreq: conservative: don't tear up sysfs and governor dirs to preve…
cpufreq: conservative: make the code a little bit prettier …
cpufreq: conservative: add input_boost_freq and input_boost_duration …
cpufreq: conservative: how did this end up here?
cpufreq: conservative: add sane input_boost and duration values …
cpufreq: conservative: notify the policy of the current load …
cpufreq: conservative: add micro idle accounting and touch boost support …
Update lz4 …
msm: slimbus: use interruptible wait to reduce system's load average …
ASoC: msm: audio-effects: Check for array index …
ARM: arch_timer: add support to configure and enable event stream …
ARM/ARM64: arch_timer: add macros for bits in control register …
tick: don't update idle time if cpu offline …
mako_hotplug: don't use PAGE_SIZE for snprintf …
mako_hotplug: don't offline cores if the load at that sample is above… …
arm: msm8974: enable Motorola's enhanced memory routines …
Update to dev branch of lz4 …
Update to vzw lolli dts …
Update dts for m8 to 5.0.1. DUG and WL still 4.4.4. …
Flar-Port
GPE - 3.04
Flar’s ElementalX updates
Sense - 4.04
All previously commits in changelog ported to new 5.0.1 base
selinux: Report permissive mode in avc: denied messages
KCAL update
Hypernova
GPE - 1.4.3
Based on flar2’s GPE
Added all commit’s from sense hypernova to date (see directly below)
Sense - 1.4.3
All 5.0.1 updates from elementalx
SoC: msm: Add Buffer overflow check
KEYS: close race between key lookup and freeing
msm: pm: Notify secure code of L2 power mode from last core only
sched: Implement smarter wake-affine logic
Fix nr_exclusive tasks which lead to ... Avoid spurious wakeup IPIs
sched: Fix inaccurate accounting for real-time task
arm: lib: Fix makefile bug
msm: memutils: memcpy, memmove, copy_page optimization
selinux: conditionally reschedule in hashtab_insert while loading sel…
selinux: conditionally reschedule in mls_convert_context while loadin…
selinux: no recursive read_lock of policy_rwlock in security_genfs_sid()
selinux: fix a possible memory leak in cond_read_node()
selinux: simple cleanup for cond_read_node()
selinux: fix inode security list corruption
qseecom: Save appname in qseecom when loading app by kernel client
arm: arch_timer: add arch_counter_set_user_access
mako_hotplug: remove screen off frequency cap and other optimizations
sched, smp: Correctly deal with nested sleeps
smpboot: Add missing get_online_cpus() … in sysfs
cpufreq: let's remove cpu-boost for now
input: add a generic touch input notifier
EXPERIMENTAL: mako_hotplug: make cpu2 and cpu3 less nervous
Dec 17, 2014
Added some awesome updates to hotplug and interactive from franco
Dec 15, 2014
All compiled with latest linaro 4.9.3 prerelease toolchain and are all also packaged with anykernel method to allow for zImage and dt.img injection into rom’s stock boot.img, thus keeping ramdisk with any specific optimizations made for that exact rom.
Flar-Port
GPE
Add all variant dtb’s from capt
Add NTFS
Sense
Added high perf audio and set to default on
Add all variant dtb’s from capt
NTFS support
Couple lz4 compression updates
Hypernova
GPE
Based on flar2’s GPE
Added all commit’s from sense hypernova to date (see directly below)
Sense
Couple updates to mako_hotplug, cpu-boost, and interactive governor
Couple lz4 compression updates
Enhance power efficiency patches
Fix bad hashing of dentries
Add support to validate pixel extension calculations
New relation for freq selection
Nov 17, 2014
Flar-Port
Port all commit’s from flar2’s 4.4.4 ElementalX kernel to make new 4.4.4 MassStashed Flar Port
Hypernova
Started with 4.4.4 Flar Port and then ported all commit’s I got from Franco’s One Plus One kernel to new 4.4.4 Hypernova kernel.
Added prima wlan module to compile with kernel from lypota, from htc source
Updates to wlan module
Updates to mako_hotplug
Added unified DTB from captain_throwback for vzw and gsm/intl support build in one zImage. Still need proper zip because I chose to use repack each with their specific ramdisk as opposed to using anyernel for now. Will look into anykernel at a later date for a one zip for all solution. Thank you captain for introducing me to anykernel method.
Added NTFS support
Oct 10, 2014
Enable compatibility with all M8 variants
wcd9320: Enable class AB mode, AKA high perf audio headset mode, be d…
high perf audio - fixed m8 incompatible
sound high perf - clean code
Update defconfig with version number
added high perfomance sound
wake_gestures: re-enable proximity sensor after phone call end and sc…
backlight_dimmer: give two dimmer options and create sysfs node
Revert "i2c: reduce remaining clocks"
i2c: reduce remaining clocks
Revert "Add backlight dimmer option"
Sep 15, 2014
Update aroma for brightness compatibility
Sep 14, 2014
Add backlight dimmer option
Sound Control: add line gain to cached and register lock …
Sep 12, 2014
kexec-hardboot: based on @Tasssadar
msm-sleeper: add ex_max_freq interface
Bump scripts for building with 2014.08 linaro 4.9.2
Aug 26, 2014
msm: Fix high load average from uninterruptible waits
GPU: start at 200MHz instead of 320MHz
Net/l2tp: don't fall back on UDP [get|set]sockopt
Update defconfig
MHL adapter fix from HTC
Charger updates from HTC
Aug 10, 2014
Update to Venom Int Ramdisk for packaging kernels to not break root and init.d on int based ROM
Aug 01, 2014
Update Stockish to 4.4.3 source
Update FlarPort to latest 1.0.0 ElementalX 4.4.3 | Most everything from 4.4.2 has been brought over
Jun 24, 2014
Fix touch in aroma installer - Gigantic thanks to badseed team for the fixed binary, and capt for bringing this to my attention
Jun 21, 2014 - MassStashedX_v0.19.1
Fix implicit declaration of function ‘wait_for_completion_io_timeout’… …
Switch baconMaker to elementalx_defconfig
Jun 20, 2014
Revert "cpuidle: Quickly notice prediction failure in general case" …
Revert "cpuidle: Get typical recent sleep interval" …
Revert "cpuidle: Fix finding state with min power_usage" …
Revert "cpuidle: remove the power_specified field in the driver" …
media-device: fix infoleak in ioctl media_enum_entities() …
futex: Make lookup_pi_state more robust …
futex: Always cleanup owner tid in unlock_pi …
futex: Validate atomic acquisition in futex_lock_pi_atomic() …
futex-prevent-requeue-pi-on-same-futex.patch futex: Forbid uaddr == u… …
futex: Add another early deadlock detection check …
futex: Prevent attaching to kernel threads …
Update cwmcusensor
Wake Gestures: fix dot view mode
stereo call recording support …
msm: kgsl: Fix nice level for higher priority GPU start thread …
arm: lz4: faster boot-up process. …
lz4: fix compression/decompression signedness mismatch …
lib/lz4: correct the LZ4 license …
crypto: add lz4 Cryptographic API …
lib: add lz4 compressor module …
arm: add support for LZ4-compressed kernel …
lib: add support for LZ4-compressed kernel …
decompressor: add LZ4 decompressor module …
DRIVERS: SLIMBUS: some more tweaks, which is double what we had befor… …
Wake Gestures: add proximity enabled flag
Wake Gestures: debugging messages
Wake Gestures: increase boot delay, add timeout to sweeps, fix irq en… …
Wake Gestures: add boot time delay for proper initialization of sensors
Wake Gestures: option to disable volume buttons launch camera in land… …
Jun 20, 2014
Wake Gestures: fix typo
Wake Gestures: more fixes for pocket detection, mcu initialization an… …
Wake Gestures: fix custom gestures in dot view mode
Wake Gestures: various improvements and fixes
DRIVERS: SLIMBUS: slimbus enhancements mkII …
Wake Gestures: Allow customization of the screen wake gestures on HTC… …
Downgrade CIFS …
GCC 4.9.1: fix compile warnings
GCC 4.9: fix compile warning …
cpufreq: interactive: fix compiling warnings …
Adjust some voltages
Set up underclocking and overclocking
Disable magnetic cover event
Change auto undervolting to use min freq only and adjust oc voltages …
Adjust min and max voltage limits …
msm: clock-krait-8974: User voltage control for msm-cpufreq device …
Add gboost
Bump overclocking voltages a bit
[qpnp-vibrator] sysfs interface from GPE source
Sound Control 3.x: adaptation for HTC One (M8) …
sound control: add register cache …
Sound Control: (OPTIONAL) add power amp registers access control as well …
Sound Control: (Optional) work around for Nexus 4/5 audio issues …
sound control: WCD9320: update speaker gain control for Z1 …
Jun 20, 2014
sound control 3.x: Initial GPL release for WCD9320 Audio Codec …
Sound Control: WCD9320: expose additional controls …
Add option to lower vibration
Overclocking: fix and add more steps
msm: cpufreq: Add API to allow limiting of min and max cpu frequencies …
msm-sleeper: limit max freq when screen is off
Show pvs in sysfs
Revert "sched: Micro-optimize the smart wake-affine logic" …
Revert "sync: don't block the flusher thread waiting on IO" …
Revert "FS: import F2FS" …
Revert "exFAT support" …
Revert "sched: add wait_for_completion_io[_timeout]" …
Revert "block: account iowait time when waiting for completion of IO … …
Disable HTC /system write protection …
Overclocking and undervolting options
Jun 10, 2014
Fastcharge for HTC One m8
LCD_KCAL Colour Control for m8
SELinux: Fix memory leak upon loading policy …
Jun 10, 2014
block: account iowait time when waiting for completion of IO request …
sched: add wait_for_completion_io[_timeout] …
deadline: Allow 0ms deadline latency, increase the read speed …
exFAT support …
Add fsync option
Add sweep2sleep …
FS: import F2FS …
ARM CPU Topology and cpu_power driver …
softirq: reduce latencies …
nohz: Reduce overhead under high-freq idling patterns …
ext4: fix memory leak in xattr …
cpuidle: Get typical recent sleep interval …
cpuidle: Quickly notice prediction failure in general case …
cpuidle: Quickly notice prediction failure for repeat mode …
cpuidle: move field disable from per-driver to per-cpu …
AIO: Don't plug the I/O queue in do_io_submit() …
Add SIO and FIOPS i/o schedulers …
Jun 09, 2014
warning: argument to 'sizeof' in 'memcpy' call is the same pointer ty… …
Add built crap and touch on cook script
warning: operation on 'ret' may be undefined [-Wsequence-point] …
dtb: binary to bring out dt.img …
Add cook my bacon script
Double flip a switch + setup ignores
May 08, 2014
initial switch flip
Infoz
Hypernova version has all kinds of stuff that's been added from the good @franciscofranco, and the most important and amazing, IMHO, is the mako_hotplug_driver. With this, we have eliminated most governors, and now exclusively run interactive. We now also have some extra options with this interactive governor that we can set to customize the user experience smoothness, and battery life. Down below is how to work init.d scripts, which is suggested as a great set it and forget it method, but if you are trying to mess with things quickly and in user land with an app, you will have to use francos. Unfortunately, our phone is only supported by the paid version also, so looks like it's time to open the wallets and show your appreciation! Bought this personally as soon as I got the hotplug up and running. 100% worth it.
Advanced Interactive Governor Tweaks; Buttery smooth and insane battery life!
Here's some info on the pieces used from his kernel, and the app, and the guy himself it seems.
Code:
Information about the kernel
People generally change kernels for battery savings and to add features the stock one doesn't offer.
Franco's kernel has several advantages over the stock one in terms of battery saving saving features,
one of my favourite being the removal of MPdecision which in lay-mans terms changes the min and
maximum speed the CPU can run at based upon live battery temperature checks. Franco's hot plug
driver always keeps 2 cores online and always them to scale from 300mhz to 2.3ghz and based upon
load conditions will online cores 3 and 4 if required. When you touch the screen the screen the CPU
speed is boosted to approximately 1.5ghz for just over a quarter of a second and when load is reduced
the CPU speed is able to lower quickly back to lower speeds thanks to his tuned interactive
governor. Franco has created a governor for the GPU named interactive which works very much like
how the CPU equivilant does. Franco has added some newer drivers for WiFi which also helps reduce
idle battery drain while your on a busy WiFi network. Franco has also added an interface where you
can boost microphone, speaker and headphone gain levels for audio enthusiasts as well as an
interface to allow screen calibration and load pre set profiles to improve your experience with how
your display looks! There's clock speed control, voltage control, governor control, hot plug control.
You get the idea its full of cool features which can be controlled with the paid Franco.Kernel
Application (see later in the thread)
[img]http://img.tapatalk.com/d/14/02/23/5y7egebu.jpg[/img]
Here are some lines I've found around the interwebs as a reference for myself for some time now. All of this is set, but hey, it never hurts to learn how it all works behind the scenes.
This is not a shell script, and cannot be run as one as-is; it's just a bunch of commands. UV should never be set with init.d in case they are unstable.
These are old values, some may be good, some may not. Please ask, or do some research on what is suggested for current cpu and phones.
Code:
# CPU Clock
echo 1228800 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 537600 > /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq
# UV
echo "1450 1425 1400 1375 1350 1250 1225 1200 1050 900 850 800" > /sys/class/misc/customvoltage/mpu_voltages
echo "1375 1291 1140 950" > /sys/class/misc/customvoltage/iva_voltages
echo "1150 1050 950" > /sys/class/misc/customvoltage/core_voltages
# SR
echo 1 > /sys/kernel/debug/smartreflex/sr_mpu/autocomp
echo 1 > /sys/kernel/debug/smartreflex/sr_iva/autocomp
echo 1 > /sys/kernel/debug/smartreflex/sr_core/autocomp # CORE no longer SR calibrated on FK
# Governor
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 15000 > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay
echo 0 > /sys/devices/system/cpu/cpufreq/interactive/boost
echo 80000 > /sys/devices/system/cpu/cpufreq/interactive/boostpulse_duration
echo 95 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
echo 729600 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
echo 45000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
echo 85 > /sys/devices/system/cpu/cpufreq/interactive/target_loads
echo 15000 > /sys/devices/system/cpu/cpufreq/interactive/timer_rate
echo 80000 > /sys/devices/system/cpu/cpufreq/interactive/timer_slack
# I/O Scheduler
echo 1024 > /sys/block/mmcblk0/queue/read_ahead_kb
echo "deadline" > /sys/block/mmcblk0/queue/scheduler
echo 500 > /sys/block/mmcblk0/queue/iosched/read_expire
echo 5000 > /sys/block/mmcblk0/queue/iosched/write_expire
echo 4 > /sys/block/mmcblk0/queue/iosched/writes_starved
echo 0 > /sys/block/mmcblk0/queue/iosched/front_merges
echo 1 > /sys/block/mmcblk0/queue/iosched/fifo_batch
echo "row" > /sys/block/mmcblk0/queue/scheduler
echo 100 > /sys/block/mmcblk0/queue/iosched/hp_read_quantum
echo 100 > /sys/block/mmcblk0/queue/iosched/rp_read_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/lp_read_quantum
echo 2 > /sys/block/mmcblk0/queue/iosched/hp_swrite_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/lp_swrite_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/rp_swrite_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/rp_write_quantum
echo 10 > /sys/block/mmcblk0/queue/iosched/read_idle
echo 20 > /sys/block/mmcblk0/queue/iosched/read_idle_freq
echo "cfq" > /sys/block/mmcblk0/queue/scheduler
echo 8 > /sys/block/mmcblk0/queue/iosched/quantum
echo 125 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync
echo 250 > /sys/block/mmcblk0/queue/iosched/fifo_expire_async
echo 16384 > /sys/block/mmcblk0/queue/iosched/back_seek_max
echo 2 > /sys/block/mmcblk0/queue/iosched/back_seek_penalty
echo 93 > /sys/block/mmcblk0/queue/iosched/slice_sync
echo 39 > /sys/block/mmcblk0/queue/iosched/slice_async
echo 2 > /sys/block/mmcblk0/queue/iosched/slice_async_rq
echo 7 > /sys/block/mmcblk0/queue/iosched/slice_idle
echo 0 > /sys/block/mmcblk0/queue/iosched/group_idle
echo 1 > /sys/block/mmcblk0/queue/iosched/low_latency
echo "bfq" > /sys/block/mmcblk0/queue/scheduler
echo 4 > /sys/block/mmcblk0/queue/iosched/quantum
echo 125 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync
echo 250 > /sys/block/mmcblk0/queue/iosched/fifo_expire_async
echo 16384 > /sys/block/mmcblk0/queue/iosched/back_seek_max
echo 2 > /sys/block/mmcblk0/queue/iosched/back_seek_penalty
echo 7 > /sys/block/mmcblk0/queue/iosched/slice_idle
echo 0 > /sys/block/mmcblk0/queue/iosched/max_budget
echo 4 > /sys/block/mmcblk0/queue/iosched/max_budget_async_rq
echo 125 > /sys/block/mmcblk0/queue/iosched/timeout_sync
echo 39 > /sys/block/mmcblk0/queue/iosched/timeout_async
echo 1 > /sys/block/mmcblk0/queue/iosched/low_latency
echo 20 > /sys/block/mmcblk0/queue/iosched/raising_coeff
echo 256 > /sys/block/mmcblk0/queue/iosched/raising_max_time
echo 7000 > /sys/block/mmcblk0/queue/iosched/raising_max_softrt_rate
echo 304 > /sys/block/mmcblk0/queue/iosched/raising_rt_max_time
echo 2000 > /sys/block/mmcblk0/queue/iosched/raising_min_idle_time
echo 500 > /sys/block/mmcblk0/queue/iosched/raising_min_inter_arr_async
echo "" > /sys/block/mmcblk0/queue/iosched/weights
# CAB
echo 1 > /sys/class/backlight/s6e8aa0/acl_set
# TCP Congestion Avoidance Algorithm
echo "westwood" > /proc/sys/net/ipv4/tcp_congestion_control;
# N7-specific
echo 500 > /sys/devices/system/cpu/cpu0/cpufreq/cpu_lp_max # LP core no longer used on FK
echo "1125 1100 1075 1050 1025 1000 975 950 925 900 875 850 825" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
echo 2 > /sys/class/misc/tegra_hotplug_control/cores_on_touch
echo 60 > /sys/class/misc/tegra_hotplug_control/first_level
echo 50 > /sys/class/misc/tegra_hotplug_control/second_level # No longer used in newer driver in FK
echo 25 > /sys/class/misc/tegra_hotplug_control/third_level # No longer used in newer driver in FK
echo 0 > /sys/devices/tegradc.0/smartdimmer/enable
Here's an awesome breakdown and research page for voltages most importantly pertaining to PVS values and overclocking.
Code:
download link:
PVS Research.xls (http://forum.xda-developers.com/attachment.php?attachmentid=2836827&stc=1&d=1404681790)
best max frequency (sweet performance/power spot):
MSM8974AB 2.3ghz - 1.34ghz
MSM8974AC 2.5ghz - 1.57ghz
MSM8974v2 2.2ghz - 1.34ghz
APQ8064 1.7ghz - 1.24ghz
APQ8064T 1.9ghz - 1.35ghz
best screen-off frequency (this varies if you try higher pvs settings):
Snapdragon 801 2.3ghz MSM8974AB - One M8
MSM8974AB 2.3ghz PVS 0 - 300mhz
MSM8974AB 2.3ghz PVS 1 - 346mhz
MSM8974AB 2.3ghz PVS 2 - 422mhz
MSM8974AB 2.3ghz PVS 3 - 499mhz
MSM8974AB 2.3ghz PVS 4 - 576mhz
MSM8974AB 2.3ghz PVS 5 - 652mhz
MSM8974AB 2.3ghz PVS 6 - 499mhz
MSM8974AB 2.3ghz PVS 7 - 576mhz
MSM8974AB 2.3ghz PVS 8 - 652mhz
MSM8974AB 2.3ghz PVS 9 - 729mhz
MSM8974AB 2.3ghz PVS 10 - 806mhz
MSM8974AB 2.3ghz PVS 11 - 883mhz
MSM8974AB 2.3ghz PVS 12 - 960mhz
MSM8974AB 2.3ghz PVS 13 - 1036mhz
MSM8974AB 2.3ghz PVS 14 - 960mhz
MSM8974AB 2.3ghz PVS 15 - 1036mhz
Snapdragon 801 2.5ghz MSM8974AC - Galaxy S5
MSM8974AC 2.5ghz PVS 0 - 422mhz
MSM8974AC 2.5ghz PVS 1 - 499mhz
MSM8974AC 2.5ghz PVS 2 - 576mhz
MSM8974AC 2.5ghz PVS 3 - 652mhz
MSM8974AC 2.5ghz PVS 4 - 729mhz
MSM8974AC 2.5ghz PVS 5 - 806mhz
MSM8974AC 2.5ghz PVS 6 - 652mhz
MSM8974AC 2.5ghz PVS 7 - 729mhz
MSM8974AC 2.5ghz PVS 8 - 806mhz
MSM8974AC 2.5ghz PVS 9 - 883mhz
MSM8974AC 2.5ghz PVS 10 - 960mhz
MSM8974AC 2.5ghz PVS 11 - 1036mhz
MSM8974AC 2.5ghz PVS 12 - 1113mhz
MSM8974AC 2.5ghz PVS 13 - 1190mhz
MSM8974AC 2.5ghz PVS 14 - 1113mhz
MSM8974AC 2.5ghz PVS 15 - 1190mhz
Snapdragon 800v2 2.2ghz MSM8974v2
MSM8974v2 2.2ghz PVS 0 - 345mhz
MSM8974v2 2.2ghz PVS 1 - 499mhz
MSM8974v2 2.2ghz PVS 2 - 422mhz
MSM8974v2 2.2ghz PVS 3 - 499mhz
MSM8974v2 2.2ghz PVS 4 - 576mhz
MSM8974v2 2.2ghz PVS 5 - 499mhz
MSM8974v2 2.2ghz PVS 6 - 576mhz
Snapdragon 600 1.7ghz APQ8064 - One M7
APQ8064 1.7ghz PVS 0 - 594mhz
APQ8064 1.7ghz PVS 1 - 594mhz
APQ8064 1.7ghz PVS 2 - 702mhz
APQ8064 1.7ghz PVS 3 - 810mhz
APQ8064 1.7ghz PVS 4 - 702mhz
APQ8064 1.7ghz PVS 5 - 810mhz
APQ8064 1.7ghz PVS 6 - 702mhz
Snapdragon 600 1.9ghz APQ8064T - Galaxy S4
APQ8064T 1.9ghz PVS 0 - 702mhz
APQ8064T 1.9ghz PVS 1 - 702mhz
APQ8064T 1.9ghz PVS 2 - 702mhz
APQ8064T 1.9ghz PVS 3 - 810mhz
APQ8064T 1.9ghz PVS 4 - 702mhz
APQ8064T 1.9ghz PVS 5 - 702mhz
APQ8064T 1.9ghz PVS 6 - 702mhz
best min frequency:
lowest possible setting (300mhz in case of MSM8974)
i highly recommend to run those values (exept if you are actually playing demanding 3d games).
use trickster mod frequency lock feature to do so. you will experience amazing battery life.
how to get the maximum battery life:
if you have a MSM8974AB pvs 6 for example, try the following steps:
try the next higher pvs levels (pvs7). don't try AC pvs values on AB chips.
AB chips are binned for lower frequencies while AC are binned for higher frequencies (duh).
so if you have a AB chip, work your way up the AB pvs values until you have freezes or similar and move back.
if you have a AC chip, work your way up the AC pvs values etc...
if you found highest setting that does not cause any problems after intensive testing and usage:
congratulations, you did it.
how to get the maximum frequency:
first try higher than stock maximum clock and see how it behaves.
if you don't reach your desired clockspeed, try the next lower pvs setting of your chip. yes, i said LOWER.
this gives the processor more voltage to reach higher overclocks.
i don't recommend it tho since we all want our phones to last as long as possible usually.
Thank you very much to @flar2 for all his work, and assisting people like me to port it to a device that otherwise would have no such love!
Gigantic thanks to @franciscofranco for his additions, fixes, and mako_hotplug!
Thank you to @Evolutionmods for helping me get this started, and for crucial fixes I would have no idea how to fix!
Thank you to @NineInchNails
@Captain_Throwback
@Vinchenzop
@Dubbsy
@Grommish
@Treken
These guys all have helped in very pivotal ways ,and I would not be at the understanding of android that I am today without them. Truly, thank you for being awesome helpful people!
Last but not least, thanks to these doods for helping test before release!
@kaosb0x
@shadowxaero
@stovo06
@dandan2980
Good one on mpdecision among other good stuff
Governors and schedulers explained:
http://forum.xda-developers.com/showthread.php?t=1687578
http://forum.xda-developers.com/galaxy-s2/general/ref-kernel-governors-modules-o-t1369817
http://tinzdroid.blogspot.com/2012/07/android-kernel-governors-modules-io.html
http://forum.xda-developers.com/showpost.php?p=21638852&postcount=56
PVS explained:
https://developer.qualcomm.com/forum/qdn-forums/general-discussion/27244
http://forum.xda-developers.com/showthread.php?t=2228246
http://www.oppoforums.com/threads/qualcomm-cpu-binning-is-yours-slow-nominal-fast-or-faster.2842/
MassStash said:
Placeholder
Click to expand...
Click to collapse
Reserved
Is AROMA fully functional?
Tired of waiting!
Don't forget the thanks button!
Teestes teestes 123 one hell of a kernel fellas good job
Sent from my 831C using Tapatalk
---------- Post added at 03:07 PM ---------- Previous post was at 03:06 PM ----------
I'm on official twrp still wonky not sure about yours captain
Sent from my 831C using Tapatalk
Captain_Throwback said:
Is AROMA fully functional?
Click to expand...
Click to collapse
holy jeebus you're fast as ****. Fully functional in the sense of using two thumbs where the second has a roll then flick up technique yes. Work like twrp recovery does, no unfortunately....
MassStash said:
holy jeebus you're fast as ****. Fully functional in the sense of using two thumbs where the second has a roll then flick up technique yes. Work like twrp recovery does, no unfortunately....
Click to expand...
Click to collapse
Ah, so not fully functional like on BadSeed's ROM. Got it. Thanks for the kernel and the hard work on it!
Wow praise from the Captain!
He really has been working hard on this. I don't know sh*t compared to you guys but I appreciate the contributions on here.
Don't forget the thanks button!
Finally Sprint has a custom kernel Balls to the Walls Very smooth,Stable and battery friendly plus the screen control and sound control make it all that much better
Sent from my 831C using Tapatalk
Thank you so much for your contribution!
@MassStash
I pulled the working AROMA update-binary from BadSeed's ROM so you can add to your installer for working touch.
Thanks to BadSeed team for finding a working binary!
EDIT: Attached file.
the Min CPU always jump from 300000 to 1728000 after few mins
Working great here @MassStash :good:
nemoftw said:
the Min CPU always jump from 300000 to 1728000 after few mins
Click to expand...
Click to collapse
I have never seen that been running this for days now
Sent from my 831C using Tapatalk
My only real issue is that the Motion Gestures always default to the custom settings, even if I chose the option for stock motion gestures.
On a reboot, the stock gesture behavior would work within the first minute, then default to swiping left to sleep & wake.
Other than that...this is a solid kernel.
AarSyl said:
My only real issue is that the Motion Gestures always default to the custom settings, even if I chose the option for stock motion gestures.
On a reboot, the stock gesture behavior would work within the first minute, then default to swiping left to sleep & wake.
Other than that...this is a solid kernel.
Click to expand...
Click to collapse
What rom are you on? I nor testers have experienced this to my knowledge
~m8whl on the Always Solid ViperOneM8 Latest
2.265 Max ¦ 300 Min
ondemand
row
Great work MassStash, good to see you bro
Sent from my 831C using XDA Premium 4 mobile app
MassStash said:
What rom are you on? I nor testers have experienced this to my knowledge
~m8whl on the Always Solid ViperOneM8 Latest
2.265 Max ¦ 300 Min
ondemand
row
Click to expand...
Click to collapse
Stock rooted, actually...I'm S-On, for what it's worth, but I doubt that the stock rom of all things would change anything, but I could he wrong.
What info would you need from me?

[KERNEL] [Jan 28] [Sense][GPE] Hypernova_2.0.3-Mallow

{
"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"
}
HTC One M8 Kernel - Sense and GPE
(All Variants)
This kernel has been
MassStashed​
Kernel Features
FEATURES - Hypernova
Latest Pre-Release optimized -O3 linaro 4.9.3 toolchain
Everything from flar2's amazing kernel (Gboost removed in favor of interactive and hotplug cpu control. Not necessary with this setup)
Easy installation with Aroma installer - Special thanks to flar2
overclocking
gboost for enhanced gaming performance
choose voltage profile in installer
full user voltage control
underclock CPU or GPU
i/o schedulers: FIOPS, SIO, CFQ, NOOP, ROW, deadline
optional sweep2sleep
Optional custom wake gestures (no motion required!)
Optional pocket detection (with custom wake gestures)
Option to disable volume button wakes camera (with custom wake gestures)
High Definition Audio capability
Optional USB fastcharge
Option to reduce vibration strength
Remove /system write protection
NTFS r/w, CIFS, exFAT support
Option to disable fsync
Option to disable magnetic cover
/dev/frandom support
Color control
DriveDroid support
Stereo call recording
Lz4 compression for faster boot
Unified dtb's to make work with all variants (Thanks captain_throwback)
Franco's mako_hotplug
*cpu-boost* (Removed currently)
Franco's enhanced interactive governor set to default (Tweaked settings thanks to Dan)
NTFS support
F2FS
INSTALLATION
1. Install zip from recovery
2. Follow the instructions, if you don't know what to do, use the pre-selected options
3. Wipe cache/dalvik cache
4. Reboot
It is recommended to disable or increase the screen timeout in TWRP recovery. If the screen timeout is enabled in TWRP, there may be a black screen after exiting the Aroma installer. This is nothing to worry about. Simply hold power and volume down and volume up buttons until it reboots. The installation will be fine. If things get stuck in aroma, simply do this reboot method and immediately hold down to get to bootloader mode, then select recovery and start from the beginning.
Donate to franciscofranco!
A lot of this is thanks to franciscofranco’s commits, so donate to him!
Donate to Flar2!
A lot of this is thanks to flar2’s commits, so donate to him!
Here’s mine if you would like to donate to me specifically
DOWNLOADS
Sense 5.0.1 & 5.0.2
GPE 6.0
NOTES AND OTHER IMPORTANT STUFF YOU SHOULD KNOW!!!
Please refer to flar2's thread as this is based off his work, then added to. All of his writings under this title in his thread are what apply here with very little difference. Thank you a million times to flar2 for all his hard work.
SOURCE
https://github.com/MassStash
https://github.com/flar2
https://github.com/franciscofranco
..........................................................................................
XDA: DevDB Information
MassStashed-m8whl, Kernel for the HTC One (M8WHL)
Contributors
franciscofranco
flar2
Evolutionmods
MassStash
Version Information for Hypernova (mako_hotplug)
Status: Solid as ****
Current Stable Version: 2.0.3
Stable Release Date: 01-28-2016
Created 06-20-2014
Last Updated 01-28-2016
Zee Changelog
CHANGELOG (Cliff-Notes) Here's a GDoc for Latest
If this is first time flashing these updated packaged kernels, please dirty or full wipe flash the rom you’re on, let it boot to system, then reboot to twrp and flash one of these kernels. Also recommneded to flash ROM’s boot.img or just dirty flash if switching between these kernels.
May 30, 2015
Hypernova 1.5.1
GPE 5.1 & Sense 5.0.2
Add f2fs support …
Add support for M8TL
arm: crypto: Add optimized SHA-256/224 …
fs/namei.c: fix potential memory leak in path_lookupat …
sched/nohz: Fix rq->cpu_load[] calculations …
sched/fair: Let minimally loaded cpu balance the group …
input: touchboost: conservative samples every 10ms, no point in limit… …
ASoC: msm: Correct RTAC mutex lock …
cpuidle: remove cross-cpu IPI by new latency request. …
cpufreq: Break out early if freq equals to target_freq …
cpufreq: conservative: don't tear up sysfs and governor dirs to preve…
cpufreq: conservative: make the code a little bit prettier …
cpufreq: conservative: add input_boost_freq and input_boost_duration …
cpufreq: conservative: how did this end up here?
cpufreq: conservative: add sane input_boost and duration values …
cpufreq: conservative: notify the policy of the current load …
cpufreq: conservative: add micro idle accounting and touch boost support …
Update lz4 …
msm: slimbus: use interruptible wait to reduce system's load average …
ASoC: msm: audio-effects: Check for array index …
ARM: arch_timer: add support to configure and enable event stream …
ARM/ARM64: arch_timer: add macros for bits in control register …
tick: don't update idle time if cpu offline …
mako_hotplug: don't use PAGE_SIZE for snprintf …
mako_hotplug: don't offline cores if the load at that sample is above… …
arm: msm8974: enable Motorola's enhanced memory routines …
Update to dev branch of lz4 …
Update to vzw lolli dts …
Update dts for m8 to 5.0.1. DUG and WL still 4.4.4. …
Mar 06, 2015 - Lollipop
Hypernova
GPE & Sense - 1.4.5
Bump version to scripts and defconfig
msm: kgsl: Wake up snoozing threads on marker expiry …
usb: dwc3: gadget: Ignore L1 RESUME events …
USB: msm_otg: Configure HV DPSE/DMSE pin interrupt bits of PHY register …
ARM: dts: msm: Change WCN PA rail LDO number msm8974 …
msm: Add timeout to read APR responses
mako_hotplug: if the nr of runnable threads is high, online all cores…
arm: use -mtune=cortex-a15 for Krait targets
msm: memutils: 8084: memcpy, memmove optimization
msm: memutils: memcpy, memmove optimization
net: rps: fix cpu unplug
ASoC: msm-lsm-client: Use freezable wait for EVENT_STATUS ioctl
netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages
Feb 27, 2015 - Lollipop
All compiled with latest linaro 4.9.3 prerelease toolchain and are all also packaged with anykernel method to allow for zImage and dt.img injection into rom’s stock boot.img, thus keeping ramdisk with any specific optimizations made for that exact rom. Also anykernel script now used to inject kernel settings script, formerly referred to as init script, into ramdisk to be loaded without need for init.d, and thus no need for setting selinux to permissive (Thanks Flar2).
Flar-Port
GPE - 3.04
Flar’s ElementalX updates
Sense - 4.04
All previously commits in changelog ported to new 5.0.1 base
selinux: Report permissive mode in avc: denied messages
KCAL update
Hypernova
GPE - 1.4.3
Based on flar2’s GPE
Added all commit’s from sense hypernova to date (see directly below)
Sense - 1.4.3
All 5.0.1 updates from elementalx
SoC: msm: Add Buffer overflow check
KEYS: close race between key lookup and freeing
msm: pm: Notify secure code of L2 power mode from last core only
sched: Implement smarter wake-affine logic
Fix nr_exclusive tasks which lead to ... Avoid spurious wakeup IPIs
sched: Fix inaccurate accounting for real-time task
arm: lib: Fix makefile bug
msm: memutils: memcpy, memmove, copy_page optimization
selinux: conditionally reschedule in hashtab_insert while loading sel…
selinux: conditionally reschedule in mls_convert_context while loadin…
selinux: no recursive read_lock of policy_rwlock in security_genfs_sid()
selinux: fix a possible memory leak in cond_read_node()
selinux: simple cleanup for cond_read_node()
selinux: fix inode security list corruption
qseecom: Save appname in qseecom when loading app by kernel client
arm: arch_timer: add arch_counter_set_user_access
mako_hotplug: remove screen off frequency cap and other optimizations
sched, smp: Correctly deal with nested sleeps
smpboot: Add missing get_online_cpus() … in sysfs
cpufreq: let's remove cpu-boost for now
input: add a generic touch input notifier
EXPERIMENTAL: mako_hotplug: make cpu2 and cpu3 less nervous
Dec 17, 2014
Added some awesome updates to hotplug and interactive from franco
Dec 15, 2014
All compiled with latest linaro 4.9.3 prerelease toolchain and are all also packaged with anykernel method to allow for zImage and dt.img injection into rom’s stock boot.img, thus keeping ramdisk with any specific optimizations made for that exact rom.
Flar-Port
GPE
Add all variant dtb’s from capt
Add NTFS
Sense
Added high perf audio and set to default on
Add all variant dtb’s from capt
NTFS support
Couple lz4 compression updates
Hypernova
GPE
Based on flar2’s GPE
Added all commit’s from sense hypernova to date (see directly below)
Sense
Couple updates to mako_hotplug, cpu-boost, and interactive governor
Couple lz4 compression updates
Enhance power efficiency patches
Fix bad hashing of dentries
Add support to validate pixel extension calculations
New relation for freq selection
Nov 17, 2014
Flar-Port
Port all commit’s from flar2’s 4.4.4 ElementalX kernel to make new 4.4.4 MassStashed Flar Port
Hypernova
Started with 4.4.4 Flar Port and then ported all commit’s I got from Franco’s One Plus One kernel to new 4.4.4 Hypernova kernel.
Added prima wlan module to compile with kernel from lypota, from htc source
Updates to wlan module
Updates to mako_hotplug
Added unified DTB from captain_throwback for vzw and gsm/intl support build in one zImage. Still need proper zip because I chose to use repack each with their specific ramdisk as opposed to using anyernel for now. Will look into anykernel at a later date for a one zip for all solution. Thank you captain for introducing me to anykernel method.
Added NTFS support
Oct 10, 2014
Enable compatibility with all M8 variants
wcd9320: Enable class AB mode, AKA high perf audio headset mode, be d…
high perf audio - fixed m8 incompatible
sound high perf - clean code
Update defconfig with version number
added high perfomance sound
wake_gestures: re-enable proximity sensor after phone call end and sc…
backlight_dimmer: give two dimmer options and create sysfs node
Revert "i2c: reduce remaining clocks"
i2c: reduce remaining clocks
Revert "Add backlight dimmer option"
Sep 15, 2014
Update aroma for brightness compatibility
Sep 14, 2014
Add backlight dimmer option
Sound Control: add line gain to cached and register lock …
Sep 12, 2014
kexec-hardboot: based on @Tasssadar
msm-sleeper: add ex_max_freq interface
Bump scripts for building with 2014.08 linaro 4.9.2
Aug 26, 2014
msm: Fix high load average from uninterruptible waits
GPU: start at 200MHz instead of 320MHz
Net/l2tp: don't fall back on UDP [get|set]sockopt
Update defconfig
MHL adapter fix from HTC
Charger updates from HTC
Aug 10, 2014
Update to Venom Int Ramdisk for packaging kernels to not break root and init.d on int based ROM
Aug 01, 2014
Update Stockish to 4.4.3 source
Update FlarPort to latest 1.0.0 ElementalX 4.4.3 | Most everything from 4.4.2 has been brought over
Jun 24, 2014
Fix touch in aroma installer - Gigantic thanks to badseed team for the fixed binary, and capt for bringing this to my attention
Jun 21, 2014 - MassStashedX_v0.19.1
Fix implicit declaration of function ‘wait_for_completion_io_timeout’… …
Switch baconMaker to elementalx_defconfig
Jun 20, 2014
Revert "cpuidle: Quickly notice prediction failure in general case" …
Revert "cpuidle: Get typical recent sleep interval" …
Revert "cpuidle: Fix finding state with min power_usage" …
Revert "cpuidle: remove the power_specified field in the driver" …
media-device: fix infoleak in ioctl media_enum_entities() …
futex: Make lookup_pi_state more robust …
futex: Always cleanup owner tid in unlock_pi …
futex: Validate atomic acquisition in futex_lock_pi_atomic() …
futex-prevent-requeue-pi-on-same-futex.patch futex: Forbid uaddr == u… …
futex: Add another early deadlock detection check …
futex: Prevent attaching to kernel threads …
Update cwmcusensor
Wake Gestures: fix dot view mode
stereo call recording support …
msm: kgsl: Fix nice level for higher priority GPU start thread …
arm: lz4: faster boot-up process. …
lz4: fix compression/decompression signedness mismatch …
lib/lz4: correct the LZ4 license …
crypto: add lz4 Cryptographic API …
lib: add lz4 compressor module …
arm: add support for LZ4-compressed kernel …
lib: add support for LZ4-compressed kernel …
decompressor: add LZ4 decompressor module …
DRIVERS: SLIMBUS: some more tweaks, which is double what we had befor… …
Wake Gestures: add proximity enabled flag
Wake Gestures: debugging messages
Wake Gestures: increase boot delay, add timeout to sweeps, fix irq en… …
Wake Gestures: add boot time delay for proper initialization of sensors
Wake Gestures: option to disable volume buttons launch camera in land… …
Jun 20, 2014
Wake Gestures: fix typo
Wake Gestures: more fixes for pocket detection, mcu initialization an… …
Wake Gestures: fix custom gestures in dot view mode
Wake Gestures: various improvements and fixes
DRIVERS: SLIMBUS: slimbus enhancements mkII …
Wake Gestures: Allow customization of the screen wake gestures on HTC… …
Downgrade CIFS …
GCC 4.9.1: fix compile warnings
GCC 4.9: fix compile warning …
cpufreq: interactive: fix compiling warnings …
Adjust some voltages
Set up underclocking and overclocking
Disable magnetic cover event
Change auto undervolting to use min freq only and adjust oc voltages …
Adjust min and max voltage limits …
msm: clock-krait-8974: User voltage control for msm-cpufreq device …
Add gboost
Bump overclocking voltages a bit
[qpnp-vibrator] sysfs interface from GPE source
Sound Control 3.x: adaptation for HTC One (M8) …
sound control: add register cache …
Sound Control: (OPTIONAL) add power amp registers access control as well …
Sound Control: (Optional) work around for Nexus 4/5 audio issues …
sound control: WCD9320: update speaker gain control for Z1 …
Jun 20, 2014
sound control 3.x: Initial GPL release for WCD9320 Audio Codec …
Sound Control: WCD9320: expose additional controls …
Add option to lower vibration
Overclocking: fix and add more steps
msm: cpufreq: Add API to allow limiting of min and max cpu frequencies …
msm-sleeper: limit max freq when screen is off
Show pvs in sysfs
Revert "sched: Micro-optimize the smart wake-affine logic" …
Revert "sync: don't block the flusher thread waiting on IO" …
Revert "FS: import F2FS" …
Revert "exFAT support" …
Revert "sched: add wait_for_completion_io[_timeout]" …
Revert "block: account iowait time when waiting for completion of IO … …
Disable HTC /system write protection …
Overclocking and undervolting options
Jun 10, 2014
Fastcharge for HTC One m8
LCD_KCAL Colour Control for m8
SELinux: Fix memory leak upon loading policy …
Jun 10, 2014
block: account iowait time when waiting for completion of IO request …
sched: add wait_for_completion_io[_timeout] …
deadline: Allow 0ms deadline latency, increase the read speed …
exFAT support …
Add fsync option
Add sweep2sleep …
FS: import F2FS …
ARM CPU Topology and cpu_power driver …
softirq: reduce latencies …
nohz: Reduce overhead under high-freq idling patterns …
ext4: fix memory leak in xattr …
cpuidle: Get typical recent sleep interval …
cpuidle: Quickly notice prediction failure in general case …
cpuidle: Quickly notice prediction failure for repeat mode …
cpuidle: move field disable from per-driver to per-cpu …
AIO: Don't plug the I/O queue in do_io_submit() …
Add SIO and FIOPS i/o schedulers …
Jun 09, 2014
warning: argument to 'sizeof' in 'memcpy' call is the same pointer ty… …
Add built crap and touch on cook script
warning: operation on 'ret' may be undefined [-Wsequence-point] …
dtb: binary to bring out dt.img …
Add cook my bacon script
Double flip a switch + setup ignores
May 08, 2014
initial switch flip
Great info to actually read and know!
Hypernova version has all kinds of stuff that's been added from the good @franciscofranco, and the most important and amazing, IMHO, is the mako_hotplug_driver. With this, we have eliminated most governors, and now exclusively run interactive. We now also have some extra options with this interactive governor that we can set to customize the user experience smoothness, and battery life. Down below is how to work init.d scripts, which is suggested as a great set it and forget it method, but if you are trying to mess with things quickly and in user land with an app, you will have to use francos. Unfortunately, our phone is only supported by the paid version also, so looks like it's time to open the wallets and show your appreciation! Bought this personally as soon as I got the hotplug up and running. 100% worth it.
Advanced Interactive Governor Tweaks; Buttery smooth and insane battery life!
Here's some info on the pieces used from his kernel, and the app, and the guy himself it seems.
Code:
Information about the kernel
People generally change kernels for battery savings and to add features the stock one doesn't offer.
Franco's kernel has several advantages over the stock one in terms of battery saving saving features,
one of my favourite being the removal of MPdecision which in lay-mans terms changes the min and
maximum speed the CPU can run at based upon live battery temperature checks. Franco's hot plug
driver always keeps 2 cores online and always them to scale from 300mhz to 2.3ghz and based upon
load conditions will online cores 3 and 4 if required. When you touch the screen the screen the CPU
speed is boosted to approximately 1.5ghz for just over a quarter of a second and when load is reduced
the CPU speed is able to lower quickly back to lower speeds thanks to his tuned interactive
governor. Franco has created a governor for the GPU named interactive which works very much like
how the CPU equivilant does. Franco has added some newer drivers for WiFi which also helps reduce
idle battery drain while your on a busy WiFi network. Franco has also added an interface where you
can boost microphone, speaker and headphone gain levels for audio enthusiasts as well as an
interface to allow screen calibration and load pre set profiles to improve your experience with how
your display looks! There's clock speed control, voltage control, governor control, hot plug control.
You get the idea its full of cool features which can be controlled with the paid Franco.Kernel
Application (see later in the thread)
[img]http://img.tapatalk.com/d/14/02/23/5y7egebu.jpg[/img]
Here are some lines I've found around the interwebs as a reference for myself for some time now. All of this is set, but hey, it never hurts to learn how it all works behind the scenes.
This is not a shell script, and cannot be run as one as-is; it's just a bunch of commands. UV should never be set with init.d in case they are unstable.
These are old values, some may be good, some may not. Please ask, or do some research on what is suggested for current cpu and phones.
Code:
# CPU Clock
echo 1228800 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 537600 > /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq
# UV
echo "1450 1425 1400 1375 1350 1250 1225 1200 1050 900 850 800" > /sys/class/misc/customvoltage/mpu_voltages
echo "1375 1291 1140 950" > /sys/class/misc/customvoltage/iva_voltages
echo "1150 1050 950" > /sys/class/misc/customvoltage/core_voltages
# SR
echo 1 > /sys/kernel/debug/smartreflex/sr_mpu/autocomp
echo 1 > /sys/kernel/debug/smartreflex/sr_iva/autocomp
echo 1 > /sys/kernel/debug/smartreflex/sr_core/autocomp # CORE no longer SR calibrated on FK
# Governor
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 15000 > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay
echo 0 > /sys/devices/system/cpu/cpufreq/interactive/boost
echo 80000 > /sys/devices/system/cpu/cpufreq/interactive/boostpulse_duration
echo 95 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
echo 729600 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
echo 45000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
echo 85 > /sys/devices/system/cpu/cpufreq/interactive/target_loads
echo 15000 > /sys/devices/system/cpu/cpufreq/interactive/timer_rate
echo 80000 > /sys/devices/system/cpu/cpufreq/interactive/timer_slack
# I/O Scheduler
echo 1024 > /sys/block/mmcblk0/queue/read_ahead_kb
echo "deadline" > /sys/block/mmcblk0/queue/scheduler
echo 500 > /sys/block/mmcblk0/queue/iosched/read_expire
echo 5000 > /sys/block/mmcblk0/queue/iosched/write_expire
echo 4 > /sys/block/mmcblk0/queue/iosched/writes_starved
echo 0 > /sys/block/mmcblk0/queue/iosched/front_merges
echo 1 > /sys/block/mmcblk0/queue/iosched/fifo_batch
echo "row" > /sys/block/mmcblk0/queue/scheduler
echo 100 > /sys/block/mmcblk0/queue/iosched/hp_read_quantum
echo 100 > /sys/block/mmcblk0/queue/iosched/rp_read_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/lp_read_quantum
echo 2 > /sys/block/mmcblk0/queue/iosched/hp_swrite_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/lp_swrite_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/rp_swrite_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/rp_write_quantum
echo 10 > /sys/block/mmcblk0/queue/iosched/read_idle
echo 20 > /sys/block/mmcblk0/queue/iosched/read_idle_freq
echo "cfq" > /sys/block/mmcblk0/queue/scheduler
echo 8 > /sys/block/mmcblk0/queue/iosched/quantum
echo 125 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync
echo 250 > /sys/block/mmcblk0/queue/iosched/fifo_expire_async
echo 16384 > /sys/block/mmcblk0/queue/iosched/back_seek_max
echo 2 > /sys/block/mmcblk0/queue/iosched/back_seek_penalty
echo 93 > /sys/block/mmcblk0/queue/iosched/slice_sync
echo 39 > /sys/block/mmcblk0/queue/iosched/slice_async
echo 2 > /sys/block/mmcblk0/queue/iosched/slice_async_rq
echo 7 > /sys/block/mmcblk0/queue/iosched/slice_idle
echo 0 > /sys/block/mmcblk0/queue/iosched/group_idle
echo 1 > /sys/block/mmcblk0/queue/iosched/low_latency
echo "bfq" > /sys/block/mmcblk0/queue/scheduler
echo 4 > /sys/block/mmcblk0/queue/iosched/quantum
echo 125 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync
echo 250 > /sys/block/mmcblk0/queue/iosched/fifo_expire_async
echo 16384 > /sys/block/mmcblk0/queue/iosched/back_seek_max
echo 2 > /sys/block/mmcblk0/queue/iosched/back_seek_penalty
echo 7 > /sys/block/mmcblk0/queue/iosched/slice_idle
echo 0 > /sys/block/mmcblk0/queue/iosched/max_budget
echo 4 > /sys/block/mmcblk0/queue/iosched/max_budget_async_rq
echo 125 > /sys/block/mmcblk0/queue/iosched/timeout_sync
echo 39 > /sys/block/mmcblk0/queue/iosched/timeout_async
echo 1 > /sys/block/mmcblk0/queue/iosched/low_latency
echo 20 > /sys/block/mmcblk0/queue/iosched/raising_coeff
echo 256 > /sys/block/mmcblk0/queue/iosched/raising_max_time
echo 7000 > /sys/block/mmcblk0/queue/iosched/raising_max_softrt_rate
echo 304 > /sys/block/mmcblk0/queue/iosched/raising_rt_max_time
echo 2000 > /sys/block/mmcblk0/queue/iosched/raising_min_idle_time
echo 500 > /sys/block/mmcblk0/queue/iosched/raising_min_inter_arr_async
echo "" > /sys/block/mmcblk0/queue/iosched/weights
# CAB
echo 1 > /sys/class/backlight/s6e8aa0/acl_set
# TCP Congestion Avoidance Algorithm
echo "westwood" > /proc/sys/net/ipv4/tcp_congestion_control;
# N7-specific
echo 500 > /sys/devices/system/cpu/cpu0/cpufreq/cpu_lp_max # LP core no longer used on FK
echo "1125 1100 1075 1050 1025 1000 975 950 925 900 875 850 825" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
echo 2 > /sys/class/misc/tegra_hotplug_control/cores_on_touch
echo 60 > /sys/class/misc/tegra_hotplug_control/first_level
echo 50 > /sys/class/misc/tegra_hotplug_control/second_level # No longer used in newer driver in FK
echo 25 > /sys/class/misc/tegra_hotplug_control/third_level # No longer used in newer driver in FK
echo 0 > /sys/devices/tegradc.0/smartdimmer/enable
Here's an awesome breakdown and research page for voltages most importantly pertaining to PVS values and overclocking.
Code:
download link:
PVS Research.xls (http://forum.xda-developers.com/attachment.php?attachmentid=2836827&stc=1&d=1404681790)
best max frequency (sweet performance/power spot):
MSM8974AB 2.3ghz - 1.34ghz
MSM8974AC 2.5ghz - 1.57ghz
MSM8974v2 2.2ghz - 1.34ghz
APQ8064 1.7ghz - 1.24ghz
APQ8064T 1.9ghz - 1.35ghz
best screen-off frequency (this varies if you try higher pvs settings):
Snapdragon 801 2.3ghz MSM8974AB - One M8
MSM8974AB 2.3ghz PVS 0 - 300mhz
MSM8974AB 2.3ghz PVS 1 - 346mhz
MSM8974AB 2.3ghz PVS 2 - 422mhz
MSM8974AB 2.3ghz PVS 3 - 499mhz
MSM8974AB 2.3ghz PVS 4 - 576mhz
MSM8974AB 2.3ghz PVS 5 - 652mhz
MSM8974AB 2.3ghz PVS 6 - 499mhz
MSM8974AB 2.3ghz PVS 7 - 576mhz
MSM8974AB 2.3ghz PVS 8 - 652mhz
MSM8974AB 2.3ghz PVS 9 - 729mhz
MSM8974AB 2.3ghz PVS 10 - 806mhz
MSM8974AB 2.3ghz PVS 11 - 883mhz
MSM8974AB 2.3ghz PVS 12 - 960mhz
MSM8974AB 2.3ghz PVS 13 - 1036mhz
MSM8974AB 2.3ghz PVS 14 - 960mhz
MSM8974AB 2.3ghz PVS 15 - 1036mhz
Snapdragon 801 2.5ghz MSM8974AC - Galaxy S5
MSM8974AC 2.5ghz PVS 0 - 422mhz
MSM8974AC 2.5ghz PVS 1 - 499mhz
MSM8974AC 2.5ghz PVS 2 - 576mhz
MSM8974AC 2.5ghz PVS 3 - 652mhz
MSM8974AC 2.5ghz PVS 4 - 729mhz
MSM8974AC 2.5ghz PVS 5 - 806mhz
MSM8974AC 2.5ghz PVS 6 - 652mhz
MSM8974AC 2.5ghz PVS 7 - 729mhz
MSM8974AC 2.5ghz PVS 8 - 806mhz
MSM8974AC 2.5ghz PVS 9 - 883mhz
MSM8974AC 2.5ghz PVS 10 - 960mhz
MSM8974AC 2.5ghz PVS 11 - 1036mhz
MSM8974AC 2.5ghz PVS 12 - 1113mhz
MSM8974AC 2.5ghz PVS 13 - 1190mhz
MSM8974AC 2.5ghz PVS 14 - 1113mhz
MSM8974AC 2.5ghz PVS 15 - 1190mhz
Snapdragon 800v2 2.2ghz MSM8974v2
MSM8974v2 2.2ghz PVS 0 - 345mhz
MSM8974v2 2.2ghz PVS 1 - 499mhz
MSM8974v2 2.2ghz PVS 2 - 422mhz
MSM8974v2 2.2ghz PVS 3 - 499mhz
MSM8974v2 2.2ghz PVS 4 - 576mhz
MSM8974v2 2.2ghz PVS 5 - 499mhz
MSM8974v2 2.2ghz PVS 6 - 576mhz
Snapdragon 600 1.7ghz APQ8064 - One M7
APQ8064 1.7ghz PVS 0 - 594mhz
APQ8064 1.7ghz PVS 1 - 594mhz
APQ8064 1.7ghz PVS 2 - 702mhz
APQ8064 1.7ghz PVS 3 - 810mhz
APQ8064 1.7ghz PVS 4 - 702mhz
APQ8064 1.7ghz PVS 5 - 810mhz
APQ8064 1.7ghz PVS 6 - 702mhz
Snapdragon 600 1.9ghz APQ8064T - Galaxy S4
APQ8064T 1.9ghz PVS 0 - 702mhz
APQ8064T 1.9ghz PVS 1 - 702mhz
APQ8064T 1.9ghz PVS 2 - 702mhz
APQ8064T 1.9ghz PVS 3 - 810mhz
APQ8064T 1.9ghz PVS 4 - 702mhz
APQ8064T 1.9ghz PVS 5 - 702mhz
APQ8064T 1.9ghz PVS 6 - 702mhz
best min frequency:
lowest possible setting (300mhz in case of MSM8974)
i highly recommend to run those values (exept if you are actually playing demanding 3d games).
use trickster mod frequency lock feature to do so. you will experience amazing battery life.
how to get the maximum battery life:
if you have a MSM8974AB pvs 6 for example, try the following steps:
try the next higher pvs levels (pvs7). don't try AC pvs values on AB chips.
AB chips are binned for lower frequencies while AC are binned for higher frequencies (duh).
so if you have a AB chip, work your way up the AB pvs values until you have freezes or similar and move back.
if you have a AC chip, work your way up the AC pvs values etc...
if you found highest setting that does not cause any problems after intensive testing and usage:
congratulations, you did it.
how to get the maximum frequency:
first try higher than stock maximum clock and see how it behaves.
if you don't reach your desired clockspeed, try the next lower pvs setting of your chip. yes, i said LOWER.
this gives the processor more voltage to reach higher overclocks.
i don't recommend it tho since we all want our phones to last as long as possible usually.
Thank you very much to @flar2 for all his work, and assisting people like me to port it to a device that otherwise would have no such love!
Gigantic thanks to @franciscofranco for his additions, fixes, and mako_hotplug!
Thank you to @Evolutionmods for helping me get this started, and for crucial fixes I would have no idea how to fix!
Thank you to @NineInchNails
@Captain_Throwback
@Vinchenzop
@Dubbsy
@Grommish
@Treken
These guys all have helped in very pivotal ways ,and I would not be at the understanding of android that I am today without them. Truly, thank you for being awesome helpful people!
Last but not least, thanks to these doods for helping test before release!
@kaosb0x
@shadowxaero
@stovo06
@dandan2980
Good one on mpdecision among other good stuff
Governors and schedulers explained:
http://forum.xda-developers.com/showthread.php?t=1687578
http://forum.xda-developers.com/galaxy-s2/general/ref-kernel-governors-modules-o-t1369817
http://tinzdroid.blogspot.com/2012/07/android-kernel-governors-modules-io.html
http://forum.xda-developers.com/showpost.php?p=21638852&postcount=56
PVS explained:
https://developer.qualcomm.com/forum/qdn-forums/general-discussion/27244
http://forum.xda-developers.com/showthread.php?t=2228246
http://www.oppoforums.com/threads/qualcomm-cpu-binning-is-yours-slow-nominal-fast-or-faster.2842/
Awesome! Another kernel that looks amazing! And mako_hotplugging... Winner right here
Sent from my XT1097 using Tapatalk
Oh Snap, what is going on Mass, Glad to see your kernel all over the place. Thought I was in the Sprint forums for a sec.
About time we got a new kernel.
Thanks a lot @MassStash. Will report in a bit. Gonna flash now.
skulldreamz said:
Awesome! Another kernel that looks amazing! And mako_hotplugging... Winner right here
Sent from my XT1097 using Tapatalk
Click to expand...
Click to collapse
Holy crap that was fast! thank goodness I nabbed those first three like right a-friggin-way hahahaha. Thanks man, flash and see what happens!?
dandan2980 said:
Oh Snap, what is going on Mass, Glad to see your kernel all over the place. Thought I was in the Sprint forums for a sec.
Click to expand...
Click to collapse
Dan, how the hell you find this so fast!? lolol Thanks man, super stoked to post this one as it's such a larger footprint to see be a part of. Excited to see how much people hate it lol
PSA: this current version is made with venom ramdisk and is flashing a full boot.img with it. Because I'm old school still, spr and vzw have seen some issues with txt and calls. Pretty sure it's that, so I'm looking into using anykernel like asap so that the zImage is simply injected into which ever rom you are on. Also, when I do this, I will be able to use one download link for all variants because it is already the same exact zImage and dt.img being used as I have the unified dtb's from capt's brilliant brain. Everything should work great, just wanted to make sure I gave everyone a heads up before the complaints. Thanks a million to anyone that joins in here, and happy thanksgivin to the USA peeps!
skulldreamz said:
Awesome! Another kernel that looks amazing! And mako_hotplugging... Winner right here
Sent from my XT1097 using Tapatalk
Click to expand...
Click to collapse
Just a heads up dunno if it still exists but after you flash the kernel changing the frequency caused the CPU freq to stick at 300mhz not sure if Mass has worked this out or not.
So just make sure not to change freq in an app just reflash kernel and do it with in the aroma if changing causes lag this is why other than that this kernel is freaking beast
dandan2980 said:
Just a heads up dunno if it still exists but after you flash the kernel changing the frequency caused the CPU freq to stick at 300mhz not sure if Mass has worked this out or not.
So just make sure not to change freq in an app just reflash kernel and do it with in the aroma if changing causes lag this is why other than that this kernel is freaking beast
Click to expand...
Click to collapse
There ya to again @dandan2980 stealing my THUUUNDAAAAAA again.
At least you didn't write up a 2,000 word essay this time to simply say "don't change the frequencies or you'll have to reflash" :thumbup:
???
Don't forget the thanks button for EVERYONE that has helped you.
stovo06 said:
There ya to again @dandan2980 stealing my thunder again.
At least you didn't write up a 2,000 word essay this time to simply say "don't change the frequencies it you'll have to reflash" :thumbup:
???
Don't forget the thanks button for EVERYONE that has helped you.
Click to expand...
Click to collapse
lol that's awesome. Glad to see my only 2 groupies have showed to show their blessings! These guys have been running this for a while on spr variant, and very knowledgeable so feel free to ask questions and one of us three will do our best to get at ya with useful response. These guy's responses are usually more useful than mine haha
After flashing, I changed a few things in fauxclock and phone was extremely laggy. However, after a full reboot, everything is running buttery smooth. Will report on battery life later. Thanks again. ?
TheKnux said:
After flashing, I changed a few things in fauxclock and phone was extremely laggy. However, after a full reboot, everything is running buttery smooth. Will report on battery life later. Thanks again. ?
Click to expand...
Click to collapse
Reflash kernel and don't change the cpu freq at all in a cpu app you can only change freq in the aroma installer a little bug that needs to be worked out
Very good kernel
So far so good
Thanx for the great job
This kernel is great so far awesome work dev.
MultiRom support?
HC4Life said:
MultiRom support?
Click to expand...
Click to collapse
Well it's based on flar's kernel so I'd imagine yeah...correct me if I'm wrong tho
Sent from my iPhone using Tapatalk
ssojyeti2 said:
Well it's based on flar's kernel so I'd imagine yeah...correct me if I'm wrong tho
Sent from my iPhone using Tapatalk
Click to expand...
Click to collapse
I will try. Thx
I got distorted sound during phone calls with this kernel (same as with lyapota's one). How to solve it?
lulonen said:
I got distorted sound during phone calls with this kernel (same as with lyapota's one). How to solve it?
Click to expand...
Click to collapse
On your end or other users? Just spoke to my mother and she sounded clear, but said it sounded statically.
Sent From My HTC One (M8)

[Kernel] Krait kernel for stock android 6.0 (v5)

[Kernel] Krait kernel for stock android 6.0 (v5)
Code:
/* *** Disclaimer
* [COLOR="Red"]Your Warranty is now Void![/COLOR]
* I am 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 KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Development stopped because i don't have this device anymore.​
Click to expand...
Click to collapse
Features;
Compiled with GCC toolchain 4.8 with various build optimizations (-O3 and GCC Tweaks for Cortex A15)
Improved and updated interactive governor (no need for other millions of governors)
Voltage Control
ARMv7 tweaks
Cpu underclock 268mhz
GPU underclock (100MHz)
GPU idles at 27mhz
Savoca's Advanced Color Control
Mutex tweaks
Fsync enabled by default
Many sched related improvements and fixes
New hotplug infrastructure from 3.10.x kernel
Disabled many debug option to reduced overhead of the kernel
Disabled Zram to reduced overhead
Silenced various kernel logs
Disabled crc check
Sound control for headphone and mic
FIOPS i/o scheduler
Frandom support
vibration control
TCP Westwood
Disable CPU L2 cache PC during video sessions (longer video playback time)
Many other small tweaks*(check git)
Installation instructions
Always make a Full backup first, or at-least make system+boot backup.
1.Flash stock boot.img or install patched boot.img from here
2.Install Su or skip this if you have installed patched boot.img from here
3.Install krait_kernel.zip
it's recommended to do this for every time you update this kernel. dirty flashing could give you troubles.
Click to expand...
Click to collapse
Download
How to tweak this kernel:
- Install Kernel Adiutor or Synapse
- for Synapse, flash Krait_UKM.zip in recovery before installing apk from store
Reminder - synapse isn't officially supported for victara i tried to make it work.
Enjoy!
Thanks to these people. i stole alot of stuff from them to make this possible.
franciscofranco, RenderBroken, Neobuddy89, ak, myfluxi, Dorimanx, Savoca, Faux123, Flashhhh, Kaminari, hurtsky osm0sis and Many More!
XDA:DevDB Information
[Kernel] Krait kernel for moto x 2014, Kernel for the Moto X 2014
Contributors
kraatus90
Source Code: https://github.com/kraatus90/MotoX_Kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 5.0
Stable Release Date: 2016-03-10
Created 2016-01-11
Last Updated 2016-03-12
# changelog
# Changelog: #5
6afea6b (HEAD, origin/testv5, testv5) wcd9320: add a simple sysfs interface that allows for headphone and mic register value customization. You're able to increase or decrease the sound gain of those two int
d4c5a68 cpufreq: Set min/max frequencies
9bda582 cpu: fix section mismatch warnings with __hotcpu_register
d2038af profile: Fix CPU hotplug callback registration
12a5ff1 trace, ring-buffer: Fix CPU hotplug callback registration
71b297f drivers/base/topology.c: Fix CPU hotplug callback registration
48961cc arm, hw-breakpoint: Fix CPU hotplug callback registration
28cc28d CPU hotplug, perf: Fix CPU hotplug callback registration
f903d63 net/core/flow.c: Fix CPU hotplug callback registration
c84456f mm, vmstat: Fix CPU hotplug callback registration
b2b0378 perf, cpu hotplug: Use cached value of smp_processor_id()
f580195 perf, cpu hotplug: Run CPU_STARTING notifiers with irqs disabled
af42728 Doc/cpu-hotplug: Specify race-free way to register CPU hotplug callbacks
33853c5 CPU hotplug: Provide lockless versions of callback registration functions
5843c25 Mmc: do not build tests
7547d35 Add /dev/frandom
61ce616 Zram:disable for now
bb202d1 VFP: make it mhard-float
5c2126a Defconfig:update
cf8160a Update:Makefile
b04fde6 sched: rt: use printk_sched instead of printk_deferred
c9e26a0 mm: readahead to 512
5270046 drv2605: vibe strength control
d7d04cb kernel: Reduce dmesg spam
5cf41f6 debug: remove: remove some dmesg logspam from Linux mainline 3.4 fs
a0d163b msm: watchdog-v2: Trace IRQ when watchdog bites
4f98226 msm: watchdog_v2: Print IRQ during bark
6d45132 block: row: add magic values.
6af17c6 mm, oom: base root bonus on current usage
050e213 mm: vmscan: support complete shrinker reclaim
0d51036 sysfs: check if one entry has been removed before freeing
ab4f410 PM: don't use [delayed_]work_pending()
c860f2f net: inet_diag: zero out uninitialized idiag_{src,dst} fields
1921c47 FROMLIST: arm: mm: support ARCH_MMAP_RND_BITS.
cb6a4e2 FROMLIST: mm: mmap: Add new /proc tunable for mmap_base ASLR.
f9a457e UPSTREAM: include/linux/poison.h: fix LIST_POISON{1,2} offset
19f5cd7 UPSTREAM: proc: actually make proc_fd_permission() thread-friendly
6bbd842 UPSTREAM: proc: make proc_fd_permission() thread-friendly
d997ed3 debugobjects: Make debug_object_activate() return status
58b7b81 cfq-iosched: fix the setting of IOPS mode on SSDs
5901472 cpufreq: cpu-boost: don't boost over user set max freq
3430b4d cpufreq: cpu-boost: export input_boost_enable to userspace
a94224b ksm: Provide support to use deferred timers for scanner thread
52f4302 sched/rt: Reduce rq lock contention by eliminating locking of non-feasible target
ee9905c sched: Change autogroup_move_group() to use for_each_thread()
dc82830 sched: s/do_each_thread/for_each_process_thread/ in debug.c
6bb51d8 sched: s/do_each_thread/for_each_process_thread/ in core.c
2218ac8 sched: Fix exec_start/task_hot on migrated tasks
8c814bc sched/fair: Avoid integer overflow
e5c1c82 sched/core: Fix an SMP ordering race in try_to_wake_up() vs. schedule()
63aaee4 sched: Fix RLIMIT_RTTIME when PI-boosting to RT
718ce09 sched: Queue RT tasks to head when prio drops
8411045 futexes: Increase hash table size for better performance
1f9b4aa timer: reduce cache bouncing of deferral timer wheel
2821133 timer: make deferrable cpu unbound timers really not bound to a cpu
7e62d2c timer: Clean up timer initializers
d81cd39 timer: Generalize timer->base flags handling
797337e sched/fair: rq might've been uninitialized, so fix it
a717f0a sched/balancing: Reduce the rate of needless idle load balancing
c502573 sched/fair: Stop searching for tasks in newidle balance if there are runnable tasks
8e17745 mm/slub: don't wait for high-order page allocation
8d91f44 sched: Fix race in idle_balance()
c73412e fs/buffer.c: increase the buffer-head per-CPU LRU size
ed6c7ed msm: vidc: disable debug logs
89a649b PM / QoS: Fix workqueue deadlock when using pm_qos_update_request_timeout()
a774527 timer: Prevent overflow in apply_slack
943971f ksoftirqd: Enable IRQs and call cond_resched() before poking RCU
3f4975b sched: fix try_to_wake_up()
b77497b msm: vidc: Check for active handle before updating the QoS request
b733332 msm: ipc_socket: fix leak of kernel memory to userspace
913aab5 tools/include: use stdint types for user-space byteshift headers
e2ef859 sched: Force sleep on consecutive sched_yields
c9b7643 wireless: bcmdhd: halve rx and ctrl wakelock timeout by half
bb87ced wakeup: add toggles for wlan wakelocks. They are all enabled by default, it's up to the user and I provide no support if Wi-Fi stops working normally without these locks enabled. This is for advanced
5d2d297 Input: optimize events_per_packet count calculation
2f41bac soc: qcom: smd: Fix SMD packet sync loss issue
8f1d995 net: rps: fix cpu unplug
859a9bd msm: vidc: Initialize kernel space stack variables
8733005 perf/init/debug: disable some debug
f3f955f msm: vidc: disable CPU L2 cache PC during video sessions
625b7d9 lowmemorykiller: use for_each_thread instead of buggy while_each_thread
4998b26 mm, vmalloc: remove useless variable in vmap_block
f9010f25 mm, vmalloc: use well-defined find_last_bit() func
fa021a7 block: Reserve only one queue tag for sync IO if only 3 tags are available
5598cf4 readahead: make context readahead more conservative
32ef0bc writeback: fix race that cause writeback hung
21a777c sync: don't block the flusher thread waiting on IO
7e5873c binfmt_elf.c: use get_random_int() to fix entropy depleting
3435580 writeback: fix writeback cache thrashing
d00823d mm: vmscan: If kswapd has been running too long, allow it to sleep
be32979 CPU hotplug, writeback: Don't call writeback_set_ratelimit() too often during hotplug
963eee9 jiffies: Fix timeval conversion to jiffies
536a298 sched, smp: Correctly deal with nested sleeps
15ff7a4 smpboot: Add missing get_online_cpus() in smpboot_register_percpu_thread()
3538ea1 msm: bam_dmux: Reduce debug logs to avoid watchdog bite
9ec39f1 tty: fix memleak in alloc_pid
622c2fb arm: irq: Tone down kernel logging
b64ca33 msm: kgsl: Do not detect faults when GPU core is idle
3dfbacf Input: fix defuzzing logic
bf0028f genirq: Sanitize spurious interrupt detection of threaded irqs
d080723 futex-prevent-requeue-pi-on-same-futex.patch futex: Forbid uaddr == u…
179e59b futex: Prevent attaching to kernel threads
563f8aa hrtimer: Set expiry time before switch_hrtimer_base()
5349d95 hrtimer: Prevent remote enqueue of leftmost timers
df82420 hrtimer: Prevent all reprogramming if hang detected
8f21cfb msm: kgsl: Fix Z180 memory leak
4e6c321 sched: Remove stale power aware scheduling remnants and dysfunctional knobs
f40a949 sched/fair: Improve the ->group_imb logic
fa512a1 sched/nohz: Fix rq->cpu_load[] calculations
095d95b sched/fair: Revert sched-domain iteration breakage
f7e9b19 sched/fair: Propagate 'struct lb_env' usage into find_busiest_group
fd82152 sched/fair: Add some serialization to the sched_domain load-balance walk
74a7c29 sched/fair: Let minimally loaded cpu balance the group
a5abc61 sched: Change rq->nr_running to unsigned int
5a9a93d sched/idle: Avoid spurious wakeup IPIs
db4484d cpufreq: Correct the data reported in all_time_in_state
17f81c1 Revert "cpufreq: stats: Initialize all_freq_table earlier"
973a7e1 msm: kgsl: Report correct GPU frequency in sysfs
5956b51 PM / devfreq: Fix simple_ondemand crashing
14bfafb net: add validation for the socket syscall protocol argument
b703289 Revert "cpufreq: make the "scaling_cur_freq" sysfs entry pollable"
03374b4 sched/fair: Implement fast idling of CPUs when the system is partially loaded
2696062 msm: slimbus: use interruptible wait to reduce system's load average
38c4dc4 msm_bam_rmnet: Fix potential memory corruption
0069ff3 mm: slub: Default slub_max_order to 0
12b0b62 jiffies conversions: Use compile time constants when possible
9c79bcd sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire. From http://ripke.com/loadavg/moire
e927006 af_unix: speedup /proc/net/unix /proc/net/unix has quadratic behavior, and can hold unix_table_lock for a while if high number of unix sockets are alive. (90 ms for 200k sockets...)
d94a897 audit: Imma let you finish, but shut up
8cd0dc1 ARM: make kernel oops easier to read
ee3e7a4 SELinux: Fix memory leak upon loading policy
7e5b5bf selinux: just shut up
0989a88 PM / Wakeup: Use rcu callbacks for better performance
db762b4 rcu: Add RCU_FAST_NO_HZ tracing for idle exit
7604264 Revert "rcu: Precompute RCU_FAST_NO_HZ timer offsets"
f7301e5 rcu: Add a module parameter to force use of expedited RCU primitives
cab93e6 sched: move task load based functions
bc620db sched: window-based load stats improvements
1b14e09 sched: Add min_max_freq and rq->max_possible_freq
f1a928f sched/rt: Add Kconfig option to enable panicking for RT throttling
88c294d sched/rt: print RT tasks when RT throttling is activated
7a4d123 sched: Skip load update for idle task
4aa6e0f sched/debug: Fix sd->*_idx limit range avoiding overflow
c4e588e5 sched/debug: Limit sd->*_idx range on sysctl
0c9b903 sched: Fix memory leakage in build_sched_groups()
65360fe sched: window-stats: Fix overflow bug
973786d sched: Window-based load stat improvements
1422060 sched: Disable wakeup hints for foreground tasks by default
9bfe0bb sched: Call the notify_on_migrate notifier chain for wakeups as well
aff4b51 sched: Fix double normalization of vruntime
2ef42f3 cpufreq: cpu-boost: Introduce scheduler assisted load based syncs
fa975fc sched: window-based load stats for tasks
8dd0fc4 sched: Make scheduler aware of cpu frequency state
66c0b1d mach-msm: disable kernel-side mpdecision
21fbeb4 cpufreq: Fix broken uevents for cpufreq governor and cpu devices
b1310d4 drivers: cpufreq: Send a uevent when governor changes
db9e96e ARM: Use TTBR1 instead of reserved context ID
c13a269 ARM: 7408/1: cacheflush: return error to userspace when flushing syscall fails
7b00f49 ARM: 7569/1: mm: uninitialized warning corrections
5444b08 ARM: 7784/1: mm: ensure SMP alternates assemble to exactly 4 bytes with Thumb-2
0f84328 ARM: 7691/1: mm: kill unused TLB_CAN_READ_FROM_L1_CACHE and use ALT_SMP instead
6e1f51e ARM: 7660/1: tlb: add branch predictor maintenance operations
1c7271c ARM: 7678/1: Work around faulty ISAR0 register in some Krait CPUs
aadf715 ARM: 7752/1: errata: LoUIS bit field in CLIDR register is incorrect
120d169 ARM: 7606/1: cache: flush to LoUU instead of LoUIS on uniprocessor CPUs
8f52276 ARM: 7747/1: pcpu: ensure __my_cpu_offset cannot be re-ordered across barrier()
0c051fe ARM: 7587/1: implement optimized percpu variable access
97c8035 ARM: 7680/1: Detect support for SDIV/UDIV from ISAR0 register
77864d4 lib: cpu_rmap: avoid flushing all workqueues
6165388 ARM: gic: use a private mapping for CPU target interfaces
eb06ced ARM: 7573/1: idmap: use flush_cache_louis() and flush TLBs only when necessary
14dc1d7 ARM: 7542/1: mm: fix cache LoUIS API for xscale and feroceon
c278843 ARM: cpu hotplug: remove majority of cache flushing from platforms
14dc1b2 ARM: smp: flush L1 cache in cpu_die()
6519af4 ARM: Don't dump vmalloc addresses with show_data()
1458313 kthread: Fix the race condition when kthread is parked
720e8a8 ARM: 7449/1: use generic strnlen_user and strncpy_from_user functions
e5a3e0f cpufreq: ondemand: Remove unused waitqueue
b8bf739 cpufreq: ondemand: Use hotplug thread infrastructure
7af4775 cpufreq: ondemand:kernel NULL pointer dereference at dbs_check_cpu
78d14c2 cpu: Fix generic idle thread allocation
880f06f smp: Add task_struct argument to __cpu_up()
c2c57e8 stop_machine: Mark per cpu stopper enabled early
f6f0363 stop_machine: Use smpboot threads
6bd3207 stop_machine: Cleanup for upstream
e565ceb stop_machine: Store task reference in a separate per cpu variable
c756e09 kthread: Prevent unpark race which puts threads on the wrong cpu
d863f50 smpboot: Allow selfparking per cpu threads
acb1cd5 hotplug: Fix UP bug in smpboot hotplug code
68230ae smpboot: Provide infrastructure for percpu hotplug threads
8280e3b kthread: Implement park/unpark facility
6616f77 smpboot, idle: Optimize calls to smp_processor_id() in idle_threads_init()
d1088c2 smp, idle: Allocate idle thread for each possible cpu during boot
5731b3e fix smp err
2114883 smp: Provide generic idle thread allocation
90e058d smp: Add generic smpboot facility
3888603 Revert "Revert "ACPI / processor: prevent cpu from becoming online""
521ad99 Revert "[backport] Hotplug thread infrastructure"
e8658e0 Revert "kthread: Fix the race condition when kthread is parked"
2e3fd0d Revert "kthread_work: wake up worker only when the worker is idle"
87d7906 ARM: 7685/1: delay: use private ticks_per_jiffy field for timer-based delay ops
610a510 ARM: 7653/2: do not scale loops_per_jiffy when using a constant delay clock
4d8dd17 ARM: add cpufreq transiton notifier to adjust loops_per_jiffy for smp
dc1902d ARM: smp: BUG() if smp_send_reschedule() is called for an offline cpu
0797616 sched: remove duplicate code
38c2d49 cma: Add support for memory limits
045aa73 mm: reorder can_do_mlock to fix audit denial
ab73330 md: use kzalloc() when bitmap is disabled
1de6bdd KEYS: Fix crash when attempt to garbage collect an uninstantiated keyring
c1f27ee KEYS: Fix race between key destruction and finding a keyring by name
bd9e9df KEYS: Add invalidation support
6e2a700 msm:rq_stats: Register for Cpufreq policy notification
ee0d0ed cpufreq: Introduce new relation for freq selection
6ed865f Input: Send events one packet at a time
65c1ca4 cpufreq: Break out early when frequency equals target_freq
00c854e cpufreq: Optimize cpufreq_frequency_table_verify()
8027079 KEYS: Permit in-place link replacement in keyring list
2b7f5d0 KEYS: Perform RCU synchronisation on keys prior to key destruction
b73ab9e KEYS: Fix handling of stored error in a negatively instantiated user key
414de40 ipv6: addrconf: validate new MTU before applying it
0a5a4bc net: fix iterating over hashtable in tcp_nuke_addr()
7f72c8b pagemap: do not leak physical addresses to non-privileged userspace
e65e7c2 __ptrace_may_access() should not deny sub-threads
7ea393e cpufreq: stats: Initialize all_freq_table earlier
8e0b605 Revert "trace: memkill: trace LMK and OOM kills"
8a3e53a mm, oom: make dump_tasks public
dee4ca9 introduce for_each_thread() to replace the buggy while_each_thread()
c6aa414 mm: Add notifier framework for showing memory
3bad3ea mm: vmpressure: allow in-kernel clients to subscribe for events
8a8f89c memcg: add memory.pressure_level events
5a6981d cpufreq: Resolve CPUFREQ_NOTIFY issue
7c703c9 sched: Micro-optimize the smart wake-affine logic
12d1659 sched: Implement smarter wake-affine logic
5928d20 cpufreq: Remove unnecessary initialization of a local variable
8006605 wlan: Address buffer overflow due to invalid length
c861c89 net: add length argument to skb_copy_and_csum_datagram_iovec
40ff4dc tcp_cubic: do not set epoch_start in the future
c6c633d tcp_cubic: better follow cubic curve after idle period
4e77cf6 PM / Freezer: Fix small typo "regrigerator"
b14d5e2 Revert "freezer: comment out might_sleep()"
56468fe PM: Remove legacy code leftovers
559ed78 block: fiops ioscheduler core
7b29020 block: Make CFQ default to IOPS mode on SSDs
3a20184 power: msm_battery: increase battery check interval from 5 to 15 seconds
ec6ed21 mutex: back out architecture specific check for negative mutex count
e12db09 mutex: Queue mutex spinners with MCS lock to reduce cacheline contention
6f6e5b0 mutex: Make more scalable by doing less atomic operations
afc372f ARM: 7592/1: nommu: prevent generation of kernel unaligned memory accesses
dc2fe65 ARM: 7492/1: add strstr declaration for decompressors
5a8ab82 ARM: 7493/1: use generic unaligned.h
4d611b5 arch/arm/Kconfig: enable unaligned capability for ARM
6c78fab ARM: 7583/1: decompressor: Enable unaligned memory access for v6 and above
86cd07a ARM: mutex: use generic atomic_dec-based implementation for ARMv6+
bd7b7a0 AIO: Don't plug the I/O queue in do_io_submit() Asynchronous I/O latency to a solid-state disk greatly increased between the 2.6.32 and 3.0 kernels. By removing the plug from do_io_submit(), we obser
303630c ARM: mm: update __v7_setup() to the new LoUIS cache maintenance API
a86018a ARM: kernel: update __cpu_disable to use cache LoUIS maintenance API
2b47fd0 ARM: mm: rename jump labels in v7_flush_dcache_all function
1c6c4fa block: deadline: Optimize for non-rotational
0738af0 block: Disable add_random
89b6761 xz: Optimize Sfck Compression
ed66b18 writeback: increase bdi_min_ratio to 5
bda990f Revamp spinlock ASM code
064a28f Optimize slub by not using fair sleepers
8cbac7c zlib: clean up some dead code
f6d079e mmc: Disable crc check
bf53cf4 lib/int_sqrt.c: optimize square root algorithm
b185a2f lib/memcopy: use glibc version
6665e6d lib/string: use glibc version
467cd03 Added optimized ARM RWSEM algorithm.
5dd6637 power: qpnp-bms-mmi: Fix devm_kfree warning caused by NULL pointer
653dae4 Slim_ngd: Don't create the device node per SSR
b6e78e5 ASoC: msm: qdsp6v2: add support for any number of ASM buffers
84057de PM: devfreq: Fix simple_ondemand crashing on startup
2323709 udp: fix behavior of wrong checksums
17a372d ALSA: Export audio effects header
5300fd9 Fix sizeof-pointer-memaccess warning with gcc 4.8
f7037db Revert "Implement new IPV6 filter logic"
7097427 staging: prima: Add config for Motorola UTAGS MAC feature Use a kernel config to decide whether the MAC address should be read from the boot parameters or NV file.
83fbe9b ipv6: Don't reduce hop limit for an interface
ade627e netfilter: nf_conntrack: reserve two bytes for nf_ct_ext->len
cc2dbf5 mm: Fix NULL pointer dereference in madvise(MADV_WILLNEED) support
735e913 netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages
5a077d3 eCryptfs: Remove buggy and unnecessary write in file name decode routine
038f916 netfilter: conntrack: disable generic tracking for known protocols
2a6555e KEYS: close race between key lookup and freeing
cd14ada tracing/syscalls: Ignore numbers outside NR_syscalls' range
4079cb9 tracing/syscalls: Fix perf syscall tracing when syscall_nr == -1
6cc62e7 ipv4: try to cache dst_entries which would cause a redirect
043e904 futex: Make lookup_pi_state more robust
66a7506 futex: Always cleanup owner tid in unlock_pi
f6a1a23 futex: Validate atomic acquisition in futex_lock_pi_atomic()
cf69752 android: drivers: workaround debugfs race in binder
be0731e sched: Introduce temporary FAIR_GROUP_SCHED dependency for load-tracking
b58e214 sched: Make __update_entity_runnable_avg() fast
21b9fa1 sched: Update_cfs_shares at period edge
f077267 sched: Refactor update_shares_cpu() -> update_blocked_avgs()
eb018d6 sched: Replace update_shares weight distribution with per-entity computation
309fb81 sched: Maintain runnable averages across throttled periods
ce87b09 sched: Normalize tg load contributions against runnable time
aa96e2c sched: Compute load contribution by a group entity
f0cee3f sched: Aggregate total task_group load
540dd8c sched: Account for blocked load waking back up
b8823e3 sched: Add an rq migration call-back to sched_class
3e21ad0 sched: Maintain the load contribution of blocked entities
ec015f4 sched: Aggregate load contributed by task entities on parenting cfs_rq
fb594e3 sched: Maintain per-rq runnable averages
1b23ef9 sched: Track the runnable average on a per-task entity basis
28dacc9 sched: Fix reference to stale task_struct in try_to_wake_up()
d4ca76d cpufreq: interactive: Do not reschedule timer if policy->max changes
7c0f9ed cpufreq: interactive:call __cpufreq_driver_target() for cur frequency
f72dcfb cpufreq: interactive: don't skip waking up speedchange_task if target_freq > policy->cur
c3eb51c cpufreq: interactive: prevents the frequency to directly raise above the hispeed_freq from a lower frequency.
2178b29 cpufreq: interactive: Replace strict_strtoul with kstrtoul
7ec2d7e cpufreq: interactive: Reschedule timer if min_freq is reduced
04c313f CHROMIUM: cpufreq: interactive: calculate load before freq change
4f3a048 cpufreq: interactive: Rearm governor timer at max freq
f9b849c CHROMIUM: Replace obsolete strict_strtoul calls.
b8d5775 CHROMIUM: cpufreq: interactive: free above_hispeed_delay on exit
4147877 CHROMIUM: cpufreq: interactive: validate above_hispeed_delay
518096f cpufreq: interactive: Honor boosted state in several timer calculations
4c42e7d cpufreq: interactive: Consider changed min limit a frequency boost
fbc7025 cpufreq: interactive: Honor changed minimum frequency
63d4c3d cpufreq: interactive: Record hispeed_validated_time in timer function
079016c cpufreq: interactive: Exercise hispeed settings at a policy level
bd2dfda cpufreq: interactive: Make window alignment optional
e357905 cpufreq: interactive: Add max_freq_hysteresis feature
ae461a8 cpufreq: interactive: Use del_timer/add_timer_on to rearm timers
9c6a572 cpufreq: interactive: Round up timer_rate to match jiffy
8c7abe7 cpufreq: interactive: Reset last evaluated jiffy in idle callback
f6b4469 cpufreq: interactive: Align timer windows for all CPUs
fc43cc7 cpufreq: interactive: Squashed cleanup patches
2bc950c cpufreq: interactive: Move definition of cpufreq_gov_interactive downwards
acd4700 cpufreq: interactive: Remove unnecessary cpu_online() check
f4826cd cpufreq: interactive: Don't reset sampling down factor at max freq
fe4155b cpufreq: cpu-boost: Use one work to remove input boost for all CPUs
8315fe4 cpufreq: cpu-boost: Support separate input_boost_freq for different CPUs
feeb07b cpufreq: cpu-boost: Make the code 64 bit compatible
5ba64c6 cpufreq: Sync on thread migration optimizations
2448598 cpufreq: interactive: get_cpu_idle_time_* are now on cpufreq.c
3a4b367 cpufreq: Protect against hotplug in cpufreq_register_driver()
f410c36 cpufreq: Return directly in __cpufreq_get if policy is NULL
8bd6da2 cpufreq: Move get_cpu_idle_time() to cpufreq.c
4d763b7 cpufreq: cpu-boost: Re-issue boosts above minimum frequency
37c57b0 cpufreq: cpu-boost: Resolve deadlock when waking up sync thread
eea0280 kthread_work: wake up worker only when the worker is idle
d6ca760 tick: Upstream fixes
cdd1423 kthread: Fix the race condition when kthread is parked
530368f softirq: reduce latencies
834472e mdss: use an interruptible thread on edp to reduce load_average
e92a8ab msm: Fix high load average from uninterruptible waits
67ac256 rcu: Use smp_hotplug_thread facility for RCUs per-CPU kthread
a25d421f rcu: Yield simpler
ee26be6 softirq: Use hotplug thread infrastructure
97dd4c8 [backport] Hotplug thread infrastructure
9ada5c8 Revert "ACPI / processor: prevent cpu from becoming online"
bec358a msm: do not compile rq_stats.
b99423d Revert "sched_avg: add run queue averaging."
360b4d2 fs: sync: add missing return if fsync is disabled from userspace.
5c37eba fs: sync: enable fsync by default.
ed9664f Added fsync on/off support.
b789f46 Enable pipe flag.
7eb8f75 Remove '+' symbol from kernel version string
87a2d30 mach: msm: fix mismatch.
e5c580d Defconfig: generate victara_defconfig
2400b0b Staging: remove android logger
4f0c232 Voltage Control: generic voltage control for DTS based kernels
19cd6bb add lower cpu and gpu clocks
7175f55 video: mdss: Report PCC values from pp registers
54bd91a msm: mdss: KCAL: Remove deprecated __dev* markings
2115223 msm: mdss: Add pa_v2 support to KCAL
7c69fb0 msm: mdss: Replace PGC implementation with PCC for KCAL
8b7369b msm: mdss: Add KCAL support for post processing control [v2]
811c441 video: mdss: Color temperature interface using PCC
1ab7fd8 Fix warning - TODO: return_address should use unwin...
8c5a1f3 cpufreq: interactive: fix compiling warnings
eccc032 msm: use of swp{b} is deprecated for ARMv6+
0d53401 Prima:add vendor-qcom-opensource-wlan-prima-marshmallow-6.0.0-release-victara
d13f7bb Makefile:remove REAL_CC wrapper call, strip module, optimize
5f3172c Fix: compilation errors
935ac7b FS: merg moto f2fs
63cf94f Update: gitignore
# Changelog: Lite #1
820e5da nohz: Reduce overhead under high-freq idling patterns
e9b7f0f disable crc check
69367db msm: slimbus: use interruptible wait to reduce system's load average
bf5ab31 arm: irq: Tone down kernel logging
f4c5965 msm: vidc: disable CPU L2 cache PC during video sessions
7790eff perf/init/debug: disable some debug
21900d7 wakeup: add toggles for wlan wakelocks. They are all enabled by default, it's up to the user and I provide no support if Wi-Fi stops working normally without these locks enable
81b7791 PM: devfreq: Fix simple_ondemand crashing on startup
8909b2c block: Disable add_random
f3674bc staging: prima: Add config for Motorola UTAGS MAC feature
5fc6bb2 prima: Add config for Motorola UTAGS MAC feature
9a96036 Defconfig: enable advanced TCP
c79ba61 msm: kgsl: Do not detect faults when GPU core is idle
b144d3f msm: kgsl: Report GPU frequency correctly in sysfs
c19a9c8 msm: kgsl: Fix Z180 memory leak
a308649 deadline: Allow 0ms deadline latency, increase the read speed
54db630 block: fiops bias sync workload
86f13c1 block: fiops preserve vios key for deep queue depth workload
90ebcc9 block: fiops add ioprio support
dac39e4 block: fiops sync/async scale
d920f79 block: fiops read/write request scale
966d10d block: fiops ioscheduler core
155ac6f block: row: add magic values.
5cb3e08 block: deadline: Optimize for non-rotational
7908317 cfq-iosched: fix the setting of IOPS mode on SSDs
5d433a0 block: Make CFQ default to IOPS mode on SSDs
0e8d1f3 wcd9320: add a simple sysfs interface that allows for headphone and
bfb8bce mm: readahead to 512
be12cf0 drv2605: vibe strength control
e5c580d Defconfig: generate victara_defconfig
2400b0b Staging: remove android logger
4f0c232 Voltage Control: generic voltage control for DTS based kernels
19cd6bb add lower cpu and gpu clocks
7175f55 video: mdss: Report PCC values from pp registers …
54bd91a msm: mdss: KCAL: Remove deprecated __dev* markings …
2115223 msm: mdss: Add pa_v2 support to KCAL …
7c69fb0 msm: mdss: Replace PGC implementation with PCC for KCAL …
8b7369b msm: mdss: Add KCAL support for post processing control [v2] …
811c441 video: mdss: Color temperature interface using PCC
1ab7fd8 Fix warning - TODO: return_address should use unwin...
8c5a1f3 cpufreq: interactive: fix compiling warnings …
eccc032 msm: use of swp{b} is deprecated for ARMv6+ …
0d53401 Prima:add vendor-qcom-opensource-wlan-prima-marshmallow-6.0.0-release… …
d13f7bb Makefile:remove REAL_CC wrapper call, strip module, optimize
5f3172c Fix: compilation errors …
hello fantastic kernel for stock.. very thanks for working kernel stock
regards..
Great kernel with support for stock Kcal 6.0, Thanks
Awesome job buddy, working perfect on stock xt1097.
Thanks for your kernel, buddy! It sounds wonderful!
Sorry to bother you with this question, but, are there any improvements in sound on this kernel?
Edit: Sorry, didn't read the OP right so, as you said, I'm gently requesting a sound improvement on your kernel please
Great work bro !
Finally a custom kernel for stock ROMs! Working well so far, thanks a bunch!
victor19 said:
Thanks for your kernel, buddy! It sounds wonderful!
Sorry to bother you with this question, but, are there any improvements in sound on this kernel?
Edit: Sorry, didn't read the OP right so, as you said, I'm gently requesting a sound improvement on your kernel please
Click to expand...
Click to collapse
no problemo , as i said i'll see what i can do and hopefully it will be on next update.
btw doesn't it already has a great speaker ? i mean it's pretty loud and clear for me.
Hi, I'm trying to add Kcal support to the last CM13 kernel, I got unpacked yours kernel and CM13, but can not find where I add the code Kcal, I hope can help me, thank you
Enviado desde mi XT1097 mediante Tapatalk
Mennpiko said:
Hi, I'm trying to add Kcal support to the last CM13 kernel, I got unpacked yours kernel and CM13, but can not find where I add the code Kcal, I hope can help me, thank you
Enviado desde mi XT1097 mediante Tapatalk
Click to expand...
Click to collapse
you will need to add these -
https://github.com/kratos090/kernel-motox2014/commits/KRAIT-v1?author=savoca
Wow, I tried to do what you did once, but since college was kepting me so much busy, I didn't try anymore. Just now I was think "it would be cool if someone compiled a stock kernel for us". Great bro, great. I will test tomorrow ( almost 3 am here in Brazil now) and later I report my experience =)
And thanks for trying to turn it compatible with synapse. I like it much more than kernel adiutor =P
And if I would have some request, it would be to have alucard hotplug. Isn't very popular, but I like the controle it gives =)
Finally a custom kernel for stock ! Thanks mate will try later
Edit : done flashing this kernel and all run smoothly. I just figured about fsync, kernel adiutor is showing disabled while you stated in OP, it was enabled by default. Don't know which one is wrong lol.
And one question, I can't find any color profile inside kernel adiutor 'screen' menu, is this supposed to be like that ?
If yes, any chance you'll implementing that feature ?
Thanks.
Sent from my XT1095 using Tapatalk
Thanks for the kernel....
No problems sofar on a xt1092
fajarlazuarding said:
Finally a custom kernel for stock ! Thanks mate will try later
Edit : done flashing this kernel and all run smoothly. I just figured about fsync, kernel adiutor is showing disabled while you stated in OP, it was enabled by default. Don't know which one is wrong lol.
And one question, I can't find any color profile inside kernel adiutor 'screen' menu, is this supposed to be like that ?
If yes, any chance you'll implementing that feature ?
Thanks.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
it is supposed to be enabled by default.
for kcal , you will need to change values by yourself. yes it's supposed to be like that. this is what i use - R-233 , G- 213 . B- 255, saturation intensity - 18. other values are default.
kraatus90 said:
it is supposed to be enabled by default.
for kcal , you will need to change values by yourself. yes it's supposed to be like that. this is what i use - R-233 , G- 213 . B- 255, saturation intensity - 18. other values are default.
Click to expand...
Click to collapse
Thanks for the clarification and setup value. Looks better.
Well, If I can request one more feature, please add backlight dimmer. Really appreciate it
Sent from my XT1095 using Tapatalk
Hi @kraatus90.
I've been compiling a custom kernel for our beloved XT1097 as well and I have plans to make it available here at XDA soon.
Did you manage to flash yours via fastboot? Mine is booting fine by running fastboot boot myKernel.img although this error message is the only thing that I get when I try to permanently flash it via fastboot flash boot myKernel.img:
hab check failed for boot
It's weird since it's 100% pure stock.
I've never tried to flash it via TWRP btw.
Thanks!
Ok, flashed it and everything running smoothly ^^
Flashed UKM and Synapse fully working =)
Thank you @kraatus90 for your work ^^
And as I said before, only request I would make, would be to add alucard hotplug.
glauberlima said:
Hi @kraatus90.
I've been compiling a custom kernel for our beloved XT1097 as well and I have plans to make it available here at XDA soon.
Did you manage to flash yours via fastboot? Mine is booting fine by running fastboot boot myKernel.img although this error message is the only thing that I get when I try to permanently flash it via fastboot flash boot myKernel.img:
hab check failed for boot
It's weird since it's 100% pure stock.
I've never tried to flash it via TWRP btw.
Thanks!
Click to expand...
Click to collapse
make sure that the size of kernel is not more than 9.96 MB , that's the limit . and for reducing the kernel size use xz compression. also even after doing that you will get some warning but it will work. ( same as flashing twrp it gives a warning but recovery still flashes and works) it's because size mismatch.
Vinnom said:
Ok, flashed it and everything running smoothly ^^
Flashed UKM and Synapse fully working =)
Thank you @kraatus90 for your work ^^
And as I said before, only request I would make, would be to add alucard hotplug.
Click to expand...
Click to collapse
first i'll test it by myself and if it's stable and not doing and problems i'll include it in next update. ( although the current hotplug works great )
Awwwwyeeeaaaahhhhhhh! Lots of question, brother!!!!!!!!!
-I have root and Xposed installed, can I install your Kernel or I have to do a "clean" installation?
-This Kernel is compatible with Xposed MM?
-For now, there are any bugs?
And congratulations for your work, I saw many peoples saying good things about This Kernel xD
Edit:
-This Kernel has "Faux sound control" support?
And sorry my bad english xD

[KERNEL][LOS-MM] 09-10-2017 AGNi 🔥 pureLOS-MM v11.0

AGNi pureLOS-MM​
{
"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
CAMERA libs for kenzo/kate: HERE
AGNi Toolbox: HERE
For Android 6.0.x CM/AOSP :
DOWNLOADS pureLOS-MM kernel :- HERE
AGNi pureLOS-MM CHANGELOG:-
AGNi pureLOS-MM v11.0:-
Merge caf/LA.BR.1.3.7_rb1.4
staging: prima: Update to LA.BR.1.3.7_rb1.4
drivers/power: revert qpnp-fg & modify qpnp-smbcharger from LA.BR.1.3.7_rb1.3
Apply pending updates from LA.BR.1.3.7_rb1.3
fs: hack to fix kernel taint warning 512
ASoC:WCD9335: Enhance SLimbus CLK Gear
dts: kenzo: increase thermal mitigation threshold for max 2100mA
kernel/rcu: implement many updates
ANDROID: binder: fix format specifier for type binder_size_t
ANDROID: ARM64: smp: disable preempt in backtracing across all cores
Revert "CHROMIUM: android: binder: Fix potential scheduling-while-atomic"
dts: set gpu initial-pwrlevel 200MHz
AGNi Installer: modify memory management
AGNi Installer: new updated ScreenModes App
AGNi control: tweak cultivation governor
AGNi control: add 1800(hot weather),2000(default),2100mA charging options
AGNi control: set default swappiness 30
AGNi control: set 200Mhz as min gpu default
spectrum: 200Mhz min gpu freq as default balanced profile
Older Changelogs:
AGNi pureLOS-MM v10.9:-
msm: sensor: restore slave address after I2C read
trace: enable CONFIG_DISABLE_TRACE_PRINTK
regulator: core: Use the power efficient workqueue for delayed powerdown
fbcon: queue work on power efficient wq
script : remove dirty defs
tcp: add CDG congestion control (squash commit) and set default
tcp: add sociopath congestion control
netfilter: ensure number of counters is >0 in do_replace()
clockevents: Provide explicit broadcast oneshot control functions
clockevents: Prevent shift out of bounds
sched: Remove finish_arch_switch()
sched: Delete an unnecessary check before unregister_sysctl_table()
posix_cpu_timer: Optimize fastpath_timer_check()
sched/cputime: Fix cpu_timer_sample_group() double accounting
fix up initial thread stack pointer vs thread_info confusion
perf: Optimize group_sched_in()
perf: Remove useless atomic_t
ktime: Fix ktime_divns to do signed division
mm/mempolicy.c: merge alloc_hugepage_vma to alloc_pages_vma
mm, thp: replace smp_mb after atomic_add by smp_mb__after_atomic
mm: let mm_find_pmd fix buggy race with THP fault
mm/huge_memory.c: complete conversion to pr_foo()
thp: consolidate assert checks in __split_huge_page()
mm: revert "thp: make MADV_HUGEPAGE check for mm->def_flags"
mm: include VM_MIXEDMAP flag in the VM_SPECIAL list to avoid m(un)locking
mm/mempolicy.c: remove unnecessary is_valid_nodemask()
vm_area_operations: kill ->migrate()
mm: mempolicy: skip inaccessible VMAs when setting MPOL_MF_LAZY
mempolicy: change alloc_pages_vma() to use mpol_cond_put()
mm/mempolicy.c: parameter doc uniformization
mm: constify nmask argument to set_mempolicy()
mm: constify nmask argument to mbind()
mm: new_vma_page() cannot see NULL vma for hugetlb pages
mm/mempolicy: fix !vma in new_vma_page()
mm/mempolicy: correct putback method for isolate pages if failed
mbind: add BUG_ON(!vma) in new_vma_page()
mm: mbind: add hugepage migration code to mbind()
migrate: add hugepage migration code to migrate_pages()
mm/hugetlb.c: fix reservation race when freeing surplus pages
mm/memory_hotplug.c: check start_pfn in test_pages_in_a_zone()
mm, fs: check for fatal signals in do_generic_file_read()
mm: vmpressure: fix sending wrong events on underflow
msm: camera: Add NULL check in msm_actuator
crypto: msm: optimise code
sg: Prevent potential double frees in sg driver
sg: O_EXCL and other lock handling
msm: vidc: Fix memory leak
time64: Add time64.h header and define struct timespec64
Applied many upstream & backports
AGNi Control: add options for TCP congestion controls
AGNi pureLOS-MM v10.8:-
Merge caf/LA.BR.1.3.6_rb1.22
staging: prima: Update to LA.BR.1.3.6_rb1.22
msm: camera: msm_actuator: attempt fixup camera focussing
Bluetooth: Properly check L2CAP config option output buffer length
msm: camera: Add regulator enable and disable independent of CSID
ANDROID: sdcardfs: Add missing break
ANDROID: Sdcardfs: Move gid derivation under flag
ANDROID: mnt: Fix freeing of mount data
ANDROID: check dir value of xfrm_userpolicy_id
UPSTREAM: brcmfmac: fix possible buffer overflow in brcmf_cfg80211_mgmt_tx()
arm64: avoid overflow in PAGE_OFFSET
Sound Control: change min/max ranges, allow speaker mute
arch:arm: disable bcl frequency control for BIG cluster
kernel/process: convert do_each_thread to for_each_process_thread
Spectrum Profiles: do not change backlight dimmer
AGNi Control: add speaker mute option
AGNi pureLOS-MM v10.7:-
power: PM: add toggle fingprintd/gx_fpd quick resume (default off)
power: PM: add more checks for fingprintd/gx_fpd quick resume
leds: qpnp-flash: Fix switch brightness not stored
kernel: fix nsproxy *task_nsproxy compilation error
ANDROID: cpufreq: stats: fix missing definition
ANDROID: cpufreq: stats: add uid removal for uid_time_in_state
ANDROID: cpufreq_stats: Fix task time in state locking
ANDROID: cpufreq_stat: add per task/uid/freq stats
ANDROID: Fix cpufreq stats table creation
driver/power/qpnp-smbcharger: add missing boardtemp thermal sensor
revert "dts:kenzo: fix readings for pa_therm0 and case_therm thermal sensor"
AGNi Control: add gpu min freq 200MHz option
AGNi Control: add add fasterfp quick resume option
AGNi pureLOS-MM v10.6:-
Merge updates from caf/LA.BR.1.3.7_rb1.3 (msm8952_64 Android 8.0.0)
power: PM: Add goodix gx_fpd quick resume
power: PM: Add fpc fingprintd quick resume from OnePlus
PM / devfreq: bw_hwmon: Add HW offload support to governor
DTS: Update temperature threshold limits for Kenzo
msm: mdss: Fix occasional panic on init due to race in DSI status driver
binder: Disable debug mask
msm: kgsl: Increase memstore size
BACKPORT: mmc: core: Export device lifetime information through sysfs
net: Westwood+ Tweaks
cpuidle:lpm: Fix div by zero bug
arm64: switch to relative exception tables
slimbus: Fix potential memory leak
cgroup: Allow non-root users permission to attach
block_dev: implement readpages() to optimize sequential read
wcnss: trigger config when ctrl open, prevent uninitialized if ctrl open before device
proc: smaps: Allow smaps access from system_server and android.bg
cpufreq: Fix missing 'WQ_UNBOUND, from CPU Boost
adreno_tz: Push 19MHz frequency step to be used a bit more
minor updates for ext4, mdss, network
and many more... refer github
AGNi pureLOS-MM v10.5:-
drivers/usb: re-add changes from 3.10.105
arm64: fix avoid returning from bad_mode
revert "Add security hooks to binder and implement the hooks for SELinux." (this breaks goodix)
AGNi pureLOS-MM v10.4:-
mdss: mdss_fb: switchable different backlight dimmer algorithms
revert "ASoC: wcd9335: Fix compander disable after SSR"
net: Zero terminate ifr_name in dev_ifname()
net: phy: Fix PHY unbind crash
net: sched: set xt_tgchk_param par.nft_compat as 0 in ipt_init_target
net: fix keepalive code vs TCP_FASTOPEN_CONNECT
tcp: fastopen: tcp_connect() must refresh the route
tcp: avoid setting cwnd to invalid ssthresh after cwnd reduction states
rtnetlink: allocate more memory for dev_set_mac_address()
packet: fix tp_reserve race in packet_set_ring
ANDROID: binder: add hwbinder,vndbinder to BINDER_DEVICES.
ANDROID: Add untag hacks to inet_release function
UPSTREAM: capabilities: ambient capabilities
Add security hooks to binder and implement the hooks for SELinux.
arm64: Remove nr parameter from secure_computing
seccomp,x86,arm,mips,s390: Remove nr parameter from secure_computing
Revert: "mm: process_reclaim: Don't use work_pending()"
revert "mm: conditional vfs_cache_pressure (charging=80,discharging=40)"
revert "mm: revert some stuff
AGNi installer: modify memory management parameters
AGNi installer: zram size 250MB for 2GB devices and 500MB for 3GB devices
Spectrum: tweaked the default balanced profile
Spectrum: remove brightness changes in profiles
AGNi installer: wifi channel bonding option
AGNi control: switchable backlight dimmer mode (normal[miui's default]/more-dim)
AGNi pureLOS-MM v10.3:-
revert "staging: LMK: Evaluate regular swap space when calculating memory"
revert "BACKPORT: [UPSTREAM] mm: new shrinker API"
revert "drivers: staging: make android ashmem.c explicitly non-modular"
mm: kswapd use only small cluster cpus
power: disable sync on suspend
mdss: livedisplay: add missing mutex_unlock
mdss: livedisplay: stop logspam
ASoC: wcd9335: enable HeadPHone impedence detection
ASoC: wcd9335: fix compander disable after SSR
ASoC: wcd-mbhc: try to fix corner case of headphone detected as headset
ASoC: wcd-mbhc: Fix unbalanced irq enable/disable
ASoC: wcd-mbhc: merge bits from mido and caf upstream
usb: f_fs: change wait as freezable
msm: camera: isp: Ratelimit hw errors
arch:arm: bcl hotplug: we have hexacore processor
arch:arm:dtsi: Increase default max torch brightness
mdss: mdss_fb: implement modified backlight dimmer (default off)
AGNi installer: memory management changes for 2gb & 3gb ram devices
AGNi pureLOS-MM v10.2:-
ASoC: wcd-mbhc-v2: import audio jack driver from Motorola Athene Nougat
fpc1020/goodix: Set fingerprintd/gx_fpd always on on high priority
Implement GPU voltage control
prima/wifi: disable tracing & debuging
prima/wifi: enabled mac spoofing in firmware config
ltr533,stk3x1x: don't use HIGHPRIO wq for proximity & light sensors
qpnp-smbcharger: Publish charger voltage to the usb psy
xfrm: policy: check policy direction value
msm_performance: squash update and changes for perfd
ASoC: msm: qdsp6v2: return error when copy from userspace fails
revert "power: quickwakeup: initial driver"
revert "fs: drop_pagecache on suspend - Xiaomi ido-l-oss"
AGNi Control: fix settings restore
AGNi installer: disable perfd and config-perfd files
AGNi pureLOS-MM v10.1r2:- (Major Update - Indian Independence Day Special)
R2: ASoC: wcd-mbhc-v2: port 3.5mm audio jack driver from Xiaomi mido-m-oss
R2: ASoC: msm: qdsp6v2: extend validation of virtual address
R2: revert "wcd-mbhc-v2: revert some commits"
soundcontrol: fix mic boost and introduce earpiece boost
(Primary, Secondary and wired external earphone's mic
are boosted together to maintain uniform noise cancellation at boosted volumes.
Fixes earpiece gain register previously being used mistakenly for mic boost.)
credits: @ScreaMySkrillEX
sound_control: implement flar2 sound_control along franco sound control
qdsp6v2: reintroduce msm dts-eagle hwacc effect support
wcd-mbhc-v2: revert some sound jack commits
kernel: auto disable arch_power when display panel Off
mdss_fb: backlight dimmer (default on)
mm: conditional vfs_cache_pressure (charging=80,discharging=40)
revert "mm: process_reclaim: Don't use work_pending()"
ipa: Fix for missing int overflow check in the refcount library
uid_sys_stats: fix overflow when io usage delta is negative
revert "dts: 621MHz gpu freq as new step after 600MHz"
dts: modify gpu min/max bus levels
ANDROID: sdcardfs: override credential for ioctl to lower fs
ANDROID: arm64: add HWCAP2 flags to compat /proc/cpuinfo
BACKPORT: arm64: Fix up /proc/cpuinfo
camerav2/sensor: silence log "Failed in getting TOP gdscr regulator handle"
AGNi installer: handle bcl properly on boot
AGNi installer: tweak memory management
AGNi installer: remove shox mod support selection
AGNi pureLOS-MM v10.0:-
dts: add 1843 Mhz Big cpu core frequency
dts: 621MHz gpu freq as new step after 600MHz
Better ram management for 2gb devices
dts:qcom,cpubw: use governor cpufreq
sound control: modify mic
qpnp-smbcharger: set 2000mA max (SORRY, NO QC ANYMORE FOR UR OWN GOOD, no more damaged charging ports)
msm_hsusb.h: increase CHG_MAX,HVDCP_CHG_MAX to 2000mA
Fixed High-Load Average due to Drivers
Reduced CPU Load-Average
more in-depth tweaked spectrum profiles
AGNi control: add gpu max and min options
AGNi control: modify shell action commands,remove dependency on /system/etc/init.d instead use /data/.AGNi/ [app v1.3]
AGNi pureLOS-MM v9.9:-
Merge caf/LA.BR.1.3.6_rb1.21
staging: prima: Update to LA.BR.1.3.6_rb1.21
dts:msm8976-gpu: add 621MHz & 133MHz frequency support (squash update)
dts:msm8976-gpu.dtsi: set qcom,initial-pwrlevel to 133MHz
dts:msm8976-cpu: remove non-existent core 2 & 3 in cluster 1
qpnp-fg,msm-core,msm-thermal: use power_efficient_wq when battery is discharging
workqueue: make the workqueues list RCU walkable
workqueue: invert the order between pool->lock and wq_mayday_lock
diable SERIAL_MSM_HS & SERIAL_MSM_HSL
AGNi installer: fixed usb adb permission issue
AGNi pureLOS-MM v9.8r2:-
R2: drivers/input/Kconfig: rearrange fingerprints
R2: touchscreen: import ft5346_ts focaltech touchsceen driver
R2: leds: qpnp-flash: Fix torch flash when controlled by camera Part-2
R2: power efficient wq: revert for msm-thermal,qpnp-fg,msm-core
R2: revert "power: process: decrease time to enter sleep"
R2: workqueue: revert some upstream commits
revert some ASoC upstream commits
revert "Add security hooks to binder and implement the hooks for SELinux"
leds: qpnp-flash: Fix torch flash when controled by camera
Apply over 180 upstream commits to increase performance without extra battery usage
Reduce logspam
AGNi installer: address permissions issues for Agni apps auto installation
AGNi pureLOS-MM v9.7:-
qpnp-smbcharger: set 2000mA as default
Stop some more dmesg spam
ion: fix logical-not comparison warning
UPSTREAM: af_key: Fix sadb_x_ipsecrequest parsing
fs/exec: fix use after free in execve
AGNi installer: modify memory management parameters and some more things
AGNi installer: set zram size 750MB for 3GB variants and 500MB for 2GB ones
AGNi installer: set thermals to 60C as default
AGNi installer: 3 selinux boot cmdline selectable modes (rom default/permissive/enforcing)
AGNi installer: remove qcrypto modules from imported from miui8
AGNi installer: fixed option to use screen mode standard or vivid on boot
AGNi pureLOS-MM v9.6r2:-
R2: revert "BACKPORT: selinux: restrict kernel module loading"
R2: fingerprint: fix goodix-purge optional fp_bigcore_boost and allow it always
R2: enable fs & f2fs encryption support for device encryption
R2: ecryptfs support for encrypted devices (MIUI-MM)
R2: selinux set permissive when goodix not natively suported in rom (LOS-M,LOS-N)
R2: selinux set permissive always when goodix detected (MIUI-MM)
R2: add aroma option to enable lazyflasher dmverity & forceencrypt fix (MIUI-MM)
R2: set charging current default max 2000mA, add AGNi Control option to increase to 2400mA
R2: add aroma option to use screen mode standard or vivid on boot
R2: bring back aroma option to select selinux mode
Update GCC 6.4.1
binder: squash update
selinux: Add security hooks to binder and implement SELinux hooks
BACKPORT: selinux: restrict kernel module loading
BACKPORT: UPSTREAM: selinux: fix off-by-one in setprocattr
fingerprint: purge optional fp_bigcore_boost and allow it always
enable:- mmc deferred resume
disable:- cleancache, memory cgroup swap controller
update zram,zsmalloc,crypto-lz4,lib lz4
uid_sys_stats: make hash_table static
ANDROID: sdcardfs: Remove unnecessary lock
powersuspend: cumulative update to v1.7
msm: mdss: Correct the AD backlight calculation formulas
firmware_class: Fix firmware_loading_timeout usage of jiffies
AGNi pureLOS-MM v9.5r2:-
R2: fix boot scripts permissions,thermal throttle scripts & tweak spectrum profile to add relevant permissions
qpnp-smbcharger,fg,msm_thermal: restore to LOS state, keep 2400mA max
binder: restore to LOS state
revert "Add security hooks to binder and implement the hooks for SELinux.
revert "BACKPORT: selinux: restrict kernel module loading
revert "BACKPORT: UPSTREAM: selinux: fix off-by-one in setprocattr
leds-aw2013: increase brightness and add sysfs tunable
uksm: restore RW run tunable
wcd9335: remove some stuff
mdss: remove dynamic fps completely
spectrum: modify & add more profiles by @ScreaMySkrillEX
Restructured the critical boot scripts (fixes enforcing selinux issues)
AGNi installer: remove selinux enforcing/permissive option
AGNi installer: set proper AGNi_Control & ScreenModes app permissions
AGNi Control: remove quick charge options and set 2400mA max default
AGNi Control: add thermal throttle options
AGNi Control: add notification led brightness options
AGNi pureLOS-MM v9.4:-
implement Slimbus O.C.
prima: enable WMM feature
crypto: LLVMLinux: Add macro to remove use of VLAIS in crypto code
fs: readdir: Fix su hide patch for non-iterate filesystems
ANDROID: sdcardfs: use mount_nodev and fix a issue in sdcardfs_kill_sb
drivers: power,regulator: revert using power efficient workqueue
workqueue: fix power efficient workqueue permissions
uksm: backport for 3.10.y and implement updates Read More about UKSM
uksm: add ability to autorun during charger connected
cpu-boost: partial revert to stock
revert "ARM: dts: kenzo: [qpnp-smbcharger] increase thermal mitigation threshold values"
mm: queue swap_work only if previous instance has completed
power: add a simple api to query the charging state (on/off) at any point in time
AGNi Control: add uksm and default to run during charger connected
AGNi Control: add hvdcp3 handling in Quick Charge option
AGNi pureLOS-MM v9.3:-
Makefile: enable -O3 enhanced optimizations
DOWNLOAFD v9.3
AGNi pureLOS-MM v9.2r3:-
revert "set CONFIG_HZ = 300"(r3) [breaks compatibility with some touchscreens with newer firmware or replacement panels]
import from miui8 & force allow autoloading qcrypto_module.ko & qdrbg_module.ko modules(r3)
msm_thermal: revert using power efficient workqueue(r2)
ARM: dts: kenzo: increase thermal mitigation threshold values
set CONFIG_HZ = 300
revert "UPSTREAM: usb: gadget: f_fs: add "no_disconnect" mode
revert "usb: gadget: f_fs: Guard epfile->error
AGNi pureLOS-MM v9.1:-
qpnp-smbcharger/fg: bring to LOS state
kgsl: disable old optimizations
fs/buffer.c: increase the buffer-head per-CPU LRU size
AGNi Control: add noop IO sched option
Added Spectrum app support with various profiles
AGNi pureLOS-MM v9.0r2:-
battery/charger: fix battery % and slow charging(r2)
AGNi Control: add back input boost option(r2)
Upstream to linux 3.10.107
mm: revert changes from "Upstream to linux 3.10.107"
staging: prima: Update to LA.BR.1.3.6_rb1.20
Merge caf/LA.BR.1.3.6_rb1.20
msm: camera: Fix for Memory leak in actuator
qpnp-smbcharger: change thermal mitigation values to reduce heat
fs: drop_pagecache on suspend - Xiaomi ido-l-oss
mdss: kcal: AGNi Screen Modes v1.1 (use switch case)
AGNi installer: add support toggle for Shox Sound-Mod
Revert: "qpnp-fg: fix DELTA_SOC"
revert "PM / devfreq: Add an interface to boost devices when the screen is woken
revert "PM / devfreq: Boost cpubw on screen on events
revert "msm: mdss: Correct the AD backlight calculation formulas
ASoC: msm: qdsp6v2: Add support to set volume in ASM loopback
ASoC: wcd-mbhc: headset detection & jack updates
ASoc: wcd: correct handling of L_DET_EN and pull down switches
msm: kgsl: mempool and related updates
ARM: dts: msm: Add GPU mempools properties for msm8976/56
ARM: dts: kenzo: Enable 64bit sdhci ADMA support
ARM: dts: msm: Enable 64bit sdhci ADMA support for MSM8956/8976
ARM: dts: msm: Enable 64bit sdio ADMA support for MSM8956/8976
mmc: sdhci-msm: Disable controller clocks in suspend
mmc: sdhci-msm: enable 64-bit ADMA
mmc: sdhci-msm: avoid using NOP ADMA descriptor for EOT
mmc: sdhci: cmdq: add notification for cmdq halt
fix some duplicate const Werrors
UPSTREAM: ALSA: timer: Fix missing queue indices reset at SNDRV_TIMER_IOCTL_SELECT
BACKPORT: ALSA: timer: Fix race between read and ioctl
ANDROID: sdcardfs: remove dead function open_flags_to_access_mode()
UPSTREAM: ipx: call ipxitf_put() in ioctl error path
sdcardfs: limit stacking depth
BACKPORT: ip6_gre: fix ip6gre_err() invalid reads
UPSTREAM: dm ioctl: prevent stack leak in dm ioctl call
ANDROID: hid: uhid: implement refcount for open and close
GCC 7.x: Makefile: Disable format-truncation globally
Makefile: Disable couple more warnings
AGNi pureCM-MM v8.9:- (This Version Focusing on Performance Tuning)
msm: performance: prevent userspace hints to decrease max cpu freq
ping: implement proper locking
lot of scheduler tuning
Introducing optional AGNi SceneModes app
mdss: kcal: Introduce AGNi Screen Modes
AGNi pureCM-MM v8.8:- (This Version Focusing on Smoothness/Performance)
msm: mdss: Update RT priority
kgsl: Increase priority of RT thread
kgsl: Higher priority of RT thread
PM / devfreq: Add an interface to boost devices when the screen is woken
PM / devfreq: Boost cpubw on screen on events
qpnp-smbcharger: user configurable fastcharge tunable
Max charge current is limited to 2000mA unless increased from AGNi Control
Added compatibility for magisk v13
AGNi installer: 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 & fix external sdcard filesystem errors)
AGNi pureCM-MM v8.7:- (This Version Focusing on Battery/Zram/RAM-management)
staging: prima: Update to LA.BR.1.3.6_rb1.19
Merge caf/LA.BR.1.3.6_rb1.19
netlink: use old LOS mode for CM-MM & MIUI-MM
mdss_fb: backlight dimmer option (default off)
Disable some debug support
revert zram,lz4,mm changes
ipa: bring to CAF state
remove CDG & sociopath congestion control
revert "power: quickwakeup: initial driver"
revert "leds-qpnp: Multi-color smooth LED support"
revert "fs: drop_pagecache on suspend - Xiaomi ido-l-oss"
revert "mdss: import screen modes from Xiaomi thomas-kk-oss"
AGNi Control: add backlight dimmer option
AGNi pureCM-MM v8.6:- (This Version Focusing on Battery Life)
qpnp-fg: fix DELTA_SOC, disable debug & add qcom,nom-batt-capacity-mah
msm: kgsl: Remove event worker
msm: kgsl: Remove redundant memory barrier
msm: kgsl: Clear VBIF pending transactions before going to power collapse
net: Fix build failure due to lockdep_sock_is_held().
sock: make lockdep_sock_is_held static inline
net: introduce lockdep_is_held and update various places to use it
mm: update ksm
ipv6: release dst in ping_v6_sendmsg
ipv6/dccp: do not inherit ipv6_mc_list from parent
sctp: do not inherit ipv6_{mc|ac|fl}_list from parent
ipv6: Prevent overrun when parsing v6 header options
revert "kgsl: Higher priority of RT thread"
revert "cpufreq: stats: Fix memory leaks when updating stats table"
revert "PM / devfreq: Add an interface to boost devices when the screen is woken"
revert "PM / devfreq: Boost cpubw on screen on events"
revert "kgsl: Increase priority of RT thread"
revert "msm: mdss: Update RT priority"
revert "block: Add driver to change the I/O scheduler when the screen turns off"
revert "mmc: queue: Configure the I/O sched switcher for mmc block devices"
revert "iosched_switcher: Use reliable state notifier"
AGNi pureCM-MM v8.5:-
ipv6: fix out of bound writes in __ip6_append_data()
mm: Tighten x86 /dev/mem with zeroing reads
mm/mempolicy.c: fix error handling in set_mempolicy and mbind.
KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyrings
scsi: sg: check length passed to SG_NEXT_CMD_LEN
BACKPORT: sg: relax 16 byte cdb restriction
BACKPORT: block: add blk_rq_set_block_pc()
xfrm_user: validate XFRM_MSG_NEWAE incoming ESN size harder
xfrm_user: validate XFRM_MSG_NEWAE XFRMA_REPLAY_ESN_VAL replay_window
KEYS: Change the name of the dead type to ".dead" to prevent user access
sctp: deny peeloff operation on asocs with threads sleeping on it
irda: Fix lockdep annotations in hashbin_delete().
time: Remove CONFIG_TIMER_STATS
sctp: avoid BUG_ON on sctp_wait_for_sndbuf
Kconfig: msm: disable ultrasound driver
KEYS: Disallow keyrings beginning with '.' to be joined as session keyrings
net: ping: check minimum size on ICMP header length
ext4: validate s_first_meta_bg at mount time
bluetooth: Validate socket address length in sco_sock_bind()
Makefile: remove useless hardware specific compiler flags
AGNi pureCM-MM v8.4:-
wake gestures: revert AGNI enhancements and call detection
wake gestures: input callback dependent on proximity near and call detection
Removed buggy lazyplug
AGNi Control: remove wake duration timer and fp boost
CHROMIUM: mm: lower oom dump burst limit to 1
CHROMIUM: add vmstat counts for different page fault types
CHROMIUM: net: xt_qtaguid: Remove unnecessary check for in_ifaddr.ifa_label != NULL
cpufreq_stats: Fix stats leak during update policy
msm: kgsl: Allow draw context to perform only replay on recovery
msm: mdss: Update RT priority
kgsl: Increase priority of RT thread
mm/huge_memory.c: respect FOLL_FORCE/FOLL_COW for thp
metag/uaccess: Fix access_ok()
metag/uaccess: Check access_ok in strncpy_from_user
stackprotector: Increase the per-task stack canary's random range from 32 bits to 64 bits on 64-bit platforms
UPSTREAM: arm64: perf: Fix callchain parse error with kernel tracepoint events
UPSTREAM: arm: perf: Fix callchain parse error with kernel tracepoint events
UPSTREAM: arm64: LLVMLinux: Add current_stack_pointer() for arm64
UPSTREAM: ARM: 8170/1: Add global named register current_stack_pointer for ARM
ARM: dts: kenzo: Enable store hardware reset reason
ANDROID: uid_sys_stats: defer io stats calulation for dead tasks
ANDROID: uid_sys_stats: fix access of task_uid(task)
ANDROID: uid_sys_stats: reduce update_io_stats overhead
ANDROID: make PF_KEY SHA256 use RFC-compliant truncation.
revert "ASoC: msm: qdsp6v2: Add support to set volume in ASM loopback
fs/pstore: fix last_kmsg
revert "ipv4: keep skb->dst around in presence of IP options
revert "UPSTREAM: timerfd: Protect the might cancel mechanism proper
pid_ns: Sleep in TASK_INTERRUPTIBLE in zap_pid_ns_processes
fs: compat: Remove warning from COMPATIBLE_IOCTL
Fix voltage control sometime change back to floor voltage level
Fix CPU voltage control title name duplicate
CPU voltage control for kenzo
revert "cpufreq: show cpu voltages via sysfs @imoseyon"
proc: Remove additional SafetyNet flags from /proc/cmdline
proc: Remove verifiedbootstate flag from /proc/cmdline
revert "SafetyNet bypass: Show androidboot.verifiedbootstate=green
iosched_switcher: Use reliable state notifier
mmc: queue: Configure the I/O sched switcher for mmc block devices
block: Add driver to change the I/O scheduler when the screen turns off
state_notifier: Reduce defer on suspend call to 1 second
state_notifier: Queue work on any core
arm64: uaccess: ensure extension of access_ok() addr
arm64/uaccess: fix sparse errors
tcp: fix wraparound issue in tcp_lp
dccp/tcp: do not inherit mc_list from parent
UPSTREAM: net/packet: fix overflow in check for priv area size
drivers: char: mem: Check for address space wraparound with mmap()
watchdog: pcwd_usb: fix NULL-deref at probe
usb: hub: Do not attempt to autosuspend disconnected devices
USB: hub: fix non-SS hub-descriptor handling
USB: hub: fix SS hub-descriptor handling
USB: iowarrior: fix info ioctl on big-endian hosts
USB: fix device quirk on big-endian hosts
Bluetooth: Fix user channel for 32bit userspace on 64bit kernel
Added probable fix for some cases when AGNi control settings are not applied
AGNi pureCM-MM v8.3:-
msm: kgsl: Replace CP_INTERRUPT with EVENT_WRITE interrupt
msm: kgsl: Enable context done bug fix for A510
msm: kgsl: Prevent deadlock in cmdbatch timer
Revert "msm: kgsl: Enable dynamic clock throttling"
ANDROID: ion: Protect kref from userspace manipulation
ANDROID: ion: Fix uninitialized variable
goodix/prima: use LOS netlink values for CM-MM & CM-N AGNi variants
add gxfingerprint.default.so for goodix to support changed netlink values
revert "ft5x06_ts: fix wake gesture incomplete stuff"
AGNi pureCM-MM v8.2:-
Merge caf/LA.BR.1.3.6_rb1.18
staging: prima: Update to LA.BR.1.3.6_rb1.17
staging: prima: Update to LA.BR.1.3.6_rb1.18
staging: ion: revert caf/LA.BR.1.3.6_rb1.18
msm: kgsl: Improve GPU idle power
msm: kgsl: Enable dynamic clock throttling
Fix battery capacity
Dynamic Fsync: Don't wait force sync done when screen off, use emergency_sync instead
kernel: Only expose su when daemon is running
kernel: Fix potential refcount leak in su check
ASoC: wcd-mbhc: correct lineout detection
revert slab previous commits
revert "mmc: core: add partial initialization support
revert "msm: camera: isp: For burst stream fix framedrop period and pattern"
AGNi pureCM-MM v8.1:-
BACKPORT: commoncap: don't alloc the credential unless needed in cap_task_prctl
ASoC: msm: qdsp6v2: Add support to set volume in ASM loopback
input: sensors: Fix LTR553 DT parsing
input: sensors: ltr553: Write PS_LED
input: sensors: ltr553: Allow maximum number of LED pulses
mmc: core: add partial initialization support
net: ipc_router: Fix memory leaks when releasing a remote port
cpufreq: stats: Fix memory leaks when updating stats table
msm_bus: arb: Fix memory leak when unregistering client
usb: hub: Fix unbalanced reference count/memory leak/deadlocks
soc: qcom: bam_dmux: Use SPS hold mem flag
drivers: staging: make android ashmem.c explicitly non-modular
mm/slab updates
revert "Slimbus O.C[2]"
msm_venc: fix parameters for do_div
msm: camera: isp: For burst stream fix framedrop period and pattern
soundcontrol: set minimum and maximum boost limits if user value goes beyond it
AGNi pureCM-MM v8.0:-
UPSTREAM: timerfd: Protect the might cancel mechanism proper
msm: mdss: Don't constantly fire interrupts for DSI status check
PM/devfreq: Add an interface to boost devices when the screen is woken
PM/devfreq: Boost cpubw on screen on events
qpnp-smbcharger: queue work on system_power_efficient_wq
gpio: stop dumping the stack every time a gpio isn't valid
qpnp-linear-charger: queue work on system_power_efficient_wq
revert: "wake gestures: implement resume destroy to kill pending resume work on screen resume"
revert "mdss_fb: backlight dimmer option"
lazyplug: update v1.7 -> v1.12
qdsp6v2: stop logspam
prima: silence log trace
wake gesture: delay resume work by 2sec
qpnp-smbcharger: limit fastcharge current to max 2400mA
random: set permission 664 for wakeup thresholds
soundcontrol: fix mic boost and set sysfs minimum limits
Slimbus O.C.
AGNi pureCM-MM v7.9:-
goodix,prima: set older nelink values for MM and use LOS values for N
alarmtimer: Add the verification code for rtc device error.
net/packet: fix overflow in check for tp_frame_nr
net/packet: fix overflow in check for tp_reserve
give up on gcc ilog2() constant optimizations
usb: hub: Wait for connection to be reestablished after port reset
wake gestures: implement resume destroy to kill pending resume work on screen resume & increase resume delay
msm_hotplug: fix derp-"disable update_load_stats when min min_cpus_online = total cpus"
msm: mdss: Remove DCS backlight delay
Turn off trace_printk in vidc's dprink.
tcp: export tcp_enter_cwr()
init: kconfig: disable DEBUG_KERNEL
revert dynamic fps mdss
shift mount-ro code before init.d scripts handling
AGNi pureCM-MM v7.8r2:-
r2:
goodix: disable debug flag
revert "prima: Update to LA.BR.1.3.6_rb1.17" fix WIFI Hotspot and USB Tethering Error
r1:
Merge caf/LA.BR.1.3.6_rb1.17
prima wifi: Update to LA.BR.1.3.6_rb1.17
merge latest LOS commits
BACKPORT: [UPSTREAM] mm: new shrinker API
ipv4: keep skb->dst around in presence of IP options
drivers: cpuidle: lpm-levels: fix array-bounds warnings
arm64: atomic.h: defining relaxed atomic_read
hrtimer: Replace usage of hrtimer_callback_running with the new relaxed version for less power usage
kernel: cpuidle: use idle_cpu_relaxed and cpu_relaxed
sched: core: warning: comparison between pointer and integer
usb: android: Fix buffer overflow due to incorrect snprintf length
sound: msm: qdsp6v2: fix memset-transposed-args warning
drivers: media: msm: camera_v2: fix bool-compare warning
input: atmel_mxt_ts: more proper wakeup implement
ARM: dts: mdss: kenzo: Enable dynamic fps for kenzo panels
msm: mdss: use key event trigger to update fps
msm: mdss: Using Fixed fps and v_total for BW calculations
msm: mdss: move dpfs vsync wait before next mixer programming
msm: mdss: change calculation reference to default frame rate in hfp mode dynamic fps
DTS: batterydata-scud-4000mah-4400mv: Merge changes from latest miui
qpnp-fg: remove useless delayed work
charger: allow more amperage and heavier amperage throttle on temperature
qpnp-smbcharger: remove more dmseg spam[2]
kenzo: Remove useless charging debugging
qpnp-smbcharger,qpnp-fg: thermal-mitigation from kenzo-l-oss official values (improve charging)
kenzo: goodix,prima: Change RMC netlink group (goodix netlink 30,prima RMC 29)
ARM: DTS: kenzo: Re-enable appsbl qseecom support flag
revert "MDSS: KCAL: Add minimum brightness tunable"
set lowest screen brightness to hardware minimum by default
wcd-mbhc-v2: import headset detection code from Xiaomi scorpio-m-oss
ft5x06_ts: fix wake gesture incomplete stuff
wake gestures: use mutexes for delay timer mechanism and fix indentations
wake gestures: rework the detection triggers
little cosmetic changes to AGNi Control
AGNi pureCM-MM v7.7:-
DTS: qpnp-fg: "qcom,resume-soc" increase resume charging after full charge 95% -> 99%
revert "drivers/usb: revert changes from 3.10.105"
ARM: 8167/1: extend the reserved memory for initrd to be page aligned
fat: fix using uninitialized fields of fat_inode/fsinfo_inode
msm: msm_bus: fix the memory leak issue
cpufreq: implement cultivation governor v1.5
AGNi pureCM-MM v7.6:-
Rebase from v7.1 (revert many commits which brought regressions, now should be good performance & battery)
Android: update uid_cputime to uid_sys_stats
msm_hotplug: disable load calculations when music hotplug mode
MDSS: KCAL: Add minimum brightness tunable (1 <-> 50)
add workaround for fingerprint errors with roms not supporting Unified FP
AGNi pureCM-MM v7.5:-
ANDROID: sdcardfs: Use LOS 14.1 state for CM-MM & MIUI-MM
revert "drivers/input: update sensors from Xiaomi ido-l-oss & thomas-kk-oss"
Revert: "DTS: screen panel dtsi backlight-min-level changes"
ltr533,stk3x1x: use HIGHPRIO,FREEZABLE workqueues and increase LTR533 proximity sensor sensitivity
MDSS: KCAL: add a toggle to set minimim brightness to 1 or to the panel value
AGNi control: add minimim brightness toggle
AGNi pureCM-MM v7.4:-
wakeup: block qcom_rx_wakelock
fix unwanted 2% battery drop issue
gadget/f_fs: reduce logspam on suspend/resume & use pr_err_ratelimited
usb: dwc3: gadget: make Set Endpoint Configuration macros safe
fs: fat: move fat_truncate_blocks to unlink
kernel: report pid reservation failure properly
ft5x06_ts: add missing wake_gesture bits
fs/pstore: bring to LOS state (fixed /proc/last_kmsg)
sched: Add a check for cpu unbound deferrable timers
disable many logging including goodix and qpnp-smbcharger
revert some commits
AGNi control: reduce little saturation of night screen mode
AGNi control: introduce MSM-Hotplug-Music feature: (Idea - > @miguelang611)
(keep all cores online when display on and attempts to keep only two small cores online with big cores off when screen off)
AGNi pureCM-MM v7.3:-
intelli_hotplug: Update to v5.5 & improve MSM8956 thread capacity
power: bcl: Check battery state of charge for frequency mitigation
sdcardfs: silence log
android:binder: silence log
drivers/cpufreq: add Wheatley governor
fpc/goodix: back to unified fingerprints
AGNi control: add wheatley governor option
AGNi control: reduce saturation of standard screen mode
AGNi control: increased saturation of night screen mode
AGNi pureCM-MM v7.2r2:-
r2: revert: kernel/sched updates
AGNi control: Normal screen mode saturation 50%
r1:
tcp: add sociopath congestion control and set as default
tcp: add CDG congestion control
disable some debugging
drivers/mdss uodates
drivers/cpufreq updates
fs/exfat updates
block/cfq: updates
kernel/sched updates
msm-thermal updates
msm kgsl updates
Reduce vfs cache pressure & swappiness
cpufreq: show cpu voltages via sysfs
cpufreq: add Cafactive gov - modded interactive from code aurora
sched: features: disable gentle_fair_sleepers
power:qpnp-charger: extended charge time from 30s to 100s when battery status is near to full
android: binder: Fix potential scheduling-while-atomic
sched/idle: Optimize the generic idle loop
ARM: dts: msm8956: Add large-address-bus to sdhci-msm
Implement CPU U.V. (85mv)
msm: Add Intelli Hotplug Driver
adreno_tz: Push 27MHz frequency step to be used a bit more
arm64: cache: change ARCH_DMA_MINALIGN and L1_CACHE_SHIFT values
lpm-level: Fix residency calculate
ARM: dts: msm: enable MDSS gdsc idle power collapse on msm8976-kenzo
wake gesture: fix proximity and call detect conditions
ANDROID: sdcardfs: Squash Commit Update
Power charging modifications
AGNi control: reduce red value for night mode
AGNi control: add intelliplug option
AGNi control: add cafactive governor
AGNi pureCM-MM v7.1.1r2:-
exfat: implement errors=remount-ro
exfat: unlock pages under readonly status
exfat: link superblock for all the buffer head
clockevents: Prevent shift out of bounds
lpm-levels: Change _WARN_printf to pr_err when residency < 0
ipv4: keep skb->dst around in presence of IP options
drivers/usb: revert changes from 3.10.105
disable coresight tracing support
force fpc and goodix as kernel modules
AGNi installer: detect fingerprint hardware type during install
AGNi installer: load appropriate fp module on init
AGNi installer: patches init files for goodix support if goodix fp detected by installer
AGNi installer: kernel will have permissive selinux by default for goodix
r2: Changes to AGNi installer and devfreq and hwmon kernel updates
AGNi pureCM-MM v7.1:-
vidc updates
kernel/sched updates
net/tcp updates
kernel workqueue updates
AGNi: add gcc optimizations
Remove State Notifier & thunderplug
msm: mdss: Correct the AD backlight calculation formulas
msm: mdss: turn on the mdss clocks when enabling vsync
kthread_work: wake up worker only when the worker is idle
qcom: msm-core: interruptible wait
msm: vidc: disable CPU L2 cache PC during video sessions
cpufreq: cpu-boost: don't boost over user set max freq
mm/slub: don't wait for high-order page allocation
mm: do not activate swap write failed pages
msm: sps: fix kernel panic
UPSTREAM: kernel: Provide READ_ONCE and ASSIGN_ONCE
perf: arm64: implement CPU_PM notifier
perf: arm64: fix RCU usage on pmu resume from low-power
CHROMIUM: cgroups: relax permissions on moving tasks between cgroups
clocksource: Fix abs() usage w/ 64bit values
arm/dts: increase bus-width on GPU
GPU: add optimization flags to GPU drivers
msm: camera: sensor: Fix memory leaks when sensor probe fails
msm: camera: isp: Avoid unaligned register access
msm: camera: isp: Add different flags in spin lock
msm: qpnp-haptic: Work around poor fingerprint authentication haptics
fingerprint: fix init and check for string length for added security
touchscreen: ft5x06: disable the charging status flag
fix drivers: wakeup: block some wakeups
wake gesture: add proximity state api and implement in call detect
qpnp_fg qpnp_smbcharger: be silent in logs
DTS: kenzo: fix wrong reading for pa_therm1 thermal sensor
AGNi pureCM-MM v7.0:-
revert hall sensor from Xiaomi ido-l-oss
cpufreq: fallback to interactive if governor is not found
block: cfq: tuning
ARM: dts: kenzo: Change s5k5e8_z5e8yab eeprom according to miui mm dts
kenzo: Only allow one fingerprint device to be created & default to goodix
unified kernel for fpc & goodix
AGNi pureCM-MM v6.9:-
fs: drop_pagecache on suspend - Xiaomi ido-l-oss
drivers/input: update sensors from Xiaomi ido-l-oss
drivers/input: update sensors from Xiaomi thomas-kk-oss
qpnp-vibrator: implement vibration pattern from Xiaomi thomas-kk-oss
mdss: import screen modes from Xiaomi thomas-kk-oss
revert "some power driver fixes"
AGNi pureCM-MM v6.8:-
msm: thermal: add a module param to change the thermal throttle temperature point to userspace (set 60C default)
camera_v2: remove dual hw isp and combo csiphy support
DTS: screen panel dtsi changes (back-porch,panel-timings,reduce backlight-min-level,dsi-on-command)
AGNi pureCM-MM v6.7r2:-
v6.7-r2: (AGNi: allow latest Nougat camera_v2 & vidc for miui-MM & CM-MM's)
revert: "drivers: wakeup: add option to block wlan, alarmtimer & bluetooth_timer wakelocks"
Fix reboot issue after miui update 7.3.9
wakeup: remove display_on check
fs/sdcardfs: restore to LOS 14.1 state
kenzo: Use caf hall driver
wake gesture: modify voice call detection & remove vib_wake switch
modify wake gestures options with vibration strength in AGNi Control
AGNi pureCM-MM v6.6:-
drivers: wakeup: add options to block (un)popular battery wrecking wakelocks
drivers: wakeup: add option to block wlan, alarmtimer & bluetooth_timer wakelocks
net: rmnet_data: Silence "Unkown IOCTL" log spam
ANDROID: lib: vsprintf: updates
revert "ASoC: (LA.BR.1.3.6_rb1.16) msm: qdsp6v2: Add support to set volume in ASM loopback
prima: silence some log trace
net/sched: silence "quantum of class is big" log warning
revert "Decrease Time To Enter Sleep"
wake gestures: use is_display_on() & mdss_dsi to control conditional switch-off timer
kenzo: apply some misc changes by Xiaomi from hydrogen-m-oss source
AGNi pureCM-MM v6.5:-
cpufreq: add blu_active governor
Revert "msm: sensor: restore slave address after I2C read"
leds: trigger: ledtrig-backlight: Fix invalid memory access in fb_event notification callback
msm: (LA.BR.1.3.6_rb1.16) IPA: add the check on intf query
wake gestures: (Revision 2) implement conditional switch-off timer using delayed workqueue (fixed all bugs)
wake gestures: reEnable sweep2sleep sysfs
Agni control v1.1 with some polishing and changes
AGNi pureCM-MM v6.4:-
Fix Headset jack detect time missed changes
Merge caf/LA.BR.1.3.6_rb1.16
prima: Update to LA.BR.1.3.6_rb1.16
goodix: Disable all key event if new driver detected
input: misc: goodix_fp: Change netlink group to 29, return WLAN_FEATURE_RMC
kenzo: kill enable_spk_ext_pa and lazyplug's lazymode logspam
net: ipv6: Add sysctl for minimum prefix len acceptable in RIOs
cpufreq: add elementalx governor by flar2
add Interactive wingoku_battsave_4.1 governor profile in AGNi control
set no hotplug as default, add wake gesture duration in AGNi control
wake gestures: implement conditional switch-off timer using delayed workqueue
AGNi pureCM-MM v6.3:-
fingerprint: fpc: boost cpufreq on unlock
fingerprint: goodix: silence logspams
fingerprint: goodix: Support use netlink to communicate with user app
prima: disable WLAN_FEATURE_RMC: seems not used by hal, and conflict with goodix fpsensor driver
block: iosched: add fifo and vr
dts: Add missing clock-frequency property to CPU nodes
include/linux: Added support for GCC 6/7
msm_hotplug: restore original name for tunable msm_enabled
Makefile: fix ccache, remove graphite optimizations & fix build for a72.a53
Update UBERTC with GNU GCC 6.3.1
remove experimental tag for goodix in Aroma installer
set default zram swappiness 30 in AGNi Control
AGNi pureCM-MM v6.2:-
sound:soc: implement franco soundcontrol
fix fast charging dtsi values
arch/arm: dts: Add pstore DT & enable /proc/last_kmsg
ARM: dts: pstore: Match motorola configuration
Enable Arch Power
Revert "msm: thermal: add a module param to change the thermal throttle temperature point to userspace"
power: qpnp-smbcharger: Fix the BMD algo. disable logic
sysfs interface bool to Enable/Disable CRC
devfreq: Add a governor whitelist
PM: devfreq: Always reflect a change of polling interval
devfreq: gpu: added simple time_in_state stats
drivers: cpufreq: Send a uevent when governor changes
mdss: fix potential deadlock
Decrease Time To Enter Sleep
remove optional tweaks from aroma installer
AGNi pureCM-MM v6.1:-
SMBCHG: silence pr_info of lct_get_prop_batt_temp's chip->ntc_vadc and get_bat_temp
mm: dont unbound workqueue swap_work when work pending
net/wireless/scan: kill bss_free warning when wlan module unloading
ANDROID: binder: restore to LineageOS state
fix implementation of flar2 sound_control sysfs interface
soundcontrol: add support for older misc device sysfs interface
sound control can be handled from EX Kernel Manager,Kernel Auditor & AGNi Control
add adreno boost option in AGNi Control
AGNi pureCM-MM v6.0r2:-
disable RCU_BOOST and MMC DEFERRED RESUME
revert "time: Remove CONFIG_TIMER_STATS"
input: misc: goodix: Fix warning of unbalanced irq
Fast charge at max 2400mA, some battery charger & fuel guage driver fixes
writeback: Do not sort b_io list only because of block device inode
sctp: deny peeloff operation on asocs with threads sleeping on it
sound_control: implement flar2 sound_control sysfs interface (can also be used by EX kernel manager)
wake_gestures: modify wake_gesture_q6voice_detect application to input callbacks
Set Interactive stock governor profile as default in AGNi control
Add Quick Charge 2000->2400 mA option in AGNi control
AGNi pureCM-MM v5.9.1:-
fixed compatibility with Magisk v11.5
using latest busybox from magisk for AGNi control
revert "proc: Set androidboot.verifiedbootstate=green"
AGNi pureCM-MM v5.9:-
fs/sdcardfs: silence "sdcardfs: Failed to touch up lower fs gid/uid" error log
Use RCU_BOOST for msm8956 in conjunction with RCU_NOCB
Enable MMC DEFERRED RESUME
goodix: add msm_hotplug resume calls and boost cpu on touch (experimental)
revert "Small tweak for gpu bus frequencies"
disable selinux fake-enforced
add interactive-glassfish tweaked
add -5 and -10 speaker and headphone gain options in AGNi control
AGNi pureCM-MM v5.8:-
enable goodix only on non-fpc builds and disable fpc for goodix-builds
selinux: avc: do not deny when SECURITY_SELINUX_FORCE_PERMISSIVE or SECURITY_SELINUX_FAKE_ENFORCE is set
kill "Error: returning -512 value" in log when system suspend
remove zzmoove governors (not updated anymore and not optimised yet)
Update and enable maple ioscheduler
experimentally set default Interactive-DrunkSauceLite governor in AGNi control
AGNi pureCM-MM v5.7:-
ARM: dts: kenzo: Fix camera regulator voltage
revert some experimental goodix & fpc code
goodix fp: Add support to new reset ioctl
goodix will always have selinux permissive
ASoC: wcd-mbhc: Don't report headphone until timout
UPSTREAM: block: disable entropy contributions for nonrot devices
update sdcardfs
kenzo: enable appsbl qseecom support flag for M boot stack
Implement a different method to check if a voice session is active & disable wake gestures during voice sessions
interactive governor "DrunkSauceLite"-tweaked and set as default
tweaked cpu input boost option in AGNi Control
AGNi pureCM-MM v5.6:-
ASoC: msm: qdsp6v2: Add NEW simple API to check if a voice session is active & disable d2w and s2w during voice sessions (fixes screen freeze after remote voice call hangup)
random: Backport from linux-4.2 and remove frandom
AGNi pureCM-MM v5.5:-
ipc/shm: Fix shmat mmap nil-page protection
sctp: avoid BUG_ON on sctp_wait_for_sndbuf
BACKPORT: tcp: avoid infinite loop in tcp_splice_read()
ANDROID: ion: check for kref overflow
Wifi: remove some debugging
cpufreq: cache tunables for ondemand, conservative, alucard, chill, darkness, despair and relaxed governors(This makes them work better with big.LITTLE setups. Previously, all big cluster tunables were lost when a cluster went offline.)
Compatible with latest TWRPs including v3.1.x (resolved bootloop issue with newer TWRPs)
AGNi pureCM-MM v5.4:-
Wake gestures minor changes
Increase max readahead value to 1024
network related updates
android binder updates
cpufreq: interactive governor drops bits in time calculation
ASN.1: Fix actions on CHOICE elements with IMPLICIT tags
drivers: video: Add bounds checking in fb_cmap_to_user
sg_write()/bsg_write() is not fit to be called under KERNEL_DS
arm64: strcmp: align to 64B cache line
time: Remove CONFIG_TIMER_STATS
usb: gadget: f_accessory: Fix for UsbAccessory clean unbind.
lib: Update LZ4 compressor module v1.7.3 and lz4 ramdisk decompression support
zram: change usage of LZ4 to work with new LZ4 version
zsmalloc: require GFP in zs_malloc()
zram: user per-cpu compression streams
Update Zram & use CRYPTO_LZ4
UPSTREAM: staging: ion: Fix error handling in ion_buffer_create
AGNi pureCM-MM v5.3:-
ASoC: msm: qdsp6v2: Add simple API to check if a voice call is active
Disable d2w and s2w during voice calls
cpuidle: don't disable cpuidle when entering suspend
Revert "sdcardfs: Flag files as non-mappable"
Revert hbtp_input from LA.BR.1.3.6_rb1.14
AROMA installer updated to v3.00b1
AGNi pureCM-MM v5.2:-
sdcardfs updates
Merge LA.BR.1.3.6_rb1.14
prima: Update to LA.BR.1.3.6_rb1.14
proc: Set androidboot.verifiedbootstate=green
selinux will show as enforcing even if permissive mode is selected in aroma installer
Revert ipa from "Merge LA.BR.1.3.6_rb1.14"
AGNi pureCM-MM v5.1:-
Merge LA.BR.1.3.6_rb1.13
prima: Update to LA.BR.1.3.6_rb1.13
Merge Linux kernel 3.10.105
Fix incompatibility with Magisk-v11.1
Fix "run root as suid" error in wireless adb
zram: Max compression streams 4
Revert: "f2fs: reset default idle interval value" - arter97
BACKPORT: aio: mark AIO pseudo-fs noexec
cpufreq: cpu-boost: don't boost if input_boost_ms is <= 0
Updated chill and relaxed governors
lazyplug: Add highly aggressive lazy profile
Silences CPU suspend state kernel messages
AGNi pureCM-MM v5.0:-
Add lazyplug hotplug
Update qpnp fuel guage driver
drivers: thermal: queue work on system_power_efficient_wq
power: bcl: queue work on system_power_efficient_wq
Added cpu governors: relaxed, bioshock and despair
AGNi Control: set lazyplug hotplug default
AGNi Control: add relaxed, bioshock and despair governors for BIG & little clusters
AGNi Control: set impulse cpu governor as default for BIG & little clusters
AGNi Control: set USB fast charging On by default
AGNi pureCM-MM v4.8:-
revert "msm: ipa: fix the potential heap overflow on wan-driver
revert "msm: rndis_ipa: Remove rndis_ipa loopback functionality
Fix some dtb flashlight derps
Revert "dtsi: msm8976-regulator: remove regulator-always-on property"
AGNi pureCM-MM v4.7:-
Merge caf/LA.BR.1.3.6_rb1.12
prima: wifi Update to LA.BR.1.3.6_rb1.12
adreno_kgsl: re-implement KGSL_PROP_DEVICE_BITNESS
AGNi pureCM-MM v4.6:-
Topology: Enhance For MultiCore Decision Making
ARM: dts: msm: Set the default governor for cpubw to performance
arm64: topology: fix cpu power calculation
arm64, jump label: detect %c support for ARM64
UPSTREAM: arm64: jump labels: NOP out NOP -> NOP replacement
arm/arm64: crypto: boost performance
msm_adreno_tz: Add display state awareness
ARM64: defining macros to optimize power usage
thread_info: enhance power efficiency
hrtimer: enhance power efficiency
kernel: cpu: use cpu_read_relaxed on cpu_down()
lib: vsprintf, bitmap updates
sdcardfs related commits
fs: exfat: sync upstream version
cpu-boost: Bring up to latest iteration
AGNi pureCM-MM v4.5:-
disable selinux Strict Access Vector Cache Control in permissive mode
devfreq: Make adreno idler more aggressive
fs: sync: avoiding some overhead
leds-qpnp: Multi-color smooth LED support
cpu boost input boost tunable in AGNi control
zram size 500MB default in AGNi control
selinux mode quick switching in AGNi control (permissive <-> enforcing)
seperate cpu governor options for each cluster in AGNi control
f2fs: set dentry bits on random location in memory (probable fix for SuperSU issues on f2fs - arter97)
AGNi pureCM-MM v4.4:-
prima: Update wifi driver to LA.BR.1.3.6_rb1.10
mdss: move to a kthread for vsync_retire_work_handler
kgsl: convert some workqueues to use kthreads
android: binder updates
Arm64: Enable Dcache word access
msm_rmnet: Kill logspam
power: wakeup: prevent IPA_WS wakelock from being acquired by default
zram: use appropriate compression streams number
msm: qdsp6v2: Allow 320K AAC encoding
cpufreq: Break out early when frequency equals target_freq
cpufreq: ondemand: Eliminate the deadband effect
Optimize ARM memset and memzero functions
Power efficient workqueue patches (squashed)
sched/fair: Optimize find_idlest_cpu() when there is no choice
adreno_tz: Check that partner_gpu_profile is not NULL before using it
Offload RCU callbacks from all CPUs
selinux option in Aroma Installer
AGNi pureCM-MM v4.3:-
lowmemorykiller: account for unevictable pages
arm64: kill off the libgcc dependency
prima: Migrate QC prima wireless driver to official CM14.1 state
Apply ipa_uc.c from caf/LA.BR.1.3.6_rb1.10
Merge caf/LA.BR.1.3.6_rb1.11
AGNi pureCM-MM v4.2:-
revert many network related commits
Merged caf/LA.BR.1.3.6_rb1.10 again
AGNi pureCM-MM v4.1:-
Revert: "Merge caf/LA.BR.1.3.6_rb1.10"
kgsl: convert some workqueues to use kthreads
applied maximum Stable cpu undervolt
per-task/per-process cpufreq statistics
improve cpuidle
block: cfq,zen update
tweak MSM-hotplug
camera_v2/vidc LA.BR.1.3.4_rb1.28
prima: Update QC prima wireless driver LA.BR.1.3.6_rb1.10
AGNi pureCM-MM v4.0:-
sync cm sources:
-add sdcardfs
-video: Revert back to basic livedisplay driver
input: Handle an additional framebuffer hint (This fixes touch in Ambient Display)
Reduce dt2w time between taps
Revert: "prima: Update QC prima wireless driver LA.BR.1.3.6_rb1.10"
Revert ipa_uc.c from caf/LA.BR.1.3.6_rb1.10
AGNi pureCM-MM v3.9:-
ASoC: wcd9335: add earpiece gain control
tune for cortex-a72.cortex-a53+crypto + add graphite optimisations
input: atmel_mxt_ts: Add double tap sysfs symlink
arm64: lib: use pair accessors for copy_*_user routines
UPSTREAM: staging/android/ion : fix a race condition in the ion driver
net: ping: Fix stack buffer overflow in ping_common_sendmsg()
UPSTREAM: arm64: vdso: Mark vDSO code as read-only
ANDROID: dm verity: add minimum prefetch size
sched/loadavg: Fix loadavg artifacts on fully idle and on fully loaded systems
bfq-sched: Forcefully lookup entities when the cache is inconsistent
lib/crc32 updates
msm8976/56: dts: enable kgsl POPP
crypto: arm64/sha updates
enable TASKSTATS & NETFILTER_XT_TARGET_HL
other Upstream & backported network related commits
AGNi pureCM-MM v3.8:-
Merge caf/LA.BR.1.3.6_rb1.10
prima: Update QC prima wireless driver LA.BR.1.3.6_rb1.10
netfilter: x_tables: check for size overflow
tty: Fix hang at ldsem_down_read()
fs: ext4: disable support for fallocate FALLOC_FL_PUNCH_HOLE
sg: Fix double-free when drives detach during SG_IO
BACKPORT: tty: Prevent ldisc drivers from re-using stale tty fields
enable IP_NF_MATCH_RPFILTER & IP6_NF_MATCH_RPFILTER
AGNi pureCM-MM v3.7:-
Revert: "prima: Update QC prima wireless driver LA.BR.1.3.6_rb1.9"
reAdded Max LITTLE cpu frequency 1440 Mhz
AGNi pureCM-MM v3.6:-
prima: Update QC prima wireless driver LA.BR.1.3.6_rb1.9
ASoC: wcd9335: soundcontrol sysfs with sound_control_3 sysfs"
fpc1020_tee: Add switch to boost tasks to the big cores when touched anytime
AGNi control: boost tasks to the big cores when fp touched option
diag & ipa from caf/LA.BR.1.3.6_rb1.8
Merge caf/LA.BR.1.3.6_rb1.9
Revert qpnp fuel guage driver from 'CM_xiaomi_msm8956/cm-14.1'
enable IP_NF_TARGET_TTL
proc: much faster /proc/vmstat
Wake Gestures: sweep2wake default on until init.d scripts executed
input: ft5x06: Add option to disable keypad
input: atmel_mxt_ts: Add option to disable keypad
sched: fair: reduce preemption latency
ASoC: wcd-mbhc: disable fake electrical interrupts
ASoC: compress: Don't error on both playback and capture being set
AGNi pureCM-MM v3.5r2:-
fix derps from 'CM_xiaomi_msm8956/cm-14.1' - (Max big cpu frequency 1804 Mhz, Fix hall sensor support)
QPNP_FG: modifications from 'CM_xiaomi_msm8956/cm-14.1' only on CM-N
Revert diag & ipa from 'CM_xiaomi_msm8956/cm-14.1'
AGNi pureCM-MM v3.5:-
Merge remote-tracking branch 'CM_xiaomi_msm8956/cm-14.1'
AGNi pureCM-MM v3.4r2:-
Disable CONFIG_HALL, we need only CONFIG_SENSORS_HALL
fpc1020_tee: boost cpufreq & boost tasks to the big cores when touched anytime - remove unwanted stuff
camera_v2: use MM code state for MIUI-MM & CM-MM
Revert: "[BACKPORT] Implement zen-tune v4.5"
Revert: "sched: Add a check for cpu unbound deferrable timers"
Revert: "nohz: Get timekeeping max deferment outside jiffies_lock"
ASoC: wcd9335: faux sound_control app compatibility
AGNi Control: Add sound conrol and fix sweep2wake
USB: UICC: Set Root HUB speed as USB2 (caf/LA.BR.1.3.6_rb1.8)
ion: disable system contig heap (caf/LA.BR.1.3.6_rb1.8)
AGNi pureCM-MM v3.4:-
ASoC: wcd9335: Sound control (flar2)
Merge caf/LA.BR.1.3.6_rb1.8 (partial)
ext4 check & repair now optional in aroma installer
AGNi pureCM-MM v3.2:-
prima: Update QC prima wireless driver v3.0.11.61 to v3.0.11.66
fpc1020_tee: boost cpufreq & boost tasks to the big cores when touched anytime
AGNi Control: add Dynamic fsync & Light-Warm screen mode options
ext4 filesystem auto check & repair on each kernel install
Disable TouchBoost
AGNi pureCM-MM v3.2:-
qseecom: Fix SEND_MODFD ioctl failures for preloaded apps
add toggles for wakelocks
mdss_fb: backlight dimmer option
power: process: decrease time to enter sleep
power: quickwakeup: initial driver
fingerprint: boost cpufreq on unlock & boost tasks to the big cores when the scanner is used
sched: Add a check for cpu unbound deferrable timers
nohz: Get timekeeping max deferment outside jiffies_lock
cpufreq: Add Chill cpu governor
msm_adreno_tz: add adrenoboost
use big.Little a72/a53 compiler optimizations
Screen Tweak: Warm mode added to AGNi Control
Auto apply of AGNi control settings after reboot fixed
AGNi pureCM-MM v3.1:-
Built with GCC UBERTC 6.1.1
Screen modes in AGNi Control: Standard, Vivid, Reading, Night, LiveDisplay (attempted replication, may not be 100% same)
AGNi pureCM-MM v3.0:-
Based on caf/LA.BR.1.3.6_rb1.7
Update QC prima WiFi wireless driver v3.0.11.61 from LA.BR.1.3.6_rb1.7
tcp: fix use after free in tcp_xmit_retransmit_queue()
KEYS: Fix short sprintf buffer in /proc/keys show function
[PATCH] Fix a bug in __qseecom_update_cmd_buf (probable fix for full-disk encryption setup failures for CyanogenMod)
msm: thermal: add a module param to change the thermal throttle temperature point to userspace
tick: don't update idle time if cpu offline
msm: Fix high load average from uninterruptible waits
camera: better flash at most times
add goodix and fpc firmware & libs
add ironactive governor
Adreno idler available in AGNi control
drivers/staging/zram: zcomp_lz4, zcomp_lzo from Motorola MMI-MPD24.107-52
ram memory management changes from XiaoMI MI MAX
AGNi pureCM-MM v2.7:-
CM led driver - use proper max brightness values
Optional system tweaks in AGNi control (picked from radon)
interactive-tweak option in agni control
AGNi pureCM-MM v2.6r3:-
Upstream to linux 3.10.104
Hide verifiedbootstate to fix the failed SafetyNet CTS check.
audio: wcd9xxx-core,wcd9335: Bring to Xiaomi kenzo LP source state
goodix fp support (experimental)
disable livedisplay (no screen flickering)
get led notification working
AGNi pureCM-MM v2.5:-
based on caf/LA.BR.1.3.4_rb1.19
prima: Update QC prima wireless driver to v3.0.11.57
Revert: "cpufreq: cpu-boost: Remove migration sync boost"
drivers/mmc: timeout and other updates
Update gpu bus and power levels
Import stock mi camera drivers
Colour tweak mode 2 in Agni control (from Radon)
Zen IOsched option in Agni Control
AGNi pureCM-MM v2.4:-
Based on caf/LA.BR.1.3.6_rb1.5
WIP: Camera fixes (directed at better flash timing for CM-N)
Using Busybox v1.26.0 specifically compiled for AGNi (/sbin/busybox)
LCD hardware information can be seen in AGNi Control (options at end)
Goodix FP option to install specific libs
AGNi pureCM-MM v2.3:-
Based on caf/LA.BR.1.3.6
Asoc,codecs,qdsp6v2: Restore to Xiaomi kenzo LP source state
vidc updates
livedisplay fixed
wake gestures: disable vibration (to enable: echo 1 > /sys/android_touch/vib_wake)
Touch panel and camera information can be seen in AGNi Control (options at end)
AGNi pureCM-MM v2.2r3:-
Merge 'caf/LA.BR.1.3.6_rb1.6' and cm-14.0 sources
add support for STK3X1X sensortek proximity/ambient light sensor
fixed video recording issue
AGNi pureCM-MM v2.1r1:-
Interactive tuning
Fix missing boardtemp thermal sensor
wake gestures: make horizontal sweep more sensitive
Update goodix and fpc drivers
Fix hall sensor support
Merge remote branch caf/LA.BR.1.3.4_rb1.22
Properly Implement CM livedisplay
AGNi pureCM-MM v2.0r4:-
mdss: add missing bits for LiveDisplay
AGNi control: fix derp in max cpu freq scripts for BIG cores (no longer stuck to 1.4GHz)
fix leds not blinking
mdss updates
Merge remote-tracking branch 'caf/LA.BR.1.3.6_rb1.6'
AGNi pureCM-MM v2.0:-
added 400MHz cpu freq option
KSM support added default off (not included in agni control)
msm_eeprom: fixed s5k3p3_f3p3man camera sensor
msm_sensor: show camera module info in CIT
Revert powersuspend version 1.5
remove thunderplug in favour of MSM-HOTPLUG
added option for selecting stock or CM led drivers in aroma installer
AGNi pureCM-MM v1.9:-
ft5x06_ts: show touchscreen info and firmware
Update wifi driver 3.0.10.085 --> 3.0.11.51
Implemented AGNi Control app (controls: CPU governor, IO schedulers, CPU hotplugging types, zram, screen color tweak and more)
AGNi pureCM-MM v1.8:-
disable unneeded support for SYSVIPC
enable support for s5k3p3_f3p3man camera sensor
screen colors tweak
applied goodix fingerprint by alexstsv2
AGNi pureCM-MM v1.7:-
fs: dynamic sync 2.0
msm_hotplug v2.4
msm: sensor: Avoid potential stack overflow
drivers: cpuidle: msm: Use 64 bit type for sclk
cpufreq: interactive: reduce timer with screen off
Implement flar2's ElementalX Wake Gesture
Add s5k3p_f16s01c camera sensor support
USB: f_accessory: Fix NULL pointer dereference in acc_read()
tcp_output: set initial TCP window size to 64K
AGNi pureCM-MM v1.6:-
IO Governors: sio fiops sioplus row tripndroid zen cfq deadline bfq
CPU Governors: impulse darkness alucard zzmoove interactive
Thunderplug v5.0 hotplug algorithm
exFAT newer version
Dynamic Fsync v1.2
USB Fast Charge enabled
HID USB keyboard/mouse support
Sound control with basic functionality
frandom hwrng
selinux permissive to (avoid goodix related issues)
enable advanced tcp/ip congestion, default westwood
1 GB fast LZ4 Zram enabled
KCAL Control
Upstream to 3.10.103
AND MANY OTHERS ... refer github
Download the app for supporting this keyboard & mouse feature HERE
DOWNLOADS:- HERE
XDA:DevDB Information
AGNi 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.7_rb1.5, LOS15.0 official sources with selectively picked mods/patches
Version Information
Status: Stable
Created 2016-09-27
Last Updated 2018-02-09
Reserved
Reserved
Credits: @GuneetAtwal
Does this kernel fix drop 2% bug ?
khangcobra said:
Does this kernel fix drop 2% bug ?
Click to expand...
Click to collapse
the fix is applied
but kernel is untested...
lemme know
do take backups.
psndna88 said:
the fix is applied
but kernel is untested...
lemme know
do take backups.
Click to expand...
Click to collapse
Any recommend setting for this kernel to get the best of it ?
Thank u for this awesome kernel dev..... I am following u from ur Note 2 and S3 series..... Thank u once again.... Downloading this right away..... This is the very best
@psndna88 thanks for great kernel and support for Kenzo..
Btw, can u write recommended settings for daily usage,good battery etc, here and for miui mm Thanks
khangcobra said:
Any recommend setting for this kernel to get the best of it ?
Click to expand...
Click to collapse
marko94 said:
@psndna88 thanks for great kernel and support for Kenzo..
Btw, can u write recommended settings for daily usage,good battery etc, here and for miui mm Thanks
Click to expand...
Click to collapse
right now i use default ones, not got much time to fine tune
Thanks for the kernel ~ i am testing it with my own profile and see the different
Keep up the good work ~
great...downloading...will flash soon & feedback...
thanks for supporting this device...
review: can't use my fpc fingerprint...thought that this is known bug...no other bug found yet due to I need fingerprint and switch my kernel. kernel is pretty stable enough, thought this kernel will ready for daily driver in very short time.
keep your great work, really appreciate it and thanks.
I am running epic rom 6.9.22 based on miui mm. I flashed this kernel and the fingerprint sensor wasnt working at all
---------- Post added at 06:15 PM ---------- Previous post was at 06:14 PM ----------
max_of_MMX said:
I am running epic rom 6.9.22 based on miui mm. I flashed this kernel and the fingerprint sensor wasnt working at all
Click to expand...
Click to collapse
Sorry i ll post it in the correct thread
@psndna88 The kernel doesn't support FPC fingerprint...... I dirty flashed this on RR 5.7.4 and it didn't work so I clean flashed RR 5.7.4 and flashed it again..... This Kernel supports only Goodix fingerprint as of now I guess
please make one for CM with FPC fingerprint
I'm on Radon kernel, if i want to flash this kernel... should i go back to stock kernel first or can i directly flash agni over kernel?
AGNi pureCM-MM v1.7:-
fs: dynamic sync 2.0
msm_hotplug v2.4
msm: sensor: Avoid potential stack overflow
drivers: cpuidle: msm: Use 64 bit type for sclk
cpufreq: interactive: reduce timer with screen off
Implement flar2's ElementalX Wake Gesture
Add s5k3p_f16s01c camera sensor support
USB: f_accessory: Fix NULL pointer dereference in acc_read()
fpc fingerprint should be working
tcp_output: set initial TCP window size to 64K
psndna88 said:
AGNi pureCM-MM v1.7:-
fs: dynamic sync 2.0
msm_hotplug v2.4
msm: sensor: Avoid potential stack overflow
drivers: cpuidle: msm: Use 64 bit type for sclk
cpufreq: interactive: reduce timer with screen off
Implement flar2's ElementalX Wake Gesture
Add s5k3p_f16s01c camera sensor support
USB: f_accessory: Fix NULL pointer dereference in acc_read()
tcp_output: set initial TCP window size to 64K
Click to expand...
Click to collapse
Thx i will try
AGNi pureCM-N v1.7:-
AGNi_pureCM-N
for Android 7 Nougat
I dirty flashed both 1.7 & 1.6 kernel from cm13 which I downloaded from cm official website. I have a goodix fingerprint device, and the fingerprint showed up in the settings-lockscreen menu. But when I wanted to record my fingerprint, it said 'the enrollment was not completed.' I don't know why. Thank you anyway.
@psndna88, after reboot i can't use wake gesture until phone unlocked once, after that's wake gesture will work as expected. would be great if you take a look into this point due to this kind of issue didn't happen if i switch my kernel to ex.
anyway, i want to ask or maybe discuss about playing with interactive governor parameter.
everytime I am play with interactive governor, my phone can't go into deep sleep. i am pretty sure this not related with rom and kernel, but this kind of issue leave big question mark for me. whats wrong with my parameter, why my phone can't enter deep sleep afterwards. would you share your idea on this?
regards.

Categories

Resources