android cannot link executable

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

发布了87 篇原创文章 · 获赞 59 · 访问量 70万+
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览