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
-
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.!! :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.
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
Thx to
all Devs that will give a hand
Thx to
gecata & Pixelfreak for the list.
Thx to
all users for feedback