How can an Android user know which Project Mainline modules their device supports? Project Mainline (officially &quot;Modular System Components&quot; - https://source.android.com/devices/architecture/modular-system) introduced a set of OS components that Google can update via Google Play system updates.
Some of these modules are mandatory for OEMs to support depending on the version of Android that the phone ships with, but some of these modules are optional. OEMs can choose to add support for more modules when updating to a new version of Android, as well.
As the title states, how can an Android user determine which of these modular system components their phone actually supports?
You can run /system/bin/pm get-moduleinfo --installed to list all installed modules with their package name and package label. Running /system/bin/pm get-moduleinfo --all lists all available modules (possibly some that are not installed) currently known for that Android release