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
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
The text was updated successfully, but these errors were encountered:
By detecting the available storage, the .APK can automatically select the largest possible package variant to install and mark it as detected if no other OpenGApps are already installed.
@NatoBoram unfortunately we cannot predict from the app (yet) how large the install would be; because we don't know which dpi-variants will be installed each for each app, or whether the user uses a gapps-config file.
It is possible to get the DPI using DisplayMetrics, and it is safe to assume that the user will not use a gapps-config file if it doesn't know the size of its own /system partition. I think you can do it :)
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:
Backend:
/system/
/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 inlist_files
.The text was updated successfully, but these errors were encountered: