You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Android API allows apps with the "App Usage Statistics" permission to request the sizes of code, general data, and cache, of any installed package.
I've noticed that com.termux requests that permission, but I haven't found a way to get app size without adb shell dumpsys diskstats.
The cmd
adb shell pm grant com.termux android.permission.DUMP
allows execution of dumpsys without shell privileges, but diskstats isn't found as an active service. Perhaps this requires a hack similar to this?
If there's no such feature, should I open an issue instead?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The Android API allows apps with the "App Usage Statistics" permission to request the sizes of code, general data, and cache, of any installed package.
I've noticed that
com.termux
requests that permission, but I haven't found a way to get app size withoutadb shell dumpsys diskstats
.The cmd
allows execution of
dumpsys
withoutshell
privileges, butdiskstats
isn't found as an active service. Perhaps this requires a hack similar to this?If there's no such feature, should I open an issue instead?
Beta Was this translation helpful? Give feedback.
All reactions