[KERNEL][Ville S4][AOSP][4.4/4.3][26Jul] Bubba Kernel

Search This thread

rmbq

Senior Member
Feb 10, 2012
985
1,903
31
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. :p
* 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
 
Last edited:

rmbq

Senior Member
Feb 10, 2012
985
1,903
31
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
 
Last edited:

rmbq

Senior Member
Feb 10, 2012
985
1,903
31
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
 
Last edited:

rmbq

Senior Member
Feb 10, 2012
985
1,903
31
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
 
Last edited:

devgee

Senior Member
Dec 5, 2011
482
196
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
 

mteezey

Senior Member
Oct 24, 2011
1,333
744
Detroit
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
 

dr_rick13

Senior Member
Apr 15, 2011
1,187
618
OnePlus 6
OnePlus 6T
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?
 

rmbq

Senior Member
Feb 10, 2012
985
1,903
31
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?

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?
 

LikeaG2root

Senior Member
Apr 23, 2011
1,028
225
Orlando,FL
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013

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?

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
 
Last edited:

dr_rick13

Senior Member
Apr 15, 2011
1,187
618
OnePlus 6
OnePlus 6T
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

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?

Thanks fellas, my brain is running a little slow today :p Out of thanks for the day, will 'thank you' when I have more.
 

Nerd019

Senior Member
Oct 23, 2010
524
131
Dallas,TX
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
 

Zarboz

Known Scammer
Mar 5, 2009
145
9,339
Denver
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
 

rmbq

Senior Member
Feb 10, 2012
985
1,903
31
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

Sorry, my fault :)

Sent from my One S using xda app-developers app
 
  • Like
Reactions: Zarboz

Top Liked Posts

  • There are no posts matching your filters.
  • 145
    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. :p
    * 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
    89
    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
    46
    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
    29
    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
    18
    1 year ago i released the first version of this kernel!