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

Outputted APK conflicts with the preinstalled APK #35

Open
hakunamatata97k opened this issue Dec 3, 2023 · 3 comments
Open

Outputted APK conflicts with the preinstalled APK #35

hakunamatata97k opened this issue Dec 3, 2023 · 3 comments

Comments

@hakunamatata97k
Copy link

Hello there,
Thanks for providing an easy-to-use script for building revanced apps.

Issue 1:

I have a small question though, lately I have noticed that the releases are not triggered or rather old. This is sadly the case in both the nighty page and the codeberg :/

So I ran the script locally using the provided instructions, but I'm getting an app with different options and different icons in comparison to the app that I used to download from the nighty page. :(

The last app I downloaded from the nighty page have the following info:

  • App version 18.19.35
  • The following app icon:
    Screenshot_2023-12-03-15-17-01-50_b783bf344239542886fee7b48fa4b892

Issue 2:

Moreover, I'm sadly unable to install the outputted APK as it conflicts with an existing package.
See here:
IMG_20231203_153146

How to reproduce:

  1. install java 21 zulu.
  2. run sh -c "$(curl https://raw.githubusercontent.com/XDream8/revanced-creator/main/patch.sh)"
  3. install the app on a non-rooted device with a from factory pre-installed YouTube app.
  4. you will get a conflict as shown in the image.

The outputted files:

image

@XDream8
Copy link
Owner

XDream8 commented Dec 4, 2023

This is a keystore issue. revanced-creator uses revanced-cli which generates a random keystore and uses it.

You can create your own keystore and pass it by using additional_args environment variable or flag like this:

export additional_args="--keystore=<keystore>"

Also there seems to be a problem with nightly.
Here is the link to latest ci

@hakunamatata97k
Copy link
Author

hakunamatata97k commented Dec 30, 2023

@XDream8 could you please tell me how one should create one's own keystore? Am I missing something here?

Plus, to my understanding the keystore solution effects the issue 2, right? what is causing the app icon to differ from the revanced icon that i really like to the official YouTube icon when triggering the script?how come the yt apk from the github cli has the offical revanced icon and the local triggered cli Would using a custom keystore file brand the app with the YouTube icon?

Sorry for my ignorance and thanks in advance.

@XDream8
Copy link
Owner

XDream8 commented Jan 20, 2024

To create a keystore you can use this command: keytool -genkey -v -keystore revanced.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000

The icon is related to Custom Branding patch. It was enabled by default before but now it is not.

Sorry for the late response :(

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

2 participants