[Kernel][JB][SENSE] Arc-Reactor [3.4.40][S2W][linaro] [-O3][WIP]

thicklizard

Inactive Recognized Developer
Jul 8, 2011
3,081
5,107
263
Crown Point
I bring you a JB sense kernel based off the 3.16 OTA.

What is a kernel?

In computing, the kernel is the main component of most computer operating systems; it is a bridge between applications and the actual data processing done at the hardware level. The kernel's responsibilities include managing the system's resources (the communication between hardware and software components).


  • Features
    Cpu overclocking - I include 3 variants 1.7, 1.8, and max OC of 1.998
    Gpu overcloking - Controlable with various apps on the market (I prefer kernel tuner)
    Cpu governors - intellidemand, badass, interactive, conservitive, powersave, performance, lionheart, and ondemand
    IO schedulers - fiops, sio, cfq, vr, zen, deadline, and noop
    Sweep2wake with extra gestures - see bottom of OP
    Compiled with the latest Linaro 4.7 toolchain - this is usually updated once a month here http://www.linaro.org/downloads/
    Linaro -O3 optimized with extra build flags
    Sound control
    96k Audio support
    HTC perflock disabled
    Voltage control - Controlable with various apps on the market (I prefer kernel tuner)
    USB fast charge support



Code:
Changelog rls 0.3 (3/15/13)
sysfs entry for thermal
sched: Improve scalability via 'CPU buddies'
Autogroup patch group by current user android UID
sched: Change rq->nr_running to unsigned int
sched/nohz: Fix rq->cpu_load calculations some more
sched/nohz: Fix rq->cpu_load[] calculations 
sched: Fix load avg vs cpu-hotplug
sched: Fix nohz_idle_balance()
LIB: ARM: use generic strnlen_user and strncpy_from_user
LIB: ARM: use generic strnlen_user and strncpy_from_user
boost l2 for max oc variant 
linux 3.4.13
update config remove system write protection
add intelidemand governor
update LZO 

Changelog rls 0.2 (3/11/13)
OC GPU with sysfs boots at qualcomm spec
sched: clock wrap bug in 2.6.35-stable kills scheduling
reclaim som ram from logger
Support cpu hotplug in no PM cases
reduce notification light current
camera flash functions to 5 percent 
add fiops scheduler
Use AC charging for unknown chargers.
enable arch power
ARM: net: JIT compiler for packet filters enabled by default
switch do_fsync() to fget_light() 
add Lionheart
add Badass 
add sysfs vdd table
adjust l2 and other files cleaned up 

Changelog rls 0.11 (3/7/13)
 update clocks to qualcom spec
 add usb fastcharge
update topology drivers
Make vfs_cache_pressure configurable
 mm: adjust vm ratios, vm_dirty_ratio from 20 to 10
add 192 freq step
 boost l2 and fsb
  support for frandom number generator
optimize slack
 add vr sio zen schedulers
 tweak deadline
aio.c: Asynchronous I/O latency to a solid-state disk greatly increased
set LOAD_FREQ to (4*HZ+61)
increase readahead
disable gentle fair sleepers
 lib/memcopy use glib version
 lib/string use glib version
optimize slub
allow pipe compiling
vfp compile with neon
add s2w
all linaro O3 fix ups 
makefile options for 03 and buildflags for linaro
fix compile errors for linaro 4.7.3
Initial Import

Things to do

Mpdecidsion

INFO

Code:
Sweep2wake settings

Sweep gestures (sweep finger across the capacitive buttons on bottom of phone):

    Sweep2sleep: with screen on, swipe right to left to turn screen off
    Sweep2power: with screen on, swipe left to right for power menu (simulated 2.5 second power button hold)
    Sweep2snap: with screen on: swipe left to right and press Home within 2 seconds for a screen snap
    Sweep2wake: with screen off: swipe left to right to turn screen on (disabled by default for better battery life)
    Phantom volume down: with screen on, touch between back and home for vol-down one notch
    Phantom volume up: with screen on, touch between home and recent apps for vol-up one notch
    Sweep2mute: with screen on, swipe from home to back for vol full down (vibrate)
    Sweep2loud: with screen on, swipe from home to recent apps for max volume
    Sweep2skipback: with screen off, swipe from home to back to skip back a track (when listening to music)
    Sweep2skipforward: with screen off, swipe from home to recent apps to skip forward a track (when listening to music)
    Sweep2deepsleep: with screen off, swipe from right to left to temporarily disable sweeps while screen is off (until screen is turned back on: prevents pocket sweeps) 

[IMG]http://forum.xda-developers.com/attachment.php?attachmentid=1479575&stc=1&d=1352840345[/IMG]

Sound control sys entries:
sys/kernel/sound control
Adjust values save these will get rewritten upon reboot. Head phone gain is 5 right 5 left default not 55 incase you edit that.

Instructions
- MUST be s-off
- Boot to recovery
- Wipe cache
- Flash zip


Downloads

Insrtuctions for error reporting

- Please attach the last kmsg. this file is located in proc/last_kmsg

Disclaimer
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* or anything else that may happen to your phone.
*
*/


If you like my work don't hesitate to buy me more coffee :D


Special thanks to
- Ca1ne
- Showp1984
- Zarboz
- Chad Goodman
- MikeyXDA
- MikeC84

My source per GPL
 
Last edited:

imLIT_

Member
Oct 29, 2012
43
3
0
Re: [Kernel][JB][SENSE] Arc-Reactor [3.4.10][S2W][WIP]

Thank you for bringing this!!!

Sent from my EVO using xda app-developers app
 

smw6180

Senior Member
Oct 31, 2007
6,078
4,841
0
Bear, DE
Very nice TL. Has anyone tried this on viper? Any whackyness?

Sent from my EVO using xda premium
I've looked through the changes and I'm going to flash it myself...and I don't see anything wonky. Technically it SHOULD work out just fine, as most of the kernel tuning we do is via sysctl.conf. The problem is I don't know what all has been tweaked...I'll be grabbing a new sysctl output once I download it and see the diffs and what kind of impacts there might be.

Having said all of that we're still not officially supporting 3rd party kernels. But I'll do my best to vet it out for you folks that prefer to run one.
 

treIII

Senior Member
Jul 10, 2012
3,175
581
0
Re: [Kernel][JB][SENSE] Arc-Reactor [3.4.10][S2W][WIP]

TL doesn't Mess around. I just can't leave cm 10.1 black edition by sweeper rat yet with TL aosp kernel. Thanks TL for all you contribute

Sent from my Nexus 7 using xda app-developers app
 
  • Like
Reactions: thicklizard

almony8

Senior Member
Dec 6, 2010
910
227
0
Re: [Kernel][JB][SENSE] Arc-Reactor [3.4.10][S2W][WIP]

I just flashed this onto viper and so far so good. Seems to be running great, s2w works fine, just make sure to enable it in tweaks before it will work. Just flashed though, so not much to say yet, but it seems fine.

Sent from my EVO using Xparent BlueTapatalk 2
 

luigi311

Senior Member
Feb 18, 2011
1,384
291
0
Re: [Kernel][JB][SENSE] Arc-Reactor [3.4.10][S2W][WIP]

Ur the man thick. Nice name for the kernel btw

Sent from my EVO using xda premium
 
Last edited:
  • Like
Reactions: thicklizard