fix:导入加密模型

This commit is contained in:
wangzhongjie 2025-05-08 17:12:08 +08:00
parent 49f13cb5a0
commit bb3da09c0c
2 changed files with 10 additions and 3 deletions

View File

@ -4,9 +4,9 @@ set DOWNLOAD_PATH=..\scan
cd %TOOLCHAIN_PATH% cd %TOOLCHAIN_PATH%
.\hdc.exe shell mount -o remount,rw / .\hdc.exe shell mount -o remount,rw /
.\hdc.exe file send %DOWNLOAD_PATH%/libmedia_library.z.so /system/lib/platformsdk/libmedia_library.z.so .\hdc.exe file send %DOWNLOAD_PATH%/libmedia_library.z.so /system/lib/platformsdk/
.\hdc.exe file send %DOWNLOAD_PATH%/libmedialibrary_data_extension.z.so /system/lib/libmedialibrary_data_extension.z.so .\hdc.exe file send %DOWNLOAD_PATH%/libmedialibrary_data_extension.z.so /system/lib/
.\hdc.exe file send %DOWNLOAD_PATH%/libmedialibrary_data_extension.z.so /data/app/el1/bundle/public/com.ohos.medialibrary.medialibrarydata/libs/arm/libmedialibrary_data_extension.z.so .\hdc.exe file send %DOWNLOAD_PATH%/libmedialibrary_data_extension.z.so /data/app/el1/bundle/public/com.ohos.medialibrary.medialibrarydata/libs/arm/
.\hdc.exe shell reboot .\hdc.exe shell reboot
echo "all success" echo "all success"
pause pause

7
进入刷机模式.bat Normal file
View File

@ -0,0 +1,7 @@
@echo off
set TOOLCHAIN_PATH=.\win
cd %TOOLCHAIN_PATH%
.\hdc.exe shell reboot bootloader
echo "all success"
pause