FORUMS
Remove All Ads from XDA

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

984 posts
Thanks Meter: 1,913
 
By rmbq, Senior Member on 23rd April 2014, 12:42 AM
Post Reply Email Thread
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 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
The Following 16 Users Say Thank You to rmbq For This Useful Post: [ View ] Gift rmbq Ad-Free
 
 
23rd April 2014, 12:42 AM |#2  
rmbq's Avatar
OP Senior Member
Thanks Meter: 1,913
 
Donate to Me
More
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
The Following 9 Users Say Thank You to rmbq For This Useful Post: [ View ] Gift rmbq Ad-Free
23rd April 2014, 12:42 AM |#3  
rmbq's Avatar
OP Senior Member
Thanks Meter: 1,913
 
Donate to Me
More
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
The Following 8 Users Say Thank You to rmbq For This Useful Post: [ View ] Gift rmbq Ad-Free
23rd April 2014, 02:24 AM |#4  
Senior Member
Thanks Meter: 447
 
More
Woohooo! More kernels, the merrier!

Sent from my One XL using Tapatalk
23rd April 2014, 02:39 AM |#5  
ChadMan097's Avatar
Member
Flag Pittsburg
Thanks Meter: 7
 
More
I am flashing now, I will let y'all know how it goes!
-Flashing on last CM 11 release btw.
23rd April 2014, 05:50 AM |#6  
Senior Member
Thanks Meter: 447
 
More
Quote:
Originally Posted by ChadMan097

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

So I assume everything went well...?
23rd April 2014, 11:41 AM |#7  
Senior Member
Thanks Meter: 579
 
More
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.
23rd April 2014, 01:58 PM |#8  
rmbq's Avatar
OP Senior Member
Thanks Meter: 1,913
 
Donate to Me
More
new version is up!
no one report issue with this kernel so i moved this project from testing to beta.
23rd April 2014, 02:42 PM |#9  
sathish804's Avatar
Senior Member
Thanks Meter: 255
 
More
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.
23rd April 2014, 02:46 PM |#10  
rmbq's Avatar
OP Senior Member
Thanks Meter: 1,913
 
Donate to Me
More
Quote:
Originally Posted by sathish804

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.

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
23rd April 2014, 08:30 PM |#11  
jrior001's Avatar
Senior Member
Flag Va Beach
Thanks Meter: 8,753
 
Donate to Me
More
Invading my space here I see Mr.rmbq.... 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.
The Following 5 Users Say Thank You to jrior001 For This Useful Post: [ View ] Gift jrior001 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes