[KERNEL][Fighter][AOSP][4.4][26Jul] Bubba Kernel - Verizon HTC Droid Incredible 4G LTE

Disclaimer:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
* blah blah blah you get the point.
*/​
1# post: Disclamer - special thanks
2# post: Current release & source
3# post: FAQ - bugs - future features
Donator List: (huge thanks for support)
here
Suggested kernel control app: trickstermod
I don't know if it works because i don't own the device but i have got ville which is pretty similar
[GUIDE]How to compile a kernel
Credits and Thanks:
dsixda, showp1984, ngtools, faux123, Christopher83, franciscofranco, msm8960 team, jrior001

Features:
Based on linux 3.4.99
Compiled with linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
Linaro -O3 optimization
avaiable CPU governors: interactive, ondemand, performance, powersave, intellimand, intelliactive
avaiable GPU governors: ondemand, performance, simple
avaiable schedulers: row, deadline, noop, cfq, bfqv7r4, fiops, sio
Sleepy Plug
NTFS read & write support
exfat support
UTF8
Voltage control
Sweep2Wake
Double tap 2 wake
Pocket detection
Intelli-thermal
zRam with LZ4 compression
zCache with LZ4 compression
CPU OC to 1.7 GHz
GPU OC to 512MHz (3D) and 320MHZ (2D)
Faux sound control v. 3
Improved alghorithm: SHA1, AES, SQRT, lib/string (glibc version), lib/memcopy (glibc version), XOR (neon)
dynamic fsync by faux123
fastcharge
powersuspend driver (replace earlysuspend)
KCAL control (RGB)
heavly patched memory allocators, RWSEM and mutex (take a look at my github, too many changes to make a list here)
Changelog:
Code:
[JUL 26 2014]
Revert "prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID."
Revert "prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of"
add qseecom support
some defconfig changes
cpufreq: revert CAF's cpu policy save code
sched/cpuidle: reduce IPI storm. Backport upstream 3.16
mm, hugetlb: improve page-fault scalability
mm: per-thread vma caching
update compiler to linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
update to 3.4.99
added KCAL control by faux and fixed by me
add F2FS support
Revert "msm: htc: update mem mapping"
[JUL 17 2014]
update to 3.4.98
sync with cm
sync with codeaurora/kk_2.7-stable
update sleepy_plug
bfq: BFQ-v7r5
bugfix from google (see github)
[JUN 29 2014]
Remove JustArchi GCC flags cos they are unstable
update to 3.4.95
sync with CM
sync with codeaurora/kk_2.7-stable
ext4: Speedup WB_SYNC_ALL pass called from sync(2)
[JUN 19 2014]
update compiler to linaro toolchain 4.9.1 2014.06 optimized for cortex-a15
update to 3.4.94
remove -fdata-sections GCC flag (cause of reboot issue)
sync with CM
sync with codeaurora/kk_2.7-stable
updated sleepy_plug
[JUN 09 2014]
sync with codeaurora/kk_2.7-stable
memset patch to fix bootloops
[JUN 08 2014]
3.4.92
reverted some KGSL CAF patches
removed -ftrace flag
sync with CM
improved int_sqrt algorithm
update bfq to v7-r4
[MAY 28 2014]
sync with codeaurora/kk_2.7-stable
update sleepy_plug
cpufreq: ondemand: Calculate load_at_max_freq based on current policy->max
sched: add do_avg_nr_running to fix avg_nr_running
[MAY 19 2014]
update to 3.4.91
merge codeaurora/kk_2.7_rb1.38
update bfq to v7-r3
sleepy_plug now supports quadcore CPUs
fix headset support (CM)
new GCC flags
update compiler
[MAY 03 2014]
block: support volname for HTC devices with proc/emmc support
[MAY 02 2014]
compiled with Linaro GCC 4.9.1 optimized for cortex-a15
sync with CM
update devices_htc from Jet jb 4.3 kernel
update headset driver from Jet jb 4.3 kernel
update memory mapping (more RAM avaiable)
update pn544 driver
update bma250 driver
OC to 1.7GHz
[APR 29 2014]
fix boot
update to 3.4.88
sync with codeaurora/kk_2.7-stable
some other CAF patches
max OC to 1.5 GHz
[APR 28 2014]
fixed boot (?)
[APR 24 2014]
first release
If you like my work please consider making a donation, I spend almost all my free time on making this kernel the best
i'll buy another phone to continue to support the android development!
Download:
androidfilehost folder: http://www.androidfilehost.com/?w=files&flid=14183
normalToQV: http://www.androidfilehost.com/?fid=23501681358544069
(if you don't see the new version just wait some minutes, it's uploading)
Kernel Source: Github

Q: What is QV version?
A: QV means "qualcomm voltages". qualcomm made a patch and stuck all voltages to 1150mv to improve stability. QV version has got all 1150 mv for each freq (like older 3.4 kernels).​Q: I plugged in my pen drive but i can't found it
A: look in /mnt/usbdisk folder.​Q: What's and how i enable/disable fastcharge?
A: with fast charge an USB charger will recognized as AC charger. it won't charge your phone faster with an AC charger. it may not charge your phone faster with an USB charger.
with the usb cable UNPLUGGED edit /sys/kernel/fast_charge/force_fast_charge:
0 -> disable
1 -> enable
than plug in the cable​Q: i've got random reboots, what do you need?
A: first read here
write this info:
kernel version
ROM
governor
scheduler
undervolted? if yes don't undervolt
QV version? if no use it
last_kmsg
Q: what's BLN and how i enable/disable it?
with BLN on when you received a notify the soft key will blink.
to enable/disable edit /sys/class/leds/button-backlight/blink_buttons:
0 -> disable
1 -> enable​Q: what's s2w and how i enable/disable it?
Sweep2wake allows you to wake up your device by swiping your finger across the capacitive buttons from left to right. Swiping from right to left will put it back to sleep (sweep2sleep).
to enable/disable edit /sys/android_touch/sweep2wake:
0 -> disable
1 -> enable​Q: what's dt2w and how i enable/disable it?
DoubleTap2Wake (DT2W) allows you to wake the device by double tapping the capacitive buttons.
to enable/disable edit /sys/android_touch/doubletap2wake:
0 -> disable
1 -> enable​What's sleepy_plug and how can i activate/deactivate it?
sleepy plug it's an hotplug driver (it decide when turn on the second core) i wrote. it's an experimental driver and it may have got performance problem. if you notice some decrease in performance report it.
to enable/disable edit /sys/module/sleepy_plug/parameters/sleepy_plug_active:
0 -> disable
1 -> enable​Install instruction:​S-OFF:
- flash the zip in recovery
- wipe caches (optional)​S-ON:
Windows & Linux:
flash kernel zip.
stay in recovery after flashing the zip
from command prompt (ot terminal) on PC:
Code:
adb pull /tmp/newboot.img
adb reboot-bootloader
fastboot flash boot newboot.img
fastboot reboot
OLD S-ON INSTRUCTION:
Linux:
- flash awesome kernel cleaning script: http://d-h.st/HDi (optional)
- flash the zip in recovery (obsolete, for older kernels with modules outside built outside)
- use zImage switcher to make a new boot.img
-
Code:
fastboot flash boot newBoot.img
Windows: (don't ask me how it works or everything else, i don't know and they have got tutorials on their site)
- repack your ROM boot.img with mine zImage using Virtuous Ten Studio http://www.virtuous-ten-studio.com/index.php/downloads
-
Code:
fastboot flash boot newBoot.img
Bugs 3.4:
None
If you want to use my kernel for your ROM just use it and cit me in credits

Great thread and great work. I will be flashing this tonight over a fresh install of snapshot M5 CM11! I'll let you know how it runs, hopefully smooth as butter. Thanks again

rmbq said:
Disclaimer:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
* blah blah blah you get the point.
*/​
1# post: Disclamer - special thanks
2# post: Current release & source
3# post: FAQ - bugs - future features
Donator List: (huge thanks for support)
here
Suggested kernel control app: trickstermod
I don't know if it works because i don't own the device but i have got ville which is pretty similar
[GUIDE]How to compile a kernel
Credits and Thanks:
dsixda, showp1984, ngtools, faux123, Christopher83, franciscofranco, msm8960 team, jrior001
Click to expand...
Click to collapse
Can you compile a 4.1.2 SENSE5 kernel? all working
Don't care about my awkward English

zhaotiantian said:
Can you compile a 4.1.2 SENSE5 kernel? all working
Don't care about my awkward English
Click to expand...
Click to collapse
I don't work on sense
Inviato dal mio One S utilizzando Tapatalk

looks great.. just flashed CV on new cm11 nightly.. bootloops htc screen

Non QV bootloops on HTC Quietly Brilliant screen. CM 11 4/14 nightly. I'll try the QV another day.

I think I used wrong voltages for you, freq it's 1.5 GHz instead 1.2. I'll make another version asap

I'm running CM11 snapshot M5, I'm not sure which version to flash. Thanks for the work!
Sent from my Incredible 4G LTE using Tapatalk

try the new version!

still no boot for me, tried new non-qv..

and this one? http://www.androidfilehost.com/?fid=23329332407590054

^^ there we go! that one works so far so good.. only thing i noticed is max cpu option is still 1728, i don't think this phone can go above 1512, but i may be wrong?
edit: also, trying to disable the button backlight is buggy. the 3 lights will still blink intermittently..

itrx said:
^^ there we go! that one works so far so good.. only thing i noticed is max cpu option is still 1728, i don't think this phone can go above 1512, but i may be wrong?
Click to expand...
Click to collapse
officially only 1242MHz even ... but it runs fine at the usual (slight) OC 1458MHz or 1512 ... but also 1674 is fine ... just consumes more battery and gets hotter. even up to 1809MHz should be stable for most, but that is way to hot and batt-sucking imho!

official booting version is up, i limited OC to 1.5, 1.7 is too much xD

rmbq said:
official booting version is up, i limited OC to 1.5, 1.7 is too much xD
Click to expand...
Click to collapse
for reference our/my: on the Infernal / Infernal-K99 (ICS-Sense custom kernel) ... 1512 / 1458 was set as the std max CPU freq, but we allowed up to 1809 on Infernal (which I admit is rather really high xD) ... and 1674 max OC on Infernal-K99 => the max OC of 1674 is usually auto-selected for the 2nd-core on demand whereas the 1st core admits to whatever limit is set (thus usually 1458)
no real heat probs at all since months with that setting ... 1809 tended to get rather hot (e.g. on reboots) ... not so with 1674 (and a not too high voltage as set in std)
oh, and limiting the "OC" to 1512 isn't really an OC limit ... as that was std for the MSM8960 on almost all devices! (just fireball got an artificial limit of 1242 to further improve on batt runtime). so from that point of view, only everything _above_ 1458/1512 should be considered OC.
just my 2c
PS: apart from that, thanks for working on fireball AT ALL ... there aren't many devs left here unfortunately
on a note: please also enable 192MHz as the lowest CPU freq while you are at it ... never heard any complaints about it for our custom-kernels ... _and_ it greatly improves on total runtime, if 192MHz as lowest for CPU is set ... instead of the regular 384MHz only
cheers,
kimba99

Kernel is pretty smooth and getting great battery life, thank you indeed! I'd agree with adding 192Mhz as well.

kimba99 said:
for reference our/my: on the Infernal / Infernal-K99 (ICS-Sense custom kernel) ... 1512 / 1458 was set as the std max CPU freq, but we allowed up to 1809 on Infernal (which I admit is rather really high xD) ... and 1674 max OC on Infernal-K99 => the max OC of 1674 is usually auto-selected for the 2nd-core on demand whereas the 1st core admits to whatever limit is set (thus usually 1458)
no real heat probs at all since months with that setting ... 1809 tended to get rather hot (e.g. on reboots) ... not so with 1674 (and a not too high voltage as set in std)
oh, and limiting the "OC" to 1512 isn't really an OC limit ... as that was std for the MSM8960 on almost all devices! (just fireball got an artificial limit of 1242 to further improve on batt runtime). so from that point of view, only everything _above_ 1458/1512 should be considered OC.
just my 2c
PS: apart from that, thanks for working on fireball AT ALL ... there aren't many devs left here unfortunately
on a note: please also enable 192MHz as the lowest CPU freq while you are at it ... never heard any complaints about it for our custom-kernels ... _and_ it greatly improves on total runtime, if 192MHz as lowest for CPU is set ... instead of the regular 384MHz only
cheers,
kimba99
Click to expand...
Click to collapse
about OC ok, i didn't know your device can handle 1.7 GHz and i'll enable it again in next version.
about 192MHz i don't know if i ever will enable it

rmbq said:
about 192MHz i don't know if i ever will enable it
Click to expand...
Click to collapse
About over/down clock/voltage CPU & GPU, please check this post:
http://forum.xda-developers.com/showthread.php?t=2217285?&p=51891887

Related

[Kernel][Sense 4] crpalmer | August 25, 2013

The goal of this kernel is above all stability with the secondary goals of increased performance and increased battery life. I use this phone for several hours a day for work and therefore it must be reliable. I am not focusing on providing a million options for governors, etc. In addition to those main goals of the kernel, I have an additional secondary goal of removing as much HTC code as possible from the kernel.
This is based on the 2.04 kernel source release from HTC with a huge number of modifications. Thanks to faux123, showp, harsh, mdeejay, zarboz and dsb9938 whose kernels I have pulled some commits from.
The unique features of this kernel are:
New init.d scripts to allow some tweaking without needing any 3rd party apps
* See the next post for details.
Replaced HTC's mpdecision with a new custom hot-plug driver that I created:
* This hot-plug driver is more aggressive about bring cores on and off-line to match the load on the system.
* Bringing cores online earlier makes your phone more responsive / smooth.
* Taking cores offline earlier improves battery life.
* It ramps up very quickly on resume to avoid lag.
Replace HTC's thermald with a new custom thermal driver that I created:
* Unlike all other thermal drivers, it uses "trip-points" to let the phone tell the kernel when it is overheating. The other thermal drivers poll every X ms and read the temperature instead.
* By using trip-points, there is 0 battery consumption unless the phone is overheating.
* By using trip-points, there is an instant reaction to temperature changes.
* It's probably nearly impossible to cause thermal shutdown without being in a desert!
Replaced HTC's bluetooth drivers with Code Aurora Forums (CAF) version.
Replaced HTC's lightsensor table with one that is more sensible and that matches what other devices use. If you have custom auto-brightness settings, you'll probably need to tweak them after installing this kernel.
There are many additional changes to boost performance and battery life:
* Linaro -O3 compiled (Linaro 4.8).
* Overclocking from mdeejay's kernel.
* Underclocking to 192MHz.
* I disable tons of HTC debugging crap left enabled and needlessly consuming battery.
* Improvements to the core locking code of the kernel.
* Patches that transform traditional locks into RCU backed data structures.
* CAF version of the ondemand and conservative governors.
* hsic wakelock changes from dsb9938's kernel.
* CAF changes to power management to sleep faster and waste less CPU during suspend.
* Improved code for moving data to/from user-space and manipulating strings within the kernel.
Other features:
* Include all mainline Linux changes to keep up-to-date on bug fixes.
* Voltage control (faux123) to allow user-space under-volting.
* BFQ I/O scheduler.
* CAF lowmemorykiller.
* Force fast charge.
Links
A link to each version is included in the changelog entry. Scroll down to the changelog to download the latest version.
Source (GitHub):
* Kernel source
* Merging of upstream into the stock kernel
* Build tools
Installation Instructions:
If you are S-OFF you can flash the update.zip in recovery.
If you are S-ON, then after you flash the update.zip in recovery then, while still in recovery, you must run
Code:
adb pull /tmp/boot.img
<reboot into bootloader>
fastboot flash boot boot.img
Changelog:
Version 2.0.41: August 25, 2013: Linux 3.4.58, HTC colour "enhancement"
* Merged Linux versions 3.4.53 - 3.4.58
* Added the ability to enable / disable the HTC colour enhancement (this lets you see if you like it or not)
Version 2.0.38: July 7, 2013: Linux 3.4.52
* Linux version 3.4.51 / 52 merged in
* Reverted a small change to the PWM values used for the display (it wasn't giving any value so why change ti)
Version 2.0.34: June 24, 2013: colour enhancement, fixes, debug messages
* Toned done yet more HTC debugging messages
* Enable UTF-8 codepage support for Windows file-systems
* Fix error in HTC's light-sensor calibration table (overflows the 16-bit number they are using)
* Avoid buffer overflow in acdb driver
* Remove HTC's colour enhancement gamma correction (beaups)
Version 2.0.32: June 15, 2013: linux 3.4.49, scheduler & mutex improvements
* Linux 3.4.49
* Three scheduler performance improvements
* Move to more standard and slightly faster mutex implementation
Version 2.0.30: June 8, 2013: linux 3.4.48, small fixes
* Linux 3.4.48
* Fix CVE-2013-2595
* Decrease latency in cpufreq frequency changes
Version 2.0.27: May 26, 2013: init.d governor, 3.4.47
* Ability to specify the cpufreq governor at boot time (see second post).
* Linux 3.4.47
* Remove an annoying HTC debugging message
Version 2.0.26: May 23, 2013: init.d tweaks, 3.4.46, no default undervolting
* Added PVS information to /proc/cpuinfo in case you wanted to knoiw what it is for your phone.
* Linux upstream version 3.4.46
* Improve how I set the CPU frequences to safe levels for boot without having to reset them every time a core is hot-plugged in.
* New init.d scripts for some common tweaks (see post #2).
Version 2.0.23: May 13, 2013: Lightsensor fix, 3.4.45, faster freq. changes:
* Fix an error transcribing the lightsensor ranges into the source.
* Update to Linux 3.4.45
* cpufreq: use a high priority to target new frequencies to allow faster changes under load
Version 2.0.20: May 12, 2013: Lightsensor, 3.4.44, undervolt for "fast":
* Use a new lightsensor table to get a more granular light reading If you have custom auto-brightness settings, you'll probably need to tweak them after installing this kernel.
* Update to Linux 3.4.44
* Undervolted for devices binned "fast" by -100mV.
* CAF fix for cpufreq driver.
Version 2.0.17: May 7, 2013: Linaro 4.8.0 build, minor CAF fixes:
* Moved to updated Linaro 4.8.0 based toolchain (theoretically faster, less battery likely it's unnoticeable)
* CAF: change boot-up order for cpufreq
* CAF BT: recover from a hardware error by resetting the device
Version 2.0.15: May 2, 2013: boot hang fix, 3.4.43, CPU frequencies, brightness, misc fixes:
* Linux 3.4.43
* Small fixes from CAF (bluetooth, usb)
* Restore the CPU frequences/voltages from 1.x.y kernels (previously I was using HTC's new tables)
* simple_plug: keep cores online during boot
* use the correct brightness ranges for our display (HTC cut off the lowest brightnesses).
* fix a race condition on boot with the binder kernel services
Version 2.0.9: April 23, 2013: 3.4.41 and small fixes:
* Linux 3.4.41
* Small fixes from CAF
* Clean up some more HTC crap in the kernel
Version 2.0.6: April 17, 2013: boot changes, linux 3.4.40:
* Linux 3.4.40 (upstream).
* Limit CPU speeds during boot to stock speeds.
* Enable the thermal driver 5 seconds into the boot (previously was 30 seconds).
* Small changes to the ramdisk from the 2.04 update (I forgot these before).
Version 2.0.3: April 15, 2013: on_demand, battery, HTC spew:
* HTC insists on adding more and more debugging messages to the kernel log. Clean these up.
* OnDemand: revert a CAF change I made and disable io_is_busy.
* Remove HTC's over-volting for CPUs binned anything other than nominal.
* defconfig changes to ease building the kernel for CM10.1 (no you can't use this one for CM10.1!).
Version 2.0.0: April 11, 2013: 2.04 (OTA) source drop:
* Updated to Linux 3.4.39
* Updated to HTC's release of 2.04 source
* cgroup permissions fix
* Otherwise the same as 1.2.6
* Note: After running this for a day, I feel like the battery is draining faster and the phone is hotter than it should be. I'm looking into that.
Changelog from 1.2.x
Version 1.2.6: April 4, 2013: ramdisk fix, lowmemorykiller, hsic wakelocks:
* Fix a problem where the ramdisk was no longer disabling mpdecision and thermald. This issue causes a very minor additional battery drain that has now be fixed (Thanks t1gartist!).
* CAF updates to lowmemorykiller.
* Reapply elkay's HSIC fixes by pulling the real commits from CAF (instead of his hand copied commits) which fixes two problems in his commits.
1.2.2: April 1, 2013: linux 3.4.38, lag fixes, bluetooth drivers, cleanup:
* Undo some dubious commits (or extra code included in unrelated commits, what I meant by "early mistakes"). I reexamined every commit in the kernel to decide whether to keep it or remove it.
* Bluetooth drivers are the current CAF msm-3.4 drivers.
* Additional CPU speed and governor information added in /proc/cpuinfo.
* Cleaner patching to upstream linux (see my github repo for the clean upstream patching).
* Linaro -O3 compilation was redone from scratch because there were some problems found by kern3l in the original patches I pulled, I wanted to ensure that there were no other problems so I redid the work myself.
Changelog from the 1.0.x series:
1.0.27: Mar 25, 2013: thermald, simple_plug
* Make the previous changes to simple_plug less aggressive about turning cores back off when applications force them online. We now detect that this has occurred and give the application 2 minutes to be in charge before we force the state back to what we want.
* Change thermald default throttling to be slightly less strict.
1.0.25: Mar 21, 2013: Linux 3.4.37, simple_plug, performance
* Linux 3.4.37
* simple_plug: add a verify mode (every 5 seconds => almost 0 cost) that fixes the state when apps bring cores on/off-line (e.g. kernel tuner).
* rwsem performance improvements
* CAF improvements (correctness, performance) of the power management layer
1.0.21: Mar 16, 2013: Linux 3.4.36
* Linux 3.4.36
* Small bug fixes from CAF
1.0.18: Mar 7, 2013: Linux 3.4.35
* Linux 3.4.35
1.0.17: Mar 4, 2013: Linux 3.4.34, Linaro 4.7-2013.02, thermald fix
* Linux 3.4.34.
* Linaro 4.7: stopped using 4.8 beta builds due to stability fears and lack of apparent benefit from it. The latest 4.7 drop back-ports some optimizations anyway.
* lowmemorykiller: switch to the CAF version of the low memory killer.
* Fixed several bugs in HTC's thermal driver that could cause the termal driver to miss thermal events.
1.0.15: Feb 26, 2013: Battery optimization, performance, thermal & hotplug improvements
* governor: make ondemand the default governor
* GPU: Very minor GPU overclock to 487MHz (from mdeejay).
* msm_thermal: react better when temperature decreases.
* simple_plug: be slightly less aggressive about bringing cores online.
* New suspend mode PM_SUSPEND_FREEZE
* Oprimization for RWSEM lock handoffs.
* RCU locking in cpufreq!
* Disable more HTC debugging code.
1.0.11: Feb 22, 2013: Battery optimizations, Linaro 4.8 build, update.zip format
* Disable HTC's PNP power manager and adaptive policy services (used for thermald / mpdecision which are already disabled).
* Turn off all the kernel code that was polling to compute the state needed for thermald / mpdecision.
* Turn off a bunch of HTC statistic collection and debugging that isn't needed and wastes battery.
* Linux 3.4.33: fixes a kernel memory corruption/hang in all 3.0 and 3.4 kernels
* Sparkco's 4.8 Linaro build is now being used to compile the kernel
* Moved to update.zip format with less commonly used modules moved to loadable modules.
1.0.8: Feb 19, 2013: Switch to different OC values
* Now using mdeejay's over/unclocking (hopefully solving the L2 cache corruption panic).
* thermal driver is less aggressive about throttling the phone with an additional early step down to stock speed
(50C => 1.5GHz, 75C => 1.3GHz, 83C => 918MHz, 90C => 384MHz).
* Linux 3.4.32 (although no changes that would affect our phone).
1.0.7: Feb 15, 2013: thermal driver no longer polls for state
* Linux 3.4.31.
* Now using the 2013-01 build of the Linaro toolchain.
* Major rewrite of the thermal driver to remove polling (now uses essentially no power).
* Tweaks to the hot-plug driver to reduce CPU consumed to reduce power consumed.
1.0.5: miscellaneous optimizations
* Optimization: use optimized memcpy for user-space copies
* Update to linux 3.4.30
* Tons more cleansing of excessive debugging output
* Use RCU_FAST_NO_HZ as caf claims to have found that this improves battery life
* More linaro -O3 fixes from kern3l via dsb
1.0.2
* cm3629 driver, removed power button pocket check (sounds like a good idea, doesn't work and is a likely candidate for an infrequent sensor drain coming from the proximity sensor not turning off).
* cm3629 remove some unused functionality.
* Two small fixes from kern3l via dsb9938's kernel.
* clean some log messages.
1.0.0
* Merge linux 3.4.29
* simple_plug: a new CPU hot-plug driver (default)
* msm_thermal: a new thermal throttling driver (default)
* faux123's intelli_plug (disabled by default)
* faux123's intellidemand governor (default)
* disable mpdecision and thermald in initrd
* dsb9938's overclocking tables, GPU fix and more -O3 changes
* optimizations/fixes from faux123's mako kernel
* Based on elkay's LK kernel which is based on dsb9938's kernel.
* Includes all elkay's HSIC fixes, but nothing beyond that.
* Linaro -O3 compilation (zarboz) and other compiler flags (dsb9938).
* Disabled remote assistance because that just creeps me out.
* NTFS and CIFS.
* Various optimizations and improvements (faux123's mako kernel, similar to dsb9938's pulls from there).
* Force fast-charge (dsb9938).
* Voltage control (faux123).
* Latest OnDemand and Interactive governors from faux123's mako kernel.
* Large set of scheduler fixes / improvements (faux123).
* Underclocking (but not overclocking right now) to 192 MHz.
* BFQ I/O scheduler (default).
* Cleaned up debugging to make the kmsg more useful.
FAQ
sweep2wake: I have no plans to add that to this kernel at this time.
FAQs
init.d tweaks
I really like Zarboz's goal of trying to get rid of the need for 3rd party apps to make the common changes that we want to make to some of the configurable parameters of the kernel. I created some scripts that run on boot (init.d) because I install my kernel so many times that I would go insane if I had to use an installer. By using these scripts and configuration files on the sdcard, I can just configure it once and keep installing away to my heart's content.
After installing this kernel, there will be:
/system/etc/init.d/99crpalmer
run at boot, even if you switch to another kernel. It is safe to leave this file there and to let it run as it only makes changes if the kernel contains "crpalmer" in the version.
The tweaks are:
CPU Frequencies
* Frequencies loaded from /sdcard/crpalmer-cpufreq-min and /sdcard/crpalmer-cpufreq-max
* Governor loaded from /sdcard/crpalmer-cpufreq-governor
* If you specify either or both of these frequencies, it will lock down all of the CPU frequency controls. I had to do this because HTC overrides them in a script that is run very late in the boot process (thanks HTC!).
* E.g. adb shell su -c "echo 192000 > /sdcard/crpalmer-cpufreq-min"
* E.g. adb shell su -c "echo 1728000 > /sdcard/crpalmer-cpufreq-max"
* E.g. adb shell su -c "echo interactive > /sdcard/crpalmer-cpufreq-governor"
Undervolting
* + or - value loaded from /sdcard/crplamer-uv
* The undervolting in 2.0.23 for FAST binned CPUs would be specified as:
* E.g. adb shell su -c "echo -100 > /sdcard/crpalmer-uv"
Lightsensor
* My light sensor changes didn't sound like they worked well for everyone. If you don't like them you can disable them by:
* E.g. adb shell touch /sdcard/crpalmer-stock-lightsensor
HTC Colour "Enhancement"
* If this file is present then the stock colour "enhancement" will be used, otherwise it will be disabled.
* Introduced in kernel 2.0.41.
** E.g. adb shell touch /sdcard/crpalmer-color-enhancement
My WIFI Won't Turn On
If your WIFI won't turn on then the most likely cause is that either you didn't flash the boot.img (e.g. not S-OFF) or your modules don't match the kernel. To figure out what's wrong, first boot the ROM after having installed my kernel. Second, verify that you are running my kernel by running
adb shell cat /proc/version
and seeing that it says crpalmer in (it should match the version that you think you installed, but at least saying crpalmer is a good start). Then do:
adb shell dmesg -c
(turn on wifi)
adb shell dmesg
and look for an error that says crpalmer in it (something like a module version mismatch error). If you see that, it should tell you the version number of the modules that are installed and the version of the kernel.
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
Thanks for this. Looks good. :thumbup:
Sent from my ViperDNA
nice, moar kernel development :highfive:
welcome aboard
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
So no modules to flash?
Sent from my HTC6435LVW using Tapatalk HD
idkwhothatis123 said:
So no modules to flash?
Click to expand...
Click to collapse
That's right. No need to flash the return-to-stock modules either.
Thank you for this! I also find it hilarious that you including instructions for benchmarking. To this day I still wonder why people actually care about benchmarks as they have little to no impact on real world performance.
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
azndan2 said:
Thank you for this! I also find it hilarious that you including instructions for benchmarking. To this day I still wonder why people actually care about benchmarks as they have little to no impact on real world performance.
Click to expand...
Click to collapse
Self defense... I didn't want to deal with people getting 8K scores and blaming me.
Antutu is actually really useful for testing the thermal driver.
Very nice, does this have the latest changes that were just removed from elkays kernel? Also, could you add the lionheart gov?
Nice to see another kernel to choose from, I will give it a shot this weekend. Will you eventually put any you tweaks? Also, can this be flashed with FlashGui?
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
orangechoochoo said:
Nice to see another kernel to choose from, I will give it a shot this weekend. Will you eventually put any you tweaks? Also, can this be flashed with FlashGui?
Click to expand...
Click to collapse
just tried, flashgui won't even let you flash it. Gotta wait till I get home I guess!
Sent from my HTC6435LVW using Tapatalk 2
Thanks for giving it a shot.
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
codezzie said:
Very nice, does this have the latest changes that were just removed from elkays kernel? Also, could you add the lionheart gov?
Click to expand...
Click to collapse
I looked at elkays changes and it removes a background task that encourages a USB device to power down. This may or may not be a good thing. I'll see how elkay's testing goes before I pull in the change. If it goes well, I'll give it a try.
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
orangechoochoo said:
Nice to see another kernel to choose from, I will give it a shot this weekend. Will you eventually put any you tweaks? Also, can this be flashed with FlashGui?
Click to expand...
Click to collapse
What tweaks? It.already has a lot of improvements...
Any idea what flashgui accepts as input?
I didn't see any mention of gpu tweaks so I didn't want to make assumptions, hence my question.
EDIT: I just noticed my autocorrect changed "gpu" to "you" in my post you responded to.
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
crpalmer said:
Any idea what flashgui accepts as input?
Click to expand...
Click to collapse
Flashgui worked for me. Renamed file to "boot.img" and ignored the warnings. I like living on the edge. Booted up and shows this kernel version. Thanks for this.
Stay thirsty, my friends
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
Had a glitch with it already, phone was sleeping, got a message on gtalk and it locked full on vibration, blinking the led, wouldn't wake up and eventually rebooted after maybe 10 seconds. I've had this happen on one of the dsb kernels too, I think. Wiped caches again, hasn't occurred again so far.
Happened not 10 minutes after flashing it so I'm chalking it up to kernel making itself at home, just a note that it happened.
Edit: just rebooted again getting an email notification, UKB 1.3. Seems I can't receive a notification while the phone is sleeping or it jams up and reboots.
Sent from my HTC DNA
Re: [Kernel] [Linaro] [Linux 3.4.29] Version 1.0.0 - Feb 7
matteebee said:
Flashgui worked for me. Renamed file to "boot.img" and ignored the warnings. I like living on the edge. Booted up and shows this kernel version. Thanks for this.
Stay thirsty, my friends
Click to expand...
Click to collapse
Just did the same thing, was coming back to edit my last post lol
Sent from my HTC6435LVW using Tapatalk 2
pio_masaki said:
Had a glitch with it already, phone was sleeping, got a message on gtalk and it locked full on vibration, blinking the led, wouldn't wake up and eventually rebooted after maybe 10 seconds. I've had this happen on one of the dsb kernels too, I think. Wiped caches again, hasn't occurred again so far.
Happened not 10 minutes after flashing it so I'm chalking it up to kernel making itself at home, just a note that it happened.
Edit: just rebooted again getting an email notification, UKB 1.3. Seems I can't receive a notification while the phone is sleeping or it jams up and reboots.
Sent from my HTC DNA
Click to expand...
Click to collapse
After it reboots, can you try to get a log with
adb shell cat /proc/last_kmsg > last_kmsg.txt
and send a link to the last_kmsg.txt file?
orangechoochoo said:
I didn't see any mention of gpu tweaks so I didn't want to make assumptions, hence my question.
EDIT: I just noticed my autocorrect changed "gpu" to "you" in my post you responded to.
Click to expand...
Click to collapse
Ah, that makes more sense... I'm planning on including dsb's changes to any overclocking, etc. but I don't have the knowledge to tweak these settings myself.

[KERNEL][Jet][AOSP][4.4][26Jul] Bubba Kernel

Disclaimer:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
* blah blah blah you get the point.
*/​
1# post: Disclamer - special thanks
2# post: Current release & source
3# post: FAQ - bugs - future features
Donator List: (huge thanks for support)
here
Suggested kernel control app: trickstermod
I don't know if it works because i don't own the device but i have got ville which is pretty similar
[GUIDE]How to compile a kernel
Credits and Thanks:
dsixda, showp1984, ngtools, faux123, Christopher83, franciscofranco, msm8960 team, jrior001
XDA:DevDB Information
AOSP Bubba Kernel, Kernel for the Sprint HTC EVO 4G LTE
Contributors
rmbq
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2014-07-26
Current Beta Version: 24 Apr
Beta Release Date: 2014-04-24
Created 2014-04-23
Last Updated 2014-07-26
Reserved
Features:
Based on linux 3.4.99
Compiled with linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
Linaro -O3 optimization
avaiable CPU governors: interactive, ondemand, performance, powersave, intellimand, intelliactive
avaiable GPU governors: ondemand, performance, simple
avaiable schedulers: row, deadline, noop, cfq, bfqv7r4, fiops, sio
Sleepy Plug
NTFS read & write support
exfat support
UTF8
Voltage control
Sweep2Wake
Double tap 2 wake
Pocket detection
Intelli-thermal
zRam with LZ4 compression
zCache with LZ4 compression
CPU OC to 1.7 GHz
GPU OC to 512MHz (3D) and 320MHZ (2D)
Faux sound control v. 3
Improved alghorithm: SHA1, AES, SQRT, lib/string (glibc version), lib/memcopy (glibc version), XOR (neon)
dynamic fsync by faux123
fastcharge
powersuspend driver (replace earlysuspend)
KCAL control (RGB)
heavly patched memory allocators, RWSEM and mutex (take a look at my github, too many changes to make a list here)
Changelog:
Code:
[JUL 26 2014]
Revert "prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID."
Revert "prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of"
add qseecom support
some defconfig changes
cpufreq: revert CAF's cpu policy save code
sched/cpuidle: reduce IPI storm. Backport upstream 3.16
mm, hugetlb: improve page-fault scalability
mm: per-thread vma caching
update compiler to linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
update to 3.4.99
added KCAL control by faux and fixed by me
add F2FS support
Revert "msm: htc: update mem mapping"
[JUL 17 2014]
update to 3.4.98
sync with cm
sync with codeaurora/kk_2.7-stable
update sleepy_plug
bfq: BFQ-v7r5
bugfix from google (see github)
[JUN 29 2014]
Remove JustArchi GCC flags cos they are unstable
update to 3.4.95
sync with CM
sync with codeaurora/kk_2.7-stable
ext4: Speedup WB_SYNC_ALL pass called from sync(2)
[JUN 19 2014]
update compiler to linaro toolchain 4.9.1 2014.06 optimized for cortex-a15
update to 3.4.94
remove -fdata-sections GCC flag (cause of reboot issue)
sync with CM
sync with codeaurora/kk_2.7-stable
updated sleepy_plug
[JUN 09 2014]
sync with codeaurora/kk_2.7-stable
memset patch to fix bootloops
[JUN 08 2014]
3.4.92
reverted some KGSL CAF patches
removed -ftrace flag
sync with CM
improved int_sqrt algorithm
update bfq to v7-r4
[MAY 28 2014]
sync with codeaurora/kk_2.7-stable
update sleepy_plug
cpufreq: ondemand: Calculate load_at_max_freq based on current policy->max
sched: add do_avg_nr_running to fix avg_nr_running
increase base address
revert 24 May changes
[MAY 24 2014]
Increase ramdisk_offset
[MAY 19 2014]
update to 3.4.91
merge codeaurora/kk_2.7_rb1.38
update bfq to v7-r3
sleepy_plug now supports quadcore CPUs
fix headset support (CM)
new GCC flags
update compiler
[MAY 03 2014]
block: support volname for HTC devices with proc/emmc support
[MAY 02 2014]
compiled with Linaro GCC 4.9.1 optimized for cortex-a15
sync with CM
update devices_htc from Jet jb 4.3 kernel
update headset driver from Jet jb 4.3 kernel
update memory mapping (more RAM avaiable)
update pn544 driver
update bma250 driver
[APR 29 2014]
update to 3.4.88
sync with codeaurora/kk_2.7-stable
some other CAF patches
[APR 25 2014]
fix s2w
[APR 24 2014]
added s2w and dt2w with pocket detection (from torched sources)
enable BLN
[APR 23 2014]
first release
If you like my work please consider making a donation, I spend almost all my free time on making this kernel the best
i'll buy another phone to continue to support the android development!
Download:
androidfilehost folder: http://www.androidfilehost.com/?w=files&flid=14092
normalToQV: http://www.androidfilehost.com/?fid=23501681358544069
(if you don't see the new version just wait some minutes, it's uploading)
Kernel Source: Github
Reserved
Q: What is QV version?
A: QV means "qualcomm voltages". qualcomm made a patch and stuck all voltages to 1150mv to improve stability. QV version has got all 1150 mv for each freq (like older 3.4 kernels).​Q: I plugged in my pen drive but i can't found it
A: look in /mnt/usbdisk folder.​Q: What's and how i enable/disable fastcharge?
A: with fast charge an USB charger will recognized as AC charger. it won't charge your phone faster with an AC charger. it may not charge your phone faster with an USB charger.
with the usb cable UNPLUGGED edit /sys/kernel/fast_charge/force_fast_charge:
0 -> disable
1 -> enable
than plug in the cable​Q: i've got random reboots, what do you need?
A: first read here
write this info:
kernel version
ROM
governor
scheduler
undervolted? if yes don't undervolt
QV version? if no use it
last_kmsg
Q: what's BLN and how i enable/disable it?
with BLN on when you received a notify the soft key will blink.
to enable/disable edit /sys/class/leds/button-backlight/blink_buttons:
0 -> disable
1 -> enable​Q: what's s2w and how i enable/disable it?
Sweep2wake allows you to wake up your device by swiping your finger across the capacitive buttons from left to right. Swiping from right to left will put it back to sleep (sweep2sleep).
to enable/disable edit /sys/android_touch/sweep2wake:
0 -> disable
1 -> enable​Q: what's dt2w and how i enable/disable it?
DoubleTap2Wake (DT2W) allows you to wake the device by double tapping the capacitive buttons.
to enable/disable edit /sys/android_touch/doubletap2wake:
0 -> disable
1 -> enable​What's sleepy_plug and how can i activate/deactivate it?
sleepy plug it's an hotplug driver (it decide when turn on the second core) i wrote. it's an experimental driver and it may have got performance problem. if you notice some decrease in performance report it.
to enable/disable edit /sys/module/sleepy_plug/parameters/sleepy_plug_active:
0 -> disable
1 -> enable​Install instruction:​S-OFF:
- flash the zip in recovery
- wipe caches (optional)​S-ON:
Windows & Linux:
flash kernel zip.
stay in recovery after flashing the zip
from command prompt (ot terminal) on PC:
Code:
adb pull /tmp/newboot.img
adb reboot-bootloader
fastboot flash boot newboot.img
fastboot reboot
OLD S-ON INSTRUCTION:
Linux:
- flash awesome kernel cleaning script: http://d-h.st/HDi (optional)
- flash the zip in recovery (obsolete, for older kernels with modules outside built outside)
- use zImage switcher to make a new boot.img
-
Code:
fastboot flash boot newBoot.img
Windows: (don't ask me how it works or everything else, i don't know and they have got tutorials on their site)
- repack your ROM boot.img with mine zImage using Virtuous Ten Studio http://www.virtuous-ten-studio.com/index.php/downloads
-
Code:
fastboot flash boot newBoot.img
Bugs 3.4:
None
If you want to use my kernel for your ROM just use it and cit me in credits
This is pretty sick gonna give it a whirl as soon as I'm free, but I had thought that HTC hasn't released our kernel to the devs so this will probably brick our devices since it's a port right ??
the kernel
Sent from my EVO using xda app-developers app
ultimatelegend1 said:
This is pretty sick gonna give it a whirl as soon as I'm free, but I had thought that HTC hasn't released our kernel to the devs so this will probably brick our devices since it's a port right ??
the kernel
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
i don't know what you are saying!
you have got official CM support (idd you have got, for example, this ROM http://forum.xda-developers.com/showthread.php?t=2633324 that is AOSP). this kernel is for aosp so, what's the problem?
Nice work MBQ! thanks a lot for this I'm going to be using it tonight
Sent from my EVO using Tapatalk
U see after the sense 5 4.3 update our phones received the partition layout changed and with it came an updated kernel but since HTC hasn't released the new kernel this could possibly brick phones on the new layout but it might work with phones on the old layout, listen I'm no expert if anyone here on the new partition flashes this plz do report back so that we can now if this is compatible
Sent from my EVO using xda app-developers app
ultimatelegend1 said:
U see after the sense 5 4.3 update our phones received the partition layout changed and with it came an updated kernel but since HTC hasn't released the new kernel this could possibly brick phones on the new layout but it might work with phones on the old layout, listen I'm no expert if anyone here on the new partition flashes this plz do report back so that we can now if this is compatible
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
this kernel doesn't change the partition layout
P.S. you can't brick the phone flashing a kernel
I didn't say that it would change the layout , and thanks for the new info I thought that flashing an incompatible kernel could possibly brick a device
Sent from my EVO using xda app-developers app
Will definitely give this a go tomorrow and report back with results.
Sent from my SPH-L720 using Tapatalk
I couldn't wait until tomorrow. I first gave this a run using a nandroid of an OmniRom build, and I noticed that there are a few things that work or don't work well/at all. I tried again on a clean flash, and achieved the same results.
Working
USB Fast charge (yay)
Overclock
Not working
Sweep2whatever
Doubletap2wake
Custom governors not available
Custom schedulers not available
Not Working Well
I noticed that it is causing screen tearing during the transitions.
I experienced trouble connecting to my car bluetooth, but I'm not sure if that's rom related.
Sent from my HP Pavilion g6 Notebook PC using Tapatalk
new version is up! with s2w dt2w and BLN
knock knock and s2w aren't working for me
rmbq said:
new version is up! with s2w dt2w and BLN
Click to expand...
Click to collapse
About to test right now.
aarsyl said:
I couldn't wait until tomorrow. I first gave this a run using a nandroid of an OmniRom build, and I noticed that there are a few things that work or don't work well/at all. I tried again on a clean flash, and achieved the same results.
Working
USB Fast charge (yay)
Overclock
Not working
Sweep2whatever
Doubletap2wake
Custom governors not available
Custom schedulers not available
Not Working Well
I noticed that it is causing screen tearing during the transitions.
I experienced trouble connecting to my car bluetooth, but I'm not sure if that's rom related.
Sent from my HP Pavilion g6 Notebook PC using Tapatalk
Click to expand...
Click to collapse
about Sweep2whatever Doubletap2wake new version should fix them.
Custom governors not available & Custom schedulers not available: strange, which app are you using?
I noticed that it is causing screen tearing during the transitions.: could be try to use interactive governor
I experienced trouble connecting to my car bluetooth, but I'm not sure if that's rom related.: on ville it's working so i don't think it's kernel related (same chip)
rmbq said:
about Sweep2whatever Doubletap2wake new version should fix them.
Custom governors not available & Custom schedulers not available: strange, which app are you using?
I noticed that it is causing screen tearing during the transitions.: could be try to use interactive governor
I experienced trouble connecting to my car bluetooth, but I'm not sure if that's rom related.: on ville it's working so i don't think it's kernel related (same chip)
Click to expand...
Click to collapse
Ok....update.
I flashed today's build (QV version), and here are the changes.
- The different governors now show up.
- Sweep/Doubletap options don't show up in TricksterMOD.
- I tried to force sweep2wake to work through Kernel Tuner, but the phone froze after I applied the new settings.
- I didn't notice your post soon enough to try the interactive governor. I will post an update soon.
aarsyl said:
Ok....update.
I flashed today's build (QV version), and here are the changes.
- The different governors now show up.
- Sweep/Doubletap options don't show up in TricksterMOD.
- I tried to force sweep2wake to work through Kernel Tuner, but the phone froze after I applied the new settings.
- I didn't notice your post soon enough to try the interactive governor. I will post an update soon.
Click to expand...
Click to collapse
have you got these files?
/sys/android_touch/sweep2wake
/sys/android_touch/doubletap2wake
rmbq said:
have you got these files?
/sys/android_touch/sweep2wake
/sys/android_touch/doubletap2wake
Click to expand...
Click to collapse
I'm a little busy right now, and I have already restored my Sense nandroid, so I can't check. I'm quite a busy bee when it comes to roms, so I will get back to you soon.
rmbq said:
have you got these files?
/sys/android_touch/sweep2wake
/sys/android_touch/doubletap2wake
Click to expand...
Click to collapse
Yes those two files are there.
when setting either of them to 1, when trying to us it my phone reboots.
Also no changes made after reboot seem to stick
Sent from my EVO using Tapatalk
shadowxaero said:
Yes those two files are there.
when setting either of them to 1, when trying to us it my phone reboots.
Also no changes made after reboot seem to stick
Sent from my EVO using Tapatalk
Click to expand...
Click to collapse
can you give me a last_kmsg?

[KERNEL][GT-S5280/2]ZD Kernel v5.0

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.*/
Well, it seems its about time I release one of the most awaited thing (after a long long time) for this device.
Presenting you with a piece of real dev (kinda), Zapdos Kernel.
Features
Compiled from source.
Compiled using ARM official toolchain (4.4.3).
Bootable on ALL firmwares. This removes the distinction between 'old' and 'new' firmwares.
Swap Support. You got that right, swap support on your favorite ROM, regardless of it being 'old' or 'new'.
CPU Frequency Scaling. Apps like CPU-Z and others will now show more details than ever.
1400 Mhz Overclock.
Governors enabled.
More Governors added.
CPU Idle Power Management Support.
More CPU Frequencies.
Modified Voltage table for better battery life. [UPDATE]
Settings -> Battery, will now show battery usage by apps too. Partially fixed in v2.0 Update.
More I/O Schedulers.
Dynamic Read Ahead Support.
Dynamic Fsync v2.0. Gives massive boost in I/O Performance, and is reflected in benchmark. (Thanks to Faux123)[UPDATE]
Added Double Tap 2 wake feature.
Added bunch of TCP Congestion Controls.
Added Mali GPU profiling.
Based on gzip compression method.
Insecured boot.
Easy root enabled.
Bunch of corrections.
Uses Custom boot splash.
Added VR I/O Scheduler. [NEW]
Added Zen I/O Scheduler. [NEW]
Added TripnDroid I/O Scheduler. [NEW]
Added FIFO I/O Scheduler.[NEW]
In-app updates. [NEW]
Disabled Gentle Fair Sleepers. [NEW]
Asynchronous I/O latency to a solid-state disk greatly increased.. [NEW]
NOATIME and NODIRATIME by default. [NEW]
Disabled CRC check. [NEW]
Optimized SLUB. [NEW]
Optimized Square root algorithm. [NEW]
No dirty things in kernel version. [NEW]
Bugs/Glitches
It is highly likely to experience bugs and glitches, because CPU frequency is enabled. Samsung had disabled it for stability issues.
After reboot, battery remaining value drops drastically, but will increase back eventually to normal, its a glitch, not a bug.
Attaining CPU frequency scaling like other Android Phones is difficult, real-time CPU Frequency scaling isn't possible because, if tried, results in crash.
Broken battery usage by all apps after overclock. Partially fixed in v2.0.
DoubleTap2wake is experimental, it sometimes does not work by name (i.e you need to tap more than 2 times, but it will work for sure).
Credits
Unjustified Dev - For his modifications in defconfig, which was needed to boot the kernel.
Doc - For his findings about non-bootable zImage.
psych.half - For providing me insights about development and Linux Platform.
varun.chitre15 - For helping me make a boot.img, various insights about kernel development and always inspired me.
faux123 - For his awesome dynamic fsync driver.
thewisenerd - For his full support in integrating doubletap2wake.
showp184 - For his double tap to wake driver.
Downloads
Here
Installation
By PC
Download zip.
Put it in your phone.
Boot into recovery mode.
Flash zip.
No need to wipe any data before and after.
Reboot & Enjoy.
By Phone
Download Gesture Control App.
Install it.
Open the app, go to update section (download icon in top right corner).
From there, install/update the kernel.
When download is finished, you will be asked to flash. Press flash button if on CWM v6.0.3.7 only. Then it will boot to recovery, just press Yes then.
If you want to flash manually, downloaded file is saved in sdcard/
XDA:DevDB Information
Zapdos, Kernel for the Samsung Galaxy Star
Contributors
AvinabaDalal
Source Code: https://github.com/corphish/zapdos_mint
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 4.0
Beta Release Date: 2015-03-19
Created 2015-03-18
Last Updated 2015-10-06
Reserved for F.A.Q and Changelog
Frequently Asked Questions
Q. I tried/want to try this, but I have some doubts....
A. You are reading the right post, find your queries below, if not post it.
Q. Nice work dude, thanks....
A. Well, XDA has done a great job in reducing a man's effort of typing 6 letters to just a click on a button called 'Thanks Button'. Didn't they?
Q. Can I use it in my ROM/MOD ?
A. Sadly, NO, sorry. Since the sources have been provided, also kernel may cause problems when flashed after ROM, so its is not recommended to include it in a ROM. But you can obviously refer others to this kernel.
Q. Will this work on GT-S5280?
A. Well, since I don't have that variant, and since its a kernel, I would say not to try this on GT-S5280. And hence, No.
Q. What version of CWM do I need to use?
A. 6.0.2.8 or 6.0.3.7 only, no CWM v5.
Q. I tried this kernel out of excitement, but now realized that it was not for my phone.........?
A. May God Bless You.
Q. What are the features/speciality of the kernel?
A. First, read the 1st post. Second, get/change your spectacles.
Q. Will this work on XYZ Firmware/ROM for GT-S5282?
A. Hell Yeah!!
More Q/A will be added eventually.
If you can't find, post your queries here.
Changelog
Code:
[B]v4.0 - 5 July 2015[/B]
--Added many IOSchedulers.
--Zen
--Fifo
--Vr
--TripnDroid
-Disabled GFS.
-Asynchronous I/O latency to a solid-state disk greatly increased.
-NOATIME and NODIRATIME by default.
-Disabled CRC check.
-Optimized SLUB.
-Optimized Square root algorithm.
-No dirty things in kernel version.
-Enabled KSM.
-Added 1600 Mhz locked frequency.
-Improvements in CPU frequency scaling.
-Updated Dynamic fsync driver to v2.
-Revised Voltage Table for battery improvements.
-Added 200Mhz frequency.
[B]v2.0 - 28 March 2015[/B]
-Fixed not being able to set max CPU frequency.
-Improvements in frequency scaling.
-Added 400,800 Mhz frequencies.
-Modified voltage table, its now more power efficient.
-Overclock to 1400Mhz.
-Added smartassv2, lulzactive governors.
-I/O Optimization : Dynamic read ahead support.
-I/O Optimization : Dynamic fsync.
-Added doubletap2wake. [EXPERIMENTAL]
-Added bunch of TCP Net Congestion Controls.
-Added Mali GPU Profiling.
[B]v1.1 - 20 March 2015[/B]
-1200Mhz Overclock
-Deadline I/O scheduler.
-Improvements in frequency scaling.
-Other optimizations and value corrections.
[B]v1.0 - 19 March 2015[/B]
-Initial release.
Reserved for kernel tweaks and settings
To get the most out of this kernel, install ThunderZap Control App by @varun.chitre15
FREE Version - https://play.google.com/store/apps/details?id=com.varun.thunderzapcontrol
PAID Version - https://play.google.com/store/apps/details?id=com.varun.thunderzapcontrolpro
**Note - DO NOT try to mirror this app. If you want to download use Google Play Store only. If you want to share, share the links given above. DO NOT upload the app to any 3rd party hosting site. You have been warned.
In this app, various sections can be accessed by swiping from left edge to right.
CPU Section
Governors - Use smartassV2. You can use ondemand to get the core running at 1400Mhz.
You can adjust max and min frequencies too. Always keep max frequency 1000 Mhz or above.
Memory Management Section
I/O Schedulers - Use any, unless more are added.
Always keep the Dynamic Fsync option on (layout issue there, but blue means on).
You can play with other options too, instructions are mentioned there.
Network
Use any control, I would recommend Westwood. (Layout issue there again).
Don't forget to enable set on boot, can be found in settings.
DoubleTap2Wake
An update to this app should bring double tap to wake toggle under Special Section (And that is why I highly recommend to use this app). But for now -
Install Terminal Emulator - https://play.google.com/store/apps/details?id=jackpal.androidterm
Run the app, and then type -
Code:
su
echo 1 > sys/android_touch/doubletap2wake
It can be done using adb shell too.
Run Antutu benchmark, and feel the difference.
Will be updated as per kernel.
imma try it bro...and i hit it for u, ..thank you again for this work..keep it going bro.
Awesome..... its working.......
!!!!!congratulations for galaxy star!!!!....:thumbup:
I want to know answer for small question..my stock kernel has 469 mb ram why custom kernel has 459mb ram?
HiT tHaNkS iF I HeLpD u..~~~
Nice Work dude
Will inude this on my rom if u approve
thanks mate also button pressed
thanks for your efforts .will try as soon i will reach at my home
Updates
A Q/A thread for this can be found here.
Added AFH mirrors for those who are facing download issues. Next time, AFH mirrors only.
Next Update will bring-
1. CPU Overclock to 1200Mhz
2. Deadline ioscheduler.
3. Full CPU frequency scaling.
Who's waiting?
rag555 said:
Awesome..... its working.......
!!!!!congratulations for galaxy star!!!!....:thumbup:
I want to know answer for small question..my stock kernel has 469 mb ram why custom kernel has 459mb ram?
HiT tHaNkS iF I HeLpD u..~~~
Click to expand...
Click to collapse
This is because you were on old stock kernel, this one is based on newer sources.
Use Q/A thread next time.
Great work i gonna try it , thanks
im w8ng for nxt update. .. .
AvinabaDalal said:
Next Update will bring-
1. CPU Overclock to 1200Mhz
2. Deadline ioscheduler.
3. Full CPU frequency scaling.
Who's waiting?
Click to expand...
Click to collapse
Kernel is working properly :good: and I am eagerly waiting for the update :fingers-crossed:..
v1.1 Update? Here it comes
Changelog
-1200Mhz Overclock
-Deadline I/O scheduler.
-Improvements in frequency scaling.
-Other optimizations and value corrections.
Removed Odin flashable, since there were no downloads.
Download link updated in OP.
Kernel tweaks (post #3) updated.
Kernel will be soon named Zapdos.
Next Update will be even more big, but its not coming out any soon.
Don't ask about ETA's please.
Solved
v1.1 - bro i cant use contacts (ie keypad ,dialer, logs etc). The msg reads ""unfortunately, contacts has stopped" ..........m on stock rom
v1.0 - same result on this version
Solved...............restored Nandroid backup....and now everything is working fine
Bro plz tell me what is the best governor and scheduler combination for maximum performance
OMG Your Kernel is TRENDING in Indonesia !!
BTW Nice Work
Sent from my GT-S5282 using XDA Free mobile app
@AvinabaDalal : do u compile the source kernel using cm10.1 ?
cleverior.ipul said:
@AvinabaDalal : do u compile the source kernel using cm10.1 ?
Click to expand...
Click to collapse
Nope, I compiled it using ARM toolchain as they had asked to. But I plan to switch to Linaro Toolchain.
And I am not sure whether it will boot CM 10.1 (chances are there though). But it boots perfectly on all stock ROMs.
AvinabaDalal said:
Nope, I compiled it using ARM toolchain as they had asked to. But I plan to switch to Linaro Toolchain.
And I am not sure whether it will boot CM 10.1 (chances are there though). But it boots perfectly on all stock ROMs.
Click to expand...
Click to collapse
what the different of ARM toolchain and Linaro toolchain ?
v2.0 is up!!
Changelog
-Fixed not being able to set max CPU frequency.
-Improvements in frequency scaling.
-Added 400,800 Mhz frequencies.
-Modified voltage table, its now more power efficient.
-Overclock to 1400Mhz.
-Added smartassv2, lulzactive governors.
-I/O Optimization : Dynamic read ahead support.
-I/O Optimization : Dynamic fsync.
-Added doubletap2wake. [EXPERIMENTAL]
-Added bunch of TCP Net Congestion Controls.
-Added Mali GPU Profiling.
You can find download link here.
Do check post #3. This has been updated.
Really this is just awesome...what's the next target
press thankks if you like my work
Great......
~~hiT tHaNkS iF I HeLpD u~~

[KERNEL][G850F] duki994 Kernel v1.4 - final [LP][STOCK]

duki994 Kernel for Stock TouchWiz LP ROMs​
A personal project that had good results and I wanted to share it with others
It's based on official Samsung sources for Lollipop firmware.
Important note:
This kernel should work on any custom ROM that is stock lollipop based
Features:
* Wolfson Audio control (thanks to @AndreiLux)
* Battery charging control (thanks to @AndreiLux)
* CPU voltage control for both A7 and A15 cluster (thanks to @AndreiLux)
* Exposed all OPP voltage controls (thanks to @AndreiLux)
* Powersuspend v1.7 by @faux123 and @Yank555
* LMK, MM and FS powersuspend mods ported from @dorimanx's LG G2 kernel
* SCHED code fixes
* SCHED: HMP thresholds changed and new patches implemented
* Many changes related to ARM instruction code and lowlevel ARM core management
* Enabled NEON mode in kernel with full VFPV4 support
* Added new SHA256 and SHA512 NEON accelerated algortihms - now blazing fast
* UKSM (Ultra Kernel Samepage Merging) - algorithm that's better optimized than standard KSM
* WiFi standby wakelocks (PNO wakelock) reduced
* WiFi userspace power mode/DTIM change (for advanced users ONLY)
* WiFi driver switched from deprecated earlysuspend to use newer powersuspend driver (this is to fix some of bugs that could lead device kernel crash)
* NET updates
* Enabled all TCP congestion protocols and set Westwood as default (best wireless performance)
* Disabled KNOX
* SELinux disabled in kernel
* Fully configurable in Synapse (download from Google Play)
/* Important note to other devs */
You cannot include this to your ROMs. I can't be responsible if anything goes wrong, I can't help with any issues without knowing kernel version and users should be routed to this thread if they want this kernel, or if you recommend it. I think that it's best to separately view custom ROM and custom Kernel, so each dev (ROM or Kernel one) can work on bugs/features and make it as compatible as it can.
However, you can add this thread link and mention me in your thread, so people would know where to ask if some kernel problem arises
Warranty void
By flashing this kernel you will void your warranty. I'm not responsible if you brick your device, or if someone starts nuclear war.
Note:
Don't change voltages on "Busses" tab if you don't know what you are doing. It can reboot your phone if your memory controllers, ISP or MMC controllers can't handle low voltage.
WiFi pasword resetting fix:
Code:
1. open your build.prop file
2. find line ro.securestorage.support
3. change it from true to false (if not already false)
This line being on true will make your WiFi not work good with this kernel. This is due to Samsung's rooting restriction and other Samsung specific workarounds to stop rooting and flashing. Any custom ROM probably has this line changed to false.
Changelogs:
Version 1.4 BETA
Billion critical updates from my G900H version:
* MM code
* new LMK driver
* Exynos interactive governor updated
* IRQ code revamped
* OF code revamped
* New 8-band EQ sound-control
* Numerous ALSA updates and fixes
* Numerous Wolfson DAC driver updates
* MemInfo code updates
etc. list is enormous
Version 1.3
*MM page allocation changes. and others. Now more than 50% faster page_alloc
*RCU and SRCU updates from S6 and upstream + CAF
*NET updates
*USB fixes and updates
*dma mapping ARM fix
Version 1.2.1
*Synapse
->added ROW scheduler to test (experimental)
*Several BLOCK code updates and typo fixes. Some serious bugs fixed.
*Fully updated ROW I/O sched added (experimental)
Version 1.2
* Synapse:
-> disabled min cpu freq control. not needed.
-> added new I/O schedulers
* Massive updates to BLOCK, SHCED, MM, WORKQUEUE critical code
* Added FIOPS and BFQ I/O schedulers
* EXT4 updates to fix possible kernel crashes
* ZSWAP now uses ultra fast and light on cpu LZ4 compression
* CPUFREQ optimizations
* Updated BFQ, FIOPS, DEALINE scheds with fixes and optimizations
Version 1.1
*Synapse:
* Added live cpu stats for all 8 cores (quad A7 and quad A15 cores)
* Added live CPU temperature monitoring
* Added live battery temperature and health status
* Disabled broken battery input current feature (shows 0mA for our PMIC chip)
* Added misc tab:
+ ability to take logcat,dmesg,last_kmsg
+ HMP Little packing switch ON/OFF and explanation
* Added optimized ARM RWSEM algorithm
* Fixed HMP so HMP little packing would work good with our implementation
* thermal IPA(Intelligent Power Aware) now updates power tables immediately when voltage changed from Synapse
* entropy depletion fixes
* Enabled FRANDOM random number generator module for more entropy and less lag
* Added NEON instruction accelerated SHA256/SHA224 algorithm. Now we have SHA384/SHA512, SHA256/SHA224 and SHA1 algorithms NEON accelerated - blazing fast
* HMP little packing switch for Synapse
Experimental option made by nvidia. It groups tasks so more of them would be scheduled across power saving cores (A7 cores in our CPU). It may or may not save battery depending on your usage.
Downloads:
Here it is
https://app.box.com/s/vt70dzo7fzgnlyik4mxkiaaj7xkhjaot
Special thanks:
@AndreiLux for his awesome Synapse app, audio control, charging control, sources and many features/updates and upgrades to Exynos kernel code
@UpInTheAir for his source that I looked when I had bugs, and for his fixes/workarounds
@dorimanx for inspiring me to start developing and his LMK and MM mods
@bonuzzz for his custom KitKat kernel for Galaxy Alpha and his sources
@apb_axel for UKM and his scripts that helped me a lot in making custom Synapse config
XDA:DevDB Information
G850, Kernel for the Samsung Galaxy Alpha
Contributors
duki994
Source Code: https://github.com/duki994/SM-G850_Kernel_LP/
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 1.0
Beta Release Date: 2016-08-12
Created 2015-11-02
Last Updated 2016-08-12
Reserved
How to build this kernel guide
PREREQUISITES
What you need installed to compile
gcc, gpp, cpp, c++, g++, lzma, lzop, ia32-libs flex
If on 64bit Linux, install gcc multilib
Project folder structure
--project_root/ #### can have any name
-----ramdisk_source/ ## defined by RAMDISK_TMP var in script
-----ramdisk_tmp/ ## defined by RAMDISK_DIR var in script
-----kernel_source/ #### can have any name
-----RELEASE/
TOOLCHAIN INFO
Toolchain is already into kernel dir. You just need to have
correct folder structure and run this script. Everything will be auto-built
FLASHABLE ZIP
Flashable zip will be located in project_root/RELEASE directory
and will have name Kernel-slte.zip
All other explanations here:
https://github.com/duki994/SM-G850_Kernel_LP/blob/master/build_kernel.sh
Clone ramdisk source in ramdisk_source
Clone kernel in kernel_source folder
Be sure to have project directory structure as written above
After that, you just need to run:
sudo bash build_kernel.sh
in kernel folder. And voila. After finished you have Kernel-slte.zip in RELEASE directory
If it show any errors, open kernel source and type in terminal:
chmod -R 755 *
Then repeat sudo bash build_kernel.sh
awesome job, thank you
finally undervolt .. yay
ayamgoreng said:
awesome job, thank you
finally undervolt .. yay
Click to expand...
Click to collapse
When you have time, report how it works
Sent from my LG-D802 using Tapatalk
Is it possible to other variants like Galaxy Alpha SM-G850L Korean? Thanks
duki994 said:
When you have time, report how it works
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
I reduce voltage A15,A7 (every speed) by roughly 20mv
gaming (coc,asphalt,etc) for roughly 1 hour; result=stable :good:
edit: volume in the audio also work, louder headphone.
Thanks, I'll try it.
how the battery with this kernel?
gtrs36 said:
Thanks, I'll try it.
how the battery with this kernel?
Click to expand...
Click to collapse
Battery? It's better than stock for me. For screen on, this morning I had 50mins SOT and 87% battery left. That's even better than my LG G2, which is a beast according to tests
My father uses Galaxy Alpha, and yesterday he managed to get 4h SOT with HSDPA data on.
When screen off (in suspended mode) it's very low power consumption due to Powersuspend driver. It's better than stock.
exaflare said:
Is it possible to other variants like Galaxy Alpha SM-G850L Korean? Thanks
Click to expand...
Click to collapse
I have no access to G850L model. I don't know if it will work.
During this week, if I have enough time, I'll download G850L source and build it with all mods/features and give you to test it
thanks duki994.
which app I need install to control on the kernel?
hi!
1. how do You undervolt by 20mv, in synapse i have steps like 1x,xxMv and can set up -25Mv??
2. I have strange warning message after installed this kernel. it says phone needs to reboot. after reboot the same. just annoying
duki994 said:
Battery? It's better than stock for me. For screen on, this morning I had 50mins SOT and 87% battery left. That's even better than my LG G2, which is a beast according to tests
My father uses Galaxy Alpha, and yesterday he managed to get 4h SOT with HSDPA data on.
When screen off (in suspended mode) it's very low power consumption due to Powersuspend driver. It's better than stock.
Click to expand...
Click to collapse
did you UV or what settings did you use ?
m_p11 said:
hi!
1. how do You undervolt by 20mv, in synapse i have steps like 1x,xxMv and can set up -25Mv??
2. I have strange warning message after installed this kernel. it says phone needs to reboot. after reboot the same. just annoying
Click to expand...
Click to collapse
1. Our voltage regulator accepts 6.25mV step. So you can UV/OV in multiples of 6.25. When you do math, 6.25mV x 4 = 25mV
You can't UV -20mV. You can UV -18.75m (3 x 6.25mV). Next step is -25mV (4 x 6.25mv).
Ursurobertt said:
did you UV or what settings did you use ?
Click to expand...
Click to collapse
No UV. All stock. Only changed earpiece volume (incall speaker volume) to higher (+4dB if I recall good from this morning). It's for better hearing incall
UV generally doesn't reduce battery consumption (it's maybe 1%-3% less power usage). Real benefit of UV is lower CPU heat and prolonged life of motherboard.
Some chips can't handle UV at all. Some can be UV by as much as -150mV. It all depends on specific chip that came out of fabric process. Note that UV brings instability on some devices.
Sent from my LG-D802 using Tapatalk
duki994 said:
Battery? It's better than stock for me. For screen on, this morning I had 50mins SOT and 87% battery left. That's even better than my LG G2, which is a beast according to tests
My father uses Galaxy Alpha, and yesterday he managed to get 4h SOT with HSDPA data on.
When screen off (in suspended mode) it's very low power consumption due to Powersuspend driver. It's better than stock.
Click to expand...
Click to collapse
hi dude
what setting are used on your father Alpha,stok or I should change in synapse
hensk said:
hi dude
what setting are used on your father Alpha,stok or I should change in synapse
Click to expand...
Click to collapse
Look at post above yours. I explained everything
Sent from my LG-D802 using Tapatalk
recent button does not works after flashing this kernel.. recent button works fine with stock kernel...
likhon02 said:
recent button does not works after flashing this kernel.. recent button works fine with stock kernel...
Click to expand...
Click to collapse
On which ROM are you? Everything works for me on stock. I have to see if anything changes it.
Did you set secure storage to false in build prop?
I'l automate that in next build.
Kernel doesn't mess with options like recent buttons and Java written parts of Android OS.
Sent from my LG-D802 using Tapatalk
duki, you didn't answer to my question.
gtrs36 said:
duki, you didn't answer to my question.
Click to expand...
Click to collapse
Please read OP before asking. Everything is said there.
Synapse is the app with which you can change settings of this kernel.
duki994 said:
On which ROM are you? Everything works for me on stock. I have to see if anything changes it.
Did you set secure storage to false in build prop?
I'l automate that in next build.
Kernel doesn't mess with options like recent buttons and Java written parts of Android OS.
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
I am on ozcan rom 4.1. my recent button only works with Nordic based stock which is NEE G850FXXU2COI3 5.0.2 11.09.2015 5614954 and ozcan rom..and with any other rom like rr and cm12.1 my recent button does not work.. secure storage is false by default on build.prop .

[KERNEL] [July 06] [3.10.107] Vegito 6.04/7.02 (Vibe K5/K5 Plus)

Vegito Kernel for Lenovo Vibe K5/K5 Plus
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.*/
Features:
Insecured
adb runnable as root
init.d support
Upgraded to latest Linux version 3.10.107
Now powered by AROMA Installer.
Built Using UBERTC- 4.9 Aarch64 Toolchain along with optimizations like GCC optimization for cortex-a53 ,O3 & Graphite flags.
ThunderPlug - A Dynamic Hotplug Driver by @varun.chitre15 - Takes down all seven cores when phone goes to sleep leading to significant battery savings
Dynamic Fsync - A driver originally written by faux123- Disables Fsync when phone is being used causing significant IO boost.
Added Adreno idler GPU Alogrithm - An efficient workaround for msm-adreno-tz's overheads. Developed by @arter97
Disabled Gentle fair sleepers
F2FS Support ( Import from Motorola Source 7.0 Nougat )
Enabled arch power
Automatic busybox installation
Compatible with systemless root
KSM ( Kernel Sample Merging ) enabled
Uses live Ramdisk patching during flashing, so need not worry about ROMs on which you are flashing on.
Added Double Tap to Wake and Sweep2Wake
Added sound control
Added simple GPU Algorithm - An add-on for MSM-Adreno TZ GPU Governor. Developed by @faux123.
KCAL advanced color control [V2](RGB, Saturation, Value, Contrast, Hue)
CIFS support
zSwap support - A Virtual compressed memory pool - Can be used as a swapping devices for extra RAM.
Reduced idle power consumption
Wakelocks blocked by default thanks to @franciscofranco
Vibration Intensity Control: Let’s you adjust the intensity at which your phone vibrates
IOScheduler
block: Added Sio IOScheduler
block: Added FIOPS IOScheduler
Additional IOSchedulers: BFQ v7r8(recommended)
Governors enabled: ondemand, interactive:
Add sysinterface for GENTLE_FAIR_SLEEPERS [toggle switch]
Frandom driver- Fast Kernel Number Generator.
Kexec Hardboot Supported
Performance enhancements
Added USB fast charge
Introducing Intelli_thermal - A new thermal protection mechanism
Support for CRC-Toggle (Disabled by Default in Misc. TAB).
Improved square root algorithm.
Disabled some debugging
Relax thermal throttling values
Disabled MMC CRC check for extra 30% boost in IO
Support for ARCH_Power to reduce Power-Consumption and increase Battery-Life.
Support for the new PowerSuspend algorithm.
Optimized Console FrameBuffer for upto 70% increase in Performance.
Support for Larch Power feature (should improve Battery-Life).
Powersuspend mode
Added bunches of TCP Congestion Algorithm
Downloads
Vegito 6.4 ( Stock based )
Vegito 7.2 ( Lineage based )
Note:
Users can also update my kernel within 1 click by using my own app
Free Version
Paid Version
Google+ Community (Beta testing and releases)
https://plus.google.com/u/0/communities/107248021342303532678
Important:
Do not flash this over other custom kernels!
You should only flash Vegito over the kernel that came with your ROM
Reporting bugs
Grab a logcat, and a console ramoops (if random rebooting) or a dmesg (any other issues) right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
See how to submit a bug report for the appropriate place to report your bug
INSTRUCTIONS
Just flash the zip in twrp and you are good to go!
XDA:DevDB Information
Vegito kernel for lenovo vibe k5, Kernel for the Android General
Contributors
Dreamstar
Source Code: https://github.com/nikitsharma15/Vegito_vibe_k5
Kernel Special Features:
Version Information
Status: Beta
Created 2016-12-04
Last Updated 2017-10-31
Changelog
Code:
Vegito 5.5 - 27/March/17
Power efficient workqueue patches (squashed).
Synced with LineageOS
Cpufreq: interactive: reduce timer with screen off
Reduced RQ Lock-Contention for upto 0.7% increase in Performance
Kernel: reduce overheat
Revert ThunderCharge Control – A driver to control the charging current rate developed by [user=4309448]@varun.chitre15[/user]
Revert MSM_Hotplug driver it contain some problem o.O
Fix simple_ondemand crashing
Disable More Debugging
Possibly More I Missed.)
Vegito 5.2 - 05/Feb/17
Code:
ThunderCharge Control – A driver to control the charging current rate developed by [user=4309448]@varun.chitre15[/user]
Fix simple_ondemand crashing
Disable More Debugging
Possibly More I Missed.)
Vegito 5.0 - 24/Jan/17
Code:
MSM Hotplug - a custom qualcomm based hotplugging driver by @myflux
F2FS Support ( Import from Motorola Source 7.0 Nougat )
Compatible with systemless root
KSM ( Kernel Sample Merging )
Vegito 4.2 - 20/Dec/16
Code:
Kexec Hardboot Supported [Exp]
Performance enhancements
Other Improvements
Vegito 4.0 - 10/Dec/16
Code:
Added Intelli_thermal v3.0 by [user=3332811]@faux123[/user]
Frandom driver- Fast Kernel Number Generator.
Added USB fast charge
Fsync On/Off switch.
Added Sweep2Wake && Sweep2Sleep
Added simple GPU Algorithm - An add-on for MSM-Adreno TZ GPU Governor. Developed by [user=3332811]@faux123[/user].
Uses live Ramdisk patching during flashing, so need not worry about ROMs on which you are flashing on.
Additional IOSchedulers: BFQ v7r8(recommended)
Built Using UBERTC- 4.9 Aarch64 Toolchain along with optimizations like GCC optimization for cortex-a53 ,O3 & Graphite flags.
Vegito 3.0 - 06/Dec/16
Code:
-Added Double Tap to Wake
-Added Faux sound control 3.6
-ThunderPlug - A Dynamic Hotplug Driver by [user=4309448]@varun.chitre15[/user] - Takes down all seven cores when phone goes to sleep leading to significant battery savings..
-Vibration Intensity Control: Let�s you adjust the intensity at which your phone vibrates
-Additional IOSchedulers: BFQ v7r8(recommended),FIOPS
-Disabled MMC CRC check for extra 30% boost in IO
-Support for ARCH_Power to reduce Power-Consumption and increase Battery-Life.
-Support for the new PowerSuspend algorithm.
-Optimized Console FrameBuffer for upto 70% increase in Performance.
-Support for Larch Power feature (should improve Battery-Life).
-Disabled some debugging
Vegito 2.0 - 05/Dec/16
Code:
Added Dynamic fsync ( Thanks to faux123 )
Added Adreno idler GPU Alogrithm
Enabled arch power
[B]Added some IOScheduler
[/B]Sio IOScheduler
Fiops IOScheduler
Tripndroid IOScheduler
fifo IOScheduler
[B]Added Governors:
[/B]Alucard
Nightmare
SmartassV2
Bioshock
Lionheart
CPU Boost
Powersuspend mode
[B]Added bunches of TCP Congestion Algorithm
[/B]
Vegito 1.0
Code:
- Initial Release
Reserved
Announcement
Introducing my own app to update my kernels within 1 click.
Get it from play store- Vegito Kernel Updater
Please Rate or give your feedback for this app.
Does it work on k5 plus a6020l36? Is it possible to have 2 ring tones to wake up in the next version of your kernel? Thanks for the work.
Wow, Thank you very much for this Kernel, Works With the plus Variant or only the normal?
Rodrigo Rodrigues said:
Wow, Thank you very much for this Kernel, Works With the plus Variant or only the normal?
Click to expand...
Click to collapse
I am not sure but you can give it a try
V2.0 Update
Changelog
Added Dynamic fsync ( Thanks to faux123 )
Added Adreno idler GPU Alogrithm
Enabled arch power
Added Bunches of IOScheduler
Added Bunches of Governors:
Powersuspend mode
Added bunches of TCP Congestion Algorithm
Disabled some debugging.
Download link on first page as usual
Please add double tap to wake
Hey @Dreamstar, you have plans of making this Kernel for Marshmallow and Nougat? And any chance we can get DT2W feature? Thank you very much for your work
Rodrigo Rodrigues said:
Hey @Dreamstar, you have plans of making this Kernel for Marshmallow and Nougat? And any chance we can get DT2W feature? Thank you very much for your work
Click to expand...
Click to collapse
Yes possibly in next update
Wow, a version for Nougat and marshmallow too? @Dreamstar
I just tested and it works in the a6020l36 Brazil variant.
I very much hope that in version 3.0 come DT2W.
Thank you for the work.
@akashi23
Thanks for confirmation,
@Dreamstar
In there any downside of using this kernel on plus(snapdragon 616) version.
DreamStar
I realized something, after a while the cpu governors and schedulers change by default again, same thing with cpu frequencies if changed, I realized that a lot of times also do not appear cpu governors in the kernel managers.
Sorry for bad English.
Please also add USB fast charging. Thanks
And if there's any chance make kernel working on custom ROM too.
And also try to add under clocking/over clocking voltage, CPU.
V3.0 Update
Changelog
Added Double Tap to Wake
Added Faux sound control 3.6
ThunderPlug - A Dynamic Hotplug Driver by @varun.chitre15 - Takes down all seven cores when phone goes to sleep leading to significant battery savings..
Vibration Intensity Control: Let's you adjust the intensity at which your phone vibrates
Additional IOSchedulers: BFQ v7r8(recommended),FIOPS
Disabled MMC CRC check for extra 30% boost in IO
Support for ARCH_Power to reduce Power-Consumption and increase Battery-Life.
Support for the new PowerSuspend algorithm.
Optimized Console FrameBuffer for upto 70% increase in Performance.
Support for Larch Power feature (should improve Battery-Life).
Disabled some debugging
Download link on first page as usual
Dreamstar Thanks for the new kernel version, I'm going to test now.
Dreamstar will i be able to test the kernel in cm 12.1 or it really only works on rom stock?
Please @Dreamstar make this Kernel for Custom ROM's...
Thank you very much for your work
@Dreamstar
Thanks, man! for this kernel. Finally for someone who wants customization on stock ROM.
But I am currently moving to CM 13, So if possible make kernel Compatible with CM 13, please.
My device is Lenovo vibe k5 plus (snapdragon 616) Indian variant.
Thanks again.
Good work keep it up

Categories

Resources