[Kernel][AOSP][05/23/13][001] KozmiKKernel [CPU OC][GPU OC] - One (M7) Original Android Development

KozmiKKernel​​
Features:
Custom User Voltage Control - Faux123
Max GPU OC 450mhz - Faux123
Max CPU OC up to 2096 ghz
Min CPU 48mhz
Linaro/Arm optimizations - showp1984
Governors: Interactive (default), Ondemand, Conservative, Smartmax, Performance
I/O Schedulers: Row (default), Deadline, CFQ, SIO, FIOPS
Touchscreen Magic: h2w/l2w/s2w/logo2menu/long tap sleep - Tbalden
Faqs:
Initial min cpu freq is 192mhz and max cpu freq is 1782. If you want to raise the or lower the freqs you may do so with virtually any cpu manager.
This kernel uses a unified frequency table which means that the better your cpu variant is the more you will be able to undervolt and likewise the worse your variant is the less you'll be able to undervolt.
This may blow your phone up, bring the end of the world, or otherwise devastate your life. I claim zero responsibility as I did not make you flash this on our phone.
Before flashing it is advised to remove all undervolting scripts and anything that modifies the cpu/gpu on boot. This kernel uses dvfs/voltages not currently used in other kernels for this device. Not removing said scripts may very easily result in boot loops.
This is forked off CyanogenMod/android_kernel_htc_m7. Hence any issues that are kernel related with Cyanogenmod are possibly broken here. Can always try and find out
Downloads:
001
Installation:
Flash zip in recovery. If you have any issues you may need to repack the kernel. However this should not be necessary.
Github (Source):
My Source
Benchmark:
Will come in awhile...
Credits:
CyanogenMod
LorDClockaN
Faux123
Showp1984
Tbalden
Flemmard
and many others as per Change Log

Change Log:
4e6fef2 2013-05-23 Timothy Nelson (HEAD, origin/kozmikkernel, kozmikkernel) KozmiKKernel: Updating defconfig
2001050 2013-05-23 Timothy Nelson mach-msm: msm-config: Setting VDD_MEM_MAX & VDD_DIG_MAX back to stock 1150000
7ad9f9f 2013-05-23 Timothy Nelson GPU OC: 450mhz
230c132 2013-05-23 Timothy Nelson cpufreq: Adding back in trace_cpu_up_frequency & trace_cpu_down_frequency,
35d2c2e 2012-12-15 Shaohua Li block: fiops add some trace information
039e4e7 2012-12-15 Shaohua Li block: fiops bias sync workload
5741035 2012-12-15 Shaohua Li block: fiops preserve vios key for deep queue depth workload
1bb4b04 2012-12-15 Shaohua Li block: fiops add ioprio support
fac0928 2012-12-15 Shaohua Li block: fiops sync/async scale
be622ce 2012-12-15 Shaohua Li block: fiops read/write request scale
dfc63ba 2012-12-15 Shaohua Li block: fiops ioscheduler core
5f67a64 2013-05-23 Timothy Nelson mach-msm: msm_dcvs: Increasing DCVS_MAX_NUM_FREQS.
2ee1e3f 2013-05-23 Timothy Nelson mach-msm: acpuclock-8064: Removing extra #endif added on accident.
fc9a4c9 2013-04-28 Timothy Nelson drivers: cpufreq: cpufreq_ondemand: Switching from using trace/events/cpufreq_interactive.h to trace/events/cpufreq_ondemand.h. In addition to reverting bac
eed152a 2013-05-19 Timothy Nelson mach-msm: acpuclock-8064: Adding 48000 and 96000 L2 Freq and CPU Freq
f670ecf 2013-05-08 Timothy Nelson mach-msm: acpuclock-8064: Adjusting freqencies.
2742c04 2013-04-30 Timothy Nelson mach-msm: msm-config: Setting min freq to 192mhz
6263514 2013-05-08 Dennis Rassmann mach-msm: Overlclocking: Changing to use one singular freqency table. And adding min freq setup for 192mhz.
1a90946 2013-04-30 Dennis Rassmann mach-msm/cpufreq: set safe frequencies from config
e776ce0 2013-04-30 Timothy Nelson mach-msm: Setting initial max and min freq from a central file include/mach/msm-config.h
66b13db 2012-11-22 faux123 Overclocking: limit initial max to system default
5fab39d 2013-04-30 Timothy Nelson mach-msm: acpuclock-krait: Switching VDD MIN/MAX to call values from include/mach/msm-config.h
5e679e2 2013-04-28 Timothy Nelson mach-msm: Switching to using custom msm-config.h
de774d1 2013-04-23 Timothy Nelson KozmiKKernel: mach-msm: KozmiK OC
2e4a7b4 2013-01-21 Gokhan Moral Add SIO I/O scheduler
1261d4e 2013-05-14 Timothy Nelson KozmiKKernel: Updating updater-script to flash boot.img in recovery
80869ff 2013-05-15 Chad Froebel bluetooth: Fix unusued variable warnings in bluesleep_bcm
1abf72c 2013-04-03 faux123 Voltage Control: allow for lower minimums
17024e5 2012-11-22 faux123 Voltage Control: add sysfs interface
c17b964 2012-11-22 faux123 Voltage Control: initial voltage control for MSM S4-Pro SOC
f8b7f14 2013-05-19 Timothy Nelson KozmiKKernel: Updating defconfig
bb148e6 2012-09-24 Dennis Rassmann fix gcc4.7 compile
592bef9 2013-04-28 Paul Reioux kernel/power/main: fix #ifdef derp by HTC
95aeec1 2012-12-05 Dennis Rassmann fix: warning: 'dport' may be used uninitialized in this function
ee3a596 2012-12-05 Dennis Rassmann fix: warning: 'sport' may be used uninitialized in this function
5cc5e23 2012-12-05 Dennis Rassmann fix: warning: 'protocol' may be used uninitialized in this function
ce271b6 2012-12-05 Dennis Rassmann fix: warning: 'daddr' may be used uninitialized in this function
e27750c 2012-12-05 Dennis Rassmann fix: warning: 'saddr' may be used uninitialized in this function
8fcd2b9 2012-12-05 Dennis Rassmann fix: warning: 'dport' may be used uninitialized in this function
2b6518ed 2012-12-05 Dennis Rassmann fix: warning: 'sport' may be used uninitialized in this function
1607a57 2013-03-10 Dennis Rassmann drivers/media/common/tuners/xc4000: initalize hw_major/minor and fw_major/minor
fd71403 2012-12-18 Dennis Rassmann drivers/media/common/tuners/xc4000: fix 'warning: '...' may be used uninitialized in this function'
70c617b 2013-05-19 Timothy Nelson KozmiKKernel: Adding defconfig
bbd4cc4 2013-05-19 Timothy Nelson KozmiKKernel: Adding Build scripting
7fc8a77 2013-05-17 tbalden (master) defconfig: remove HTC perflock and htc pnp manager
0215fac 2013-05-16 tbalden synaptics: fix touchscreen getting stuck with h2w/l2w/s2w
3df711c 2013-05-15 Ethan Chen msm: m7: free requested RCV_PAMP GPIO
3b0ebdc 2013-05-15 Ethan Chen ASoC: Squashed commit reverting all changes for RCV AMP usage
fb7673a 2013-05-15 Ethan Chen Merge "ASoC: re-enable RCV_AMP gpio_request code, Linux kernel style cleanup" into cm-10.1
bad2c54 2013-05-15 Ethan Chen Merge "msm_serial_hs: bulk update from CodeAurora" into cm-10.1
55c5c93 2013-05-14 Ethan Chen ASoC: re-enable RCV_AMP gpio_request code, Linux kernel style cleanup
23fe3ac 2013-01-08 Subhash Chandra Bose Naripeddy ASoC: msm: Decrease the playback period size of PCM driver
715cb71 2012-12-14 Phani Kumar Uppalapati ASoC: msm: Modify min and max period bytes and num periods
4f5314d 2012-11-19 Mingming Yin ASoC: msm: reduce period_bytes_min for voice call
7418f59 2012-08-24 Aviral Gupta ASoC: msm: Modify default buffer params of compressed driver
f3dc5b7 2012-09-21 SathishKumar Mani msm-pcm-q6: Add support for flexible recording period size
c5c5776 2012-09-11 SathishKumar Mani ASoc: msm: Increase default buffersize to 4k for audio playback
3fee4ed 2013-05-14 Ethan Chen msm_serial_hs: bulk update from CodeAurora
4742be6 2013-04-16 Minsung Kim cpufreq: interactive: fix uninitialized spinlock
1c3cb04 2013-03-21 Todd Poynor cpufreq: interactive: base above_hispeed_delay on target freq, not current
6d4a3ec 2013-03-20 Todd Poynor cpufreq: interactive: fix crash on error paths in get_tokenized_data
bc9de2f 2013-02-22 Lianwei Wang cpufreq: interactive: add io_is_busy interface
ec7cf89 2013-02-25 Minsung Kim cpufreq: interactive: allow arbitrary speed / delay mappings
87ebb83 2012-10-10 Steve Kondik cpufreq: interactive: Enable CPU utilization statistics
fda5f5e 2013-01-07 Lianwei Wang cpufreq: interactive: fix race on governor start/stop
7ca8344 2013-01-02 Todd Poynor cpufreq: interactive: fix deadlock on spinlock in timer
205f508 2012-12-23 Todd Poynor cpufreq: interactive: don't handle transition notification if not enabled
89eaca7 2012-12-21 Todd Poynor cpufreq: interactive: init default values at compile time
db6fdc3 2012-12-21 Todd Poynor cpufreq: interactive: default go_hispeed_load 99%, doc updates
0469bbf 2012-12-20 Todd Poynor cpufreq: interactive: fix race on timer restart on governor start
11befdc 2012-12-18 Todd Poynor cpufreq: interactive: fix racy timer stopping
01307bc 2012-12-19 Todd Poynor cpufreq: interactive: fix boosting logic
fb7c5d8 2012-12-18 Todd Poynor cpufreq: interactive: add timer slack to limit idle at speed > min
bbba813 2012-12-14 Todd Poynor cpufreq: interactive: specify duration of CPU speed boost pulse
767da94 2012-12-11 Todd Poynor cpufreq: interactive: adjust load for changes in speed
3d16c70e 2012-12-07 Todd Poynor cpufreq: interactive: remove load since last speed change
d2f897d 2012-11-14 Todd Poynor cpufreq: interactive: allow arbitrary speed / target load mappings
9476a3f 2012-11-08 Todd Poynor cpufreq: interactive: apply above_hispeed_delay to each step above hispeed
2170855 2012-11-28 Todd Poynor cpufreq: interactive: change speed according to current speed and target load
63b49f7 2012-11-28 Todd Poynor cpufreq: interactive: trace actual speed in target speed decisions
a1c52c2 2012-10-08 Todd Poynor cpufreq: interactive: kick timer on idle exit past expiry
0bd291d 2012-11-01 Lianwei Wang cpufreq: interactive: use deferrable timer by default
46aacf9 2012-11-05 Todd Poynor cpufreq: interactive: pin timers to associated CPU
427f5f3 2012-10-03 Todd Poynor cpufreq: interactive: run at fraction of hispeed_freq when load is low
7eaf0ba 2012-09-24 Todd Poynor cpufreq: interactive: always limit initial speed bump to hispeed
64e3b1d 2012-07-16 Todd Poynor cpufreq: interactive: remove input_boost handling
1c36d96 2012-07-16 Todd Poynor cpufreq: interactive: handle speed up and down in the realtime task
2b6f41b 2012-06-27 Sam Leffler cpufreq: interactive: keep freezer happy when not current governor
1c77c67 2012-06-27 Sam Leffler cpufreq: interactive: take idle notifications only when active
7feb9ee 2013-05-14 Ethan Chen Revert "cpufreq: fix interactive bug during hotplug."
4299418 2012-11-01 Narayanan Gopalakrishnan msm: cpufreq: increase priority of thread that increases frequencies
6cf3006 2013-03-11 Praveen Chidambaram Revert "msm: cpufreq: Remove cross-calling limitation"
766cdc2 2012-12-13 Anji Jonnala msm: cpufreq: Implement suspend/resume for cpufreq driver
6eb067c 2012-09-18 Praveen Chidambaram msm: cpufreq: Remove cross-calling limitation
3ac50bd 2012-07-17 Narayanan Gopalakrishnan msm: cpufreq: fix a race between hotplug and cpufreq
87f560f 2013-05-14 Ethan Chen m7: build modules into kernel where possible
06f338b 2013-05-13 Ethan Chen net: wireless: enable HTC beacon functions only for BCMDHD_4335
096a4f8 2013-05-13 Steve Kondik bluetooth: Fix race conditions in BT LPM
595c90c 2013-05-13 Steve Kondik bluetooth: Add low-power mode to support Bluedroid
dacc7b4 2013-05-13 Ethan Chen msm: m7: set GPIOs used by msm_serial_hs
ad4a265 2013-05-13 tbalden synaptics: fix touch screen to not report events when ts is off
c152246 2013-05-12 Daniel Hillenbrand Merge "m7: use interactive as the default CPU governor" into cm-10.1
4dff2f8 2013-05-12 Daniel Hillenbrand Merge "m7: use ROW as default IO scheduler" into cm-10.1
ef460f3 2013-05-12 Ethan Chen m7: use interactive as the default CPU governor
ce137db 2013-05-12 Ethan Chen m7: use ROW as default IO scheduler
3a1c468 2013-05-12 Daniel Hillenbrand Merge "m7: use Google AOSP bcmdhd" into cm-10.1
ba4b7da 2013-05-12 Daniel Hillenbrand Merge "net: wireless bcmdhd: Update to version 1.88.16" into cm-10.1
b69b2fb 2013-05-12 Ethan Chen m7: use Google AOSP bcmdhd
976345c4 2013-05-12 Ethan Chen net: wireless bcmdhd: Update to version 1.88.16
e935f66 2013-05-12 Daniel Hillenbrand cpufreq: bulk update from caf, restore comments, disable 2 phase ondemand
8de55d7 2013-05-12 tbalden synaptics: logo2menu: fix remaining use cases for long tap sleep
7c64c21 2013-05-12 Daniel Hillenbrand Merge "Block (Squashed commit of msm-3.4 updates)" into cm-10.1
b93f0c1 2013-05-12 Daniel Hillenbrand Merge "logo2menu: adding option to sync on/off input events separately" into cm-10.1
5b1a174 2013-05-12 tbalden logo2menu: adding option to sync on/off input events separately
b9c4498 2013-05-12 Daniel Hillenbrand Merge "board-m7-gpu: Increase bus freq at lowest GPU frequency" into cm-10.1
0ec5cc5 2013-05-12 Andrew Dodd board-m7-gpu: Increase bus freq at lowest GPU frequency
26ac4ec 2013-05-11 tbalden soc msm: lowering gain level and steps to avoid distortion
504fa2e 2013-05-11 Daniel Hillenbrand Merge "remove extraneous gpio_free() call" into cm-10.1
6517ff5 2013-05-11 Daniel Hillenbrand pm8xxx-vibrator: reduce logspam
6442e86 2013-05-10 Nicholas Flintham Block (Squashed commit of msm-3.4 updates)
8331fbb 2013-05-11 tbalden Adding Touchscreen magic: h2w/l2w/s2w/logo2menu/long tap sleep
8649a33 2013-05-09 Roman Birg remove extraneous gpio_free() call
b16cc68 2013-05-10 tbalden defconfig: enable cpu freq stats
d1af028 2013-05-10 Daniel Hillenbrand m7: rename defconfig to cyanogenmod_m7_defconfig, add stock defconfig back
83c04e7 2013-05-10 Daniel Hillenbrand m7: set localversion
82c1e77 2013-05-10 Daniel Hillenbrand add vfe iommu domains back
4f518aa 2013-05-09 h8rift rt5501: adjust amp value for wired headset and headphones
b855ad5 2013-05-08 h8rift Merge pull request #1 from mrbirdman/cm-10.1
615aad2 2013-05-06 Daniel Hillenbrand m7: reduce initial voltage level for vibrator from 2700 to 1700
42849f8 2013-05-06 Daniel Hillenbrand media: apply camera changes from 1.29.401.2_R
4cb1ab0 2013-04-26 Chad Froebel rt5501: Reduce gain to -6dB, turn additonal noise gate on
3d40e4d 2013-05-05 detule ion: ioctl compatibility with userland using old api
b6702c7 2013-05-05 Daniel Hillenbrand pm8xxx-vibrator: show raw voltage level without strings
c701879 2013-05-05 Daniel Hillenbrand defuxx usb, break all teh things
ec746aa 2013-05-03 Daniel Hillenbrand m1: update defconfig
df67b97 2013-05-03 Chad Froebel Add bluedroid compatible bluesleep and utilize it.
644e4ac 2013-05-03 Chad Froebel board-m7: Rename msm_serial_hs_brcm to msm_serial_hs.
9130386 2013-05-03 Christopher R. Palmer bluetooth: bulk update to the CAF drivers
743d215 2013-05-02 Daniel Hillenbrand msm_rotator: bulk update from caf
18d15f2 2013-05-02 Daniel Hillenbrand Kbuild: copy msm headers
25efde3 2013-05-02 Daniel Hillenbrand gadget: enable adb by default
5e9d07e 2013-05-01 Nicholas Flintham update defconfig
84721e4 2013-04-21 tbalden Fixing earpiece amplification in call.
61f26b2 2013-04-30 Flemmard get rid of hci_get_drvdata
488f4a6 2013-04-30 Flemmard iommu and ****.
8c6a490 2013-04-30 Nicholas Flintham kgsl and video/msm from msm8960 2.5 branch
7e09f37 2013-04-11 Flemmard Init wfd writeback panel later ..
8c63c96 2013-04-11 Flemmard More clock changes for iommu
877127b 2013-04-11 Flemmard msm-3.4 (commit 35cca8ba3ee0e6a2085dbcac48fb2ccbaa72ba98) video/gpu/iommu .. and all the hacks that goes with that
c72185d 2013-04-11 Flemmard m7-gpu: add adreno versioning logic according to soc
9c2fa24 2013-04-10 Flemmard Oh, and m7_defconfig too ..
fd04ea2 2013-04-10 Flemmard A bunch of crap. initial dcvs, some hacks in f_projector, a hack delaying writeback_panel init so that device one is inited first, some missing files, some board/d
91237d1 2013-04-10 Flemmard Updated iommu/msm_bus
7be7734 2013-04-10 Flemmard Second row
fe2ecc3 2013-04-10 Flemmard First raw of porting old to new ion api calls
9fc1014 2013-04-10 Flemmard Copied caf 2.5.1 video/gpu genlock and rotator [WIP]
1e3d311 2013-04-10 Nicholas Flintham Initial commit from HTC m7ul-3.4.10-jb-crc-ddcfb8c
117af06 2013-04-10 Flinny Initial commit

Reserved 2

nice one... I´m now on v8 on mine (havent released in XDA so far, only in our community). Goddamn what a changelog :victory: PVS based oc/uv is really a nice feature

n3ocort3x said:
nice one... I´m now on v8 on mine (havent released in XDA so far, only in our community). Goddamn what a changelog :victory: PVS based oc/uv is really a nice feature
Click to expand...
Click to collapse
Thanks. 48mhz min works fantastic
Sent from my HTC One using xda premium

kozmikkick said:
Thanks. 48mhz min works fantastic
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Have u got any issues with stuttering freqs on audio ?? My sense testers reported that when they run 135MHz audio stutters.. thats why i havent lowered it so far.. but tbh.. it burns under my nails... also on n4 there was a SOD problem below 192Mhz.. i cant tell ya if it could happen to us also but hey.. we wont know if we dont test

Nice changelog, any chance of making a sense kernel based on this? I'm sure all the AOSP guys will love it.

n3ocort3x said:
Have u got any issues with stuttering freqs on audio ?? My sense testers reported that when they run 135MHz audio stutters.. thats why i havent lowered it so far.. but tbh.. it burns under my nails... also on n4 there was a SOD problem below 192Mhz.. i cant tell ya if it could happen to us also but hey.. we wont know if we dont test
Click to expand...
Click to collapse
I'm listening to music with the screen locked and min 48mhz set and having zero issues
SOD may have been due to the implementation of it maybe?

jlevy73 said:
Nice changelog, any chance of making a sense kernel based on this? I'm sure all the AOSP guys will love it.
Click to expand...
Click to collapse
Yes there will be a sense version with most of these features. However it won't be released for a week or so.

Can't wait to try this out when some of the other problems with CM are fixed. Will be keeping an eye on this.

kozmikkick said:
I'm listening to music with the screen locked and min 48mhz set and having zero issues
SOD may have been due to the implementation of it maybe?
Click to expand...
Click to collapse
ok thats aweseome to hear so i can hit my testers a version with freqs below 135 ! Yeah it could be due to implementation, on n4 some guys tried to reduce it via the pll_8 clock but i noticed 2 things on this: if u do it like that, it wont have any effect on benchmarks (so if u bench 378 min max and 162 min max u get the same results, its not like that if u go the way over HFPLL with self calculated values). the second thing could be because PLL8 is assigned to some other clocks... like it could be a child clock and this could also be the reason for those SOD´s

n3ocort3x said:
ok thats aweseome to hear so i can hit my testers a version with freqs below 135 ! Yeah it could be due to implementation, on n4 some guys tried to reduce it via the pll_8 clock but i noticed 2 things on this: if u do it like that, it wont have any effect on benchmarks (so if u bench 378 min max and 162 min max u get the same results, its not like that if u go the way over HFPLL with self calculated values). the second thing could be because PLL8 is assigned to some other clocks... like it could be a child clock and this could also be the reason for those SOD´s
Click to expand...
Click to collapse
Not sure. I'm using pll_8 clock for all of my freqs under 384
Sent from my HTC One using xda premium

kozmikkick said:
Not sure. I'm using pll_8 clock for all of my freqs under 384
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Source is up of course so you can see what I did.
Sent from my HTC One using xda premium

Can't wait to eventually try this kernel, I'm just waiting till the AOSP ROMs become more optimized and bug free. I imagine the min 48 will be nice for the battery
Sent from my HTC One

killman2659 said:
Can't wait to eventually try this kernel, I'm just waiting till the AOSP ROMs become more optimized and bug free. I imagine the min 48 will be nice for the battery
Sent from my HTC One
Click to expand...
Click to collapse
Only real issue is bluetooth in aosp right now. Everything else is pretty minor if at all.

I tried to use this kernel with the Carbon latest nightly and it stays on the home screen saying NFC and com.android.phone has closed and keeps saying that so i can't continue... Any ideas?

Poesini said:
I tried to use this kernel with the Carbon latest nightly and it stays on the home screen saying NFC and com.android.phone has closed and keeps saying that so i can't continue... Any ideas?
Click to expand...
Click to collapse
Not sure. Is carbon fully up to date with cm? If not that could be an issue. I'm on ICJ and it works perfectly.
Sent from my HTC One using xda premium

Poesini said:
I tried to use this kernel with the Carbon latest nightly and it stays on the home screen saying NFC and com.android.phone has closed and keeps saying that so i can't continue... Any ideas?
Click to expand...
Click to collapse
I had this same problem on the latest CM nightly
Sent from my HTC One using xda app-developers app

Try repacking.
Sent from my HTC One using xda premium

Thismines said:
I had this same problem on the latest CM nightly
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Same with me, and having same problem.

Related

[KERNEL][AOSP/SENSE] MAC

[KERNEL][AOSP/SENSE] MAC
Team D.I.R.T Presents​
D.I.R.T y MAC Kernel
For AOSP​
This kernel is for 4.3.x aosp roms ONLY and you MUST be s-off​
What is a kernel?​
In computing, the kernel is the main component of most computer operating systems; it is a bridge between applications and the actual data processing done at the hardware level. The kernel's responsibilities include managing the system's resources (the communication between hardware and software components).​
{
"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"
}
Disclaimer
/*
* Your warranty is now likely void.
*
* I am not responsible for bricked devices, dead SD cards,
* spontaneous combustion, or any other host of cosmic penalties
* which may befall you, your family, or your phone.
*
*/​
Features
AOSP No longer in development until I can get my phone fixed
Instructions
MUST be s-off
Flash it!
Download
Source
https://github.com/MikeC84/android_kernel_htc_msm8960
Special Thanks
Intervigilium
Tbalden
Showp1984
Faux123
XDA:DevDB Information
D.I.R.T y MAC, Kernel for the Sprint HTC EVO 4G LTE
Contributors
MikeC84
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: mac_stable
Stable Release Date: 2013-12-19
Current Beta Version: mac_experimental
Beta Release Date: 2013-11-01
Created 2013-12-20
Last Updated 2014-05-22
Team D.I.R.T Presents​
D.I.R.T. y MAC
For Sense​
This kernel is for Sense 4.1.x but may work on Sense 4.2.2 roms as well​
What is a kernel?​
In computing, the kernel is the main component of most computer operating systems; it is a bridge between applications and the actual data processing done at the hardware level. The kernel's responsibilities include managing the system's resources (the communication between hardware and software components).​
Disclaimer
/*
* Your warranty is now likely void.
*
* I am not responsible for bricked devices, dead SD cards,
* spontaneous combustion, or any other host of cosmic penalties
* which may befall you, your family, or your phone.
*
*/​
Features
Stable
Based on Official 3.16.651.3 OTA Update
Compiler optimizations
Kernel based mpdecision
Kernel based thermal management
CPU OC -> 1782 MHz
Default cpu speeds - min = 384000 max = 1512000
CPU uV/OV -> 7000000 - 1425000
L2 OC -> 1404 MHz
CPU supported unaligned accesses
Enable efficient unaligned capability for ARM and in all krait cores
Voltage Coltrol
GPU OC - 2d -> 266 MHz - 3d -> 4875 MHz
GPU simple governor
LZ4 kernel compression
Crypto support for LZ4
Update zram to 3.8+ and use LZ4 compression
Crypto with per-cpu support for zram
Update zcache to 3.8+ and use LZ4 compression
Update zsmalloc to 3.8+
Frontswap
Update LZO compression and optimize for CPUs with inefficient unaligned access
Use glibc version of lib: memcopy
Use glibc version of lib: string
Optimized AES and SHA1 routines
Optimized ARM RSEM algorithm
Optimize vfp with neon
Sound Control
Enable Jit compiler packet filters by default
Enable ARCH_POWER
Autogroup patch group by current user android UID instead of task ID
LOAD_FREQ (4*HZ+61) avoids loadavg Moire
ARM: mutex: use generic atomic_dec-based implementation for ARMv6+
Frandom
exFAT 1.2.6
Enable pipe compiling
msm_sleeper
generic strnlen_user and strncpy_from_user
Update sched with caf/msm-3.4
Fsync Control
Update CPU topology
CPU Power driver
s2w
dt2w
Pocket detection
New Interactive
New Ondemand
ROW
SIO
BFQ v6r2
FIOPS
Experimental
Based on Official 3.16.651.3 OTA Update
Compiler optimizations
USB Fast Charge
Sweep2Wake with pocket detection
Kernel based mpdecision
Kernel based thermal management
CPU OC -> 1782 MHz
CPU uV/OV -> 7000000 - 1425000
L2 OC -> 1404 MHz
CPU supported unaligned accesses
CPU Sleeper
Voltage Coltrol
GPU OC - 2d -> 266 MHz - 3d -> 480 MHz
Glitch free GPU frequency changing
GPU simple governor
LZ4 kernel compression
Crypto support for LZ4
Update zram to 3.8+ and use LZ4 compression
Crypto with per-cpu support for zram
Update zcache to 3.8+ and use LZ4 compression
Update zsmalloc to 3.8+
Frontswap
Update LZO compression
Optimize LZO code for CPUs with inefficient unaligned access
Efficient unaligned access for ARM
Update workqueue to 3.6+
Update kthread_workers
Update sched
Use glibc version of lib: memcopy
Use glibc version of lib: string
Optimized AES and SHA1 routines
Optimized ARM RSEM algorithm
Optimize vfp with neon
Increase readahead
Dynamic fsync
Sound Control
Lower vfs cache pressure and make configurable
Enable Jit compiler packet filters by default
Enable ARCH_POWER
Disable gentle fair sleepers
Autogroup patch group by current user android UID instead of task ID
LOAD_FREQ (4*HZ+61) avoids loadavg Moire
ARM: mutex: use generic atomic_dec-based implementation for ARMv6+
Update CPU topology
CPU Power drivers
Frandom
exFAT 1.2.6
Enable pipe compiling
View krait chip variant
+ MUCH more
LagFree
Badass with 2 and 3 phase support and GPU control
Wheatley
Intellidemand
Dancedance
Interactive
Ondemand
ROW
Deadline
SIO
BFQ v6r2
FIOPS
Instructions
MUST be S-OFF
Boot to recovery
Flash zip
Reboot 5-10 min
Download
Download
Source
Stable
https://gitlab.com/MaC/android-kernel-jewel
Experimental
https://bitbucket.org/MikeC84/android_kernel_jewel
Special Thanks
HTC
CAF
Team DIRT
Showp1984
Faux123
Flar2
Bugs​
None!
To Do​
AOSP
CPU OC uV
GPU OC
ThermalD
Mpdecision
Forced Fast Charge
SENSE
Moar updates to workqueue
Update android binder
Update RWSEM
Update Lowmemorykiller
Add zram for android
Update CPU topology
Remove cpu power drivers
MUCH more backports
Change Log​
AOSP
3/5/2013 - RC1
Linux 3.0.68
Linaro -O3 optimized
Linaro Topology drivers - (Vincent Guittot)
Compiler Optimizations
Optimized CRC32 Algorithm
Sweep2Wake w/sysfs - (zarboz/Chad Goodman)
XZ Kernel Compression
zRam and zcache updated
Updated LZO compression / decompression
SLQB Memory Allocator - Default
Optimize SLUB
Glitch free GPU frequency changing
Lower vfs cache pressure and add to kconfig
Disabled GENTLE_FAIR_SLEEPERS
Optimized AES and SHA1 routines
Optimized ARM RWSEM algorithm
Use git implementation of SHA-1
Use glibc version of lib: memcopy
Use glibc version of lib: string
Proportional rate reduction for TCP
Dynamic fsync - (faux123)
Compile vfs with neon
Prevent aliased requests from starving other io
USB OTG - USB Storage
Take wakelock when VBUS present
LOAD_FREQ is supposed to equal 4.61
Increase min / max readahead buffers
Smartass v2 w/sysfs - (Ziggy471)
LagFree w/sysfs - (Ziggy471)
Badass with 2 and 3 phase support and GPU control - (Showp1984)
Wheatley
ROW
Deadline - tweaked to perform better on Android
SIO - tweaked to perform better on Android
BFQ v6R2
SENSE
12/19/2013 - Stable
Based on Official 3.16.651.3 OTA Update
Compiler optimizations
Kernel based mpdecision (showp1984)
Kernel based thermal management (showp1984)
CPU OC -> 1782 MHz
Default cpu speeds - min = 384000 max = 1512000
CPU uV/OV -> 7000000 - 1425000
L2 OC -> 1404 MHz
CPU supported unaligned accesses
Enable efficient unaligned capability for ARM and in all krait cores
Voltage Coltrol (showp1984)
GPU OC - 2d -> 266 MHz - 3d -> 4875 MHz
GPU simple governor (faux123)
LZ4 kernel compression
Crypto support for LZ4
Update zram to 3.8+ and use LZ4 compression
Crypto with per-cpu support for zram
Update zcache to 3.8+ and use LZ4 compression
Update zsmalloc to 3.8+
Frontswap
Update LZO compression and optimize for CPUs with inefficient unaligned access
Use glibc version of lib: memcopy
Use glibc version of lib: string
Optimized AES and SHA1 routines
Optimized ARM RSEM algorithm
Optimize vfp with neon
Sound Control (faux123)
Enable Jit compiler packet filters by default
Enable ARCH_POWER
Autogroup patch group by current user android UID instead of task ID
LOAD_FREQ (4*HZ+61) avoids loadavg Moire
ARM: mutex: use generic atomic_dec-based implementation for ARMv6+
Frandom
exFAT 1.2.6
Enable pipe compiling
msm_sleeper (flar2 + a modification by me)
generic strnlen_user and strncpy_from_user
Update sched with caf/msm-3.4
Asynchronous fsync (flar2)
Update CPU topology
CPU Power driver
11/1/2013 - R1 Expermiental
(initial): Initial import of HTC Jewel source
Makefile: add kernel name and use optimized linaro 4.8
defconfig: update with auto generated config
return_address: hide TODO warning
cifs: fix 'midQ' uninitialized warning
xc4000: fix uninitialized warnings
xc5000.c: Fix uninitialized warnings
xt_socket: fix uninitialized warnings
mipi_novatek: fix warning
mipi_tc358764_dsi2lvds: fix warning
hci_conn: fix warning
fix gcc4.7 compile
Add optimization levels to Kconfig (-Os, -O2, -O3, -Ofast)
Makefile: change HOSTCFLAGS and HOSTCXXFLAGS to -O3
defconfig: enable -O3 optimization
sysctl: fix uninitialized warnings
namei: fix uninitialized warnings
kernel/workqueue.c: avoid array subscript above array boundaries
namespace.c: Fix uninitialized warnings
msm_rotator: fix 'ps0_need' uninitialized warning
control.c: Fix 'val' uninitialized warning
journal.c: Fix 'blocknr' uninitialized warning
mixer.c: fix uninitialized warnings
qcedev.c: fix array subscript is above array bounds warning
cm3629.c: Fix 'cmd[1]' uninitialized warning
tcp_input.c: fix array subscript is above array bounds warning
nf_conntrack_h323_main.c: fix uninitialized warnings
af_unix.c: Fix 'hash' uninitialized warnings
phy.c: fix array subscript is above array bounds warning
mmc_ops.c: fix 'status' uninitialized warning
xdr.c: Fix uninitialized warnings
pm8xxx-ccadc.c: Fix uninitialized warnings
pm8921-charger-htc: fix uninitialized warnings
pm8921-bms-htc: fix uninitialized warnings
ppp_generic: fix 'code' uninitialized warnings
hub.c: Fix uninitialized warnings
android: fix 'err' uninitialized warning
transport.c: fix 'partial' uninitialized warning
kernel/power/main.c fix error: 'state_onchg_attr' undeclared here
drivers/usb/gadget/f_mtp: fix compiling without perflock
drivers/usb/gadget/android: fix compiling without perflock
drivers/media/video/msm/msm: fix conflicting types for system_rev
cpuinit: get rid of __cpuinit, first regexp
cpuinit: get rid of __cpuinit, second regexp
cpuinit: get rid of __cpuinit, third regexp
cpuinit: get rid of __cpuinit, fourth regexp
cpuinit: get rid of __cpuinit, fifth regexp
cpuinit: get rid of __cpuinit, sixth regexp
cpuinit: get rid of __cpuinit, manual fixups
cpuinit: turn __cpuinit into nops
kbuild: drop cpuinit/cpuexit checks in modpost
revert hacks for the previous misuse of __cpuinit for hotplug only functions
kernel/workqueue.c: Revert hacks for previous misuse of cpuinit
acpu: export krait variant to debug
acpu: update krait variant export to include chip version (version 1 was never shipped to consumers so I removed the option)
acpu: krait version: fix krait version export and fix spacing
arch/arm/mach-msm: Allow building without htc_util and fix building without it
drivers/net/usb/: add missing rmnet_usb drivers
perflock: hack to remove but still allow loading precompile modules
wcnss_lan: export this symbol since prima_wlan checks for it
kernel/module: skip symbol version check for module prima_wlan
defconfig: update
Makefile: add Snapdragon optimizations
Makefile: optimizing build-options for linaro
Makefile: vectorize for quadword registers
arm: Makefile: enable pipe compiling
vfp: compile with neon
lib/memcopy: use glibc version
lib/string: use glibc version
Optimized ARM RWSEM algorithm
arm/crypto: Add optimized AES and SHA1 routines
fs/dyn_sync_cntrl: dynamic sync control
fs/dyn_sync_cntrl: Linux 3.4 Kernel compatibility fixup
fs/dyn_fsync: check dyn fsync control's active prior to performing fsync ops
dynamic filesync: add some cache optimizations
dynamic fsync: favor true case since most will be using this feature
dynamic fsync: add reboot notifier to force flush outstanding data
dynamic fsync: add kernel panic notifier to force flush outstanding data
dynamic fsync: don't disable fdatasync()
[PATCH] arm: Allow CPU-supported unaligned accesses
arch: arm: Kconfig: enable unaligned capability for ARM
fs: move vfs_cache_pressure to kconfig
voltage_control: initial voltage control for 8960 krait
Voltage Control: add sysfs interface
Sound Control: Sound control for WCD93xx codec
sound control: update control offsets for MSM8960 soc
Sound Control: Added headphone poweramp controls
drivers: char: add frandom
arm: add usb force fast charging
drivers: misc: use ac charging for unknown chargers
drivers: input: add sweep2wake support
s2w: add pocket detection
fs: add exfat 1.2.6
cpu: add cpu overclock
cpufreq: add Smartmax cpu governor
cpufreq: add Wheatley cpu governor
cpufreq: add Lagfree cpu governor
cpufreq: add Badass cpu governor
cpufreq: add Intellidemand cpu governor
cpufreq: add Dancedance cpu governor
cpufreq: add Interactive governor
cpufreq: update Ondemand cpu governor
cpufreq: Save user policy min/max instead of policy min/max during hotplug
mach-msm: cpufreq: set safe freqs from config
mach-msm: Kconfig: set default min / max cpu speeds
msm: rq_stats: Support to know cpu utilization in userspace
msm: rq_stats: Fix missing initalization of cur_freq
msm:rq_stats: Add hotplug disable attribute
msm:rq_stats: Fix hotplug attribute during the suspend failure
msm:rq_stats: Register for Cpufreq policy notification
msm: rq_stats: add msm_mpdecision entry
mach-msm: Add msm_mpdecision Kconfig & Makefile hooks
mach-msm: Add msm_mpdecision
mach-msm: mpdecision: small cleanup
mach-msm: mpdecision: add load based decision making
mach-msm: mpdecision: restructure locks, add delay
mach-msm: mpdecision: pause if CPU is unplugged outside of mpdecision
mach-msm: mpdecision: change early_suspend_level to blank_screen
mach-msm: mpdecision: don't start immediately
mach-msm: mpdecision: show cpumask after up/down
mach-msm: mpdecision: always set the suspend var
mach-msm: mpdecision: remove up/down delay, our default delay is large enough
mach-msm: mpdecision: add email to (c)
mach-msm: mpdecision: fix foreign hotplug/unplug detection
mach-msm: mpdecision: show how long the cpu was online
mach-msm: mpdecision: rename msm_mpdec_suspend to msm_mpdec_cpudata
mach-msm: mpdecision: add sysfs interface
mach-msm: mpdecision: remove debug output
mach-msm: mpdecision: increase startdelay for sense
mach-msm: mpdecision: adjust thresholds for sense
mach-msm: mpdecision: fix foreign cpu control detection
mach-msm: mpdecision: allow mpdecision to be disabled (sysfs)
mach-msm: mpdecision: increase start delay for Sense
mach-msm: mpdecision: increase up threshold for Sense
mach-msm: mpdecision: sysfs: check if cpu is offline before hotplugging it
mach-msm: mpdecision: don't turn off cpu1 if freq > idle
mach-msm: mpdecision: fixup: move idle block to mpdecision()
mach-msm: mpdecision: don't turn on cpu1 if cpu0 freq is below idle_freq
msm_mpdecision: fix check for khz/mhz value (idle_freq sysfs)
msm_mpdecision: add debug output
msm_mpdecision: make mpdecision() core independent
msm_mpdecision: make msm_mpdec_work_thread() core independent
msm_mpdecision: fix get_slowest_cpu()
msm_mpdecision: make debug output more compact & informative
msm_mpdecision: decrease startup delay
msm_mpdecision: decrease decision delay
msm_mpdecision: update core data on first call
msm_mpdecision: don't let msm_mpdec_work_thread() run if we are still booting
msm_mpdecision: make earlysuspend/lateresume core independent
msm_mpdecision: update header to include full feature list
msm_mpdecision: export the new, larger nwns/twts arrays to sysfs
msm_mpdecision: fix disabling mpdecision over sysfs for multicore
msm_mpdecision: remove useless locking
msm_mpdecision: use own workqueues
msm_mpdecision: cancel/resume main work thread on ES/LR
msm_mpdecision: use unique lock names
msm_mpdecision: add max/min cpu limits to sysfs
msm_mpdecision: use CONFIG_NR_CPUS for max_cpu sysfs
msm_mpdecision: decrease delay between checks to 70ms
msm_mpdecision: add get_rate()
msm_mpdecision: fix merge errors
msm_mpdecision: various fixes and tweaks
msm_mpdecision: disable debug
msm_mpdecision: when returning from sleep, start immediately
msm_mpdecision: we can't turn off cpu0
msm_mpdecision: turn on cpu1 early
msm_mpdecision: on resume pull up cpu1
msm_mpdecision: tweak hotplug values
mpdecision: checking every 100ms is enough
mpdecision: update copyright
msm_mpdecision: add stats & expose to sysfs
msm_mpdecision: fix sleep, don't use pause
msm_mpdecision: fix spacing across the whole file
msm_mpdecision: stats: if cpu is online, add current ontime to stats
cpufreq: fix compile error with percpu cpu_init_done
msm_mpdecision: remove not present cpus from log messages (we only have 2 cores :/)
msm_mpdecision: adjust values for the ville (we only care for the 1st and the 4th)
msm_mpdecision: add input event boost [read more]
msm_mpdecision: add sysfs interface for input event boost
msm_mpdecision: input event boost: fix not resetting boost if cpu was unplugged before
msm_mpdecision: tune hotplug values
msm_mpdecision: boost: detect changed min frequency and update accordingly
msm_mpdecision: boost: don't schedule more check than needed
msm_mpdecision: increasing the check delay to 130ms
msm_mpdecision: change frequencies for input boost
msm_mpdecision: min_cpus & max_cpus should on/offline affected cpus
msm_mpdecision: several changes [read more]
msm_mpdecision: we only have 2 cores, so don't show more
Revert "cpufreq: fix compile error with percpu cpu_init_done"
msm_mpdecision: fix missing includes
msm_mpdecision: fix changing boost freq sets min = boost freq
msm_mpdecision: boost: if we are not boosted, revib_wq does not need to run at all
msm_mpdecision: turn on input boost by default when mpdecision is enabled
cpufreq: add msm_sleeper
kgsl: add gpu overclock
kgsl: ensure glitch free changing of the gpu frequencies
kgsl: add a simple gpu governor for adreno xxx gpu series
kgsl: make simple governor a selectable option, co-exist with ondemand
kgsl: simple governor: expose tunables to sysfs interface via module_param
kgsl: Simple Governor: fix minor logic issue
msm: kgsl: add new sysfs node to list gpu clock frequencies
block: cgroups and kconfig build bits for BFQ v6r2 io scheduler for 3.4
block: introduce the BFQ v6r2 io scheduler for 3.4
block: bfq: add early queue merge EQM to BFQ v6r2 for 3.4
block: fiops ioscheduler core
block: fiops read/write request scale
block: fiops sync/async scale
block: fiops add ioprio support
block: fiops preserve vios key for deep queue depth workload
block: fiops bias sync workload
block: fiops add some trace information
block: Expose kblock_schedule_delayed_work()
block: Adding ROW scheduling algorithm
block: ROW: Correct minimum values of ROW tunable parameters
block: ROW: Fix forced dispatch
Documentation: block: ROW I/O scheduler
block: Add support for reinsert a dispatched req
block: Add API for urgent request handling
row: Adding support for reinsert already dispatched req
block:row: fix idling mechanism in ROW
row: Add support for urgent request handling
block: row: Add some debug information on ROW queues
block: row: Insert dispatch_quantum into struct row_queue
block: row: fix sysfs functions - idle_time conversion
block: row: Aggregate row_queue parameters to one structure
block: row: Dispatch requests according to their io-priority
block: row: Idling mechanism re-factoring
block: add REQ_URGENT to request flags
block: row: Don't notify URGENT if there are un-completed urgent req
block: row: Update initial values of ROW data structures
block: row: Re-design urgent request notification mechanism
block: row: Prevent starvation of regular priority by high priority
block: row: Update sysfs functions
block: row: Fix starvation tolerance values
mm: pass readahead info down to the i/o scheduler
block: row-iosched idling triggered by readahead pages
block: row: change hrtimer_cancel to hrtimer_try_to_cancel
block: row: Remove warning massage from add_request
block: add sio i/o scheduler
include: linux: increase min / max readahead
kernel: sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire
trace: power: add cpu_frequency_switch_{start, end}
trace: power: Adding trace events for cpufreq
cpufreq: Retain only online cpus in managed_policy->cpus
msm: cpufreq: Ensure cpufreq change happens on corresponding CPU
cpufreq: fix build error
trace: Remove unused workqueue tracer
workqueue: change BUG_ON() to WARN_ON()
workqueue: Catch more locking problems with flush_work()
workqueue: don't use WQ_HIGHPRI for unbound workqueues
workqueue: factor out worker_pool from global_cwq
workqueue: use @pool instead of @gcwq or @Cpu where applicable
workqueue: separate out worker_pool flags
workqueue: introduce NR_WORKER_POOLS and for_each_worker_pool()
workqueue: reimplement WQ_HIGHPRI using a separate worker_pool
workqueue: perform cpu down operations from low priority cpu_notifier()
workqueue: drop CPU_DYING notifier operation
workqueue: ROGUE workers are UNBOUND workers
workqueue: use mutex for global_cwq manager exclusion
workqueue: drop @bind from create_worker()
workqueue: reimplement CPU online rebinding to handle idle workers
workqueue: don't butcher idle workers on an offline CPU
workqueue: remove CPU offline trustee
workqueue: simplify CPU hotplug code
kthread_worker: reorganize to prepare for flush_kthread_work() reimplementation
kthread_worker: reimplement flush_kthread_work() to allow freeing the work item being executed
workqueue: fix spurious CPU locality WARN from process_one_work()
workqueue: reorder queueing functions so that _on() variants are on top
workqueue: make queueing functions return bool
thermal: Don't limit CPU frequency after msm_thermal is disabled
drivers/thermal: Add 3-phase in kernel thermal management
msm8960_tsens: enable all thermal devices
board-ville: fix small typo in thermal limit definitions
msm_thermal: export if we are currently throttled
msm_thermal: fix spacing throughout the whole file
msm_thermal: add stats for throttling
Revert "msm_thermal: remove platform driver"
thermal: Fix critical enable/disable bug from STOCK source
kthread: fix build error
kernel: add build.sh
ARM: 7495/1: mutex: use generic atomic_dec-based implementation for ARMv6+
lib: Sparc's strncpy_from_user is generic enough, move under lib/
kernel: Move REPEAT_BYTE definition into linux/kernel.h
word-at-a-time: make the interfaces truly generic
lib: add generic strnlen_user() function
ARM: 7449/1: use generic strnlen_user and strncpy_from_user functions
cpufreq: update interactive to latest from google
decompressor: add LZ4 decompressor module
lib: add support for LZ4-compressed kernel
arm: add support for LZ4-compressed kernel
lib: add lz4 compressor module
crypto: add lz4 Cryptographic API
.gitignore: ignore *.lz4 files
lib/lz4: correct the LZ4 license
lz4: fix compression/decompression signedness mismatch
lib/lz4/lz4_compress: fix macro usage error
ARM: 7583/1: decompressor: Enable unaligned memory access for v6 an...
lib/lzo: Rename lzo1x_decompress.c to lzo1x_decompress_safe.c
lib/lzo: Update LZO compression to current upstream version
lib/lzo: Optimize code for CPUs with inefficient unaligned access
ARM: dcache: select DCACHE_WORD_ACCESS for little-endian ARMv6+ CPUs
ARM: 7493/1: use generic unaligned.h
ARM: 7492/1: add strstr declaration for decompressors
ARM: 7592/1: nommu: prevent generation of kernel unaligned memory a...
ARM: 7593/1: nommu: do not enable DCACHE_WORD_ACCESS when !CONFIG_MMU
qcache: remove from kernel
zsmalloc: use PageFlag macro instead of [set|test]_bit
staging: zsmalloc: rename zspage_order with zspage_pages
staging: zsmalloc: add/fix function comment
staging: zsmalloc: zsmalloc: use unsigned long instead of void *
staging: zsmalloc documentation
staging: zsmalloc: fix uninit'ed variable warning
staging: zsmalloc: remove x86 dependency
staging: zsmalloc: add single-page object fastpath in unmap
staging: zsmalloc: add details to zs_map_object boiler plate
mm: frontswap: add frontswap header file
mm: frontswap: core swap subsystem hooks and headers
mm: frontswap: core frontswap functionality
mm: frontswap: config and doc files
frontswap: s/put_page/store/g s/get_page/load
staging: zcache: don't limit number of pools per client
staging: zram/zcache: swtich Kconfig dependency from X86 to ZSMALLOC
staging: zcache: fix refcount leak
staging: zcache: fix a compile warning
staging: zcache: remove unnecessary config option dependence
staging: zcache: mark zbud_init/zcache_comp_init as __init
staging: zcache: cleanup zbud_init
staging: zcache: optimize zcache_do_preload
staging: zcache: cleanup zcache_do_preload and zcache_put_page
staging: zcache: introduce get_zcache_client
staging: zcache: cleanup the code between tmem_obj_init and tmem_ob...
staging: zram: fix random data read
staging: zram: remove special handle of uncompressed page
staging: zram: conventions pr_warning -> pr_warn()
staging: zram: conventions, __aligned() attribute
staging: zsmalloc: add mapping modes
staging: zcache: fix spelling of comment
staging: zcache: fix cleancache race condition with shrinker
staging: zram: correct obsolete comment on max_zpage_size
staging: zram: Fix handling of incompressible pages
staging: zram: factor-out zram_decompress_page() function
staging: zram: handle mem suffixes in disk size zram_sysfs parameter
staging: Add angle bracket before and after the URL
staging: zram: fix invalid memory references during disk write
staging: zram: simplify num_devices paramater
staging: zram: show correct disksize
staging: zsmalloc: prevent mappping in interrupt context
staging: zsmalloc: add page table mapping method
zsmalloc: collapse internal .h into .c
staging: zsmalloc: comment zs_create_pool function
staging: zsmalloc: make CLASS_DELTA relative to PAGE_SIZE
staging: zsmalloc: Fix TLB coherency and build problem
staging: zsmalloc: remove unused pool name
staging: zsmalloc: Fix link error on ARM
staging/zsmalloc: don't use pgtable-mapping from modules
zcache-main: fix build error
mm: frontswap: remove casting from function calls through ops struc...
mm: frontswap: trivial coding convention issues
mm: frontswap: split out __frontswap_curr_pages
mm: frontswap: split out __frontswap_unuse_pages
mm: frontswap: split frontswap_shrink further to simplify locking
mm: frontswap: make all branches of if statement in put page consis...
mm: frontswap: remove unnecessary check during initialization
mm: frontswap: split out function to clear a page out
mm: frontswap: remove unneeded headers
mm/frontswap: cleanup doc and comment error
mm/frontswap: fix uninit'ed variable warning
mm: frontswap: fix a wrong if condition in frontswap_shrink
frontswap: support exclusive gets if tmem backend is capable
msm_ion.c: fix zcache compatibility issues
staging: zram: add Crypto API support
staging: zram: add per-cpu support to Crypto
zcache: use macro similar to zram crypto - ef3303eaa
sched: add PF_WAKE_UP_IDLE
sched: add sysctl for controlling task migrations on wake
sched: fix rq->lock recursion
sched: Reset rq->next_interval before going idle
sched: Fix SCHED_HRTICK bug leading to late preemption of tasks
sched: Mark schedule_io_timeout() with EXPORT_SYMBOL
sched: provide per cpu-cgroup option to notify on migrations
sched: fix reference to wrong cfs_rq
sched: Set MC (multi-core) sched domain's busy_factor attribute to 1
sched: remove migration notification from RT class
sched: re-calculate a cpu's next_balance point upon sched domain changes
ARM: 7486/1: sched_clock: update epoch_cyc on resume
ARM: 7565/1: sched: stop sched_clock() during suspend
ARM: 7643/1: sched: correct update_sched_clock()
sched: Make sure to not re-read variables after validation
tracing/sched: Track per-cpu rt and non-rt cpu_load.
tracing/sched: Add trace events to track cpu hotplug
ARM: sched_clock: Load cycle count after epoch stabilizes
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()
sched: Unthrottle rt runqueues in __disable_runtime()
msm: cpufreq: fix a race between hotplug and cpufreq
msm: cpufreq: Remove cross-calling limitation
Revert "lib/lz4/lz4_compress: fix macro usage error"
msm: cpufreq: increase priority of thread that increases frequencies
msm: cpufreq: Implement suspend/resume for cpufreq driver
Revert "msm: cpufreq: Remove cross-calling limitation"
msm: cpufreq: Initialize cpufreq driver early at boot
msm: cpufreq: Always update frequency limits when core is online
msm: cpufreq: Configure WQ for higer priority
msm: cpufreq: Relax constraints on "msm-cpufreq" workqueue
msm: cpufreq: Ensure cpufreq change happens on corresponding CPU
msm: cpufreq: Only apply driver limits for scaling_min/max_freq writes
msm: cpufreq: Add support for CPU clocks and msm-cpufreq device
msm: cpufreq: Update frequency index
msm: cpufreq: Add msm_cpufreq debugfs file to show CPU -> L2/BW map...
thermal: Don't limit CPU frequency after msm_thermal is disabled
drivers/thermal: Add 3-phase in kernel thermal management
msm8960_tsens: enable all thermal devices
board-ville: fix small typo in thermal limit definitions
msm_thermal: export if we are currently throttled
msm_thermal: fix spacing throughout the whole file
msm_thermal: add stats for throttling
Revert "msm_thermal: remove platform driver"
thermal: Fix critical enable/disable bug from STOCK source
defconfig: update
sched: enable ARCH_POWER
build.sh: minor updates
fs/sync: Make sync() satisfy many requests with one invocation
zram: kernel config option for number of devices
cpufreq: interactive: update to msm-3.10
cpufreq: interactive: revert to aosp/common-3.4
build.sh: minor updates
sched: disable gentle fair sleepers
topology: update cpu topology
cpupower: update the cpu_power according to cpu load
msm_sleeper: get rid of __cpuinit
cpufreq: Use dedicated high-priority workqueues
build.sh: minor updates
build.sh: copy kcontrol_gpu_msm.ko to packages before deletion
Revert "Makefile: add kernel name"
scripts: remove localversion "+" from kernel version strings
build.sh: remove old kcontrol_gpu_msm.ko module before new build
FAQ's​
This will be updated regularly​
Why do I need to be s-off?
First off you should already be s-off if you are using any aosp rom. Second, s-off fixes many issues people come across when flashing roms.
Sense kernel will have SOn option.
Why do I only have two point multi touch with this kernel?
The synaptics 3k touch screen driver handles multiple touch events by default but do not work with htc gestures enabled. Go to Settings, Display, gestures & buttons, disable htc gestures and you will have more than two point multi touch.
Kernel Info​
Sweep2Wake
http://www.youtube.com/watch?v=jri2BMQHHrs
echo 0 > /sys/android_touch/sweep2wake (disable s2w)
echo 1 > /sys/android_touch/sweep2wake (enable s2w)
GPU Control
If you want to use kcontrol's gpu control without using kcontrol...
Paste this into a new document and name it '03GPU'
Follow the directions in the script to get the speeds
Paste the speeds in the insmod command according to the how to
Save and reboot
Governor Info
Lagfree
Lagfree is similar to ondemand. Main difference is it's optimization to become more battery friendly. Frequency is gracefully decreased and increased, unlike ondemand which jumps to 100% too often. Lagfree does not skip any frequency step while scaling up or down. Remember that if there's a requirement for sudden burst of power, lagfree can not satisfy that since it has to raise cpu through each higher frequency step from current. Some users report that video playback using lagfree stutters a little. Sysfs included.
Smartass v2
Version 2 of the original smartass governor from Erasmux. Another favorite for many. The governor aims for an "ideal frequency", and ramp up more aggressively towards this freq and less aggressive after. It uses different ideal frequencies for screen on and screen off, namely awake_ideal_freq and sleep_ideal_freq. This governor scales down CPU very fast (to hit sleep_ideal_freq soon) while screen is off and scales up rapidly to awake_ideal_freq (500 mhz for GS2 by default) when screen is on. There's no upper limit for frequency while screen is off (unlike Smartass). So the entire frequency range is available for the governor to use during screen-on and screen-off state. The motto of this governor is a balance between performance and battery. Sysfs included.
BadAss
Badass removes all of this "fast peaking" to the max frequency. On a typical system the cpu won't go above 918Mhz and therefore stay cool and will use less power. To trigger a frequency increase, the system must run a bit @ 918Mhz with high load, then the frequency is bumped to 1188Mhz. If that is still not enough the governor gives you full throttle. (this transition should not take longer than 1-2 seconds, depending on the load your system is experiencing)
Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu with 1188Mhz. If the gpu is crushed under load, badass will lift the restrictions to the cpu.
Wheatley
Building on the classic 'ondemand' governor is implemented Wheatley governor. The governor has two additional parameters:
target_residency - The minimum average residency in µs which is considered acceptable for a proper efficient usage of the C4 state. Default is 10000 = 10ms.
allowed_misses - The number sampling intervals in a row the average residency is allowed to be lower than target_residency before the governor reduces the frequency. This ensures that the governor is not too aggressive in scaling down the frequency and reduces it just because some background process was temporarily causing a larger number of wakeups. The default is 5. Wheatley works as planned and does not hinder the proper C4 usage for task where the C4 can be used properly .
For internet browsing the time spend in C4 has increased by 10% points and the average residency has increased by about 1ms. I guess these differences are mostly due to the different browsing behaviour (I spend the last time more multi-tabbing). But at least we can say that Wheatley does not interfere with the proper use of the C4 state during 'light' tasks. For music playback with screen off the time spend in C4 is practically unchanged, however the average residency is reduced from around 30ms to around 18ms, but this is still more than acceptable. So the results show that Wheatley works as intended and ensures that the C4 state is used whenever the task allows a proper efficient usage of the C4 state. For more demanding tasks which cause a large number of wakeups and prevent the efficient usage of the C4 state, the governor resorts to the next best power saving mechanism and scales down the frequency. So with the new highly-flexible Wheatley governor one can have the best of both worlds.
Obviously, this governor is only available on multi-core devices.
I/O Scheduler Info
Noop
Inserts all the incoming I/O requests to a First In First Out queue and implements request merging. Best used with storage devices that does not depend on mechanical movement to access data (yes, like our flash drives). Advantage here is that flash drives does not require reordering of multiple I/O requests unlike in normal hard drives.
Advantages:
Serves I/O requests with least number of cpu cycles. (Battery friendly?)
Best for flash drives since there is no seeking penalty.
Good throughput on db systems.
Disadvantages:
Reduction in number of cpu cycles used is proportional to drop in performance.
Deadline
Goal is to minimize I/O latency or starvation of a request. The same is achieved by round robin policy to be fair among multiple I/O requests. Five queues are aggressively used to reorder incoming requests.
Advantages:
Nearly a real time scheduler.
Excels in reducing latency of any given single I/O.
Best scheduler for database access and queries.
Bandwidth requirement of a process - what percentage of CPU it needs, is easily calculated.
Like noop, a good scheduler for solid state/flash drives.
Disadvantages:
When system is overloaded, set of processes that may miss deadline is largely unpredictable.
CFQ
Completely Fair Queuing scheduler maintains a scalable per-process I/O queue and attempts to distribute the available I/O bandwidth equally among all I/O requests. Each per-process queue contains synchronous requests from processes. Time slice allocated for each queue depends on the priority of the 'parent' process. V2 of CFQ has some fixes which solves process' i/o starvation and some small backward seeks in the hope of improving responsiveness.
Advantages:
Considered to deliver a balanced i/o performance.
Easiest to tune.
Excels on multiprocessor systems.
Best database system performance after deadline.
Disadvantages:
Some users report media scanning takes longest to complete using CFQ. This could be because of the property that since the bandwidth is equally distributed to all i/o operations during boot-up, media scanning is not given any special priority.
Jitter (worst-case-delay) exhibited can sometimes be high, because of the number of tasks competing for the disk.
BFQ
Instead of time slices allocation by CFQ, BFQ assigns budgets. Disk is granted to an active process until it's budget (number of sectors) expires. BFQ assigns high budgets to non-read tasks. Budget assigned to a process varies over time as a function of it's behavior.
Advantages:
Believed to be very good for usb data transfer rate.
Believed to be the best scheduler for HD video recording and video streaming. (because of less jitter as compared to CFQ and others)
Considered an accurate i/o scheduler.
Achieves about 30% more throughput than CFQ on most workloads.
Disadvantages:
Not the best scheduler for benchmarking.
Higher budget assigned to a process can affect interactivity and increased latency.
SIO
Simple I/O scheduler aims to keep minimum overhead to achieve low latency to serve I/O requests. No priority quesues concepts, but only basic merging. Sio is a mix between noop & deadline. No reordering or sorting of requests.
Advantages:
Simple, so reliable.
Minimized starvation of requests.
Disadvantages:
Slow random-read speeds on flash drives, compared to other schedulers.
Sequential-read speeds on flash drives also not so good.
ROW
The ROW I/O scheduler gives priority to READ requests over the WRITE requests when dispatching, without starving WRITE requests. Requests are kept in priority queues. Dispatching is done in a RR manner when the dispatch quantum for each queue is calculated according to queue priority.
Most suitable for mobile devices.
thank you, waited up all night for this
O yessss!!! Sweet cant wait to flash! Also cant wait till HTC releses kernel source so we can get some sense love from you!! :fingers-crossed: Thank you:good: Hahaha!! I just seen they did release kernel source for 3.15 and 3.16!! Im so happy!!! Its here
Nice! Thanks!!!!
Re: [KERNEL][4.2.x] D.I.R.T y MAC - 3/5 - [3.0.68 | Linaro -O3 | S2W | SLQB]
Is MeanBean 4.2.X?
Sent from my EVO using xda premium
Re: [KERNEL][4.2.x] D.I.R.T y MAC - 3/5 - [3.0.68 | Linaro -O3 | S2W | SLQB]
jthein1989 said:
Is MeanBean 4.2.X?
Sent from my EVO using xda premium
Click to expand...
Click to collapse
No, it is not.
Sent from my lair.
Re: [KERNEL][4.2.x] D.I.R.T y MAC - 3/5 - [3.0.68 | Linaro -O3 | S2W | SLQB]
Nooblube said:
O yessss!!! Sweet cant wait to flash! Also cant wait till htc releses kernel source so we can get some sense love from you!! :fingers-crossed: Thank you:good: Hahaha!! i just seen they did relese kernel source for 3.15 and 3.16!! Im so happy!!!
Click to expand...
Click to collapse
Shut up, really?
Sent from my Evo 4G LTE using xda premium
MikeC84 said:
Shut up, really?
Sent from my Evo 4G LTE using xda premium
Click to expand...
Click to collapse
Enjoy
http://www.htcdev.com/devcenter/downloads
MikeC84 said:
Shut up, really?
Sent from my Evo 4G LTE using xda premium
Click to expand...
Click to collapse
REALLY!!!:highfive::good::victory:
Re: [KERNEL][4.2.x] D.I.R.T y MAC - 3/5 - [3.0.68 | Linaro -O3 | S2W | SLQB]
Yeah, I should have waited... Too bad MeanBean isn't a later build... Screen tearing is the only problem I see though, lol. I will be doing a recovery shortly.
Sent from my EVO using xda premium
This is a aosp kernel.. meanbean is a sense rom.. Of course it wont run rite!
jthein1989 said:
Yeah, I should have waited... Too bad MeanBean isn't a later build... Screen tearing is the only problem I see though, lol. I will be doing a recovery shortly.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
There shouldn't be any more screen tearing kushdeck fixed it. There may be vey little screen tearing but you can disable hw overlay in developer setting to fix.
And thanks for the heads up, It about time they release kernel source...
Just saw this on Goodandevo http://www.pocketables.com/2013/03/d-i-r-t-y-mac-kernel-released-for-the-htc-evo-4g-lte.html
Oh cool...
Sense kernel! Try to get it out by Friday before I leave to Cali for a little vacation
https://github.com/MikeC84/jewelcl-jb-crc-3.4.10-19136fe
Re: [KERNEL][4.2.x] D.I.R.T y MAC - 3/5 - [3.0.68 | Linaro -O3 | S2W | SLQ
Thanks a lot for this. I really appreciate all the good info in OP about govs and schedulers :thumbup: thanks.
Edit: I gotta say, I read your "shut up, really?" comment totally wring. I thought you were blasting the guy for bringing up sense kernels in an AOSP thread lol
From my Evo LTE, yup.
Yes, really.
http://www.htcdev.com/devcenter/downloads
Hit it up, if you haven't already. We all wait patiently.
Sean8172 said:
Yes, really.
http://www.htcdev.com/devcenter/downloads
Hit it up, if you haven't already. We all wait patiently.
Click to expand...
Click to collapse
Already on it... https://github.com/MikeC84/jewelcl-jb-crc-3.4.10-19136fe/commits/master

[Kerne][Sense] Beastmode M7 | Beats, S2W, L2M, Mpdec [3.4.16 linaro -O3]

Welcome To Beastmode M7
{
"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"
}
There will be kind of a new way for you guys to check the status of the build the changelog and last a place for you to collect these finished downloadable zips
Below you will find a badge that will change to indicate the current build status... Failed, In progress, Success. Once you see success you can check the status of the builds here Buildmachine Thanks Showp for sharing
​
So where can I get these automagic builds??????!??!​
You can find these builds on my Goo.im account. I will try to keep the folders in Current/Old builds​
What the heck is with the zip name?!?!??! I can't make heads or tails of this!
Blackout_m7_20130506_205451_master-4a9e1a6
The Device Tree that was built
The date and time the kernel was built so in this example its 05/06/2013 @ 20:54min51seconds
Branch Name that was built
Shasum of last commit before build
​
But where can I find this Elusive changelog?!?!?!
http://repomachine.zapto.org/zarboz/blackout-m7/commits/master
https://github.com/Team-Blackout/Blackout-M7/commits/master​
Source My github
Build machines github
Changelog
Last updated 05/25/2013 @ 3:52pm MST
Code:
c11098a updating defconfig
75cc9d4 arch/arm/mach-msm/ board-m7-gpu this got lost in cherry-picks
f353e65 usb otg: removing whitelist config to let more devices use OTG host
755531f added smartmax - WIP
20fccd0 drivers/input/touchscreen synaptics Change: Some typo's on cmdline detection
97d083a drivers/input/touchscreen synaptics Change: let aroma make this decision for s2w on/off/l2w
53cc442 removing extraver
10cb3f9 msm_mpdecision: boost: if we are not boosted, revib_wq does not need to run at all
590b27a msm_mpdecision: fix changing boost freq sets min = boost freq
646c5a1 arch/arm/mach-msm/acpuclk-8064.c Fix: Decrease VDD for high clocks on PVS3
ee18a10 msm_mpdecision: several changes [read more] reworked cpu_up/down handling which removed redundant code reworked max/min_cpus settings reworked suspend/resume handling to obide by these new changes also reworked locking for per cpu settings
f74e79a msm_mpdecision: min_cpus & max_cpus should on/offline affected cpus
ee18a10 msm_mpdecision: several changes [read more] reworked cpu_up/down handling which removed redundant code reworked max/min_cpus settings reworked suspend/res
f74e79a msm_mpdecision: min_cpus & max_cpus should on/offline affected cpus
09ad1cd input/ synaptics_3200 Add: hooks for BB mod by tbalden
15c7c7c bb: blinking buttons first imlementation
8adeafe mach-msm: add cmdline_options to kconfig
f9c0e8c Revert "msm_thermal: remove platform driver"
7975bab msm_thermal: add stats for throttling
67c8caf msm_thermal: fix spacing throughout the whole file
3c5517d msm_thermal: export if we are currently throttled
431c21c msm_mpdecision: change frequencies for input boost This should provide us with a more battery friendly setup in light usage situations while it still provides the obvious advantages the input boost gives us (faster reaction).
a25de7a msm_mpdecision: increasing the check delay to 130ms This change brings us down from 10 to 8 checks each second. The input boost reacts without delay which is why we don't need to check for hotplugs so often anymore.
db73eab msm_mpdecision: boost: don't schedule more check than needed
3481889 msm_mpdecision: boost: detect changed min frequency and update accordingly
8f162d5 msm_mpdecision: tune hotplug values
989a6c9 Patching upstream 3.4.15->3.4.16
d4dbbf9 just a little much boost for the qualcom 600
6b23755 Enabling mpdecision speedboost in defconfig
- Patched upstream to 3.0.16
msm_mpdecision: add input event boost [read more]
This adds an input event boost to mpdecision.
It will basically boost the min freq of all cpus to predefined values if an
input event is detected.
Devices that qualify as boosters must fullfill one of these conditions:
- contain touch in their name
- contain keyboard in their name
This also boosts cpus independently from each other. Meaning:
If a cpu is hotplugged after the boost of another cpu was initiated the next
boost pulse will boost that cpu too.
========05/07/2013===========
Updated toolchain to GCC 4.8
Updated mpdecision to latest upstream
======First Public release ======
drivers/input/touchscreen/synaptics Add: cmdline setup for aroma
drivers/cpufreq/cpufreq.c Add: cmdline interfacing
Moving 2d GPU to board so that cmdline will work properly
arch/arm acpuclock-8064.c Fix: typo during cmdline coding
Adding ACPU_CUSTOM_CPU_FREQ to defconfig
Deleting leftover garbage from the git
arch/arm/mach-msm/board-m7-gpu.c Fix: Vector sizing
drivers/cpufreq/cpufreq.c Removed: Freq limiter algo
gpu: fix dualports for Adreno320
Disabling freq limiter in defconfig
initial import of cmdline functions
Patching upstream 3.4.14->3.4.15
finishing cherry-pick
power: Remove legacy wakelock code.
PM / Sleep: Add wakeup_source_activate and wakeup_source_deactivate tracepoints
PM / Sleep: Change wakeup source statistics to follow Android
PM / Sleep: Use wait queue to signal "no wakeup events in progress"
PM / Sleep: Look for wakeup events in later stages of device suspend
cleaning up a bit
Im stupid for removing this
Sound Control: Added headphone poweramp controls
Sound Control: Updated for HTC One (m7)
disabling min_max clock setting
drivers: cpufreq: address issue where cpus forget their clock speeds
cpufreq: enable sibling cpu policy sharing
adding optimizations
updating defconfig
Patching upstream 3.0.13->3.0.14
Patching upstream 3.4.12->3.4.13
Patching upstream 3.0.11->3.0.12
adding sprint defconfig
updating defconfig
Sweep2wake, logo2menu, logo2wake
pm8xxx: externalizing vibrate method for custom vibration calls (tbalden) https://github.com/TeaMSeven/android_kernel_htc_m7-sense/commit/e808a548141e46a750f29a3b473acd56f10a7912
redo fastcharge
fix hsic wakelock https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=41d004c4eaa5565cb8d9113862c3cef1e51be648 and https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=6f199aa800253a69e5679d1057823039f1bd65c9 patching up to new HTC source (42e6c45)
add frandom
ARM: net: JIT compiler for packet filters enabled by default
Updated gitignore removed floating boot.img
arch/arm/mach-msm Add: speed ID to debugfs
arch/arm/mach-msm/ acpuclk-krait UPDATE:PVS readout to match newer pvs layout
adding sprint defconfig
Fixing thermald for sprint board
kernel merge: merge Sprint kernel source (crc-3.4.10-eb45596) into single tree
board-m7-display: added O2 DE specific patches from HTC source drop
HTC source drop update: pick from selected t-mo usa source updates
updating gitignore
Finishing 3.4.11 cleanup
Patch upstream to 3.4.11
Finishing Beats hack
sound: Hack beats to always being enabled
lib: Sparc's strncpy_from_user is generic enough, move under lib/
hrtimer: Consider preemption when migrating hrtimer cpu_bases
dynamic fsync: favor true case since most will be using this feature
dynamic filesync: add some cache optimizations
fs/dyn_fsync: check dyn fsync control's active prior to performing fsync ops
Voltage Control: allow for lower minimums
arch/arm/kernel/armksyms: fix merge derp
Sound Control: Sound control for WCD93xx codec
switch the protection of percpu_counter list to spinlock
decompress_unlzo: fix compilation error
ARM: 7593/1: nommu: do not enable DCACHE_WORD_ACCESS when !CONFIG_MMU
ARM: 7592/1: nommu: prevent generation of kernel unaligned memory accesses
ARM: 7492/1: add strstr declaration for decompressors
ARM: 7493/1: use generic unaligned.h
ARM: dcache: select DCACHE_WORD_ACCESS for little-endian ARMv6+ CPUs
ARM: use generic strnlen_user and strncpy_from_user functions
lib: Fix generic strnlen_user for 32-bit big-endian machines
lib: add generic strnlen_user() function
modifying Makefile extraver
drivers/media/video/msm/msm: fix compilation warning
word-at-a-time: make the interfaces truly generic
lib/lzo: Optimize code for CPUs with inefficient unaligned access
cbe1e09 block: cgroups, kconfig, build bits for BFQ-v6-3.4
461b624 overall_stats: forward port to kernel 3.4+
7c1a5f7 overall_stats: make dual/quad core stats configurable via meunconfig
41a98f5 overall_stats: add overall stats for all available cores
4c11096 msm: cpufreq: make the gov stop part fully atomic
8d525e4 scheduler: Re-compute time-average nr_running on read
bcc4cb0 proc: enhance time-average nr_running stats
eb8cfe3 scheduler: compute time-average nr_running per run-queue
3289d63 fs/dyn_sync_cntrl: Linux 3.4 Kernel compatibility fixup
69e8ea0 fs/dyn_sync_cntrl: dynamic sync control
78b573b arm/crypto: Add optimized AES and SHA1 routines
6c32401 Optimized ARM RWSEM algorithm
8bacba9 lib/string: use glibc version
241b18f lib/memcopy: use glibc version
f86c633 drivers/input/touchscreen/synaptics.c ADD: Logo2menu and fix s2w so it relies on soft key area
8e70615 drivers/input/touchscreen synaptics_3200.c Revert: some testing output and put s2w back on the soft keys rather than that strip above them
b9026a9 Deleting Kcontrol as it is no longer needed Signed-off-by: Zarboz <[email protected]>
3e7754a adding kcontrol
9dbe323 drivers/staging: Add: Google snappy compression support
8408cdf adding defconfig
2b5a2ee fixing voltages
4710a94 checkin
ebdd621 block: add kconfig and makefile triggers for files
a195846 block: introduce VR I/O scheduler
7444190 block: Introduce SIO I/O scheduler
22ec68c Block: Introduce FIOPS I/O scheduler
2b7c5fd block: introduce BFQ scheduler
c665628 block: Introduce ROW Scheduler
2907ed1 staging: Introduce Zcache/Zram/Zsmalloc from 3.6.0 upstream kernel
477f3fe Logo2Menu picked from Tbalden at https://github.com/TeaMSeven/android_kernel_htc_m7-sense/commit/b664405dde0519aea04d7c4c74aac9f9573d38f4
9d620ea patching mpdecision to most upstream
fa59b05 adding in governors
7241520 Merge branch 'master' of github.com:Team-Blackout/Blackout-M7
39d1eb7 arch/arm/mach-msm cleanup GPU OC
deb24a0 arch/arm/mach-msm/acpuclock-krait ADD: Cmdline_options
b8e8b75 updating gitignore
8e4e6af arch/arm/mach-msm/ Add: Gpu oc and increase bottleneck
67279fc arm/kernel return_address Cleanup: useless warning
10f81a6 Embedding Kcontrol modules to be built with source when avail
36f7454 arm/mach-msm acpuclock-8064 ADD: 192mhz step
6faa4fa Kernel/Power main.c Fix: perflock
27a75af thermal: update upstream msm_thermal with 3-phase control
994dc37 msm_thermal: patch to upstream
fa010b3 msm_thermal: 3-phase thermal throttling
ad11da5 adding defconfig for easy building
2f495eb arm/mach-msm Makefile:ADD makefile flag for mpdecision
5de42b2 mach-msm: Add msm_mpdecision
8ee1980 arm/mach-msm Kconfig: ADD Build switch for Mpdec
d1b56c0 kernel/wq: fix misuse of __cpuinit for hotplug functions
274b83e revert hacks for the previous misuse of __cpuinit for hotplug only functions
57710f1 kbuild: drop cpuinit/cpuexit checks in modpost
b5688b8 cpuinit: turn __cpuinit into nops
5b44bfa cpuinit: get rid of __cpuinit, manual fixups
b6305fe cpuinit: get rid of __cpuinit, sixth regexp
40ad575 cpuinit: get rid of __cpuinit, fifth regexp
9a5f1e2 cpuinit: get rid of __cpuinit, fourth regexp
84a245a cpuinit: get rid of __cpuinit, third regexp
d41a69a cpuinit: get rid of __cpuinit, second regexp
9d2e88f cpuinit: get rid of __cpuinit, first regexp
2b4d6c5 arch/arm/mach-msm/acpuclock-krait ADD: Cmdline_options
15c7c7e updating gitignore
7bd405e arch/arm/mach-msm/ Add: Gpu oc and increase bottleneck
f06e51b arm/kernel return_address Cleanup: useless warning
98a7dd8 Embedding Kcontrol modules to be built with source when avail
4709414 arm/mach-msm acpuclock-8064 ADD: 192mhz step
f898152 Kernel/Power main.c Fix: perflock
cf219e3 thermal: update upstream msm_thermal with 3-phase control
e7bb8f8 msm_thermal: patch to upstream
ff3591e msm_thermal: 3-phase thermal throttling
495fc6d adding defconfig for easy building
935721c arm/mach-msm Makefile:ADD makefile flag for mpdecision
74677e3 mach-msm: Add msm_mpdecision
aeded6b arm/mach-msm Kconfig: ADD Build switch for Mpdec
1df0378 kernel/wq: fix misuse of __cpuinit for hotplug functions
12156a9 revert hacks for the previous misuse of __cpuinit for hotplug only functions
8d60aff kbuild: drop cpuinit/cpuexit checks in modpost
cb48b36 cpuinit: turn __cpuinit into nops
83279af cpuinit: get rid of __cpuinit, manual fixups
7bf02b5 cpuinit: get rid of __cpuinit, sixth regexp
8b156af cpuinit: get rid of __cpuinit, fifth regexp
053f4e5 cpuinit: get rid of __cpuinit, fourth regexp
8864ea5 cpuinit: get rid of __cpuinit, third regexp
4f6682b cpuinit: get rid of __cpuinit, second regexp
3049cef cpuinit: get rid of __cpuinit, first regexp
1b5cd31 drivers: cpufreq: address issue where cpus forget their clock speeds
77cd8c7 mach-msm/cpufreq Revert: Forcing 1.7ghz as current policy allow userspace to control with set max pol
f9a8a37 drivers/cpufreq Add:intellidemand
1319961 acpu: show a useful warn message
aa84e2c Voltage Control: initial voltage control for MSM S4-Pro SOC
9f9fb2b arch/arm/mach-msm/ Add: Initial OC
f4ccb1b force fastcharge
ee785dd Import Topology drivers from CAF
55d0e0d acpu: export krait variant to debugfs
222c785 acpu: export krait variant to debugfs
e74f800 fix gcc4.7 compile
beae39b Linaro -O3 fixes
ed32dee Fixing earpiece amplification in call.
87f405a Adding Defconfig pulled from ATT device
39d5f95 HTC Source m7ul-3.4.10-jb-crc-ddcfb8c
[B]f205eae[/B] arch/arm/mach-msm/ acpuclock Removing: 384mhz step as its been reassigned to 192mhz
49b9ad5 arch/arm/mach-msm: actually underclock :P
5d5b42d lightsensor: fix broken lightsensor table!
1f641ea fixing merge error
fecf160 arch/arm/mach-msm/acpuclock Fixing VDD to more stable values for boot
77531fd Merge branch 'master' of repomachine.zapto.org:zarboz/blackout-m7
8993e46 Fixing d3rp
75c1cfb arch/arm/mach-msm acpuclock ADD: ultra low clock freqs for screen off battery saving :D
07981af arch/arm/mach-msm/board-m7-gpu.c Fix: derp i forgot this after fixing clock values
efc6e6b arch/arm/mach-msm/acpuclock Refining VDD tables
3f4dda3 deleted: arch/arm/boot/boot.img
2e54813 fixing gcc 4.8 warning
1e352e6 Fixing voltage issue
c96fdc6 removing some optimization flags for now
af7c34b adding 162mhz step
49de6fd fixing voltages
9fbec05 fixing gpu clocks
2c44f37 updating clock tables
4dc4023 Fixing GPU Clocks
6a00aac forgot to fix cmdline here
c11098a updating defconfig
75cc9d4 arch/arm/mach-msm/ board-m7-gpu this got lost in cherry-picks
f353e65 usb otg: removing whitelist config to let more devices use OTG host
755531f added smartmax - WIP
Man _______ doesn't work or is not working righ!!!!!!!!!!
If coming from Flar2's kernel you NEED to flash the stock boot.img attached to this post BEFORE you flash beastmode other wise you will receive a failure to boot ​
You can report all bugs on my bug tracker located here :
Bug tracker
The proper format for reporting is on the google code page but please attach the following to your bugreport post:
Adb logcat dump of event
kmesg dump of event < dont know what that is ?? here is a easy way to get it
after you have the problem promptly reboot your phone
Code:
adb pull /proc/last_kmsg ./last_kmsg.txt
this will spawn a .txt file in the directory your shell is in upload this file this will suffice for a stacktrace
If you fail to report a bug with a logcat+kmsg i will close it and ignore the bug until you provide a log
I WILL NOT REPLY TO BUG REPORTS IN THREAD PLEASE FILE A BUG REPORT AS INSTRUCTED IF YOU WANT YOUR PROBLEM RESOLVED IN A TIMELY MANNER!
MSM_ThermalD
Kernel based 3-phase thermal control!
This replaces your /system/bin/thermald binary which is renamed by the installer to thermald_bck.
It will throttle your cpu speed to keep it cool and unleash it if the cpu has cooled down enough. (3 phases: low, mid and high)
Check /sys/kernel/msm_thermal/conf/ for the thermal configuration
allowed_max_high = highest threshold (phase 3)
allowed_max_low = remove the throttling if we cooled down to this (clr_thrshold)
allowed_max_freq = max frequency if throttled (limit)
[...]mid[...] = same as above, just for phase 2
[...]low[...] = Lowest threshold (phase 1)
check_interval_ms = how often shall we check? (sampling rate)
Default: 100ms (=0.1sec)
shutdown_temp = if we reach this shut down the device!
Default: 80°C
Click to expand...
Click to collapse
MSM_MPDecision
100% kernel based multi core decision! (should cpu1/2/3 be online or not?)
This replaces your /system/bin/mpdecision binary which is renamed by the installer to mpdecision_bck.
Check /sys/kernel/msm_mpdecision/conf/ for the configuration.
startdelay = time until mpdecision starts doing it's magic (20000)
delay = time between checks (70)
pause = if something else plugs in the cpu, fall asleep for 10000ms (10 secs)
scroff_single_core = if the screen is off, don't plug in cpu1/2/3. Additionally: Unplug all cpus except cpu0 when screen is turned off (1)
enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
min_cpus = min cpus to be online, cannot be < 1. Default: 1
max_cpus = max cpus to be online, cannot be > 4. (if you set it to 2 and min_cpus to 1 you will basically have a dualcore) Default: 4
idle_freq = a value against that will be checked if a core +/- is requested. (486000)
If cpu0 is below that value and a core up of another cpu is requested, nothing will happen.
If any other cpu is above that value and a core down of that cpu is requested, nothing will happen. (otherwise it would now put down that cpu even though it is still working, which isn't what we want)
Hot plug thresholds (aka now it gets 'complicated')
This small formula calculates which value will be used: (number_of_cpus_online - 1) * 2
The result of this formula will be the nwns_threshold where a new cpu is hotplugged.
The result of this formula + 1 will be the nwns_threshold where a cpu is unplugged.
nwns_threshold_x = runqueue threshold, if this is reached cpuX will be hot/unplugged
twts_threshold_x = time threshold, this amount of time must have passed for the related action to be taken (hot/unplug)
Example:
One cpu is online.
(1 - 1) * 2 = 0 ergo:
nwns_threshold_0 = cpu1 will be hotplugged at this value
((1 - 1) * 2) + 1 = 1
nwns_threshold_1 = cpu0 will be unplugged at this value
Since we can't unplug cpu0 this is '0'.
Two cpus are online.
(2 - 1) * 2 = 2 ergo:
nwns_threshold_2 = cpu2 will be hotplugged at this value
((2 - 1) * 2) + 1 = 3
nwns_threshold_3 = cpu1 will be unplugged at this value
etc...
The default values are:
NwNs_Threshold: 12, 0, 25, 20, 32, 28, 0, 35
TwTs_Threshold: 140, 0, 140, 190, 140, 190, 0, 190
Where the position and function of the number equals the result of the above explained formula.
(all times are in ms)
If you want to see the mpdecision magic happening:
Click to expand...
Click to collapse
What is ARM Topology:
ARM Topology allows individual queue'ing of tasks to cores by the scheduler, For intelligent load balancing and more data crunching power. This has come from the Linaro Team you can view the most recent patch at from http://patches.linaro.org/9894/ all patches at http://patches.linaro.org/project/linux-arm-kernel/
Click to expand...
Click to collapse
What is BB ?!
Blinking Backlight Buttons
n3ocort3x said:
BLINK BUTTONS
VIDEO:
Click to expand...
Click to collapse
Ahhhhh my favorite kernel dev is here
Sent from my HTC One using Tapatalk 2
Updated version,
Changes:
Force Aroma clock choice for boot clock settings
awesome kernel) works like a charm.
battery life is awesome too
I guess this will work on the international version, too?
vegalinho said:
I guess this will work on the international version, too?
Click to expand...
Click to collapse
yes, M7_UL version is for GSM
There you are Zarboz, I was wondering when you were going to join the fun.
flar2 said:
There you are Zarboz, I was wondering when you were going to join the fun.
Click to expand...
Click to collapse
Was ironing out some non sticking max clock now that I got over that thought id come hang out
Sent from my HTC One using xda premium
c0d3i0n1c said:
yes, M7_UL version is for GSM
Click to expand...
Click to collapse
Apparently it doesnt boot. Gets stuck on "quietly brilliant".
vegalinho said:
Apparently it doesnt boot. Gets stuck on "quietly brilliant".
Click to expand...
Click to collapse
custom and default settings
vegalinho said:
Apparently it doesnt boot. Gets stuck on "quietly brilliant".
Click to expand...
Click to collapse
Hopie said:
custom and default settings
Click to expand...
Click to collapse
any logs or anything so that i might try to assist?
as i only have the ATT version and not the "htc" version
(their the same i thought)
but the installer does rely on part of your build.prop to ascertain what device you have as the sprint device has the boot.img on a different block than the gsm phones mmcblk0p35 as opposed to 33
i had an issue with a sprint user where his rom dev just deleted his device from the build prop resulting in failed install every time
i am just trying to gather information in order to resolve your issue (if you want it fixed)
is this enough?
http://db.tt/9hsORwhu
sent from my HTC One powered by TrickDroid
Hopie said:
is this enough?
http://db.tt/9hsORwhu
sent from my HTC One powered by TrickDroid
Click to expand...
Click to collapse
I'll update my script to support your device
It was an installation failure
Sent from my HTC One using xda premium
Thanks for your work. As usual, it is much appreciated.
Zarboz said:
Was ironing out some non sticking max clock now that I got over that thought id come hang out
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Your Evo LTE kernels were great! I was wondering when you were going to release a kernel too. Thanks for sharing:thumbup::thumbup:
Sent from my HTC One using Xparent Gray Tapatalk 2
JohnCorleone said:
Your Evo LTE kernels were great! I was wondering when you were going to release a kernel too. Thanks for sharing:thumbup::thumbup:
Sent from my HTC One using Xparent Gray Tapatalk 2
Click to expand...
Click to collapse
How you been man my lte is still around
Sent from my HTC One using xda premium
Hopie said:
is this enough?
http://db.tt/9hsORwhu
sent from my HTC One powered by TrickDroid
Click to expand...
Click to collapse
upon further investigation the installation should not have failed.. unsure why this happened
Code:
BOARD_KERNEL_CMDLINE console=ttyHSL0,115200,n8 androidboot.hardware=m7 user_debug=31 max_oc0=1728000 max_oc1=1728000 max_oc2=1728000 max_oc3=1728000 gpu_oc=0 vdd_uv=2
leftover cmdline instructions from Flar2's kernel
you will need to flash a stock boot.img then re install my kernel please

[Kerne][Sense] Beastmode M7 | Beats, S2W, L2M, Mpdec [3.4.16 linaro -O3]

Welcome To Beastmode M7 for sense 5 android 4.1.2
{
"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"
}
There will be kind of a new way for you guys to check the status of the build the changelog and last a place for you to collect these finished downloadable zips
Below you will find a badge that will change to indicate the current build status... Failed, In progress, Success. Once you see success you can check the status of the builds here Buildmachine Thanks Showp for sharing
​
So where can I get these automagic builds??????!??!​
You can find these builds on my Goo.im account. I will try to keep the folders in Current/Old builds​
REMOVED
What the heck is with the zip name?!?!??! I can't make heads or tails of this!
Blackout_m7_20130506_205451_master-4a9e1a6
The Device Tree that was built
The date and time the kernel was built so in this example its 05/06/2013 @ 20:54min51seconds
Branch Name that was built
Shasum of last commit before build
​
But where can I find this Elusive changelog?!?!?!
http://repomachine.zapto.org/zarboz/blackout-m7/commits/master
https://github.com/Team-Blackout/Blackout-M7/commits/master​
Source My github
Build machines github
Changelog
Last updated 05/25/2013 @ 3:52pm MST
Code:
c11098a updating defconfig
75cc9d4 arch/arm/mach-msm/ board-m7-gpu this got lost in cherry-picks
f353e65 usb otg: removing whitelist config to let more devices use OTG host
755531f added smartmax - WIP
20fccd0 drivers/input/touchscreen synaptics Change: Some typo's on cmdline detection
97d083a drivers/input/touchscreen synaptics Change: let aroma make this decision for s2w on/off/l2w
53cc442 removing extraver
10cb3f9 msm_mpdecision: boost: if we are not boosted, revib_wq does not need to run at all
590b27a msm_mpdecision: fix changing boost freq sets min = boost freq
646c5a1 arch/arm/mach-msm/acpuclk-8064.c Fix: Decrease VDD for high clocks on PVS3
ee18a10 msm_mpdecision: several changes [read more] reworked cpu_up/down handling which removed redundant code reworked max/min_cpus settings reworked suspend/resume handling to obide by these new changes also reworked locking for per cpu settings
f74e79a msm_mpdecision: min_cpus & max_cpus should on/offline affected cpus
ee18a10 msm_mpdecision: several changes [read more] reworked cpu_up/down handling which removed redundant code reworked max/min_cpus settings reworked suspend/res
f74e79a msm_mpdecision: min_cpus & max_cpus should on/offline affected cpus
09ad1cd input/ synaptics_3200 Add: hooks for BB mod by tbalden
15c7c7c bb: blinking buttons first imlementation
8adeafe mach-msm: add cmdline_options to kconfig
f9c0e8c Revert "msm_thermal: remove platform driver"
7975bab msm_thermal: add stats for throttling
67c8caf msm_thermal: fix spacing throughout the whole file
3c5517d msm_thermal: export if we are currently throttled
431c21c msm_mpdecision: change frequencies for input boost This should provide us with a more battery friendly setup in light usage situations while it still provides the obvious advantages the input boost gives us (faster reaction).
a25de7a msm_mpdecision: increasing the check delay to 130ms This change brings us down from 10 to 8 checks each second. The input boost reacts without delay which is why we don't need to check for hotplugs so often anymore.
db73eab msm_mpdecision: boost: don't schedule more check than needed
3481889 msm_mpdecision: boost: detect changed min frequency and update accordingly
8f162d5 msm_mpdecision: tune hotplug values
989a6c9 Patching upstream 3.4.15->3.4.16
d4dbbf9 just a little much boost for the qualcom 600
6b23755 Enabling mpdecision speedboost in defconfig
- Patched upstream to 3.0.16
msm_mpdecision: add input event boost [read more]
This adds an input event boost to mpdecision.
It will basically boost the min freq of all cpus to predefined values if an
input event is detected.
Devices that qualify as boosters must fullfill one of these conditions:
- contain touch in their name
- contain keyboard in their name
This also boosts cpus independently from each other. Meaning:
If a cpu is hotplugged after the boost of another cpu was initiated the next
boost pulse will boost that cpu too.
========05/07/2013===========
Updated toolchain to GCC 4.8
Updated mpdecision to latest upstream
======First Public release ======
drivers/input/touchscreen/synaptics Add: cmdline setup for aroma
drivers/cpufreq/cpufreq.c Add: cmdline interfacing
Moving 2d GPU to board so that cmdline will work properly
arch/arm acpuclock-8064.c Fix: typo during cmdline coding
Adding ACPU_CUSTOM_CPU_FREQ to defconfig
Deleting leftover garbage from the git
arch/arm/mach-msm/board-m7-gpu.c Fix: Vector sizing
drivers/cpufreq/cpufreq.c Removed: Freq limiter algo
gpu: fix dualports for Adreno320
Disabling freq limiter in defconfig
initial import of cmdline functions
Patching upstream 3.4.14->3.4.15
finishing cherry-pick
power: Remove legacy wakelock code.
PM / Sleep: Add wakeup_source_activate and wakeup_source_deactivate tracepoints
PM / Sleep: Change wakeup source statistics to follow Android
PM / Sleep: Use wait queue to signal "no wakeup events in progress"
PM / Sleep: Look for wakeup events in later stages of device suspend
cleaning up a bit
Im stupid for removing this
Sound Control: Added headphone poweramp controls
Sound Control: Updated for HTC One (m7)
disabling min_max clock setting
drivers: cpufreq: address issue where cpus forget their clock speeds
cpufreq: enable sibling cpu policy sharing
adding optimizations
updating defconfig
Patching upstream 3.0.13->3.0.14
Patching upstream 3.4.12->3.4.13
Patching upstream 3.0.11->3.0.12
adding sprint defconfig
updating defconfig
Sweep2wake, logo2menu, logo2wake
pm8xxx: externalizing vibrate method for custom vibration calls (tbalden) https://github.com/TeaMSeven/android_kernel_htc_m7-sense/commit/e808a548141e46a750f29a3b473acd56f10a7912
redo fastcharge
fix hsic wakelock https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=41d004c4eaa5565cb8d9113862c3cef1e51be648 and https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commit;h=6f199aa800253a69e5679d1057823039f1bd65c9 patching up to new HTC source (42e6c45)
add frandom
ARM: net: JIT compiler for packet filters enabled by default
Updated gitignore removed floating boot.img
arch/arm/mach-msm Add: speed ID to debugfs
arch/arm/mach-msm/ acpuclk-krait UPDATE:PVS readout to match newer pvs layout
adding sprint defconfig
Fixing thermald for sprint board
kernel merge: merge Sprint kernel source (crc-3.4.10-eb45596) into single tree
board-m7-display: added O2 DE specific patches from HTC source drop
HTC source drop update: pick from selected t-mo usa source updates
updating gitignore
Finishing 3.4.11 cleanup
Patch upstream to 3.4.11
Finishing Beats hack
sound: Hack beats to always being enabled
lib: Sparc's strncpy_from_user is generic enough, move under lib/
hrtimer: Consider preemption when migrating hrtimer cpu_bases
dynamic fsync: favor true case since most will be using this feature
dynamic filesync: add some cache optimizations
fs/dyn_fsync: check dyn fsync control's active prior to performing fsync ops
Voltage Control: allow for lower minimums
arch/arm/kernel/armksyms: fix merge derp
Sound Control: Sound control for WCD93xx codec
switch the protection of percpu_counter list to spinlock
decompress_unlzo: fix compilation error
ARM: 7593/1: nommu: do not enable DCACHE_WORD_ACCESS when !CONFIG_MMU
ARM: 7592/1: nommu: prevent generation of kernel unaligned memory accesses
ARM: 7492/1: add strstr declaration for decompressors
ARM: 7493/1: use generic unaligned.h
ARM: dcache: select DCACHE_WORD_ACCESS for little-endian ARMv6+ CPUs
ARM: use generic strnlen_user and strncpy_from_user functions
lib: Fix generic strnlen_user for 32-bit big-endian machines
lib: add generic strnlen_user() function
modifying Makefile extraver
drivers/media/video/msm/msm: fix compilation warning
word-at-a-time: make the interfaces truly generic
lib/lzo: Optimize code for CPUs with inefficient unaligned access
cbe1e09 block: cgroups, kconfig, build bits for BFQ-v6-3.4
461b624 overall_stats: forward port to kernel 3.4+
7c1a5f7 overall_stats: make dual/quad core stats configurable via meunconfig
41a98f5 overall_stats: add overall stats for all available cores
4c11096 msm: cpufreq: make the gov stop part fully atomic
8d525e4 scheduler: Re-compute time-average nr_running on read
bcc4cb0 proc: enhance time-average nr_running stats
eb8cfe3 scheduler: compute time-average nr_running per run-queue
3289d63 fs/dyn_sync_cntrl: Linux 3.4 Kernel compatibility fixup
69e8ea0 fs/dyn_sync_cntrl: dynamic sync control
78b573b arm/crypto: Add optimized AES and SHA1 routines
6c32401 Optimized ARM RWSEM algorithm
8bacba9 lib/string: use glibc version
241b18f lib/memcopy: use glibc version
f86c633 drivers/input/touchscreen/synaptics.c ADD: Logo2menu and fix s2w so it relies on soft key area
8e70615 drivers/input/touchscreen synaptics_3200.c Revert: some testing output and put s2w back on the soft keys rather than that strip above them
b9026a9 Deleting Kcontrol as it is no longer needed Signed-off-by: Zarboz <[email protected]>
3e7754a adding kcontrol
9dbe323 drivers/staging: Add: Google snappy compression support
8408cdf adding defconfig
2b5a2ee fixing voltages
4710a94 checkin
ebdd621 block: add kconfig and makefile triggers for files
a195846 block: introduce VR I/O scheduler
7444190 block: Introduce SIO I/O scheduler
22ec68c Block: Introduce FIOPS I/O scheduler
2b7c5fd block: introduce BFQ scheduler
c665628 block: Introduce ROW Scheduler
2907ed1 staging: Introduce Zcache/Zram/Zsmalloc from 3.6.0 upstream kernel
477f3fe Logo2Menu picked from Tbalden at https://github.com/TeaMSeven/android_kernel_htc_m7-sense/commit/b664405dde0519aea04d7c4c74aac9f9573d38f4
9d620ea patching mpdecision to most upstream
fa59b05 adding in governors
7241520 Merge branch 'master' of github.com:Team-Blackout/Blackout-M7
39d1eb7 arch/arm/mach-msm cleanup GPU OC
deb24a0 arch/arm/mach-msm/acpuclock-krait ADD: Cmdline_options
b8e8b75 updating gitignore
8e4e6af arch/arm/mach-msm/ Add: Gpu oc and increase bottleneck
67279fc arm/kernel return_address Cleanup: useless warning
10f81a6 Embedding Kcontrol modules to be built with source when avail
36f7454 arm/mach-msm acpuclock-8064 ADD: 192mhz step
6faa4fa Kernel/Power main.c Fix: perflock
27a75af thermal: update upstream msm_thermal with 3-phase control
994dc37 msm_thermal: patch to upstream
fa010b3 msm_thermal: 3-phase thermal throttling
ad11da5 adding defconfig for easy building
2f495eb arm/mach-msm Makefile:ADD makefile flag for mpdecision
5de42b2 mach-msm: Add msm_mpdecision
8ee1980 arm/mach-msm Kconfig: ADD Build switch for Mpdec
d1b56c0 kernel/wq: fix misuse of __cpuinit for hotplug functions
274b83e revert hacks for the previous misuse of __cpuinit for hotplug only functions
57710f1 kbuild: drop cpuinit/cpuexit checks in modpost
b5688b8 cpuinit: turn __cpuinit into nops
5b44bfa cpuinit: get rid of __cpuinit, manual fixups
b6305fe cpuinit: get rid of __cpuinit, sixth regexp
40ad575 cpuinit: get rid of __cpuinit, fifth regexp
9a5f1e2 cpuinit: get rid of __cpuinit, fourth regexp
84a245a cpuinit: get rid of __cpuinit, third regexp
d41a69a cpuinit: get rid of __cpuinit, second regexp
9d2e88f cpuinit: get rid of __cpuinit, first regexp
2b4d6c5 arch/arm/mach-msm/acpuclock-krait ADD: Cmdline_options
15c7c7e updating gitignore
7bd405e arch/arm/mach-msm/ Add: Gpu oc and increase bottleneck
f06e51b arm/kernel return_address Cleanup: useless warning
98a7dd8 Embedding Kcontrol modules to be built with source when avail
4709414 arm/mach-msm acpuclock-8064 ADD: 192mhz step
f898152 Kernel/Power main.c Fix: perflock
cf219e3 thermal: update upstream msm_thermal with 3-phase control
e7bb8f8 msm_thermal: patch to upstream
ff3591e msm_thermal: 3-phase thermal throttling
495fc6d adding defconfig for easy building
935721c arm/mach-msm Makefile:ADD makefile flag for mpdecision
74677e3 mach-msm: Add msm_mpdecision
aeded6b arm/mach-msm Kconfig: ADD Build switch for Mpdec
1df0378 kernel/wq: fix misuse of __cpuinit for hotplug functions
12156a9 revert hacks for the previous misuse of __cpuinit for hotplug only functions
8d60aff kbuild: drop cpuinit/cpuexit checks in modpost
cb48b36 cpuinit: turn __cpuinit into nops
83279af cpuinit: get rid of __cpuinit, manual fixups
7bf02b5 cpuinit: get rid of __cpuinit, sixth regexp
8b156af cpuinit: get rid of __cpuinit, fifth regexp
053f4e5 cpuinit: get rid of __cpuinit, fourth regexp
8864ea5 cpuinit: get rid of __cpuinit, third regexp
4f6682b cpuinit: get rid of __cpuinit, second regexp
3049cef cpuinit: get rid of __cpuinit, first regexp
1b5cd31 drivers: cpufreq: address issue where cpus forget their clock speeds
77cd8c7 mach-msm/cpufreq Revert: Forcing 1.7ghz as current policy allow userspace to control with set max pol
f9a8a37 drivers/cpufreq Add:intellidemand
1319961 acpu: show a useful warn message
aa84e2c Voltage Control: initial voltage control for MSM S4-Pro SOC
9f9fb2b arch/arm/mach-msm/ Add: Initial OC
f4ccb1b force fastcharge
ee785dd Import Topology drivers from CAF
55d0e0d acpu: export krait variant to debugfs
222c785 acpu: export krait variant to debugfs
e74f800 fix gcc4.7 compile
beae39b Linaro -O3 fixes
ed32dee Fixing earpiece amplification in call.
87f405a Adding Defconfig pulled from ATT device
39d5f95 HTC Source m7ul-3.4.10-jb-crc-ddcfb8c
[B]f205eae[/B] arch/arm/mach-msm/ acpuclock Removing: 384mhz step as its been reassigned to 192mhz
49b9ad5 arch/arm/mach-msm: actually underclock :P
5d5b42d lightsensor: fix broken lightsensor table!
1f641ea fixing merge error
fecf160 arch/arm/mach-msm/acpuclock Fixing VDD to more stable values for boot
77531fd Merge branch 'master' of repomachine.zapto.org:zarboz/blackout-m7
8993e46 Fixing d3rp
75c1cfb arch/arm/mach-msm acpuclock ADD: ultra low clock freqs for screen off battery saving :D
07981af arch/arm/mach-msm/board-m7-gpu.c Fix: derp i forgot this after fixing clock values
efc6e6b arch/arm/mach-msm/acpuclock Refining VDD tables
3f4dda3 deleted: arch/arm/boot/boot.img
2e54813 fixing gcc 4.8 warning
1e352e6 Fixing voltage issue
c96fdc6 removing some optimization flags for now
af7c34b adding 162mhz step
49de6fd fixing voltages
9fbec05 fixing gpu clocks
2c44f37 updating clock tables
4dc4023 Fixing GPU Clocks
6a00aac forgot to fix cmdline here
c11098a updating defconfig
75cc9d4 arch/arm/mach-msm/ board-m7-gpu this got lost in cherry-picks
f353e65 usb otg: removing whitelist config to let more devices use OTG host
755531f added smartmax - WIP
Man _______ doesn't work or is not working righ!!!!!!!!!!
If coming from Flar2's kernel you NEED to flash the stock boot.img attached to this post BEFORE you flash beastmode other wise you will receive a failure to boot ​
You can report all bugs on my bug tracker located here :
Bug tracker
The proper format for reporting is on the google code page but please attach the following to your bugreport post:
Adb logcat dump of event
kmesg dump of event < dont know what that is ?? here is a easy way to get it
after you have the problem promptly reboot your phone
Code:
adb pull /proc/last_kmsg ./last_kmsg.txt
this will spawn a .txt file in the directory your shell is in upload this file this will suffice for a stacktrace
If you fail to report a bug with a logcat+kmsg i will close it and ignore the bug until you provide a log
I WILL NOT REPLY TO BUG REPORTS IN THREAD PLEASE FILE A BUG REPORT AS INSTRUCTED IF YOU WANT YOUR PROBLEM RESOLVED IN A TIMELY MANNER!
MSM_ThermalD
Kernel based 3-phase thermal control!
This replaces your /system/bin/thermald binary which is renamed by the installer to thermald_bck.
It will throttle your cpu speed to keep it cool and unleash it if the cpu has cooled down enough. (3 phases: low, mid and high)
Check /sys/kernel/msm_thermal/conf/ for the thermal configuration
allowed_max_high = highest threshold (phase 3)
allowed_max_low = remove the throttling if we cooled down to this (clr_thrshold)
allowed_max_freq = max frequency if throttled (limit)
[...]mid[...] = same as above, just for phase 2
[...]low[...] = Lowest threshold (phase 1)
check_interval_ms = how often shall we check? (sampling rate)
Default: 100ms (=0.1sec)
shutdown_temp = if we reach this shut down the device!
Default: 80°C
Click to expand...
Click to collapse
MSM_MPDecision
100% kernel based multi core decision! (should cpu1/2/3 be online or not?)
This replaces your /system/bin/mpdecision binary which is renamed by the installer to mpdecision_bck.
Check /sys/kernel/msm_mpdecision/conf/ for the configuration.
startdelay = time until mpdecision starts doing it's magic (20000)
delay = time between checks (70)
pause = if something else plugs in the cpu, fall asleep for 10000ms (10 secs)
scroff_single_core = if the screen is off, don't plug in cpu1/2/3. Additionally: Unplug all cpus except cpu0 when screen is turned off (1)
enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
min_cpus = min cpus to be online, cannot be < 1. Default: 1
max_cpus = max cpus to be online, cannot be > 4. (if you set it to 2 and min_cpus to 1 you will basically have a dualcore) Default: 4
idle_freq = a value against that will be checked if a core +/- is requested. (486000)
If cpu0 is below that value and a core up of another cpu is requested, nothing will happen.
If any other cpu is above that value and a core down of that cpu is requested, nothing will happen. (otherwise it would now put down that cpu even though it is still working, which isn't what we want)
Hot plug thresholds (aka now it gets 'complicated')
This small formula calculates which value will be used: (number_of_cpus_online - 1) * 2
The result of this formula will be the nwns_threshold where a new cpu is hotplugged.
The result of this formula + 1 will be the nwns_threshold where a cpu is unplugged.
nwns_threshold_x = runqueue threshold, if this is reached cpuX will be hot/unplugged
twts_threshold_x = time threshold, this amount of time must have passed for the related action to be taken (hot/unplug)
Example:
One cpu is online.
(1 - 1) * 2 = 0 ergo:
nwns_threshold_0 = cpu1 will be hotplugged at this value
((1 - 1) * 2) + 1 = 1
nwns_threshold_1 = cpu0 will be unplugged at this value
Since we can't unplug cpu0 this is '0'.
Two cpus are online.
(2 - 1) * 2 = 2 ergo:
nwns_threshold_2 = cpu2 will be hotplugged at this value
((2 - 1) * 2) + 1 = 3
nwns_threshold_3 = cpu1 will be unplugged at this value
etc...
The default values are:
NwNs_Threshold: 12, 0, 25, 20, 32, 28, 0, 35
TwTs_Threshold: 140, 0, 140, 190, 140, 190, 0, 190
Where the position and function of the number equals the result of the above explained formula.
(all times are in ms)
If you want to see the mpdecision magic happening:
Click to expand...
Click to collapse
What is ARM Topology:
ARM Topology allows individual queue'ing of tasks to cores by the scheduler, For intelligent load balancing and more data crunching power. This has come from the Linaro Team you can view the most recent patch at from http://patches.linaro.org/9894/ all patches at http://patches.linaro.org/project/linux-arm-kernel/
Click to expand...
Click to collapse
What is BB ?!
Blinking Backlight Buttons
n3ocort3x said:
BLINK BUTTONS
VIDEO:
Click to expand...
Click to collapse
and im here
Welcome!
Sent from my HTC One using Tapatalk 4 Beta
Thank You for your contribution :good:
Excellent! Will it work on 4.2.2?
EDIT:
Just saw the other thread! Once again - thanks!
Hi,
After I used some different kernel, this one is the best for me. No lags, no stutters or anything (compared to the others I tried) and I love the ability to set as I like the thermal throttling and the Mpdecision.
It's the only kernel where I have no lags in XDA app, thanks to Mpdecision stuff and the different settings.
Great performance and tweaks and battery life is perfect, thanks for your work!
I recommand this kernel for the users always with a 4.1.2 rom like me
There is just the GPU overclock wich does not work for the 487 Mhz step.
i had a little problem with cpu frequencies. after a time change it to min 384 and max 11xx mhz
my default are 162/1728mhz.
rest works fine.
default settings for thermal and mpdec ok or gives better settings?
Sent from my HTC One powered by TrickDroid
im using the Glas.t screen protector, just wondering if after flashing the kernel will the button work?
Hopie said:
i had a little problem with cpu frequencies. after a time change it to min 384 and max 11xx mhz
my default are 162/1728mhz.
Click to expand...
Click to collapse
Code:
Echo "0" > /sys/kernel/msm_mpdecision/conf/boost_enabled
About the same problem here ...
Important info from Zarboz.
Zarboz, is it possible to change home/menu button?
normal = menu
long press = home
Hopie said:
Zarboz, is it possible to change home/menu button?
normal = menu
long press = home
Click to expand...
Click to collapse
That's a Rom side setting
Sent from my HTC One using xda premium
ok... thx.
Sent from my HTC One powered by TrickDroid
Hopie said:
ok... thx.
Sent from my HTC One powered by TrickDroid
Click to expand...
Click to collapse
I think it's a smali edit in settings.apk
Sent from my HTC One using xda premium
Hi,
Any news for this awesome kernel (like the GPU overclock, 487 Mhz step does not work, at least for me, even if I chose it in Aroma)?
I just see this in the ElementalX thread:
flar2 said:
Update coming later this week. HTC released the latest 4.1.2 code, so there should be updates for button sensitivity, camera, and I think they included the code for the earpiece sound routing this time.
Click to expand...
Click to collapse
Maybe some things interesting
@Zarboz
I'm basing my kernel on your kernel sources so thought I might share this with you... Since it should be compatible with your sources.
Just omit the m7mod_defconfig
And ohh apq8064_M7.c is broken I think. It's causing errors when compiling so what I did was point it back to sound/soc/msm/apq8064.c for the mean time.
Riyal said:
@Zarboz
I'm basing my kernel on your kernel sources so thought I might share this with you... Since it should be compatible with your sources.
Just omit the m7mod_defconfig
And ohh apq8064_M7.c is broken I think. It's causing errors when compiling so what I did was point it back to sound/soc/msm/apq8064.c for the mean time.
Click to expand...
Click to collapse
Link me to your bitbucket
Sent from my HTC One using xda premium
Any update to this kernel ??
Sent from my HTC One using Tapatalk 2

[10-08] [KERNEL] TripNDroid Unleashed | TDF | EDF Deadline | 004

{
"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"
}
Linux 3.4.11 - TripNDroid Framework
A brand new kernel, based on HTC dev sources. This is the same kernel as the one that will be used in the TripNDroid roms.
Features:
- TripNDroid Framework (TDF) for Android mobile devices
- TripNDroid CPU governor (TDF)
- TripNDroid CPU hotplug (TDF)
- In kernel based thermald control
- Minimal cpufreq set to 144Mhz
- Aimed add performance with proper battery life
- Earliest Deadline First scheduling algorithm
- Deadline scheduler with EDF algorithm
NOTE:
The installation package will automaticly rename thermald and mpdecision binary, when you change kernel make sure to rename them back as original (remove .bak extension)
Tested on AOSP but maybe it works on Sense also, it will need a repack to work on Sense.
The deadline scheduler
The deadline scheduler is an implementation of the Earliest Deadline First (EDF) scheduling algorithm, augmented with a mechanism (called Constant Bandwidth Server, CBS) that makes it possible to isolate the behaviour of tasks between each other.
The typical -deadline task will be made up of a computation phase (instance) which is activated on a periodic or sporadic fashion. The expected (maximum) duration of such computation is called the task's runtime; the time interval by which each instance need to be completed is called the task's relative deadline. The task's absolute deadline is dynamically calculated as the time instant a task (better, an instance) activates plus the relative deadline.
The EDF algorithms selects the task with the smallest absolute deadline as the one to be executed first, while the CBS ensures each task to run for at most its runtime every (relative) deadline length time interval, avoiding any interference between different tasks (bandwidth isolation). Thanks to this feature, also tasks that do not strictly comply with the computational model sketched above can effectively use the new policy.
Fastcharge/powersaver can be enabled with 1 and disabled with 0
Fast charge (not working):
Code:
/sys/td_framework/fast_charge
Powersaving mode (not completely implemented):
Code:
/sys/td_framework/powersave_active
Changelog:
- GPU driver updated
- Scheduler fixup
- TripNDroid cpu governor improved
- See below
Latest changes (detail):
Code:
196b55d arm: msm: dont build htc_cpu_usage_stats
187a724 arm: msm: dont build msm_mpdecision when tdf cpu hotplugging is build
13e8cd0 s390/dasd: re-prioritize partition detection message
080e28e msm: display: command mode panel release fence
53beb2c msm: mdp: Change msmfb kworker to kthread
187776c rcu: Fix day-one dyntick-idle stall-warning bug
3b7ac53 arm: Remove no-longer-required RCU_NONIDLE wrapper
61c250b sched: Reset rq->next_interval before going idle
90f297d hrtimer: Prevent hrtimer_enqueue_reprogram race
0ca9d99 sched: Fix SCHED_HRTICK bug leading to late preemption of tasks
8cb850f sched: fix reference to wrong cfs_rq
fba47b0 sched: provide per cpu-cgroup option to notify on migrations
10db9bd sched: remove migration notification from RT class
1666720 sched: re-calculate a cpu's next_balance point upon sched domain changes
3903ff7 sched: Make sure to not re-read variables after validation
89b0aab workqueue: don't use WQ_HIGHPRI for unbound workqueues
7e8407a msm: mdp: Adjust bandwidth parameters
0da0807 msm: cpufreq: Configure WQ for higer priority
f7b2624 msm: cpufreq: Always update frequency limits when core is online
118d31e msm: hotplug: Change the pen variable in one place
fcef56b msm: Remove idle stats and cpuidle hooks
560df8f msm: cpuidle: Don't disable irqs again
373e2c8 msm: pm: send notification only for SPC and PC
3923332 msm: pm: Adjust for events with hard wakeups
c05dae5 event_timer: Add spinlock protection to event time update
10fc251 msm: rq_stats: Fix missing initalization of cur_freq
b205851 msm:rq_stats: Add hotplug disable attribute
cdcae73 msm:rq_stats: Fix hotplug attribute during the suspend failure
2e995e7 msm:rq_stats: Register for Cpufreq policy notification
8776239 msm: msm_bus: Fix the 64-bit division during interleaving
94d30e3 msm: msm_bus: Change MDP port interleaved setting
3e9cdbf msm: msm_bus: Add NULL pointer checks.
c766c9a msm: msm_bus: Explicitly clear client requests before removal
7502b14 ARM: Fix negative idle stats for offline cpu
0201af8 msm: kgsl: Do not try to resume the device from INIT state
860937f mm: change initial readahead window size calculation
8e99b1a mm: pass readahead info down to the i/o scheduler
b283231 msm: kgsl: Map sync lock variables to every pagetable
79538ed msm: vidc: Add LTR feature for H264 encoder
f6278f5 video: msm: Increase video encoding output buffer size
e11c069 msm_fb: display: remove wait4vsync during dtv off
8a25ce7 cpufreq: tripndroid: rewrite timer, greatly improve freq scaling
4b294ca cpufreq: tripndroid: make governor also work when tdf is not build
86993f1 config: update tripndroid config
e8bdbe5 cpufreq: tripndroid: increase down_sample_time
d6ea0f6 mmc: disable use_spi_crc
0b9c7ad HZ=300
77e5b7d config: update tripndroid config
Download for AOSP 4.3:
http://tripndroid.bindroidroms.com/TripNDroid_tdf_alpha_3.4.11_aosp-43-v004.zip
Source:
https://github.com/TripNRaVeR
Enjoy you're TripNDroided phone..
Awesome, thanks!
Sent from my HTC One using xda app-developers app
At last a proper kernel for AOSP. Thanks Trip.
Sent from my HTC One using Tapatalk 4 Beta
So no need to flash this if I'm running tripn?
Sent from my HTC One using Tapatalk 2
Thank you.
Excellent!!!
EDIT: no charging LED on CM10.1 and kernel also disables the HTC logo2menu option on CM10.1. Looking forward to an update which enables both
Hi Trip, been an admirer of your work on the HOX but I never had one
Just tried your kernel, repacked with the ramdisk of Insertcoin GE and it did not get past the splash screen
So I flashed your ROM and thihs kernel and all is well so far, except
1. with your governor, the max freq I set (1350MHz) is not set, it keep scaling to 1.7GHz (other govs are fine)
2. cpu stats vanished randomly? I know shopw1984 has this problem in some of his kernels (I experienced it on his grouper kernel)
Great work, thanks its nice to finally be able to run your work on my device!
poondog said:
Hi Trip, been an admirer of your work on the HOX but I never had one
Just tried your kernel, repacked with the ramdisk of Insertcoin GE and it did not get past the splash screen
So I flashed your ROM and thihs kernel and all is well so far, except
1. with your governor, the max freq I set (1350MHz) is not set, it keep scaling to 1.7GHz (other govs are fine)
2. cpu stats vanished randomly? I know shopw1984 has this problem in some of his kernels (I experienced it on his grouper kernel)
Great work, thanks its nice to finally be able to run your work on my device!
Click to expand...
Click to collapse
On my governor it is intended to overwrite usersettings, my governor is specificly designed for TDF and gives therefore the best performance. And i notices the cpufreq stats mess also. Dont know what is causing is.
TripNRaVeR said:
On my governor it is intended to overwrite usersettings, my governor is specificly designed for TDF and gives therefore the best performance. And i notices the cpufreq stats mess also. Dont know what is causing is.
Click to expand...
Click to collapse
Okay, so your gov is tuned for both battery and performance? And optimized for everything else in the kernel then?
Thanks for the response
Sent from my Nexus 7 using xda app-developers app
poondog said:
Okay, so your gov is tuned for both battery and performance? And optimized for everything else in the kernel then?
Thanks for the response
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Yes, it is build for performance with good battery life. No need for much changes.
TripNRaVeR said:
Yes, it is build for performance with good battery life. No need for much changes.
Click to expand...
Click to collapse
Okay thanks, all good. I am guessing more kernel features and device options will come available in later kernel versions?
Will this work on tmo? And dies it use theme chooser?
big70tom said:
Will this work on tmo? And dies it use theme chooser?
Click to expand...
Click to collapse
This is a kernel....
Sent from my One using xda app-developers app
Shoot. Wrong topic. My bad
Personal requests:
-Fauxsound compatibility
-HTC menu button
-More governors (smartmax and intellidemand)
-fiops scheduler
-zram capability
Any/all of these changes would be great, thanks in advance
Sent from my HTC One using Tapatalk 2
AllusionPDX said:
Personal requests:
-Fauxsound compatibility
-HTC menu button
-More governors (smartmax and intellidemand)
-fiops scheduler
-zram capability
Any/all of these changes would be great, thanks in advance
Sent from my HTC One using Tapatalk 2
Click to expand...
Click to collapse
BTW trips kernels will be his own commits
So he won't be adding any of those I guess
Sent from my HTC One using xda premium
razer1224 said:
BTW trips kernels will be his own commits
So he won't be adding any of those I guess
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Maybe i will add menu button, but never smartmax, fauxsound.
TripNRaVeR said:
Maybe i will add menu button, but never smartmax, fauxsound.
Click to expand...
Click to collapse
a version for sense ?? If i repack your boot.img with sense modules will work?
yxtl said:
a version for sense ?? If i repack your boot.img with sense modules will work?
Click to expand...
Click to collapse
Please try, i would like to know the result
Does your kernel support tuning apps like Trickster MOD?

[DISCONTINUED][ALL VARIANTS] Swifty Kernel | Custom Stock | 6/24/17 |

The Schwifty Kernel (Yeahhh, Get Schwifty)
Hello guys welcome to the Schwifty Kernel! If you watch the show "Rick and Morty" you will understand why I named it this if you don't understand well either youtube it or just don't worry and enjoy the sh*t out the kernel anyways hehe. Alright lets get Schwifty, here's all the info about the kernel in a way that will help you decide how you want to set up your phone! The second post will contain changelogs and third post, well not sure yet. But enjoy!!​
Basic Specifications/Information:
Based On LS997ZV7 OpenSource (Thanks LG)
NO Static Screen
Install Includes Root
Allow 5-10 to settle in after booting up for better usage
Take the time to read all the information to get an understanding on the kernel (Will help with less bug reports)
If you report a bug please search before posting and give all information about your issue (Such as rom, kernel version, kernel setup... ect)
I will edit the page with dates when there is something new added such as govenors, schedulers ect...
I/O Scheduler Information - I/O:
FIOPS - This new I/O scheduler is designed around the following assumptions about Flash-based storage devices: no I/O seek time, read and write I/O cost is usually different from rotating media, time to make a request depends upon the request size, and high through-put and higher IOPS with low-latency. FIOPS (Fair IOPS) ioscheduler tries to fix the gaps in CFQ. It's IOPS based, so it only targets for drive without I/O seek. It's quite similar like CFQ, but the dispatch decision is made according to IOPS instead of slice.
SIO - Simple I/O aims to keep minimum overhead to achieve low latency to serve I/O requests. No priority queue concepts, but only basic merging. SIO is a mix between noop & deadline. No reordering or sorting of requests.
NOOP - Inserts all the incoming I/O requests to a First In First Out queue and implements request merging. Best used with storage devices that does not depend on mechanical movement to access data (yes, like our flash drives). Advantage here is that flash drives does not require reordering of multiple I/O requests unlike in normal hard drives.
DEADLINE - The goal of the Deadline scheduler is to attempt to guarantee a start service time for a request. It does that by imposing a deadline on all I/O operations to prevent starvation of requests. It also maintains two deadline queues, in addition to the sorted queues (both read and write). Deadline queues are basically sorted by their deadline (the expiration time), while the sorted queues are sorted by the sector number. Before serving the next request, the Deadline scheduler decides which queue to use. Read queues are given a higher priority, because processes usually block on read operations. Next, the Deadline scheduler checks if the first request in the deadline queue has expired. Otherwise, the scheduler serves a batch of requests from the sorted queue. In both cases, the scheduler also serves a batch of requests following the chosen request in the sorted queue.
BFQ - Instead of time slices allocation by CFQ, BFQ assigns budgets. Disk is granted to an active process until it's budget (number of sectors) expires. BFQ assigns high budgets to non-read tasks. Budget assigned to a process varies over time as a function of it's behavior.
BFQIO - Enable hierarchical scheduling in BFQ, using the cgroups filesystem interface. The name of the subsystem will be bfqio.
ZEN - ZEN is based on the Noop, Deadline and SIO I/O schedulers. It's an FCFS (First come, first serve) based algorithm, but it's not strictly FIFO. ZEN does not do any sorting. It uses deadlines for fairness, and treats synchronous requests with priority over asynchronous ones. Other than that, it's pretty much the same as Noop blended with VR features.
MAPLE - Maple is based on the Zen and Simple I/O schedulers. It uses ZEN's first-come-first-serve style algorithm with separate read/write requests and improved former/latter request handling from SIO. Maple is biased towards handling asynchronous requests before synchronous, and read requests before write. While this can have negative aspects on write intensive tasks like file copying, it slightly improves UI responsiveness. When the device is asleep, maple increases the expiry time of requests so that it can handle them more slowly, causing less overhead.
Governor Information - CPU:
Interactive - Interactive scales the clockspeed over the course of a timer set by the kernel developer (or user). In other words, if an application demands a ramp to maximum clockspeed (by placing 100% load on the CPU), a user can execute another task before the governor starts reducing CPU frequency. Because of this timer, Interactive is also better prepared to utilize intermediate clockspeeds that fall between the minimum and maximum CPU frequencies. It is significantly more responsive than OnDemand, because it's faster at scaling to maximum frequency. Interactive also makes the assumption that a user turning the screen on will shortly be followed by the user interacting with some application on their device. Because of this, screen on triggers a ramp to maximum clockspeed, followed by the timer behavior described above. Interactive is the default governor of choice for today's smartphone and tablet manufacturers.
Ondemand - Ondemand is one of the original and oldest governors available on the linux kernel. When the load placed on your CPU reaches the set threshold, the governor will quickly ramp up to the maximum CPU frequency. It has excellent fluidity because of this high-frequency bias, but it can also have a relatively negative effect on battery life versus other governors. OnDemand was commonly chosen by smartphone manufacturers in the past because it is well-tested and reliable, but it is outdated now and is being replaced by Google's Interactive governor.
Performance - Sets the frequency at the maximum available frequency. This governor always returns UINT_MAX as frequency so that the DEVFREQ framework returns the highest frequency available at any time.
Powersave - Sets the frequency at the minimum available frequency. This governor always returns 0 as frequency so that the DEVFREQ framework returns the lowest frequency available at any time.
Userspace - Sets the frequency at the user specified one. This governor returns the user configured frequency if there has been an input to /sys/devices/.../power/devfreq_set_freq. Otherwise, the governor does not change the frequnecy given at the initialization.
Blu_active - A new cpu governor developed by eng.stk (featured in his Code_Blue kernels) based on interactive with upstream caf patches and ondemand governor bits too. This governor is mainly focused on performance like the other things the developer creates but it is also well balanced for gaming and general usage.
ElementalX - ElementalX is basically a multiphase Ondemand governor that aims to achieve the best balance between battery life and performance. By default, it is more conservative than Ondemand as it does not ramp up often for most phone activities. If there is a graphics load detected, the governor will switch to a two-phase Ondemand behaviour where different max frequencies are used depending on the load increase. ElementalX comes with input boost enabled by default lowering the sampling rate and increasing the frequency to improve responsiveness.
Nightmare - A PegasusQ modified, less aggressive and more stable. A good compromise between performance and battery. In addition to the SoD is a prevention because it usually does not hotplug.
Darkness - It's based on nightmare but more simple and fast, basic configs but very complex structure. It is an updated version of the nightmare gov, so far it is quite stable in tests.
Chill (NEW 5/15) - Use the CPUFreq governor 'chill' as default. This allows you to get a full dynamic frequency capable system by simply loading your cpufreq low-level hardware driver. A conservative based governor that aims to provide more aggressive battery savings while screen is off.
Dance Dance - Based on conservative with some smartass features, it scales accordingly to conservatives laws. So it will start from the bottom, take a load sample, if it's above the upthreshold, ramp up only one speed at a time, and ramp down one at a time. It will automatically cap the off screen speeds to 245Mhz, and if your min freq is higher than 245mhz, it will reset the min to 120mhz while screen is off and restore it upon screen awakening, and still scale accordingly to conservatives laws. So it spends most of its time at lower frequencies. The goal of this is to get the best battery life with decent performance. It is a performance focused governor but also blends with some battery savings.
GPU Governors:
Adreno Idler - It is an idling algorithm, an efficient workaround for msm-adreno-tz's overheads. Main goal is to lower the power consumptions while maintaining high-performance. Since msm-adreno-tz tends to *not* use the lowest frequency even on idle, Adreno idler replaces msm-adreno-tz's algorithm when it comes to calculating idle frequency(mostly by ondemand's method). The higher frequencies are not touched with this algorithm, so high-demanding games will (most likely) not suffer from worsened performance.
Simple - An open-source alternative to Qualcomm's closed-sourced governors. Developed by Faux123, it is highly customisable which will allow more fine-grained control over how the GPU scales up and down.
simple_ondemand[/b] - As the name implies, it is a simpler version of the CPU governor ondemand. simple_ondemand will ramp up the frequency when a load is detected. It has a good balance between performance and battery savings.
msm-adreno-tz - The default GPU governor used by Qualcomm for their adreno GPUs. It is based on the ondemand governor but is biased towards performance, therefore it should give better performance in games but less battery life.
Performance - As the name suggests, this keeps your GPU running at the max frequency. This is a governor if you want the best possible experience in games but you don't care about your battery life.
Powersave - Like the CPU governor, this keeps your GPU running at the lowest possible frequency. Best battery life, extreme lag in games.
Userspace - This governor basically allows the user is able to set a desired frequency for the GPU to run at.
cpubw_hwmon - A hardware monitor based governor that attempts to determine bandwidth (BW) needed by CPU and other hardware. Because it samples bandwidth using polling intervals, it has been made to be biased towards performance to compensate for the possible slower response times during heavy loads.
MSM Cpufreq - The MSM CPUfreq governor determines the CPU to DDR bandwidth vote based on the current CPU frequency of all the active CPUs. In other words, this governor scales based on CPU usage which could mean more performance.
Other Information:
Moved Core Control To Kernel - Moved core control from out-of-tree module into the kernel proper. Core control monitors load on CPUs and controls how many CPUs are available for the system to use at any point in time. This can help save power. Core control can be configured through sysfs interface.
Moved Core Control Trace Events To Scheduler
Added A Knob To Disable The core_ctl (Core Control) - The CPU hotplug tests does not work with core_ctl compiled statically into kernel. Provide an interface to disable the hotplug by core_ctl.
Enabled LZ4 Compression & Added ExFAT Filesystem
Fixed Various Issues
And a whole lot of other sh*t
Disclaimer: I do not and will not take any responsibility towards anything that happens to your phone after flashing.​
XDA:DevDB Information
Swifty Kernel | Custom Stock | 6/24/18 |, Kernel for the LG V20
Contributors
SaintZ93
Source Code: https://github.com/SaintZ13/schwifty_kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: Release V3
Stable Release Date: 2017-06-08
Created 2017-06-08
Last Updated 2017-06-08
Changelogs
Schwifty Kernel: Release V3 (6/8/17):
STATIC ON BOOT IS FIXED!!!
Update kernel source to LS997 "ZV7"
Changed kernel name for its own distribution
qpnp-smbcharger: Publish charger voltage to the usb psy
arm: dts: Remove MSM watchdog IPI ping in msm8996
net: bcmdhd: reduce wlan_rx wakelock period
bcmdhd: reduce rx wakelock timeout via sysfs node
Take out wakelocks that need a divide
display: add a simple api to query the display state (on/off) at any
cpufreq_interactive: remove boost functionality
cpufreq: interactive governor drops bits in time calculation
CHROMIUM: cpufreq: interactive: calculate load before freq change
cpufreq: interactive: remove hispeed_freq init restriction
defconfig: Enable Maple IOSched
block: [Introduded for 3.18.y] Add Maple I/O Scheduler
usb: dwc3-msm: Don't issue power supply change for invalid charger
defconfig: enable fast charging
Disable wlan_rx wakelock
Add more wlan wakelocks
drivers: wakeup: squash improvements from franciscofranco/[email protected]
drivers: wakeup: add entries to disable timerfd, netlink, wlan_wow_wl, wlan and netmgr_wl wakelocks
drivers: wakeup: bypass two WiFi wakelocks
power: wakeup: prevent IPA_WS wakelock from being acquired by default
crypto: use -O3
arm64: crypto: Improve target optimization flags
random: backport from Linux 4.2
touchscreen: add -Ofast
synaptics: add -Ofast
USB: cypress_m8: add endpoint sanity check
drivers: video: Add bounds checking in fb_cmap_to_user
ipv6: fix out of bound writes in __ip6_append_data()
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
ext4: fix deadlock during page writeback
ext4: fix data exposure after a crash
bpf: don't let ldimm64 leak map addresses on unprivileged
DTS: Remove the core hotplug on low battery feature
DTS: Decrease BCL low battery threshold to 5%
binfmt_elf.c: use get_random_int() to fix entropy depleting
Remove useless defconfigs
Update defconfig
Update to a more convienant build script
cpuset: Make cpusets restore on hotplug
crypto: ahash - Fix EINPROGRESS notification callback
netfilter: x_tables: check for size overflow
Input: aiptek - fix crash on detecting device without endpoints
net: llc: use correct size for sysctl timeout entries
netlink: Fix dump skb leak/double free
net: avoid signed overflows for SO_{SND|RCV}BUFFORCE
packet: fix race condition in packet_set_ring
mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]
net: ping: check minimum size on ICMP header length
usbnet: cleanup after bind() in probe()
ipv4: Don't do expensive useless work during inetdev destroy.
USB: cdc-acm: more sanity checking
mm: migrate dirty page without clear_page_dirty_for_io etc
pipe: limit the per-user amount of pages allocated in pipes
ALSA: hrtimer: Fix stall by hrtimer_cancel()
ext4: validate s_first_meta_bg at mount time
udp: properly support MSG_PEEK with truncated buffers
l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind()
libceph: introduce ceph_crypt() for in-place en/decryption
sg_write()/bsg_write() is not fit to be called under KERNEL_DS
mm: Tighten x86 /dev/mem with zeroing reads
mm/mempolicy.c: fix error handling in set_mempolicy and mbind.
scsi: sg: check length passed to SG_NEXT_CMD_LEN
sctp: deny peeloff operation on asocs with threads sleeping on it
irda: Fix lockdep annotations in hashbin_delete().
net/llc: avoid BUG_ON() in skb_orphan()
tcp: avoid infinite loop in tcp_splice_read()
dccp: fix freeing skb too early for IPV6_RECVPKTINFO
perf/core: Fix concurrent sys_perf_event_open() vs. 'move_group' race
sctp: avoid BUG_ON on sctp_wait_for_sndbuf
posix_acl: Clear SGID bit when setting file permissions
time: Remove CONFIG_TIMER_STATS
ipc/shm: Fix shmat mmap nil-page protection
tmpfs: clear S_ISGID when setting posix ACLs
ANDROID: ion: Protect kref from userspace manipulation
ANDROID: ion: check for kref overflow
Fix build issue
Revert "msm: mpm: disable debugging"
Version: One Bad Ass Kernel V3
proc: Remove additional SafetyNet flags from /proc/cmdline
msm: vidc: disable debug logs
msm: mdss: KCAL: disable igc update
msm: mdss: KCAL: Send a pp display commit when changes are made
net/packet: fix overflow in check for tp_reserve
net/packet: fix overflow in check for tp_frame_nr
net/packet: fix overflow in check for priv area size
dccp/tcp: do not inherit mc_list from parent …
ip6_gre: fix ip6gre_err() invalid reads
tty: n_hdlc: get rid of racy n_hdlc.tbuf
TTY: n_hdlc, fix lockdep false positive
kernel: Fix potential refcount leak in su check
kernel: Only expose su when daemon is running
PM / devfreq: Reduce wake boost duration to 5000 ms
Download:
https://www.androidfilehost.com/?fid=673368273298961801
Click to expand...
Click to collapse
MD5: 0dbface713400fb4f29f8b947c82c47c
ROM Size: 23.4MB
Click to expand...
Click to collapse
Reserved
Awesome work man.... Love it! this kernel has been nice and smooth! Thanks for all you are doing for the community!!!!
Thanks,
Chaz187
Chaz187 said:
Awesome work man.... Love it! this kernel has been nice and smooth! Thanks for all you are doing for the community!!!!
Thanks,
Chaz187
Click to expand...
Click to collapse
Thanks man, much more to come. I'm going to make this kernel work for AOSP/CM and if the other variants are lucky I'll build for them too . Thanks for all you do as well!
Nice! maybe H918
Wow, no static on boot and all these governor choices......:good::good::good:........can't wait to see your next rom build
SaintZ93 said:
Thanks man, much more to come. I'm going to make this kernel work for AOSP/CM and if the other variants are lucky I'll build for them too . Thanks for all you do as well!
Click to expand...
Click to collapse
I can test for h918
Sent from my LG-H918 using Tapatalk
Before the thread blows up in requests for other variants. I am currently NOT building for other variants. When I have time I may consider it but until then only support LS997 im sorry! However this might (key word might) work for the Verizon variant and US996.
Been so long since I've used governors...what do you recommend to adjust them all? I used to use trickster back in the day but that has since changed.
Excellent work. Can't wait to through it on my phone.
{
"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"
}
My bad for the big picture lol
fogame said:
Been so long since I've used governors...what do you recommend to adjust them all? I used to use trickster back in the day but that has since changed.
Excellent work. Can't wait to through it on my phone.
My bad for the big picture lol
Click to expand...
Click to collapse
YESS! haha fu*k YES! Get Schwifty bro. Umm I'm really figuring that out myself lol. Right now Im using the Dance Dance gov. All seems well.
SaintZ93 said:
YESS! haha fu*k YES! Get Schwifty bro. Umm I'm really figuring that out myself lol. Right now Im using the Dance Dance gov. All seems well.
Click to expand...
Click to collapse
Sweet. Which app did you use to change it? Or how did you change it? Usually trickster allowed me to change it.
fogame said:
Sweet. Which app did you use to change it? Or how did you change it? Usually trickster allowed me to change it.
Click to expand...
Click to collapse
I use Kernel Adiutor.
I flashed this kernel then had the sudden urge to sh*t on the floor.
Really smooth preformance with OBAR. Best ROM and Kernel combo for the sprint variant yet. Thanks!
This kernel has fixed my bluetooth annoyances.
Bluetooth instantly and automatically switches from one device to another when I move from work truck to car.
Sooooooooooo happy. ?
R'uh r'oh. Spoke to soon. Having sound issues but only with videos opened in facebook browser. I can live with this.
holypuma said:
I flashed this kernel then had the sudden urge to sh*t on the floor.
Really smooth preformance with OBAR. Best ROM and Kernel combo for the sprint variant yet. Thanks!
Click to expand...
Click to collapse
Did you remember to take off your pant first?
....I forgot to when I found this kernel.
@SaintZ93 Is it possible to make a version that doesn't flash SU? Every time I flash it some how messes up my phone lol.
All issues with my phone are fixed with this kernel. Bluetooth works perfectly, no lag, no freezing, no problems at all! Thanks for the awesome work man!
Gonna try this out with my ls997... I've been needing a new kernel... And try out with other roms... Thanks... Stay schwifty
fogame said:
@SaintZ93 Is it possible to make a version that doesn't flash SU? Every time I flash it some how messes up my phone lol.
Click to expand...
Click to collapse
Open the zip and remove the root directory and try flashing. Or open the folder and delete the zip and put in magisk zip but make sure to rename the magisk zip to the same thing the original zip was.

Categories

Resources