[KERNEL][International] 2013/07/27 - BLADE - AOKP/AOSP - 4.2.x

7,993 posts
Thanks Meter: 10,428
 
By maxwen, Senior Member on 3rd December 2012, 02:31 PM
Post Reply Email Thread
Kernel for AOKP/AOSP 4.2.x and compatible roms and CM10.1

github:
https://github.com/maxwen/enrc2b-kernel-BLADE

download:
http://goo.im/devs/maxwen/BLADE
mirror:
http://www.mediafire.com/?68fgg63iebpba

Build 201307272344
Changelog:
-added S2W pocket protection - based on proximity sensor and light sensor
-fixed ondemand1 governor crash

Build 201307220013
Changelog:
-after rework load_stats is again the default cpuquiet governor
-input boost mediator - make sure cpu hotplugging is boosted before cpu freq
-fixes from upstream

Build 201307080025
Changelog:
-new cpuquiet governor load_stats - compared to rq_stats this uses CPU load instead of threads number - load_stats is the default governor
-added input boost to cpuquiet - cores will be brought up faster on touch events
-smartmax updates

Build 201306091244-3
this includes only 2 bugfixes no other changes
-broken wired HS button support
-failure to sync kernel modules when used together with AOKP 4.2.2
this is causing not working mobile data

Build 201306091244
Changelog:
-disable zcache
-use lowmemorykiller from grouper
-update to BFQ v6r1
-cleanup

Build 201305280126
Changelog:
-smartmax updates
-enable zcache - http://lwn.net/Articles/396467/ - thanks to bedalus for providing help
-cpuquiet hotplugging tweaks - faster core activation and faster LP mode switch
-touchscreen driver cleanup
-backlight handling cleanup
-GPU OC interface including "quick oc" switch
USE THIS AT YOUR OWN RISK!
using to high values can freeze the device! maximum value is 600MHz
by default there is NO GPU OC anymore - stock values are used

Get current GPU frequencies (in MHz)
Code:
cat cat /sys/kernel/tegra3_dvfs/gpu_oc
200 267 304 361 408 446 484 520 600
Set GPU frequencies - 9 values MUST be provided
Code:
echo "200 267 380 492 528 564 600 600 600" > /sys/kernel/tegra3_dvfs/gpu_oc
"quick oc" switch
Code:
echo 1 > /sys/kernel/tegra3_dvfs/gpu_quick_oc
will set the values to 200 267 380 492 528 564 600 600 600

Code:
echo 0 > /sys/kernel/tegra3_dvfs/gpu_quick_oc
will reset to the default 200 267 304 361 408 446 484 520 600

Build 201305062233
Changelog:
-S2W fixes
-switched from JRCU back to stock RCU to see if its the reason for some problems

Build 201305041517
Changelog:
-correct reset of RIL boost on incoming calls - BIG derp
-changing fast_charge is correctly reported to user-space
-correct cpufreq policy locking
-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
enable/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

For CM10.1 and AOKP you should be able to use this
updated version of "device options" - will be included in next ROM builds
http://cyano-rob.tuennerhoff-edv.de/...avoruParts.apk

Build 201304191544
Changelog:
-added 620LP - to enable use
Code:
echo 1 > /sys/module/cpu_tegra/parameters/enable_lp_oc
-smartmax:
-separated suspend_ideal_freq and awake_ideal_freq
-reduced sampling rate to 40ms
-cpuquiet improvements
-BFQ v6
-reverted arm spinlock changes - maybe solves the network stack crashes
-suspend delay disabled by default - to enable use
Code:
echo 1 > /sys/module/cpu_tegra/parameters/use_suspend_delay
-touchscreen calibration control enabled again by default
to fix the issue of somtimes "frozen" touch screen
if you experience muti touch issues disable it be using
Code:
echo 0 > /sys/android_touch/calibration_control
Build 201304100118
Changelog:
-reverted BFQ to v5.1 - v6 causes issues
-fixed screen not turning on on incoming calls
-cpuquiet governor rq_stats is now default

Build 201304060107
Changelog:
-faster response to touch events when in LP mode
-smartmax update - allow up ramps during boost
-delayed suspend boost - fixes most of the possible audio stuttering during
screen on/off sequence for players without own audio buffer handling
-new cpuquiet governor rq_stats
-fixed cpu num restriction handling

Build 201303280100
Changelog:
-added sysfs interface for button backlight brightness
e.g.
Code:
echo 30 > /sys/class/leds/button-backlight/button_brightness
default value is 63 possible values 1-255
-smartmax_eps finetuning
-suspend/resume tuning
-added max cpu 2 limit if using off-screen freq > 475

Build 201303220148
Changelog:
-added sysfs interface for A2DP min freq
Code:
echo 340000 > /sys/devices/platform/tegra_uart_brcm.2/a2dp_tuning_freq
-added support for AOA 2.0 (usb audio) - still WIP since this requires also a ROM part
-faster resume on screen on
-switched back to BFQ as default scheduler

Build 201303170221
Changelog:
-smartmax_eps finetuning
-added CPU UV interface - so you can now use apps like Trickster mod
to change CPU voltages
-use variant 4 CPU voltages by default also for variant 3

Build 201303131612
Changelog:
-added smartmax_eps governor
eps stands for "extreme power saving"
so this is a smartmax tuned for even less battery usage
-disabled blocking ramdom access (always use non-blocking urandom)
-arm spinlock tweaks taken from 3.8.2
-rwsem tweaks

Build 201303052312
Changelog:
-use ROW I/O scheduler as default - better performance
-switched to cpuquiet CPU hotplugging with - tweaked to get more LP time
-added uhid - required for BT HID devices (gamepads)
-fast_charge no need to replug cable after changed
-configurable screen of frequency limit if you have problems with default 475Mhz
Code:
echo "640000" > /sys/module/cpu_tegra/parameters/suspend_cap_freq
Attention: this will disable "automatic" LP lock during screen off
so think if you really need it

-configurable min audio frequency limit if you have problems with default 102Mhz
Code:
echo 204000 > /sys/module/snd_soc_tlv320aic3008/parameters/audio_min_freq
-fixed kernel for HDMI support - now works again on sense
AOSP issues are caused by the ROM currently

Build 201302241749
Changelog:
-smartmax: minor fixes
-added nvidia smartdimmer - based on grouper kernel
https://android.googlesource.com/ker...rouper-panel.c
more info on smartdimmer here
http://nvidia.custhelp.com/app/answe...smartdimmer%3F

Disable smartdimmer:
Code:
echo "0" > /sys/devices/tegradc.0/smartdimmer/enable
-added T3 variant sysfs
To get your variant:
Code:
cat /sys/kernel/debug/t3_variant
-added JRCU
-added row and sio I/O scheduler
-some tegra3 tweaks from TripNRaVeR - big credits to him
-google and nvidia bug-fixes

Build 201302202247
Changelog:
-updated interactive governor
-updated smartmax governor
-fixed button backlight lags - thanks to Thömy
-"good" nvidia fixes are back
-core voltage UV disabled to see if cause the random freezes
-some tegra3 tweaks from TripNRaVeR - big credits to him

smartmax is now the default governor!

Build 201302161307
Changelog:
-smartmax fixes
-reverted nvidia video fixes cause they seem to cause random freezes
-added support of cpufreq scaling_max_freq API
so you can now use apps to set scaling_max_freq and it will stick

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

"fast charger" support (allows "overruling" of automatic charger detection)
to enable:
Code:
echo "1" > /sys/devices/platform/htc_battery/fast_charge
4x1.7Ghz mode
To enable
Code:
echo "1"  > /sys/module/cpu_tegra/parameters/enable_oc
S2W Configs:
Turn off:
Code:
echo "0" > /sys/android_touch/sweep2wake
Button panel locks to s2w after this distance:
Code:
/sys/android_touch/s2w_register_threshold
Screen turns on/off after this distance:
Code:
/sys/android_touch/s2w_min_distance
Direction independent(1 - Yes, 0 - No):
Code:
/sys/android_touch/s2w_allow_stroke
How to get your CPU variant (3 or 4)
Code:
cat /sys/kernel/debug/t3_variant
and look for the line
Code:
cpu_process_id => 3
The Following 57 Users Say Thank You to maxwen For This Useful Post: [ View ] Gift maxwen Ad-Free
3rd December 2012, 04:29 PM |#2  
Senior Member
Flag Motherwell
Thanks Meter: 69
 
More
Excellent news.

Not had a chance to flash this or Lloir's rom yet, but I will later on.

Thanks maxwen
4th December 2012, 05:02 PM |#3  
nik3r's Avatar
Senior Member
Flag Budweis
Thanks Meter: 1,796
 
More
Quote:
Originally Posted by maxwen

There will be no sense version since I will never touch sense
again as soon as CM10 gets stable enough to be used as daily
Therefore there is also no focus to keep this kernel sense "compatible"

Amen to that brother, can't wait to fork this when I see CM10 is good as DD
4th December 2012, 05:29 PM |#4  
Senior Member
Thanks Meter: 112
 
More
thanks for share.
7th December 2012, 05:08 PM |#5  
AndroHero's Avatar
Senior Member
Flag Manchester
Thanks Meter: 911
 
More
Thanks, I'll try now and report back
7th December 2012, 05:33 PM |#6  
Senior Member
Thanks Meter: 319
 
More
i flashed them with CM10 build but gives me a unknown baseband...
7th December 2012, 05:43 PM |#7  
AndroHero's Avatar
Senior Member
Flag Manchester
Thanks Meter: 911
 
More
Same here. It kills my radio. I get unknown baseband and loose all network access.
7th December 2012, 05:44 PM |#8  
Inactive Recognized Developer
Thanks Meter: 8,075
 
More
because the updated one i gave you both hasn't been released :P you both use an updated blade kernel + ramdisk
The Following User Says Thank You to Lloir For This Useful Post: [ View ] Gift Lloir Ad-Free
7th December 2012, 10:21 PM |#9  
OP Senior Member
Thanks Meter: 10,428
 
Donate to Me
More
At the moment ONLY use the kernel that comes WITH the ROM
since this is a tested "combination"

I removed the download link for that reason
8th December 2012, 04:49 PM |#10  
n3ocort3x's Avatar
Senior Member
Flag Vienna
Thanks Meter: 10,873
 
Donate to Me
More
Quote:
Originally Posted by maxwen

At the moment ONLY use the kernel that comes WITH the ROM
since this is a tested "combination"

I removed the download link for that reason

deleted
11th December 2012, 10:45 AM |#11  
OP Senior Member
Thanks Meter: 10,428
 
Donate to Me
More
OP updated
Latest kernel builds are available here
http://goo.im/devs/maxwen/CM10-enrc2b

Please notice that all kernels that are "newer" then the ones
included in CM10 release builds are considered to be "experimental"
so you use those "at your own risk"
Post Reply Subscribe to Thread

Tags
development

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

Advanced Search
Display Modes