[GUIDE] Disable CPU Rendering [UPDATED 9/28/2013]

Search This thread

leolawliet

Senior Member
Aug 7, 2011
3,441
1,631
New York, NY
www.facebook.com
Tried it on my LG-E610. It has the GPU mentioned in the OP, but the result was not successful. After the boot animation the display flashes continously between bright white and gray horizontal lines. Hard reset doesn't work, and Winblows 7 no longer recognizes the phone as anything other than an empty USB mass storage devive.

It's good the phone isn't an expensive thing, so I'll just buy a new one next week.

Did you make a nandroid backup? You could restore from that. Or you could just transfer a flashable rom to your microsd card and then boot into recovery and install the rom. It should work again.

Sent from my LG-E739 using Tapatalk 2
 

igerup

Senior Member
Sep 13, 2012
118
13
Did you make a nandroid backup? You could restore from that. Or you could just transfer a flashable rom to your microsd card and then boot into recovery and install the rom. It should work again.

Sent from my LG-E739 using Tapatalk 2

Pressing power + volume down and home 2 seconds, results in the recovery animation, then it's back to the flashing display for hours.
Pressing power + volume up and home for 2 seconds, results in the display showing an image of a phone with a warning symbol about not removing any cables. And it stays like that until I remove the battery; presing power just results in a reboot.

If I want to transfer anything to the microsd card, I have to put it in my 4g/lte modem; the card reader doesn't show up un Winblows. How can I get the phone to know there is anything on the microsd when the display won't show anything useful? Even if I had done a nandroid backup, the display would still behave the same; restoring a nandroid backup recovers some interaction from the user, yes?

It's like the computer-display would suddenly turn all white while you're paying the rent on your online bank account; how to know if you're doing anything right or wrong when you can't see the results of your mouse clicking/keyboard pressing...
 

UserU

Senior Member
Mar 25, 2012
88
6
Tried it, and noticed a slight performance improvement after that. From the AnTuTu benchmark score, CPU clocked at 844MHz:

Before: 1890
After: 2090
 
  • Like
Reactions: leolawliet

uosiumen

Member
Sep 27, 2008
46
10
Wrocław
In HTC Sensation, Viper S 1.2.1 (Android 4.0.3/Sense 4.1) I don't have such files:
Code:
ViperS@/system/lib/egl# ls
egl.cfg                    libGLESv1_CM_adreno200.so
eglsubAndroid.so           libGLESv2_adreno200.so
libEGL_adreno200.so        libq3dtools_adreno200.so
ViperS@/system/lib/egl# cat egl.cfg                                            
0 1 adreno200

So what I have to delete/edit?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 159
    Featured on XDA Portal: Disable CPU Rendering on Devices with the Adreno 200

    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 some 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!! 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 (correct me if I'm wrong).

    Original thread where I found the tweak: [TWEAK] ICS Specific Tweaks of XPERIA MOD ROM

    If you end up adding this tweak into a custom rom you are sharing, please don't forget to give credit for it. You can thank me and mrg666 for it :)

    Confirmed working on:
    Code:
    - 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)

    It should work on any rom, just as long as it has adreno200. By downloading CPU-Z from Play Store you can tell what GPU your device is running.

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

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

    I forgot to mention this before, I recommend you use Root Explorer or another file browser that has root support to install the tweak. Also set the permission to rw-r--r-- for the egl.cfg file.


    Disable CPU Rendering

    Code:
    It removes the entire soft-rendering pathway, hence good performance. 
    
    Download the attachment and put it under system/lib/egl and delete libGLES_android.so from egl folder. 
    
    That's all.
    
    [URL="http://xdaforums.com/attachment.php?attachmentid=976632&d=1333283208"]egl.zip[/URL]
    
    P.S. It's flashable via CWM recovery now with the eglpatch, it just got easier. But if you would like to do it manually for whatever reason, this guide will still remain here.


    I didn't develop adreno200 drivers, this tweak is a simple change to the egl.conf file, I came across it and tested it with my LG Optimus V and my LG myTouch 4G both on GB and ICS roms for both devices and it works and I'm not entirely sure about this but it should work on some other devices. 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.


    Enjoy :D


    Update! mrg666 compiled a flashable zip, the link to his post is right here

    Another update! It's been confirmed that this tweak doesn't seem to work on Froyo based roms, it causes an endless bootloop. Although it's been confirmed to work on Harmonica. So from what I know it will work best on GB and above.

    Yet another update! This info is for anyone who doesn't have adreno200 on their device. Instead of flashing the cwm patch, edit your egl.cfg file manually with Root Explorer or whatever root file browser you use, and edit out the first line, which is pretty much the default CPU rendering. I hope I'm correct about this, if not then I apologize in advance. This is what others reported working for them.


    - build.prop tweaks -
    Use on whatever ROM you like

    Code:
    ### LeoLawliet's new tweaks 9/28/2013 ###
    
    # Misc Tweaks
    debug.gr.swapinterval=0
    debug.performance.tuning=1
    dev.pm.dyn_samplingrate=1
    persist.adb.notify=0
    persist.service.adb.enable=1
    persist.sys.use_dithering=1
    persist.sys.purgeable_assets=1
    qemu.hw.mainkeys=0
    ro.min_pointer_dur=1
    ro.sec.proximity.delay=0
    sys.mem.max_hidden_apps=15
    
    # Battery Tweaks
    pm.sleep_mode=1
    ro.ril.disable.power.collapse=1
    
    # Unlocks Screen using Menu Button
    ro.config.hw_menu_unlockscreen=true
    
    # Kernel Tweaks
    ro.kernel.checkjni=0
    
    # Ram Tweaks
    persist.sys.purgeable_assets=1
    
    # Kills Loging
    ro.config.htc.nocheckin=1
    ro.config.nocheckin=1
    profiler.force_disable_ulog=1
    profiler.force_disable_err_rpt=1
    
    # Media Streaming Optimizations
    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
    
    # Camera & Media Tweaks
    ro.media.enc.jpeg.quality=100
    ro.media.dec.jpeg.memcap=8000000
    ro.media.dec.jpeg.memcap=20000000
    ro.media.enc.hprof.vid.bps=8000000
    ro.media.enc.hprof.vid.fps=75
    ro.media.enc.jpeg.quality=100
    ro.media.dec.aud.wma.enabled=1
    ro.media.dec.vid.wmv.enabled=1
    ro.media.cam.preview.fps=25
    ro.media.codec_priority_for_thumb=so
    
    # CM9 Tweaks
    hwui.disable_vsync=true
    hwui.render_dirty_regions=false
    
    # Voice Optimization
    ro.ril.enable.amr.wideband
    
    # Better Telephony Settings
    ro.config.vc_call_vol_steps=15
    ro.config.vc_call_steps=20
    ro.telephony.call_ring.delay=0
    ring.delay=0
    ro.lge.proximity.delay=25
    mot.proximity.delay=25
    ro.mot.buttonlight.timeout=0
    
    # Google DNS
    net.dns1=8.8.8.8
    net.dns2=8.8.4.4
    net.rmnet0.dns1=8.8.8.8
    net.rmnet0.dns2=8.8.4.4
    
    # TCP Tweaks (might break WiFi)
    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
    
    # Wireless Conection Tweaks (might break WiFi)
    net.ipv4.ip_no_pmtu_disc=0
    net.ipv4.route.flush=1
    net.ipv4.tcp_ecn=0
    net.ipv4.tcp_fack=1
    net.ipv4.tcp_mem=187000 187000 187000
    net.ipv4.tcp_moderate_rcvbuf=1
    net.ipv4.tcp_no_metrics_save=1
    net.ipv4.tcp_rfc1337=1
    net.ipv4.tcp_rmem=4096 39000 187000
    net.ipv4.tcp_sack=1
    net.ipv4.tcp_timestamps=1
    net.ipv4.tcp_window_scaling=1
    net.ipv4.tcp_wmem=4096 39000 187000
    
    # 3d performance 
    persist.android.strictmode=0 
    ro.min_pointer_dur=1 
    ro.secure=0
    
    # 16BIT Support
    debug.fb.rgb565=1
    
    # 16BIT Transparency
    persist.sys.use_16bpp_alpha=1
    
    # Graphic Tweaks
    ro.product.gpu.driver=1
    debug.gr.swapinterval=0
    
    # Better scrolling responsiveness
    windowsmgr.max_events_per_sec=90
    ro.max.fling_velocity=12000 
    ro.min.fling_velocity=8000
    
    # Better Touch Responsiveness
    touch.presure.scale=0.001
    
    # Dalvik Tweaks
    dalvik.vm.heapstartsize=8m
    dalvik.vm.heapgrowthlimit=64m
    dalvik.vm.heapsize=256m
    dalvik.vm.dexopt-flags=m=y,v=n,o=n
    dalvik.vm.stack-trace-file=/data/anr/traces.txt
    dalvik.vm.lockprof.threshold=500
    dalvik.vm.execution-mode=int:jit
    dalvik.vm.jmiopts=forcecopy
    dalvik.vm.dexopt-data-only=1
    
    # Enable Qualcomm tile rendering (Hardware Rendering)
    debug.enabletr=1
    persist.sys.composition.type=gpu 
    
    # enable harware egl profile 
    debug.egl.profiler=1
    
    # FPs Booster
    persist.sys.NV_FPSLIMIT=60
    persist.sys.NV_POWERMODE=1
    persist.sys.NV_PROFVER=15
    persist.sys.NV_STEREOCTRL=0
    persist.sys.NV_STEREOSEPCHG=0
    persist.sys.NV_STEREOSEP=20
    
    # Graphic Optimization
    debug.gr.numframebuffers=3
    ro.min_pointer_dur=1
    
    # Hardware 2D & 3D Rendering
    hw3d.force=1
    hw2d.force=1
    
    # Nitro Lagg Nullifier
    ENFORCE_PROCESS_LIMIT=false
    MAX_SERVICE_INACTIVITY=false
    MIN_HIDDEN_APPS=false
    MAX_HIDDEN_APPS=false
    CONTENT_APP_IDLE_OFFSET=false
    EMPTY_APP_IDLE_OFFSET=false
    MAX_ACTIVITIES=false
    ACTIVITY_INACTIVE_RESET_TIME=false
    MAX_RECENT_TASKS=false
    MIN_RECENT_TASKS=false
    APP_SWITCH_DELAY_TIME=false
    MAX_PROCESSES=false
    PROC_START_TIMEOUT=false
    CPU_MIN_CHECK_DURATION=false
    GC_TIMEOUT=false
    SERVICE_TIMEOUT=false
    MIN_CRASH_INTERVAL=false
    
    # Pro-Tuned ADJ 1.2 by LENAROX.
    ro.FOREGROUND_APP_ADJ=0
    ro.VISIBLE_APP_ADJ=4
    ro.PERCEPTIBLE_APP_ADJ=3
    ro.HEAVY_WEIGHT_APP_ADJ=2
    ro.SECONDARY_SERVER_ADJ=1
    ro.BACKUP_APP_ADJ=5
    ro.HOME_APP_ADJ=6
    ro.HIDDEN_APP_MIN_ADJ=7
    ro.EMPTY_APP_ADJ=15
    #Ultimate Assassin Mode!
    #ro.SECONDARY_SERVER_ADJ=15
    #ro.HIDDEN_APP_MIN_ADJ=3
    
    # Qualcomm Display Settings (Qualcomm devices ONLY!!)
    com.qc.hardware=1
    debug.qc.hardware=true
    debug.qctwa.preservebuf=1
    debug.qctwa.statusbar=1
    
    # Rapid Boot Technology 1.1 (Reduces bootup time)
    persist.sys.shutdown.mode=hibernate
    ro.config.hw_fast_dormancy=1
    ro.config.hw_quickpoweron=true
    
    # Rendering Tweaks
    debug.composition.type=c2d
    debug.egl.hw=1
    debug.enabletr=true
    debug.overlayui.enable=1
    debug.qctwa.preservebuf=1
    debug.performance.tuning=1
    debug.sf.hw=1
    dev.pm.dyn_samplingrate=1
    hw3d.force=1
    ro.config.disable.hw_accel=false
    ro.fb.mode=1
    ro.sf.compbypass.enable=0
    ro.vold.umsdirtyratio=20
    persist.sys.composition.type=c2d
    persist.sys.ui.hw=1
    video.accelerate.hw=1
    
    # Sensor Sleep Control
    ro.ril.sensor.sleep.control=1
    
    # Smoothens UI
    persist.service.lgospd.enable=0
    persist.service.pcsync.enable=0
    
    ### End of LeoLawliet's new tweaks 9/28/2013 ###
    4
    This will work with any device.

    I just did it to my Nexus 7, Euro Galaxy S3, American Galaxy S3 and Euro Galaxy note.

    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.

    Thanks for this!
    4
    I tested this on sgs3 (because there is mention that it's work on sgs3) with samsung jelly bean rom and it didn't work, it just stuck on boot, even boot animation doesn't show up.

    Download egl.zip extract it and place it into your sd card...
    .
    Now open root explore app...
    .
    1: go_to ---> system->lib->egl (folder)
    .
    2: There you fond.. [egl.cfg]
    .
    3: press [MOUNT R/W] on the top of root explorer app.
    .
    4: delete [egl.cfg] *note:- without pressing [MOUNT R/W] you are not able to delete that file or not able to change permission too .
    .
    5: then go to your sd card copy [egl.cfg] and place it :
    System->lib->egl (folder)
    .
    6. Now press [egl.cfg] for while -> press permission..
    .
    7. Set permission exactly like pik given below:->
    .
    8: after setting permission repress [MOUNT R/W] on top of root explore app.
    .
    9: re_boot your device.
    .
    10: now hav som beers :beer:
    .
    [Sent from my GT-S5570]
    .
    *Correct me if iam r_ong
    & english is my 3rd lang :D
    2
    Download egl.zip extract it and place it into your sd card...
    .
    Now open root explore app...
    .
    1: go_to ---> system->lib->egl (folder)
    .
    2: There you fond.. [egl.cfg]
    .
    3: press [MOUNT R/W] on the top of root explorer app.
    .
    4: delete [egl.cfg] *note:- without pressing [MOUNT R/W] you are not able to delete that file or not able to change permission too .
    .
    5: then go to your sd card copy [egl.cfg] and place it :
    System->lib->egl (folder)
    .
    6. Now press [egl.cfg] for while -> press permission..
    .
    7. Set permission exactly like pik given below:->
    .
    8: after setting permission repress [MOUNT R/W] on top of root explore app.
    .
    9: re_boot your device.
    .
    10: now hav som beers :beer:
    .
    [Sent from my GT-S5570]
    .
    *Correct me if iam r_ong
    & english is my 3rd lang :D

    Or you could unzip the egl file, copy it, and overwrite the old one and set the right permissions, then reboot. I honestly think this tweak works best and shows the most noticeable results in Gingerbread

    Sent from my LG-E739 using Tapatalk 2