Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apd module install error #715

Open
5 tasks done
aufarakha opened this issue Oct 13, 2024 · 0 comments
Open
5 tasks done

apd module install error #715

aufarakha opened this issue Oct 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@aufarakha
Copy link

Please check before submitting an issue/在提交 issue 前请检查

  • I have searched the issues and haven't found anything relevant/我已经搜索了 issues 列表,没有发现于本问题相关内容
  • If patch failed, root failed, or device unable to boot after flashing the new boot.img. Please goto KernelPatch/修复失败或刷入修补后镜像不能启动,请前往 KernelPatch 提问
  • I will upload bugreport file in APatch Manager - Settings - Report log/我会上传 bureport 文件从 APatch 管理器 - 设置 - 发送日志
  • I know how to reproduce the issue which may not be specific to my device/我知道如何重新复现这个问题

Version requirement/版本要求

  • I am using latest CI version of APatch/我正在使用最新 CI 版本

Describe the bug/描述 bug

Bug apd doesnt flash module if it executed from adb or pc

  • Preparing image

  • Module size: 4.01 MB
    e2fsck 1.46.6 (1-Feb-2023)

  • Estimated minimum size of the filesystem: 207339
    e2fsck 1.46.6 (1-Feb-2023)
    resize2fs 1.46.6 (1-Feb-2023)

  • Target image size: 484.76 MB
    The filesystem is already 474422 (1k) blocks long. Nothing to do!

  • Mounting image
    e2fsck 1.46.6 (1-Feb-2023)

  • Error: Invalid argument (os error 22)
    Error: Invalid argument (os error

Reproduce method/复现方法

1.open minimal adb or platform tools
2.type "adb shell su -c apd module install /data/local/tmp/modulename.zip
3.wait until it gives the output

output:


/ \ | _ \ __ | | | |
/ _ \ | |
) / ` | __/ _| ' \
/ ___ | __/ (
| | || (| | | |
// __| _,|__
|| ||

  • Preparing image

  • Module size: 4.01 MB
    e2fsck 1.46.6 (1-Feb-2023)

  • Estimated minimum size of the filesystem: 207339
    e2fsck 1.46.6 (1-Feb-2023)
    resize2fs 1.46.6 (1-Feb-2023)

  • Target image size: 484.76 MB
    The filesystem is already 474422 (1k) blocks long. Nothing to do!

  • Mounting image
    e2fsck 1.46.6 (1-Feb-2023)

  • Error: Invalid argument (os error 22)
    Error: Invalid argument (os error

Expected behavior/预期行为

i expect it to working / flashing the module without os error 22

Actual behaviour /实际行为

it should be flashing the module succesfully

Screenshots/截图

Screenshot 2024-10-13 072643

Logs/日志

No response

Device Name/设备名称

POCO M4 PRO 4G

OS Version/系统版本

Hyper OS 14

APatch Version/APatch 版本

10947

Kernel Version/内核版本

4.14

KernelPatch Version/KernelPatch 版本

0.11.1

Additional context/其他信息

exported log size 0b

@aufarakha aufarakha added the bug Something isn't working label Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant