FORUMS
Remove All Ads from XDA

[TWEAK][04.NOV][NEAR Project Butter Implementation for all ICS ROMS][Beta1]

169 posts
Thanks Meter: 280
 
By totiadrenalin, Senior Member on 29th September 2012, 11:15 AM
Post Reply Email Thread
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!
Quote:

This is not the real project butter introduced in Android Jelly Bean!
This is just compilation of tweaks!
All tested buy me, one buy one!

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

Quote:

Some of this tweaks are well know for the Devs, but, as I could see checking all of the current known ICS roms for DS, are not!

Down below I'll explain all of the tweaks!

build.prop
Code:
#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
Code:
Use hardware-assisted binning.
from binning=sw to binning=hw

Updated

Use 2D hardware BLTs.
from 2D.HwBlt=0 to 2D.HwBlt=1

Enable tiled textures.  Tiled textures are faster to render, but slower to load.
from textureTiling=0 to textureTiling=1
Playing with the egl.cfg could cause boot loop on some devices !
egl.cfg
Code:
 remove the line: 
0 0 android
libGLES_android.so
Code:
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!

Code:
Specify the multisampling antialiasing smoothing strategy.
from MSAASmoothing=Normal to MSAASmoothing=High.

Specify the allocation strategy for multisampling antialiasing buffers.
from MSAABufferAllocation=on_demand to MSAABufferAllocation=always

Force the MSAA antialiasing mode to the value in MSAAMode.
from forceMSAAMode=0 to forceMSAAMode=1

Specifiy the antialiasing mode to use if forceMSAAMode is enabled.
from MSAAMode=0 to MSAAMode=2
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:
Code:
Fixing buildprop.sh script.
Now it'll make all changings in build.prop correctly!
build.prop
Setting windowsmgr.max_events_per_sec to reasonable 250 = SingleCore max
adreno_config.txt
Activating 2D Settings
Activating tiled textures
build.prop tweaks
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!
The Following 84 Users Say Thank You to totiadrenalin For This Useful Post: [ View ] Gift totiadrenalin Ad-Free
 
 
29th September 2012, 11:15 AM |#2  
totiadrenalin's Avatar
OP Senior Member
Flag Sveti Nikole
Thanks Meter: 280
 
Donate to Me
More
Sources:
Tweaking Adreno Config
Tims-evo-v-4g-tweaks-3-800-in-quadrant
Build.prop tweaks for all!!!
Build-prop-performance-tweaks
The Following 7 Users Say Thank You to totiadrenalin For This Useful Post: [ View ] Gift totiadrenalin Ad-Free
29th September 2012, 11:45 AM |#3  
Senior Member
Flag Pune
Thanks Meter: 2,036
 
More
Quote:
Originally Posted by totiadrenalin

Reservet

Most look good...but somehow doubt this 1 only...
windowsmgr.max_events_per_sec=1000...
thought it should around 120 to 150 for single core processor
29th September 2012, 12:14 PM |#4  
slurpdroid's Avatar
Senior Member
Flag Banda Aceh
Thanks Meter: 132
 
More
flashed on miui v4 official, but no change on build.prop
hboot 7.00 s-off
29th September 2012, 01:50 PM |#5  
Senior Member
Thanks Meter: 14
 
More
Quote:
Originally Posted by slurpdroid

flashed on miui v4 official, but no change on build.prop
hboot 7.00 s-off

Try to push it manually and set permissions.
29th September 2012, 02:22 PM |#6  
alfredino85's Avatar
Senior Member
Flag Montebelluna
Thanks Meter: 49
 
More
on fallout v5
i have flashed the zip file.
1) The file " /system/lib/egl/libGLES_android.so" has not been properly renamed in "/system/lib/egl/libGLES_android.so.back ".
2) the line "0 0 android" has been properly removed
3) the build.prop has not been properly edited

thank you!

edit: s-off hboot 7.xx
29th September 2012, 02:34 PM |#7  
totiadrenalin's Avatar
OP Senior Member
Flag Sveti Nikole
Thanks Meter: 280
 
Donate to Me
More
Ok!
I'll try to fix problems!
The Following 5 Users Say Thank You to totiadrenalin For This Useful Post: [ View ] Gift totiadrenalin Ad-Free
29th September 2012, 09:22 PM |#8  
old.splatterhand's Avatar
Recognized Contributor
Flag Saturn III
Thanks Meter: 2,213
 
Donate to Me
More
Is v1.0-alpha1 different to the one posted here?
29th September 2012, 11:27 PM |#9  
totiadrenalin's Avatar
OP Senior Member
Flag Sveti Nikole
Thanks Meter: 280
 
Donate to Me
More
Quote:
Originally Posted by old.splatterhand

Is v1.0-alpha1 different to the one posted here?

Project-Butter-for-ICS+MultiSampling Antialiasing (MSAA)_v1.0-alpha1.zip and this one are not!
Because of the MSAA activated in the Project-Butter-for-ICS+MultiSampling Antialiasing (MSAA)_v1.0-alpha1.zip.
But Project-Butter-for-ICS_v1.0-alpha1.zip and this one
are almost the same!
Except the fixes in updater-script and buildprop.sh.
And that this is a official, with explanation on every tweak, and changes!
The Following 3 Users Say Thank You to totiadrenalin For This Useful Post: [ View ] Gift totiadrenalin Ad-Free
30th September 2012, 05:28 AM |#10  
Dreamtheater2003's Avatar
Senior Member
Flag Cainta
Thanks Meter: 24
 
More
Is this the same as the one you've posted in virtuous thread? I've tried it but notice no difference.. can this be installed in virtuous rom? what changes are we expecting here? thank you
30th September 2012, 07:23 AM |#11  
glacier1122's Avatar
Senior Member
Flag kamalia
Thanks Meter: 76
 
More
maybe this will help you..... http://forum.xda-developers.com/show....php?t=1855722
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