Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
AppControl incorrectly reports size of Termux #2166
On my particular phone (OnePlus 5) SDMaid's AppControl incorrectly reports the size of Termux app (com.termux) as equal to the size of every file in
Termux builds a linux chroot-style environment inside its own data directory, and one of the options for accessing the rest of your data is to symlink your storage from inside this environment, which is probably why this happens -- but maybe this case deserves some special handling? Termux is quite a popular app.
I agree with your evaluation, it's likely symlink related.
I don't think it would lead to data loss, but you don't have to try. SD Maid will delete the owner folders by their top level path and not traverse them to delete everything individually, so I think only the symlinks would be deleted.
SD Maid determines the path sizes using
The default install of Termux doesn't seem to create this chroot environment, can you post a guide on how to set this up such that I can reproduce this?
SD Maid 4.11.10 Pro, Magisk 17.1, Android 8.1
It always creates the environment, but it doesn't symlink your storage until you execute the command from inside it. The procedure is detailed in Termux wiki.