微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > Adb sideload OTA升级失败报错:"E:unknown volume for path”

Adb sideload OTA升级失败报错:"E:unknown volume for path”

时间:10-02 整理:3721RD 点击:
[DESCRIPTION]
Adb sideload OTA升级失败报错:"E:unknown volume for path[/sideload/pakage.zip]”
操作步骤:
1. Enter the recovery mode by pressing the buttons with power + Volume
2. Select the "Recovery"
3. Pressing the button "Power" and soon after the button "Volume +"
4. Select the "Apply update fROM ADB"
5. On the PC running the command "adb sideload <filename>"
6. Check the behavior
实际结果:
Is not possible to carry out the recovery and is shown msg "Sideload aborted"
The log is shown:
E: unknown volume for path [/sideload/pakage.zip]
E: can`t mount /sideload/package.zip
I: GPT is supported!
[SOLUTION]
在bootable/recovery/ roots.cpp如下函数添加code:
1、ensure_path_mounted函数开始位置加上:
if (!strncmp(path, "/sideload", strlen("/sideload"))) {//add
return 0;//add
}//add
Volume* v = volume_for_path(path);
2、同样ensure_path_unmounted函数开始位置加上:
if (!strncmp(path, "/sideload", strlen("/sideload"))) {//add
return 0;//add
}//add
Volume* v = volume_for_path(path);

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top