[MOD] Disable CPU Rendering + Build.Prop Tweaks [GB][ICS][JB]

Performance Improvement - give your feedback!


  • Total voters
    372
Search This thread

devilpera64

Senior Member
Dec 7, 2008
898
245
Monfumo (NGI Service)
Disable CPU Rendering
I'm not responsible for anything that goes wrong with your device, you know the risks of flashing files to root. Make a backup first.​
It's been confirmed that this tweak on Froyo based roms, causes an endless bootloop and doesn't seem to work. Although it's been confirmed to work on Harmonica. So from what I know it will work best on GB and ICS (JB need tests).

I've red this article so i want purpose this method for tweak more smoothness from our beloved HD2!

XDA-news

OP words:
"I started this thread over at the LG-VM670 forums at Android Central. I thought maybe it was about time I share it over here on XDA since it's a pretty great tweak and it works without any added issues.

But keep in mind, if your phone doesn't have adreno200 gpu drivers, this won't work and could probably cause an endless bootloop. Now that that's covered, read up and do this carefully, this will not work on every device and is only meant for adreno200. I may have another tweak up my sleeve, but I need a device with something other than adreno200, such as tegra, to test it out on, which I don't have at the moment. Anyway, this worked out quite well for the Optimus V users, I believe it works on Xperia devices as well and it's been confirmed to work on Galaxy SIII. I'll try my very best to keep this thread updated, I don't have a ton of devices to test this on so I'd really appreciate the feedback so I can update the main post and list whatever devices this tweak works with (nobody wants a endless bootloop, so let's inform each other) oh and before I forget.. MAKE A NANDROID BACKUP ALWAYS!! Just in case

I found this tweak while trying to look for a loopy smothness tweak made for ICS, but I ended up finding something better than loopy smoothness, a guide to disable CPU rendering. With this tweak you can take full advantage of your device's GPU. In other words you disable software rendering and enable hardware rendering instead"


Original thread


(related to) http://xdaforums.com/showthread.php?t=1575984

Confirmed working on:
- BobZhome CM9 [VM670]
- quattrimus CM9 [VM670]
- mrg666 MiRaGe IHO [VM670]
- BobZhome IHO [VM670]
- Galaxy SIII
- Xperia devices
- Tegra Device
- any device with working adreno200 drivers (in this case my LG myTouch 4G is a good example, it worked marvelously and more noticeably on this device)



HOW TO
(thanks for the summary to thierry_hd2)

1) MAKE A NAND BACKUP OF YOUR ROM. Just in case something would go wrong

2) To disable CPU rendering the ONLY things to do are:
- with a file manager with root access go to system/lib/eg
- open the file egl.cfg. DELETE everything inside the file but keep this line: 0 1 adreno200
- rename libGLES_android.so from egl folder. Don't delete it so if there is an issue with your ROM you can revert back to this file.
- REBOOT

That's all you have to to to disable CPU rendering. Depending on the ROM you are using you'll see some improvements or not (compile the poll on the top of the page)

TEST (for return back) Flashable .zip with original ROM files (not tested yet - for who have black screen, try it before recovery) TEST
(Thanks to blacksn)
http://xdaforums.com/attachment.php?attachmentid=1331025&d=1347811207

MY IMPRESSIONS:
I'm trying it now on Tytung V2.7 and seems to works very well.!! :good: this trick can show the limit of benchmarking system (they will give you low score respect the new general smoothness).
Some feedback comes from some users that saw how with this hack, they can now play with GTAIII or other games more fluently.

In addiction to this explanation, disabling CPU rendering reduce battery juice!

Set the permission to rw-r--r-- for the egl.cfg file.

What might you benefit from? So far this is what I noticed.

- performance boost
- speed boost
- increased responsiveness
- better audio quality
- apps such as Facebook that would become slow and unresponsive are suddenly blazing fast


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


Some universal Build.Prop Tweaks


If you want, you can apply some extra tweaks. These tweaks will help your HD2 feel even smoother and should improve battery life. Again depending on the level of optimisation of your ROM, you'll experience or not improvements.

- Just to be sure I could go back to the original build.prop; for first made a backup of it!!!
- Then I just opened the build.prop file (in the system folder) and made all the modifications manually. Some of the tweaks where already included, other tweaks had different values!

We need help to test & describe the strings. I'm convinced that using some of them, we can reach new level of optimization.

Thinks You need to know is:

1. All options starting with ro.ril is applied only once during boot
2. Most of other options can be applied after phone booted using "adb shell" or terminal direcly on phone with command "setprop option"
3. All prop settings can be read with command "getprop" and can be redirected to file with command "getprop >> /mnt/sdcard/file.txt"
4. Better/easy way is to rename file and not delete while testing. In case You renamed file and go wrong always can put phone in recovery, mount system, connect phone to pc and restore/rename affected file. This will save you a lot of time and nerves.

(http://xdaforums.com/showpost.php?p=31690267&postcount=89)

After some tests i reached new scores on our known benchs:
Antutu: 3180 (1155Mhz Smartass V2)
Quadrant: 1215 (1155Mhz Smartass V2)
Vellamo: 966 (near Galaxy Note and Galaxy Nexus)



Open build.prop (using Build Prop Editor from market) and modify or add the following strings (if they are not just included). All these settings/tweaks are rom and Android version independent.

dalvik.vm.dexopt-flags m=y
CHANGE TO
dalvik.vm.dexopt-flags m=y,o=v,u=y
then Save & Reboot

In this mode we have set up app optimization for unicore...you set u=n only if you are using a device up to 2 cores.

#Render UI with GPU
debug.sf.hw=1
#debug.composition.type=gpu
debug.composition.type=c2d
debug.performance.tuning=1
debug.enabletr=true
debug.qctwa.preservebuf=1
dev.pm.dyn_samplingrate=1
video.accelerate.hw=1
ro.vold.umsdirtyratio=20
debug.overlayui.enable=1
debug.egl.hw=1
ro.fb.mode=1
hw3d.force=1
persist.sys.composition.type=c2d
persist.sys.ui.hw=1
ro.sf.compbypass.enable=0

ro.sf.lcd_density=240
debug.fb.rgb565=0

# Improve overall media quality
ro.media.enc.jpeg.quality=100

ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.cam.preview.fps=0
ro.media.codec_priority_for_thumb=so

# This is a high density device with more memory, so larger vm heaps for it.
# and some dalvik speedups
dalvik.vm.heapsize=40m
# Get more RAM and faster responses by disabling verify-bytecode
#dalvik.vm.dexopt-flags=v=n,o=v,m=y
dalvik.vm.dexopt-flags=m=y,o=v,u=y
dalvik.vm.verify-bytecode=false
dalvik.vm.dexopt-data-only=1
dalvik.vm.checkjni=0
dalvik.vm.checkjni=false
dalvik.vm.check-dex-sum=false
dalvik.vm.jniopts=warnonly
# gecata test
dalvik.vm.check-dex-sum=false
# gecata test
dalvik.vm.jmiopts=forcecopy
# Turn on Just In Time in dalvik virtual machine
dalvik.vm.execution-mode=int:jit
dalvik.vm.lockprof.threshold=500
dalvik.vm.stack-trace-file=/data/anr/traces.txt


# For the default value of agps
ro.ril.def.agps.mode=2
ro.ril.def.agps.feature=1

# For HSDPA low throughput
ro.ril.disable.power.collapse=1

# For sensor sleep control
ro.ril.sensor.sleep.control=1

ro.wifi.hotspotUI=1
ro.tether.denied=false

# enable/disable data in roaming
#ro.com.android.dataroaming=true
ro.com.android.dataroaming=false

# For quick boot mode
# persist.sys.shutdown.mode=hibernate
ro.config.hw_quickpoweron=true

# Hide debuging icon from taskbar
persist.adb.notify=0
persist.service.adb.enable=1

# Enable egl profiler - enable harware egl profile
debug.egl.profiler=1

#Makes streaming videos stream faster
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-record=true

# Decrease time for screen off/on durrign call
ro.lge.proximity.delay=25
mot.proximity.delay=25
ro.mot.buttonlight.timeout=0

# Decrease dial out delay
ro.telephony.call_ring.delay=0
ring.delay=0

# Disable WiFi calling for EU models
ro.ril.enable.ganlite=0

#Noise Cancellation Off
htc.audio.alt.enable=0
htc.audio.hac.enable=0


### Kernel Tweaks
# Disable error checking (Should speed things up a bit)
ro.kernel.checkjni=0
ro.kernel.android.checkjni=0
### Allow purging of assets (System can free more Ram when needed) ###
persist.sys.purgeable_assets=1
# Disable strict mode checking
persist.android.strictmode=0

# Disable the zygote loader
ro.wmt.blcr.enable=0

# Keep launcher in memory
ro.HOME_APP_ADJ=1
# Won't let memory managers to kill Launcher
ro.PERCEPTIBLE_APP_ADJ=2
#ro.HOME_APP_MEM=2048

# Tweaks for battery saving
pm.sleep_mode=1
usb_wakeup=enable
proximity_incall=enable
power_supply.wakeup=enable
ro.config.hw_power_saving=1
ro.config.hw_fast_dormancy=1
ro.config.hw_quickpoweron=true
persist.sys.use_dithering=0
#improve battery under no signal -- need test
ro.mot.eri.losalert.delay=1000

# For sensor sleep control
ro.ril.sensor.sleep.control=1

# Qualcomm display settings -- Video acceleration and HW degugging
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
debug.qc.hardware=true
com.qc.hardware=true

#Bravia Engine Service
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1

# Xloud Engine
ro.semc.sound_effects_enabled=true
ro.semc.xloud.supported=true
persist.service.xloud.enable=1
media.xloud.enable=1
media.xloud.supported=true

# More precisely incall volume control
ro.config.vc_call_vol_steps=15

# Increase overall scrool speed and enable rotation to 270 degree
windowsmgr.max_events_per_sec=170
windowsmgr.support_rotation_270=true
# Faster Scrolling
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000

### Disable Logers (safe battery + performance gain)
### Disable checkin services, error reporting and logging
ro.config.htc.nocheckin=1
ro.config.nocheckin=1
profiler.force_disable_ulog=1
profiler.force_disable_err_rpt=1


### Touch tunning ###
touch.presure.scale=0.001

#ro.min_pointer_dur=

ro.product.multi_touch_enabled=true
ro.product.max_num_touch=2

# Better signal reception
persist.cust.tel.eons=1
ro.config.hw_fast_dormancy=1

# Modify MTU from 1500 to 1472 on 3G network for speeding up
ro.ril.set.mtu1472=1


#
# system props for the data modules
#
ro.use_data_netmgrd=true
persist.data_netmgrd_nint=8
persist.data_netmgrd_mtu=1482

#net speed tweaks
net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.hspda=4096,87380,256960,4096,16 384,256960
net.tcp.buffersize.hspa=4096,87380,256960,4096,163 84,256960

# Google DNS Tweak -- fastest dns
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
net.ppp0.dns1=8.8.8.8
net.ppp0.dns2=8.8.4.4
net.dns1=8.8.8.8
net.dns2=8.8.4.4


RED= Suggested
PURPLE= Just inside or not useful

Using part of tweaked dalvik setting is not recommended, because whole section is result of many calculations and correlations in options. Also it is highly recommended after putting these setting in build.prop to delete cache and dalvik cache and after first boot to make power off and fix permissions in recovery.


Thx to all Devs that will give a hand
Thx to gecata & Pixelfreak for the list.
Thx to all users for feedback
 
Last edited:

Swamp_cz

Member
Jan 11, 2011
42
3
Sounds really interesting, I'm definitely trying it out soon :)
Could you please correct the links so we don't have to edit them in address bar manually (showthread.php instead of show....php)?
 
  • Like
Reactions: devilpera64

Strychnin

Senior Member
Oct 3, 2010
115
26
Munich
Just tried it on my Barebone CM7.

Although the ROM is amazing fast, it seems that this tweak improves the performance.
With original config i had some slight lags in LancherPro. Now no more lags...

Anybody knows a proper way to test if this is working?
 

devilpera64

Senior Member
Dec 7, 2008
898
245
Monfumo (NGI Service)
what's the negative side of this mod?

Its just editing the config file to read only the GPU. You will notice a huge improvement in day to day tasks. However benchmarks will go down. But that just proves how benchmarks don't mean crap :) after this i'm using my device lagfree! also internet experience is better than before.

Vellamo score: 939 using this trick.
Antutu: 3040 (1075Mhz) 3100 (1155Mhz)
Quadrant Score: 1134
 
Last edited:

devilpera64

Senior Member
Dec 7, 2008
898
245
Monfumo (NGI Service)
I did click it, even the adress was broken. Now it's ok, because good guy devilpera64 already fixed that. ;)

I'm studing for some other build.prop string tweaks..maybe we can reach new performance level :good: i'm looking into all general thread of XDA for find someother things to add. Because surely other people discovered some general tips in other forum's region :)
 

Marek989

Senior Member
Dec 21, 2011
231
36
Prague
Thanks for this, yes, benchmarks drop Down slightly (i have 3103 score at 1190 MHz with this tweak), but, it really improves perfomance. Thank you! \(°_°\)
 

illgodson

Senior Member
Sep 3, 2010
608
124
Sorry I feel like tard but for the life of I can't seem to get the flash able zip.....it said to register android forum and I did but still just says attachment... no file. I know its me, could somebody lend me a hand the kids are making me nuts and I wanna try this before we leave lol

Edit sorry never mind just had to view thread in desktop mode, the zip showed then.

Sent from my NexusHD2 using xda app-developers app
 
Last edited:

gecata

Senior Member
Oct 30, 2006
107
61
Lom
I spent some time for build.prop tweaking. Here is it. The sections are self documented, but if You want I can explain more. All these settings/tweaks are rom and Android version independent.

#Render UI with GPU
debug.sf.hw=1
#debug.composition.type=gpu
debug.composition.type=c2d
debug.performance.tuning=1
debug.enabletr=true
debug.qctwa.preservebuf=1
dev.pm.dyn_samplingrate=1
video.accelerate.hw=1
ro.vold.umsdirtyratio=20
debug.overlayui.enable=1
debug.egl.hw=1
ro.fb.mode=1
hw3d.force=1
persist.sys.composition.type=c2d
persist.sys.ui.hw=1
ro.sf.compbypass.enable=0

ro.sf.lcd_density=240
debug.fb.rgb565=0

# Improve overall media quality
ro.media.enc.jpeg.quality=100
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
ro.media.cam.preview.fps=0
ro.media.codec_priority_for_thumb=so

# This is a high density device with more memory, so larger vm heaps for it.
# and some dalvik speedups
dalvik.vm.heapsize=40m
# Get more RAM and faster responses by disabling verify-bytecode
#dalvik.vm.dexopt-flags=v=n,o=v,m=y
dalvik.vm.dexopt-flags=m=y,o=v,u=y
dalvik.vm.verify-bytecode=false
dalvik.vm.dexopt-data-only=1
dalvik.vm.checkjni=0
dalvik.vm.checkjni=false
dalvik.vm.check-dex-sum=false
dalvik.vm.jniopts=warnonly
# gecata test
dalvik.vm.check-dex-sum=false
# gecata test
dalvik.vm.jmiopts=forcecopy
# Turn on Just In Time in dalvik virtual machine
dalvik.vm.execution-mode=int:jit
dalvik.vm.lockprof.threshold=500
dalvik.vm.stack-trace-file=/data/anr/traces.txt

# For the default value of agps
ro.ril.def.agps.mode=2
ro.ril.def.agps.feature=1

# For HSDPA low throughput
ro.ril.disable.power.collapse=1

# For sensor sleep control
ro.ril.sensor.sleep.control=1
ro.wifi.hotspotUI=1
ro.tether.denied=false

# enable/disable data in roaming
#ro.com.android.dataroaming=true
ro.com.android.dataroaming=false

# For quick boot mode
# persist.sys.shutdown.mode=hibernate
ro.config.hw_quickpoweron=true

# Hide debuging icon from taskbar
persist.adb.notify=0
persist.service.adb.enable=1

# Enable egl profiler - enable harware egl profile
debug.egl.profiler=1

#Makes streaming videos stream faster
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-record=true

# Decrease time for screen off/on durrign call
ro.lge.proximity.delay=25
mot.proximity.delay=25
ro.mot.buttonlight.timeout=0

# Decrease dial out delay
ro.telephony.call_ring.delay=0
ring.delay=0

# Disable WiFi calling for EU models
ro.ril.enable.ganlite=0

#Noise Cancellation Off
htc.audio.alt.enable=0
htc.audio.hac.enable=0

### Kernel Tweaks
# Disable error checking (Should speed things up a bit)
ro.kernel.checkjni=0
ro.kernel.android.checkjni=0
### Allow purging of assets (System can free more Ram when needed) ###
persist.sys.purgeable_assets=1
# Disable strict mode checking
persist.android.strictmode=0

# Disable the zygote loader
ro.wmt.blcr.enable=0

# Keep launcher in memory
ro.HOME_APP_ADJ=1
# Won't let memory managers to kill Launcher
ro.PERCEPTIBLE_APP_ADJ=2
#ro.HOME_APP_MEM=2048

# Tweaks for battery saving
pm.sleep_mode=1
usb_wakeup=enable
proximity_incall=enable
power_supply.wakeup=enable
ro.config.hw_power_saving=1
ro.config.hw_fast_dormancy=1
ro.config.hw_quickpoweron=true
persist.sys.use_dithering=0
#improve battery under no signal -- need test
ro.mot.eri.losalert.delay=1000

# For sensor sleep control
ro.ril.sensor.sleep.control=1

# Qualcomm display settings -- Video acceleration and HW degugging
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
debug.qc.hardware=true
com.qc.hardware=true

#Bravia Engine Service
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1

# Xloud Engine
ro.semc.sound_effects_enabled=true
ro.semc.xloud.supported=true
persist.service.xloud.enable=1
media.xloud.enable=1
media.xloud.supported=true

# More precisely incall volume control
ro.config.vc_call_vol_steps=15

# Increase overall scrool speed and enable rotation to 270 degree
windowsmgr.max_events_per_sec=170
windowsmgr.support_rotation_270=true
# Faster Scrolling
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000

### Disable Logers (safe battery + performance gain)
### Disable checkin services, error reporting and logging
ro.config.htc.nocheckin=1
ro.config.nocheckin=1
profiler.force_disable_ulog=1
profiler.force_disable_err_rpt=1

### Touch tunning ###
touch.presure.scale=0.001
#ro.min_pointer_dur=

ro.product.multi_touch_enabled=true
ro.product.max_num_touch=2

# Better signal reception
persist.cust.tel.eons=1
ro.config.hw_fast_dormancy=1

# Modify MTU from 1500 to 1472 on 3G network for speeding up
ro.ril.set.mtu1472=1

#
# system props for the data modules
#
ro.use_data_netmgrd=true
persist.data_netmgrd_nint=8
persist.data_netmgrd_mtu=1482

#net speed tweaks
net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.hspda=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.hspa=4096,87380,256960,4096,16384,256960

# Google DNS Tweak -- fastest dns
net.rmnet0.dns1=8.8.8.8
net.rmnet0.dns2=8.8.4.4
net.ppp0.dns1=8.8.8.8
net.ppp0.dns2=8.8.4.4
net.dns1=8.8.8.8
net.dns2=8.8.4.4



I'm studing for some other build.prop string tweaks..maybe we can reach new performance level :good: i'm looking into all general thread of XDA for find someother things to add. Because surely other people discovered some general tips in other forum's region :)
 

illgodson

Senior Member
Sep 3, 2010
608
124
its not an flashable zip. you must do it yourself.

It says right in the android forum link....things just got easier,here is a flash able zip if you don't want to do it manually... so I think it is. I just downloaded it and flashed successfully.

Sent from my NexusHD2 using xda app-developers app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 69
    Disable CPU Rendering
    I'm not responsible for anything that goes wrong with your device, you know the risks of flashing files to root. Make a backup first.​
    It's been confirmed that this tweak on Froyo based roms, causes an endless bootloop and doesn't seem to work. Although it's been confirmed to work on Harmonica. So from what I know it will work best on GB and ICS (JB need tests).

    I've red this article so i want purpose this method for tweak more smoothness from our beloved HD2!

    XDA-news

    OP words:
    "I started this thread over at the LG-VM670 forums at Android Central. I thought maybe it was about time I share it over here on XDA since it's a pretty great tweak and it works without any added issues.

    But keep in mind, if your phone doesn't have adreno200 gpu drivers, this won't work and could probably cause an endless bootloop. Now that that's covered, read up and do this carefully, this will not work on every device and is only meant for adreno200. I may have another tweak up my sleeve, but I need a device with something other than adreno200, such as tegra, to test it out on, which I don't have at the moment. Anyway, this worked out quite well for the Optimus V users, I believe it works on Xperia devices as well and it's been confirmed to work on Galaxy SIII. I'll try my very best to keep this thread updated, I don't have a ton of devices to test this on so I'd really appreciate the feedback so I can update the main post and list whatever devices this tweak works with (nobody wants a endless bootloop, so let's inform each other) oh and before I forget.. MAKE A NANDROID BACKUP ALWAYS!! Just in case

    I found this tweak while trying to look for a loopy smothness tweak made for ICS, but I ended up finding something better than loopy smoothness, a guide to disable CPU rendering. With this tweak you can take full advantage of your device's GPU. In other words you disable software rendering and enable hardware rendering instead"


    Original thread


    (related to) http://xdaforums.com/showthread.php?t=1575984

    Confirmed working on:
    - BobZhome CM9 [VM670]
    - quattrimus CM9 [VM670]
    - mrg666 MiRaGe IHO [VM670]
    - BobZhome IHO [VM670]
    - Galaxy SIII
    - Xperia devices
    - Tegra Device
    - any device with working adreno200 drivers (in this case my LG myTouch 4G is a good example, it worked marvelously and more noticeably on this device)



    HOW TO
    (thanks for the summary to thierry_hd2)

    1) MAKE A NAND BACKUP OF YOUR ROM. Just in case something would go wrong

    2) To disable CPU rendering the ONLY things to do are:
    - with a file manager with root access go to system/lib/eg
    - open the file egl.cfg. DELETE everything inside the file but keep this line: 0 1 adreno200
    - rename libGLES_android.so from egl folder. Don't delete it so if there is an issue with your ROM you can revert back to this file.
    - REBOOT

    That's all you have to to to disable CPU rendering. Depending on the ROM you are using you'll see some improvements or not (compile the poll on the top of the page)

    TEST (for return back) Flashable .zip with original ROM files (not tested yet - for who have black screen, try it before recovery) TEST
    (Thanks to blacksn)
    http://xdaforums.com/attachment.php?attachmentid=1331025&d=1347811207

    MY IMPRESSIONS:
    I'm trying it now on Tytung V2.7 and seems to works very well.!! :good: this trick can show the limit of benchmarking system (they will give you low score respect the new general smoothness).
    Some feedback comes from some users that saw how with this hack, they can now play with GTAIII or other games more fluently.

    In addiction to this explanation, disabling CPU rendering reduce battery juice!

    Set the permission to rw-r--r-- for the egl.cfg file.

    What might you benefit from? So far this is what I noticed.

    - performance boost
    - speed boost
    - increased responsiveness
    - better audio quality
    - apps such as Facebook that would become slow and unresponsive are suddenly blazing fast


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


    Some universal Build.Prop Tweaks


    If you want, you can apply some extra tweaks. These tweaks will help your HD2 feel even smoother and should improve battery life. Again depending on the level of optimisation of your ROM, you'll experience or not improvements.

    - Just to be sure I could go back to the original build.prop; for first made a backup of it!!!
    - Then I just opened the build.prop file (in the system folder) and made all the modifications manually. Some of the tweaks where already included, other tweaks had different values!

    We need help to test & describe the strings. I'm convinced that using some of them, we can reach new level of optimization.

    Thinks You need to know is:

    1. All options starting with ro.ril is applied only once during boot
    2. Most of other options can be applied after phone booted using "adb shell" or terminal direcly on phone with command "setprop option"
    3. All prop settings can be read with command "getprop" and can be redirected to file with command "getprop >> /mnt/sdcard/file.txt"
    4. Better/easy way is to rename file and not delete while testing. In case You renamed file and go wrong always can put phone in recovery, mount system, connect phone to pc and restore/rename affected file. This will save you a lot of time and nerves.

    (http://xdaforums.com/showpost.php?p=31690267&postcount=89)

    After some tests i reached new scores on our known benchs:
    Antutu: 3180 (1155Mhz Smartass V2)
    Quadrant: 1215 (1155Mhz Smartass V2)
    Vellamo: 966 (near Galaxy Note and Galaxy Nexus)



    Open build.prop (using Build Prop Editor from market) and modify or add the following strings (if they are not just included). All these settings/tweaks are rom and Android version independent.

    dalvik.vm.dexopt-flags m=y
    CHANGE TO
    dalvik.vm.dexopt-flags m=y,o=v,u=y
    then Save & Reboot

    In this mode we have set up app optimization for unicore...you set u=n only if you are using a device up to 2 cores.

    #Render UI with GPU
    debug.sf.hw=1
    #debug.composition.type=gpu
    debug.composition.type=c2d
    debug.performance.tuning=1
    debug.enabletr=true
    debug.qctwa.preservebuf=1
    dev.pm.dyn_samplingrate=1
    video.accelerate.hw=1
    ro.vold.umsdirtyratio=20
    debug.overlayui.enable=1
    debug.egl.hw=1
    ro.fb.mode=1
    hw3d.force=1
    persist.sys.composition.type=c2d
    persist.sys.ui.hw=1
    ro.sf.compbypass.enable=0

    ro.sf.lcd_density=240
    debug.fb.rgb565=0

    # Improve overall media quality
    ro.media.enc.jpeg.quality=100

    ro.media.dec.jpeg.memcap=8000000
    ro.media.enc.hprof.vid.bps=8000000
    ro.media.dec.aud.wma.enabled=1
    ro.media.dec.vid.wmv.enabled=1
    ro.media.cam.preview.fps=0
    ro.media.codec_priority_for_thumb=so

    # This is a high density device with more memory, so larger vm heaps for it.
    # and some dalvik speedups
    dalvik.vm.heapsize=40m
    # Get more RAM and faster responses by disabling verify-bytecode
    #dalvik.vm.dexopt-flags=v=n,o=v,m=y
    dalvik.vm.dexopt-flags=m=y,o=v,u=y
    dalvik.vm.verify-bytecode=false
    dalvik.vm.dexopt-data-only=1
    dalvik.vm.checkjni=0
    dalvik.vm.checkjni=false
    dalvik.vm.check-dex-sum=false
    dalvik.vm.jniopts=warnonly
    # gecata test
    dalvik.vm.check-dex-sum=false
    # gecata test
    dalvik.vm.jmiopts=forcecopy
    # Turn on Just In Time in dalvik virtual machine
    dalvik.vm.execution-mode=int:jit
    dalvik.vm.lockprof.threshold=500
    dalvik.vm.stack-trace-file=/data/anr/traces.txt


    # For the default value of agps
    ro.ril.def.agps.mode=2
    ro.ril.def.agps.feature=1

    # For HSDPA low throughput
    ro.ril.disable.power.collapse=1

    # For sensor sleep control
    ro.ril.sensor.sleep.control=1

    ro.wifi.hotspotUI=1
    ro.tether.denied=false

    # enable/disable data in roaming
    #ro.com.android.dataroaming=true
    ro.com.android.dataroaming=false

    # For quick boot mode
    # persist.sys.shutdown.mode=hibernate
    ro.config.hw_quickpoweron=true

    # Hide debuging icon from taskbar
    persist.adb.notify=0
    persist.service.adb.enable=1

    # Enable egl profiler - enable harware egl profile
    debug.egl.profiler=1

    #Makes streaming videos stream faster
    media.stagefright.enable-player=true
    media.stagefright.enable-meta=true
    media.stagefright.enable-scan=true
    media.stagefright.enable-http=true
    media.stagefright.enable-aac=true
    media.stagefright.enable-qcp=true
    media.stagefright.enable-record=true

    # Decrease time for screen off/on durrign call
    ro.lge.proximity.delay=25
    mot.proximity.delay=25
    ro.mot.buttonlight.timeout=0

    # Decrease dial out delay
    ro.telephony.call_ring.delay=0
    ring.delay=0

    # Disable WiFi calling for EU models
    ro.ril.enable.ganlite=0

    #Noise Cancellation Off
    htc.audio.alt.enable=0
    htc.audio.hac.enable=0


    ### Kernel Tweaks
    # Disable error checking (Should speed things up a bit)
    ro.kernel.checkjni=0
    ro.kernel.android.checkjni=0
    ### Allow purging of assets (System can free more Ram when needed) ###
    persist.sys.purgeable_assets=1
    # Disable strict mode checking
    persist.android.strictmode=0

    # Disable the zygote loader
    ro.wmt.blcr.enable=0

    # Keep launcher in memory
    ro.HOME_APP_ADJ=1
    # Won't let memory managers to kill Launcher
    ro.PERCEPTIBLE_APP_ADJ=2
    #ro.HOME_APP_MEM=2048

    # Tweaks for battery saving
    pm.sleep_mode=1
    usb_wakeup=enable
    proximity_incall=enable
    power_supply.wakeup=enable
    ro.config.hw_power_saving=1
    ro.config.hw_fast_dormancy=1
    ro.config.hw_quickpoweron=true
    persist.sys.use_dithering=0
    #improve battery under no signal -- need test
    ro.mot.eri.losalert.delay=1000

    # For sensor sleep control
    ro.ril.sensor.sleep.control=1

    # Qualcomm display settings -- Video acceleration and HW degugging
    debug.qctwa.statusbar=1
    debug.qctwa.preservebuf=1
    debug.qc.hardware=true
    com.qc.hardware=true

    #Bravia Engine Service
    ro.service.swiqi.supported=true
    persist.service.swiqi.enable=1

    # Xloud Engine
    ro.semc.sound_effects_enabled=true
    ro.semc.xloud.supported=true
    persist.service.xloud.enable=1
    media.xloud.enable=1
    media.xloud.supported=true

    # More precisely incall volume control
    ro.config.vc_call_vol_steps=15

    # Increase overall scrool speed and enable rotation to 270 degree
    windowsmgr.max_events_per_sec=170
    windowsmgr.support_rotation_270=true
    # Faster Scrolling
    ro.max.fling_velocity=12000
    ro.min.fling_velocity=8000

    ### Disable Logers (safe battery + performance gain)
    ### Disable checkin services, error reporting and logging
    ro.config.htc.nocheckin=1
    ro.config.nocheckin=1
    profiler.force_disable_ulog=1
    profiler.force_disable_err_rpt=1


    ### Touch tunning ###
    touch.presure.scale=0.001

    #ro.min_pointer_dur=

    ro.product.multi_touch_enabled=true
    ro.product.max_num_touch=2

    # Better signal reception
    persist.cust.tel.eons=1
    ro.config.hw_fast_dormancy=1

    # Modify MTU from 1500 to 1472 on 3G network for speeding up
    ro.ril.set.mtu1472=1


    #
    # system props for the data modules
    #
    ro.use_data_netmgrd=true
    persist.data_netmgrd_nint=8
    persist.data_netmgrd_mtu=1482

    #net speed tweaks
    net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
    net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
    net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
    net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
    net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960
    net.tcp.buffersize.hspda=4096,87380,256960,4096,16 384,256960
    net.tcp.buffersize.hspa=4096,87380,256960,4096,163 84,256960

    # Google DNS Tweak -- fastest dns
    net.rmnet0.dns1=8.8.8.8
    net.rmnet0.dns2=8.8.4.4
    net.ppp0.dns1=8.8.8.8
    net.ppp0.dns2=8.8.4.4
    net.dns1=8.8.8.8
    net.dns2=8.8.4.4


    RED= Suggested
    PURPLE= Just inside or not useful

    Using part of tweaked dalvik setting is not recommended, because whole section is result of many calculations and correlations in options. Also it is highly recommended after putting these setting in build.prop to delete cache and dalvik cache and after first boot to make power off and fix permissions in recovery.


    Thx to all Devs that will give a hand
    Thx to gecata & Pixelfreak for the list.
    Thx to all users for feedback
    9
    Pixelfreak explained everything correctly. If someone want more explanation - will glad to help.
    For these settings/tweaks I want to thank to Pixelfreak for testing with his rom. Unfortunately, my HD2 is long time dead and it is very difficult to continue tweaking.
    Also if someone want to get more graphic speed can look at seaman2k post here : http://xdaforums.com/showthread.php?p=26202819&highlight=overlay#post26202819.

    Best regards!

    P.S. Using part of tweaked dalvik setting is not recommended, because whole section is result of many calculations and correlations in options. Also it is highly recommended after putting these setting in build.prop to delete cache and dalvik cache and after first boot to make power off and fix permissions in recovery.

    ---------- Post added at 01:50 AM ---------- Previous post was at 01:27 AM ----------

    @devilpera64

    I see that you set out to get the most out of HD2. Take a look here: http://forum.cyanogenmod.com/topic/9781-buildprop-roril-meanings/. These options are related to GSM/3G/GPRS speed and power consumption.

    Thinks You need to know is:

    1. All options starting with ro.ril is applied only once during boot
    2. Most of other options can be applied after phone booted using "adb shell" or terminal direcly on phone with command "setprop option"
    3. All prop settings can be read with command "getprop" and can be redirected to file with command "getprop >> /mnt/sdcard/file.txt"
    4. Better/easy way is to rename file and not delete while testing. In case You renamed file and go wrong always can put phone in recovery, mount system, connect phone to pc and restore/rename affected file. This will save you a lot of time and nerves.

    Good luck!
    7
    re

    Please, i need some clarification regarding this file linked by Gecat (he said that can perform more GPU performances):

    "carl1961 s3.5 v2.4 rev1.zip"

    What change respect our same libs?

    General Performance
    dalvik.vm.heapsize=40m

    makes apps load faster and frees more ram.
    dalvik.vm.dexopt-flags=m=y,o=v,u=y
    dalvik.vm.verify-bytecode=false
    dalvik.vm.dexopt-data-only=1
    dalvik.vm.checkjni=0
    dalvik.vm.checkjni=false
    dalvik.vm.check-dex-sum=false
    dalvik.vm.jniopts=warnonly


    For performance reasons, the checksum on "optimized" DEX files is ignored. This is usually safe, because the files are generated on the device, and have access permissions that prevent modification.
    If the storage on a device becomes unreliable, however, data corruption can occur. This usually manifests itself as a repeatable virtual machine crash. To speed diagnosis of such failures, the VM provides the -Xcheckdexsum argument. When set, the checksums on all DEX files are verified before the contents are used.
    The application framework will provide this argument during VM creation if the dalvik.vm.check-dex-sum property is enabled.
    To enable extended DEX checksum verification:
    adb shell setprop dalvik.vm.check-dex-sum true
    Incorrect checksums will prevent the DEX data from being used, and will cause errors to be written to the log file. If a device has a history of problems it may be useful to add the property to /data/local.prop.
    Note also that the dexdump tool always verifies DEX checksums, and can be used to check for corruption in a large set of files

    dalvik.vm.check-dex-sum=false

    Dalvik Virtual Machine tweaks.
    dalvik.vm.jmiopts=forcecopy
    dalvik.vm.execution-mode=int:jit
    dalvik.vm.lockprof.threshold=500
    dalvik.vm.stack-trace-file=/data/anr/traces.txt


    here can read more:

    For editing build.prop file, you need to

    Have a File explorer that supports ROOT- you can start with File Manager; Root Explorer would be more helpful but latter is a paid app)
    Mount the system as R/W – since the file is /system/build.prop (Root Explorer allows that, but there are other ways)
    Update: You can have an all-in-one app, Script Manager for the above

    Update 2: Save yourself all this and get Build.prop Editor (still need ROOT permissions, that’s never gonna get away :/ and BusyBox)

    Get going:

    Explore/Find the build.prop file
    Make a Backup
    Check the backed up file
    Make a Backup again, this time to a different folder
    Use the following list to modify values
    1. Locks launcher in memory. Only use with light launchers

    ro.HOME_APP_ADJ=1
    2. Improves audio and video recording quality

    ro.media.enc.jpeg.quality=100
    ro.media.dec.jpeg.memcap=8000000
    ro.media.enc.hprof.vid.bps=8000000
    ro.media.capture.maxres=8m
    ro.media.panorama.defres=3264x1840
    ro.media.panorama.frameres=1280x720
    ro.camcorder.videoModes=true
    ro.media.enc.hprof.vid.fps=65

    3. Faster streaming videos

    media.stagefright.enable-player=true
    media.stagefright.enable-meta=true
    media.stagefright.enable-scan=true
    media.stagefright.enable-http=true
    media.stagefright.enable-rtsp=true
    media.stagefright.enable-record=false

    4. Video acceleration and HW debugging. debug.composition.type can also be changed to cpu or mdp.

    debug.sf.hw=1
    debug.performance.tuning=1
    video.accelerate.hw=1
    debug.egl.profiler=1
    debug.egl.hw=1
    debug.composition.type=gpu

    5. Disables built in error reporting.

    profiler.force_disable_err_rpt=1
    profiler.force_disable_ulog=1

    6. Better net speeds.

    net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
    net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
    net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
    net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
    net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960

    7. Saves power. ro.mot.eri.losalert.delay=1000 could brake tethering.

    ro.ril.power_collapse=1
    pm.sleep_mode=1
    wifi.supplicant_scan_interval=180
    ro.mot.eri.losalert.delay=1000

    8. 3G tweaks.

    ro.ril.hep=0
    ro.ril.hsxpa=2
    ro.ril.gprsclass=12
    ro.ril.enable.dtm=1
    ro.ril.hsdpa.category=8
    ro.ril.enable.a53=1
    ro.ril.enable.3g.prefix=1
    ro.ril.htcmaskw1.bitmask=4294967295
    ro.ril.htcmaskw1=14449
    ro.ril.hsupa.category=6

    9. Disables logcat

    logcat.live=disable

    10. Screen recognizes only two fingers.

    ro.product.multi_touch_enabled=true
    ro.product.max_num_touch=2

    11. Support for ipv4 and ipv6.

    persist.telephony.support.ipv6=1
    persist.telephony.support.ipv4=1

    12. Phone rings immediately.

    ro.telephony.call_ring.delay=0
    ring.delay=0

    13. Disables blackscreen issue after a call.

    ro.lge.proximity.delay=25
    mot.proximity.delay=25

    14. Better scrolling.

    windowsmgr.max_events_per_sec=150
    ro.min_pointer_dur=8
    ro.max.fling_velocity=12000
    ro.min.fling_velocity=8000

    15. Better signal.

    persist.cust.tel.eons=1

    16. Better call voice quality.

    ro.ril.enable.amr.wideband=1

    17. Better signal.

    ro.config.hw_fast_dormancy=1

    18. Faster boot.

    ro.config.hw_quickpoweron=true

    19. Disables error checking.

    ro.kernel.android.checkjni=0
    ro.kernel.checkjni=0

    20. Dalvik Virtual Machine tweaks.

    dalvik.vm.checkjni=false
    dalvik.vm.dexopt-data-only=1
    dalvik.vm.heapstartsize=5m
    dalvik.vm.heapgrowthlimit=48m
    dalvik.vm.heapsize=64m
    dalvik.vm.verify-bytecode=false
    dalvik.vm.execution-mode=int:jit
    dalvik.vm.lockprof.threshold=250
    dalvik.vm.dexopt-flags=m=v,o=y
    dalvik.vm.stack-trace-file=/data/anr/traces.txt
    dalvik.vm.jmiopts=forcecopy

    21. Disables locating. Also delete /system/app/networklocation.apk and /system/framework/com.android.location.provider.jar

    ro.com.google.locationfeatures=0
    ro.com.google.networklocation=0

    22. Disables sending of usage data.

    ro.config.nocheckin=1

    23. Better image quality, lower performance.

    persist.sys.use_dithering=1

    24. Disable notification while adb is active

    persist.adb.notify=0

    25. Change LCD density – My Favorite

    - Default value is 240. Don't forget to install a patched market after changing it.
    ro.sf.lcd.density=240

    26. MMS APN retry timer set to 2 sec( if SMS/MMS couldn`t be sent, it retries after 2 instead of 5 seconds).

    ro.gsm.2nd_data_retry_config=max/_retries=3, 2000, 2000, 2000

    27. Key lights stay on while screen is on.

    ro.mot.buttonlight.timeout=0

    28. Disable strict mode checking.

    persist.android.strictmode=0

    29. Remove FPS cap. May be unstable – better have it activated

    debug.gr.swapinterval=0

    30. Disable notification sound for SD storage insert

    persist.service.mount.playsnd=0

    31. Enable display dithering

    persist.sys.use_dithering=1

    32. More volume steps in call.

    ro.config.vc_call_steps=20

    33. Phone will not wake up from hitting volume rocker.

    ro.config.hwfeature_wakeupkey=0

    34. Lock app in memory.

    sys.keep_app_1=com.your.app.app

    35. Enables MTP mode.

    persist.sys.usb.config=mtp

    36. Others

    persist.sys.shutdown.mode=hibernate
    debug.kill_allocating_task=0
    persist.sys.ui.hw=1
    ro.debuggable=1
    ro.config.disable.hw_accel=false
    debug.enabletr=true

    Pixelfreak
    6
    Please, Gecata can you explain us what can do every string? i'm thinking to write down a guide including the hypotetic effects :) thx!

    read all lines with #
    this is the explanation(statement) in addition for this tweak

    #Render UI with GPU
    debug.sf.hw=1
    #debug.composition.type=gpu
    debug.composition.type=c2d
    debug.performance.tuning=1
    debug.enabletr=true
    debug.qctwa.preservebuf=1
    dev.pm.dyn_samplingrate=1
    video.accelerate.hw=1
    ro.vold.umsdirtyratio=20
    debug.overlayui.enable=1
    debug.egl.hw=1
    ro.fb.mode=1
    hw3d.force=1
    persist.sys.composition.type=c2d
    persist.sys.ui.hw=1
    ro.sf.compbypass.enable=0

    ro.sf.lcd_density=240
    debug.fb.rgb565=0
    screen wight and color

    # Improve overall media quality
    better media quality

    # This is a high density device with more memory, so larger vm heaps for it.
    # and some dalvik speedups
    dalvik.vm.heapsize=40m
    # Get more RAM and faster responses by disabling verify-bytecode
    #dalvik.vm.dexopt-flags=v=n,o=v,m=y
    dalvik.vm.dexopt-flags=m=y,o=v,u=y
    dalvik.vm.verify-bytecode=false
    dalvik.vm.dexopt-data-only=1
    dalvik.vm.checkjni=0
    dalvik.vm.checkjni=false
    dalvik.vm.check-dex-sum=false
    dalvik.vm.jniopts=warnonly
    # gecata test
    dalvik.vm.check-dex-sum=false
    # gecata test
    dalvik.vm.jmiopts=forcecopy
    # Turn on Just In Time in dalvik virtual machine
    dalvik.vm.execution-mode=int:jit
    dalvik.vm.lockprof.threshold=500
    dalvik.vm.stack-trace-file=/data/anr/traces.txt

    # For the default value of agps
    ro.ril.def.agps.mode=2
    ro.ril.def.agps.feature=1

    # For HSDPA low throughput
    ro.ril.disable.power.collapse=1

    # For sensor sleep control
    ro.ril.sensor.sleep.control=1
    ro.wifi.hotspotUI=1
    ro.tether.denied=false

    # enable/disable data in roaming
    #ro.com.android.dataroaming=true
    ro.com.android.dataroaming=false

    # For quick boot mode
    quick/fast boot

    # Hide debuging icon from taskbar
    persist.adb.notify=0
    persist.service.adb.enable=1

    # Enable egl profiler - enable harware egl profile
    grafic drivers

    #Makes streaming videos stream faster
    better video performance

    # Decrease time for screen off/on durrign call
    screen on/off when call

    # Decrease dial out delay
    ro.telephony.call_ring.delay=0
    ring.delay=0

    # Disable WiFi calling for EU models
    no wifi caling for eu leo

    #Noise Cancellation Off
    htc.audio.alt.enable=0
    htc.audio.hac.enable=0

    ### Kernel Tweaks
    # Disable error checking (Should speed things up a bit)
    ro.kernel.checkjni=0
    ro.kernel.android.checkjni=0
    ### Allow purging of assets (System can free more Ram when needed) ###
    more ram for system performance
    # Disable strict mode checking
    persist.android.strictmode=0

    # Disable the zygote loader
    ro.wmt.blcr.enable=0

    # Keep launcher in memory
    ro.HOME_APP_ADJ=1
    # Won't let memory managers to kill Launcher
    ro.PERCEPTIBLE_APP_ADJ=2
    #ro.HOME_APP_MEM=2048

    # Tweaks for battery saving
    tweaks for better battery train

    # For sensor sleep control
    ro.ril.sensor.sleep.control=1

    # Qualcomm display settings -- Video acceleration and HW degugging
    hardware settings for display

    #Bravia Engine Service
    bravia settings

    # Xloud Engine
    xloud settings

    # More precisely incall volume control
    better volume control

    # Increase overall scrool speed and enable rotation to 270 degree
    windowsmgr.max_events_per_sec=170
    windowsmgr.support_rotation_270=true
    # Faster Scrolling
    ro.max.fling_velocity=12000
    ro.min.fling_velocity=8000

    ### Disable Logers (safe battery + performance gain)
    ### Disable checkin services, error reporting and logging
    save battery settings and performance

    ### Touch tunning ###
    faster touch screen

    # Better signal reception
    persist.cust.tel.eons=1
    ro.config.hw_fast_dormancy=1

    # Modify MTU from 1500 to 1472 on 3G network for speeding up
    better 3G network speed

    # system props for the data modules
    settings for data modules

    #net speed tweaks
    better net speed

    # Google DNS Tweak -- fastest dns
    better google connect


    gecata verb eater to me if I lie wrong

    Pixelfreak
    4
    Don't want to be a fun spoiler but some things are there for a reason ;)

New posts