FORUMS
Remove All Ads from XDA

[kernel][2.6.32.24](BFS+HAVS+BFQ+OC+UV+AXI) build on 17.10.2010(evo-v0.1.h/n1-v0.1.d)

124 posts
Thanks Meter: 14
 
By huanyu, Senior Member on 8th September 2010, 02:28 PM
Post Reply Email Thread
I absolutely take no creative credit in making this kernel as all I have done is putting them together and build based on the LEO kernel tree. The real credit goes to them.

I am using a TMobile HD2 / ChuckyDroidROm / Radio 2.12.50. Please note that the HAVS does not work well with interactive governor (but it may still works for you device). If you are experiencing scrolling lag, try the kernel without BFS feature.

I did not go through each one of them. I have only tested the BFQ-OC-UV-AXI-850mv-0.1.e with darkstone's HD, which works fine on my HD2. Its bit slow at start once everything is settle down, its pretty fast and no lag for me. But this might not be the case for you.

In the future, i will only provide the kernels that are popular. Right now, there are just too many combinations and takes really long time to upload them.

feature:
AB: Audio Boost
AXI: AXI frequency tweak
BFQ: BFQ IO scheduler (default CFS)
BFS: BFS cpu scheduler (default CFS)
HAVS: Hybrid Adaptive Voltage Scaling (Static Voltage Scaling - SVS is default)
OC: OverClock
UV: UnderVolt
OC, UV and AXI features are the standard feature for EVO based kernel.
EBAT: Extended battery (please provide feedback to hastarin http://forum.xda-developers.com/showthread.php?t=787588)

By default, the EVO based kernels are not overclocked. Please use setCPU or userinit.sh/user.conf script to enable overclock.

You can choice the combination you want.
EVO based kernel:
Quote:

version 0.1.h (I will do another kernel update tomorrow as there is a new commit which fixes random ts freeze)
BFQ-OC-UV-AXI_850mv-0.1.h-evo.zip
BFQ-OC-UV-AXI_925mv-0.1.h-evo.zip
BFQ-OC-UV-AXI_1000mv-0.1.h-evo.zip
BFQ-OC-UV-AXI_1050mv-0.1.h-evo.zip
BFQ-OC-UV-AXI-AB_850mv-0.1.h-evo.zip
BFQ-OC-UV-AXI-AB_925mv-0.1.h-evo.zip
BFQ-OC-UV-AXI-AB_1000mv-0.1.h-evo.zip
BFQ-OC-UV-AXI-AB_1050mv-0.1.h-evo.zip
BFQ-OC-UV-AXI-EBAT_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S-BFQ-OC-UV-AX-EBAT_1050mv-0.1.h-evo.zip
HAVS-BFQ-OC-UV-AX-EBAT-AB_850mv-0.1.h-evo.zip
HAVS-BFQ-OC-UV-AX-EBAT-AB_925mv-0.1.h-evo.zip
HAVS-BFQ-OC-UV-AX-EBAT-AB_1000mv-0.1.h-evo.zip
HAVS-BFQ-OC-UV-AX-EBAT-AB_1050mv-0.1.h-evo.zip

if you are experiencing scrolling lag, try the kernel without BFS.
N1/htc-msm-2.6.32.9 based kernel (I tested the BFS-HAVS-BFQ-OC-UV-AXI_850mv-0.1.b kernel works fine so far.):
EVO Log:
Quote:

version 0.1.h
- based on git commit. Check gitorious for detail
* ts improvement (Markinus committed code to improve TS performance, This should reduce/eliminate the scrolling lag)

version 0.1.g
- based on git commit. Check gitorious for detail
- BFS 357
- minor change to BFQ

version 0.1.f
- based on git commit
- patch to 2.6.32.24

version 0.1.e
- based on git commit
* Working compass. A big thanks to Rajko!
- Extended battery support by Hastarin
- Thanks to michyprima's patch to fix issue with Airplane mode freezing the phone
- Memory leak fixed in firmware
- Mutex bug fix
- fix dma_sync_single_range*
- fix incorrect optimization for cpu govenors
- remove rwsem lock from CPUFREQ_GOV_STOP call (second call site) in CPUFREQ
- EXT4
* flush delaloc blocks when space is low
* fix async i/o write beyond 4GB to a sparse file
* correctly calculate number of blocks for fiemap
* prevent creation of files larger than RLIMIT_FSIZE using fallocate
* Ensure zeroout blocks have no dirty metadata
* fix possible lost inode write in journal mode
* fix memory leaks in error path handling of ext4_ext_zeroout()
* fix BUG_ON at fs/buffer in no journal mode
* fix potential quota dealock
- CIFS
* remove bogus frist)time check in NTLMv2 session setup code
* don't attemp busy-file rename unless it's in same directory
* fix malicious redirect problem in DNS lookup code
- CFS cpu scheduler
* fix over scheduling bug
* implement different treatment for idle shares
- fixes voltage table for both HAVS and SVS
Many of these patches are from kernel.git and all credit goes to the linux project

version 0.1.d
base on commit a8211687
- patch by gauner1986
* add video clean up and many twaking by gauner1986
* enable dot11n (gauner1986)
* add INT_AD6_EXT_VFR to fake irq (gaunner1986)
- add hastarin compass offset
make sure you add "nand_boot=0" parameter to kernel cmdline argument in startup.txt. eg.
{{{
set cmdline "rel_path=Android nand_boot=0"
}}}

version 0.1.c
add interactive cpufreq governor (as i forgot to apply the patch in previous versions).

version 0.1.b
disable framefuffer console to reduce wake up delay and high standby power consumption

version 0.1.a (EVO based commit
- BFS version 318
- BFQ I/O scheduler
- msm_kgsl mod
* enable shadow write to improve video performance
* Use writecombine flag to map vmalloced memory (video performance improvement)
- Overclock to 1.152GHz
- Provide four different undervolt versions 850mV, 925mV, 1000mV and 1050mV(default)
- Audio boost
- Interactive governor
- Some minor tweaking to on-demand and conservative governor
- Ext4 is enabled by default


N1 Log:
Quote:

version 0.1.d
- minor BFQ update
- BFS 357

version 0.1.c (experimental)
- fix the TS freeze issue (i haven't encounter freeze yet)
- Working compass. A big thanks to Rajko! (haven't test it yet)
- add ElBartoME's BT port (not sure this is working or not)
- patch kernel to 2.6.32.24 (for BFS testing)

version 0.1.b
minor HAVS changes

version 0.1.a N1 based commit )
- BFS version 318
- BFQ I/O scheduler
- msm_kgsl mod
* enable shadow write to improve video performance
* Use writecombine flag to map vmalloced memory (video performance improvement)
- Overclock to 1.152GHz
- Provide four different undervolt versions 850mV, 925mV, 1000mV and 1050mV(default)
- Audio boost
- Interactive governor
- Some minor tweaking to on-demand and conservative governor
- Ext4 is enabled by default

Quote:

The purpose of HAVS is to minimize the power consumption by
dynamic adjust the optimal voltage, and limit the maximum voltage.
The optimal voltage is actively determined for each frequency and
temperature. HAVS actively adjusts the CPU voltage as the CPU
frequency and temperature changes.

Quote:

BFQ(Budget Fair Queueing) is a I/O Scheduler. BFQ is a proportional
share disk scheduling algorithm, based on CFQ, that supports
hierarchical scheduling using a cgroups interface.

BFQ generally performs better (for desktops) were perceived intractability
(vs real throughput) is preferred. CFQ may unwittingly penalise a well written
program with fast throughput, in favour of a slower program by virtue of its
reliance on allocated 'throughput' vs BFQ's 'time' reliance.

http://algo.ing.unimo.it/people/paolo/disk_sched/
http://groups.google.com/group/zen_k...71a70cecd707b#

Credits:
Quote:

ridikolous, ReX83, eyanlaya (for testing)
HTC LEO kernel tree (base kernel, based on NEXUS one/HTC-MSM-2.6.32 kernel tree)
HTC LEO kernel tree (base kernel, based on HTC EVO kernel tree)
Con Kolivas (BFS)
Fabio Checconi (BFQ)
Ian (Overclock, undervolt and AXI)
pershoot (voltages and other fixes)
IntersectRaven (HAVS)
and many other developers.

I hope someone can take advantage of the source and make it better as i have limited time to test and improve them.
My gitorious for evo based kernel (something wrong with my old tree, so i recreate a new one)

if you like the work i do, you are always welcome to buy me a cup of coffee

Attached Files
File Type: zip 2010.09.19diff.zip - [Click for QR Code] (119.6 KB, 110 views)
File Type: zip evo.diff.zip - [Click for QR Code] (57.5 KB, 81 views)
File Type: zip 2010-10-06-n1.patch.zip - [Click for QR Code] (523.5 KB, 68 views)
File Type: txt evo_dl_links.txt - [Click for QR Code] (18.6 KB, 35 views)
The Following User Says Thank You to huanyu For This Useful Post: [ View ] Gift huanyu Ad-Free
 
 
8th September 2010, 02:33 PM |#2  
Senior Member
Flag 苍城
Thanks Meter: 15
 
More
Smile
thx good work
8th September 2010, 02:36 PM |#3  
mdeejay's Avatar
Retired Recognized Developer
Flag Abakan
Thanks Meter: 11,640
 
Donate to Me
More
http://forum.xda-developers.com/show...00&postcount=8
8th September 2010, 02:37 PM |#4  
starbase64's Avatar
Senior Member
Thanks Meter: 1,411
 
Donate to Me
More
Question
Hi,

is the freeze fix from gauner1986 include (previos post)?

with friendly greet

starbase64
8th September 2010, 02:40 PM |#5  
tids2k's Avatar
Senior Member
Flag Sydney
Thanks Meter: 730
 
More
support for extended battery , PLZZZZZZZZZZZZZZZZZZZZ
8th September 2010, 02:48 PM |#6  
coolbeer1990's Avatar
Senior Member
Flag New Delhi
Thanks Meter: 27
 
More
how to use this ??? are these zimages ...--(but wats this tun.ko and bcm4329.ko?)
8th September 2010, 02:50 PM |#7  
starbase64's Avatar
Senior Member
Thanks Meter: 1,411
 
Donate to Me
More
Thumbs up
Hi,

copy and overwrite the ko files to /system/lib/modules.

with friendly greet

starbase64
8th September 2010, 02:55 PM |#8  
Senior Member
Flag Mumbai
Thanks Meter: 19
 
More
Does this fix the battery consumption and wake-up from sleep problems which were encountered with the G-sensor fix kernel?
8th September 2010, 03:00 PM |#9  
sc00ter98's Avatar
Senior Member
Thanks Meter: 10
 
More
support for extended battery included?
8th September 2010, 03:36 PM |#10  
mdeejay's Avatar
Retired Recognized Developer
Flag Abakan
Thanks Meter: 11,640
 
Donate to Me
More
mattc 1.7 ppp
Attached Thumbnails
Click image for larger version

Name:	CAP201009082214.jpg
Views:	2234
Size:	38.2 KB
ID:	397355  
8th September 2010, 04:31 PM |#11  
Recognized Developer
Flag ┌┐(●_●)┌┐
Thanks Meter: 816
 
More
Nice have to test it out.
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes