-
Notifications
You must be signed in to change notification settings - Fork 79
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
Android security killing nix process #333
Comments
I don't know what is this mechanism. |
Looks like BitWarden does some stuff, not sure what exactly.. |
@Gerschtli that's just bitwarden autocompletion service saying that the vault is locked. I doubt it is making a difference here. |
This one was odd. Turns out it's not a nix-on-droid bug, but it's an accessibility setting that's interfering somehow.
After that, Most likely that's not the case. See: #333 (comment) |
Getting the same problem right after installing the app when it tries to bootstrap Nix. Using Oxygen 14.0 (on Android 14) as well. Tried turning off all the accessibility shortcuts, but to no avail (they weren't turned on in the first place) |
On July 20, 2024 1:06:12 AM GMT+03:00, Elk Cloner ***@***.***> wrote:
Getting the same problem right after installing the app when it tries to bootstrap Nix. Using Oxygen 14.0 (on Android 14) as well. Tried turning off all the accessibility shortcuts, but to no avail (they weren't turned on in the first place)
Try "acquire wakelock" in the notification. https://dontkillmyapp.com is a good resource with per-vendor instructions, try that.
|
I tried all that, even disabled killing of phantom processes as described here, but it's still the same problem. It's not like it's getting killed because of battery-hogging, android thinks that the app is malicious for some reason. |
I'm afraid you'd have to find and disable the heuristics. I don't think there's something to be done from my side, sorry...
The bootstrap is resource-intensive, maybe that's suspicious to it.
|
@elkcl My money is still on accessibility settings. Are you sure you have everything disabled in accessibility settings? Have you tried killing all background apps and restarting? I don't remember If I did that too. |
@carbolymer Yes, I've tried doing all that, and it still doesn't work. I've found out that other Oneplus 12 users on Oxygen OS 14 also have a similar problem, the security alert is triggered if you try to launch more than 40 processes under proot for some reason (it isn't triggered if not under proot, and turning off phantom process restrictions in the developer options also doesn't help) https://xdaforums.com/t/termux-processes-getting-flagged-as-malicious-software-and-killed.4660971/ |
nix-on-droid is dead on Oxygen OS 15: https://old.reddit.com/r/termux/comments/1gks9mf/announcement_termux_broken_on_android_15_for/ |
Damn, that sucks. Thanks for the heads up, looks like I'm skipping this update for now |
Sometimes Android kills the nix process for the security reasons. Seems a bit random. For example, when running
nix profile list
five times, only one execution fails with:And the following error pops out:
That's definitely a false positive from some security heuristics system. Any ideas where this comes from?
I haven't observed anything similar on Termux, so I don't if it's related to nix or Termux.
Android 14
OxygenOS 14.0
The text was updated successfully, but these errors were encountered: