GithubHelp home page GithubHelp logo

am0n666 / ldd-arm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from innfinite4evr/ldd-arm

0.0 1.0 0.0 4 KB

search for shared objects or needed .so librariers which helps in finding dependencies of blobs

ldd-arm's Introduction

ldd-arm

search for shared objects or needed .so librariers which helps in finding dependencies of blobs I FOUND THIS IS ON RUSSIAN FORUMS . I DONT HOLD CREDIT FOR THIS

A small TUTORIAL (on request) to find the missing lib (.so) when creating a device tree Android. It's not the first time I've come across that people are looking for the missing shared lib at random, sorting everything out. In fact, there is a more or less automatic way (advanced developers do not need this manual).

In the screenshot you can see that I pulled all the dependencies camera.msm8937.so from the proprietary one by one command. Of course, do not take all the received from the stock firmware and immediately gladly transfer to your assembly. You just see all the dependencies.

How to implement: In the Linux terminal, we create our executable ldd-arm which will then pull dependencies:

echo 'readelf -d $1 | grep "(NEEDED)" | sed -r "s/.[(.)]/\1/" '| sudo tee -a /usr/local/bin/ldd-arm

We issue the executable rights:

sudo chmod +x /usr/local/bin/ldd-arm

Done! Now you can use if from anywhere ! Enter in the terminal

Example:

ldd-arm camera.msm8937.so

libcamera_client.so
liblog.so
libhardware.so
libutils.so
libcutils.so
libdl.so
libsync.so
libgui.so
libmmcamera_interface.so
libmmjpeg_interface.so
libui.so
libcamera_metadata.so
libqdMetaData.so
libqservice.so
libbinder.so
libcam.meiyan.so
libarcsoft_low_light_shot.so
libmpbase.so
libcam_lowlight.so
libarcsoft_high_dynamic_range.so
libc++.so
libc.so
libm.so

ldd-arm's People

Contributors

innfinite4evr avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.