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
vivo iqoo PD1824 boot unpack failed #90
Comments
「boot.img.png」https://www.aliyundrive.com/s/1une5kwsuJk |
Unpacking the image works fine here. log:
|
lz4 --version |
how can i update lz4 version... |
update lz4 version same problem lz4 --version wen@ZJZL-20211210GX:~/dev/Android_boot_image_editor-master$ ./gradlew unpack
FAILURE: Build failed with an exception.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 1s |
Ahhh, I see magisk again. Sure I can adapt the code for magisk. |
bootloop to fastboot mode. ...may be iqoo pd1824a .boot.img not include ramdisk.img... |
do u know how to root not by patch ramdisk.... any way? my phone is unlock bootloader. |
i want patch boot with magisk .android unpack vbmeta to disable verify.set head.flag=2 and repack boot...but now magisk boot can not unpack well.. |
Can you try latest "dev" branch? |
ok let me try.. |
dev branch work normal...but boot loop 。 |
Then it's the problem of magisk ... |
thks.closed |
Issue #90: support magisk-modified uncompressed ramdisk
Issue #90: support magisk-modified uncompressed ramdisk
03:18:46.445 [main] WARN cfig.packable.PackableLauncher - [boot.img] will be handled by [BootImgParser]
03:18:46.504 [main] WARN cfig.packable.PackableLauncher - 'unpack' sequence initialized
03:18:46.505 [main] INFO cfig.packable.IPackable - deleting build/unzip_boot/ ...
03:18:46.509 [main] INFO Helper - deleting uiderrors
03:18:46.515 [main] INFO cfig.packable.BootImgParser - header version 2
03:18:46.523 [main] WARN cfig.bootimg.v2.BootHeaderV2 - BootImgHeader constructor
03:18:46.534 [main] INFO cfig.Avb - python aosp/avb/avbtool.v1.2.py verify_image --image boot.img
aosp/avb/avbtool.v1.2.py: Signature check failed for SHA256_RSA2048 vbmeta struct boot.img
Verifying image boot.img using embedded public key
03:18:46.606 [main] ERROR cfig.Avb - boot.img failed integrity check by "python aosp/avb/avbtool.v1.2.py verify_image --image boot.img"
03:18:46.973 [main] INFO KernelExtractor - [aosp/build/tools/extract_kernel.py, --input, build/unzip_boot/kernel, --output-configs, build/unzip_boot/kernel_configs.txt, --output-version, build/unzip_boot/kernel_version.txt]
03:18:46.974 [main] INFO KernelExtractor - kernel version: [4.14.190]
03:18:46.975 [main] INFO KernelExtractor - kernel config dumped to : build/unzip_boot/kernel_configs.txt
03:18:47.028 [main] INFO Helper - CMD: [lz4, -t, build/unzip_boot/ramdisk.img], workDir: null
Error 44 : Unrecognized header : file cannot be decoded
03:18:47.039 [main] ERROR Helper - org.apache.commons.exec.ExecuteException: Process exited with an error: 44 (Exit value: 44): can not exec command
Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97)
at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113)
at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:108)
at cfig.packable.PackableLauncherKt.main(PackableLauncher.kt:108)
Caused by: java.lang.IllegalArgumentException: ramdisk is in unknown format
at cfig.bootimg.Common$Companion.dumpRamdisk(Common.kt:164)
at cfig.bootimg.Common$Companion.dumpRamdisk$default(Common.kt:125)
at cfig.bootimg.v2.BootV2.extractImages(BootV2.kt:193)
at cfig.packable.BootImgParser.unpack(BootImgParser.kt:45)
... 8 more
FAILURE: Build failed with an exception.
The text was updated successfully, but these errors were encountered: