Guest fear_factory84 Posted April 14, 2011 Report Posted April 14, 2011 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
Guest Auxx Posted April 18, 2011 Report Posted April 18, 2011 You can unprelink library and then reprelink with Acer addresses.
Guest koudelka Posted April 19, 2011 Report Posted April 19, 2011 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 April 19, 2011 Report Posted April 19, 2011 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.
Guest fear_factory84 Posted April 19, 2011 Report Posted April 19, 2011 Have you looked at http://linux.die.net/man/8/prelink ? Can I use standard linux prelink command or I need an arm one? How I can get acer addresses from acer libs?
Guest Auxx Posted April 19, 2011 Report Posted April 19, 2011 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 April 19, 2011 Report Posted April 19, 2011 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 April 19, 2011 Report Posted April 19, 2011 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
Guest Auxx Posted April 19, 2011 Report Posted April 19, 2011 I think that running apriori on prelinked library with new settings might be the trick, try it.
Guest koudelka Posted April 19, 2011 Report Posted April 19, 2011 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 :)
Guest Auxx Posted April 20, 2011 Report Posted April 20, 2011 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 April 20, 2011 Report Posted April 20, 2011 :) 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 April 20, 2011 Report Posted April 20, 2011 :) +1! very interesting... Where I can find apriori, in the sdk? You can find it in android source
Guest Auxx Posted April 20, 2011 Report Posted April 20, 2011 Build AOSP once and you will have all the tools needed with default prelink map.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now