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

Not able to repack recovery.img #152

Open
Lelonio opened this issue Nov 14, 2024 · 1 comment
Open

Not able to repack recovery.img #152

Lelonio opened this issue Nov 14, 2024 · 1 comment

Comments

@Lelonio
Copy link

Lelonio commented Nov 14, 2024

OnePlus 8T here, recovery is TWRP.

Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
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:144)
Caused by: java.lang.IllegalArgumentException: invalid os_version
at cfig.bootimg.Common$Companion.packOsVersion(Common.kt:75)
at cfig.bootimg.v2.BootHeaderV2.encode(BootHeaderV2.kt:125)
at cfig.bootimg.v2.BootV2.pack(BootV2.kt:486)
at cfig.packable.BootImgParser.packInternal(BootImgParser.kt:121)
at cfig.packable.BootImgParser.pack(BootImgParser.kt:143)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
... 5 more

@cfig
Copy link
Owner

cfig commented Nov 19, 2024

Can you attach the twrp recovery image here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants