FORUMS
Remove All Ads from XDA

 View Poll Results: Performance Improvement - give your feedback!

Yes, great!! Overall performance are increased!!
 
160 Vote(s)
44.94%
Yes, but only a little..
 
111 Vote(s)
31.18%
No, i think it's only a placebo..
 
70 Vote(s)
19.66%
No, it decrease performances!!
 
15 Vote(s)
4.21%

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

898 posts
Thanks Meter: 247
 
By devilpera64, Senior Member on 15th September 2012, 12:26 PM
Post Reply Email Thread
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://forum.xda-developers.com/show....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://forum.xda-developers.com/atta...5&d=1347811207

MY IMPRESSIONS:
I'm trying it now on Tytung V2.7 and seems to works very well.!! 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://forum.xda-developers.com/show...7&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
The Following 69 Users Say Thank You to devilpera64 For This Useful Post: [ View ] Gift devilpera64 Ad-Free
 
 
15th September 2012, 12:38 PM |#2  
Member
Thanks Meter: 3
 
More
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)?
The Following User Says Thank You to Swamp_cz For This Useful Post: [ View ] Gift Swamp_cz Ad-Free
15th September 2012, 12:46 PM |#3  
devilpera64's Avatar
OP Senior Member
Flag Monfumo (NGI Service)
Thanks Meter: 247
 
More
Quote:
Originally Posted by Swamp_cz

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)?

Just correct them! Thx ^_^
The Following 2 Users Say Thank You to devilpera64 For This Useful Post: [ View ] Gift devilpera64 Ad-Free
15th September 2012, 12:53 PM |#4  
Senior Member
Flag Munich
Thanks Meter: 26
 
More
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?
15th September 2012, 01:10 PM |#5  
rubledub's Avatar
Senior Member
Thanks Meter: 54
 
More
I have almost immediate results!
Cheers
15th September 2012, 02:37 PM |#6  
Rick_1995's Avatar
Inactive Recognized Developer
Flag Santa Clara
Thanks Meter: 3,060
 
More
Don't want to be a fun spoiler but some things are there for a reason
The Following 4 Users Say Thank You to Rick_1995 For This Useful Post: [ View ] Gift Rick_1995 Ad-Free
15th September 2012, 02:48 PM |#7  
Senior Member
Flag Valle Castellana, L'Aquila, Groningen, Madrid, Bruxelles, Abu Dhabi
Thanks Meter: 1,556
 
Donate to Me
More
what's the negative side of this mod?
15th September 2012, 02:51 PM |#8  
tw1st3d83's Avatar
Senior Member
Flag Belgrade
Thanks Meter: 263
 
More
Quote:
Originally Posted by Swamp_cz

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)?

try to click on link instead of copy-paste...
The Following User Says Thank You to tw1st3d83 For This Useful Post: [ View ] Gift tw1st3d83 Ad-Free
15th September 2012, 02:53 PM |#9  
devilpera64's Avatar
OP Senior Member
Flag Monfumo (NGI Service)
Thanks Meter: 247
 
More
Quote:
Originally Posted by pirlano

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
The Following 3 Users Say Thank You to devilpera64 For This Useful Post: [ View ] Gift devilpera64 Ad-Free
15th September 2012, 02:56 PM |#10  
tw1st3d83's Avatar
Senior Member
Flag Belgrade
Thanks Meter: 263
 
More
this thing works for now on PARANOIDANDROID HD2 v1.5b ICS 4.0.4
The Following User Says Thank You to tw1st3d83 For This Useful Post: [ View ] Gift tw1st3d83 Ad-Free
15th September 2012, 03:15 PM |#11  
Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by tw1st3d83

try to click on link instead of copy-paste...

I did click it, even the adress was broken. Now it's ok, because good guy devilpera64 already fixed that.
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