Skip to content

Can an old apk be signed again without old source? #12

Description

@riccardocapatti

Hi, i'm using an old modified apk signed with your program and after moving to a new phone with Android 13 the app crashes on boot.
In the logs i found this "java.lang.Long cannot be cast to java.lang.Integer" and the cause was cc.binmt.signature (...cc.binmt.signature.PmsHookApplication.invoke(Unknown Source:20)...).

I was trying to sign it again but of course it says that it has been done already:

Exception in thread "main" org.jf.util.ExceptionWithContext: Class Lcc/binmt/signature/PmsHookApplication; has already been interned
at org.jf.dexlib2.writer.builder.BuilderClassPool.internClass(BuilderClassPool.java:94)
at org.jf.dexlib2.writer.builder.DexBuilder.internClassDef(DexBuilder.java:143)
at org.jf.dexlib2.writer.builder.DexBuilder.internClassDef(DexBuilder.java:348)
at cc.binmt.signature.NKillSignatureTool.processDex(NKillSignatureTool.java:123)
at cc.binmt.signature.NKillSignatureTool.process(NKillSignatureTool.java:68)
at cc.binmt.signature.NKillSignatureTool.main(NKillSignatureTool.java:33)

Is there a fix? Can i force it?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions