一些笔录

    xiaoxiao2022-07-03  114

    一、串口打印logcat

    +++ b/common/rootdir/root/init.sc8830.rc

    +service logcat /system/bin/logcat -f /dev/kmsg *:w

    + class main

    + user root

    + group log

    + oneshot

    +

    3). disabble SElinux

    /system/core/init/init.cpp

    static bool selinux_is_enforcing(void)函数开头return false;  或者comandline 添加androidboot.selinux=permissive";

     

     

    最新回复(0)