Temp-4-save
//
adb shell settings get system? sTempcreen_off_timeout
adb shell settings get system? screen_brightness
adb shell settings put system? screen_brightness 1
screen_off_timeout
//
git push origin HEAD:refs/for/xxxx
git reset origin/xxxx
git checkout -b xxxx origin/xxxx
//
git branch? -vv
git? branch?? xxxx? --set-upstream-to=origin/xxxx
git reset --hard HEAD~4
//
adb shell am broadcast? -n? com.adroid.xxxx/.xxxx? -a? com.xxxx.xxxx.ACTION_TIME_CONFIG? --es? time? value
adb shell am start -n? com.xxxx.xxxx/.xxxx
adb shell pm clear? com.xxxx.xxxx
adb shell settings put global device_provisioned 1
adb shell settings put secure user_setup_complete 1
adb shell am start -n? com.xxxx.xxxx/.xxxx???
adb shell am startservice -n com.xxxx.xxxx/.xxxx? -a action
?adb shell am broadcast??? -a?? xxxx.xxxx.xxxx.xxxx.xxxx.xxxx? --es? detailResult? "Result:xxxx\nxxxx 1:PASSxxxx 2:PASS"
//
adb shell dumpsys activity | grep -i mCurrentFocus
adb shell dumpsys sensorservice
adb shell setenforce 0
adb shell getenforce
adb shell dmesg? |? grep -i avc > avc.txt
audit2allow -i avc.txt?? ?
readlink -f? /proc/xxx/self_test
ls -alZ? /proc/xxx/self_test
SELinux规则添加进阶_out/target/product/k61mv1_32_bsp_hdp/obj/etc/sepol-CSDN博客
///
adb push init.target.rc? /vendor/etc/init/hw
///te filemm
mmm system/sepolicy
adb push vendor/etc/selinux/*?? vendor/etc/selinux
///
on post-fs-data
??? mkdir /vendor/data/tombstones 0771 system system
///
file.te
type xxx_file, fs_type, sysfs_type;
type xxx_proc_file, fs_type, proc_type;
type xxx_file, fs_type, sysfs_type;
type txxx_smpacali, fs_type, sysfs_type;
genfs_contexts
genfscon sysfs /devices/platform/xxxx/caps_info u:object_r:xxx_file:s0
genfscon proc /nvt_selftest u:object_r:xxx_proc_file:s0
genfscon sysfs /devices/virtual/xxxx/led u:object_r:xxx_file:s0
genfscon sysfs /devices/platform/xxx/charge_enabled u:object_r:xxx_file:s0
file_contexts
/sys/class/smpa/re25_calib????????????? u:object_r:txxx_smpacali:s0
/sys/class/smpa/f0_calib??????????????? u:object_r:txxx_smpacali:s0
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。 如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:veading@qq.com进行投诉反馈,一经查实,立即删除!