Jump to content

Port cm7-kang gl driver to acer froyo roms


Recommended Posts

Guest fear_factory84
Posted

Hi,

since now we have chocolate kernel also on acer based roms (thanks to ritchen), I would like to port also gl libraries included in cm7 koudelka's git tree.

They are better than acer ones, at least sygic aura works correctly.

Prelinking in acer roms is different, so replacing the files (/system/lib/libgsl.so and /system/lib/egl/*) don't work.

Is there a way to change prelink map on an already compiled rom or in libraries?

Thanks

Posted

You can unprelink library and then reprelink with Acer addresses.

Guest koudelka
Posted
You can unprelink library and then reprelink with Acer addresses.

Are you sure? You have some information on how to do this? If it is possible it would be very useful to move acer's ril libs to 3g prelinking so we don't have to load some libs 2 times in memory

Guest Peshkoff
Posted
Are you sure? You have some information on how to do this? If it is possible it would be very useful to move acer's ril libs to 3g prelinking so we don't have to load some libs 2 times in memory

Have you looked at http://linux.die.net/man/8/prelink ?

-u --undo

Revert binaries and libraries to their original content before they were prelinked. Without -a option this causes only the binaries and libraries specified on the command line to be reverted to their original state (and e.g. not their dependencies). If used together with -a option all binaries and libraries from command line, all their dependencies, all binaries found in directories specified on command line and in config file and all their dependencies will be undone.

Posted

Stop-stop-stop!

Android prelink != Linux prelink! They work differently! So you can't use "default" tools. I've written on a matter last year - http://android.modaco.com/content/acer-liq...d-from-sources/ Scroll down for my big comment.

I don't know if there are tools to unprelink, but it should be possible. If I have some free time I will look into unprelinking, but I can't give any estimations.

Guest fear_factory84
Posted
Stop-stop-stop!

Android prelink != Linux prelink! They work differently! So you can't use "default" tools. I've written on a matter last year - http://android.modaco.com/content/acer-liq...d-from-sources/ Scroll down for my big comment.

I don't know if there are tools to unprelink, but it should be possible. If I have some free time I will look into unprelinking, but I can't give any estimations.

I thought so, but I needed a confirmation..

I'm thinking about libaudioflanger and dspmanager, they were ported for acer roms time ago, but how they dealt with prelinking? Recompiling them?

Guest ikirt
Posted
Stop-stop-stop!

Android prelink != Linux prelink! They work differently! So you can't use "default" tools. I've written on a matter last year - http://android.modaco.com/content/acer-liq...d-from-sources/ Scroll down for my big comment.

I don't know if there are tools to unprelink, but it should be possible. If I have some free time I will look into unprelinking, but I can't give any estimations.

Does this have anything to do with it ?

http://source-android.frandroid.com/bionic/linker/README.TXT

Posted

I think that running apriori on prelinked library with new settings might be the trick, try it.

Guest koudelka
Posted
I think that running apriori on prelinked library with new settings might be the trick, try it.

If you find something, please share it :) I have been looking for way to change prelinking since dawn of time it feels like :)

Posted

I hope I will have some free time this Easter :) The thing is that I'm now addicted to mountain biking and trainings eat lots of time

Guest fear_factory84
Posted

:)

If you find something, please share it :) I have been looking for way to change prelinking since dawn of time it feels like :(

+1!

very interesting...

Where I can find apriori, in the sdk?

Guest gnufabio
Posted
:)

+1!

very interesting...

Where I can find apriori, in the sdk?

You can find it in android source

Posted

Build AOSP once and you will have all the tools needed with default prelink map.

  • 4 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.