[10-08] [KERNEL] TripNDroid Unleashed | TDF | EDF Deadline | 004 - One (M7) Original Android Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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?

Related

[Kernel][JB][aosp] [USBHOST] [sweep2wake] Komodo (5/15 /13)

This is a AOSP kernel for the lte.
since 4.2 is pretty stable I am going to start updating the changelog for it.
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"
}
Features
Cpu overclocking - I include 3 variants 1.7, 1.8, and max OC of 1.998
Gpu overcloking - Controlable with various apps on the market (I prefer kernel tuner)
Cpu governors - intellidemand, badass, interactive, conservitive, powersave, performance, lionheart, ondemand, and more
IO schedulers - sio, cfq, vr, zen, deadline, and noop
Sweep2wake with extra gestures - see bottom of OP
Compiled with the latest Linaro 4.7 toolchain - this is usually updated once a month here http://www.linaro.org/downloads/
Linaro -O3 optimized with extra build flags
Sound control
HTC perflock disabled
Voltage control - Controlable with various apps on the market (I prefer kernel tuner)
USB fast charge support
Code:
Changelog 4/8/13 rls30
merge latest cm commits
clean cpu and gpu clocks
linux 3.071
add sound control (Change gains for headset and headphones,sys/kernel/sound_control)
add variant for s2w with gestures
Changelog 3/5/13 rls29
sched_fair: improve group logic
vsprintf: make %pV handling compatible with kasprintf()
lib/vsprintf: replace link to Draft by final RFC number, lib:
nohz: Remove ts->inidle checks before restarting the tick
Revert "jewel: adjust refx100 to 6650." …
remove unused branch labels from trylock routine
disable preemption in machine_shutdown
remove redundant initialization in alloc_page_buffers()
Update amd use lzo compression
jewel: display: remove pinfo.clk_rate.
linux 3.0.67
update rqstats
wcnss: Configure bite interrupt as edge triggered
linux 3.0.68
Changlelof 2/25/13 rls 28
"msm_fb: display: fix compiler warning for uint64_t format" …
jewel: adjust refx100 to 6650. …
msm_fb: display: fix compiler warning for uint64_t format …
video: msm: Remove timeout from wait4vsync …
msm_fb: display: get mipi frame rate from panel file …
msm_fb: display: wait4vsync before set suspend flag …
msm_fb: display: wait4vsync after timing generator is turned off …
msm_fb: display: replace msleep with wait4vsync …
msm_fb: display: check bus scale handler for registration …
msm: msm_bus: Add support for 64-bit bandwidth requests …
add zram using snappy compression support
add frandom number generator support
linux 3.0.66
clean up crc32
update bfq v6
increase capture number of periods
up MDP clocks
tune sched_fair
msm_fb: display: clean pipes from commit queue at suspend …
msm: rotator: Support Fast YUV for 8960, 8064 and 8x30 targets. …
msm: rotator: clear rotator bus scale handler …
forget using aroma to set gpu users can change via app after boot
update usb fastcharge to 3.1
wcnss: Update Riva ramdump segments
update arm topology drivers
add strncpy_from_user
Changlelog 2/16/13 rls 27
Linux 3.0.65
Linux 3.0.64
more cmdline for aroma
linux 3.0.63
msm_fb: display: add mdp clock control to histogram enable/disable …
msm_fb: display: keep borderfill pipe's iommu info …
msm: display: Fix blend configuration for video layer with MDP compos… …
msm_fb:display: correct bus bw for downscale case …
add HYPER gov
Changelog 2/10/13 rls 26
implement aroma for soff (thanks to rom chef for the help still has things to be implented)
msm_fb: display: restore previous mdp bandwidth when resume
android, lowmemorykiller: Sync with Google/CAF
msm: vidc: Add ioctls for MPEG-2 extradata support
video: msm: Fix copyright attribution. …
msm: kgsl: initialize kgsl_sync_timeline_ops properly …
msm: kgsl: Don't wake up gpu on kgsl_ioctl calls if not necessary …
msm: kgsl: Avoid NULL pointer in adreno setstate functions …
msm_fb: Check for panel power on after Unblank.
clean up journal
Revert "ASoC: msm: Fix issues in proxy port driver due to early afe p…
linux 3.0.62
compiled with -O3 buildoptimizaton and -funroll-loops build flag
Changelog 2/2/13 rls 25 For JB 4.2
this will only work on roms who have added the changes from decks 2/2/13.build
linux 3.0.61
added ROW,FIFO,and ZEN I/O schedulers
Updated to the latest linaro 4.7.3 tooolchain (1/13)
Tweaked mp decision (some of CG KeRnEl ChEfs features)
added 178 commits from Deck And CM team (without these guys this project would not exist)
Changelog 1/14/13 RLS 22C
Linux 3.0.58
entropy tweaks
Fix bug when pausing music it stopped and started again for a second
tweaked wifi settings
Changelog 1/6/13 rls 22B
Linux 3.0.57
block: add and use scsi_blk_cmd_ioctl
get rid of on-stack debugging
dynamic fsync
dont oc gpu by default, let user control
some minor code clean up
Changelog 12/29/12 rls22
linux 3.0.56
linux 3.0.55
linux 3.0.54
usb fast charge credit to Chad Froebel
showps ring buffer patch
usb headset detection
Updated VFP to max from 3.4.Y Google Android.
Changelog 12/3/12 rls21
retweaked readahead
GPU oc is reworked to work with kernel tuner (on the apps next update)
tweak sio scheduler
upgrade to linux 3.0.53
Deactivate Notification LED Timeout
implement the ck1 patchset
iosched: prevent aliased requests from starving other I/O
tweaked deadline scheduler
Changelog 11/25/12
use ion instead of pnem(this is tha change in decks build 11/24)
tweak FSB
tweak ksm
GPU 2D/3D OC
msm: kgsl: Ensure glitch free changing of the GPU frequency
vfp: Use hard-float and neon libraries instead of vfp ones
mm: drop swap cache aggressively
mm: swaptoken only when swap full
android: binder: Allow using highmem for binder buffers
mm: drop swap cache aggressively
sched: task_times() explosion avoidance for tasks with
Changelog 11/20/12 rls 19
added cpu topology drivers
upgraded to linux 3.0.52
msm: memory: Use standard cache routines
mm, oom: fix potential killing of thread
Changelog 11/16/12 rls 18
Tweaked crt animation hack
passed with -O3 optimizations
Changelog 11/14/12 rls 17
Updated drivers to work on cm stable and decks newest releases.
Changelog 11/9/12 (decks irc build 11/10 will not work with this kernel)
linux 3.0.51
I/O-less dirty throttling
clock wrap bug
Move REPEAT_BYTE definition
JIT compiler for packet filters, ARM: net
Use AC charging for unknown chargers
Add optimized AES and SHA1 routines
Hack for CRT animations fix
force headset notifications single threaded
Compile with -pipe
aio.c: Asynchronous I/O latency to a solid-state disk greatly increased
optimize apply_slack
fix rq->cpu_load[] calculations
readjust readahead
reclaim som ram from logger
Changelog 11/5/12
fixed the black screen issue reulting in soft reboot
updated compression algorithm
Updated to linux 3.0.50
Changelog 10/28/12
rls14
Sweep2wake(thanks Zarboz)(currently sweep to wake only works in one direction)
MHL enabled
Upgrade to linux 3.0.48
ChangeLog 10/27/12
rls 13
2 kernel version oc capped at 1.89 and 2.1
added vr scheduler
Implemented Jrcu
tweaked block layer
SON is using ramdisk from decks 10/26 build
support for this encryption app [url]https://play.google.com/store/apps/details?id=com.sovworks.edslite&feature=more_from_developer#?t=W251bGwsMSwxLDEwMiwiY29tLnNvdndvcmtzLmVkc2xpdGUiXQ[/url]
Changelog 10/17/12
added Zarboz new asswax governor (thanks Zarboz)
Added Fsync toggle: (File syncronization)
It's disabled by default. Enabled = stock IO speed while having data integrity; disabled = more IO throughput but less data integrity
echo Y > /sys/module/sync/parameters/fsync_enabled (N to disable and Y to enable)
Reapplied patches that broke during the upgrade of linux versions
crc32 optimized
lib/string: use glibc version
lib/memcopy: use glibc version
use the git implementation of SHA-1
Changelog 10/8/12
currently only working for cm10
added BFQ scheduler
perflock disabled
block layer tweaks
auto group scheduling
New wifi driver built from source with BT-AMP feature
Changelog 9/22/12 rls .07
added governors badass,wheatley,pegasusq, and lagfree
tweaked mpdecision
enable ntfs
low memmory tweaks
camera flash functions to 5 percent now
use crc32 patch
many minor patches and tweaks
Changlelog 9/19/12 rls 0.6
better voltage for 2.1
OTG USB HOST MODE
More battery friendly mpdecision(to disable navigate to sys/kernel/msm_mpdecision/conf/enabled change the value to 0)
[COLOR="Red"]doing this can harm your phone I do not recomend but to each his own[/COLOR]
[COLOR="Red"]to change the low value for thermal navigate to sys/kernel/thermal/allowed_low_freq and change to desired frequency[/COLOR]
Changelog 9/12/12 rls .04
Improved mpdecision with cpu1 not so sleepy
utilizing Haus' SON kernel Update script(thanks Haus)
Changelog (9/11/12) rls .03
implemented kernel based mpdecision
implemented kernel based thermald
[COLOR="Red"]With these implimenattions this will rename your thermald and mpdecision binary in your rom to thermal_backup and mpdecision_backup.[/COLOR]
Changelog (9/7/12) rls .02
GPU OC
Added usercontrolled voltage
disabled fsync
Tweaked thermal (trying to manage cpu1)
Boost FSB to 533
tweak smartassv2 governor
and a few other tweaks
Changelog (9/6/12) rls .01
Added CPU OC to 1.89 ghz
Added schedulers VR, SIO, CFQ, DEADLINE; all optimized for flash devices
Addeded Governors smartass2,interacitve,intellidemand,savadgedzen,2 phase ondemand,performance,conservitive,lionheart
Disabled fair gentle sleepers for better performance on android
increased vm readahead to 1024
made memmory allocation optimizations (shows 726 mb of ram)
many little tweaks compiled with linaro 4.6
XZ compression
Sweep gestures (sweep finger across the capacitive buttons on bottom of phone):
Code:
Sweep2sleep: with screen on, swipe right to left to turn screen off
Sweep2power: with screen on, swipe left to right for power menu (simulated 2.5 second power button hold)
Sweep2snap: with screen on: swipe left to right and press Home within 2 seconds for a screen snap
Sweep2wake: with screen off: swipe left to right to turn screen on (disabled by default for better battery life)
Phantom volume down: with screen on, touch between back and home for vol-down one notch
Phantom volume up: with screen on, touch between home and recent apps for vol-up one notch
Sweep2mute: with screen on, swipe from home to back for vol full down (vibrate)
Sweep2loud: with screen on, swipe from home to recent apps for max volume
Sweep2skipback: with screen off, swipe from home to back to skip back a track (when listening to music)
Sweep2skipforward: with screen off, swipe from home to recent apps to skip forward a track (when listening to music)
Sweep2deepsleep: with screen off, swipe from right to left to temporarily disable sweeps while screen is off (until screen is turned back on: prevents pocket sweeps)
[IMG]http://forum.xda-developers.com/attachment.php?attachmentid=1479575&stc=1&d=1352840345[/IMG]
here is a little explanation of kernel based thermal and mpdecision control
What is msm_thermal?
Kernel based 3-phase thermal control!
This replaces your /system/bin/thermald binary which is renamed by the installer to thermald_backup.
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: 1000ms (=1sec)
If you want to see msm_thermal doing it's job:
Code:
adb shell cat /proc/kmsg | grep 'msm_thermal'
What is msm_mpdecision?
100% kernel based multi core decision! (should cpu1 be online or not?)
This replaces your /system/bin/mpdecision binary which is renamed by the installer to mpdecision_backup.
Check /sys/kernel/msm_mpdecision/conf/ for the configuration.
startdelay = time until mpdecision starts doing it's magic (70000)
delay = time between checks (500)
pause = if something else plugs in the cpu, fall asleep for 10000
scroff_single_core = if the screen is off, don't plug in cpu1 (1)
nwns_threshold_up = runqueue threshold, if this is reached cpu1 will be hotplugged (35)
nwns_threshold_down = runqueue threshold, if this is reached cpu1 will be unplugged (5)
twts_threshold_up = time threshold, this amount of time must have passed (250)
twts_threshold_down = same as above (250)
enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
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 cpu1 is requested, nothing will happen.
If cpu1 is above that value and a core down of cpu1 is requested, nothing will happen. (otherwise it would now put down cpu1 even though it is still working)
(all times are in ms)
NOT RESPONSIBE IF YOU BRICK,DROP,LOSE YOUR DEVICE. FLASH AT YOUR OWN RISK[/B
What is FSO?
Fso has greater speed, but there is a chance of corrupting if the phone has a random reboot.
Non-fso is what a stock kernel is and does not have the corruption issue.
It's a trade off, performance for stability or visa versa
If you have issues with reboots viperboy has created a script to increase voltages which may help with stability for the rebellious phones thanks viperboy
http://d-h.st/Kru
Downloads for the the latest releases
http://d-h.st/users/Thicklizard
gpl legalities
https://github.com/thicklizard
If you like my work buy me a coffee!
Thanks to cyanogenmod.
Reserved
Good to see you over here!
I'm on paranoid android so I'll probably test it tonight...
By the way you need to fix the link. You wrapped in lowercase tags when it should uppercase...
YESSS finally a JB kernel. give me give me give me!!!.
Flashing asap
Also what are the smartass2,intellidemand,savadgedzen,2 phase ondemand, and lionheart do, specifically what are the pros and cons?
Ive never heard of those before. But i have heard and used the other ones listed above.
Nice. Will give this a go next time I flash cm10.
Sent from my EVO using Tapatalk 2
Oh yeaaaaaa
Sent from my EVO using xda premium
Pithism said:
YESSS finally a JB kernel. give me give me give me!!!.
Flashing asap
Also what are the smartass2,intellidemand,savadgedzen,2 phase ondemand, and lionheart do, specifically what are the pros and cons?
Ive never heard of those before. But i have heard and used the other ones listed above.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1663809
Check out this thread
Sent from my EVO using Tapatalk 2
Running smooth so far on PA sir
Sent from my EVO using xda premium
Flashing NAOO!
Edit: Runnin great! Lovin more RAM.
very very Nice!
on PA intellidemand works good. too bad no voltage tweaking but good none the less :thumbsup:
syaoran68 said:
on PA intellidemand works good. too bad no voltage tweaking but good none the less :thumbsup:
Click to expand...
Click to collapse
In time this is initial release.
Sent from my EVO using Tapatalk 2
Ooohhooohhooo today is a good day! Thank you! I'm on AOKP. I love the thread you linked for CPU governor explanation. That's a great read. Can't wait to see undervolting capability, especially since AOKP has that available in settings.
Did I say, 'thank you'? :thumbup:
via xda premium on my AOKP'd Evo LTE
Savage Zen is pretty snappy if I must say at 1.809
Sent from my EVO using xda premium
For those of us that are S-ON and dev unlocked, how do we go about installing this? It's not in a .img file so no flash image gui or fastboot.
Can someone repackage it?
Sent from my EVO using xda premium
I will have boot.imgs up in less than an hour
Sent from my EVO using Tapatalk 2
foobz said:
For those of us that are S-ON and dev unlocked, how do we go about installing this? It's not in a .img file so no flash image gui or fastboot.
Can someone repackage it?
Sent from my EVO using xda premium
Click to expand...
Click to collapse
If I'm not mistaken, the image you need is in the flashable zip. Just download the zip, extract it somewhere, and grab the IMG.
May be wrong though. Been a while since I actually looked inside of a kernel zip haha
Sent from my EVO using Tapatalk 2
thicklizard said:
I will have boot.imgs up in less than an hour
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
This guy here! Awesome Job, Really Awesome!
Linking this thread From Paranoid.
Awesome! Thanks for the work!!
Sent from my EVO using xda premium
Oh my gosh! Is it my birthday? can't wait to try and see where this goes!
Will future releases have GPU tweaks?

[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

[KERNEL] [KK] [L] [Linear 2.9] [Linaro GCC 4.9.1] [08/07]

{
"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"
}
This is my idea about the kernel: close to stock, simple and "linear".
I just added things that i need for a good kernel and i thought I'd share it with the community.
​
Features:
Aosp kernel
Based on android-msm-hammerhead-3.4-kitkat-mr2
Based on android-msm-hammerhead-3.4-l-preview (L version)
Stock mpdecision
Build with Linaro GCC 4.9.1-2014.07 toolchain optimized for Cortex-A15
LCD_KCAL: Color Control driver
Faux Sound Control
Voltage Control
Kexec-Hardboot support
Gamma Control
USB Fast Charge
Sweep2wake, doubletap2wake, sweep2sleep,
Prevent touches during phone calls, fullscreen option
wake timeout
Option to disable touch wake with power button
SIO, FIOPS,ZEN and BFQ i/o schedulers
backlight dimmer
network speed tweak
exFAT support
ntfs support
call recording support
Fixed some warning
Always on rgb led support
Reduce minimum panel brightness
kgsl: Report GPU frequency correctly
...and more on my git..
How to flash:
Reflash your rom if you were using another custom kernel on your rom
Flash kernel - no need to wipe
reboot
enjoy
Download:
KK
Linear 2.9
L-preview
Linear 2.9-L
If you like my work, please feel free to donate ^_^
In $
In €
Changelog:
Linear 2.9 / 2.9-L - Aug 7, 2014
Sound Control: expose direct register manipulations to userspace
Sound Control: Misc clean up for newer WCD9xxx SOCs
Sound Control: let register lock be dependent on different hw revisions
Sound Control: separate locking mechanism for recording and playback
msm: use of swp{b} is deprecated for ARMv6+
ARM: be strict about FP exceptions in kernel mode
ARM: add support for kernel mode NEON
ARM: crypto: add NEON accelerated XOR implementation
ARM: 7835/2: fix modular build of xor_blocks() with NEON enabled
ARM: only allow kernel mode neon with AEABI
Linear 2.8-L - Aug 1, 2014
Merge android-msm-hammerhead-3.4-l-preview source code
Linear 2.8 - Aug 1, 2014
bug fixes "Color Profile" in Linear configuration
Add /dev/frandom support
Linear 2.7 - Jul 30, 2014
Add more tcp: westwood, htcp, vegas, veno, illinois
set westwood by default
BFQv7r4 scheduler
update BFQ-v7r5
add ZEN scheduler
Add backlight dimmer option
More gradual levels for backlight dimmer mod (based on @MZHou module)
Backlight dimmer mod: more gradual transitions
backlight: fix a bug where the screen would be completely dark
backlight: clean the code
backlight: add minimum backlight brightness module param
backlight: scale max current when the brightness level is below 15
Add more linear setting:
CPU MAX frequency
CPU Governor settings
TCP congestion
GPU MAX frequency
add more Color Profile
backlight dimmer
Linear 2.6 - Jul 23, 2014
Linear Configuration file: set your kernel (credit to flar2)
disable s2w/dt2w after timeout
disable timeout by default
Revert "slimbus: overclock root freq
Linear 2.5 - Jul 19, 2014
Build with Linaro GCC 4.9.1-2014.07 Cortex-A15
Option to disable touch wake with power button
Add option for sweep2sleep only
fullscreen option
Make power button also disable irq_wake in touch driver
fix unbalanced irq_wake
arm/dts: hammerhead: Optimize panel init/uninit sequence
Linear 2.4 - Jul 17, 2014
exFAT support
fs: exfat: Update to v1.2.8
stereo call recording support
slimbus: overclock root freq
msm: thermal: Update to speed up bootup time
softirq: reduce latencies
add gpu simple governor
ntfs support enabled
Linear 2.3 - Jul 11, 2014
ARM: dts: msm: increase adsp heap size for msm8974
arm/dt: msm8974: Increase "ib" values for VIDC DDR bandwidth request
net: loopback: set default mtu to 64K
ARM: dts: msm: Increase OCMEM BW request for video decode
prevent touches during phone calls while screen is off and s2w or dt2w are enabled
revert lge: remove console enabler function call
Linear 2.2 - Jul 9, 2014
Linux 3.40: clean source, close to stock
block: deadline: Optimize for non-rotational
Linaro GCC 4.9.1: fix compilation warnings
bcmdhd: reducir wakelocks
block: row: add magic values
optimized ARM RWSEM algorithm
Revert ofast
ARM: Use -mcpu=cortex-a15 when targeting MSM Krait CPUs
Added sweep2wake, doubletap2wake, sweep2sleep
sound: hack faux sound
Increase size charging percentage Indicator
Linear 2.1 - Jul 1, 2014
Ofast optimization level
Percentage indicator charge when phone is off
ARM/dt: set values minimum panel brightness to 4
mm: push readahead to 512kB
various fixes
Linear 2.0 - Jun 27, 2014
fix miui compatibility
msm_thermal.c:improvement
Input: Send events one packet at a time
mdss: dsi: Resolving memory leak in parse dsi commands
leds: leds-qpnp: Set proper flash duration
msm: Improve qpnp-vibrator scheduling
deadline: Allow 0ms deadline latency, increase the read speed
deadline: enable default
Linear 1.9 - Jun 23, 2014
Linux 3.4.94
Add SIO and FIOPS i/o schedulers
fiops: enable default
Reduce minimum panel brightness to 3
msm: kgsl: Allow GPU start to run in a high priority queue
msm: kgsl: Add an input handler to power up the GPU on a touch event
msm: kgsl: Fix nice level for higher priority GPU start thread
msm: kgsl: Schedule adreno_start in a high priority workqueue
Previous versions:
AndroidFileHost
Credits:
savoca
Christopher83
faux123
showp1984
flar2
neobuddy89
franciscofranco
myfluxi
Cl3Kener
mzhou
Tasssadar
CriGio
#lafossa
Google
Xda
..and anyone i've forgotten ...
Linear G+ community
Source
Banner:
LINEAR CONFIGURATION
You can change many parameters with this configuration file located in /etc/linear.conf without using 3rd party applications.
Use a file manager with root permissions, making sure you have permission to read/write and the latest version of busybox.
Note - Applications such as trickster there may be conflicts... use script or app, otherwise any post reporting issue will be ignored. This kernel has mpdecision stock, a touch of boost frequency 1267 MHz, this frequency will be displayed as a minimum in applications such as trickster mod. Minimum frequency is 300 MHz.
To apply changes there're 3 methods available:
1 - reboot device
2 - install a file manager with run script feature as root browser, go to directory /etc/init.d and open (as a script) 99linear.
3 - Android terminal emulator and type these commands:
Code:
su
./etc/init.d/99linear
To verify configuration options open log file in /data/local/tmp/linear.log
OPTIONS:
CPU MAX freq
CPU Governor
i/o Scheduler
Readahead Buffer Size
TCP congestion
Vibration
Sweep2wake Sweep2sleep - 0 to disable sweep2wake / 1 to enable sweep2wake and sweep2sleep / 2 to enable sweep2sleep only
Doubletap2Wake - 0 to disable doubletap2wake / 1 to enable doubletap2wake bottom / 2 to enabled doubletap2wake fullscreen
Power Key Toggles S2W/DT2W - 1 to disable s2w and dt2w with the power button turning the screen off
S2W/DT2W Timeout - enter number of minutes to automatically disable Doubletap2wake and sweep2wake
Fastcharge - 0 off / 1 on
GPU Governor - ondemand/simple/performance
GPU MAX freq
Color Profile - 44 profiles
Backlight dimmer - 0 off / 1 on - minimum brightness lower than stock
Thanks !
Thanks man for your work.
amazing.. [emoji122][emoji122][emoji122]
Thank you for your excellent work
congratulations for great kernel! Thank you
thanks for this great kernel
Thank you Hottix
Thanks hottix for this amazing kernel! Good luck
Inviato dal mio Nexus 5 utilizzando Tapatalk
Almost 200 downloads and only a few thanks?
Really?
Thx dude, I'll test this on the next few days.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Thanks mate...Flashing now ..
Thanks for another kernel option. Testing now on my ROM.
Yusei said:
Almost 200 downloads and only a few thanks?
Really?
Thx dude, I'll test this on the next few days.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Not a problem .... absolutely
I did this just for the fun and I'm happy, thank you for the trust.
The best nexus5 kernel
Tanks
Sent from my Google Nexus 5 [SlimKat]
@hottix
Are you thinking to update the base kernel to 3.4.97? Maybe there are some good fixes between the versions.
dox81 said:
@hottix
Are you thinking to update the base kernel to 3.4.97? Maybe there are some good fixes between the versions.
Click to expand...
Click to collapse
Nope ... source close to stock and clean with 2.2 version :fingers-crossed:
Linear 2.2 changelog:
Linux 3.40: clean source, close to stock
block: deadline: Optimize for non-rotational
Linaro GCC 4.9.1: fix compilation warnings
bcmdhd: reducir wakelocks
block: row: add magic values
optimized ARM RWSEM algorithm
Revert ofast
ARM: Use -mcpu=cortex-a15 when targeting MSM Krait CPUs
Added sweep2wake, doubletap2wake, sweep2sleep
sound: hack faux sound
Increase size battery percentage indicator
Download
Linear 2.2
Very nice kernel! Runs really smooth on first impression. Looking forward to following this.
Sent from my Nexus 5 using Tapatalk
I for one am quite surprised how good this is, I've many kernel's, and kept going back to stock, just wasn't satisfied, but I'm sticking to this one, keep up the good work
Sent from my Nexus 5 using XDA Premium 4 mobile app
Flashed and will report back asap. Just got my new n5 and am not eager to experiment with kernels therefore I really like your approach to stick as close as possible to stock. Another question: di we need to install trickster mod or fku to be able to get use of the kernel features or can we just let it be after flashing? I am not to keen on trying a couple of hundred different settings to get the sweet spot...
I wish you would start a community on g+ you should get a lot of following.?
Sent from my Nexus 5 using XDA Premium 4 mobile app
barclac said:
I wish you would start a community on g+ you should get a lot of following.?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Oh this is a good idea
We are creating the Linear community! :good:

[Kernel] HispAsian Kernel [NK2/g900t][12/31]

{
"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"
}
Built Using the latest NK2 Update from Tmobile
Linux 3.4.105
Linaro 4.9.3
-O3 + A15 + Graphite Optimizations
Various Other Optimizations
Ktoonsez Fast Charge
Faux Sound Control
11 Schedulers
12 TCP Congestion Controllers
13 Governors
Enable/Disable fsync
frandom
All suspend and Idle modes Enabled
Permissive
init.d support
and more....
HispAsian_Kernel_v4
HispAsian_Kernel_v3
HispAsian_Kernel_v2
HispAsian_Kernel_v1
Source Code
​
v4
Updated toolchain to 2014.12 Linaro 4.9.3
arm/Makefile:Cortex-A15 & neon optimizations
vfp:compile with neon-vfpv4
ARM: 7835/2: fix modular build of xor_blocks() with NEON enabled
ARM: crypto: add NEON accelerated XOR implementation
ARM: add support for kernel mode NEON
ARM: be strict about FP exceptions in kernel mode
ARM: move VFP init to an earlier boot stage
Disable IOSCHED_TEST
Add support for Time Slack Controller
oom: use N_MEMORY instead N_HIGH_MEMORY
ARM: add auto hotplug driver
writeback: increase bdi_min_ratio to 5 in light of the latest writeback
arm/crypto: Add optimized AES and SHA1 routines
v3
Linux 3.4.105
softirq: reduce latencies
Add a sysfs to disable fsync
msm: Improve qpnp-vibrator scheduling
nohz: Reduce overhead under high-freq idling patterns
block: Reserve only one queue tag for sync IO if only 3 tags are avaiable
mm, vmalloc: remove useless variable in vmap_block
mm, vmalloc: use well-defined find_last_bit() func
mm: vmscan: If kswapd has been running too long, allow it to sleep
mm: slub: Default slub_max_order to 0
msm: use of swp{b} is deprecated for ARMv6+
cpufreq: Optimize cpufreq_frequency_table_verify()
staging: android: ashmem: Avoid deadlock with mmap/shrink
Borrow Kt's "Modify the versioning code to shrink up the length"
mmc: disable CRC check
sched: Micro-optimize the smart wake-affine logic
sched: Implement smarter wake-affine logic
ksm: check and skip page, if it is already scanned
sched/fair: Optimize cgroup pick_next_task_fair()
sched/fair: Optimize find_busiest_queue()
Optimize apply_slack() for size and speed
hrtimer: Implement PR_GET_EFFECTIVE_TIMERSLACK
hrtimer: Introduce effective timer slack
cgroups: Introduce timer slack controller
kernel:sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire
v2
Import all Kt's Fast Charge Commits up to Aug 8th
Add frandom
af_unix: speedup /proc/net/unix
slub: fix a memory leak in get_partial_node()
lowmemorykiller: swap optimization
lib/memcopy: use glibc version
lib/string: use glibc version
lib/int_sqrt.c: optimize square root algorithm
cpufreq: Memory leak with sysfs when stats table are freed
jbd2: optimize jbd2_journal_force_commit
writeback: fix writeback cache thrashing
writeback: Fix occasional slow sync(1)
sync: don't block the flusher thread waiting on IO
writeback: fix race that cause writeback hung
ext4: speed up truncate/unlink by not using bforget() unless needed
Async I/O latency to a ssd greatly increased, 34% gain (Creds: kleikamp)
mm: Fix calculation of dirtyable memory
SELinux: Fix memory leak upon loading policy
v1
Initial Release
​
Also Mine.
This is posted in Android Dev because thread will eventually be converted to a rom thread.
Testing now. Always willing to check new things out. I'll post back with results soon. Thanks
Awww Man this is awesome, gotta have Shiny's kernel on my S5. Downloading now Bro. Thanks for the hard work
---------- Post added at 08:35 PM ---------- Previous post was at 08:19 PM ----------
ShinySide sorry to double post on the thread but I have a question. Should I update bootloader to NK2 since the kernel is NK2?
Thank you going to download and try it out!
mamdroid said:
Awww Man this is awesome, gotta have Shiny's kernel on my S5. Downloading now Bro. Thanks for the hard work
---------- Post added at 08:35 PM ---------- Previous post was at 08:19 PM ----------
ShinySide sorry to double post on the thread but I have a question. Should I update bootloader to NK2 since the kernel is NK2?
Click to expand...
Click to collapse
Na doesnt matter.
Only had it running so far for a few minutes, but this seems great so far. No change made, and vellamo benchmarks are through the roof.
Great job, thanks for providing this!
Sent from my SM-G900T using Tapatalk
ShinySide said:
Na doesnt matter.
Click to expand...
Click to collapse
Great job dude. have had no problems so far you do awesome work. The phone is running great. Thanks again
I have been running it for a week bro and zero issues.
Your my hero
Woot shiny on the s5 too welcome bro lol
The kernel runs amazing a lot better for my bt speakers ty sir
Updated to v2
Change Log:
v2
Import all Kt's Fast Charge Commits up to Aug 8th
Add frandom
af_unix: speedup /proc/net/unix
slub: fix a memory leak in get_partial_node()
lowmemorykiller: swap optimization
lib/memcopy: use glibc version
lib/string: use glibc version
lib/int_sqrt.c: optimize square root algorithm
cpufreq: Memory leak with sysfs when stats table are freed
jbd2: optimize jbd2_journal_force_commit
writeback: fix writeback cache thrashing
writeback: Fix occasional slow sync(1)
sync: don't block the flusher thread waiting on IO
writeback: fix race that cause writeback hung
ext4: speed up truncate/unlink by not using bforget() unless needed
Async I/O latency to a ssd greatly increased, 34% gain (Creds: kleikamp)
mm: Fix calculation of dirtyable memory
SELinux: Fix memory leak upon loading policy
Click to expand...
Click to collapse
Any one else having issues with wireless passwords being lost on reboot, after flashing v2?
What cpu control app do you recommend @ShinySide
trippmcnealy said:
Any one else having issues with wireless passwords being lost on reboot, after flashing v2?
Click to expand...
Click to collapse
That's on your side not mine.
In your build.prop change
ro.securestorage=true to false.
Next update I'll add it to change it to false
if it isn't already via updater script.
ledezma2003 said:
What cpu control app do you recommend @ShinySide
Click to expand...
Click to collapse
Right now trickster.
In the near feature, will be using my "own" Kernel Tweaker [root] found on the playstore is open source so gonna fork it and do my own little thing. Currently things like sound control don't show up with it. So trickster for now
Any chance we could get support for disabling Fsync?
Thank you for offering another option for the S5.
brees75 said:
Any chance we could get support for disabling Fsync?
Thank you for offering another option for the S5.
Click to expand...
Click to collapse
Look into for v3 that's already under way
Added
Hello ShinySide,
I wanted to pop in and tell ya how wonderful your HispAsian kernel V2 is running. Bro got to say you got my phone flying fast. You do great work Bro. I do have a question though. I an still a big NOOB when it comes to kernels so I have no idea what it is I am doing wrong. Is there a way to control how much ram the phone is using? It is running really hi to me. The ram stays round 85 to 95 % which is causing the phone to lag till I clear the ram. I would really appreciate your help in what it is I am doing wrong or what I am not doing or what I need to do? Thanks again for everthing your the best!!
ShinySide said:
Look into for v3 that's already under way
Added
Click to expand...
Click to collapse
Awesome! Thank you
mamdroid said:
Hello ShinySide,
I wanted to pop in and tell ya how wonderful your HispAsian kernel V2 is running. Bro got to say you got my phone flying fast. You do great work Bro. I do have a question though. I an still a big NOOB when it comes to kernels so I have no idea what it is I am doing wrong. Is there a way to control how much ram the phone is using? It is running really hi to me. The ram stays round 85 to 95 % which is causing the phone to lag till I clear the ram. I would really appreciate your help in what it is I am doing wrong or what I am not doing or what I need to do? Thanks again for everthing your the best!!
Click to expand...
Click to collapse
That's not necessarily a bad thing, unused ram is wasted on android. This isn't a windows operating system. If you want to control it adjust the lmk (lowmemorykiller) settings. Also the kernel doesn't have anything to do with this.

[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