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

Android双击,连续点击5次_android连续点击5次-CSDN博客

  • 22
    点赞
  • 25
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值