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
how to fix pack boot V3 #59
Comments
Have you tried latest code from 'master' branch? Thanks~ |
Here sir https://drive.google.com/file/d/1os3cuULGo-36QUyibc8kMTKzgcqCLIOz/view?usp=drivesdk I can unpack but can't not repack |
Can you have a try with latest 'rc' branch?
and then do unpack and pack. |
Yes latest bro. |
does it work? |
aosp: mkdtboimg,mkbootimg test: Issue #59
aosp: mkdtboimg,mkbootimg test: Issue #59 parser: support boot-debug and vendor_boot-debug
Fixed and added into integration test case. |
pls help me pack boot.img.v3 (android11)
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:92)
Caused by: java.nio.BufferOverflowException
at java.base/java.nio.HeapByteBuffer.put(HeapByteBuffer.java:221)
at cfig.bootimg.Common$Companion.writePaddedFile(Common.kt:287)
at cfig.bootimg.v3.BootV3.pack(BootV3.kt:104)
at cfig.packable.BootImgParser.pack(BootImgParser.kt:57)
... 8 more
The text was updated successfully, but these errors were encountered: