selinux修改调试
mmm system/sepolicy/ -j20
ls -lZ查看标签
restorecon -R 重新加载标签,立即生效
Native调试
aarch64-linux-android-addr2line -e out/target/product/blueline/symbols/* -s -f -C 000000000001fed8
每帧PCM数据大小:
PCM Buffersize=采样率*采样时间*采样位深/8*通道数(Bytes)
mount -t nfs -o nolock 192.168.3.8:/home/zebra/nfs nfs
./tcpdump port 27010 -w rtmp-temp.cap
ffmpeg -re -i test01.mkv -c copy -f flv -y rtmp://192.168.3.8/live/test
git diff 25c3867c766c05ae3f1e2f0abbfe33659c8381fe 6715da9e0f07748815bb5e07a5c528eb37370201 --name-only | xargs zip update.zip
git log --pretty=oneline
ifconfig wlan0 192.168.137.42
route add default gw 192.168.137.1 dev wlan0
ip route del default via 192.168.3.1 dev eth0
ip route del 192.168.159.0/24 dev wlan1 scope link src 192.168.159.10
ip route del 192.168.3.0/24 dev eth0 scope link src 192.168.3.7
adb shell settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204
adb shell settings put global captive_portal_https_url https://connect.rom.miui.com/generate_204
settings put global data_roaming 1//打开漫游
settings put global data_roaming 0//关闭漫游
git apply --whitespace=fix
cat /sys/kernel/debug/gpio
cd /sys/class/gpio
echo 43> export
echo out > direction
echo 1 > value
adb shell setprop persist.ais_server.debug 3 //ais server
adb shell setprop persist.ais_server.api.debug 3 //AIS AP
input keyevent 26
stop vendor.camera-provider-2-4
ps -A | grep camera | awk '{print $2}' | xargs kill