Quote:
Originally Posted by Stunna4life888
Shouldn't be that long, but its just a matter of getting that kernel source.
|
We already have kernel source
We tried the 2.1 camera libs in 2.2 (hint came from the fact that Toast saw that the froyo N1 ROM does not replace the camera library as part of its update from 2.1 to 2.2, indicating that the library itself works unmodified between 2.1 and 2.2), but it failed due to a prelink map mismatch: the N1's froyo build expects the camera lib to load itself at location "XYZ" (in memory), as it was built that way for performance reasons, and works that way on the N1. However, the HTC library (different camera) does not load itself at the same location the N1 expects it (call it "ABC"), and was not stripped with the apriori prelink utility. So the framework refuses to load the library because it can't load it where it expects it should be loaded from.
I didn't try an AOSP 2.1 ROM yet, so it feasible that it may load it properly... However, due to the fact that the EVO has hardware that is not supported in Android 2.1 (FFC, 720p video, wimax, HDMI out, etc), HTC has rolled their own framework modfiications. If the camera lib requires any of those modifications (99% guaranteed, it *does*), the library won't be able to find those modified APIs, and will still fail.
|