Device: Samsung S22
Android version: Android 14
Magisk version name: Magisk V28
Magisk version code: 28001
I am trying to create my own build of Magisk as I did with the V27 version.
I clone the repository, and follow all the steps in the documentation.
I generate the “config.prop” file with the data related to my signature.
At the moment, I haven't made a single modification to the original code, I only pretend to generate an apk with my signature, and to be able to patch the Samsung AP file, but whenever I try to patch it, the application crashes and this exception is generated;
E java.lang.VerifyError: Verifier rejected class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream: void org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.addPaxHeadersForBigNumbers(java.util.Map, org.apache.commons.compress.archivers.tar.TarArchiveEntry) failed to verify: void org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.addPaxHeadersForBigNumbers(java.util.Map, org.apache.commons.compress.archivers.tar.TarArchiveEntry): [0x1C] register v9 has type Reference: org.apache.commons.compress.archivers.tar.TarArchiveEntry but expected Reference: java.util.zip.ZipEntry void org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.failForBigNumbers(org.apache.commons.compress.archivers.tar.TarArchiveEntry) failed to verify: void org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.failForBigNumbers(org.apache.commons.compress.archivers.tar.TarArchiveEntry): [0x1C] register v14 has type Reference: org.apache.commons.compress.archivers.tar.TarArchiveEntry but expected Reference: java.util.zip.ZipEntry void org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.transferModTime(org.apache.commons.compress.archivers.tar.TarArchiveEntry, org.apache.commons.compress.archivers.tar.TarArchiveEntry) failed to verify: void org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.transferModTime(org.apache.commons.compress.archivers.tar.TarArchiveEntry, org.apache.commons.compress.archivers.tar.TarArchiveEntry): [0x0] register v5 has type Reference: org.apache.commons.compress.archivers.tar.TarArchiveEntry but expected Reference: java.util.zip.ZipEntry (declaration of 'org.apache.commons.compress.archivers.tar.TarArchiveOutputStream' appears in /data/app/~~zgu_OnHuttM7hbBX1RNP6g==/com.topjohnwu.magisk-7BgZkB9LFbeDL1j299_10A==/base.apk!classes16.dex) at com.topjohnwu.magisk.core.tasks.MagiskInstallImpl.processFile(MagiskInstaller.kt:446) at com.topjohnwu.magisk.core.tasks.MagiskInstallImpl.patchFile(MagiskInstaller.kt:575) at com.topjohnwu.magisk.core.tasks.MagiskInstaller$Patch.operations(MagiskInstaller.kt:639) at com.topjohnwu.magisk.core.tasks.MagiskInstallImpl$exec$result$1.invokeSuspend(MagiskInstaller.kt:595) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684) Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@2deb462, Dispatchers.Main.immediate]
Device: Samsung S22 Android version: Android 14 Magisk version name: Magisk V28 Magisk version code: 28001
I am trying to create my own build of Magisk as I did with the V27 version.
I clone the repository, and follow all the steps in the documentation. I generate the “config.prop” file with the data related to my signature. At the moment, I haven't made a single modification to the original code, I only pretend to generate an apk with my signature, and to be able to patch the Samsung AP file, but whenever I try to patch it, the application crashes and this exception is generated;
E java.lang.VerifyError: Verifier rejected class org.apache.commons.compress.archivers.tar.TarArchiveOutputStream: void org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.addPaxHeadersForBigNumbers(java.util.Map, org.apache.commons.compress.archivers.tar.TarArchiveEntry) failed to verify: void org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.addPaxHeadersForBigNumbers(java.util.Map, org.apache.commons.compress.archivers.tar.TarArchiveEntry): [0x1C] register v9 has type Reference: org.apache.commons.compress.archivers.tar.TarArchiveEntry but expected Reference: java.util.zip.ZipEntry void org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.failForBigNumbers(org.apache.commons.compress.archivers.tar.TarArchiveEntry) failed to verify: void org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.failForBigNumbers(org.apache.commons.compress.archivers.tar.TarArchiveEntry): [0x1C] register v14 has type Reference: org.apache.commons.compress.archivers.tar.TarArchiveEntry but expected Reference: java.util.zip.ZipEntry void org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.transferModTime(org.apache.commons.compress.archivers.tar.TarArchiveEntry, org.apache.commons.compress.archivers.tar.TarArchiveEntry) failed to verify: void org.apache.commons.compress.archivers.tar.TarArchiveOutputStream.transferModTime(org.apache.commons.compress.archivers.tar.TarArchiveEntry, org.apache.commons.compress.archivers.tar.TarArchiveEntry): [0x0] register v5 has type Reference: org.apache.commons.compress.archivers.tar.TarArchiveEntry but expected Reference: java.util.zip.ZipEntry (declaration of 'org.apache.commons.compress.archivers.tar.TarArchiveOutputStream' appears in /data/app/~~zgu_OnHuttM7hbBX1RNP6g==/com.topjohnwu.magisk-7BgZkB9LFbeDL1j299_10A==/base.apk!classes16.dex) at com.topjohnwu.magisk.core.tasks.MagiskInstallImpl.processFile(MagiskInstaller.kt:446) at com.topjohnwu.magisk.core.tasks.MagiskInstallImpl.patchFile(MagiskInstaller.kt:575) at com.topjohnwu.magisk.core.tasks.MagiskInstaller$Patch.operations(MagiskInstaller.kt:639) at com.topjohnwu.magisk.core.tasks.MagiskInstallImpl$exec$result$1.invokeSuspend(MagiskInstaller.kt:595) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684) Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@2deb462, Dispatchers.Main.immediate]
Does anyone know why? Thanks