Conversation
This adds a "Fake Root" checkbox to the new named session dialog. When enabled, the session is started with `proot -0`, which emulates root privileges (UID 0). This requires the `proot` package to be installed. This involves: - Adding `isFakeRoot` to `ExecutionCommand`. - Wrapping the command in `proot` in `TermuxSession`. - Propagating the flag through `TermuxService` and `TermuxTerminalSessionActivityClient`. - Updating the UI in `TermuxActivity`. Co-authored-by: 0m364 <13804150+0m364@users.noreply.github.com>
Updates invalid versions of GitHub Actions to valid/stable versions. - gradle/actions/wrapper-validation@5 -> @v4 - actions/checkout@v6 -> @v4 - actions/setup-java@v5 -> @v4 - actions/upload-artifact@v6 -> @v4 This fixes errors where actions could not be resolved or had network timeouts on old versions. Co-authored-by: 0m364 <13804150+0m364@users.noreply.github.com>
Add Fake Root session support using proot
|
Could you give some practical examples where fake root is useful? |
|
installing packages in termux that request root access without need for proot or opening the android system via root ...some tools request this |
|
Give practical examples. What tools? What do you meaning by opening the android system via root? Features added to the app must be useful for most users. It shouldn't be something niche, like bypass root check in specific script from GitHub. It is not hard to type So I would like to know what we miss without Fake Root session. |
i personally use it for running agent based local llms like opencode directly in termux ... it would also allow users who build lfs to do so in their phone without the lag of nested vm .. would also open up to testing shells ... i meant rooting/jailbreaking the system |
Local llms never required fake or real root permissions.
LFS (if you meant Linux-from-scratch) would require a full fledged proot setup. Using Furthermore, usage of
It doesn't help with rooting or jailbreaking the system because as said previously, |
yes.... i know .. this avoids the latency with proot... llm chatbots do not require root ... but agents and sub agents ... unless fine tuned for termux .. will refuse what they see as a sudo command ... the fix for this is to have them create an "askpass tool" on the fake container you make... this allows the agent to control a sub agent on standard termux .. allowing control of termux api controlled actions with natural language |
|
Yes
Denny Donson
…On Fri, Feb 20, 2026, 2:55 PM Smalleyes 0m364 ***@***.***> wrote:
*0m364* left a comment (termux/termux-app#4979)
<#4979 (comment)>
i personally use it for running agent based local llms like opencode
Local llms never required fake or real root permissions.
it would also allow users who build lfs to do so in their phone without
the lag of nested vm
LFS (if you meant Linux-from-scratch) would require a full fledged proot
setup. Using proot -0 <shell> alone won't help because it only
impersonates current user as root.
Furthermore, usage of proot would actually make performance worse.
would also open up to testing shells ... i meant rooting/jailbreaking the
system
It doesn't help with rooting or jailbreaking the system because as said
previously, proot only impersonates current user and that has effect only
for proot child processes. The kernel still sees the original user name
because proot can't hijack value in its memory space. No process permission
attributes being changed.
yes.... i know .. this avoids the latency with proot... llm chatbots do
not require root ... but agents and sub agents ... unless fine tuned for
termux .. will refuse what they see as a sudo command ... the fix for this
is to have them create an "askpass tool" on the fake container you make...
this allows the agent to control a sub agent on standard termux .. allowing
control of termux api controlled actions with natural language
—
Reply to this email directly, view it on GitHub
<#4979 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BQ7FBKA7Q37OVYNMPBYGMKT4M5YE7AVCNFSM6AAAAACVZKSIY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTSMZXGEYDMNJSHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
fake root container