diff --git a/下载hilog.sh b/下载hilog.sh deleted file mode 100644 index d0881e9..0000000 --- a/下载hilog.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -TOOLCHAIN_PATH=./shell -DOWNLOAD_PATH=../logs - -hilog() { - cd $TOOLCHAIN_PATH && \ - TIMESTAMP=$(date +%Y%m%d_%H%M%S) && \ - ./hdc shell "tar -czvf /data/${TIMESTAMP}_log.tar.gz /data/log/" && \ - ./hdc file recv /data/${TIMESTAMP}_log.tar.gz $DOWNLOAD_PATH && \ - ./hdc shell "rm -rf /data/${TIMESTAMP}_log.tar.gz" -} - -hilog diff --git a/下载轨迹.sh b/下载轨迹.sh deleted file mode 100644 index f69653f..0000000 --- a/下载轨迹.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -TOOLCHAIN_PATH=./shell -DOWNLOAD_PATH=../logs - -logs() { - cd $TOOLCHAIN_PATH && \ - ./hdc file recv /mnt/hmdfs/100/account/device_view/local/files/duolun/logs $DOWNLOAD_PATH -} - -logs diff --git a/图片落盘.bat b/图片落盘.bat index 4c0954f..6224815 100644 --- a/图片落盘.bat +++ b/图片落盘.bat @@ -1,10 +1,11 @@ @echo off -set TOOLCHAIN_PATH=./win +set TOOLCHAIN_PATH=.\win +set DOWNLOAD_PATH=..\sprecord @REM 切换到工具链目录 cd %TOOLCHAIN_PATH% @REM 重新挂载根目录为可读写 .\hdc.exe shell mount -o remount,rw / -.\hdc.exe file send ../sprecord/librtsprecord.z.so /system/lib/module/libhiserialsdk.z.so +.\hdc.exe file send %DOWNLOAD_PATH%/librtsprecord.z.so /system/lib/module/libhiserialsdk.z.so echo "操作完成" \ No newline at end of file diff --git a/打开hilog.sh b/打开hilog.sh deleted file mode 100644 index 48a789a..0000000 --- a/打开hilog.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -TOOLCHAIN_PATH=./shell - -open() { - cd $TOOLCHAIN_PATH && \ - ./hdc shell hilog -w stop && \ - ./hdc shell hilog -r && \ - ./hdc shell hilog -w start -l 100M -m none && \ - ./hdc shell hilog -Q pidoff && \ - ./hdc shell hilog -p off && \ - ./hdc shell hilog -b D -} - -open