• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

rmbq

Senior Member
Feb 10, 2012
985
1,903
30
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: FAQ - bugs - future features


Donator List: (huge thanks for support)

here

Suggested kernel control app: trickstermod

I don't know if it works because i don't own the device but i have got ville which is pretty similar :)

[GUIDE]How to compile a kernel

Credits and Thanks:
dsixda, showp1984, ngtools, faux123, Christopher83, franciscofranco, msm8960 team, jrior001


XDA:DevDB Information
AOSP Bubba Kernel, Kernel for the Sprint HTC EVO 4G LTE

Contributors
rmbq
Kernel Special Features:

Version Information
Status: Stable
Stable Release Date: 2014-07-26
Current Beta Version: 24 Apr
Beta Release Date: 2014-04-24

Created 2014-04-23
Last Updated 2014-07-26
 

rmbq

Senior Member
Feb 10, 2012
985
1,903
30
Reserved

Features:
  • Based on linux 3.4.99
  • Compiled with linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
  • Linaro -O3 optimization
  • avaiable CPU governors: interactive, ondemand, performance, powersave, intellimand, intelliactive
  • avaiable GPU governors: ondemand, performance, simple
  • avaiable schedulers: row, deadline, noop, cfq, bfqv7r4, fiops, sio
  • Sleepy Plug
  • NTFS read & write support
  • exfat support
  • UTF8
  • Voltage control
  • Sweep2Wake
  • Double tap 2 wake
  • Pocket detection
  • Intelli-thermal
  • zRam with LZ4 compression
  • zCache with LZ4 compression
  • CPU OC to 1.7 GHz
  • GPU OC to 512MHz (3D) and 320MHZ (2D)
  • Faux sound control v. 3
  • Improved alghorithm: SHA1, AES, SQRT, lib/string (glibc version), lib/memcopy (glibc version), XOR (neon)
  • dynamic fsync by faux123
  • fastcharge
  • powersuspend driver (replace earlysuspend)
  • KCAL control (RGB)
  • heavly patched memory allocators, RWSEM and mutex (take a look at my github, too many changes to make a list here)

Changelog:
Code:
[JUL 26 2014]
Revert "prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID."
Revert "prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of"
add qseecom support
some defconfig changes
cpufreq: revert CAF's cpu policy save code
sched/cpuidle: reduce IPI storm. Backport upstream 3.16
mm, hugetlb: improve page-fault scalability
mm: per-thread vma caching
update compiler to linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
update to 3.4.99
added KCAL control by faux and fixed by me
add F2FS support
Revert "msm: htc: update mem mapping"

[JUL 17 2014]
update to 3.4.98
sync with cm
sync with codeaurora/kk_2.7-stable
update sleepy_plug
bfq: BFQ-v7r5
bugfix from google (see github)

[JUN 29 2014]
Remove JustArchi GCC flags cos they are unstable
update to 3.4.95
sync with CM
sync with codeaurora/kk_2.7-stable 
ext4: Speedup WB_SYNC_ALL pass called from sync(2)

[JUN 19 2014]
update compiler to linaro toolchain 4.9.1 2014.06 optimized for cortex-a15
update to 3.4.94
remove -fdata-sections GCC flag (cause of reboot issue)
sync with CM
sync with codeaurora/kk_2.7-stable 
updated sleepy_plug

[JUN 09 2014]
sync with codeaurora/kk_2.7-stable 
memset patch to fix bootloops

[JUN 08 2014]
3.4.92
reverted some KGSL CAF patches
removed -ftrace flag
sync with CM
improved int_sqrt algorithm
update bfq to v7-r4

[MAY 28 2014]
sync with codeaurora/kk_2.7-stable 
update sleepy_plug 
cpufreq: ondemand: Calculate load_at_max_freq based on current policy->max
sched: add do_avg_nr_running to fix avg_nr_running
increase base address
revert 24 May changes

[MAY 24 2014]
Increase ramdisk_offset

[MAY 19 2014]
update to 3.4.91
merge codeaurora/kk_2.7_rb1.38
update bfq to v7-r3
sleepy_plug now supports quadcore CPUs
fix headset support (CM)
new GCC flags
update compiler

[MAY 03 2014]
block: support volname for HTC devices with proc/emmc support

[MAY 02 2014]
compiled with Linaro GCC 4.9.1 optimized for cortex-a15
sync with CM
update devices_htc from Jet jb 4.3 kernel 
update headset driver from Jet jb 4.3 kernel
update memory mapping (more RAM avaiable)
update pn544 driver
update bma250 driver

[APR 29 2014]
update to 3.4.88
sync with codeaurora/kk_2.7-stable 
some other CAF patches

[APR 25 2014]
fix s2w

[APR 24 2014]
added s2w and dt2w with pocket detection (from torched sources)
enable BLN

[APR 23 2014]
first release

If you like my work please consider making a donation, I spend almost all my free time on making this kernel the best
i'll buy another phone to continue to support the android development!


Download:
androidfilehost folder: http://www.androidfilehost.com/?w=files&flid=14092
normalToQV: http://www.androidfilehost.com/?fid=23501681358544069
(if you don't see the new version just wait some minutes, it's uploading)

Kernel Source: Github
 
Last edited:

rmbq

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

ultimatelegend1

Senior Member
Sep 13, 2013
130
16
This is pretty sick gonna give it a whirl as soon as I'm free, but I had thought that HTC hasn't released our kernel to the devs so this will probably brick our devices since it's a port right ??
the kernel

Sent from my EVO using xda app-developers app
 

rmbq

Senior Member
Feb 10, 2012
985
1,903
30
This is pretty sick gonna give it a whirl as soon as I'm free, but I had thought that HTC hasn't released our kernel to the devs so this will probably brick our devices since it's a port right ??
the kernel

Sent from my EVO using xda app-developers app

i don't know what you are saying!
you have got official CM support (idd you have got, for example, this ROM http://forum.xda-developers.com/showthread.php?t=2633324 that is AOSP). this kernel is for aosp so, what's the problem?
 
  • Like
Reactions: mcwups1

lreyes

Senior Member
Jun 28, 2012
1,466
495
Nice work MBQ! thanks a lot for this I'm going to be using it tonight

Sent from my EVO using Tapatalk
 

ultimatelegend1

Senior Member
Sep 13, 2013
130
16
U see after the sense 5 4.3 update our phones received the partition layout changed and with it came an updated kernel but since HTC hasn't released the new kernel this could possibly brick phones on the new layout but it might work with phones on the old layout, listen I'm no expert :p if anyone here on the new partition flashes this plz do report back so that we can now if this is compatible

Sent from my EVO using xda app-developers app
 
  • Like
Reactions: gmoe65

rmbq

Senior Member
Feb 10, 2012
985
1,903
30
U see after the sense 5 4.3 update our phones received the partition layout changed and with it came an updated kernel but since HTC hasn't released the new kernel this could possibly brick phones on the new layout but it might work with phones on the old layout, listen I'm no expert :p if anyone here on the new partition flashes this plz do report back so that we can now if this is compatible

Sent from my EVO using xda app-developers app

this kernel doesn't change the partition layout
P.S. you can't brick the phone flashing a kernel
 

ultimatelegend1

Senior Member
Sep 13, 2013
130
16
I didn't say that it would change the layout , and thanks for the new info I thought that flashing an incompatible kernel could possibly brick a device

Sent from my EVO using xda app-developers app
 

pwnyourace

Senior Member
Mar 13, 2011
641
517
Will definitely give this a go tomorrow and report back with results.

Sent from my SPH-L720 using Tapatalk
 

AarSyl

Senior Member
Aug 21, 2012
2,805
938
NJ
OnePlus 7 Pro
OnePlus 8
I couldn't wait until tomorrow. I first gave this a run using a nandroid of an OmniRom build, and I noticed that there are a few things that work or don't work well/at all. I tried again on a clean flash, and achieved the same results.



Working
USB Fast charge (yay)
Overclock

Not working
Sweep2whatever
Doubletap2wake
Custom governors not available
Custom schedulers not available

Not Working Well
I noticed that it is causing screen tearing during the transitions.
I experienced trouble connecting to my car bluetooth, but I'm not sure if that's rom related.


Sent from my HP Pavilion g6 Notebook PC using Tapatalk
 
Last edited:

rmbq

Senior Member
Feb 10, 2012
985
1,903
30
I couldn't wait until tomorrow. I first gave this a run using a nandroid of an OmniRom build, and I noticed that there are a few things that work or don't work well/at all. I tried again on a clean flash, and achieved the same results.



Working
USB Fast charge (yay)
Overclock

Not working
Sweep2whatever
Doubletap2wake
Custom governors not available
Custom schedulers not available

Not Working Well
I noticed that it is causing screen tearing during the transitions.
I experienced trouble connecting to my car bluetooth, but I'm not sure if that's rom related.


Sent from my HP Pavilion g6 Notebook PC using Tapatalk
about Sweep2whatever Doubletap2wake new version should fix them.
Custom governors not available & Custom schedulers not available: strange, which app are you using?
I noticed that it is causing screen tearing during the transitions.: could be try to use interactive governor
I experienced trouble connecting to my car bluetooth, but I'm not sure if that's rom related.: on ville it's working so i don't think it's kernel related (same chip)
 
  • Like
Reactions: mcwups1

AarSyl

Senior Member
Aug 21, 2012
2,805
938
NJ
OnePlus 7 Pro
OnePlus 8
about Sweep2whatever Doubletap2wake new version should fix them.
Custom governors not available & Custom schedulers not available: strange, which app are you using?
I noticed that it is causing screen tearing during the transitions.: could be try to use interactive governor
I experienced trouble connecting to my car bluetooth, but I'm not sure if that's rom related.: on ville it's working so i don't think it's kernel related (same chip)
Ok....update.

I flashed today's build (QV version), and here are the changes.

- The different governors now show up.
- Sweep/Doubletap options don't show up in TricksterMOD.
- I tried to force sweep2wake to work through Kernel Tuner, but the phone froze after I applied the new settings.
- I didn't notice your post soon enough to try the interactive governor. I will post an update soon.
 

rmbq

Senior Member
Feb 10, 2012
985
1,903
30
Ok....update.

I flashed today's build (QV version), and here are the changes.

- The different governors now show up.
- Sweep/Doubletap options don't show up in TricksterMOD.
- I tried to force sweep2wake to work through Kernel Tuner, but the phone froze after I applied the new settings.
- I didn't notice your post soon enough to try the interactive governor. I will post an update soon.

have you got these files?
/sys/android_touch/sweep2wake
/sys/android_touch/doubletap2wake
 
  • Like
Reactions: mcwups1

shadowxaero

Senior Member
Apr 19, 2008
375
125
have you got these files?
/sys/android_touch/sweep2wake
/sys/android_touch/doubletap2wake

Yes those two files are there.
when setting either of them to 1, when trying to us it my phone reboots.

Also no changes made after reboot seem to stick

Sent from my EVO using Tapatalk
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    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: FAQ - bugs - future features


    Donator List: (huge thanks for support)

    here

    Suggested kernel control app: trickstermod

    I don't know if it works because i don't own the device but i have got ville which is pretty similar :)

    [GUIDE]How to compile a kernel

    Credits and Thanks:
    dsixda, showp1984, ngtools, faux123, Christopher83, franciscofranco, msm8960 team, jrior001


    XDA:DevDB Information
    AOSP Bubba Kernel, Kernel for the Sprint HTC EVO 4G LTE

    Contributors
    rmbq
    Kernel Special Features:

    Version Information
    Status: Stable
    Stable Release Date: 2014-07-26
    Current Beta Version: 24 Apr
    Beta Release Date: 2014-04-24

    Created 2014-04-23
    Last Updated 2014-07-26
    9
    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
    6
    Reserved

    Features:
    • Based on linux 3.4.99
    • Compiled with linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
    • Linaro -O3 optimization
    • avaiable CPU governors: interactive, ondemand, performance, powersave, intellimand, intelliactive
    • avaiable GPU governors: ondemand, performance, simple
    • avaiable schedulers: row, deadline, noop, cfq, bfqv7r4, fiops, sio
    • Sleepy Plug
    • NTFS read & write support
    • exfat support
    • UTF8
    • Voltage control
    • Sweep2Wake
    • Double tap 2 wake
    • Pocket detection
    • Intelli-thermal
    • zRam with LZ4 compression
    • zCache with LZ4 compression
    • CPU OC to 1.7 GHz
    • GPU OC to 512MHz (3D) and 320MHZ (2D)
    • Faux sound control v. 3
    • Improved alghorithm: SHA1, AES, SQRT, lib/string (glibc version), lib/memcopy (glibc version), XOR (neon)
    • dynamic fsync by faux123
    • fastcharge
    • powersuspend driver (replace earlysuspend)
    • KCAL control (RGB)
    • heavly patched memory allocators, RWSEM and mutex (take a look at my github, too many changes to make a list here)

    Changelog:
    Code:
    [JUL 26 2014]
    Revert "prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID."
    Revert "prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of"
    add qseecom support
    some defconfig changes
    cpufreq: revert CAF's cpu policy save code
    sched/cpuidle: reduce IPI storm. Backport upstream 3.16
    mm, hugetlb: improve page-fault scalability
    mm: per-thread vma caching
    update compiler to linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
    update to 3.4.99
    added KCAL control by faux and fixed by me
    add F2FS support
    Revert "msm: htc: update mem mapping"
    
    [JUL 17 2014]
    update to 3.4.98
    sync with cm
    sync with codeaurora/kk_2.7-stable
    update sleepy_plug
    bfq: BFQ-v7r5
    bugfix from google (see github)
    
    [JUN 29 2014]
    Remove JustArchi GCC flags cos they are unstable
    update to 3.4.95
    sync with CM
    sync with codeaurora/kk_2.7-stable 
    ext4: Speedup WB_SYNC_ALL pass called from sync(2)
    
    [JUN 19 2014]
    update compiler to linaro toolchain 4.9.1 2014.06 optimized for cortex-a15
    update to 3.4.94
    remove -fdata-sections GCC flag (cause of reboot issue)
    sync with CM
    sync with codeaurora/kk_2.7-stable 
    updated sleepy_plug
    
    [JUN 09 2014]
    sync with codeaurora/kk_2.7-stable 
    memset patch to fix bootloops
    
    [JUN 08 2014]
    3.4.92
    reverted some KGSL CAF patches
    removed -ftrace flag
    sync with CM
    improved int_sqrt algorithm
    update bfq to v7-r4
    
    [MAY 28 2014]
    sync with codeaurora/kk_2.7-stable 
    update sleepy_plug 
    cpufreq: ondemand: Calculate load_at_max_freq based on current policy->max
    sched: add do_avg_nr_running to fix avg_nr_running
    increase base address
    revert 24 May changes
    
    [MAY 24 2014]
    Increase ramdisk_offset
    
    [MAY 19 2014]
    update to 3.4.91
    merge codeaurora/kk_2.7_rb1.38
    update bfq to v7-r3
    sleepy_plug now supports quadcore CPUs
    fix headset support (CM)
    new GCC flags
    update compiler
    
    [MAY 03 2014]
    block: support volname for HTC devices with proc/emmc support
    
    [MAY 02 2014]
    compiled with Linaro GCC 4.9.1 optimized for cortex-a15
    sync with CM
    update devices_htc from Jet jb 4.3 kernel 
    update headset driver from Jet jb 4.3 kernel
    update memory mapping (more RAM avaiable)
    update pn544 driver
    update bma250 driver
    
    [APR 29 2014]
    update to 3.4.88
    sync with codeaurora/kk_2.7-stable 
    some other CAF patches
    
    [APR 25 2014]
    fix s2w
    
    [APR 24 2014]
    added s2w and dt2w with pocket detection (from torched sources)
    enable BLN
    
    [APR 23 2014]
    first release

    If you like my work please consider making a donation, I spend almost all my free time on making this kernel the best
    i'll buy another phone to continue to support the android development!


    Download:
    androidfilehost folder: http://www.androidfilehost.com/?w=files&flid=14092
    normalToQV: http://www.androidfilehost.com/?fid=23501681358544069
    (if you don't see the new version just wait some minutes, it's uploading)

    Kernel Source: Github
    5
    new version is up!
    5
    new version us up, for new cm build