[HTC Desire S] totiadrenalin:
IMPORTANT

After a month of testing in several roms, I decide to release the beta version!

It's almost same as the alpha version, but with several changes!

See the changelog!

Atention!

MUST READ THIS FIRST

It is logical that adreno_config.txt is only for all those devices, which have the adreno graphics and qualcom cpu.

But down in the attachments you will find Project-Butter-for-ICS_v1.0 -Without_Adreno-Config-alpha2.zip,

This is for all other devices which doesn't have Qualcom CPU, and Adreno Graphic.

For those who doesn't know what is project butter please first watch this video: Project Butter

The code is for developers only, to implement it into there roms.

Down in the attachment will be the zip file for every regular user, if want to try it!

Files that I tweak are:

build.prop

adreno_config.txt

egl.cfg

libGLES_android.so

Down below I'll explain all of the tweaks!

build.prop

#Grpahics & performances tweaks
com.qc.hardware=true
debug.sf.hw = 1
debug.composition.type=gpu
debug.enabletr = true
debug.qctwa.preservebuf = 1
debug.egl.hw=1
debug.egl.profiler=1
debug.performance.tuning=1
debug.gr.swapinterval=1
dev.pm.dyn_samplingrate=1
persist.sampling_profiler=0
persist.sys.NV_FPSLIMIT=60
persist.sys.ui.hw=1
persist.sys.use_16bpp_alpha=1
persist.sys.use_dithering=1
persist.sys.ui.hw=1
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
ro.sf.compbypass.enable=1
windowsmgr.max_events_per_sec=250

#Media quality improvements
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-record=true
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.enc.hprof.vid.fps=75
video.accelerate.hw=1

#Dalvik tweaks
dalvik.gc.type=precise
dalvik.vm.heapstartsize=5m
dalvik.vm.dexopt-data-only=1
dalvik.vm.verify_bytecode=false
dalvik.vm.jniopts=forcecopy
dalvik.vm.dexopt-flags=m=v,o=y
dalvik.vm.execution-mode=int:jit

#Other Performance Tweaks
ENFORCE_PROCESS_LIMIT=false
persist.android.strictmode=0
persist.service.lgospd.enable=0
persist.service.pcsync.enable=0
ro.min_pointer_dur=1
ro.telephony.call_ring.delay=0
ro.sec.proximity.delay=0
ro.HOME_APP_ADJ=1

adreno_config.txt

Use hardware-assisted binning.
from [COLOR="DarkRed"]binning=sw[/COLOR] to [COLOR="DarkRed"]binning=hw[/COLOR]

[COLOR="Navy"][SIZE="4"]Updated[/SIZE][/COLOR]

Use 2D hardware BLTs.
from [COLOR="DarkRed"]2D.HwBlt=0[/COLOR] to [COLOR="DarkRed"]2D.HwBlt=1[/COLOR]

Enable tiled textures. Tiled textures are faster to render, but slower to load.
from [COLOR="DarkRed"]textureTiling=0[/COLOR] to [COLOR="DarkRed"]textureTiling=1[/COLOR]

Playing with the egl.cfg could cause boot loop on some devices !

egl.cfg

remove the line:
0 0 android

libGLES_android.so

mv /system//lib/egl/libGLES_android.so /system/lib/egl/libGLES_android.so.bak

EDIT:

For testing purposes only

I activate the

MultiSampling Antialiasing (MSAA)

in adreno_config.txt

Аttention

MSAA may slowdown a bit the GUI due to exchange of the graphics performance!

Specify the multisampling antialiasing smoothing strategy.
from [COLOR="DarkRed"]MSAASmoothing=Normal[/COLOR] to [COLOR="DarkRed"]MSAASmoothing=High[/COLOR].

Specify the allocation strategy for multisampling antialiasing buffers.
from [COLOR="DarkRed"]MSAABufferAllocation=on_demand[/COLOR] to [COLOR="DarkRed"]MSAABufferAllocation=always[/COLOR]

Force the MSAA antialiasing mode to the value in MSAAMode.
from [COLOR="DarkRed"]forceMSAAMode=0[/COLOR] to [COLOR="DarkRed"]forceMSAAMode=1[/COLOR]

Specifiy the antialiasing mode to use if forceMSAAMode is enabled.
from [COLOR="DarkRed"]MSAAMode=0[/COLOR] to [COLOR="DarkRed"]MSAAMode=2[/COLOR]

Maybe go a little too far with the antialiasing mode, but you can choose between 0 = default, 1 = 2x antialiasing, and 2 = 4x antialiasing

You can find the zip down in attachment!

Simply put in your sdcard, and flash it via any recovery!

CHANGELOG:

[COLOR="Silver"]Fixing buildprop.sh script.
Now it'll make all changings in build.prop correctly!
[SIZE="4"]build.prop[/SIZE]
Setting windowsmgr.max_events_per_sec to reasonable 250 = SingleCore max
[B][SIZE="4"]adreno_config.txt[/SIZE][/B]
Activating 2D Settings
Activating tiled textures[/COLOR]
[COLOR="Black"][SIZE="4"][FONT="Arial Black"][B]build.prop tweaks[/B][/FONT][/SIZE][/COLOR]
debug.composition.type=gpu
persist.sys.NV_FPSLIMIT=60
dev.pm.dyn_samplingrate=1
persist.sys.use_dithering=1

New update released,

IMPORTANT

If you get any scroling problems,

try changing debug.gr.swapinterval=0 to debug.gr.swapinterval=1

This will force the GPU rendering device to wait for the previews frame to be finished before pushing the next frame!

The framerate will be decreased, but you'll get more fluid graphic animations!

ATTENTION

This is a standalone flash zip

I tried to activate vsync clock.

But it is likely this tweak does not change anything!

I simply activate vsync_clk in the kernel, but this depends on how the developer compiling the kernel you are using!

Tested with several ICS roms with Sense 3.6-4 / A, and amidabuddha tweaked kernel 8.0.

Strange, but any kernel abouve v8.0 doesn't change anything in the performances!

vSync_Activator reuploaded!

Anyway!

I've attached some print screen!