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

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

Open
riccardocapatti opened this issue Jun 1, 2023 · 0 comments
Open

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

riccardocapatti opened this issue Jun 1, 2023 · 0 comments

Comments

@riccardocapatti
Copy link

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.

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

1 participant