yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] dearmasfamily:
Its not the 1.1 update.

To things could be the issue

1. EGL is out wack on the hero, like most qcom devices.

2. Or the app Dec needs to update to allow the hero to run it. The 1.1 lib needs to be access from the app. Or so.

This device has the ability to play most if not all the games available but the devs mostly test compatibility from the stock build of the device.

Contact the app Dev and see what he says.
[Hero CDMA Android Development] saulcho009:
Is it anything we can do? I found that the OpenGL ext are the same as 1.0. Nothing changed except for the GPU name and OpenGL version. Are you finding ways to complete our OpenGL?
[Hero CDMA Android Development] dearmasfamily:
Hopefully the newest kernel being worked on by sobe will make some changes.

One thing I can tell you is the egldisplay hw error has to be figured out. I'm pretty sure this is creating alot of rendering propblems.

See must devices come with 3 libs

to be used in the egl dir. One of them being a egl specific lib/.so.

So yes I'm looking into it but there's so much I can do and plus my Dev station is down.

The good news is Ginger actually enhance opengl openglssl gles etc... adding new api's that can give us a work around.

Ultimatley time will tell

1 boot error that can easily be corrected is:

In your etc folder in the system dir there is a file named AudioPara4.csv

Rename this file to AudioPara_COMMOM.csv

This will knock out a not found error.

This just a simple correction.
[Hero CDMA Android Development] saulcho009:
Well I was able to run GLBenchmark where my Motorola Cliq couldn't when it was on 1.0.

This is what it looks like:http://www.mediafire.com/?1yaby95h6m4n7

This is what its suppose to look like: http://www.glbenchmark.com/tools.jsp?benchmark=glpro11

I took a look at the Hero's result and it was unable to run GLBenchmark as well with 1.0. Can anyone confirm if they get the same results?
[Hero CDMA Android Development] fireplayer:
@ dearmasfamily - I'm testing to run this thing on a HTC Wildfire - which usually does not even have OPENGL - but it shows as 1.0 - thing is as I run a HTC Wildfire - I don't have the files that need editing... is there anything I can do? Can I just paste the files if someone on here would post them -. and will this OPENGL actually notice them, despite being on a normally not supported device?

I am trying to play Abduction 2 here...already w OPENGL 1.0 noticed by the system it is sliiightly more playable - but is yet to be even close to normal pace, I'm using wildfire's CM7 Nightly Build #0, also tried w sense rom Wildpuzzle 0.7 - neither helped all the way...

Any ideas?

Thanks in advance!

/pete
[Hero CDMA Android Development] dsMA:
make sure the super user app is on your phone, then download and install es file browser. it is a file manager and ftp/bluetooth file transfer app and is free. In the settings somewhere is the option to enable root options which will allow you to access the root of the phone. Find the file and click on it and open with es file editor.
[Hero CDMA Android Development] lmsomb:
i am unable to move the file to the directory specified... i guess it needs root permission... anyother way to work around this... through adb? im not very knowledgeable about commands... anyone can help?
[Hero CDMA Android Development] :
just go to my thread and flash my build.prop for your rom :)

very simple quick and easy :)
[Hero CDMA Android Development] dsMA:
How can I tell if the new libegl file has been replaced?

When I view the system/lib folder there is a egl folder with the following contents:

egl.clg

libGLES_a...

libGLES_q...​

but inside system/lib there are also a bunch of libGEL and libGLES files.

It should be noted that it doesn't seem like the modified dates on any of the files in the system/lib directory match with any of the new files that have been provided in this thread.
[Hero CDMA Android Development] I7IZI:
I just want to mention that I tried this tweek and if anything it seemed to make my animations worse. I used the root explorer apk to make the mods if that helps anyone.

EDIT Just reread my post thought I should mention that I am using aosp CMod gb 2.3.2 with firerat mod.

EDIT #2 also wanted to point out before anyone else did that opengl 1.1 is stock on aosp gb 2.3.2 and that my test runs with this were on 2.3.1. And that it doesn't seem to mess with my animations in 2.3.2.
[Hero CDMA Android Development] I7IZI:
I'm just curious to know what the difference is between "debug.sf.hw=1" and "debug.sw.hw=1," I've tried both ways but haven't noticed any difference, is one of these a typo because aosp 2.3.2 stock has debug.sw.hw=1? And @kifno do you if your build.prop is being used in aosp gb 2.3.2?
[Hero CDMA Android Development] dearmasfamily:
Yes sf is correct sw is a typo

And the difference this makes is the UI and keybroad will respond smoother

Just noticed the typo and made the change and my UI now flies. And scrolling the Widgets menu etc.. is nice and smooth
[Hero CDMA Android Development] stayclean:
Even after fixing that typo (and rebooting of course), can't really say I see a difference with the latest version of aospgb. Oh well.
[Hero CDMA Android Development] dearmasfamily:
I do :)
[Hero CDMA Android Development] stayclean:
Widget menu scrolling is still slow, and still get keyboard lag during select text input boxes. What launcher are you running? VM heap size? I have animations and transitions off, by the way, as they perform terribly on a hero.
[Hero CDMA Android Development] dearmasfamily:
I don't know why your phone lags so much, I have not had the phone run so laggy ever.

Everything seems really smooth on my end and I have alot of apps installed 243mb worth of apps.

Only problem I have is livewallpapers wont run and neocore and quadrant FC'S on me.

Wifi

Bluetooth

GPS

Senors

Camera

Led lights

SMS

Msg

Voicemall

Etc...

And all apps that support mid end phones work great

This on the lastest cm7 build.

One thing I always do is remove all tweaks from my build.prop and change it to CM7 defualts.

I just recently added dataext4 for the extra 1 gb internal storage space.

And I always use the stock gingerbread launcher

Edit: I also always enter my etc folders and make 2 changes.

1. I rename AudioPara4.csv to AudioPara_COMMOM.csv

2. I then open the init.d folder and set my Max CPU setting to 768000.

I do this to both etc folder dir.
[Hero CDMA Android Development] I7IZI:
Thanx for the heads up dearmas, I'll have to give your tweaks to the etc folder a try although idk about OCing to 768, I usually have issues with speeds that high. Also have you tried firerats mod? I'm kind of new to using it and was wondering if you noticed any differences between firerats and data2ext, as far as performance is concerned?
[Hero CDMA Android Development] dsMA:
does anyone know if cm6.2 for the hero includes this file already?
[Hero CDMA Android Development] spleef:
a few things i noticed and have a question about:

my build prop reads a little different... in this line

"dalvik.vm.execution-mode=int:jit

instead of the word "jit" i have the word "fast"

and

my original build says

debug.sw.hw=1

so is my original build a typo or is the one on the wiki a typo. just want to be sure before i save and exit
[Hero CDMA Android Development] allenmkelso:
dermas Can you tell me how to change Max CPU with a file manager.. folder directory, file name and so on
[Hero CDMA Android Development] :
I don't know if they kept my old version of my tweaked build.prop in their new sexy version. So just go to my thread like the many other aosp users and update your build.prop for aosp with my v0.6 build.prop :)
[Hero CDMA Android Development] spleef:
which one the one that has the older version of our rom name or the one simply named v0.6? not trying to be a smartass just wanna make sure i dont use the wrong one..:)
[Hero CDMA Android Development] srthimsen:
I don't believe it does, you can double check by installing quadrant and looking in your device info, or just open the file and look for the open gl version number.
[Hero CDMA Android Development] :
Either one :)
[Hero CDMA Android Development] manekineko:
Hey, I'm trying this out on the XDAndroid backporting project on an MSM7200A device (same as Hero), and seeing some issues, and was wondering if someone can check some things for me on their Hero or other device this is working on.

After installing these updated drivers, could you install OpenGL 3D Showcase.

Try and run test #18. Stencil Buffer Shadows. I'm getting a force close on that one.

If you are capable of pulling logcat logs, could you also try and run test #17. Point Size Attenuation. I'm getting errors in my logcat that read "unimplemented OpenGL ES API".
[Hero CDMA Android Development] oostah:
This is already implemented into the rom aosp GB 2.3.2 on heroc. I ran the apk you posted with no errors. But to get the 3d maps 5.0.0.5014-brutdev.apk to work we need to change ro.opengles.version= 65537 to =131072 in the buildprop. this makes the apks think you are running opengles 2.0
[Hero CDMA Android Development] manekineko:
Wow, so tests 17 and 18 of OpenGL 3D Showcase worked for you? I had a friend try it on their G1, and they hit the same errors I did on those tests.
[Hero CDMA Android Development] dedian:
Really not sure what oostah is saying, as I'm seeing the same issues as you.

#18 force closes with this in the log:

http://pastebin.com/nFLACZpv

#17 gives me the same errors in the log:

http://pastebin.com/LdTASncu
[Hero CDMA Android Development] afeeq:
How to install openGL es 1.1 on htc hero?

How to install this openGL? I cant paste and replace on my htc hero. Please anyone help me.
[Hero CDMA Android Development] jasonmaloney:
I traced down the source of this file. It's from the Droid Eris 2.1 system.

And it's missing support for GL_OES_EGL_image, which is causing problems. The only solution I've found so far is to go back to the version included with the Hero 2.1 system, which, although only OpenGL ES 1.0, is making some things work better.

Come on HTC, you can do better than this...
[Hero CDMA Android Development] alexdemo:
can anybody tell me how to see if I sucessfully enabled opengles 1.1?
[Hero CDMA Android Development] :
android system info app on the market
[Hero CDMA Android Development] aqualls:
This sounds vaguely similar to what I would see on Samsung Moment forums on SDX... just saying...
[Hero CDMA Android Development] ahager88:
Agreed.

And the Palm stuff that happened right here in these forums...

Hope you guys are S-Off.
[Hero CDMA Android Development] dearmasfamily:
For those woundering 1.0 and 1.1 differences here's a start http://www.khronos.org/opengles/1_X/
[Hero CDMA Android Development] igtheactt1:
Where is the dam file lol
[Hero CDMA Android Development] athanos:
S-Off won't do any good if you have hboot 1.47. Can't fastboot.
[Hero CDMA Android Development] dburg84:
Here is the file. All credit to dearmasfamily. I haven't tested I'm simply uploading it for the community.
[Hero CDMA Android Development] dburg84:
Sorry people drive so slowly if there is a bit of snow on the ground in Michigan for some reason. Even though we are covered in it half the year.
[Hero CDMA Android Development] dburg84:
Trust me I have barely a clue when it comes to anything dev wise but can a .so file really do that much damage?

I'm not trying to be rude....I'm honestly asking the question...
[Hero CDMA Android Development] igtheactt1:
Installed fine ... caligo chaser ran a hell of alot better...

But angry birds still plays like ****.. not sure if this did anything at all...
[Hero CDMA Android Development] dburg84:
3D Gallery works fine as well.
[Hero CDMA Android Development] SGTSTEW75:
IS this the Dearmas FROM SDX-Devs????????
[Hero CDMA Android Development] dburg84:
Live wallpapers seems to be working as well. Not bad FPS. However I have nothing to go by because I have never tried them before this....
[Hero CDMA Android Development] igtheactt1:
How can we even tell if anything has changed
[Hero CDMA Android Development] Maptec:
All of my games run quite well now.
[Hero CDMA Android Development] ahager88:
I'm just cautious sometimes. Rude others. :D
[Hero CDMA Android Development] Decad3nce:
Run neocore before replacing at least 10 times. Write down scores.

Run neocore after replacing at least 10 times. Write down scores.

Compare.

Otherwise, you can dismiss this as placebo effect since there's no data to show any difference.
[Hero CDMA Android Development] dearmasfamily:
I also recommend changeing your heap size to 24m because of the new mem requirements
[Hero CDMA Android Development] tinfox:
I have ants in my pants. Somebody benchmark this biatch! :D
[Hero CDMA Android Development] electrikjesus:
So, if i put this in System>lib, does it automatically register on boot? or do I need to register it somehow?
[Hero CDMA Android Development] dearmasfamily:
Ok let me explain. Lol

Some apps will call on opengles API. My API call will be 1.1 adding functionality to the app (new features) only useable to the 1.1 specification. Not present in the 1.0 specification. Doesn't mean your neocore score will be 45 lol

But neocore would be able to produce more.

I see a difference because I know what I'm looking for.

I have been running it for a while (and testing it) and thought I would share it maybe pushing hero builds further faster
[Hero CDMA Android Development] dburg84:
I just over wrote the file and rebooted. I didn't have any issue.
[Hero CDMA Android Development] Dread 7us:
You don't have to do anything but paste it there and reboot

Sent from my HERO200
[Hero CDMA Android Development] dearmasfamily:
It goes in lib/egl dir. Aosomods should automotically load it but cm seems to need a reboot.

I would reboot altogether
[Hero CDMA Android Development] GeezyAF:
Thanks for this.

BTW, for those that don't know..

This is Got Romz/DF from AMS/SDX.

Did a lot of work for the Samsung Moment and probably made the best ROM for it.

Used his work, before I got the Hero.
[Hero CDMA Android Development] x99percent:
My phone:

- CM6 Nightly 12092010

- Decad3nce #43 kernel, clocked to 710MHz, interactive governor

- Firerat's partition mod (125 75)

Ran Neocore seven times (with the audio turned off), dropped the highest and lowest scores, averaged the rest.

30.9, 31.0, 30.6, 30.9, 31.2, 30.4, 30.9 = 30.86 FPS average

Installed the new file attached to post #26, then rebooted. Ran Neocore tests again.

31.1, 31.0, 31.1, 31.5, 30.9, 30.9, 31.1 = 31.04 FPS average

Edited build.prop to add in "ro.opengles.version=65537" as advised in post #49. Rebooted, then ran Neocore tests again.

31.3, 31.2, 31.1, 31.1, 31.1, 31.1, 31.1 = 31.12 FPS average

Edited build.prop to add in "debug.sf.hw=1". Rebooted, then ran Neocore tests... again.

31.3, 31.1, 31.2, 31.2, 31.1, 31.1, 31.1 = 31.14 FPS average
[Hero CDMA Android Development] :
quick browsing of the file in a hexedit looks good.

QUALCOMM, Inc 1.0 2.07.060110.34681

lots of various gl references too.
[Hero CDMA Android Development] norm12:
I cannot over-write the original file for some reason---what is everyone using to do this? I have the new gls and see where to put it, I just cannot write the new one to the old location. I'm rooted and running jaybob's 12/31 blackmod of cyanogenmod if that makes a difference
[Hero CDMA Android Development] :
adb remount

adb push newfile.so /system/lib/egl

adb reboot (optional)

flashable zip attached (worked for me, at least putting the file in place)

tested in clockwork recovery 2.5.0.1 with CM6.2.0. Flash and reboot. Won't mess with anything other than that file.

this is something new, so YMMV.

Backup your old file if you want:

adb remount

adb shell mv /system/lib/egl/libGLES_qcom.so /system/lib/egl/libGLES_qcom.so.old

old file: 533448 bytes

new file: 533456 bytes

last edit: I didn't notice any difference, much like the test ran above. I'm going to revert until more knowledgeable people look at this.
[Hero CDMA Android Development] dearmasfamily:
Ok this will help optimize android and apps to the new 1.1-CM lib.

Open your build.prop and on a new line above your dalvik settings add

ro.opengles.version=65537

This will tell everything your true opengles native API 1.1. Everything will now defualt to 1.1

Why should I add this?

1.1 is backward compatible, so if you don't add this the system will defualt to 0.0 which is like saying NONE. So you risk apps launching using its default, which would be 1.0 limiting your graphic features.

By setting your hardwares defualt version in combination with your actual driver version software would run at that specific version. (If the app supports it) other wise still running using 1.0.
[Hero CDMA Android Development] hotaru:
ok, i pushed this file and set ro.opengles.version.

3d live wallpapers don't work for me, same as before.

non-3d live wallpapers work fine, same as before.

3d gallery works fine, same as before.

3d performance is about the same as before.

but, the globe in terratime now has a black background with stars behind it like it should have, instead of the hideous white background it had before.
[Hero CDMA Android Development] vinnypel2ella:
I did this. Can't see any difference but it hasn't hurt anything either

Sent from my HTC Hero - AOSP 2.3.1 Gingerbread - Decafuct #589 768 - Firerat's mod -
[Hero CDMA Android Development] :
what program do i use to open build.prop?

i used notepad but everything is just.......AHHH :eek:

so what program did you use?
[Hero CDMA Android Development] dburg84:
I used root explorer I believe there are some free file managers that give access to root though
[Hero CDMA Android Development] hotaru:
i used "adb shell ed /system/build.prop".
[Hero CDMA Android Development] :
never mind i found out to use wordpad instead :D

but i just tested my games and they run A LOT smoother :) thanks bro

i also did some build.prop mods while i was at it to increase my phones performance and decrease battery life at the same time too wonder if that helped my games too :)
[Hero CDMA Android Development] analogfire:
Really? I get 50-55 fps on my phone. But i'm running GB2.3...
[Hero CDMA Android Development] :
post the same format as him, we need before and afters not what you are getting now. :cool::D
[Hero CDMA Android Development] ktynchy1:
Woahh the highest neocore score my phone ever had was 39 w/sound and 37 without how is it possible im getting 57fps on aosp 2.3 with this tweak, not to judge but doesnt sound right.
[Hero CDMA Android Development] :
anyone have a working neocore.apk so i can test this out as well?

i want to post before and after results too :D
[Hero CDMA Android Development] dearmasfamily:
Any performance gains I suspect is due to the fact that 1.1 has some hardware acceleration improvements over 1.0
[Hero CDMA Android Development] il Duce:
ok maybe I've lost my mind, but is there a download lonk in the OP? I know there was a flashable zip that sirmx made, but was that 1.0 or 1.1?, also it looks like kifno just posted another thread with a build.prop file containing this tweak. You should put a file/zip/build.prop in the OP, maybe even a link to neocore so doubters can dl that and test the difference. thanks for this, as soon as I see a file or zip or something in the OP I will dl it and check it out. Also, I dunno if x99percent was testing 1.0 or 1.1, so some new results would be nice to see :) thanks for the work.
[Hero CDMA Android Development] shilent:
Where exactly do I add this line? Above "dalvik.vm.execution-mode=int:jit"?
[Hero CDMA Android Development] :
the build.prop that i posted shouldn't be killed because it is tweaked for performance, yeah it has the addition of dearmasfamily's opengles 1.1. file andhow to install it but it has MORE to it to help with performance. my phone is faster now because of the tweaks i have done to the build.prop i was just sharing it to help the community. don't knock it til you try it bro :)
[Hero CDMA Android Development] il Duce:
just looked at your thread, my bad, I read it before you posted about the tweaks you made. I edited my earlier post, sorry dude :)
[Hero CDMA Android Development] :
no problem bro you should try it though along with this

games run smoother...A LOT smoother and phone seems to be a bit faster :) battery life last a little longer too while performance is increased and that is a good thing for heavy users like myself ;)
[Hero CDMA Android Development] s0be:
There are 3 possible situations where there are likely to be improvements here:

1. The new library has cleaned up some of the routines

2. The new library has some new routines that take advantage of newer 1.1 features

3. Aosp 2.3 doesn't have all the features working (less overhead) and has some optimizations from upstream.

Could all of that equate to a 30% FPW increase? Probably. Will it get worse as AOSP gets better? Probably.
[Hero CDMA Android Development] x99percent:
I thought I clearly explained what I did in my post? I have edited it to make it even more clear (added links to other posts).
[Hero CDMA Android Development] dearmasfamily:
Ok after running the setup listed here and running tests.

I have noticed a few things, the UI runs alot smoother overall.

Neocore is smoother on screen. Neocore is optimized for opengles 1.1

I use android system info to make sure the phone is actually using 1.1

I haven't encounter any logcat graphic specific Errors or warnings.

30 fps is pretty much standard and needed for a pleasant graphic experience, with a 60 refresh rate display.
[Hero CDMA Android Development] dearmasfamily:
Yes that's where you add it above the dalvik settings

Ok switching back to 2.3. Then ill leave my 2 cents lol

Remember people 2.3.1 is the graphic Grail.

Also I will try and fix some issues you guys are having as far as lwp. I think I know what the issue is.

I'm not at my dev station so most of what I can do is limited. But I can share my findings where some one with a setup can execute
[Hero CDMA Android Development] eltrutgnik:
i tried this and when i rebooted my phone is stuck on the htc screen. i can't even boot in to recovery, but i could boot in to hboot and fastboot. i tried accessing recovery from hboot but it still gets stuck on htc screen.
[Hero CDMA Android Development] :
How did you install the file? Flashable zip I made, or do it yourself by hand?

Either way, all this does is replace a non-critcal system file in /system/lib/egl and doesn't touch your recovery or anything needed to boot.
[Hero CDMA Android Development] eltrutgnik:
i did it by hand, using root explorer
[Hero CDMA Android Development] vinnypel2ella:
I agree. The UI is noticeably faster. I got a 56.2 on neocore. Thanks man

Sent from my HTC Hero - AOSP 2.3.1 Gingerbread - Decafuct #589 768 - Firerat's mod -
[Hero CDMA Android Development] tailsthecat3:
Im having a time figuring this out...is this just a drag and drop? a pull and push? help please, much appreciated. thank you
[Hero CDMA Android Development] :
There are several ways to do it, many already detailed in this thread. Pick one.

Using Root Explorer (or another file manger with root permission access) is one way. Or adb push, or even the flashable zip I have somewhere in this thread.

The build.prop file edit is done within Root Explorer, or you can adb pull, wordpad the change, and adb push it back. There are other ways as well.
[Hero CDMA Android Development] tailsthecat3:
I flashed the qcom zip file. gonna check the version now.
[Hero CDMA Android Development] tailsthecat3:
thanks. difference between the two attached flashable zips?

thank you
[Hero CDMA Android Development] tailsthecat3:
flashed the libgles-qcom zip and it shows version 1.1. after flashing the qcom file it stayed at the 1.0 version. thank you
[Hero CDMA Android Development] dearmasfamily:
Ok here's a build.prop add

Tested on aospmod 2.3.1

Above ro.opengles.version=65537

Add debug.sf.hw=1

Your UI

should now be HW accelerated

Reboot after change.

Seemed to speed everthing up.