Aliucord / Aliucord

A modification for the Discord Android App
https://discord.gg/EsNDvBaHVU
Open Software License 3.0
3.61k stars 161 forks source link

Aliucord doesn't install on non-Owner user profiles on GrapheneOS #261

Open TambourineReindeer opened 2 years ago

TambourineReindeer commented 2 years ago

Discord Account

No response

What happens when the bug or crash occurs?

The Aliucord installer downloads the Discord APK, goes through the patching process, and then goes back to the main Aliucord installer screen without prompting to install Aliucord.

What is the expected behaviour?

The Aliucord installer properly prompts to install Aliucord after downloading and patching the APK

How do you recreate this bug or crash?

  1. Create a new user profile on GrapheneOS
  2. Download the Aliucord installer from the browser
  3. Install Aliucord installer
  4. Open Aliucord installer
  5. Press the install button and let it download and patch the APK
  6. Wait for it to go back to the main screen

Crash-log

No response

Request Agreement

Vendicated commented 2 years ago

Have you tried running it more times? It chokes sometimes

MatsG23 commented 2 years ago

I had the same issue. You can use this workaround:

  1. Go to the file manager
  2. Click on the device name in the drawer and open the folder "Aliucord".
  3. If the packaging did not fail earlier, you can now manually install the apk.
TambourineReindeer commented 2 years ago

Have you tried running it more times? It chokes sometimes

I have, and it still does the same thing every time.

I had the same issue. You can use this workaround:

1. Go to the file manager

2. Click on the device name in the drawer and open the folder "Aliucord".

3. If the packaging did not fail earlier, you can now manually install the apk.

It still doesn't let me install it. It says "App not installed as package conflicts with an existing package."

MatsG23 commented 2 years ago

This sounds like a certificate pinning issue. Do you have an older Aliucord (or Discord, if Aliucord re-uses the package id) version installed in another user profile?

Vendicated commented 2 years ago

It still doesn't let me install it. It says "App not installed as package conflicts with an existing package."

that means you already have another package installed with the same package name. So you either already have Aliucord installed or it's an issue with multi user mode and out of control of the installer

TambourineReindeer commented 2 years ago

I have Aliucord (latest version) installed in the Owner profile, but it's not installed in the user profile that I am trying to install to.

rushiiMachine commented 1 year ago

could possibly fixed with custom pkg name in aliu manager

foxscore commented 1 year ago

I have Aliucord (latest version) installed in the Owner profile, but it's not installed in the user profile that I am trying to install to.

Try creating the patched APK on you owner profile, copy the resulting APK over to the other profile, and try installing that.

My theory is that it signs the APK with a user-generated key, thus the conflict.