Skip to content

Show space available on /system #50

@mfonville

Description

@mfonville

Not every user knows how large their /system partition is.

We could indicate the current space used and available on /system just like Android itself can show about disk-usage.

UI:

  • a multi-colored bar that indicates 3 types: used by ROM + used by GApps + free
  • maybe (tooltip) text with human readable size info

Backend:

  • fetch partition size, used space and free space of /system/
  • check existence of /system/etc/g.prop if it exists and indicates with prop-values that Open GApps installed, check for /system/addon.d/70-gapps.sh and collect the filepaths listed in list_files.
  • calculate the total filesize of these GApps-related files
  • total used space minus these GApps filesize => used by ROM size

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions