AnotherTerm-docs

Another Term documentation (wiki replacement)

View this documentation on GitHub View the described project on GitHub GitHub all releases Get it on Google Play Support Project

The “Linux under PRoot” feature and Android 10

DISCLAIMER: The information provided here is about changes in the approach of running THIRD-PARTY software. The Another Term copyright holder and contributors are NOT responsible for any results of use or misuse of it.
Use it on your own risk!

Facts

  1. Google has enforced target API >= 29 (targetSdkVersion) for all application updates on Google Play since November 1 2020.

  2. Any application targets API >= 29 cannot execve() any binaries from file tree locations writable by it on Android 10 and higher. This new behavior interferes with the “Linux under PRoot” feature.

Solutions

Another Term was split into two flavors:

Using Another Term Shell Plugin - Android 10 Essentials

1) Install it from GitHub (as it seems incompatible with the Google Play policy).

2) Enable it and set it “Always accessible” in the Another Term “Plugins” settings.

3) Install a new Linux root as recommended

or fixup your existing installations by executing this snippet:

for F in $DATA_DIR/proots/*/root/etc/proot/run
do
 "$TERMSH" cat 'https://raw.githubusercontent.com/green-green-avk/AnotherTerm-scripts/master/assets/run-tpl' > "$F"
 echo 'PROOT="$("$TERMSH" plugin green_green_avk.anothertermshellplugin_android10essentials proot)"' >> "$F.cfg"
 echo 'PROOT_USERLAND="$("$TERMSH" plugin green_green_avk.anothertermshellplugin_android10essentials proot-userland)"' >> "$F.cfg"
done

and manually prepending the “Exectute” field value of each related favorite by sh .