摘要: 以前编译的android linux 可执行文件可以用,到了android 5.0用不了了 搜了一下,改两个地方: 1. 使用的APP_PLATFORM 至少是16 2. 加入LOCAL_CFLAGS += -fPIE LOCAL_LDFLAGS += -fPIE -pie 对于直接使用....gc 阅读全文
posted @ 2016-07-19 15:27 得即高歌失即休 阅读(6631) 评论(0) 推荐(0) 编辑
摘要: 一 查看文件的Selinux属性 ls -Zd /dev/ drwxr-xr-x root root u:object_r:device:s0 则/dev文件夹在android selinux中的domain是device ls -Z /dev/video0 crw-rw system camera 阅读全文
posted @ 2016-07-19 15:16 得即高歌失即休 阅读(9560) 评论(0) 推荐(0) 编辑
摘要: 一 大概流程 1) From running boot.img - retrieve boot.img from device using dd on the LNX partition - use umkbootimg to explode it - unzip initramfs and the 阅读全文
posted @ 2016-07-19 13:54 得即高歌失即休 阅读(2489) 评论(0) 推荐(0) 编辑