android cannot link executable

甄鹏云
2023-12-01

run a elf file on android, can't locate the .so file in $PWD, must put the .so file into the /system/lib

 

adb root

adb shell

su

mount | grep block

find out the device on which system mount( like '/dev/block/bootdevice/by-name/system')

mount -o rw,remount /dev/block/bootdevice/by-name/system /system

cp my.so /system/bin

 

run as superuser

 类似资料:

相关阅读

相关文章

相关问答