Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,371 Members 39,263 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL] [KK] [L] [Linear 2.9] [Linaro GCC 4.9.1] [08/07]

Tip us?
 
hottix
Old
(Last edited by hottix; 8th August 2014 at 02:35 PM.) Reason: 2.9
#1  
hottix's Avatar
Member - OP
Thanks Meter 274
Posts: 86
Join Date: Nov 2012

 
DONATE TO ME
Default [KERNEL] [KK] [L] [Linear 2.9] [Linaro GCC 4.9.1] [08/07]




This is my idea about the kernel: close to stock, simple and "linear".
I just added things that i need for a good kernel and i thought I'd share it with the community.





Features:
  • Aosp kernel
  • Based on android-msm-hammerhead-3.4-kitkat-mr2
  • Based on android-msm-hammerhead-3.4-l-preview (L version)
  • Stock mpdecision
  • Build with Linaro GCC 4.9.1-2014.07 toolchain optimized for Cortex-A15
  • LCD_KCAL: Color Control driver
  • Faux Sound Control
  • Voltage Control
  • Kexec-Hardboot support
  • Gamma Control
  • USB Fast Charge
  • Sweep2wake, doubletap2wake, sweep2sleep,
  • Prevent touches during phone calls, fullscreen option
  • wake timeout
  • Option to disable touch wake with power button
  • SIO, FIOPS,ZEN and BFQ i/o schedulers
  • backlight dimmer
  • network speed tweak
  • exFAT support
  • ntfs support
  • call recording support
  • Fixed some warning
  • Always on rgb led support
  • Reduce minimum panel brightness
  • kgsl: Report GPU frequency correctly
  • ...and more on my git..



How to flash:
  • Reflash your rom if you were using another custom kernel on your rom
  • Flash kernel - no need to wipe
  • reboot
  • enjoy




Download:


KK
Linear 2.9


L-preview
Linear 2.9-L




If you like my work, please feel free to donate ^_^

In $

In €




Changelog:


 

Linear 2.9 / 2.9-L - Aug 7, 2014

Sound Control: expose direct register manipulations to userspace
Sound Control: Misc clean up for newer WCD9xxx SOCs
Sound Control: let register lock be dependent on different hw revisions
Sound Control: separate locking mechanism for recording and playback
msm: use of swp{b} is deprecated for ARMv6+
ARM: be strict about FP exceptions in kernel mode
ARM: add support for kernel mode NEON
ARM: crypto: add NEON accelerated XOR implementation
ARM: 7835/2: fix modular build of xor_blocks() with NEON enabled
ARM: only allow kernel mode neon with AEABI


Linear 2.8-L - Aug 1, 2014

Merge android-msm-hammerhead-3.4-l-preview source code


Linear 2.8 - Aug 1, 2014

bug fixes "Color Profile" in Linear configuration
Add /dev/frandom support


Linear 2.7 - Jul 30, 2014

Add more tcp: westwood, htcp, vegas, veno, illinois
set westwood by default
BFQv7r4 scheduler
update BFQ-v7r5
add ZEN scheduler
Add backlight dimmer option
More gradual levels for backlight dimmer mod (based on @MZHou module)
Backlight dimmer mod: more gradual transitions
backlight: fix a bug where the screen would be completely dark
backlight: clean the code
backlight: add minimum backlight brightness module param
backlight: scale max current when the brightness level is below 15


Add more linear setting:

CPU MAX frequency
CPU Governor settings
TCP congestion
GPU MAX frequency
add more Color Profile
backlight dimmer


Linear 2.6 - Jul 23, 2014

Linear Configuration file: set your kernel (credit to flar2)
disable s2w/dt2w after timeout
disable timeout by default
Revert "slimbus: overclock root freq



Linear 2.5 - Jul 19, 2014

Build with Linaro GCC 4.9.1-2014.07 Cortex-A15
Option to disable touch wake with power button
Add option for sweep2sleep only
fullscreen option
Make power button also disable irq_wake in touch driver
fix unbalanced irq_wake
arm/dts: hammerhead: Optimize panel init/uninit sequence


Linear 2.4 - Jul 17, 2014

exFAT support
fs: exfat: Update to v1.2.8
stereo call recording support
slimbus: overclock root freq
msm: thermal: Update to speed up bootup time
softirq: reduce latencies
add gpu simple governor
ntfs support enabled


Linear 2.3 - Jul 11, 2014

ARM: dts: msm: increase adsp heap size for msm8974
arm/dt: msm8974: Increase "ib" values for VIDC DDR bandwidth request
net: loopback: set default mtu to 64K
ARM: dts: msm: Increase OCMEM BW request for video decode
prevent touches during phone calls while screen is off and s2w or dt2w are enabled
revert lge: remove console enabler function call


Linear 2.2 - Jul 9, 2014

Linux 3.40: clean source, close to stock
block: deadline: Optimize for non-rotational
Linaro GCC 4.9.1: fix compilation warnings
bcmdhd: reducir wakelocks
block: row: add magic values
optimized ARM RWSEM algorithm
Revert ofast
ARM: Use -mcpu=cortex-a15 when targeting MSM Krait CPUs
Added sweep2wake, doubletap2wake, sweep2sleep
sound: hack faux sound
Increase size charging percentage Indicator


Linear 2.1 - Jul 1, 2014

Ofast optimization level
Percentage indicator charge when phone is off
ARM/dt: set values minimum panel brightness to 4
mm: push readahead to 512kB
various fixes


Linear 2.0 - Jun 27, 2014

fix miui compatibility
msm_thermal.c:improvement
Input: Send events one packet at a time
mdss: dsi: Resolving memory leak in parse dsi commands
leds: leds-qpnp: Set proper flash duration
msm: Improve qpnp-vibrator scheduling
deadline: Allow 0ms deadline latency, increase the read speed
deadline: enable default


Linear 1.9 - Jun 23, 2014

Linux 3.4.94
Add SIO and FIOPS i/o schedulers
fiops: enable default
Reduce minimum panel brightness to 3
msm: kgsl: Allow GPU start to run in a high priority queue
msm: kgsl: Add an input handler to power up the GPU on a touch event
msm: kgsl: Fix nice level for higher priority GPU start thread
msm: kgsl: Schedule adreno_start in a high priority workqueue




Previous versions:


AndroidFileHost




Credits:
  • savoca
  • Christopher83
  • faux123
  • showp1984
  • flar2
  • neobuddy89
  • franciscofranco
  • myfluxi
  • Cl3Kener
  • mzhou
  • Tasssadar
  • CriGio
  • #lafossa
  • Google
  • Xda
  • ..and anyone i've forgotten ...


Linear G+ community


Source


Banner:








LINEAR CONFIGURATION


You can change many parameters with this configuration file located in /etc/linear.conf without using 3rd party applications.
Use a file manager with root permissions, making sure you have permission to read/write and the latest version of busybox.

Note - Applications such as trickster there may be conflicts... use script or app, otherwise any post reporting issue will be ignored. This kernel has mpdecision stock, a touch of boost frequency 1267 MHz, this frequency will be displayed as a minimum in applications such as trickster mod. Minimum frequency is 300 MHz.



To apply changes there're 3 methods available:

1 - reboot device

2 - install a file manager with run script feature as root browser, go to directory /etc/init.d and open (as a script) 99linear.

3 - Android terminal emulator and type these commands:
Code:
su
./etc/init.d/99linear

To verify configuration options open log file in /data/local/tmp/linear.log




OPTIONS:


CPU MAX freq

CPU Governor

i/o Scheduler

Readahead Buffer Size

TCP congestion

Vibration

Sweep2wake Sweep2sleep - 0 to disable sweep2wake / 1 to enable sweep2wake and sweep2sleep / 2 to enable sweep2sleep only

Doubletap2Wake - 0 to disable doubletap2wake / 1 to enable doubletap2wake bottom / 2 to enabled doubletap2wake fullscreen

Power Key Toggles S2W/DT2W - 1 to disable s2w and dt2w with the power button turning the screen off

S2W/DT2W Timeout - enter number of minutes to automatically disable Doubletap2wake and sweep2wake

Fastcharge - 0 off / 1 on

GPU Governor - ondemand/simple/performance

GPU MAX freq

Color Profile - 44 profiles

Backlight dimmer - 0 off / 1 on - minimum brightness lower than stock
The Following 70 Users Say Thank You to hottix For This Useful Post: [ Click to Expand ]
 
shadowdevil
Old
(Last edited by shadowdevil; 14th July 2014 at 08:36 AM.)
#2  
shadowdevil's Avatar
Senior Member
Thanks Meter 90
Posts: 287
Join Date: Apr 2012
Thanks !
 
vobiscum
Old
#3  
vobiscum's Avatar
Member
Thanks Meter 19
Posts: 55
Join Date: Jun 2014
Thanks man for your work.

amazing.. [emoji122][emoji122][emoji122]


Device Nexus 5
KK 4.4.4

OLD Device Nexus S
Rom Oxygen - GB 2.3.7
Rom CM9 - ICS 4.0.4
Rom BakedROM - JB 4.1.2
Rom JellyShot - JB 4.2.2
Rom Carbon - JB 4.3.1
Rom KitKang - KK 4.4.2

<------- if i help you, remember THANKS, thanks
The Following User Says Thank You to vobiscum For This Useful Post: [ Click to Expand ]
 
asparaz43
Old
#4  
asparaz43's Avatar
Member
Thanks Meter 46
Posts: 95
Join Date: Dec 2012
Location: Genova
Thank you for your excellent work
The Following User Says Thank You to asparaz43 For This Useful Post: [ Click to Expand ]
 
alex71184
Old
#5  
alex71184's Avatar
Member
Thanks Meter 6
Posts: 33
Join Date: Feb 2014
congratulations for great kernel! Thank you
The Following User Says Thank You to alex71184 For This Useful Post: [ Click to Expand ]
 
dario2106
Old
#6  
Member
Thanks Meter 24
Posts: 70
Join Date: Mar 2012
thanks for this great kernel
Thank you Hottix
 
S_mario
Old
#7  
S_mario's Avatar
Member
Thanks Meter 21
Posts: 33
Join Date: Mar 2013
Location: Montappone
Thanks hottix for this amazing kernel! Good luck

Inviato dal mio Nexus 5 utilizzando Tapatalk
The Following User Says Thank You to S_mario For This Useful Post: [ Click to Expand ]
 
Yusei
Old
#8  
Yusei's Avatar
Senior Member
Thanks Meter 290
Posts: 1,158
Join Date: Nov 2010
Location: Porto
Almost 200 downloads and only a few thanks?

Really?

Thx dude, I'll test this on the next few days.

Sent from my Nexus 5 using XDA Premium 4 mobile app
Ex-Phones- Nokia 5800/X10 Mini Pro/LG P500/LG P970/Nexus S/Lumia 710/Xperia S/G Note/GSIII/G Gio/HTC One S/HTC Radar/iPhone 4S/Nexus7/S3 i9305/Huawei G300/Lumia 620/Nexus7-2013/Nexus 4
Current devices - Android TV mk808/Nexus 5


The Following User Says Thank You to Yusei For This Useful Post: [ Click to Expand ]
 
varun.katoch
Old
#9  
varun.katoch's Avatar
Senior Member
Thanks Meter 53
Posts: 133
Join Date: Nov 2011
Location: 6 Feet from the edge
Thanks mate...Flashing now ..
HAPPY TO HELP

Model : LG Nexus 5
Android Version : 4.4.4
Mod/Rom : Mahdi-Rom 2.7 (Keeps my N5 Cool)
The Following User Says Thank You to varun.katoch For This Useful Post: [ Click to Expand ]
 
the.emilio
Old
#10  
the.emilio's Avatar
Senior Member
Thanks Meter 1,337
Posts: 1,638
Join Date: Nov 2011
Location: Northern Mexico... AKA South Central Texas
Thanks for another kernel option. Testing now on my ROM.
Nexus 5 AOSP Rom - The.Emilio Unchained - http://forum.xda-developers.com/goog...ained-t2774999
Sprint HTC One - Radios (flashable in recovery) - http://forum.xda-developers.com/show...36&postcount=1

The Following User Says Thank You to the.emilio For This Useful Post: [ Click to Expand ]
THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes