Find the Missing Libraries in a Ported ROM

Find the Missing Libraries in a Ported ROM

Porting a new version of Android to an older device is a complicated process. The situation is much easier when the OEM decides to share the device tree with all necessary dependencies. But the vast majority of the time, the aftermarket developer needs to create this configuration from scratch or modify an existing tree from a similar device. Making a tree is one thing, but finding the appropriate library files to make it boot and work fully is another.

Sometimes, when a device boots up, logcat indicates that some .so libs are missing. To find out which are missing, you can use a guide created by XDA Forum Member tuxboy. This guide demonstrates how to use tools available in the Android NDK to find out which files need to be added to meet the dependencies of the executable file or library. The process is very straightforward and doesn’t require any special tools except the toolchain available in the Android source code. To make use of this method, you need Linux, Mac OS X, or any other *nix OS.

You can learn more by visiting the guide thread, so head over there if you are trying to port a ROM or find dependencies for a ported version of Android.

Discuss This Story

Want more posts like this delivered to your inbox? Enter your email to be subscribed to our newsletter.