vendetta-mod / Vendetta

A mod for Discord's mobile apps.
BSD 3-Clause "New" or "Revised" License
1.46k stars 91 forks source link

Vendetta Crash on App Start-up [Exynos Chips] #221

Open ReLyf47 opened 8 months ago

ReLyf47 commented 8 months ago

Using a Samsung Galaxy A13 4G, everytime i open vendetta it crashes

Most possibly a bug with Exynos Chips being a dumbass and not liking how vendetta is structured or something like that, since discord crashed for 1 week on like lastest version

JizzyOnGithub commented 8 months ago

I have exact same device and am having same issue. it used to work idk what happened

ArtemGT69 commented 8 months ago

i have samsung galaxy a03s and i have same issue idk what happend

k2helix commented 8 months ago

Pixel 8 on GrapheneOS having the same problem. Not happening if I enable exploit compatibility mode.

riichi67 commented 8 months ago

exploit compatibility mode

  • Switch from hardened_malloc to Android's standard allocator (Scudo)
  • Reduce address space size from 48 bit to Android's standard 39 bit
  • Disable memory tagging, unless the app has opted-in to it (only on compatible devices)
  • Allow native debugging (ptrace) access

makes sense

riichi67 commented 8 months ago

btw the name for this issue is still really confusing, i'd suggest something like "vendetta crashes on exynos", because: boot = when your phone turns on home menu = ???

k2helix commented 8 months ago

exploit compatibility mode

  • Switch from hardened_malloc to Android's standard allocator (Scudo)
  • Reduce address space size from 48 bit to Android's standard 39 bit
  • Disable memory tagging, unless the app has opted-in to it (only on compatible devices)
  • Allow native debugging (ptrace) access

makes sense

Well yesterday this was not a problem so I don't know what has caused it

ArtemGT69 commented 8 months ago

for me crashes have disappeared for now after removing the NoTrack plugin

vanssx3 commented 8 months ago

Same issue for me on Samsung Z Flip 5

k2helix commented 7 months ago

Crashes have disappeared for me after disabling the NoTrack plugin. I can enable both hardened malloc and memory tagging and it works fine. It seems it is related

ReLyf47 commented 7 months ago

I can't even open the app, this is my first time using vendetta and its manager

Cynosphere commented 7 months ago

Can any of you get a logcat output of just the Discord crash?

k2helix commented 7 months ago

Here's the error and full log which is happening for me when enabling hardened malloc in GrapheneOS.

Error in Discord f18126a95324.txt

Discord log 78f882f592db.txt

Cynosphere commented 7 months ago

There's probably no way around that for GrapheneOS without disabling exploit protection. It's probably a known general incompatibility with LSPatch.

A log from someone on the affected Samsung devices would be appreciated since that is the original issue at hand.

k2helix commented 7 months ago

I see. So how is it only having effect when the NoTrack plugin is enabled?

ReLyf47 commented 7 months ago

Can any of you get a logcat output of just the Discord crash?

how would i do that

ReLyf47 commented 7 months ago

https://github.com/vendetta-mod/Vendetta/assets/133575967/bf62a963-5d05-4724-8350-d825991aea48

Here's footage of whats actually happening, its a hard crash, idk how to do the logcat or discord crash log