# Contract: system packages (004) ## Packages that MUST be present on LAB after flash | Package | Type | Notes | |---------|------|-------| | `com.google.android.gms` | system/priv | microG | | `com.google.android.gsf` | system/priv | GsfProxy | | `com.android.vending` | **priv-app** | Patched Phonesky | ## Packages that MUST NOT be present | Package | Notes | |---------|-------| | FakeStore (typical `com.android.vending` stub from partner_gms) | Conflicts with Phonesky | | Magisk / KernelSU manager (as ROM-preinstalled) | Out of scope until `007` | ## Host path contract (rom-dev01) | Path | Contents | In Git? | |------|----------|---------| | `/srv/rom/prebuilts/microg/` | GmsCore + GsfProxy APKs + `VERSIONS.txt` | No | | `/srv/rom/prebuilts/phonesky/` | Phonesky APK + permission XMLs + `VERSIONS.txt` | No | | `/srv/rom/secrets/phonesky-signing/` | Optional project keys | No | | Meta-repo `docs/004-*.md` | Runbook + self-check | Yes | | Product/vendor mk under LOS tree | References prebuilts by path | Tree on host; mirror patches in meta if small | ## Verification commands (LAB) ```bash adb -s 11231JEC207477 shell pm path com.google.android.gms adb -s 11231JEC207477 shell pm path com.google.android.gsf adb -s 11231JEC207477 shell pm path com.android.vending adb -s 11231JEC207477 shell pm list packages | grep -i fakestore || true ```