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

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

Open
2 of 3 tasks
dib12 opened this issue Sep 15, 2023 · 8 comments
Labels
Feature request Requesting a new feature

Comments

@dib12
Copy link

dib12 commented Sep 15, 2023

Type

Functionality

Issue

Help to change signature

Feature

Help to change signature

Motivation

Help to change signature

Additional context

Help to change signature

Acknowledgements

  • I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • I have written a short but informative title.
  • I filled out all of the requested information in this issue properly.
@dib12 dib12 added the Feature request Requesting a new feature label Sep 15, 2023
@Ushie
Copy link
Member

Ushie commented Sep 15, 2023

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?

@oSumAtrIX
Copy link
Member

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

@dib12
Copy link
Author

dib12 commented Sep 15, 2023

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

@oSumAtrIX
Copy link
Member

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

@dib12
Copy link
Author

dib12 commented Sep 15, 2023

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

@oSumAtrIX
Copy link
Member

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

@dib12 dib12 closed this as completed Sep 15, 2023
@oSumAtrIX oSumAtrIX reopened this Sep 15, 2023
@dib12
Copy link
Author

dib12 commented Sep 17, 2023

@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

@oSumAtrIX
Copy link
Member

I reopened to track this feature for ReVanced CLI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Requesting a new feature
Projects
None yet
Development

No branches or pull requests

3 participants