[MOD] OpenGL ES 1.1 for Motorola Cliq
  • Saulcho009Saulcho009 January 2011

    @SilverL was able to put OpenGL ES 1.1 into the Cliq. I decided to look around the XDA Hero forum (including the link SilverL included) and I found out a way to put OpenGL ES 1.1 into the Cliq.

    --I found an increase in fps in Neocore. Before: 23 fps After: 29 fps
    --The UI animations (sliding between screen to screen, Sense preview in LP, etc) are smoother and snappier (CM4Cliq seems to have moments of lag which was normal before ES 1.1).
    --Angry Birds plays better, still laggy though
    --In the Hero forum, its rumored that they get a huge increase in fps (57 fps on Neocore) on Gingerbread 2.3 AOSP

    Download:
    This is known to work on Cliq, Backflip, and Cliq XT. It works on Blur, AOSP, and CM ROMs.
    v2: http://www.mediafire.com/?h2c8sjdz7e1449t (Recommended)
    v2.1: http://www.mediafire.com/?91wdi9c8yaxifym

    Changes:
    v2 - added "gralloc.morrison.so"
    v2.1 - added different "libGLES_qcom.so"

    Instruction:
    Unzip the files
    Mount system to r/w
    adb push libGLES_qcom.so /system/lib/egl
    adb push gralloc.msm7k.so /system/lib/hw
    adb push gralloc.morrison.so /system/lib/hw
    adb shell
    chmod 644 /system/lib/egl/libGLES_qcom.so
    chmod 644 /system/lib/hw/gralloc.msm7k.so
    chmod 644 /system/lib/hw/gralloc.morrison.so
    Add "debug.sf.hw=1" and "ro.opengles.version=65537" above "dalvik.vm.stack-trace=..." in build.prop
    Reboot and evaluate

    To know if it works, check "System Information" in Quadrant and under GPU you should find MSM7230 OpenGL ES 1.1-CM

    Future:

    --It may not be possible... but if we can find a OpenGL ES 2.0 that works with the Cliq (or Hero) or build one, we could have OpenGL ES 2.0 on our Cliq. Would anyone like to look into this?:
    --Dearmasfamily from the HTC Hero is working on increasing performances and giving a more complete OpenGL ES 1.1. So stay tuned!

  • FistOfRebellionFistOfRebellion January 2011

    Nice! Good find bro! I'm going to try this with the aosp froyo build. I'll post my results.

  • nonextstopnonextstop January 2011

    So this could help reduce the lag on Gingerbread?

  • JassyCliqJassyCliq January 2011

    Is it possible to do it on phone?? Without computer??

    Edit: nvmd I think I over read or something because I saw the instructions again andsaw the adding part to the build.prop

  • MisterBJMMisterBJM January 2011

    ok so what is the best way to pull the build.prop and add the line and then replace?

    I am totally new to this stuff.  I'm on Windows


    edit:
    nevermind.... I'm not feeling too well.  It hit me like a stupid rock.

  • FistOfRebellionFistOfRebellion January 2011

    I use notepad ++

  • ngiordanongiordano January 2011

    Great information!

  • missaellpzchvzmissaellpzchvz January 2011

    @ngiordano u should include this on your cm ports ;)

  • ngiordanongiordano January 2011

    I'll be working on that when I get home. :-)

  • sudoadamsudoadam January 2011

    Has anyone/can anyone check whether this includes the necessary extensions for the Gingerbread lock animation?

  • ngiordanongiordano January 2011

    I could try that when I get home

  • SilverLSilverL January 2011

    @Saulcho009 I've been keeping my eye out for a OpenGL 2.0 for the msm7k hardware and qualcomm hardware. I'm glad it was of some use.

    I actually had it sitting on my cliq for a while now. I do random on and off testing. I wish I was nearly as good as the guys who do the hard work.

  • imleyimley January 2011

    I tried it on my cliq, which runs the Br3ttu's AOSP Froyo, it works on my phone, and it seems really works smoother...

    I downloaded Quadrant, and I found OpenGL ES 1.1-CM under GPU, so, it should mean that it works under AOSP froyo.

  • iovis80iovis80 January 2011

    Searching a bit on the internet I saw that the Qaulcomm gpu that we have on the cliq is the msm7230 which is the same of g2, maybe we can search if there is a custom rom for g2 and export opengl 2 files.

    I don't know if what I say it's stupid...I hope not :D

  • Saulcho009Saulcho009 January 2011

    I heard Adreno 205 = MSM7230, the Nexus One has this GPU too I believe. I'll take a look in the N1 ROMs. I'll take a look into G2 ROMs as well.

    Edit: After taking a look at both the Nexus One ROMs and the G2 ROMs, I found they are both the same. I will try using them on the Cliq later today.

  • bloodyshytbloodyshyt January 2011

    hmms, it really works!! Gaming is somewhat faster but my market seems to be broken... :( All downloads seem to be paused...

  • Saulcho009Saulcho009 January 2011

    @bloodyshyt - I had a problem earlier with my Cliq not responding at times. I don't know if this is directly related to OpenGL ES 1.1. Just reboot and you'll be fine. I can download anything from market and I don't seem to have your problem.

  • bloodyshytbloodyshyt January 2011

    anyway for those do not know what the instructions are.. here is a more guided one.

    -i presume that the android sdk folder is in your c drive and named "AndroidSDK"
    -download the files and extract the two items into your tools folder
    -download and install notepad++
    go to your cmd and type
    cd c:\AndroidSDK/tools
    adb devices
    adb remount
    adb push libGLES_qcom.so /system/lib/egl 
    adb push gralloc.msm7k.so /system/lib/hw 
    adb shell 
    chmod 644 /system/lib/egl/libGLES_qcom.so 
    chmod 644 /system/lib/hw/gralloc.msm7k.so 
    adb pull /system/build.prop /system
    now add that line of text
    adb push build.prop /system
    adb reboot
    and done!! This is for those dont really understand some of the terms used.. Cheers!! :)

  • bloodyshytbloodyshyt January 2011

    Hmms, looks like wiping data or a factory reset does the trick.

  • iovis80iovis80 January 2011

    ok

    this is what I found using quadrant
    - sometimes the opegl version appear to be 1.0 and I cannot see the Qualcomm processor
    - sometimes the opegl version appear to be 1.1 and It says that the Qualcomm processor is the msm7230
    - looking into motorola (http://developer.motorola.com/products/cliq/) it says that the Qualcomm processor is the msm7200a

    Hope this is useful

  • bloodyshytbloodyshyt January 2011

    got 400 by just oc to 650. pretty awesome, got 21 fps for a 3d benchmark.

  • Saulcho009Saulcho009 January 2011

    @iovio80 - what do you mean sometimes you 1.0? The MSM7200a is close enough to the MSM7230 I believe. I found these files in the Hero forum of XDA.

  • iovis80iovis80 January 2011

    @Saulcho009 yes, it seems that my phone detects alternativly 1.0 and 1.1 boh....

    the other strange thing is that it detects another gpu (msm7230 in stead of msm7200a).
     what's the info that you have on quadrant?  

  • Saulcho009Saulcho009 January 2011

    well its suppose to stick with 1.1 and it should say MSM7230.

  • ngiordanongiordano January 2011

    Are you using cm4cliq? If so try make a copy and name it gralloc.morrison.so and add it to the dir. Something is calling for it when I look in logcat

  • czarsuperstarczarsuperstar January 2011

    NOTE: IF YOU ARE ADDING THIS TO YOUR BUILD JUST DELETE THE 6 AT THE END AND PUT A 7 TO COMPLETE THE CHAIN OF NUMBERS. SO YOU WONT HAVE TWO SETS.

  • Saulcho009Saulcho009 January 2011

    @czarsuperstar - Are you talking about ro.opengles.version?
    @ngiordano - Sure, I'll reupload with gralloc.morrison.so edit: finished v2

  • MarkMark January 2011

    I remember a while back a thread on M3 where people were trying to get a game called "Pocket Legends" to run but it required OpenGL ES 1.1 and would just load to a black screen.  Wonder if this would fix the issue.

  • shawnsdadashawnsdada January 2011

    Would this work on the XT and does it have to be 2.2 or could it also work on 2.1?

  • czarsuperstarczarsuperstar January 2011

    @Saulcho009 yes there is ro.open gl in build prop, but the number ends in a 6 but all you have to add a 7.

  • Saulcho009Saulcho009 January 2011

    @Mark - just tried it and it still loads to a black screen. I'm getting force close on OpenGL 1.1 demos... Looks like the Cliq is missing some other OpenGL 1.1 stuff...

    EDIT: I did some GLBenchmark 1.1 and it seems to work, just the textures are missing and messed up. Scores are better than ones reported before. It seems to do better on CPU... Strange...

Hey are you new here?!

Welcome to the best Ad-Free Android Community around! Create your profile, and start posting now! New features are being added all the time!

Login with Facebook Sign In with OpenID Sign In with Google Sign In with Twitter

Sign In! Sign Up!

Categories

In this Discussion

Tagged