[KERNEL] [3.1.10] [JB 4.3/4.2.2] [Purified Kernel r133] [Linaro] [18-08-2013] - Nexus 7 Android Development

Hi guys!
I'm presenting my personal kernel, that started as an addon for Purity ROM, called Purified Kernel.
Now, this project got bigger and has a life of it's own. My nightlies are called Blue Panda and I'm going to share them with you.
All I want is full smoothness, performance and battery on my grouper, so I build always with latest Linaro.
Code is based of android-tegra3-grouper-3.1-jb-mr2 plus franco commits and other useful and powerful picks.
Kernel features:
Build on Lubuntu 13.04 x86_64
Build with Linaro 13.07 gcc 4.8.2 (arm-eabi official)
Full -O3 support (SLUB allocation), with cpu and target flags enhanced, linaro build improvements, etc
Based on franco nightlies+, cherry-picks on demand
Merged from Linux 3.1.10
MultiROM support (kexec)
zRAM disabled
USB-OTG, USB Audio and 3G Dongle support
Full USB network support, updated ASIX AX88* driver to version 4.8
Enhanced performance and battery patches (deadline+interactive)
Several TCP methods (westwoood default)
Several I/O control (deadline default, 512 buffer)
CPU governor tunables (default intereactive 204-1300MHz for battery and performance),
Use amazing hotplug routines by @franciscofranco, with Hotplug Control
FSYNC, WiFi high performance and Smart DImmer on/off
GPU Scaling controls (GPU OC available, 416MHz default battery and performance)
MPU voltages tunables with UV tables
Tweaked Ramdisk for AOSP, CM 10.2 and PA
Will try to port Sweep2wake to grouper in future
FOR JB 4.2.2: Download Purified.Kernel_r77_grouper.zip, flash and profit :highfive:
FOR JB 4.3: Download Purified.Kernel_r133_grouper.zip, flash and profit :highfive:
CHANGELOG:
Code:
[B][COLOR="Red"]Blue Panda r130:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Remerged CM10.2 grouper kernel commits, found some derps.
[*]Enabled some missing CPU Governors
[/LIST][/COLOR]
[B][COLOR="Red"]Blue Panda r130:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Merged CM10.2 grouper kernel commits
[*]Compilation tweaks and small fixes
[/LIST][/COLOR]
[B][COLOR="Red"]Blue Panda r114:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Small fixes
[*]Improved support for USB audio
[/LIST][/COLOR]
[B][COLOR="Red"]Blue Panda r113:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Tweaked Ramdisk for AOSP, CM10.2 and PA (didn't test this last one, just try)
[*]Superuser and SuperSU problems are past, full support now
[*]Small Ramdisk performance changes
[*]Support for USB audio
[/LIST][/COLOR]
[B][COLOR="Red"]Blue Panda r104:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Build with Linaro 13.07 gcc 4.8.2 (arm-eabi official)
[*]Initial support for JB 4.3
[*]Merged from Franco nightly r75
[*]MultiROM support
[/LIST][/COLOR]
[B][COLOR="Red"]Blue Panda r77:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Build with Linaro 13.07 gcc 4.8.2 (arm-eabi official)
[*]Some small improvements to compilation and fixes
[/LIST][/COLOR]
[B][COLOR="Red"]Blue Panda r70:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Build with Linaro 13.07 gcc 4.8.2 (arm-gnueabi by [user=4825437]@Christopher83[/user])
[*]Franco latest commits
[*]Some small improvements to compilation and fixes
[/LIST][/COLOR]
[B][COLOR="Red"]Blue Panda r66:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Merged updated ASIX AX88* driver to version 4.8
[*]Latest franco commits
[*]Some small improvements and fixes
[/LIST][/COLOR]
[B][COLOR="Red"]Blue Panda r65:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Latest franco commits
[*]Some improvements and fixes
[/LIST][/COLOR]
[B][COLOR="Red"]Blue Panda r64:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Linaro 13.06 gcc 4.8.2 builded
[*]Merged from latest franco commits
[*]Disabled zRAM (not seeing benefit from it on my tests)
[/LIST][/COLOR]
[B][COLOR="Red"]Blue Panda r55:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Build with arm-eabi Linaro 13.06 GCC 4.8.2
[*]Tweak configs and compiler settings
[/LIST][/COLOR]
[B][COLOR="Red"]Blue Panda r52:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Build full -O3 with Linaro 13.06 GCC 4.8.2
[*]SLUB memory management build
[*]Merged Linux 3.1.10 (franco based)
[*]Latest franco r65
[*]zRAM enabled
[*]MultiROM support (kexec)
[*]Several TCP Congestion Control (westwood default)
[*]I/O scheduler tunables (default 512 deadline, 1024 advised for performance)
[*]CPU governor tunables (default intereactive 204-1300MHz for battery and performance), Hotplug Control, MPU voltages tunables
[*]WiFi high performance, Smart Dimmer, FSync GPU Scaling controls (GPU 416 default battery and performance)
[*]Tweak configs and compiler settings
[/LIST][/COLOR]
[B][COLOR="Red"]Blue Panda r44:[/COLOR][/B]
[COLOR="Green"]
[LIST]
[*]Using outstanding franco kernel base
[*]Merged Linux 3.1.10 changes
[*]Fixed and improved Linaro 13.05 gcc4.8.1 build.
[*]Merged from latest franco r64 and picked some tweaks from a couple sources
[*]zRAM enabled
[*]Optimizations to makefile, defconfigs and compiler in order to streamline final build
[*]Will try to port Sweep2wake to grouper in near future :fingers-crossed:
[/LIST][/COLOR]
Thanks to @franciscofranco, @faux123, @LaboDJ @show-p1984, @Metallice, @anarkia1976
Special thanks to @DariosF and @ciprianruse88, for the friendship, initial push, knowledge and art.
Kernel files hosted @ nexus4.longren.org, kindly provided by @tlongren. Powered by vpsstat.us
Extra: Awesome signature and wallpaper by @ciprianruse88
source github

Looks awesome! Will try it out! Any chance you could add CPU overclocking and custom brightness levels? Two of the only reasons why I don't use Franco Kernel

Gives me the confidence to release my own kernel. Great.

WOW!!! Great work my friend!!! :good:

DariosF said:
WOW!!! Great work my friend!!! :good:
Click to expand...
Click to collapse
Thanks mate, learned with one of the best!
Go Purity Team :highfive:

Downloading... Thanks.

Enjoying it now, will report back if I found something wrong. xD

Go Purity!

The only thing that this kernel is missing is usb-otg support. I would love to see it added if possible.

FierceMist said:
The only thing that this kernel is missing is usb-otg support. I would love to see it added if possible.
Click to expand...
Click to collapse
It has USB-OTG support, I even tune it, just forgot to add to list lol

I've been using Purified Kernel for over a month. It's very smooth and excessive battery drain is absolutely minimal. :good:

STXInnovation said:
I've been using Purified Kernel for over a month. It's very smooth and excessive battery drain is absolutely minimal. :good:
Click to expand...
Click to collapse
Can you tell me how the battery behaves on this kernel with gaming(be it light, med or heavy) and music/video content ?

iAndroidOS said:
Can you tell me how the battery behaves on this kernel with gaming(be it light, med or heavy) and music/video content ?
Click to expand...
Click to collapse
Sure. Here are my battery statistics as of right now.
My tablet has been unplugged for 2 days and 12 hours from the time of this post.
Screen has been on 2 hours and 30 minutes.
When I'm using my tablet, I do several things: browse the web, watch YouTube, play some games, browse Reddit using Reddit is Fun, text using Google Voice, and check on email/news/weather.
My current battery level is at 65%. I'm using the latest version of PurityROM.
Battery drainage is what I expect from my use.

eng.stk said:
It has USB-OTG support, I even tune it, just forgot to add to list lol
Click to expand...
Click to collapse
That's weird. I tried using my USB drive with purity+purified kernel but I was unable to mount it. When I switched back to m-kernel it worked just fine. I'll give it another go when the next update comes out.

FierceMist said:
That's weird. I tried using my USB drive with purity+purified kernel but I was unable to mount it. When I switched back to m-kernel it worked just fine. I'll give it another go when the next update comes out.
Click to expand...
Click to collapse
I wonder if it's native support, or do you need something like stickmount?
EDIT: Just tested and it does not appear to be native, probably would work with stickmount like franco's kernel.
Mike T

webdroidmt said:
I wonder if it's native support, or do you need something like stickmount?
EDIT: Just tested and it does not appear to be native, probably would work with stickmount like franco's kernel.
Mike T
Click to expand...
Click to collapse
Yes, just install stickmount

Thank you eng.stk for this awesome kernel. Super smooth and battery friendly with purity ROM :thumbup:
sent from my AOSPA3+ Nexus⁴ with Tapatalk 4

Hi, Could you add Ad-Hoc/BSSI wifi support? m-kernel I think has it. and many roms support it.
that would be a killer feature for this kernel... you can create ad-hoc wifi from laptop or desktop and connect to your nexus tablet.
cheers.

brfsa said:
Hi, Could you add Ad-Hoc/BSSI wifi support? m-kernel I think has it. and many roms support it.
that would be a killer feature for this kernel... you can create ad-hoc wifi from laptop or desktop and connect to your nexus tablet.
cheers.
Click to expand...
Click to collapse
Don't really see benefit from this, I already access the pc from ES file explorer and I don't own a laptop....
Sent from my Nexus 7 using Tapatalk 4 Beta

Does this kernel support init.d?
Sent from my Nexus 7

Related

[KERNEL][3.0.70][AOSP-JB] KangBang-Kernel v3.3 | Krown Butter Edition

Hi! Some of you may recognize me as the lead developer of CM10 nightlies for ace, and the codefireX nightlies, as well as the Andromadus Ace maintainer. I have decided to branch off the main kernel of the CM10 nightlies and codefireX nightlies due to some performance changes which don't seem to run on all devices. There may also be some more experimental patches included here prior to in the stable branch. This is due to working on making that kernel branch more stable for CM official and ALL users. Now all the boring stuff is out of the way ...Zanzibar (ZanzDroid), I'm sorry for this breaking our post:thanks experiment.
DISCLAIMER: I AM NOT RESPONSIBLE FOR PHONES ON FIRE, BLACK EYES, FINDING YOUR PHONE IN ORIFICES SURPRISINGLY, FRIED PHONES, YOUR CAT DYING, OR YOUR KID DOING A LINE OF BATH SALTS AND EATING YOUR FACE. THIS IS MEANT FOR JELLY BEAN AND AS EXPERIMENTAL AS THAT ONE DRUNKEN NIGHT IN COLLEGE.
RandomBlame's CM builds ARE NOT OFFICIALLY SUPPORTED! This means please don't post that it doesn't boot if you're running one of his builds. I'm not at all interested in closed source development, so I will not troubleshoot
FEATURES:
Generally kept up to date with any new CM and QCom CAF display patches
Always up to date with Linux Kernel 3.0* releases
Built with the custom cfX-Toolchain. Check the toolchain changelog below for more info
VDD SysFS interface for voltage modification
Dynamic file syncing
Fast Charge on demand (check the section below for full usage instructions)
Two way call recording support
VERY aggressive bus clocks
FINALLY giving the performance of 2.6 back to us
Everything else you're used to in the nightlies, and I'm already boring myself writing this
Kernel Changelog:
Code:
[size=4][b]v3.3:[/size]
[list]
[*]Patched to LK 3.0.70
[*]kernel common bcmdhd (wifi) driver via paulb-nl (fixed wifi related reboots)
[*]fixed charging led behavior via paulb-nl
[*]Some interactive changes from fyodor and upstream aosp kernel/common
[*]block driver changes
[*]switched to SIO by default
[/list][/b]
[size=4][b]v3.2:[/size]
[list]
[*]Patched to LK 3.0.66
[*]Built with cfX-Toolchain 4.7-2013.2-1 (check kernel changelog)
[/list][/b]
[size=4][b]v3.1:[/size]
[list]
[*]Patched to LK 3.0.63
[*]Patched BFQ to backported BFQv6
[*]Switched IO Scheduler to BFQ by default
[/list][/b]
[size=4][b]v3.0:[/size]
[list]
[*]Upstream sync changes
[*]Patched to LK 3.0.62
[*]Switched to upstream lzo from xz (far faster and size doesn't matter <<<men take note)
[*]A ton of optimizations from 3.4 kernel upstream, mostly vsprintf and assembly
[*]BIG update, so check github for full commit log
[*]Name courtesy of Lexmazter
[/list][/b]
[size=4][b]v2.8.1:[/size]
[list]
[*]Actually v2.8 and wifi fixed (new zip packing script)
[/list][/b]
[size=4][b]v2.8:[/size]
[list]
[*]Various compiling optimizations (cflags)
[/list][/b]
[size=4][b]v2.7:[/size]
[list]
[*]Patched to linux kernel 3.0.61
[*]TONS of other stuff (too drunk for full changelog)
[/list][/b]
[size=4][b]v2.5:[/size]
[list]
[*]Increased pmem sizes back to the pre-vision sizes to hopefully fix the reboot issue
[/list][/b]
[size=4][b]v2.4:[/size]
[list]
[*]Built with cfX-Toolchain 4.7-2013.1-1 (check toolchain changelog below)
[*]Patched to linux kernel 3.0.59 (check github for lk changelog)
[*]SIO default IO scheduler again
[*]BT up to date with CAF again
[*]Implemented suspend/resume for cpufreq driver from CAF 3.4 kernel mako kernel
[*]Dynamic fsync ported and enabled by default from faux123's android 3.4 mako kernel
[/list][/b]
[size=4][b]v2.3:[/size]
[list]
[*]Interactive gov up to date with AOSP kernel common and has a few tweaks by fyodor (juansheng)
[*]Redid the lower voltages
[*]Interactive gov is default and the recommended governor on SR4 and higher of cfX 4.2, or other roms which use a generic qcom PowerHAL
[*]Edition name by Mustaavalkosta
[/list][/b]
[size=4][b]v2.2:[/size]
[list]
[*]Increase Pmem sizes (should fix random reboots)
[*]Increase some parameters governing the random number generator
[*]Switched to EBI0 from EBI1
[*]Qdsp5v2: misc fixes
[/list][/b]
[size=4][b]v2.1:[/size]
[list]
[*]Built with cfX-Toolchain 4.7-2013.01 (check toolchain changelog below).
[*]Patched to linux kernel 3.0.58
[*]msm: cpufreq: Fix store_powersave_bias to account for sync' CPUs.
[*]cpufreq: Add cpu utilization statistics to aid decisions made by user
[*]msm: cpufreq: Fix the race between dbs_refresh and hotplug.
[*]Input: Send events one packet at a time
[*]msm_fb: Use an exclusive semaphore for Vsync IOCTL
[*]msm: vidc: Fix buffer pool index
[*]video: msm: Remove old post processing overlay integration
[*]msm_fb: Avoid memset of frame buffer during early suspend
[*]msm_fb: Update backlight level on resume after first pan display
[*]msm_fb: display: Add timeout for waiting on update
[*]Killer Bee name by Mustaavalkosta
[/b][/list]
[size=4][b]v2.0:[/size]
[list]
[*]Patched all the way up to linux kernel 3.0.57 (check git for full changelog)
[*]New memory layout from fyodor's vision layout (gives 620mb available to system instead of 594mb)
[*]Tons of CAF kgsl & video/fb commits
[*]Lots of various staging commits
[*]Some block changes
[*]Added a perf defconfig, so only one branch is used now
[/b][/list]
[size=4][b]v1.9:[/size]
[list]
[*]Patched to linux kernel 3.0.54 (check git for full changelog)
[/list][/b]
[size=4][b]v1.8:[/b][/size]
[list]
[*][b]patched to linux kernel 3.0.53 (check git for full changelog)[/b]
[*][b]a few CAF video commits (check git for full changelog)[/b]
[*][b]"Vertical line" bug fixed by paulb-nl [/b]
[*][b]Headset button support fixed by ucxl [/b]
[/list]
[size=4][b]v1.7:[/b][/size]
[list]
[*][b]patched to linux kernel 3.0.52 (check git for full changelog)[/b]
[*][b]quite a few CAF video commits (check git for full changelog)[/b]
[/list]
[size=4][b]v1.6:[/b][/size]
[list]
[*][b]Power imported from CAF[/b]
[*][b]LOTS of kgsl/video/FB commits from CAF and CM's d2 kernel (for full changelog check git)[/b]
[/list]
[size=4][b]v1.5:[/b][/size]
[list]
[*][b]Patched to linux kernel 3.0.51[/b]
[*][b]LOTS of android staging commits[/b]
[/list]
[size=4][b]v1.4:[/b][/size]
[list]
[*][b][PERFORMANCE VARIANT] Re-enabled my aggressive bus oc config that somehow got disabled[/b]
[*][b]regenerated the defconfig (kernel config) to include new Linux Kernel options [/b]
[/list]
[size=4][b]v1.3:[/b][/size]
[list]
[*][b]I patched to linux kernel 3.0.50[/b]
[*][b]sched: Folding nohz load accounting more accurate[/b]
[*][b]mmc: host: sdhci: Allow use of controller's native max blocksize [/b]
[*][b]block/deadline: tweaked for better performance on android[/b]
[*][b]Asynchronous I/O latency to a solid-state disk greatly increased[/b]
[*][b]staging: android/lowmemorykiller: Do not kill kernel threads[/b]
[*][b]SCHEDULER: Autogroup patch group by current user android UID instead of task id[/b]
[*][b]lib: genalloc: back to CAF's version[/b]
[/list]
[size=4][b]v1.2:[/b][/size]
[list]
[*][b]Using -mfloat-abi=hard again (benefits performance in both kernels. Some devices may not boot the performance kernel again).[/b]
[*][b]Built with the newest CFX-Toolchain (linaro gcc4.6.3 instead of 4.7.3 due to performance). Read [URL="https://github.com/codefireX/platform_prebuilts_gcc_linux-x86_arm-eabi-4.6/commit/39eaa57569e0591497594efddc94e7b95dd4181b"]HERE[/URL] to see how it differs from AOSP or Linaro's.[/b]
[*][b]1031 and higher of codefireX nightlies are also using this custom toolchain, so no need to flash stable on top of 1031 or higher.[/b]
[/list]
[size=4][b]v1.1:[/b][/size]
[list]
[*[b]patched to linux kernel 3.0.49. Changelog available [URL="https://github.com/KangBangKreations/KangBanged-7x30/commit/992e8fd3870b7622ccb813a0cd9a69c4ac05eb43"]HERE[/URL][/b]
[*][b]mm: slab: update (simonsimons34)[/b]
[*][b]Revert "Updated DS2746 battery driver" (paulb_nl - from my quick testing it seems to have fixed the battery jumps)[/b]
[*][b]bcmdhd: allow only unicast packets when screen is off (paulb_nl)[/b]
[*][b]lcdc_spade: spade_panel_sleep_in: do nothing (paulb_nl)[/b]
[/list]
[size=4][b]v1.0:[/b][/size]
[list]
[*][b]Reverted back to the heavily patched bfqv4 due to performance[/b]
[*][b]Drop swap cache aggressively[/b]
[*][b]Swaptoken only when swap full (better swap performance when swap is over half full)[/b]
[/list]
[size=4][b]v0.9:[/b][/size]
[list]
[*][b]Using CFX-Toolchain (4.7.3). Info can be found [URL="https://github.com/codefireX/platform_prebuilts_gcc_linux-x86_arm-eabi-4.7/commit/bc54c7449cafe00d24aedeec1c17546d23e8c77e"]HERE[/URL][/b]
[*][b]Patched BFQ to v5[/b]
[*][b]Using new cflag optimizations[/b]
[*][b]Some CAF display commits[/b]
[*][b]zRam bug fixes[/b]
[/list]
[size=4][b]v0.8:[/b][/size]
[list]
[*][b]I patched to Linux Kernel 3.0.48. Full changelog available in the github commit message.[/b]
[/list]
[size=4][b]v0.7:[/b][/size]
[list]
[*][b]Imported CAF's ondemand gov[/b]
[*][b]I patched to Linux Kernel 3.0.47[/b]
[*][b]DeathRay Flashlight mode (very bright) now works[/b]
[/list]
[size=4][b]v0.6 (NO RandomBlame CM builds or nightlies older than 1016 will not be officially supported due to new qcom api):[/b][/size]
[list]
[*][b]Spent hours porting 32 fb/video/display commits to bring up to date with CAF and CM's samsung d2 kernel for the new QCom Display API (fast as ****)[/b]
[*][b]Add full boost pulse support to interactive gov[/b]
[*][b]USB and unknown chargers now use HTC's AC ChargeMode. This means it uses HTC's AC temperature limits, and will switch to USB cable status if too hot. This is the best of both worlds and the same as plugging into your AC charger.[/b]
[*][b]Convert any oom_adj values to oom_score_adj values for backward compatibility.[/b]
[*][b]Update rotator to with CAF's jb_chocolate rotator changes.[/b]
[*][b]staging: android: lowmemorykiller: Don't count reserved free memory[/b]
[*][b]cpufreq: interactive: run at fraction of hispeed_freq when load is low (final interactive commit to bring up to date with Google's interactive gov)[/b]
[/list]
[size=4][b]v0.5.1:[/b][/size]
[list]
[*][b]This is a stable kernel only change for stability (performance kernel is the same as v0.5)[/b]
[*][b]Revert "arm: msm7x30: 1 higher pll2 clockstate to 1.7GHz+"[/b]
[/list]
[size=4][b]v0.5:[/b][/size]
[list]
[*][b]No more ****ty fast charge scripts (read new info).[/b]
[*][b]Fast Charge now enabled by default on non usb storage devices (great for cheap car/wall chargers)[/b]
[*][b]Added additional bus clockstate to stable kernel[/b]
[/list]
[size=4][b]v0.4.2:[/b][/size]
[list]
[*][b]Fixed the fast charge set on/off boot scripts FOR REAL[/b]
[/list]
[size=4][b]v0.4.1:[/b][/size]
[list]
[*][b]Fixed the fast charge set on/off boot scripts[/b]
[/list]
[size=4][b]v0.4:[/b][/size]
[list]
[*][b]Added fast charge, with enable/disable options[/b]
[*][b]Made 1996/2016MHz clockstates more stable (at least for benchmarking)[/b]
[/list]
[size=4][b]v0.3:[/b][/size]
[list]
[*][b]I patched up to 3.0.46 Linux Kernel. Check either github link and click that commit for the full changelog listed in the commit summary.[/b]
[/list]
[size=4][b]v0.2:[/b][/size]
[list]
[*][b]Stability Improvements (reboot/blackscreen bug). These changes will be in the new nightlies as well. If you can't run the performance kernel, you still won't be able to. Stick with the nightlies or the "stable" kernel if on another JB build. [/b]
[/list]
Toolchain Changelog:
Code:
[size=4]cfX-Toolchain 4.7-2013.2-1:[/size][list]
[*]GCC updated to gcc-linaro-4.7-2013.02
[/list]
[size=4]cfX-Toolchain 4.7-2013.1-1:[/size][list]
[*]GCC updated to gcc-linaro-4.7-2013.01
[/list]
[size=4]cfX-Toolchain 4.7-2013.1:[/size][list]
[*]Cloog updated to 0.18.0
[*]Ppl updated to 1.0
[/list]
[size=4]cfX-Toolchain 4.7-2012.12-2:[/size][list]
[*]Gdb updated to linaro-7.5-2012.12-1
[*]Mpc updated to 1.0.1
[/list]
[size=4]cfX-Toolchain 4.7-2012.12:[/size][list]
[*]Disabled simulator target and tui
[*]Graphite enabled
[*]Linaro gcc-4.7-2012.12
[*]Linaro gdb 7.5-2012.09
[*]Binutils 2.22
[*]Gmp 5.0.5
[*]Mpfr 3.1.1
[*]Cloog 0.17.0
[*]Mpc 1.0
[/list]
[/b]
Thanks and Credits:
IOMonster
KozmikKick
Faux123
MDeejay
ShowP1984
Cayniarb
ToastCFH
Kali-
Intervigil
eXistZ
CodeAuroraForum
Bhanvidia
DeamonFish
MrSchapps
Kraizk
ALL Team Codefire members
Google
KushDeck
Aus_azn
BananaCakes
Contactwajeeh
Rafyvitto
dumpsta
cruzin_cruzin
zacgoesrawr
Zanzibar
crackajack
Zelendel
daspazz
jenkem110
paulb_nl
Virtuous Team
Andromadus Team
CyanogenMod Team (all maintainers included)
anyone I forgot
Like my work? Feel free to buy me a beer for early morning dev HERE
LTC: LPEvPYYgHorueAitXXzRHn92TYjgfACDbY
The KB-Performance github
The KB-Stable github
THE PERFORMANCE VARIANT WON'T WORK ON ALL DEVICES. THE STABLE WILL, BUT IS ALREADY INCLUDED IN NIGHTLIES(when built)
Download Stable Kernel
Download Performance Kernel
Any plans for SENSE Kernels ??
ayham-dj said:
Any plans for SENSE Kernels ??
Click to expand...
Click to collapse
I think 4.1.1 is too old to use with 4.1.2 out now, so I really don't see myself making a kernel for old sense roms at all. Also there are issues with the video/kgsl drivers in this kernel and old sense roms.
Edit: We're going to be on ION soon anyway which won't boot on most pmem roms.
yeah synergye!
Downloading now.. i can't wait to test your performance kernel !!
Thank a lot for your awesome work for our device abandoned by HTC !
Welcome back synergye...:beer:
Sent from my HTC Desire HD using Tapatalk 2
can you add slide 2 wake to the kernel ?
http://forum.xda-developers.com/showthread.php?t=1346760
this would be awesome!
RE all the welcome backs: Hello again.
Pnoire: this what the tegra3 guy and I were benching against one another with ;P
rikusuicide said:
can you add slide 2 wake to the kernel ?
http://forum.xda-developers.com/showthread.php?t=1346760
this would be awesome!
Click to expand...
Click to collapse
I might, but due to being awful for battery life, I will probably do an implementation closer to showp1984's with a configurable polling interval, and default off.
Thanks for this - just downloaded and about to install
synergye said:
RE all the welcome backs: Hello again.
Pnoire: this what the tegra3 guy and I were benching against one another with ;P
I might, but due to being awful for battery life, I will probably do an implementation closer to showp1984's with a configurable polling interval, and default off.
Click to expand...
Click to collapse
Ouahh.. i've done two tests with AnTuTu
first test : only CPU and memory --> 2932
second: all test --> 4619
not bad for a DHD (max freq CPU set at 1920MHz of course
synergye said:
RE all the welcome backs: Hello again.
Pnoire: this what the tegra3 guy and I were benching against one another with ;P
I might, but due to being awful for battery life, I will probably do an implementation closer to showp1984's with a configurable polling interval, and default off.
Click to expand...
Click to collapse
sad
I tested, give me bootloop during boot with CodefireX build 1011 (Android 4.1.2).
hadobac said:
I tested, give me bootloop during boot with CodefireX build 1011 (Android 4.1.2).
Click to expand...
Click to collapse
I had flashed it with cm-cfX-20121010-OFFICIAL-ace and its working great so far. No issues here
hadobac said:
I tested, give me bootloop during boot with CodefireX build 1011 (Android 4.1.2).
Click to expand...
Click to collapse
Me, too.
Sent from my Desire HD using xda premium
magic1977 said:
Me, too.
Sent from my Desire HD using xda premium
Click to expand...
Click to collapse
strange.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Yeah really strange. I flashed it once with wiping dalvik and cache. And then without wiping something. Resault is the same. I see the HTC splash screen and then nothing. Waited about 15-20 minutes and then i pull the battery.
Sent from my Desire HD using xda premium
magic1977 said:
Yeah really strange. I flashed it once with wiping dalvik and cache. And then without wiping something. Resault is the same. I see the HTC splash screen and then nothing. Waited about 15-20 minutes and then i pull the battery.
Sent from my Desire HD using xda premium
Click to expand...
Click to collapse
Maybe the download was corrupt?
I downloaded it 3 times. Maybe someone could post md5 so i can check.
Sent from my Desire HD using xda premium
I installed it after full wipe on cm-cfX-20121010-OFFICIAL-ace and it work great boot loop only on dirty flash :good::cyclops::fingers-crossed:
magic1977 said:
I downloaded it 3 times. Maybe someone could post md5 so i can check.
Sent from my Desire HD using xda premium
Click to expand...
Click to collapse
As the source is safe, you can know if the zip is corrupted by trying to open it. If you get an error then the file is uncomplete and you need to download again. Else, the file is ok to be flashed.
EDIT: btw i've flashed kernel .1 after a dirty flash of 1010 and don't experience bootloop or any issue at all.
magic1977 said:
I downloaded it 3 times. Maybe someone could post md5 so i can check.
Sent from my Desire HD using xda premium
Click to expand...
Click to collapse
I did a full wipe too
Code:
KangBang-Kernel-v0.1.zip
3582090 bytes
MD5: 14c28e2f6e7376e83f1b7c61abdec83c

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

Disclaimer:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
* blah blah blah you get the point.
*/​
1# post: Disclamer - special thanks
2# post: Current release & source
3# post: Deprecated versions
4# post: FAQ - bugs - future features
Donator List: (huge thanks for support)
here
Suggested kernel control app: trickstermod
[GUIDE]How to compile a kernel
Credits and Thanks:
dsixda, showp1984, ngtools, faux123, Christopher83, franciscofranco, msm8960 team
XDA:DevDB Information
AOSP Bubba Kernel, Kernel for the HTC One S
Contributors
rmbq
Kernel Special Features:
Version Information
Status: No Longer Updated
Stable Release Date: 2014-07-26
Current Beta Version: 12Apr
Beta Release Date: 2014-04-12
Created 2013-10-08
Last Updated 2014-11-19
Features:
Based on linux 3.4.99
Compiled with linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
Linaro -O3 optimization
avaiable CPU governors: interactive, ondemand, performance, powersave, intellimand, intelliactive
avaiable GPU governors: ondemand, performance, simple
avaiable schedulers: row, deadline, noop, cfq, bfq-v7r5, fiops, sio
Sleepy Plug
NTFS read & write support
exfat support
UTF8
BLN
Voltage control
Sweep2Wake
Double tap 2 wake
Pocket detection
Intelli-thermal
zRam with LZ4 compression
zCache with LZ4 compression
CPU OC to 1.7 GHz
GPU OC to 512MHz (3D) and 320MHZ (2D)
Faux sound control v. 3
Improved alghorithm: SHA1, AES, SQRT, lib/string (glibc version), lib/memcopy (glibc version), XOR (neon)
dynamic fsync by faux123
fastcharge
powersuspend driver (replace earlysuspend)
KCAL control (RGB)
heavily patched memory allocators, RWSEM and mutex (take a look at my github, too many changes to make a list here)
Changelog:
Code:
[JUL 26 2014]
Revert "prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID."
Revert "prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of"
add qseecom support
some defconfig changes
cpufreq: revert CAF's cpu policy save code
sched/cpuidle: reduce IPI storm. Backport upstream 3.16
mm, hugetlb: improve page-fault scalability
mm: per-thread vma caching
Revert "msm: htc: update mem mapping"
[JUL 22 2014]
update compiler to linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
update to 3.4.99
added KCAL control by faux and fixed by me
add F2FS support
[JUL 17 2014]
update to 3.4.98
sync with cm
sync with codeaurora/kk_2.7-stable
update sleepy_plug
bfq: BFQ-v7r5
bugfix from google (see github)
[JUN 29 2014]
Remove JustArchi GCC flags cos they are unstable
update to 3.4.95
fix minor issues in s2w
[JUN 24 2014]
sync with CM
sync with codeaurora/kk_2.7-stable
drivers:input:cy8c_cs: modified IRQ flags (improve s2w)
lower min timeout for dtw2
ext4: Speedup WB_SYNC_ALL pass called from sync(2)
[JUN 19 2014]
update compiler to linaro toolchain 4.9.1 2014.06 optimized for cortex-a15
update to 3.4.94
remove -fdata-sections GCC flag (cause of reboot issue)
sync with CM
sync with codeaurora/kk_2.7-stable
updated sleepy_plug
[JUN 09 2014]
sync with codeaurora/kk_2.7-stable
memset patch to fix bootloops
[JUN 08 2014]
3.4.92
reverted some KGSL CAF patches
removed -ftrace flag
sync with CM
improved int_sqrt algorithm
update bfq to v7-r4
[MAY 28 2014]
sync with codeaurora/kk_2.7-stable
update sleepy_plug
cpufreq: ondemand: Calculate load_at_max_freq based on current policy->max
sched: add do_avg_nr_running to fix avg_nr_running
[MAY 19 2014]
update to 3.4.91
merge codeaurora/kk_2.7_rb1.38
update bfq to v7-r3
sleepy_plug now supports quadcore CPUs
add 1wire headset support (CM)
new GCC flags
update compiler
[MAY 03 2014]
block: support volname for HTC devices with proc/emmc support
[MAY 02 2014]
compiled with Linaro GCC 4.9.1 optimized for cortex-a15
sync with CM
undervolt all components
update devices_htc from Jet jb 4.3 kernel
update headset driver from Jet jb 4.3 kernel
update memory mapping (more RAM avaiable)
[APR 29 2014]
update to 3.4.88
sync with codeaurora/kk_2.7-stable
some other CAF patches
[APR 23 2014]
enable vol to wake
replace powersuspend to earlysuspend everywhere
[APR 22 2014]
update to 3.4.87
merge codeaurora/kk_2.7_rb1.35
re enable elf_dumo and perf_counter (disable them cause instability)
prima driver built with -Os flag for stability
disable vol to wake up
[APR 12 2014]
update to 3.4.86
merge codeaurora/kk_2.7-stable
sync with cm sources
update sleepy_plug
add new powersuspend driver
disable deprecated early suspend driver
optimized char/random
improved mm/oom
improved fair scheduler
[MAR 19 2014]
update compiler to 2014.03
merge codeaurora/kk_2.7_rb1.31
sync with cm sources
disabled kcal (it doesn't work properly) perf counter (deprecated) and elf dump
re-enable kgsl_2d driver
sleepy_plug: switch to use dedicated high priority workqueue
[MAR 03 2014]
Disable module loading again, it causes reboots
removed radio iris driver, it work only as module
remove kgsl post mortem dump
remove kgsl 2d (z180) driver (is it needed?)
KGSL: simple governor: don't modify laziness value when reset laziness count
adjust kgsl_3d0 and _2d1 init_level values
[MAR 01 2014]
merge codeaurora/kk_2.7_rb1.29
fix kgsl_3d0 and kgsl_2d0 init_level (now GPU scale freq from 128MHz to maxFreq)
update sleepy_plug
disable all DEBUG
silence debug info from battery gyro leds and touchescreen drivers
add power-on alarm feature
add power efficent workqueue
compile radio-iris-transport ad module
[FEB 25 2014]
update to 3.4.82
removed intelli_plug and added sleepy_plug
modified voltage tables (affect only normal version)
[FEB 23 2014]
update to 3.4.81
merge codeaurora/kk_2.7_rb1.27
update compiler
added intelliactive governor
removed mp decision and added intelliplug
sync with cm sources
optimized kernel compress for cortex-a15
updated BFQ scheduler to version 7r2
re-added fastcharge
[FEB 02 2014]
changed compiler to [URL="http://forum.xda-developers.com/showthread.php?t=2098133"]this[/URL]
update to 3.4.79
merge codeaurora/kk_2.7_rb1.25
ondemand patches from CAF
input: ewtzmu2: Fix gyro off status checks (credits Erwin Mascher)
using sparsemem instead flatmem
AES with NEON instruction and thumb2 compatible
add support for kernel mode NEON
[JAN 29 2014]
update to 3.4.78
merge codeaurora/kk_2.7_rb1.22
compiled with -O3 optimization
new compiler: linaro toolchain 4.8.3 2014.01 optimized for cortex-a15
interactive governor patches from CAF
add UIO driver
various CAF patches: iommu, memory management, kgsl, sched, spinlock, bam_dmux
update drivers: battery, pm8921, headset, acoustic (credits CM)
msm: HTC: Update htc_restart_handler … (credits CM)
msm: HTC: Update devices_htc.c (credits CM)
msm: HTC: Update emmc partitions code (credits CM)
msm_kcal_ctrl: initial code for generic MSM LCD temperature calibrations (credits faux123, fixed by me)
removed fast charge (for the moment)
[JAN 13 2014]
sync with CM source
msm: mdss: set vsync clock rate (credits Kuogee Hsieh)
sched: set sched_mc_power_savings to 2 for max powersave (credits franciscofranco) [URL="http://elinux.org/images/1/1d/Comparing_Power_Saving_Techniques_For_Multicore_ARM_Platforms.pdf"]here[/URL]
[JAN 07 2014]
remove knock on
back to stock interactive
sync ondemand governor to CM sources
futex patches by CAF
workqueue backported from kernel 3.7 (credits mgr666)
overclock slimbus (better audio)
add generic strlen_user function
add generic strcpy_user function
build all module inside the kernel
do not compile exfat module
[JAN 05 2014]
add knock on feature
update ondemand and interactive goveron to quic/la/kernel/msm-3.10 caf/msm-3.7
fix an L2 cache derp
sched,rt: disable rt_runtime borrowing by defaul (CAF)
sched: remove redundant update_runtime notifier (CAF)
sched: reinitialize rq->next_balance when a CPU is hot-added (CAF)
[JAN 04 2014]
revert Memory model patches of last release
merge codeaurora/kk_2.7_rb1.18
overclock L2 cache
mmc patches from CAF
compiled with linaro toolchain 4.8.3 2013-11 optimized for cortex-a15
[DEC 25 2013]
update to 3.4.75 (skipping 3.4.73)
Memory model patches from CAF
msm krait cpu patches from CAF
[DEC 18 2013]
merge codeaurora/kk_2.7_rb1.16
pocket detection default ON
faux sound control patches by faux123
add NEON accelerated XOR implementation
memory allocator patches from kernel 3.5 and newer, add frontswap
sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire. credit: [URL="http://ripke.com/loadavg/moire"]http://ripke.com/loadavg/moire[/URL]
Async Fsync from HTC thanks faux123
smp and idle patches (look at my github for more details)
[DEC 10 2013]
intellimand: adjust values for msm8960
cpufreq: Fix optimal_freq logic on ramp down
msm: Synchronize CPU frequency on thread migration
cpufreq: Use dedicated high-priority workqueues
cpufreq: ondemand: change freq sync code to use per-CPU kthreads
cpufreq: ondemand: Fix store_powersave_bias() race with hotplug
cpufreq: ondemand: Fix locking in store_powersave_bias
cpufreq: ondemand: Fix locking issue in store_powersave_bias
msm: cpufreq: Only apply driver limits for scaling_min/max_freq writes
cpufreq: break earlier if target_freq is equal to current freq
cpufreq: Save user policy min/max instead of policy min/max during hotplug
msm: pil: Add HTC delay for rmt_storage
Revert "ALSA: fix oops in snd_pcm_info() caused by ASoC DPCM"
added exfat driver by samsung (thanks faux123)
update cm3629 (light and proximity sensor) driver and write a new function for pocket detection
pocket detection: use the new function
[DEC 08 2013]
fix ZRAM compatibility issue with codeaurora/kk_2.7.1 branch
sync with cm:
remove cpu-boots driver
merge codeaurora/kk_2.7.1
msm: iomap: Add HTC memory region mappings
msm: HTC: Use msm_iomap for ram console addresses
cpufreq: Retain only online cpus in managed_policy->cpus
msm: HTC: 8960: enable GTOD helpers, disable DLOAD mode, disable CACHE_ERP
[DEC 06 DEC]
update to 3.4.72
merge codeaurora/kk_2.7_rb1.11
add [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/40b153720a5c9dc4ccc718af2efe89762a1eb3f6"]cpu-boots driver[/URL]
unpdate intellimand to version 5.0 (probably it needs some adjustment for ville)
jiffies conversions: Use compile time constants when possible ([URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/9492ca677bf3e05f8ec834dc6222beaf5f5f42ff"]commit[/URL])
a lot of patches for filesystem, mutex and memory allocators
fix build without GPU oc thx jrior001
make change BLN s2w dt2w pd and atmel244e sysf entrypoint
[DEC 02 2013]
switch toolchain to linaro 2013-11
Merge 'codeaurora/kk_2.7_rb1.10'
Merge 'codeaurora/kk_2.7_rb1.9'
[NOV 25 2013] END 4.3 support
update to 3.4.70
add CPU OC thx to jrior001
add GPU OC thx to jrior001
add dynamic [URL="http://en.wikipedia.org/wiki/Fsync"]fsync[/URL] by faux
optimized algorithms: [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/00160d62428b6330b37a944cd52e43b170b16bef"]ARM RWSEM[/URL], [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/4982e566012dad759f1655db929944dc0e904f2e"]SQRT[/URL],[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/ec6a973caf563a24f64302a39c21ea08d9877d36"]AES,SHA1[/URL]
use [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/794c469b9f39168644cda4f7182936a9b4d434a2"]lib/string[/URL] and [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/e15ca1b27c34a6e7e0dd97e4acbd65d932aec4ac"]lib/memcopy[/URL] glibc version
add Faux123 sound control v3
[NOV 18 2013]
update to 3.4.69
switch toolchain to linaro 2013-10
added simple GPU governor by faux123
fixed build flags mess
min selectable voltage from 850 to 800
msm: vidc: Initialize kernel space stack variables (fix memory leak in UI)
fixed pocket detection, now works also with dt2w
pocket detection disable by default
[NOV 10 2013]
compiled with -Os optimization
[NOV 08 2013]
update to 3.4.68
merged AU_LINUX_ANDROID_JB_2.6.04.03.00.109.111 based on quic/aosp/jb_2.6
Fix for race condition of starting cpu1 when cpu0 in PC.
compiled with linaro -O2 optimization
added double tap 2 wake by flar2 (tap 2 times on home button to wake device)
added pocket detection by flar2 (prevent wake in pocket when s2w or dt2w ON)
disable qcache
enable zRam and zCache
optimize zRam for Android use and update to Samsung SGS 4 update 2 thanks to faux123
removed thermal management by showp1948
added intell-thermal by faux123
added QV version (read FAQ)
switch to [URL="http://www.droidforums.net/forum/koush/36530-kernel-devs-introducing-any-kernel-update-zip-template.html"]any_kernel zip[/URL]
[OCT 26 2013]
update to 3.4.67
[URL="http://www.youtube.com/watch?v=xN3eB2R_aP0"]added s2w by showp1984[/URL] and fixed for AOSP kernel 3.4
added Fast charge support, force cable to AC when is USB cable is plugged
update thermal driver to [URL="https://github.com/showp1984/bricked-ville-3.4"]sense bricked kernel[/URL] with thermal 3phase management by showp
added faux sound control v2.0
applied ck3 patch by Con Kolivas
update ville_defconfig with lastest CM changes: less debug, use FLATMEM if HTC 8960 device, set missing CONTIG_MEM (This replaces the older PMEM reservation option)
[OCT 19 2013]
Add voltage control (thanks faux123)
added wake-on-volume support (credits to CM team)
[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/ab66959eed02d9aff47fc82f67a894e0f4fc67a3"]fix OTG[/URL] (credits to CM team)
Merge AU_LINUX_ANDROID_JB_2.6.04.03.00.109.082 based on CAF quic/aosp/jb_2.6
[OCT 14 2013]
[COLOR="Blue"]Kernel:[/COLOR]
restart from clean CM sources
revert AU_LINUX_ANDROID_JB_2.6.04.03.00.109.053 merge
update to 3.4.66
compiled with [URL="https://github.com/codefireXperiment/prebuilts_gcc_linux-x86_arm_arm-linux-androideabi-4.8"]cfX toolchain 2013-07[/URL]
added [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/eb95b3aff07c00f54df6452b5623e41d16185479"]sio[/URL],[URL="http://www.phoronix.com/scan.php?page=news_item&px=MTAzOTU"]fiops[/URL],[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/90a73354dba7ba46926aff133ac85f3c9fa6aae3"]bfqv6 [/URL]schedulers
added [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/6c87d0e0b3c82ffff8c0704dfde7369872f5602f"]intellimand[/URL] governor
added BLN
added effective timer slack, read more [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/0ae9dfccf63b6d873d916ac7ba63ff5f048e2188"]here[/URL] and [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/be6a15dc6ec46386c8fd2c034187f6fb7d84a793"]here[/URL]
[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/312027fd01edeeeacc4f8183f59a29debf89fae2"]improved build flags[/URL], [URL="http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html"]read more here[/URL]
added Add PR_{GET,SET}_NO_NEW_PRIVS, read more [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/955a7e84d38166a36ad4f71429dcc861396567a3"]here[/URL]
[COLOR="Blue"]Ramdisk:[/COLOR]
change owner of /sys/class/leds/button-backlight/currents to root
change permission of /sys/class/leds/button-backlight/currents to 0444
[SEP 11 2013] V2
remove smartassV2
[SEP 11 2013]
update to linux 3.4.61
use linaro gcc 4.8 2013-08 toolchain
Add button light notification
add fiops and sio schedulers
add SmartassV2 governor
char: Added Fast Random generator support
Implement dynamic timerslack
use -mcpu=cortex-a15 instead -march=armv7-a build flag
update dynamic fsync from faux123
use modified ramdisk (insecure kernel, general queue tweaks, no debugging)
[SEP 09 2013]
update to linux 3.4.60
update to cm sources
add UTF8 support
[JUL 17 2013]
update to linux 3.4.52
add CK3 Con Kolivas optimization
add dynamic fsync by faux123
update ramdisk with lastest CM changes
franciscofranco writeback patch (detail [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/49a59693b0a4ae8cbbf60ba62cd62dd280655e21"]here[/URL])
rwsem algorithm optimization
back to mp_decision, intelli_plug needs more tests
[JUL 11 2013]
New ramdisk
updates from cm sources
add voltage control interface
add intelli plug by faux (replace mp decision)
add intellimand governor
add BFQv6 scheduler
add optimized AES SHA1 and RWSEM algorithms
add some NEON optimization
switch to XZ compression
[JUN 27 2013] Fix
modified ramdisk
add vfpv4-d16 build flag to vfp
compiled with cfX toolchain based on linaro 4.8.2
[JUN 27 2013]
sync with cm sources
fix reception bug
update ramdisk to lastest from cm
add NTFS support
compiled with -Os optimization
[JUN 19 2013]
first release
If you like my work please consider making a donation, I spend almost all my free time on making this kernel the best
i'll buy another phone to continue to support the android development!
THIS KERNEL WILL NOT WORK ON NEW ROMS
Download:
androidfilehost folder: http://www.androidfilehost.com/?w=files&flid=12455
normalToQV: http://www.androidfilehost.com/?fid=23501681358544069
(if you don't see the new version just wait some minutes, it's uploading)
Kernel Source: Github
Android 4.3:
Features:
Based on linux 3.4.70
Compiled with linaro toolchain 2013-10
Linaro -Os optimization
avaiable governors: interactive, ondemand, performance, powersave, intellimand
avaiable schedulers: row, deadline, noop, cfq, bfqv6, fiops, sio
MP Decision
NTFS read & write support
UTF8
BLN
Voltage control
Sweep2Wake
Double tap 2 wake
Pocket detection
Intelli-thermal
Fast charge
zRam with LZ4 compression
zCache with LZ4 compression
simple GPU governor by faux123
CPU OC to 1.7 GHz
GPU OC to 512MHz (3D) and 320MHZ (2D)
Faux sound control v. 3
Improved alghorithm: SHA1, AES, SQRT, lib/string (glibc version), lib/memcopy (glibc version), RWSEM
dynamic fsync by faux123
Changelog:
Code:
[NOV 25 2013]
update to 3.4.70
add CPU OC thx to jrior001
add GPU OC thx to jrior001
add dynamic [URL="http://en.wikipedia.org/wiki/Fsync"]fsync[/URL] by faux
optimized algorithms: [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/00160d62428b6330b37a944cd52e43b170b16bef"]ARM RWSEM[/URL], [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/4982e566012dad759f1655db929944dc0e904f2e"]SQRT[/URL],[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/ec6a973caf563a24f64302a39c21ea08d9877d36"]AES,SHA1[/URL]
use [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/794c469b9f39168644cda4f7182936a9b4d434a2"]lib/string[/URL] and [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/e15ca1b27c34a6e7e0dd97e4acbd65d932aec4ac"]lib/memcopy[/URL] glibc version
add Faux123 sound control v3
[NOV 18 2013]
update to 3.4.69
switch toolchain to linaro 2013-10
added simple GPU governor by faux123
fixed build flags mess
min selectable voltage from 850 to 800
msm: vidc: Initialize kernel space stack variables (fix memory leak in UI)
fixed pocket detection, now works also with dt2w
pocket detection disable by default
[NOV 10 2013]
compiled with -Os optimization
[NOV 08 2013]
update to 3.4.68
merged AU_LINUX_ANDROID_JB_2.6.04.03.00.109.111 based on quic/aosp/jb_2.6
Fix for race condition of starting cpu1 when cpu0 in PC.
compiled with linaro -O2 optimization
added double tap 2 wake by flar2 (tap 2 times on home button to wake device)
added pocket detection by flar2 (prevent wake in pocket when s2w or dt2w ON)
disable qcache
enable zRam and zCache
optimize zRam for Android use and update to Samsung SGS 4 update 2 thanks to faux123
removed thermal management by showp1948
added intell-thermal by faux123
added QV version (read FAQ)
switch to [URL="http://www.droidforums.net/forum/koush/36530-kernel-devs-introducing-any-kernel-update-zip-template.html"]any_kernel zip[/URL]
[OCT 26 2013]
update to 3.4.67
[URL="http://www.youtube.com/watch?v=xN3eB2R_aP0"]added s2w by showp1984[/URL] and fixed for AOSP kernel 3.4
added Fast charge support, force cable to AC when is USB cable is plugged
update thermal driver to [URL="https://github.com/showp1984/bricked-ville-3.4"]sense bricked kernel[/URL] with thermal 3phase management by showp
added faux sound control v2.0
applied ck3 patch by Con Kolivas
update ville_defconfig with lastest CM changes: less debug, use FLATMEM if HTC 8960 device, set missing CONTIG_MEM (This replaces the older PMEM reservation option)
[OCT 19 2013]
Add voltage control (thanks faux123)
added wake-on-volume support (credits to CM team)
[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/ab66959eed02d9aff47fc82f67a894e0f4fc67a3"]fix OTG[/URL] (credits to CM team)
Merge AU_LINUX_ANDROID_JB_2.6.04.03.00.109.082 based on CAF quic/aosp/jb_2.6
[OCT 14 2013]
[COLOR="Blue"]Kernel:[/COLOR]
restart from clean CM sources
revert AU_LINUX_ANDROID_JB_2.6.04.03.00.109.053 merge
update to 3.4.66
compiled with [URL="https://github.com/codefireXperiment/prebuilts_gcc_linux-x86_arm_arm-linux-androideabi-4.8"]cfX toolchain 2013-07[/URL]
added [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/eb95b3aff07c00f54df6452b5623e41d16185479"]sio[/URL],[URL="http://www.phoronix.com/scan.php?page=news_item&px=MTAzOTU"]fiops[/URL],[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/90a73354dba7ba46926aff133ac85f3c9fa6aae3"]bfqv6 [/URL]schedulers
added [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/6c87d0e0b3c82ffff8c0704dfde7369872f5602f"]intellimand[/URL] governor
added BLN
added effective timer slack, read more [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/0ae9dfccf63b6d873d916ac7ba63ff5f048e2188"]here[/URL] and [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/be6a15dc6ec46386c8fd2c034187f6fb7d84a793"]here[/URL]
[URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/312027fd01edeeeacc4f8183f59a29debf89fae2"]improved build flags[/URL], [URL="http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html"]read more here[/URL]
added Add PR_{GET,SET}_NO_NEW_PRIVS, read more [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/955a7e84d38166a36ad4f71429dcc861396567a3"]here[/URL]
[COLOR="Blue"]Ramdisk:[/COLOR]
change owner of /sys/class/leds/button-backlight/currents to root
change permission of /sys/class/leds/button-backlight/currents to 0444
[SEP 11 2013] V2
remove smartassV2
[SEP 11 2013]
update to linux 3.4.61
use linaro gcc 4.8 2013-08 toolchain
Add button light notification
add fiops and sio schedulers
add SmartassV2 governor
char: Added Fast Random generator support
Implement dynamic timerslack
use -mcpu=cortex-a15 instead -march=armv7-a build flag
update dynamic fsync from faux123
use modified ramdisk (insecure kernel, general queue tweaks, no debugging)
[SEP 09 2013]
update to linux 3.4.60
update to cm sources
add UTF8 support
[JUL 17 2013]
update to linux 3.4.52
add CK3 Con Kolivas optimization
add dynamic fsync by faux123
update ramdisk with lastest CM changes
franciscofranco writeback patch (detail [URL="https://github.com/rmbq/android_kernel_htc_msm8960/commit/49a59693b0a4ae8cbbf60ba62cd62dd280655e21"]here[/URL])
rwsem algorithm optimization
back to mp_decision, intelli_plug needs more tests
[JUL 11 2013]
New ramdisk
updates from cm sources
add voltage control interface
add intelli plug by faux (replace mp decision)
add intellimand governor
add BFQv6 scheduler
add optimized AES SHA1 and RWSEM algorithms
add some NEON optimization
switch to XZ compression
[JUN 27 2013] Fix
modified ramdisk
add vfpv4-d16 build flag to vfp
compiled with cfX toolchain based on linaro 4.8.2
[JUN 27 2013]
sync with cm sources
fix reception bug
update ramdisk to lastest from cm
add NTFS support
compiled with -Os optimization
[JUN 19 2013]
first release
Consider a donation if you like my work
Download:
NOV 25 2013 (only S-OFF): http://www.androidfilehost.com/?fid=23212708291681557
NOV 25 2013 QV (only S-OFF): http://www.androidfilehost.com/?fid=23212708291681573
Kernel Source: Github
Ramdisk Source: Github
FAQ​where are older versions?
here -> https://www.mediafire.com/#2qnn5ox68806f (old older version)​Q: What is QV version?
A: QV means "qualcomm voltages". qualcomm made a patch and stuck all voltages to 1150mv to improve stability. QV version has got all 1150 mv for each freq (like older 3.4 kernels).​Q: I plugged in my pen drive but i can't found it
A: look in /mnt/usbdisk folder.​Q: What's and how i enable/disable fastcharge?
A: with fast charge an USB charger will recognized as AC charger. it won't charge your phone faster with an AC charger. it may not charge your phone faster with an USB charger.
with the usb cable UNPLUGGED edit /sys/kernel/fast_charge/force_fast_charge:
0 -> disable
1 -> enable
than plug in the cable​Q: i've got random reboots, what do you need?
A: first read here
write this info:
kernel version
ROM
governor
scheduler
undervolted? if yes don't undervolt
QV version? if no use it
last_kmsg
Q: what's BLN and how i enable/disable it?
with BLN on when you received a notify the soft key will blink.
to enable/disable edit /sys/class/leds/button-backlight/blink_buttons:
0 -> disable
1 -> enable​Q: what's s2w and how i enable/disable it?
Sweep2wake allows you to wake up your device by swiping your finger across the capacitive buttons from left to right. Swiping from right to left will put it back to sleep (sweep2sleep).
to enable/disable edit /sys/android_touch/sweep2wake:
0 -> disable
1 -> enable​Q: what's dt2w and how i enable/disable it?
DoubleTap2Wake (DT2W) allows you to wake the device by double tapping the capacitive buttons.
to enable/disable edit /sys/android_touch/doubletap2wake:
0 -> disable
1 -> enable​Q: what's knock on and how i enable/disable it?
knock on allows you to wake the device by double tapping on the touchscreen.
to enable/disable edit /sys/android_touchscreen/knock_on:
0 -> disable
1 -> enable​What's sleepy_plug and how can i activate/deactivate it?
sleepy plug it's an hotplug driver (it decide when turn on the second core) i wrote. it's an experimental driver and it may have got performance problem. if you notice some decrease in performance report it.
to enable/disable edit /sys/module/sleepy_plug/parameters/sleepy_plug_active:
0 -> disable
1 -> enable​Install instruction:​S-OFF:
- flash the zip in recovery
- wipe caches (optional)​S-ON:
Windows & Linux:
flash kernel zip.
stay in recovery after flashing the zip
from command prompt (ot terminal) on PC:
Code:
adb pull /tmp/newboot.img
adb reboot-bootloader
fastboot flash boot newboot.img
fastboot reboot
OLD S-ON INSTRUCTION:
Linux:
- flash awesome kernel cleaning script: http://d-h.st/HDi (optional)
- flash the zip in recovery (obsolete, for older kernels with modules outside built outside)
- use zImage switcher to make a new boot.img
-
Code:
fastboot flash boot newBoot.img
Windows: (don't ask me how it works or everything else, i don't know and they have got tutorials on their site)
- repack your ROM boot.img with mine zImage using Virtuous Ten Studio http://www.virtuous-ten-studio.com/index.php/downloads
-
Code:
fastboot flash boot newBoot.img
Bugs 3.4:
None
If you want to use my kernel for your ROM just use it and cit me in credits
AW: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1
i see alot of kernel development goin on!
Good work, keep it up!
Gesendet von meinem HTC One S mit Tapatalk 2
nice to see more kernel devving going on. Trying this now.
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
mteezey said:
nice to see more kernel devving going on. Trying this now.
Click to expand...
Click to collapse
Agreed, great to see!
mteezey said:
nice to see more kernel devving going on. Trying this now.
Click to expand...
Click to collapse
Got to love how klin stopped and now we got 3 wtf is going on lol.
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
If someone gets this extracted and in zip format db it for me. Not at home ATM.
Sent from my One S using Tapatalk 2
Glad to see more kernels being developed for 4.2 man! Grazie! one question; im not 100% sure what you mean about replacing the file using root explorer. What are we supposed to replace it with?
dr_rick13 said:
Glad to see more kernels being developed for 4.2 man! Grazie! one question; im not 100% sure what you mean about replacing the file using root explorer. What are we supposed to replace it with?
Click to expand...
Click to collapse
Thx!
simply, go to /system/lib/modules and delete prima_wlan.ko
copy the prima_wlan.ko included in the zip file and paste it in /system/lib/modules
set correct permissions
got it?
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
dr_rick13 said:
Glad to see more kernels being developed for 4.2 man! Grazie! one question; im not 100% sure what you mean about replacing the file using root explorer. What are we supposed to replace it with?
Click to expand...
Click to collapse
Extract the "prima_wlan.ko" from the kernel file and replace the file with same name in system/lib/module in your phone. Then set permissions on it and then reboot.
Sent from my One S using Xparent Skyblue Tapatalk 2
LikeaG2root said:
Extract the "prima_wlan.ko" from the kernel file and replace the file with same name in system/lib/module in your phone. Then set permissions on it and then reboot.
Sent from my One S using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
rmbq said:
Thx!
simply, go to /system/lib/modules and delete prima_wlan.ko
copy the prima_wlan.ko included in the zip file and paste it in /system/lib/modules
set correct permissions
got it?
Click to expand...
Click to collapse
Thanks fellas, my brain is running a little slow today Out of thanks for the day, will 'thank you' when I have more.
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
dr_rick13 pm bro
Sent from my HTC One S using xda app-developers app
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
Please learn how to use git commit -c or git cherry-pick so I can track new fixes and people know where you sourced from
Sent from my HTC One XL using xda app-developers app
Re: [KERNEL][S4][AOSP][4.2] Bubba Kernel v1 - 05/02/2013
Zarboz said:
Please learn how to use git commit -c or git cherry-pick so I can track new fixes and people know where you sourced from
Sent from my HTC One XL using xda app-developers app
Click to expand...
Click to collapse
Sorry, my fault
Sent from my One S using xda app-developers app
New version avaiable in the 1st post!
R: [KERNEL][S4][AOSP][4.2][7Feb] Bubba Kernel v1.5
rmbq said:
New version avaiable in the 1st post!
Click to expand...
Click to collapse
Sweep to wake is working???. Did you test it?
Sent whit HTC ONE S
dave il barbaro said:
Sweep to wake is working???. Did you test it?
Sent whit HTC ONE S
Click to expand...
Click to collapse
yes it is working without issue, i'm using it for two days
Re: [KERNEL][S4][AOSP][4.2][7Feb] Bubba Kernel v1.5
rmbq said:
Sorry, my fault
Sent from my One S using xda app-developers app
Click to expand...
Click to collapse
It makes tracking patches easier
Sent from my HTC One XL using xda app-developers app

[KERNEL][Sense ICS] JMB-Kernel | Modded - r7.3 (3.0.84) | Stock - r1.0 (3.0.16) |

Hi dudes,
here are my 3 ICS kernel for our HTC Sensation/XE/4G.
It supports Sense 3.6, 4.0 and 4.1.
You want more stuff in the kernel?! Tell me.
Default Modded
Stock
Ultimate
The Default one, is a modded one, that includes several stuff. You can find what exactly is in, on the post. Its thought for daily use, and my favourit.
The Stock one, is a clean and overclocked Kernel from the HTC Source (3.33.401.154).
With it you can get the best battery.
The Ultimate, is the same kernel as the Default Modded, but it can be overclocked to 2,2Ghz. Its made for guys that want to experiment with their Sensation. I don't recommend to use it as daily driver. STILL IN BUILD
I'm not responsible for anything that happens.
Hit thanks if you like my work
​
Default Modded Version
Features:
Linux 3.0.84
Based on SebastianFM Overclocked (Link)
For Sensation /XE/4G
Overclocked CPU, CPU voltage change
Overclock GPU in AROMA
USB OTG support
Governors: badass, lagfree, interactive, conservative, smartassV2, powersave, ondemand, performance
Choose in Governors special settings in AROMA
Choose CPU Freq for both or each CPU
2D and 3D overlock
Undervolting
Softswap and ZRAM support, choose in AROMA
Scheduler: deadline, cfq, sio, noop
Choose your minfree
Disable Logcat
VSync, FSync, Frandom support
Disable, dimm your button backlight
Sweep2Wake
Fastcharge
Built in thermal
Built in mpdecision
Notification LED Duration Mod
BCM4329 and BCMDHD driver
Performance optimized
Changelog:
Code:
r7.3 (02. July)
[LIST]
[*]patched to 3.0.84
[/LIST]
r7.1 (01. July)
[LIST]
[*]set higher temps for thermald
[*]added new gpu driver
[*]added stuff in AROMA props Harbir
[*]hopefully fixed AROMA :)
[/LIST]
r6.1 (22. June)
[LIST]
[*]patched to 3.0.83
[*]fixed AROMA setting with IO Scheduler
[/LIST]
r6.0 (18. June)
[LIST]
[*]fixed thermald and mpdecision not showing up on kernel tuner app
[*]finetuning on thermald and mpdecision
[*]forget the other stuff :eek:
[/LIST]
rC5.2 (15. June) [COLOR=Red][B](It is a Release Candidate)[/B][/COLOR]
[LIST]
[*]Linux 3.0.82 patch
[*]re-added inbuilt mpdecision
[*]fixed 2D OC
[*]fixed badass stuff
[*]added FSync
[*]added frandom
[/LIST]
rC5.1 (12. June) [COLOR=Red][B](It is a Release Candidate)[/B][/COLOR]
[LIST]
[*]removed built in mpdecision (hopefully it fix battery drain)
[*]fixed aroma
[*]fixed thermal
[*]Rebuilt from "scratch" (clean SebastianFM Base)
[/LIST]
r4.0 (09. June) :good:
[LIST]
[*]patched to Linux 3.0.81
[*]built in mpdecision
[*]built in thermal
[/LIST]
r3.0 (03. June)
[LIST]
[*] updated to Linux 3.0.80
[/LIST]
r2.0 (31. May)
[LIST]
[*]fix Sweep2Wake
[*]fix fastcharge
[/LIST]
r1.0
[LIST]
[*]Initial Upload
[/LIST]
Bugs:
None?!
Tell me
Thanks to:
SebastianFM for the Kernel Source
XxXPachaXxX
android1234567
mikrosmile
Jonny
axetilen
Bratwurstmobil
Yank555
showp1984
Grogg88
Faux123
you should be here? PM me
Download:
Default modded Version --> Download
(Default Version, with mods)
Source/Compiler/Info:
Source: Github
Compiler: GCC 4.3
Branch: Android 4.0.3/4.0.4
Kernel Version: 3.0.84
defconfig: JMB
I'm not responsible for anything​
Stock
Features:
Linux 3.0.16
Based on HTC's Source
For Sensation /XE/4G
Overclocked CPU, CPU voltage change
BCM4329 and BCMDHD driver
Changelog:
Code:
r1.0
[LIST]
[*]Initial Upload
[/LIST]
Bugs:
None
Thanks to:
HTC for the Kernel Source
android1234567
mikrosmile
Jonny
you should be here? PM me
Download:
Stock Version --> Download
(Clean Stock Version)
Source/Compiler/Info:
Source: Github
Compiler: GCC 4.3
Branch: Android 4.0.3/4.0.4
Kernel Version: 3.0.16
defconfig: JMB-Stock
I'm not responsible for anything​
Ultimate
reserved
Oc to 2.2ghz!!!! awesome
Sent from my HTC Sensation Z710e using xda app-developers app
I'll be expecting a lot more from our device now. Great job!
cool, TripNRaVeR was working on a 2.2 Ghz overclock, but he ended up moving to the One X....that will be the last mod i use before i fry my device and move to something new
@BanB
Are you using the latest msm_mpdecision from show-p or not?
Nice to see one more kernel dev. Good job man.
I'll post review about graphics and battery life(I adore this). Great job. The link is on.
link uploaded
HI BanB, when will the 2.2 ghz be ready, i really want that version, because me hardware can handle 1944mhz for now.... Thanks for the new kernel
The 2.2 Ghz will come in a few weeks, school is busy
s2w doesn't work at least for me....
I wonder if anyone tried the 2.2ghz frequencies? I saw the TripNRaver project but I never tried it.
I'm assuming *not all* Sensations are able to handle this sort of frequencies in a stable manner?
Also, did you updated the voltage table with the frequency?
Thank's a lot for your work man! :good:
slobo2712 said:
s2w doesn't work at least for me....
Click to expand...
Click to collapse
I added in Bugs list
Hi BanB,
Would you be able to add the FauxSound Audio/Sound-TPA feature. Which is mentioned in the app description so the Fauxsound TPA will be compatible with this kernel.
Thanks,
DM
PopaStefanx said:
HI BanB, when will the 2.2 ghz be ready, i really want that version, because me hardware can handle 1944mhz for now.... Thanks for the new kernel
Click to expand...
Click to collapse
Can your phone OC to 1.944GHz at 1350mV? If you have to go higher than 1350mV then your phone isn't actually running at 1.944GHz because the voltage regulator refuses to enforce anything above 1350mV.
BTW, BanB, congrats on your first kernel release
EDIT: Meant to say 1400mV, not 1350mV
Sent from my HTC Sensation using xda app-developers app
darkmantra said:
Hi BanB,
Would you be able to add the FauxSound Audio/Sound-TPA feature. Which is mentioned in the app description so the Fauxsound TPA will be compatible with this kernel.
Thanks,
DM
Click to expand...
Click to collapse
I can look for this
android1234567 said:
...
BTW, BanB, congrats on your first kernel release
Click to expand...
Click to collapse
Thank you Without you it weren't happened
Sensation is not made for 2.2GHz. IIt will end with an overheating problem.

[KERNEL][M4][AOSP][4.4][16Jul] Bubba Kernel

Disclaimer:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
* blah blah blah you get the point.
*/​
1# post: Disclamer - special thanks
2# post: Current release & source
3# post: FAQ - bugs - future features
Donator List: (huge thanks for support)
here
Suggested kernel control app: trickstermod
I don't know if it works because i don't own the device but i have got ville which is pretty similar
[GUIDE]How to compile a kernel
Credits and Thanks:
dsixda, showp1984, ngtools, faux123, Christopher83, franciscofranco, msm8960 team, jrior001, flar2
XDA:DevDB Information
AOSP Bubba Kernel, Kernel for the HTC One Mini
Contributors
rmbq
Kernel Special Features:
Version Information
Status: Testing
Beta Release Date: 2014-07-16
Created 2014-05-06
Last Updated 2014-07-16
Reserved
Features:
Based on linux 3.4.99
Compiled with linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
Linaro -O3 optimization
avaiable CPU governors: interactive, ondemand, performance, powersave, intellimand, intelliactive
avaiable GPU governors: ondemand, performance, simple
avaiable schedulers: row, deadline, noop, cfq, bfqv7r5, fiops, sio
Sleepy Plug
NTFS read & write support
exfat support
UTF8
Voltage control
Sweep2Wake
Double tap 2 wake
Pocket detection
Intelli-thermal
zRam with LZ4 compression
zCache with LZ4 compression
CPU OC to 1.7 GHz
GPU OC to 512MHz (3D) and 320MHZ (2D)
Faux sound control v. 3
Improved alghorithm: SHA1, AES, SQRT, lib/string (glibc version), lib/memcopy (glibc version), XOR (neon)
dynamic fsync by faux123
fastcharge
powersuspend driver (replace earlysuspend)
KCAL control (RGB)
heavly patched memory allocators, RWSEM and mutex (take a look at my github, too many changes to make a list here)
Changelog:
Code:
[JUL 26 2014]
Revert "prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID."
Revert "prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of"
add qseecom support
some defconfig changes
cpufreq: revert CAF's cpu policy save code
sched/cpuidle: reduce IPI storm. Backport upstream 3.16
mm, hugetlb: improve page-fault scalability
mm: per-thread vma caching
update compiler to linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
update to 3.4.99
added KCAL control by faux and fixed by me
add F2FS support
Revert "msm: htc: update mem mapping"
[JUL 17 2014]
update to 3.4.98
sync with cm
sync with codeaurora/kk_2.7-stable
update sleepy_plug
bfq: BFQ-v7r5
bugfix from google (see github)
[JUN 29 2014]
Remove JustArchi GCC flags cos they are unstable
update to 3.4.95
sync with CM
sync with codeaurora/kk_2.7-stable
ext4: Speedup WB_SYNC_ALL pass called from sync(2)
[JUN 19 2014]
update compiler to linaro toolchain 4.9.1 2014.06 optimized for cortex-a15
update to 3.4.94
remove -fdata-sections GCC flag (cause of reboot issue)
sync with CM
sync with codeaurora/kk_2.7-stable
updated sleepy_plug
update ramdisk to 19Jun CM
[JUN 08 2014]
3.4.92
reverted some KGSL CAF patches
removed -ftrace flag
sync with CM
improved int_sqrt algorithm
update bfq to v7-r4
[MAY 27 2014]
update to 3.4.91
sync with codeaurora/kk_2.7-stable
update bfq to v7-r3
new GCC flags
update compiler
added sleepy_plug
removed mp decision
[MAY 13 2014]
fix mic
disable GPU OC
[MAY 08 2014]
fix GPU oc
add l2w and su2w
[MAY 07 2014] 2nd
added intelliactive and intellimand governors
added sio and bfqv7r2 schedulers,
added s2w dt2w credits to flar2
CPU OC
GPU OC
[MAY 07 2014]
fix boot
[MAY 06 2014]
first release
If you like my work please consider making a donation, I spend almost all my free time on making this kernel the best
i'll buy another phone to continue to support the android development!
Download:
androidfilehost folder: http://www.androidfilehost.com/?w=files&flid=16974
(if you don't see the new version just wait some minutes, it's uploading)
Kernel Source: Github
Reserved
Q: i've got random reboots, what do you need?
A: first read here
write this info:
kernel version
ROM
governor
scheduler
undervolted? if yes don't undervolt
QV version? if no use it
last_kmsg
Q: I plugged in my pen drive but i can't found it
A: look in /mnt/usbdisk folder.​Q: What's and how i enable/disable fastcharge?
A: with fast charge the max mA the phone can receive from an USB cable is increased
with the usb cable UNPLUGGED edit /sys/kernel/fast_charge/force_fast_charge:
0 -> disable
1 -> enable
than plug in the cable​Q: what's BLN and how i enable/disable it?
with BLN on when you received a notify the soft key will blink.
to enable/disable edit /sys/class/leds/button-backlight/blink_buttons:
0 -> disable
1 -> enable​Q: what's s2w and how i enable/disable it?
Sweep2wake allows you to wake up your device by swiping your finger across the capacitive buttons from left to right. Swiping from right to left will put it back to sleep (sweep2sleep).
to enable/disable edit /sys/android_touch/sweep2wake:
0 -> disable
1 -> enable​Q: what's dt2w and how i enable/disable it?
DoubleTap2Wake (DT2W) allows you to wake the device by double tapping the capacitive buttons.
to enable/disable edit /sys/android_touch/doubletap2wake:
0 -> disable
1 -> enable​What's sleepy_plug and how can i activate/deactivate it?
sleepy plug it's an hotplug driver (it decide when turn on the second core) i wrote. it's an experimental driver and it may have got performance problem. if you notice some decrease in performance report it.
to enable/disable edit /sys/module/sleepy_plug/parameters/sleepy_plug_active:
0 -> disable
1 -> enable​Install instruction:​S-OFF:
- flash the zip in recovery
- wipe caches (optional)​S-ON:
Windows & Linux:
flash kernel zip.
stay in recovery after flashing the zip
from command prompt (ot terminal) on PC:
Code:
adb pull /tmp/newboot.img
adb reboot-bootloader
fastboot flash boot newboot.img
fastboot reboot
OLD S-ON INSTRUCTION:
Linux:
- flash awesome kernel cleaning script: http://d-h.st/HDi (optional)
- flash the zip in recovery (obsolete, for older kernels with modules outside built outside)
- use zImage switcher to make a new boot.img
-
Code:
fastboot flash boot newBoot.img
Windows: (don't ask me how it works or everything else, i don't know and they have got tutorials on their site)
- repack your ROM boot.img with mine zImage using Virtuous Ten Studio http://www.virtuous-ten-studio.com/index.php/downloads
-
Code:
fastboot flash boot newBoot.img
Bugs 3.4:
None
If you want to use my kernel for your ROM just use it and cit me in credits
rmbq said:
Install instruction:​
Code:
fastboot flash boot.img
Click to expand...
Click to collapse
should be "fastboot flash boot boot.img", or is this also working without "boot"?
will give it a try! thanks man!
any suggestions for governor and schedulers?
EDIT: eh, guess its not working with CM...so sad.
theodorius123 said:
should be "fastboot flash boot boot.img", or is this also working without "boot"?
will give it a try! thanks man!
any suggestions for governor and schedulers?
EDIT: eh, guess its not working with CM...so sad.
Click to expand...
Click to collapse
yes i missed a "boot" sorry xD
btw as i said in OP i don't own the device so i don't know if it's booting or not, i'll make some tries(the first one failed lol)!
rmbq said:
btw as i said in OP i don't own the device so i don't know if it's booting or not, i'll make some tries(the first one failed lol)!
Click to expand...
Click to collapse
Can confirm: I get a bootloop with current CM nightly. only HTC-logo, black screen, HTC-logo, black screen,.....
i made another version try that one!
rmbq said:
i made another version try that one!
Click to expand...
Click to collapse
it`s booting. but I have only interactive, conservative, ondemand, powersave and performance as governors. intellimand and intelliactive are missing.
also bfqv7r2 and sio schedulers are missing.
will test a little bit more...
theodorius123 said:
it`s booting. but I have only interactive, conservative, ondemand, powersave and performance as governors. intellimand and intelliactive are missing.
also bfqv7r2 and sio schedulers are missing.
will test a little bit more...
Click to expand...
Click to collapse
thanks for testing, when you have time can you tell which features are missing from the list in the second post?
post #2:
I don't know how to check all this (give me an "how to"), but I can tell you, that my(!) main features are not working: BLN, S2W and DT2W
S2W was working twice, out of ~50 attempts. and yes, I changed the values to "1".
maybe check this. S2W and DT2W are just working perfect in this kernel!
post #3:
- /sys/class/leds/button-backlight/blink_buttons:
it is only "blink". not "blink_buttons"
- cant find this: /sys/module/sleepy_plug/parameters/sleepy_plug_active
EDIT: In general for DT2W I would prefer double tapping somewhere on the screen and not only on the capacitive buttons...
EDIT2: ...and sorry. no more testing for me today. my bed (and tomorrow morning my boss) is waiting...
Is this kernel only for aosp roms like pacman or can I use it on any sense 5.5 roms too?
BLN not working for me. s2w sometimes i have to swipe more in order to wake. cpu and gpu oc not working. Max is still stock. Everything else is good for me. When will we be able to map the htc logo as a button?
Thanks for testing i'll make another version asap
And no this is only for aosp
new version is up,
added governor, schedulers, s2w dt2w l2w su2w, CPU OC and GPU OC (check if there's all this stuff)
there aren't: BLN, sleepy_plug, -O3 optimization (only O2 atm), voltage control
also faux sound control should be working
Is it compatible with STOCK ROMs, or only CM based ROMs?
JaroslavHruska said:
Is it compatible with STOCK ROMs, or only CM based ROMs?
Click to expand...
Click to collapse
look at the title or 2 posts back you'll find your answer
I am sorry, I was confused with these 2 sentences:
"EDIT: eh, guess its not working with CM...so sad."
vs.
"AOSP"
JaroslavHruska said:
I am sorry, I was confused with these 2 sentences:
"EDIT: eh, guess its not working with CM...so sad."
vs.
"AOSP"
Click to expand...
Click to collapse
cos the first kernel i made wasn't booting, btw it's for CM or AOSP, not for SENSE
rmbq said:
......l2w su2w.....
Click to expand...
Click to collapse
can you explain?
theodorius123 said:
can you explain?
Click to expand...
Click to collapse
l2w: logo2wake
su2w: sweep up 2 wake
you can enable them in
/sys/android_touch/<file>
or /sys/android_key/<file>

[KERNEL] [N5X] [7.1.1] [3.10.104] [UBER 6.3.1] Flash Kernel - v2.2 - December 25th

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction
Hello everyone, this is my kernel for the Nexus 6P ported on over to the Nexus 5X. I won't claim that you will get hours upon hours of battery life (even though optimization really is my focus here) but I will say I have added quite a few options for you guys and the optimization patches should improve your experience with this device. Hopefully you enjoy! Please read this entire post, most of your questions will be answered in here!
Features
Here are the major features of the kernel (feel free to explore Github)
Upstream Linux versions 3.10.74-3.10.104
Updated to the December security patch
Patches for some CVEs
Upstream patches from CAF and Linux
Support for overclocking to 2016 MHz on big and 1632 MHz on little (stock values by default)
Support for underclocking to 302MHz on big and little (stock values by default)
CPU governors: chill, conservative, despair, elementalx, impulse, intelliactive, interactive, ironactive, ondemand, performance, powersave, and zzmoove
Touchboost fully disabled
MSM_Hotplug v2.4
Backlight dimmer
KCAL color control
Adreno Boost
Adreno Idler
Wake gestures (sweep2wake, doubletap2wake, sweep2sleep, and camera launch gesture)
Faux Sound Control with high performance audio
Upstream zram commits (from 3.18)
UKSM support (disabled by default)
Upstream zswap commits (up to 4.7)
I/O schedulers: bfq, cfq, deadline, fiops, maple, noop, row, sioplus, and zen
Wakelock controls
TCP algorithms: bic, cubic, highspeed, htcp, hybia, illinois, lp, reno, scalable, vegas, veno, westwood (default)
Kexec patch for MultiROM support
F2FS support
Compiled with an Uber-based 6.3.1 toolchain located here
Makefile optimizations
Forced encryption and dm-verity disabled
Hides bootloader unlock from SafetyNet (can still fail through other means)
Built with AnyKernel2 thanks to @osm0sis
Downloads
7.1.1 (2.x): Main
7.0 (1.x): Main
Installation
If you are on stock:
If you are on the stock kernel: flash the kernel zip and reboot
If you are on a custom kernel: flash the stock boot image matching your build number, flash the kernel zip, and reboot
If you are on a custom ROM:
If you are on the kernel that came with your ROM: flash the kernel zip and reboot
If you are on a custom kernel: dirty flash your ROM zip, flash the kernel zip, and reboot
Upgrading from one Flash version to the other:
Just flash the kernel zip and reboot
Changelog
Nougat 7.1.1
Code:
[B]2.2[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=70246171]release post[/URL])
[LIST]
[*]Adaptive low memory killer (disabled by default)
[*]Process reclaim
[*]Other low memory killer improvements
[*]Binder improvements
[*]Improved Adreno Idler (thanks to [user=5051294]@frap129[/user])
[*]Improved Makefile flags (thanks to [user=5284595]@kwoktopus[/user])
[*][URL="https://lwn.net/Articles/621046/"]Lazytime[/URL] for EXT4 and F2FS
[*]Toolchain bumped to 6.3.1
[/LIST]
[B]2.1[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=70112916]release post[/URL])
[LIST]
[*]Upstream F2FS commits
[*]Upstream sdcardfs commits
[*]Upstream blu_active commits (thanks to [user=5996255]@jollaman999[/user])
[*]Remove ironactive (we already have all of the upstream CAF commits that make it special in interactive)
[*]Improvements to cpuidle
[*]Improvements to locking
[*]Double tap to wake now works when either halfscreen or fullscreen is selected in KA
[*]Improvements to Live Display (work with KCAL thanks to [user=4684315]@flar2[/user])
[*]Improvements to wakelocks (disable a few by default to improve battery)
[*]Attempt to fix 2% battery drop issue
[*]Security patches here and there
[/LIST]
[B]2.0[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69964903]release post[/URL])
[LIST]
[*]Updated for the December security patch
[*]Merged some Pixel security patches
[*]Updated AnyKernel
[*]New toolchain (Uber 6.2.1 with some Linaro opts)
[/LIST]
[B]2.0-rc1[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69859710]release post[/URL])
[LIST]
[*]Same as 1.5 but with DP source as a base
[/LIST]
Nougat 7.0/7.1
Code:
[B]1.5[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69859703]release post[/URL])
[LIST]
[*]Fixes for sdcardfs on certain ROMs like CM 14.1
[*]Upstream patches from CAF and Linux
[*]Allow big cluster to be boosted without a task on it
[*]UKSM improvements
[*]Add exFAT driver
[*]Detect when kernel is flashed on an unsupported Android version
[*]Add support for FK Updater's performance profiles
[/LIST]
[B]1.4[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69513015]release post[/URL])
[LIST]
[*]Chill governor updates (thanks to [user=5051294]@frap129[/user])
[*]Upstream CAF and Linux patches
[*]Fixed some compiler warnings (thanks to [user=4231562]@Yoinx[/user])
[/LIST]
[B]1.3[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69264478]release post[/URL])
[LIST]
[*]Upstream Linux patches for vmstat and libgcc
[*]Backported MDSS and GPU patches from Marlin (thanks to [user=3292224]@franciscofranco[/user])
[*]Low memory killer improvements
[/LIST]
[B]1.2[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69247027]release post[/URL])
[LIST]
[*]Linux version 3.10.104
[*]Move back to a constant tickrate of 300HZ
[*]Add a patch to hide bootloader unlock from SafetyNet
[/LIST]
[B]1.1[/B] ([URL=http://forum.xda-developers.com/showthread.php?p=69183236]release post[/URL])
[LIST]
[*]Add ironactive governor
[*]msm_hotplug
[*]Underclocking to 302 MHz
[/LIST]
[B]1.0[/B]
[LIST]
[*]Initial release
[*]List of features above
[*]Compiled with latest Linaro 6.2 from Uber repo
[/LIST]
Customization
Since the whole point of installing a custom kernel is to have more options available to you, here is some information regarding the tweaks available in the kernel.
Default settings: the phone will boot with the following settings (the ones I recommend sticking with if you are not into tweaking):
Governors: interactive on both clusters
Frequencies: 384-1440MHz on little and 633-1824MHz on big
Input boost: 1248MHz on little and 768MHz on big for 40ms
core_control on, msm_thermal off
Wake gestures and backlight dimmer disabled
Adreno Idler enabled
Sound controls set at 0
ZRAM enabled and UKSM disabled
zen at 128kb
Governor profiles: If you want to try and squeeze a little bit more battery life out of your phone or increase performance, you may consider exploring governor profiles. Below are some links to various posts containing links/descriptions of these profiles:
From @soniCron - HawkTail, GlassFish, and FairPark
From @Alcolawl - list of profiles
Virtual memory: I have implemented ZRAM and UKSM in the kernel and there are many ways to tweak these. I would only recommend messing with vm_swappiness but you can read about ZRAM tunables here and UKSM tunables here. To make the kernel use more or less ZRAM, type this in a terminal emulator (or change it in EX Kernel Manager under the Memory section):
Code:
echo # > /proc/sys/vm/swappiness
This number can be between 0 and 100. 0 will make the kernel swap to ZRAM only if there is an out of memory error, 100 will make the kernel swap to ZRAM as much as it can. I set it at 15 by default, I would set it to 1 if you don't want to use it as much as 1 will use the minimum amount possible (basically when the phone is super under load). Highest I would go is 60 (which is the stock/default value in the Linux kernel). Read more about swappiness here. Additionally, UKSM is disabled by default. You can either enable it with EXKM or echo 1 to the sys path /sys/kernel/mm/uksm/run
Frequently asked questions
1.1 Q: I am having an issue, can you help me?
1.1 A: I am not a superstar kernel developer but I will certainly try my best. First, start by reading the release posts, as I may make note of a particular issue. Also search the thread to see if I have discussed it before. If you see nothing, please provide me with a dmesg/last_kmsg and logcat, your ROM/kernel version, and a detailed description of the issue. With that, I'll do my best to assist you.
Code:
adb logcat -d > logcat.txt
adb shell dmesg > dmesg.txt
1.2 Q: Can you add xyz feature?
1.2 A: If you link me the commits or tell me what kernel you had the feature in, I can take a look at them. I will not go digging super hard for commits and I will ignore requests that don't include this information. I won't promise that I will merge every request but I will always take it into consideration.
1.3 Q: How do I control the kernel?
1.3 A: I'd recommend using either @flar2's EX Kernel Manager or @Yoinx's Kernel Adiutor-Mod; both are extremely solid and have given me no issues.
Thanks to:
@REV3NT3CH for showing me what a good developer and kernel looks like
The various developers for their patches (@ak, @Buckmarble, @flar2, @franciscofranco, @frap129, @imoseyon, @jollaman999, and @Yank555 to name a few)
@osm0sis for AnyKernel2
@mdalexca for helping me with some kernel compilation issues and the prebuilt toolchain I use
@kwoktopus for giving me good advice on Makefile flags and other patches
@malybru for my nifty new signature and thread banner!
All of you guys for viewing the thread
A note about donations
Quite a few people have asked to donate to me in the past and I have turned them down. I am not in this for the money, this is my hobby, something I truly enjoy. If you truly want to donate to something (it is not expected in the slightest), I recommend an entity like the Open Source Initiative, the Free Software Foundation, XDA, or any one of the people I have thanked in the OP. Additionally, you are free to copy any and all of my work; the only thing I request is that you not ask for donations as well (though I can't really enforce this lol). Thank you.
Kernel source links
7.0: https://github.com/nathanchance/bullhead
DISCLAIMER: I openly welcome off topic in my threads. Mods, please do not clean off topic discussion and users, do not complain about off topic discussion here. I may direct you to another thread if it is so suited but I won't have the discussion cleaned. Thank you.
XDA:DevDB Information
Flash Kernel, Kernel for the LG Nexus 5X
Contributors
The Flash
Source Code: https://github.com/nathanchance/bullhead
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 2.2 - Nougat 7.1.1
Stable Release Date: 2016-12-25
Created 2016-10-15
Last Updated 2019-07-02
I wanted to dedicate this post to my devoted testers:
@SM210
@Mrcactuseater
@vampire36
@ulxerker
@Psychofrantics
@Char_G
Without them, this project would not have been possible as I do not own this device. On that note, I will need a testing group for future builds, as there will be no guarantee the builds works properly without in-depth testing. If you would like to participate, join my Hangouts group through this link.
Reserved
First
Are you THE FLASH ?? Barry it's you ???
Thank you so much gentleman for your work
It's good to see good devs contributing to our N5X.
So welcome
This is one awesome kernel! And I don't just say that!!! The audio is what amazes me on exterior speaker and all ways. Fast, smooth and snappy it is! My phone isn't even close to what it was like before!! Amazing work!!!! Thanks for bringing us your great kernel even know you don't have a Bullhead! Appreciate all you do bud! It was an honor to be one of the testers. Running like a dream!! :good:
Sent from my Nexus 5X using XDA Labs
SM210 said:
This is one awesome kernel! And I don't just say that!!! The audio is what amazes me on exterior speaker and all ways. Fast, smooth and snappy it is! My phone isn't even close to what it was like before!! Amazing work!!!! Thanks for bringing us your great kernel even know you don't have a Bullhead! Appreciate all you do bud! It was an honor to test. Running like a dream!! :good:
Click to expand...
Click to collapse
How many Kernels are you using at the same?
crian said:
How many Kernels are you using at the same?
Click to expand...
Click to collapse
Just this. And will be staying here.
Sent from my Nexus 5X using XDA Labs
Thanks a lot for this, really. I have been waiting for kernel like this! Everything works beyond expectations. ?
bootloop on Pure Nexus nougat.
keaheng said:
bootloop on Pure Nexus nougat.
Click to expand...
Click to collapse
Can you give some more info?
TW1ST3D1NS4N3 said:
Can you give some more info?
Click to expand...
Click to collapse
i reflashed the rom and then kernel, phone bootloop
and I boot into the recovery agian and flash this one http://forum.xda-developers.com/and...-fed-patcher-v8-forceencrypt-disable-t3234422
it's working now.
keaheng said:
i reflashed the rom and then kernel, phone bootloop
and I boot into the recovery agian and flash this one http://forum.xda-developers.com/and...-fed-patcher-v8-forceencrypt-disable-t3234422
it's working now.
Click to expand...
Click to collapse
Did you wipe anything at all?
For me everything runs well, I am on PN
Nougat, thank mod
Sent from my Nexus 5X using XDA-Developers mobile app
TW1ST3D1NS4N3 said:
Did you wipe anything at all?
Click to expand...
Click to collapse
No bro
keaheng said:
No bro
Click to expand...
Click to collapse
Try a clean flash then.
Namautoenx said:
For me everything runs well, I am on PN
Nougat, thank mod
Sent from my Nexus 5X using XDA-Developers mobile app
Click to expand...
Click to collapse
Same here, no loops, runs well. Thx dev !
Sent from my Pixel XL using XDA-Developers mobile app
I'm on PureNexus nougat too and it works fine. No bootloop.
@The Flash thanks for making this kernel :laugh:

Categories

Resources