Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
maxwen
Old
(Last edited by maxwen; 14th May 2013 at 11:45 AM.)
#1  
Senior Member - OP
Thanks Meter 2805
Posts: 2,714
Join Date: Jun 2012

 
DONATE TO ME
Default [Kernel] [PrimoU] 2013/05/14 Titanium-KISS

Hi

IMPORTANT: Before you continue reading!
At the moment this kernel is only for PrimoU devices
and NOT for PrimoC (CDMA) devices

IMPORTANT for CM users
If you want to use CM or a CM based ROM choose the correct kernel!
CM9 needs a different ramdisk.

With the permission from Adi_Pat I would like to announce my kernel build
All credits to this should go to Adi_Pat cause he did the hard work for
providing me with all I need. Therefore also the name has been
choosen to make this clearly visible.

This is just a first announcement.
I will upload the first image tonight

Principle #1:
Provide a kernel that is as close to stock as possible but provides
additional features that will improve functionality and/or performance

Some Q&A you might have
Q: what stands KISS for?
A: Keep It Simple, Stupid!
My aim is to provide a kernel that is 99.99% stock with just additional features
In the first build you will see
-OC (max 1.5)
-UV
-2 new goveners (lionheart, smartassV2)
-1 new scheduler (sio)

Q:will you provide a kernel with 2.0GHz?
A:No - since I want to provide a stable kernel and
my experiences showed that only using up to 1.5 is reliable

If you like to have higher frequencies you can
1) use Adi_Pats kernel
2) build your own kernel based on my changes and enable higher frequencies

Q:can I build my own kernel based on your changes?
A:sure. I will provide a patch file that can be applied on the original
sources provided from HTC

Q:how "close" is your kernel to stock?
A:actually if you dont use OC, UV and use govener=ondemand and
scheduler=deadline this IS stock kernel

Q:can you include feature "xy" in your build?
A:I will check and if it is not "against" principle #1 -Yes

Q:will you test your kernel builds?
A:yes. I will only provide images that have been tested to
1) boot without problems
2) have run through a basic test trying to include all important features
3) run some benchmarks to confirm that changes are not decreasing basic performance values

Q:how to install your kernel?
A:like titanium kernel
fastboot flash boot

regards

max
The Following 77 Users Say Thank You to maxwen For This Useful Post: [ Click to Expand ]
 
maxwen
Old
(Last edited by maxwen; 14th May 2013 at 11:51 AM.)
#2  
Senior Member - OP
Thanks Meter 2805
Posts: 2,714
Join Date: Jun 2012

 
DONATE TO ME
I provide a complete folder with all downloads
please look at the following "naming conventions" for selecting
the correct image for your ROM!

Images containing "OC-UV" will have presets
Images containing "CM9" are for CM9
Images containing "CM10" are for CM10
All others are for stock (sense) ROMs

Download:
http://www.mediafire.com/?e1chs7tzcsstc

github:
https://github.com/maxwen/primou-kernel-KISS

Build 201305141244
Changelog:
-upgrade to BFQ v6
-added smartmax CPU governor

Build 201305062354
Changelog:
-enabled fauxsound support
-added double tap to wake
allows waking up the device by double tapping on the lower part of the screen - disabled by default
sysfs interface:
Code:
/sys/android_touch/s2w_allow_double_tap
1 -enable 0 - disable
Code:
/sys/android_touch/s2w_double_tap_barrier_y
default 1300 - y-barrier below that taps will be recognized
Code:
/sys/android_touch/s2w_double_tap_duration
default 150 - time in ms for minimal duration between the two taps
Code:
/sys/android_touch/s2w_double_tap_threshold
default 150 - threshold how much longer the duration can be then duration

Build 201302150054

Changelog:
-added fast charge
to enable run
Code:
echo 1 > /sys/class/power_supply/battery/fast_charge
------------------------------------------------------------------------------------

Build 201212251804

Changelog:
-multi touch fix - thanks to d-panja3 for pointing me at this

------------------------------------------------------------------------------------

Build 201212180251
ChangeLog:
-added KSM support - see here how to use it

------------------------------------------------------------------------------------

Build 201212152225
ChangeLog:
-completely new S2W based on the work of nik3r and myself for the HOX+

------------------------------------------------------------------------------------

Build 201212021155
Changelog:
-switched to linaro 4.7 toolchain
-overhaul of compile flags
-improved lowmemorykiller
-added some arm specific fixes and enhancements

------------------------------------------------------------------------------------

Build 201211140025

KISS kernels will from now on only for sense ROMS
CM users use HELLBOY kernel http://forum.xda-developers.com/show....php?t=1954967

Changelog:
-added BFQ scheduler

------------------------------------------------------------------------------------

Chanelog Summary for all builds:
-new optimized ARM toolchain used
-some tweaks and fixes in vm
-added Proportional Rate Reduction for TCP - by Google http://research.google.com/pubs/pub37486.html
-added USB host support.
-added two-way call recording - Please consider local laws that prohibit using call recording!
based on patch found here http://forum.xda-developers.com/show....php?t=1048182
-added conservative govener
-switched RCU to CONFIG_TINY_PREEMPT_RCU - reduced memory usage
-enabled SFB net scheduler CONFIG_NET_SCH_SFB http://lwn.net/Articles/429449/
-applied patch for optimized sha1 algo https://patchwork.kernel.org/patch/1040902/
-applied patch for arm specific rwsem http://permalink.gmane.org/gmane.lin...m.kernel/92418
-xz compression - based on this patch http://www.arm.linux.org.uk/develope....php?id=7001/2
-OC (max 1.5GHz, boot with 1GHz)
-UV
-2 new goveners (lionheart, smartassV2)
-1 new scheduler (sio)

------------------------------------------------------------------------------------------------

The "key" e.g. 201207112231 is the build id.

Actually this is just the timestamp when the image has been created.
When you report issues with a build please also provide this id

You can also find this in

Settings -> About -> Software Information -> More -> Kernel Version

Just some notes on the govener and schedulers:
Stock kernel is using govener ondemand and scheduler deadline
To get more information about all of those see here
http://forum.xda-developers.com/show....php?t=1369817

You can get the stock kernel sources from here
http://www.htcdev.com/ (registration required)
Or from here http://www.mediafire.com/?o0uudb56oxawvaw

To create the KISS sources apply the patch supplied with each build

Other Downloads:

Note:
If you download save or edit those scripts on a windows host make sure that
you are not changing the line endings to be DOS "style" (CR/LF) since they will
not work on your device.

So before pushing them to the device check with e.g. notepad++ or any
other windows editor that the line endings are UNIX "style" (LF)

USB host scripts
Contains helper scripts for USB host mode

Flashable from recovery
http://www.mediafire.com/?cj1buyxvwteiyqq

Simply zip file
http://www.mediafire.com/?ao391v55e3f4h7r

getcpuinfo script
Will print current settings like OC, UV and govener
Also works with Titanium kernel
http://www.mediafire.com/?emhetf9ctcb3l0g

01vdd script
For setting UV values
Also works with Titanium kernel
http://www.mediafire.com/?yj11n461vz23l4j

02setcpu script
Will set OC max 1.5GHz and govener smartassV2
with battery "friendly" govener tweaks
Also works with Titanium kernel
http://www.mediafire.com/?i79wlhjomh9bhyf

smartassV2-tune script
Allow setting smartassV2 govener tweaks for battery or performance
Call with argument "b" or "p"
Also works with Titanium kernel
http://www.mediafire.com/?e02s5ej5acacnaj

Swap script
Will enable 130m swap partition
See here for details http://forum.xda-developers.com/show...6&postcount=17
http://www.mediafire.com/?i9xc4hnfheztgir
The Following 38 Users Say Thank You to maxwen For This Useful Post: [ Click to Expand ]
 
hackworks
Old
#3  
hackworks's Avatar
Senior Member
Thanks Meter 117
Posts: 696
Join Date: May 2010
Location: Bangalore
KISS => Keep It Simple, Stupid!
GT-I9300, CM10.1 nightly
Twitter: @hackworks
The Following User Says Thank You to hackworks For This Useful Post: [ Click to Expand ]
 
maxwen
Old
#4  
Senior Member - OP
Thanks Meter 2805
Posts: 2,714
Join Date: Jun 2012

 
DONATE TO ME
Quote:
Originally Posted by hackworks View Post
KISS => Keep It Simple, Stupid!
Thanks
The Following 2 Users Say Thank You to maxwen For This Useful Post: [ Click to Expand ]
 
1ceb0x
Old
#5  
1ceb0x's Avatar
Senior Member
Thanks Meter 2876
Posts: 2,896
Join Date: Jun 2010
Location: Bucharest

 
DONATE TO ME
Quote:
Originally Posted by hackworks View Post
KISS => Keep It Simple, Stupid!
LMFAO!=)

Congrats on your kernel maxwen!
 
john9
Old
#6  
Account currently disabled
Thanks Meter 263
Posts: 1,592
Join Date: Oct 2011
I will never forget it.lol
 
s4shyam95
Old
#7  
s4shyam95's Avatar
Senior Member
Thanks Meter 54
Posts: 126
Join Date: Jan 2012
Location: Mumbai
Great, i started with kernel compiling too, recently,, keep titanium tweaker in ur ramdisk, if possible, ill update u with the ramdisk builds, will add kernel specif features if u want, pm me
Nexus One.
CM 7.2 (2.3.7)

Galaxy Y.(rooted)
Stock.

My Work:-
Titanium Tweaker
 
maxwen
Old
#8  
Senior Member - OP
Thanks Meter 2805
Posts: 2,714
Join Date: Jun 2012

 
DONATE TO ME
Hi

Sure. Will contact you after posting the first build.

regards

max
 
s4shyam95
Old
#9  
s4shyam95's Avatar
Senior Member
Thanks Meter 54
Posts: 126
Join Date: Jan 2012
Location: Mumbai
Quote:
Originally Posted by maxwen View Post
Hi

Sure. Will contact you after posting the first build.

regards

max
Cool

Sent from my Nexus One using xda app-developers app
Nexus One.
CM 7.2 (2.3.7)

Galaxy Y.(rooted)
Stock.

My Work:-
Titanium Tweaker
 
Chris.nl
Old
#10  
Junior Member
Thanks Meter 3
Posts: 15
Join Date: Jul 2007
I like this kernel already!

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...