Default Source for .so files

I need to edit and compile some .so files. Does anyone have a link for the source? Also, are any of them specific to Samsung and us there a source for them?

Lastly, how do I go about compiling them once I'm done editing? I have both Win7 and Linux (Ubuntu 12.04) so I no issue doing it on either.

Thanks in advance for any help/links

Sent from inside the matrix
MyTouch 3G (Yeah, I know...) Rooted w/ unlocked bootloader - Retired
G2 (Desire Z) Rooted w/ unlocked bootloader and carrier restriction - Retired
Epic 4G Touch (Galaxy S II) - Retired
Nexus 4 16GB - Rooted w/ unlocked bootloader - Retired
T - Mobile Galaxy S 4 - Knox Free. Running Wicked v10 w/ Chronic kernel - Current

24kbps 1080p w/ 320kbps audio @ 48KHz camera mod by me. Also w/ How-to.