revanced-cli icon indicating copy to clipboard operation
revanced-cli copied to clipboard

feat: (sign apk) Is it possible to add a feature to signapk/change signature with command like --sign-apk

Open ghost opened this issue 2 years ago • 8 comments

Type

Functionality

Issue

Help to change signature

Feature

Help to change signature

Motivation

Help to change signature

Additional context

Help to change signature

Acknowledgements

  • [X] I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • [X] I have written a short but informative title.
  • [ ] I filled out all of the requested information in this issue properly.

ghost avatar Sep 15 '23 13:09 ghost

It can be added as a utility command, similar to java -jar cli.jar utility install file.apk, but what is the usage scenario and motivation for this?

Ushie avatar Sep 15 '23 13:09 Ushie

A --resign option along the install subcommand can be added.

oSumAtrIX avatar Sep 15 '23 13:09 oSumAtrIX

IMG_20230914_203301_927

Revanced built yt with unused resources without removing them To remove unused files and to resign

Also to sign mmicrog with same signature of yt.

U can add the features. If u want

dib12 avatar Sep 15 '23 13:09 dib12

ReVanced CLI has nothing to do with YT, mmicrog, the patcher or removing unused files

oSumAtrIX avatar Sep 15 '23 13:09 oSumAtrIX

Is there any way to sign with testkey.x509.pem ,testkey.pk8 Only .key store support

With this there is no play protect warning like "unsafe app blocked" etc

dib12 avatar Sep 15 '23 14:09 dib12

The warning is shown once, you can try and see.

oSumAtrIX avatar Sep 15 '23 14:09 oSumAtrIX

@oSumAtrIX Why u reopened the issue !? I got a way to clean unused resources(70mb+) After resource complile and before app align i just remove unused through zip command. zip -d input.apk "res/" "lib/x86" "lib/armeabi*" And it align and sign apk without any issue and decrease app size to 68mb

dib12 avatar Sep 17 '23 07:09 dib12

I reopened to track this feature for ReVanced CLI

oSumAtrIX avatar Sep 17 '23 12:09 oSumAtrIX