Android modification rom, firmware modification GSI, transplanting rom essential common sense lib--**so file basic analysis

Android system lib-so file

There are many files with the suffix so in the lib lib64 partition of the unpacked Android firmware. They are actually dynamic libraries of the system, similar to *.dll under win. They are generally dynamic libraries compiled from C/C++. In the system lib folder, replacement and transplantation programs for other systems also need to modify and replace related so files. Without it, the system software cannot run. Which part is damaged will affect the relative functions. Phone calls, address books, cameras, etc. all rely on so files. of.

The cpu architecture supported by an Android application depends on the .so file located in the lib or jniLib directory in the APK

During system transplantation and adaptation, you must have a basic understanding of the meaning of some commonly used so files.

libaudcal.so is related to the external volume

libaudioalsa.so audio driver related

libaudioamp.so audio amplification related

libaudioeffect_jni.so sound effect related

libaudioparameter.so audio parameters related

libaudio-resamplerso audio sample related

libaudioutils.so audio tools

libavcodec.so sound decoding related

libavformat.so audio framework

libbluetooth_jni.so Bluetooth related

libc_malloc_debug_leak.so memory leak

libcamera_client.so video camera related

libcamera_metadata.so camera driver related

libcameraservice.so camera driver related

libchromatix_default_video.so camera effect

libchromium_net.so browser related

libconnectivitymanager.so network link

libcorkscrew.so stack print

libcrypto.so encryption library file

libcutils.so basic library file

libdiag.so mobile phone signal related

libdiskconfig.so built-in storage related

libdrmframework_jni.so framework interface related

libeffects.so media related

libexif.so picture related

libgps.utils.so is related to gps

libgui.so user interaction interface

libinput.so input device driver

libinputservice.so input device related

libiprouteutil.so IP-related library files

libjavacore.so java core runtime library

libjhead.so related to modifying pictures

libjnigraphics.so drawing related

libjpeg.so picture related

libloc_core.so positioning related

libloc_eng.so positioning related

liblog.so diary records

libmemalloc.so memory related

libmemtrack.so memory related

libmtp.so mtp protocol

libnetutils.so loading driver related

liboemcamera.so camera driver related

libpower.so power related

libpowermanager.so power management library

libqservice.so Qualcomm interface related

libsensor_reg.so sensor related

libsonivox.so sound synthesis

libstagefright_soft_aacdec.s audio decoding related

libstagefright_yuv.so color coding

libsuspend.so system command library file

libvideoeditor_core.so video editing

audio.usb.default.so is related to usb

bluetooth.default.so Bluetooth related

gralloc.default.so image cache

lights.aries.so screen density

local_time.default.so local time

libaudiopreprocessing.so sound driver

libbundlewrapper.so sound library file

libdownmix.so sound library file

libAKM.so compass

libandroid servers.so system service related

-----------------------------------------------------------------------------------------------------------------

so related bug fixes

In the process of system adaptation to third parties or repairing gsi. Some system bugs focus on the so file. You need to compare it with the official replacement test. The so file is a binary file and can be opened and viewed with hex. For example, to remove the Google Camera watermark, you can modify so in hex

Guess you like

Origin blog.csdn.net/u011283906/article/details/132917121