I tested it and it works - i can run opengl games fluently on my samsung galaxy now.
For those of you who can't read German: you can get opengl hardware acceleration working on the samsung galaxy on II5 and probably any other version by copying the libhgl.so from a htc G1 device.
Unfortunately the only way to legally do this is probably by owning a HTC device, but there are some HTC system/recovery images available for download, from the HTC website. Be sure to download the OTA image as it contains the files directly and you can just copy the libhgl.so file directly.
Root your phone, remount the /system filesystem as read/write, then copy the HTC libhgl.so to /system/lib/libhgl.so . Reboot phone.
Now you'll have openGL hardware acceleration!
Last edited by Pieter; November 6th, 2009 at 05:49 PM.
Reason: updated with OTA file - easier :)
If you grab the OTA versions you'll get a ZIP file with a 'system.img'. This is actually an image of a yaffs2 file system. If you run windows, you'll need unyaffs even with these images to load them. If you run linux, you might be able to just mount them.
No, the OTA ones have boot.img, radio.img and the system directory inside them. So there's no need for yaffs. Those are the ones ending -ota.zip and labelled recovery image
I used signed-google_ion-ota-14721.zip myself even tho its for 1.6
PS. great find.. the difference in speed forge is dramatic!
Last edited by kam187; November 6th, 2009 at 05:19 PM.
Indeed, you can just copy out the libhgl.so file from the OTA rar.
You should edit your first post
Excellent 3D performance! Speed Forge is no longer broken!
I fell like I owe you an apology kam187 when I said that 3D games were running fine on G8. The truth is I flashed the phone from G8 to Hx on the first day I had it
Device(s): HTC Desire (depreciated)
Blue Galaxy s3 (international)
Carrier: Not Provided
Thanks: 114
Thanked 1,016 Times in 838 Posts
Quote:
Originally Posted by tisti
Its on the link to the german forum OP provided.
adb remount
adb push [location of file] /system/lib/libhgl.so
This worked for me. I saved the previous version of libhgl with the pull command. But I don't think anyone will be needing that
Edit:
We should condense all the information we learned into a nice wiki. The community has fixed most of the problems with the device.
whatever happened to galaxy essentials?
I mean if you want i can upload wiki software to my webhost and give the people here like yourself, KAM, pegasus etc access to add wiki info and upload software/firmware etc
so we can just have one central database
i have about 8 gig of space left and my bandwidth is 300gb per month so plenty of space :P
Last edited by Rastaman-FB; November 7th, 2009 at 02:23 AM.
Pulled the file off a 1.5 AVD with the system image from the HTC OTA firmware installed (one that lets me use the market from the emulator). Remounted the file system on my galaxy and pushed the file onto it (after backing up the old one). The first game I bought, Super-G Stunt, now works as it did when I had the original firmware.
Galaxo v1.1 anyone?
What if we pulled the old file from the G8 firmware and used that? (is it different?), would it work?
If so, it would stop us infringing HTC's rights etc.
Last edited by UKLooney; November 7th, 2009 at 04:11 AM.
Device(s): HTC Desire (depreciated)
Blue Galaxy s3 (international)
Carrier: Not Provided
Thanks: 114
Thanked 1,016 Times in 838 Posts
Quote:
Originally Posted by UKLooney
What if we pulled the old file from the G8 firmware and used that? (is it different?), would it work?
If so, it would stop us infringing HTC's rights etc.
It seems that there's software renderer default here, but there's a way to access hardware one in apps though. I'm not a programmer, leaving link in hope you will understand more from that thread than me.
Im pretty delighted about this. Quick question though, is it only ii5 that this fix works with, or for instance could i root my h8 galaxy and just throw the file across?
I just still havent upgraded to ii5 more due to the hassle of backing up all my apps etc and then re-installing everything! Oh eh, on that, just rooting my galaxy and not loading new firmware wouldnt wipe everything would it??
edit: actually after just watching a video of galaxhero im going to have to get it! Do i need to flash to ii5 first to put it on?
Last edited by spottyelephant; November 8th, 2009 at 09:50 AM.
Device(s): HTC Desire (depreciated)
Blue Galaxy s3 (international)
Carrier: Not Provided
Thanks: 114
Thanked 1,016 Times in 838 Posts
Quote:
Originally Posted by spottyelephant
Im pretty delighted about this. Quick question though, is it only ii5 that this fix works with, or for instance could i root my h8 galaxy and just throw the file across?
I just still havent upgraded to ii5 more due to the hassle of backing up all my apps etc and then re-installing everything! Oh eh, on that, just rooting my galaxy and not loading new firmware wouldnt wipe everything would it??
edit: actually after just watching a video of galaxhero im going to have to get it! Do i need to flash to ii5 first to put it on?
you do need to flash ii5 first
that graphics fix should would with any firmware version
Device(s): HTC Desire (depreciated)
Blue Galaxy s3 (international)
Carrier: Not Provided
Thanks: 114
Thanked 1,016 Times in 838 Posts
Quote:
Originally Posted by spottyelephant
What happens when android 2.0 comes out if ur on galaxhero - will the guy need to rebuild, or can it just go in "underneath" it??
you have to manually update this device anyway so when 2.0 comes out it will arive via nps probably. there for you can use odin or what ever tool is out by that point to load 2.0 firmware on
this is a long way away though
worst case scenario is you flash it to an official samsung rom via odin with csc and use nps to update to the 2.0 firmware
Im pretty delighted about this. Quick question though, is it only ii5 that this fix works with, or for instance could i root my h8 galaxy and just throw the file across?
where do you get libhgl.so file?
i havent rooted my phone yet, but will try to do it tomorrow and then most probably will try do something with it
should i go for any custom built rooms (galaxHero or sthn like that) and which one would be best? or should i just update it to II5 firmware as im currently on H8. i just want to get the most of my phone (speed, battery)
any advice?
will just have to find out how to root it first hehe
by the way will rooting wipe all my data on phone or just allow root permission?
thanx
where do you get libhgl.so file?
i havent rooted my phone yet, but will try to do it tomorrow and then most probably will try do something with it
should i go for any custom built rooms (galaxHero or sthn like that) and which one would be best? or should i just update it to II5 firmware as im currently on H8. i just want to get the most of my phone (speed, battery)
any advice?
will just have to find out how to root it first hehe
by the way will rooting wipe all my data on phone or just allow root permission?
thanx
That's hilarious. You are literally in the exact same position as me yesterday, asking the exact same questions!
You'll have to upgrade the firmware to ii5 from h8 (i was on h8 too), then i'd recommend galaxhero. I finally got it on my phone at 12pm last night so havent had much chance to play with it, but speed is noticeably different in places, particularly in the keyboard typing.
With regards to the whole process, i'd have a good read through the "How to Odin and Galaxo rom" thread in this forum. The initial instructions are on the first post, and then every possible problem is encountered and listed by me and troubleshooted by devan and rastaman, so there's a comprehensive guide there. Though with any luck you won't experience the driver issues i had which will make things WAY easier.
Oh and yes, it will wipe everything. What i did was download astro file manager, do a backup, mount the phone on the computer, copy/paste the backup folder onto my desktop, and do the same with my photos. (Havent loaded back on yet). Also, just ensure your contacts are synched with gmail so you can pull them down again after.
Last edited by spottyelephant; November 9th, 2009 at 03:29 AM.
Not working on H5.
I didn't use adb because my Windows 7 x64 doesn't recognize my galaxy.
So I used a different method.
Steps I did:
1. downloaded the libhgl.so to my galaxy using the android browser.
2. used root explorer to mount the system/lib to r/w.
3. Changed the system/lib permissions to 777
4. renamed the original libhgl.so to libhgl.so.bak
5. using astro I copied the new libhgl.so to system/lib
6. reversed all permissions and mountings
7. rebooted
8. tried armadillo roll and speed forge 3d, the textures are still broken and it's slow.
I don't understand why doesn't it work, the 3d acceleration is handled by linux no? maybe there's another lib file to change in order to make it work with the H5 firmware?
Device(s): HTC Desire (depreciated)
Blue Galaxy s3 (international)
Carrier: Not Provided
Thanks: 114
Thanked 1,016 Times in 838 Posts
Quote:
Originally Posted by giladgaron
Not working on H5.
I didn't use adb because my Windows 7 x64 doesn't recognize my galaxy.
So I used a different method.
Steps I did:
1. downloaded the libhgl.so to my galaxy using the android browser.
2. used root explorer to mount the system/lib to r/w.
3. Changed the system/lib permissions to 777
4. renamed the original libhgl.so to libhgl.so.bak
5. using astro I copied the new libhgl.so to system/lib
6. reversed all permissions and mountings
7. rebooted
8. tried armadillo roll and speed forge 3d, the textures are still broken and it's slow.
I don't understand why doesn't it work, the 3d acceleration is handled by linux no? maybe there's another lib file to change in order to make it work with the H5 firmware?
it should work, i wouldnt ever do it on the phone
ADB does work on windows 7 x64, ive done it and explained it many times
when debugging is enabled connect the device and open device manager on windows 7. manually update device driver and select from list, select have disk, select location of x64 driver in the android 1.5 r3 sdk, select ADB testing interface.
adb then works
you will have to do it in recovery unless you have a proper rooted kernal like galaxo.
Indeed, you can just copy out the libhgl.so file from the OTA rar.
You should edit your first post
Excellent 3D performance! Speed Forge is no longer broken!
I fell like I owe you an apology kam187 when I said that 3D games were running fine on G8. The truth is I flashed the phone from G8 to Hx on the first day I had it
What did you use to extract the libhgl.so file from the system.img?
it should work, i wouldnt ever do it on the phone
ADB does work on windows 7 x64, ive done it and explained it many times
when debugging is enabled connect the device and open device manager on windows 7. manually update device driver and select from list, select have disk, select location of x64 driver in the android 1.5 r3 sdk, select ADB testing interface.
adb then works
you will have to do it in recovery unless you have a proper rooted kernal like galaxo.
I don't see a problem with changing system files directly on the phone, linux is linux.
I know that ADB works on 7 x64, I just can't seem to make it work.
What will I have to do in recovery mode? I have rooted my phone with the recovery image, I've just never updated my firmware to anything higher because then I'll loose the RTL support my cellular provider has developed for my phone.
Quote:
Originally Posted by spottyelephant
What did you use to extract the libhgl.so file from the system.img?
Device(s): HTC Desire (depreciated)
Blue Galaxy s3 (international)
Carrier: Not Provided
Thanks: 114
Thanked 1,016 Times in 838 Posts
Quote:
Originally Posted by giladgaron
I don't see a problem with changing system files directly on the phone, linux is linux.
I know that ADB works on 7 x64, I just can't seem to make it work.
What will I have to do in recovery mode? I have rooted my phone with the recovery image, I've just never updated my firmware to anything higher because then I'll loose the RTL support my cellular provider has developed for my phone.
Anyone with H5 got it to work?
right, SU doesnt mean you have a adb root there for the remount command will not work
you can only use adb remount if you are in recovery or have a rooted kernal
SU is not a rooted kernal its logged in as super user but its still restictive as if you use ADB when device is booted in normal and you type adb remount it will tell you you cannot do it on live operation
what you are doing using a file browser will not work regardless of what permissions you are setting
fix your driver problem, boot into the modified recovery and run the commands correctly
it shouldnt matter what firmware you are on as the file is not even from our device however it uses the same hardware acceleration and chipset as the dream and thats why it works.
the previous file was incomplete and didnt work and so graphics were being software driven rather than hardware driven due to them messing up the file
Last edited by Rastaman-FB; November 9th, 2009 at 07:52 AM.
right, SU doesnt mean you have a adb root there for the remount command will not work
you can only use adb remount if you are in recovery or have a rooted kernal
SU is not a rooted kernal its logged in as super user but its still restictive as if you use ADB when device is booted in normal and you type adb remount it will tell you you cannot do it on live operation
what you are doing using a file browser will not work regardless of what permissions you are setting
fix your driver problem, boot into the modified recovery and run the commands correctly
it shouldnt matter what firmware you are on as the file is not even from our device however it uses the same hardware acceleration and chipset as the dream and thats why it works.
the previous file was incomplete and didnt work and so graphics were being software driven rather than hardware driven due to them messing up the file
I'm sorry, I don't understand your explanation.
I successfully override the original libhgl.so file with the fix file and after that I reboot my phone. where does the old version loads from?
Isn't the adb mounting is only for allowing r/w access? In an app called "Root Explorer" there's an option to mount a directory from r/o to r/w and backwards.
Thank you for signing up to receive updates for the 4
An email has been dispatched to confirm your signup. Please click the link in the email.
Buy the Samsung i7500
Sign up for instant notification when the Samsung i7500 goes on sale!
When Samsung joined the Open Handset Alliance, excitement and anticipation engulfed the mobile world. With industry leading mobile phones such as the Samsung Instinct and Samsung Omnia already on the market, expectations soared. The speculation can f... Read More