Is it possible to make Termux a system app (with plugin support)? #4726
-
Hi, I’m trying to figure out whether it’s possible to properly turn Termux into a system app to improve stability (for example, to avoid aggressive process killing on Android 12+). What I’ve already tried: Moved the Termux APK into /system/priv-app/ Set permissions (755 for directories and 644 for files) Copied the native libraries from the installed Termux into /system/lib64/ But after doing this, Termux either doesn’t start at all, or plugins (like Termux:API, Boot, Float, etc.) don’t work as expected. Questions: Is it even possible to make Termux a system app without modifying its source code? Does the manifest need to be changed or the APK rebuilt with system-level permissions? Is there a way to keep plugin compatibility (Termux:API, Boot, Float, etc.) after moving it to /system/priv-app? Would this approach actually help with the Android 12+ phantom/excessive process killing issue, or is it a dead end? Thanks in advance for any insights or technical details PS. Rooted Redmi Note 11 NFC - A13, MIUI 14, TGKIDXM |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Duplicate of #2445
It wont help for those cases, there are already settings available to disable excessive process killing, use those. |
Beta Was this translation helpful? Give feedback.
Duplicate of #2445
It wont help for those cases, there are already settings available to disable excessive process killing, use those.