[KERNEL][Elite][AOSP][4.4][26Jul] Bubba Kernel - AT&T, Rogers HTC One X, Telstra One XL

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 AT&T HTC One X
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.8.3 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, bfqv7r5, 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
Revert "msm: htc: update mem mapping"
[JUL 22 2014]
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
[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
try to fix SOD
[APR 25 2014]
fix s2w
[APR 24 2014]
added s2w and dt2w with pocket detection (from torched sources)
enable BLN
[APR 23 2014] (beta)
update all drivers
made normal and QV version
enable vol to wake
replace powersuspend to earlysuspend everywhere
[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=14090
normalToQV: http://www.androidfilehost.com/?fid=23501681358544069
F2FS FSTAB script: here from @jrior001 thread
(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

I am flashing now, I will let y'all know how it goes!
-Flashing on last CM 11 release btw.

Working great on my device for the past few hours.
Running CM 11 nightly.
Noteworthy is CM11 since the past few days has directed ringtones/message tones etc to bluetooth if enabled even when bluetooth is not connected leading to no audio played, incall audio works fine. Bluetooth needs to be turned off(or bluetooth connected) for the tones to come through.
I believe this is related to CM recent commit "Merge branch 'LNX.LA.3.5.2_RB1' of git://codeaurora.org/platform/vendor/qcom-opensource/bluetooth into cm-11.0"
This kernel does not appear to have this issue. Maybe it simply does not include this commit.

new version is up!
no one report issue with this kernel so i moved this project from testing to beta.

Hi,
I installed it on PAC KK ROM.
I tried to find the following files with Root Browser.
/sys/android_touch/sweep2wake
/sys/android_touch/doubletap2wake
/sys/class/leds/button-backlight/blink_buttons
But these files are not present at the the paths mentioned.
I tried to change these settings from Trickster MOD but I found only the USB Fast charge option only.

sathish804 said:
Hi,
I installed it on PAC KK ROM.
I tried to find the following files with Root Browser.
/sys/android_touch/sweep2wake
/sys/android_touch/doubletap2wake
/sys/class/leds/button-backlight/blink_buttons
But these files are not present at the the paths mentioned.
I tried to change these settings from Trickster MOD but I found only the USB Fast charge option only.
Click to expand...
Click to collapse
if you have got cm file manager can you search for "sweep" and tell me the path of the files? thx .)
BLN is not implemented atm
i'll fix asap

Invading my space here I see Mr.rmbq....:laugh: just playing man, Welcome to the party over here in Evita land.
For those of you guys that don't know him rmbq has been a fixture in the One S forum for a while and we have been bouncing ideas for our kernels off each other for months. He puts out solid work and is quite a bit more knowlegdeable at kernels than I.

jrior001 said:
Invading my space here I see Mr.rmbq....:laugh: just playing man, Welcome to the party over here in Evita land.
For those of you guys that don't know him rmbq has been a fixture in the One S forum for a while and we have been bouncing ideas for our kernels off each other for months. He puts out solid work and is quite a bit more knowlegdeable at kernels than I.
Click to expand...
Click to collapse
ahah thanks for the welcome man
i built a kernel for evita cos you say me more than once you haven't got time to work on kernel so...

rmbq said:
ahah thanks for the welcome man
i built a kernel for evita cos you say me more than once you haven't got time to work on kernel so...
Click to expand...
Click to collapse
I don't mind at all man...I may keep mine going, I may get a new phone and move on soon idk. But yeah I don't do enough on it. I could do more but ROM work has pulled me away.
Sent from my One Xl using Tapatalk

I hope I don't offend you jrior in any way, but once your new ROM project drops, I'll be on that, along with this amazing kernel
Sent from my One X using Tapatalk

jrior001 said:
I don't mind at all man...I may keep mine going, I may get a new phone and move on soon idk. But yeah I don't do enough on it. I could do more but ROM work has pulled me away.
Sent from my One Xl using Tapatalk
Click to expand...
Click to collapse
Not to take away from this kernel at all (great work, @rmbq), but it'd be a massive shame to see Torched disappear.
Sent from my Evita

timmaaa said:
Not to take away from this kernel at all (great work, @rmbq), but it'd be a massive shame to see Torched disappear.
Sent from my Evita
Click to expand...
Click to collapse
2 kernel are better than 1! jrior001 fixed something, i fixed something and together we made better kernels! sadly a day has got only 24 hours and there are a lot of things to do
btw new version is up! with s2w dt2w and BLN

cool!!! excellent sir! congratulations for your work and thanks for sharing it with us!

Scozzar said:
So I assume everything went well...?
Click to expand...
Click to collapse
It was great.
The stability was 100% (with FC's)
I must applaud (and thank you) for your great work and can't wait to see where this kernel goes.
BTW: I found this kernel to work with Pac, CM, and KarbonKat so far. Does NOT work on PA [Beta 4] (I change OS's on a daily basis, not kidding)

Lol i was goma release my kernel for ville and evita too. Well the more the better
Sent from my One S using Tapatalk

I flashed the newest kernel but can't seem to be able to turn on BLN, s2w, or dt2w.. tried using root explorer to turn them on but the last part of each path isn't there and trickster has nothing for turning on BLN. Says kernel installed is the newest one, 4/23. Am I missing something?
Sent from my One XL using Tapatalk
---------- Post added at 10:09 PM ---------- Previous post was at 09:36 PM ----------
downset00 said:
I flashed the newest kernel but can't seem to be able to turn on BLN, s2w, or dt2w.. tried using root explorer to turn them on but the last part of each path isn't there and trickster has nothing for turning on BLN. Says kernel installed is the newest one, 4/23. Am I missing something?
Sent from my One XL using Tapatalk
Click to expand...
Click to collapse
Edit: never mind, downloaded wrong kernel lol
Sent from my One XL using Tapatalk

Downloading as we speak!!! Torch kernel was spectacular and I am going to take a stab that this will be equally as pleasing . Will report back with the good news (hopefully )
Reporting live from outer space
---------- Post added at 12:45 AM ---------- Previous post was at 12:13 AM ----------
Would not boot past the HTC logo no matter what.
Tried flashing the "kernel cleaner" and then flashing the kernel. Nothing.
Tried flashing just the kernel. Nothing.
Tried flashing my karbonkat 1.0-7 build with the kernel zip afterwards. Nothing.
Flashed ONLY my karbonkat zip. Booted right up....
Not sure what's going on? And yes I wiped dalvik/cache in between and during all of this process.
Posted From My CodeFired Super Evita ×_×
---------- Post added at 12:53 AM ---------- Previous post was at 12:45 AM ----------
Just flashed the 4.0 kk torch kernel and it went smooth. Not sure what's up??
Posted From My CodeFired Super Evita ×_×

Another user has confirmed this to be working with Carbon so there must be something on at your end. Did you check the md5?
Sent from my Evita

Related

[KERNEL][Ville S4][AOSP][4.4/4.3][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: Deprecated versions
4# post: FAQ - bugs - future features
Donator List: (huge thanks for support)
here
Suggested kernel control app: trickstermod
[GUIDE]How to compile a kernel
Credits and Thanks:
dsixda, showp1984, ngtools, faux123, Christopher83, franciscofranco, msm8960 team
XDA:DevDB Information
AOSP Bubba Kernel, Kernel for the HTC One S
Contributors
rmbq
Kernel Special Features:
Version Information
Status: No Longer Updated
Stable Release Date: 2014-07-26
Current Beta Version: 12Apr
Beta Release Date: 2014-04-12
Created 2013-10-08
Last Updated 2014-11-19
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, bfq-v7r5, fiops, sio
Sleepy Plug
NTFS read & write support
exfat support
UTF8
BLN
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)
heavily 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
Revert "msm: htc: update mem mapping"
[JUL 22 2014]
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
[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
fix minor issues in s2w
[JUN 24 2014]
sync with CM
sync with codeaurora/kk_2.7-stable
drivers:input:cy8c_cs: modified IRQ flags (improve s2w)
lower min timeout for dtw2
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
add 1wire 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
undervolt all components
update devices_htc from Jet jb 4.3 kernel
update headset driver from Jet jb 4.3 kernel
update memory mapping (more RAM avaiable)
[APR 29 2014]
update to 3.4.88
sync with codeaurora/kk_2.7-stable
some other CAF patches
[APR 23 2014]
enable vol to wake
replace powersuspend to earlysuspend everywhere
[APR 22 2014]
update to 3.4.87
merge codeaurora/kk_2.7_rb1.35
re enable elf_dumo and perf_counter (disable them cause instability)
prima driver built with -Os flag for stability
disable vol to wake up
[APR 12 2014]
update to 3.4.86
merge codeaurora/kk_2.7-stable
sync with cm sources
update sleepy_plug
add new powersuspend driver
disable deprecated early suspend driver
optimized char/random
improved mm/oom
improved fair scheduler
[MAR 19 2014]
update compiler to 2014.03
merge codeaurora/kk_2.7_rb1.31
sync with cm sources
disabled kcal (it doesn't work properly) perf counter (deprecated) and elf dump
re-enable kgsl_2d driver
sleepy_plug: switch to use dedicated high priority workqueue
[MAR 03 2014]
Disable module loading again, it causes reboots
removed radio iris driver, it work only as module
remove kgsl post mortem dump
remove kgsl 2d (z180) driver (is it needed?)
KGSL: simple governor: don't modify laziness value when reset laziness count
adjust kgsl_3d0 and _2d1 init_level values
[MAR 01 2014]
merge codeaurora/kk_2.7_rb1.29
fix kgsl_3d0 and kgsl_2d0 init_level (now GPU scale freq from 128MHz to maxFreq)
update sleepy_plug
disable all DEBUG
silence debug info from battery gyro leds and touchescreen drivers
add power-on alarm feature
add power efficent workqueue
compile radio-iris-transport ad module
[FEB 25 2014]
update to 3.4.82
removed intelli_plug and added sleepy_plug
modified voltage tables (affect only normal version)
[FEB 23 2014]
update to 3.4.81
merge codeaurora/kk_2.7_rb1.27
update compiler
added intelliactive governor
removed mp decision and added intelliplug
sync with cm sources
optimized kernel compress for cortex-a15
updated BFQ scheduler to version 7r2
re-added fastcharge
[FEB 02 2014]
changed compiler to [URL="http://forum.xda-developers.com/showthread.php?t=2098133"]this[/URL]
update to 3.4.79
merge codeaurora/kk_2.7_rb1.25
ondemand patches from CAF
input: ewtzmu2: Fix gyro off status checks (credits Erwin Mascher)
using sparsemem instead flatmem
AES with NEON instruction and thumb2 compatible
add support for kernel mode NEON
[JAN 29 2014]
update to 3.4.78
merge codeaurora/kk_2.7_rb1.22
compiled with -O3 optimization
new compiler: linaro toolchain 4.8.3 2014.01 optimized for cortex-a15
interactive governor patches from CAF
add UIO driver
various CAF patches: iommu, memory management, kgsl, sched, spinlock, bam_dmux
update drivers: battery, pm8921, headset, acoustic (credits CM)
msm: HTC: Update htc_restart_handler … (credits CM)
msm: HTC: Update devices_htc.c (credits CM)
msm: HTC: Update emmc partitions code (credits CM)
msm_kcal_ctrl: initial code for generic MSM LCD temperature calibrations (credits faux123, fixed by me)
removed fast charge (for the moment)
[JAN 13 2014]
sync with CM source
msm: mdss: set vsync clock rate (credits Kuogee Hsieh)
sched: set sched_mc_power_savings to 2 for max powersave (credits franciscofranco) [URL="http://elinux.org/images/1/1d/Comparing_Power_Saving_Techniques_For_Multicore_ARM_Platforms.pdf"]here[/URL]
[JAN 07 2014]
remove knock on
back to stock interactive
sync ondemand governor to CM sources
futex patches by CAF
workqueue backported from kernel 3.7 (credits mgr666)
overclock slimbus (better audio)
add generic strlen_user function
add generic strcpy_user function
build all module inside the kernel
do not compile exfat module
[JAN 05 2014]
add knock on feature
update ondemand and interactive goveron to quic/la/kernel/msm-3.10 caf/msm-3.7
fix an L2 cache derp
sched,rt: disable rt_runtime borrowing by defaul (CAF)
sched: remove redundant update_runtime notifier (CAF)
sched: reinitialize rq->next_balance when a CPU is hot-added (CAF)
[JAN 04 2014]
revert Memory model patches of last release
merge codeaurora/kk_2.7_rb1.18
overclock L2 cache
mmc patches from CAF
compiled with linaro toolchain 4.8.3 2013-11 optimized for cortex-a15
[DEC 25 2013]
update to 3.4.75 (skipping 3.4.73)
Memory model patches from CAF
msm krait cpu patches from CAF
[DEC 18 2013]
merge codeaurora/kk_2.7_rb1.16
pocket detection default ON
faux sound control patches by faux123
add NEON accelerated XOR implementation
memory allocator patches from kernel 3.5 and newer, add frontswap
sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire. credit: [URL="http://ripke.com/loadavg/moire"]http://ripke.com/loadavg/moire[/URL]
Async Fsync from HTC thanks faux123
smp and idle patches (look at my github for more details)
[DEC 10 2013]
intellimand: adjust values for msm8960
cpufreq: Fix optimal_freq logic on ramp down
msm: Synchronize CPU frequency on thread migration
cpufreq: Use dedicated high-priority workqueues
cpufreq: ondemand: change freq sync code to use per-CPU kthreads
cpufreq: ondemand: Fix store_powersave_bias() race with hotplug
cpufreq: ondemand: Fix locking in store_powersave_bias
cpufreq: ondemand: Fix locking issue in store_powersave_bias
msm: cpufreq: Only apply driver limits for scaling_min/max_freq writes
cpufreq: break earlier if target_freq is equal to current freq
cpufreq: Save user policy min/max instead of policy min/max during hotplug
msm: pil: Add HTC delay for rmt_storage
Revert "ALSA: fix oops in snd_pcm_info() caused by ASoC DPCM"
added exfat driver by samsung (thanks faux123)
update cm3629 (light and proximity sensor) driver and write a new function for pocket detection
pocket detection: use the new function
[DEC 08 2013]
fix ZRAM compatibility issue with codeaurora/kk_2.7.1 branch
sync with cm:
remove cpu-boots driver
merge codeaurora/kk_2.7.1
msm: iomap: Add HTC memory region mappings
msm: HTC: Use msm_iomap for ram console addresses
cpufreq: Retain only online cpus in managed_policy->cpus
msm: HTC: 8960: enable GTOD helpers, disable DLOAD mode, disable CACHE_ERP
[DEC 06 DEC]
update to 3.4.72
merge codeaurora/kk_2.7_rb1.11
add [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/40b153720a5c9dc4ccc718af2efe89762a1eb3f6"]cpu-boots driver[/URL]
unpdate intellimand to version 5.0 (probably it needs some adjustment for ville)
jiffies conversions: Use compile time constants when possible ([URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/9492ca677bf3e05f8ec834dc6222beaf5f5f42ff"]commit[/URL])
a lot of patches for filesystem, mutex and memory allocators
fix build without GPU oc thx jrior001
make change BLN s2w dt2w pd and atmel244e sysf entrypoint
[DEC 02 2013]
switch toolchain to linaro 2013-11
Merge 'codeaurora/kk_2.7_rb1.10'
Merge 'codeaurora/kk_2.7_rb1.9'
[NOV 25 2013] END 4.3 support
update to 3.4.70
add CPU OC thx to jrior001
add GPU OC thx to jrior001
add dynamic [URL="http://en.wikipedia.org/wiki/Fsync"]fsync[/URL] by faux
optimized algorithms: [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/00160d62428b6330b37a944cd52e43b170b16bef"]ARM RWSEM[/URL], [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/4982e566012dad759f1655db929944dc0e904f2e"]SQRT[/URL],[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/ec6a973caf563a24f64302a39c21ea08d9877d36"]AES,SHA1[/URL]
use [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/794c469b9f39168644cda4f7182936a9b4d434a2"]lib/string[/URL] and [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/e15ca1b27c34a6e7e0dd97e4acbd65d932aec4ac"]lib/memcopy[/URL] glibc version
add Faux123 sound control v3
[NOV 18 2013]
update to 3.4.69
switch toolchain to linaro 2013-10
added simple GPU governor by faux123
fixed build flags mess
min selectable voltage from 850 to 800
msm: vidc: Initialize kernel space stack variables (fix memory leak in UI)
fixed pocket detection, now works also with dt2w
pocket detection disable by default
[NOV 10 2013]
compiled with -Os optimization
[NOV 08 2013]
update to 3.4.68
merged AU_LINUX_ANDROID_JB_2.6.04.03.00.109.111 based on quic/aosp/jb_2.6
Fix for race condition of starting cpu1 when cpu0 in PC.
compiled with linaro -O2 optimization
added double tap 2 wake by flar2 (tap 2 times on home button to wake device)
added pocket detection by flar2 (prevent wake in pocket when s2w or dt2w ON)
disable qcache
enable zRam and zCache
optimize zRam for Android use and update to Samsung SGS 4 update 2 thanks to faux123
removed thermal management by showp1948
added intell-thermal by faux123
added QV version (read FAQ)
switch to [URL="http://www.droidforums.net/forum/koush/36530-kernel-devs-introducing-any-kernel-update-zip-template.html"]any_kernel zip[/URL]
[OCT 26 2013]
update to 3.4.67
[URL="http://www.youtube.com/watch?v=xN3eB2R_aP0"]added s2w by showp1984[/URL] and fixed for AOSP kernel 3.4
added Fast charge support, force cable to AC when is USB cable is plugged
update thermal driver to [URL="https://github.com/showp1984/bricked-ville-3.4"]sense bricked kernel[/URL] with thermal 3phase management by showp
added faux sound control v2.0
applied ck3 patch by Con Kolivas
update ville_defconfig with lastest CM changes: less debug, use FLATMEM if HTC 8960 device, set missing CONTIG_MEM (This replaces the older PMEM reservation option)
[OCT 19 2013]
Add voltage control (thanks faux123)
added wake-on-volume support (credits to CM team)
[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/ab66959eed02d9aff47fc82f67a894e0f4fc67a3"]fix OTG[/URL] (credits to CM team)
Merge AU_LINUX_ANDROID_JB_2.6.04.03.00.109.082 based on CAF quic/aosp/jb_2.6
[OCT 14 2013]
[COLOR="Blue"]Kernel:[/COLOR]
restart from clean CM sources
revert AU_LINUX_ANDROID_JB_2.6.04.03.00.109.053 merge
update to 3.4.66
compiled with [URL="https://github.com/codefireXperiment/prebuilts_gcc_linux-x86_arm_arm-linux-androideabi-4.8"]cfX toolchain 2013-07[/URL]
added [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/eb95b3aff07c00f54df6452b5623e41d16185479"]sio[/URL],[URL="http://www.phoronix.com/scan.php?page=news_item&px=MTAzOTU"]fiops[/URL],[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/90a73354dba7ba46926aff133ac85f3c9fa6aae3"]bfqv6 [/URL]schedulers
added [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/6c87d0e0b3c82ffff8c0704dfde7369872f5602f"]intellimand[/URL] governor
added BLN
added effective timer slack, read more [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/0ae9dfccf63b6d873d916ac7ba63ff5f048e2188"]here[/URL] and [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/be6a15dc6ec46386c8fd2c034187f6fb7d84a793"]here[/URL]
[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/312027fd01edeeeacc4f8183f59a29debf89fae2"]improved build flags[/URL], [URL="http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html"]read more here[/URL]
added Add PR_{GET,SET}_NO_NEW_PRIVS, read more [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/955a7e84d38166a36ad4f71429dcc861396567a3"]here[/URL]
[COLOR="Blue"]Ramdisk:[/COLOR]
change owner of /sys/class/leds/button-backlight/currents to root
change permission of /sys/class/leds/button-backlight/currents to 0444
[SEP 11 2013] V2
remove smartassV2
[SEP 11 2013]
update to linux 3.4.61
use linaro gcc 4.8 2013-08 toolchain
Add button light notification
add fiops and sio schedulers
add SmartassV2 governor
char: Added Fast Random generator support
Implement dynamic timerslack
use -mcpu=cortex-a15 instead -march=armv7-a build flag
update dynamic fsync from faux123
use modified ramdisk (insecure kernel, general queue tweaks, no debugging)
[SEP 09 2013]
update to linux 3.4.60
update to cm sources
add UTF8 support
[JUL 17 2013]
update to linux 3.4.52
add CK3 Con Kolivas optimization
add dynamic fsync by faux123
update ramdisk with lastest CM changes
franciscofranco writeback patch (detail [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/49a59693b0a4ae8cbbf60ba62cd62dd280655e21"]here[/URL])
rwsem algorithm optimization
back to mp_decision, intelli_plug needs more tests
[JUL 11 2013]
New ramdisk
updates from cm sources
add voltage control interface
add intelli plug by faux (replace mp decision)
add intellimand governor
add BFQv6 scheduler
add optimized AES SHA1 and RWSEM algorithms
add some NEON optimization
switch to XZ compression
[JUN 27 2013] Fix
modified ramdisk
add vfpv4-d16 build flag to vfp
compiled with cfX toolchain based on linaro 4.8.2
[JUN 27 2013]
sync with cm sources
fix reception bug
update ramdisk to lastest from cm
add NTFS support
compiled with -Os optimization
[JUN 19 2013]
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!
THIS KERNEL WILL NOT WORK ON NEW ROMS
Download:
androidfilehost folder: http://www.androidfilehost.com/?w=files&flid=12455
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
Android 4.3:
Features:
Based on linux 3.4.70
Compiled with linaro toolchain 2013-10
Linaro -Os optimization
avaiable governors: interactive, ondemand, performance, powersave, intellimand
avaiable schedulers: row, deadline, noop, cfq, bfqv6, fiops, sio
MP Decision
NTFS read & write support
UTF8
BLN
Voltage control
Sweep2Wake
Double tap 2 wake
Pocket detection
Intelli-thermal
Fast charge
zRam with LZ4 compression
zCache with LZ4 compression
simple GPU governor by faux123
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), RWSEM
dynamic fsync by faux123
Changelog:
Code:
[NOV 25 2013]
update to 3.4.70
add CPU OC thx to jrior001
add GPU OC thx to jrior001
add dynamic [URL="http://en.wikipedia.org/wiki/Fsync"]fsync[/URL] by faux
optimized algorithms: [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/00160d62428b6330b37a944cd52e43b170b16bef"]ARM RWSEM[/URL], [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/4982e566012dad759f1655db929944dc0e904f2e"]SQRT[/URL],[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/ec6a973caf563a24f64302a39c21ea08d9877d36"]AES,SHA1[/URL]
use [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/794c469b9f39168644cda4f7182936a9b4d434a2"]lib/string[/URL] and [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/e15ca1b27c34a6e7e0dd97e4acbd65d932aec4ac"]lib/memcopy[/URL] glibc version
add Faux123 sound control v3
[NOV 18 2013]
update to 3.4.69
switch toolchain to linaro 2013-10
added simple GPU governor by faux123
fixed build flags mess
min selectable voltage from 850 to 800
msm: vidc: Initialize kernel space stack variables (fix memory leak in UI)
fixed pocket detection, now works also with dt2w
pocket detection disable by default
[NOV 10 2013]
compiled with -Os optimization
[NOV 08 2013]
update to 3.4.68
merged AU_LINUX_ANDROID_JB_2.6.04.03.00.109.111 based on quic/aosp/jb_2.6
Fix for race condition of starting cpu1 when cpu0 in PC.
compiled with linaro -O2 optimization
added double tap 2 wake by flar2 (tap 2 times on home button to wake device)
added pocket detection by flar2 (prevent wake in pocket when s2w or dt2w ON)
disable qcache
enable zRam and zCache
optimize zRam for Android use and update to Samsung SGS 4 update 2 thanks to faux123
removed thermal management by showp1948
added intell-thermal by faux123
added QV version (read FAQ)
switch to [URL="http://www.droidforums.net/forum/koush/36530-kernel-devs-introducing-any-kernel-update-zip-template.html"]any_kernel zip[/URL]
[OCT 26 2013]
update to 3.4.67
[URL="http://www.youtube.com/watch?v=xN3eB2R_aP0"]added s2w by showp1984[/URL] and fixed for AOSP kernel 3.4
added Fast charge support, force cable to AC when is USB cable is plugged
update thermal driver to [URL="https://github.com/showp1984/bricked-ville-3.4"]sense bricked kernel[/URL] with thermal 3phase management by showp
added faux sound control v2.0
applied ck3 patch by Con Kolivas
update ville_defconfig with lastest CM changes: less debug, use FLATMEM if HTC 8960 device, set missing CONTIG_MEM (This replaces the older PMEM reservation option)
[OCT 19 2013]
Add voltage control (thanks faux123)
added wake-on-volume support (credits to CM team)
[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/ab66959eed02d9aff47fc82f67a894e0f4fc67a3"]fix OTG[/URL] (credits to CM team)
Merge AU_LINUX_ANDROID_JB_2.6.04.03.00.109.082 based on CAF quic/aosp/jb_2.6
[OCT 14 2013]
[COLOR="Blue"]Kernel:[/COLOR]
restart from clean CM sources
revert AU_LINUX_ANDROID_JB_2.6.04.03.00.109.053 merge
update to 3.4.66
compiled with [URL="https://github.com/codefireXperiment/prebuilts_gcc_linux-x86_arm_arm-linux-androideabi-4.8"]cfX toolchain 2013-07[/URL]
added [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/eb95b3aff07c00f54df6452b5623e41d16185479"]sio[/URL],[URL="http://www.phoronix.com/scan.php?page=news_item&px=MTAzOTU"]fiops[/URL],[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/90a73354dba7ba46926aff133ac85f3c9fa6aae3"]bfqv6 [/URL]schedulers
added [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/6c87d0e0b3c82ffff8c0704dfde7369872f5602f"]intellimand[/URL] governor
added BLN
added effective timer slack, read more [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/0ae9dfccf63b6d873d916ac7ba63ff5f048e2188"]here[/URL] and [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/be6a15dc6ec46386c8fd2c034187f6fb7d84a793"]here[/URL]
[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/312027fd01edeeeacc4f8183f59a29debf89fae2"]improved build flags[/URL], [URL="http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html"]read more here[/URL]
added Add PR_{GET,SET}_NO_NEW_PRIVS, read more [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/955a7e84d38166a36ad4f71429dcc861396567a3"]here[/URL]
[COLOR="Blue"]Ramdisk:[/COLOR]
change owner of /sys/class/leds/button-backlight/currents to root
change permission of /sys/class/leds/button-backlight/currents to 0444
[SEP 11 2013] V2
remove smartassV2
[SEP 11 2013]
update to linux 3.4.61
use linaro gcc 4.8 2013-08 toolchain
Add button light notification
add fiops and sio schedulers
add SmartassV2 governor
char: Added Fast Random generator support
Implement dynamic timerslack
use -mcpu=cortex-a15 instead -march=armv7-a build flag
update dynamic fsync from faux123
use modified ramdisk (insecure kernel, general queue tweaks, no debugging)
[SEP 09 2013]
update to linux 3.4.60
update to cm sources
add UTF8 support
[JUL 17 2013]
update to linux 3.4.52
add CK3 Con Kolivas optimization
add dynamic fsync by faux123
update ramdisk with lastest CM changes
franciscofranco writeback patch (detail [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/49a59693b0a4ae8cbbf60ba62cd62dd280655e21"]here[/URL])
rwsem algorithm optimization
back to mp_decision, intelli_plug needs more tests
[JUL 11 2013]
New ramdisk
updates from cm sources
add voltage control interface
add intelli plug by faux (replace mp decision)
add intellimand governor
add BFQv6 scheduler
add optimized AES SHA1 and RWSEM algorithms
add some NEON optimization
switch to XZ compression
[JUN 27 2013] Fix
modified ramdisk
add vfpv4-d16 build flag to vfp
compiled with cfX toolchain based on linaro 4.8.2
[JUN 27 2013]
sync with cm sources
fix reception bug
update ramdisk to lastest from cm
add NTFS support
compiled with -Os optimization
[JUN 19 2013]
first release
Consider a donation if you like my work
Download:
NOV 25 2013 (only S-OFF): http://www.androidfilehost.com/?fid=23212708291681557
NOV 25 2013 QV (only S-OFF): http://www.androidfilehost.com/?fid=23212708291681573
Kernel Source: Github
Ramdisk Source: Github
FAQ​where are older versions?
here -> https://www.mediafire.com/#2qnn5ox68806f (old older version)​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​Q: what's knock on and how i enable/disable it?
knock on allows you to wake the device by double tapping on the touchscreen.
to enable/disable edit /sys/android_touchscreen/knock_on:
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
AW: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1
i see alot of kernel development goin on!
Good work, keep it up!
Gesendet von meinem HTC One S mit Tapatalk 2
nice to see more kernel devving going on. Trying this now.
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
mteezey said:
nice to see more kernel devving going on. Trying this now.
Click to expand...
Click to collapse
Agreed, great to see!
mteezey said:
nice to see more kernel devving going on. Trying this now.
Click to expand...
Click to collapse
Got to love how klin stopped and now we got 3 wtf is going on lol.
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
If someone gets this extracted and in zip format db it for me. Not at home ATM.
Sent from my One S using Tapatalk 2
Glad to see more kernels being developed for 4.2 man! Grazie! one question; im not 100% sure what you mean about replacing the file using root explorer. What are we supposed to replace it with?
dr_rick13 said:
Glad to see more kernels being developed for 4.2 man! Grazie! one question; im not 100% sure what you mean about replacing the file using root explorer. What are we supposed to replace it with?
Click to expand...
Click to collapse
Thx!
simply, go to /system/lib/modules and delete prima_wlan.ko
copy the prima_wlan.ko included in the zip file and paste it in /system/lib/modules
set correct permissions
got it?
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
dr_rick13 said:
Glad to see more kernels being developed for 4.2 man! Grazie! one question; im not 100% sure what you mean about replacing the file using root explorer. What are we supposed to replace it with?
Click to expand...
Click to collapse
Extract the "prima_wlan.ko" from the kernel file and replace the file with same name in system/lib/module in your phone. Then set permissions on it and then reboot.
Sent from my One S using Xparent Skyblue Tapatalk 2
LikeaG2root said:
Extract the "prima_wlan.ko" from the kernel file and replace the file with same name in system/lib/module in your phone. Then set permissions on it and then reboot.
Sent from my One S using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
rmbq said:
Thx!
simply, go to /system/lib/modules and delete prima_wlan.ko
copy the prima_wlan.ko included in the zip file and paste it in /system/lib/modules
set correct permissions
got it?
Click to expand...
Click to collapse
Thanks fellas, my brain is running a little slow today Out of thanks for the day, will 'thank you' when I have more.
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
dr_rick13 pm bro
Sent from my HTC One S using xda app-developers app
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
Please learn how to use git commit -c or git cherry-pick so I can track new fixes and people know where you sourced from
Sent from my HTC One XL using xda app-developers app
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
Zarboz said:
Please learn how to use git commit -c or git cherry-pick so I can track new fixes and people know where you sourced from
Sent from my HTC One XL using xda app-developers app
Click to expand...
Click to collapse
Sorry, my fault
Sent from my One S using xda app-developers app
New version avaiable in the 1st post!
R: [KERNEL][S4][AOSP][4.2][7Feb] Bubba Kernel v1.5
rmbq said:
New version avaiable in the 1st post!
Click to expand...
Click to collapse
Sweep to wake is working???. Did you test it?
Sent whit HTC ONE S
dave il barbaro said:
Sweep to wake is working???. Did you test it?
Sent whit HTC ONE S
Click to expand...
Click to collapse
yes it is working without issue, i'm using it for two days
Re: [KERNEL][S4][AOSP][4.2][7Feb] Bubba Kernel v1.5
rmbq said:
Sorry, my fault
Sent from my One S using xda app-developers app
Click to expand...
Click to collapse
It makes tracking patches easier
Sent from my HTC One XL using xda app-developers app

[KERNEL][M4][AOSP][4.4][16Jul] 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, flar2
XDA:DevDB Information
AOSP Bubba Kernel, Kernel for the HTC One Mini
Contributors
rmbq
Kernel Special Features:
Version Information
Status: Testing
Beta Release Date: 2014-07-16
Created 2014-05-06
Last Updated 2014-07-16
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, bfqv7r5, 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
update ramdisk to 19Jun CM
[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 27 2014]
update to 3.4.91
sync with codeaurora/kk_2.7-stable
update bfq to v7-r3
new GCC flags
update compiler
added sleepy_plug
removed mp decision
[MAY 13 2014]
fix mic
disable GPU OC
[MAY 08 2014]
fix GPU oc
add l2w and su2w
[MAY 07 2014] 2nd
added intelliactive and intellimand governors
added sio and bfqv7r2 schedulers,
added s2w dt2w credits to flar2
CPU OC
GPU OC
[MAY 07 2014]
fix boot
[MAY 06 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=16974
(if you don't see the new version just wait some minutes, it's uploading)
Kernel Source: Github
Reserved
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: 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 the max mA the phone can receive from an USB cable is increased
with the usb cable UNPLUGGED edit /sys/kernel/fast_charge/force_fast_charge:
0 -> disable
1 -> enable
than plug in the cable​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
rmbq said:
Install instruction:​
Code:
fastboot flash boot.img
Click to expand...
Click to collapse
should be "fastboot flash boot boot.img", or is this also working without "boot"?
will give it a try! thanks man!
any suggestions for governor and schedulers?
EDIT: eh, guess its not working with CM...so sad.
theodorius123 said:
should be "fastboot flash boot boot.img", or is this also working without "boot"?
will give it a try! thanks man!
any suggestions for governor and schedulers?
EDIT: eh, guess its not working with CM...so sad.
Click to expand...
Click to collapse
yes i missed a "boot" sorry xD
btw as i said in OP i don't own the device so i don't know if it's booting or not, i'll make some tries(the first one failed lol)!
rmbq said:
btw as i said in OP i don't own the device so i don't know if it's booting or not, i'll make some tries(the first one failed lol)!
Click to expand...
Click to collapse
Can confirm: I get a bootloop with current CM nightly. only HTC-logo, black screen, HTC-logo, black screen,.....
i made another version try that one!
rmbq said:
i made another version try that one!
Click to expand...
Click to collapse
it`s booting. but I have only interactive, conservative, ondemand, powersave and performance as governors. intellimand and intelliactive are missing.
also bfqv7r2 and sio schedulers are missing.
will test a little bit more...
theodorius123 said:
it`s booting. but I have only interactive, conservative, ondemand, powersave and performance as governors. intellimand and intelliactive are missing.
also bfqv7r2 and sio schedulers are missing.
will test a little bit more...
Click to expand...
Click to collapse
thanks for testing, when you have time can you tell which features are missing from the list in the second post?
post #2:
I don't know how to check all this (give me an "how to"), but I can tell you, that my(!) main features are not working: BLN, S2W and DT2W
S2W was working twice, out of ~50 attempts. and yes, I changed the values to "1".
maybe check this. S2W and DT2W are just working perfect in this kernel!
post #3:
- /sys/class/leds/button-backlight/blink_buttons:
it is only "blink". not "blink_buttons"
- cant find this: /sys/module/sleepy_plug/parameters/sleepy_plug_active
EDIT: In general for DT2W I would prefer double tapping somewhere on the screen and not only on the capacitive buttons...
EDIT2: ...and sorry. no more testing for me today. my bed (and tomorrow morning my boss) is waiting...
Is this kernel only for aosp roms like pacman or can I use it on any sense 5.5 roms too?
BLN not working for me. s2w sometimes i have to swipe more in order to wake. cpu and gpu oc not working. Max is still stock. Everything else is good for me. When will we be able to map the htc logo as a button?
Thanks for testing i'll make another version asap
And no this is only for aosp
new version is up,
added governor, schedulers, s2w dt2w l2w su2w, CPU OC and GPU OC (check if there's all this stuff)
there aren't: BLN, sleepy_plug, -O3 optimization (only O2 atm), voltage control
also faux sound control should be working
Is it compatible with STOCK ROMs, or only CM based ROMs?
JaroslavHruska said:
Is it compatible with STOCK ROMs, or only CM based ROMs?
Click to expand...
Click to collapse
look at the title or 2 posts back you'll find your answer
I am sorry, I was confused with these 2 sentences:
"EDIT: eh, guess its not working with CM...so sad."
vs.
"AOSP"
JaroslavHruska said:
I am sorry, I was confused with these 2 sentences:
"EDIT: eh, guess its not working with CM...so sad."
vs.
"AOSP"
Click to expand...
Click to collapse
cos the first kernel i made wasn't booting, btw it's for CM or AOSP, not for SENSE
rmbq said:
......l2w su2w.....
Click to expand...
Click to collapse
can you explain?
theodorius123 said:
can you explain?
Click to expand...
Click to collapse
l2w: logo2wake
su2w: sweep up 2 wake
you can enable them in
/sys/android_touch/<file>
or /sys/android_key/<file>

[KERNEL][7.x][CM/AOSP] Optimus Kernel R21 [OSPREY][1/4/17]

OPTIMUS KERNEL​
Hi guys, this is Optimus kernel for Osprey. This is a simple kernel upto date with CM & msm-3.10 branch of CAF.
Only necessary features will be added. This is for Nougat only. Works on CM/AOSP Roms. Enjoy!
Code:
Disclaimer:
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 KERNEL
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
FEATURES:
- Updated to latest CM-14.1 Sources
- Built with custom tailored Linaro-5.4.1 toolchain (cortex-a53 neon-vfpv4 hard-float targeted, build with latest Crosstool-NG)
- Synced with latest CAF and motorola changes
- Device specific Cortex-A53 tweaks & Linaro optimizations
- Overclock available upto 1.6 GHz (Boots with stock frequencies)
- Added Lazyplug driver
- Added LiveDisplay Driver
- random: squashed entropy tweaks & optimizations
- Added Optimus governor (default gov)
- Added sound control
- Added zen,tripndroid & sioplus I/O schedulers
- Added Fsync ON/OFF Control
- Added USB Fast Charge option
- Added toggles for disabling wlan wakelocks
- Optimized ARM RWSEM Algorithm
- Optimized Square Root Algorithm
- Optimized AES and SHA1 routines with neon support
- KGSL & Devfreq patches
- Disabled CRC check: 30% Performance boost
- Merged upstream ARM,crypto changes
- VFP HardFloat
- Updates to zram,zsmalloc,irq etc
- Sched & Cpufreq Tweaks
- Removed some debug and logging options
- Enabled Advanced TCP Congestions
- CM Profiles compatibility
- Many more (check github)
How to Flash:
1. Download the kernel and place it into your phone storage
2. Reboot into recovery
3. Install the kernel
4. (optional) Wipe Dalvik/ART Cache and Cache partitions
5. Reboot and enjoy!
You need ROM's default kernel before flashing this as this kernel uses Anykernel2 by @osm0sis (huge thanks to him). Make sure you have it otherwise clean flash the kernel with the rom to avoid any issues.(At least dirty flash rom+kernel)
DOWNLOAD:
AFH
Special thanks to @Alberto97 @squid2 @franciscofranco @flar2 @myfluxi @eng.stk @hurtsky @Imoseyon @neobuddy89 @frap129
XDA:DevDB Information
Optimus Kernel, Kernel for the Moto G 2015
Contributors
Flashhhh
Source Code: https://github.com/desaishivam26/Optimus_Osprey
Kernel Special Features:
Version Information
Status: Beta
Created 2016-01-25
Last Updated 2017-02-26
More features will be added in future. Don't hesitate to make a feature request. Thanks!
Modded kernel adiutor apk: https://basketbuild.com/filedl/devs?dev=Flashhhh&dl=Flashhhh/KernelAdiutor.apk
Thanks to @martinusbe and GZR team for allowing me to use and distribute this apk
Will it be compatible with stock..?
Anyway another development work is really appreciated..
FPThatea said:
Will it be compatible with stock..?
Anyway another development work is really appreciated..
Click to expand...
Click to collapse
Needs testing. I have only tested kernel on CM13
Flashhhh said:
Needs testing. I have only tested kernel on CM13
Click to expand...
Click to collapse
Oh.. Hope stock compatible version will come in future... ?
Flashhhh said:
Needs testing. I have only tested kernel on CM13
Click to expand...
Click to collapse
I'll test and report in 2-3 hours....
Sent from my Toilet using Moto G3....
Always happy to see development.
So Great Kernel From G1 and G2 Just landed for G3. Thank you so much.
What a surprise to see you here Flashhh.. Thanks a lot.
WiFi getting disconnected, everything else working on XT1550 CM13....
Sent from my Toilet using Moto G3....
Tested working fine on stock rom. WiFi is also functional. Glad to see my missed stuff from G1 is bought to G3 Thanks again.
One request: if u could add SMARTMAX that you used in G1. It was perfect and best balance of backup and performance.
Besides this hotplug (Fast lane hotplug if possible).
Without hotplug also its going good. Have set min freq to 400MHz and now scaling looks under control without ramping to highest 1.3GHz Wow..! Even after making interactive to be more conservative, the performance is soo buttery smooth. That's lovely.
Hey Flashhhh! Nice to see you here Still using your optimus kernel on my G1
==vj== said:
Tested working fine on stock rom. WiFi is also functional. Glad to see my missed stuff from G1 is bought to G3 Thanks again.
One request: if u could add SMARTMAX that you used in G1. It was perfect and best balance of backup and performance.
Besides this hotplug (Fast lane hotplug if possible).
Without hotplug also its going good. Have set min freq to 400MHz and now scaling looks under control without ramping to highest 1.3GHz Wow..! Even after making interactive to be more conservative, the performance is soo buttery smooth. That's lovely.
Click to expand...
Click to collapse
Yeah I'll add necessary governors only. I won't be adding any hotplug. We are going to stick with msm_performance. I've already merged tweaks to msm_performance for better performance and stability
CPU and GPU OC
Used your kernel on the g2 now the G3. Nice to see more kernel development. Will flash and report back
Is there any way of implementing CPU/GPU OC?
Flashhhh said:
Yeah I'll add necessary governors only. I won't be adding any hotplug. We are going to stick with msm_performance. I've already merged tweaks to msm_performance for better performance and stability
Click to expand...
Click to collapse
That's great honestly I haven't noticed any extra saving on battery backup by offlining of cores on this phone. The stock kernel running without offlining used to still do the best in backup.
So yes I strongly agree.
Updated the Kernel to R2!
Now this kernel uses Anykernel2 by osm0sis to improve compatibilty with all Roms out there. Enjoy!
Changelog:
- Merged CM changes
- Added lionfish governor by squid2
- Added system wide power efficient workqueues
- sched/fair: Implement fast idling of CPUs when the system is partially loaded
- block: bfq: set IOPS mode by default with slice_idle set to 0
- lib/memcopy: use glibc version
- Optimized Square root algorithm
- Some other changes(Check github)
Download: BASKETBUILD
Flashhhh said:
Updated the Kernel to R2!
Now this kernel uses Anykernel2 by osm0sis to improve compatibilty with all Roms out there. Enjoy!
Changelog:
- Merged CM changes
- Added lionfish governor by squid2
- Added system wide power efficient workqueues
- sched/fair: Implement fast idling of CPUs when the system is partially loaded
- block: bfq: set IOPS mode by default with slice_idle set to 0
- lib/memcopy: use glibc version
- Optimized Square root algorithm
- Some other changes(Check github)
Download: BASKETBUILD
Click to expand...
Click to collapse
Working fine here on stock rom. Optimus is my daily drive. It meets my requirements :good:
Going to flash and report back. Thanks flashhhh for the update
Fluid UI
This kernel is now my daily driver. My UI doesn't lag anymore like other kernels and my games seem a tad smoother ( Most likely a placebo). Keep up the good work flashhh
Just wondering am on cm12.1 is compatible or just for m?

[KERNEL][HLTE/CHN/TMO/KOR] Synergy Beta4 for LineageOS 15.1 based ROMs

Synergy Kernel​
Features:
Based on Official LineageOS MSM8974 kernel.
All the Latest Security Patches and Fixes are included.
Safety-Net Check Pass is possible with Magisk v13 or higher.
For root solution use Magisk for best compatibility.
Details
Code:
Added CPU overclock to 2.8Ghz (Disabled by default)
Added GPU overclock to 600Mhz (Disabled by default)
Removed all touch/key press frequency boosting
Adreno optimizations for lower battery consumption
Latest MSM Thermal Control used for better compatibility
Enabled Arch Power for better power savings
Added FastCharge (Chad Froebel/Jean-Pierre Rasquin)
Added Powersuspend (Paul Reioux/Jean-Pierre Rasquin)
Added Asynchronous Fsync (HTC/Paul Reioux)
Added Motorola MSM memcpy enhancements
Added Soundcontrol v3.6 GPL (Paul Reioux)
Added KCal Color Calibration support (savoca/Paul Reioux)
Added Frandom (Eli Billauer)
Added Optimized ARM RWSEM algorithm
Added NEON Optimized SHA (1/224/256/384/512) routines
Added Option to Enable/Disable Gentle Fair Sleepers (Disabled by default)
Added phantom Governor (Ghost)
Added Intelliactive Governor (Mike Chan/Paul Reioux)
Added arteractive Governor (Mike Chan/Park Ju Hyung)
Added Impulse, yankactive Governor (Mike Chan)
Added Smartmaxx and Smartmaxx_eps governors (maxwen/Ícaro Hoff)
Added Alucard, Darkness and Nightmare Governor ([email protected])
Added Lionheart Governor used by default (knzo)
Added Adreno Idler (Park Ju Hyung)
Added Simple GPU Algorithm (Paul Reioux)
Added Intelli-plug and used by default (Paul Reioux)
Added MSM Hotplug (Fluxi)
Added Bricked_Hotplug (Pranav Vashi)
Added Thunderplug (Varun Chitre)
Added MSM_Limiter (Dorimanx/Pranav Vashi)
Added Zen IO-Scheduler (Brandon Berhent)
Added FIFO IO-Scheduler (Aaron Carroll)
Added SIO Plus IO-Scheduler (Miguel Boton)
Added Tripandroid IO-Scheduler (TripNRaVeR)
Added FIOPS IO-Scheduler (Jens Axboe, Shaohua Li)
Fixed Camera Switching Delay
Fixed Camera Flickers on light source
Many other fixes and optimizations
Special thanks to:
@lss1977, @6h0st, @[email protected], @arter97, @topjohnwu, LineageOS, Codeaurora.
Testers:
@svbarbosa and @Chinaboy5216 for testing my kernel.
And the XDA Community for feedback and help.
Warning!
/*
* Your warranty is now void. Knox 0x1.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
*/
Changelog:
See Post 2.
How to flash:
Step0: Clear/Reset any kernel modifying tools ex. Kernel Auditor/LSpeed etc.
Step1: Flash using recovery.
Step2: Restart.
How to remove:
Step1: Dirty flash your ROM.
Step2: Restart.
Note: If you wipe Dalvik-Cache the first boot will take some time.
Download:
Do not mirror/host the current version. Link to this thread.
LineageOS 14.1 based ROMs no longer supported. Use the kernel at your own risk.
Dirty Flash the ROM if coming from other kernels.
Synergy RC19
Only use this version if original version doesn't detect SIM.
Synergy RC19 Unified 06012018
Synergy for Lineage OS 15.1 based ROMs
Very early build so expect problems. Also use kernel tools to set kernel settings.
Change logs
Synergy Oreo Beta4 [HLTE/CHN/TMO/KOR]
Suggestion
If you are using RRN try this guide for a stable working Resurrection Remix Nougat experience.
Link: Resurrection Remix - Rock Stable Setup
Thanks to @svbarbosa for creating this guide.
Current Progress
Synergy Oreo Beta
Testing version
No testing version available currently
Feedback/Bug-report/Problems:
When reporting issues/bugs include your Device Model, ROM name/version, previous kernel name/version and a log (logcat/last_kmsg/dmesg). Otherwise you will be ignored.
Miscellaneous Fixes
LA14.1 based ROMs Notification Light fix (based on AOSP 7.1.2_r2-N2G47E). Link: NotificationLightDelayFix_v1.0.zip
XDA:DevDB Information
Synergy Kernel, Kernel for the Samsung Galaxy Note 3
Contributors
gj86
Source Code: https://github.com/gj86/synergy/tree/lineage-15.1
Kernel Special Features: Based on Official Lineage OS MSM8974 Branch
Version Information
Status: Beta
Created 2017-05-25
Last Updated 2018-07-27
Changelogs
RC19
Merged all updates from Lineage OS MSM8974 kernel.
Fixed Simpleondemand and cpubw governor crash on start.
Added tripandroid io scheduler.
Replaced sio with sioplus.
Added state_notifier driver.
Updated intelli_plug hotplug to v5.4.
Updated msm_hotplug.
Backported rbtree from 3.10 kernel.
Backported idr_map from 3.10 kernel.
Updated uksm to v1.2.4.
Added nop cpuidle governor.
Added zpool.
Added cache_bw gpu governor.
Disabled cpu_boost driver.
Lots of other fixes and optimizations.
Detail changelog: Synergy RC19
RC18
Merged all updates from upstream.
Added UKSM, disabled by default.
Added SafetyNet tripping boot flags remover.
Reverted to userdebug boot flag, should fix the random apps crashing.
Lots of other fixes and optimizations.
This installer will remove the power.msm8974.so file. You must dirty flash your ROM if removing or installing other kernels.
Detail changelog: Synergy RC18
RC17
Quickwakeup Added
Battery power consumption in mA added. (this is experimental)
Kernel memory optimizations.
Removed ZCache, ZSwap, VNSwap.
Merged all updates and fixes from upstream
Switched to lionheart governor as default.
Detail changelog: Synergy RC17
RC16
Safetynet Issue fixed.
Syslog monitoring apps (catlog etc.) issue fixed.
I'm lazy to list all the changes, check github.
From now on I'm going to slow down the releases a bit. If you guys want check progress in github.
RC15
Wake up delay/audio streaming issue fixed.
Camera flicker issue fixed.
Uncontrolled memory consumption issue fixed.
Updates from upstream merged.
Check github link for more info.
RC14
Camera switching delay issue fixed.
Flip Cover not detecting issue fixed.
Waking up from sleep mode delay reduced.
Lot's of other fixes and optimizations.
Check github for details.
RC13
Disabled Intelli-Thermal for latency issues. Currently using built-in thermal monitoring.
For more details checkout github.
RC12
Fixed Camera FC.
Removed more unused drivers.
Optimized Smart Manager.
Switched to lzma compression for ramdisk, further reducing kernel size.
RC11
High mode activated. Please Re-Download. Sorry for the inconvenience.
Flashing script updated.
Removed unused device drivers.
Optimized Smart Manager to only use power efficient frequency.
Added option to enforce frequency limit to respective level.
Updated workload detection logic.
From now on there will be 2 edition, one is with VNSwap, another without.
RC10
Flashing script updated. Please Re-download RC10.
Default Hotplug switched to Intelli plug.
Optimized Smart Manager.
Compiled using latest Linaro 5.4.1
New flashing mechanism using Magiskboot.
This will use the stock contexts and sepolicy of the device.
Very Important: Flash the original kernel that came with the ROM, before flashing RC10.
If RC9 working without any trouble. This step is not needed.
Hopefully this will remedy the bootloops and might support ROMs based on 7.1.1
Flash Magisk afterwards to restore ROOT. No reboots needed in between flashing or cleaning Dalvik-Cache.
RC9
Added highly optimized SHA256_ARM and SHA256_ARM_NEON modules
Updated SHA512_NEON module
Backported LZ4, LZO, ZLIB modules from Linaro v4.4 stable branch
Properly fixed VNSwap activation script.
Fixed off-mode charging again (this time permanently I think).
Updated charger binary.
Added GPU Sysfs support. Kernel config utilities can configure the GPU properly now.
Rewrote Smart Manager codes from scratch to make it more clever.
Added Levels (1-10) to modify Smart Manager response.
RC8:
Fixed Off-Mode charging.
Optimized Smart Manager.
RC7:
Fixed VNSwap service.
Added Smart Manager to better handle ongoing task.
Governor parameters will be modified at run-time depending on the load.
Modified Smart Manager to be less aggressive.
Note: You can deactivate smart manager with any kernel config tools.
RC6:
Added Lionheart Governor
Reduced default CPU frequency stock frequency
In future instead of adding more governors, I will concentrate on smart manager and phantom governor to better
optimize to balance performance and battery consumption.
Reserved
Does this kernel include lionheart governor ? And can i use it for RRN 5.8.2 ?
gj86 said:
Reserved
Click to expand...
Click to collapse
could you make hltespr kernel ?
peped94 said:
Does this kernel include lionheart governor ? And can i use it for RRN 5.8.2 ?
Click to expand...
Click to collapse
I haven't tested this on RRN 5.8.2, but since it based on LA14.1 you can try and see if it works. I haven't added lionheart Governor.
jackyalice said:
could you make hltespr kernel ?
Click to expand...
Click to collapse
Go ahead and try to see if this works. I don't have the device so I can't test it.
Hi, good to see a new kernels for our amazing N3.
Test and report
I flashed this Kernel now on hlte RRN 5.8.3 and it works fine for now. Thanks
Sent from my SM-N9005 using XDA Labs
simonk206 said:
I flashed this Kernel now on hlte RRN 5.8.3 and it works fine for now. Thanks
Sent from my SM-N9005 using XDA Labs
Click to expand...
Click to collapse
Which RRN...Lord Eko or trader
sarjen iceman said:
Which RRN...Lord Eko or trader
Click to expand...
Click to collapse
I have updated to traders RRN yesterday
Sent from my SM-N9005 using XDA Labs
sarjen iceman said:
Which RRN...Lord Eko or trader
Click to expand...
Click to collapse
It should work on both RRN release since both are based on same source.
gj86 said:
It should work on both RRN release since both are based on same source.
Click to expand...
Click to collapse
I just flashed your kernel on RRN built by Trader and it works fine for me. Thanks so much
mrcandy108 said:
I just flashed your kernel on RRN built by Trader and it works fine for me. Thanks so much
Click to expand...
Click to collapse
how did u do ?
I can't get it right
phone stuck in boot
did u flash magiak 13.0 right after?
which TWRP ?..2.8.7 or 3.1.1
sarjen iceman said:
how did u do ?
I can't get it right
phone stuck in boot
did u flash magiak 13.0 right after?
which TWRP ?..2.8.7 or 3.1.1
Click to expand...
Click to collapse
Last TWRP by Jairus, and i flashed magisk v12
mrcandy108 said:
Last TWRP by Jairus, and i flashed magisk v12
Click to expand...
Click to collapse
so..it was magisk 13.0 issue I guess..I don't know
sarjen iceman said:
so..it was magisk 13.0 issue I guess..I don't know
Click to expand...
Click to collapse
Try reflashing mate goodluck
sarjen iceman said:
so..it was magisk 13.0 issue I guess..I don't know
Click to expand...
Click to collapse
I have magisk v13 and it works here.
Sent from my SM-N9005 using XDA Labs
simonk206 said:
I have magisk v13 and it works here.
Sent from my SM-N9005 using XDA Labs
Click to expand...
Click to collapse
so what did I do wrong
do you flash magisk after reboot
sarjen iceman said:
so what did I do wrong
do you flash magisk after reboot
Click to expand...
Click to collapse
First thing is i dont know what you are doing
I flashed first Kernel img and then magisk v13 with twrp 3.1.1-0 (without wiping anything)
Thats it and its working fine
Sent from my SM-N9005 using XDA Labs

[EOL] Boeffla-Kernel (unofficial) for AOSP 7.x.x and LOS-14.1 based ROMs [kltekor]

This Project is officially dead... If you wish to stay with my work, please consider to use SmartPack kernel which can be found here... Thanks to all of you for your supports...
/* Introduction */
This is an unofficial port of the well known Boeffla-Kernel which is developed by the recognized developer @Lord Boeffla. I build this kernel for my personal use in my Korean galaxy S5 (kltekor) with some minor modifications. With the permission of the original developer, here I decided to share my unofficial builds for anyone interested. Please do not bother the original developer with bug reports and update requests. Always remember that this is an unofficial port.
Code:
DISCLAIMER!!
I am not responsible for any damage to your device. Everything you are doing on your device is on your own risk.
I only own kltelgt (SM-G900L). Hence, all the kernels published in this thread are only tested on kltelgt by myself although it should work on klteskt and kltektt.
Please note that flashing any custom Kernel including mine will void your warranty.
/* Compatibility */
This kernel is only compatible with kltekor (SM-G900K/L/S) running AOSP/Lineage-OS based Nougat ROMs.
/* Features */
Build using Linaro gcc 4.9 toolchain.
Linux Kernel version is updated to 3.4.111
Full integration with Boeffla-Config V2 (download link)
All the standard features of Boeffla-Kernel
Support of anykernel concept - flash stock kernel before flashing Boeffla
Additional governors: zzmoove (Note: not considered stable at the moment, you might face reboots!!!), intelliactive, intellidemand, wheatley, smartmax, slim, intellimm, nightmare, lionheart, pegasusq
Zzmoove supporting native hotplugging profiles
Additional schedulers: fiops, bfq, sio, tripndroid, zen
Many Hotplug tweak profiles (Default, Optimized, 1 core max, 2 cores max, 3 cores max, 2 cores min, 3 cores min, 4 cores min, 2 cores exact, 3 cores exact)
Wake up gestures implemented (double-tap-to-wake, swipe to wake)
Boeffla-Sound engine (Headphones and speaker volume configurable)
Configurable vnswap
True dynamic FSync (activated if screen on, deactived if screen off), configurable
Touch boost frequency configurable, touch boost switch
CPU Overclocking up to 2.84 GHz
CPU Voltages interface for undervolting/overvolting
GPU idle frequency 27 Mhz added
GPU governor selection support
Show GPU frequency usage per frequency in Boeffla-Config
Color control to adjust RGB color space + inverted mode
SD card read ahead buffer configurable (default increased to 1024 kB)
Ext4 File system tweaks (default to on, can be disabled)
System Tweaks predefined supported (default is off)
Android logger (logcat) configurable
Kernel logger (dmesg) configurable
Charge rates for AC charger, USB and wireless charging separately configurable (set charge rate to 0 to have stock charge logic back)
Charge information display support via Boeffla-Config V2 app
CIFS support (module, do not mount inside /data)
NFS support (module)
NTFS support (module)
XBox support (module)
OTG-Ethernet support (module)
TCP Congestion changed to Westwood
Swap supported (but not recommended, use zRam instead)
init.d support (in /system/etc/init.d - set correct permissions!)
Default entropies increased
Insecure kernel (adb has root privileges)
Automatic EFS backup
Kernel survival mode by Boeffla-Config app to survive CM rom flashes
Full support for mpdecision for best compatibility and smoothness
(Important: use Boeffla-Config to configure min/max CPU frequencies + governors + schedulers only - or explicitely allow other apps/processes to overwrite this in Boeffla-Config settings, but expect weird side effects)
Integrated full busybox 1.23.1 (own compilation)
Auto-Root by kernel possible by request, not recommended for CM however (latest su included)
Kernel initialization log file (with history of 3 log files)
Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
Presets supported in Boeffla-Config by kernel (Extreme power, power, normal, battery friendly and battery saving)
Always using latest Initramfs
Always based on latest Galaxy S5 sm-g900f kernel sources by CM
Kernel runs with SELinux enforcing by default, just as CM12 stock kernel for S5 - but can be configured to work in permissive mode in Boeffla-Config settings
It is highly probable that I missed some features while building. Please let me know if you can't find some features that are listed above.
/* Downloads */
Code:
[B][COLOR="blue"]Please make sure to download the latest build[/COLOR][/B]
kltekor
/* How to */
1. Go to recovery (TWRP recommend)
2. Flash Kernel
3. Wipe Cache/Dalvik Cache
4. Reboot and enjoy​
/* Special note to Korean S5 users */
Flashing this kernel after AOSP/LOS based nougat ROMs originally build for the klte (SM-G900F) variant will allows the use of those ROMs on SM-G900S/K/L.
/* Change-logs */
9. August 02, 2017
Changes: All the commits in the LOS source code till dat. Improved zzmoove stability by disabling thermal support (credits to ZaneZam). Kernel configuration and compiler flags changed to switch off kernel size optimization (in favor of speed: credits: Lord Boeffla)
8. July 28, 2017
Recent LOS commits till date
7. July 12, 2017
Recent LOS commits till date
6. July 5, 2017
Linux Kernel version is updated to 3.4.113.
5. June 24, 2017
Updated to latest source (G900FXXU1CQE1) released by Samsung. Thanks to LOS team and @haggertk
4. June 20, 2017
Recent LOS commits till date
3. June 13, 2017
Linux kernel version updated to 3.4.113 seems to make some issues (mainly with chrome browser) and is reverted (Now it's 3.4.113).
2. June 8, 2017
Recent LOS commits till date
1. June 4, 2017
Initial release
/* Donation */
For those who wish to donate to the original developer, here I'm copying his own words.
Code:
If you like my work, feel free to donate: [URL="http://www.boeffla.de/index.php/donation"]Donation-Link[/URL]
If you donate at least 2,49 EUR (to be in line with the donation app prices on Google Play store), you will receive a personal donation code which unlocks some nice little comfort functions in Boeffla-Config V2 on top.
/* Acknowledgements */
Lord Boeffla for the original Boeffla-Kernel
Haggertk for LineageOS 14.X for Galaxy S5
osm0sis for AnyKernel project
Our Korean Galaxy S5 Facebook group members
XDA:DevDB Information
Boeffla-Kernel, Kernel for the Samsung Galaxy S5
Contributors
sunilpaulmathew, Lord Boeffla
Source Code: https://github.com/SmartPack/
Kernel Special Features:
Version Information
Status: No Longer Updated
Created 2017-06-03
Last Updated 2017-09-21
Reserved
will try this on my G900K ,
Btw sunilpaulmathew can this flash on the G906S/K/L?
Thank you
chow9229 said:
will try this on my G900K ,
Btw sunilpaulmathew can this flash on the G906S/K/L?
Thank you
Click to expand...
Click to collapse
No friend. As I wrote in the op, it only works on SM-G900K/L/S.
Sunil, just booted up with this kernel. Everything seems to work. I'll test it for a while and let you know if I run into anything. Flashed over your latest lite kernel that works very well.
thaidroid said:
Sunil, just booted up with this kernel. Everything seems to work. I'll test it for a while and let you know if I run into anything. Flashed over your latest lite kernel that works very well.
Click to expand...
Click to collapse
Thank you very much for testing... I'm pretty sure that you will be happy with Boeffla sound engine, though I have no idea abt your other preferences
First impression, very smooth
---------- Post added at 05:30 PM ---------- Previous post was at 04:56 PM ----------
Be careful with speaker Level Its not the same as recording level in smartpack. I set it to 15 and almost blew the speakers and my eardrums
Actually Recording level is missing and that WAS the culprit when using Skype, WAS.... because in the latest builds Skype over speaker has been fine.
Sunlight, used the kernel for two days and no problems. Gone back to SP Lite this morning. Not sure but I think SP might be using less battery. Both are similar for speed and smoothness I think. No benchmarks I don't use them:cyclops:
SunlightI guess the spellchecker just gave you a new nickname:laugh:
New build with latest LOS commits are available here...
/* Downloads */
Code:
[B][COLOR="blue"]Please make sure to download the latest build[/COLOR][/B]
kltekor
Will try it over night to see how it sleeps
Thanks for doing this, never thought I'd have Boeffla on my kltekor.
thaidroid said:
Will try it over night to see how it sleeps
Click to expand...
Click to collapse
Sorry, I forget to tell, I pushed one more build (and replaced the old one) since I found few more commits in the LOS source code later...
lexxx84 said:
Thanks for doing this, never thought I'd have Boeffla on my kltekor.
Click to expand...
Click to collapse
All the credits to @Lord Boeffla for making this awesome kernel as well as allowing me to share my port
New build...
New build is uploaded. The source is merged with Samsung's latest opensource release (special thanks to @haggertk and Lineage-OS team)
/* Downloads */
kltekor
[new builds will be uploaded for anyone interested once in a week (on or before Thursday) only if LordBoeffla or Lineage OS team made any change in their klte source code]
New build...
Changes: all the commits in the LOS source code till date...
/* Downloads */
kltekor
Blackburn119 said:
Hello please kindly update your boeffla unofficial kernel, 12072017 version came with camera bug.
Click to expand...
Click to collapse
Camera issue will be hopefully fixed in this build...
New builds...
Changes: All the commits in the LOS source code till dat. Improved zzmoove stability by disabling thermal support (credits to ZaneZam). Kernel configuration and compiler flags changed to switch off kernel size optimization (in favor of speed: credits: Lord Boeffla)
/* Downloads */
kltekor
Big update...
The changes includes...
Updated with latest official LineageOS kernel commits till date (Note: This was a complete kernel rebase by LineageOS team = in worst case expect some bugs.) Improved safetynet handling (credits to SultanXDA)
All the credits to LineageOS team, Lord Boeffla and SultanXDA...
Download links are here... enjoy...
/* Downloads */
kltekor
Detele this
I have no issues with this kernal using 900P/Kltedv formally kltespr
sunilpaulmathew said:
The changes includes...
Updated with latest official LineageOS kernel commits till date (Note: This was a complete kernel rebase by LineageOS team = in worst case expect some bugs.) Improved safetynet handling (credits to SultanXDA)
All the credits to LineageOS team, Lord Boeffla and SultanXDA...
Download links are here... enjoy...
/* Downloads */
kltekor
Click to expand...
Click to collapse
how about gaming?

Categories

Resources