{
  "id": "pixel7-camera-preview",
  "modelId": "pixel7",
  "title": "Pixel Camera: preview, capture and cache",
  "intent": "Compare front/rear capture in the Pixel Camera app before attributing a third-party app problem to hardware.",
  "category": "diagnostics",
  "sourceIds": [
    "pixel-camera",
    "pixel-restart",
    "pixel-safety"
  ],
  "prerequisites": [
    "Intact camera glass and normal phone temperature",
    "Private non-sensitive subject in good light"
  ],
  "tools": [
    "Soft clean cloth",
    "Pixel Camera and existing Play Store access"
  ],
  "steps": [
    {
      "id": "lens",
      "text": "Remove a case blocking the lens and gently wipe back glass with a soft clean cloth. Use a well-lit subject with the phone cool.",
      "sourceIds": [
        "pixel-camera"
      ],
      "locator": "Shutter delay: check device"
    },
    {
      "id": "baseline",
      "text": "In Pixel Camera, compare front and rear preview and a saved photo. If only another app fails, keep that result separate.",
      "sourceIds": [
        "pixel-camera"
      ],
      "locator": "Third-party app tip; Selfie camera"
    },
    {
      "id": "restart",
      "text": "Press Power with Volume up to show the menu, choose Restart and repeat the affected camera path.",
      "sourceIds": [
        "pixel-restart"
      ],
      "locator": "Restart: Pixel 6 and later"
    },
    {
      "id": "cache",
      "text": "If needed, hold Camera’s app icon → App info → Storage & cache → Clear cache. Use cache only; then repeat the same camera test.",
      "sourceIds": [
        "pixel-camera"
      ],
      "locator": "Step 2: Clear Camera cache"
    },
    {
      "id": "update",
      "text": "Review Pixel Camera updates in Play Store → Manage apps & devices. After any chosen update, repeat the same front/rear comparison.",
      "sourceIds": [
        "pixel-camera"
      ],
      "locator": "Step 3: Update apps"
    },
    {
      "id": "capture",
      "text": "For shutter delay, check timer/flash settings and compare in good light. If selfie preview works but switching cameras fails, retain that distinction for Google support.",
      "sourceIds": [
        "pixel-camera"
      ],
      "locator": "Try selfie camera; Check Camera settings"
    }
  ],
  "checks": [
    {
      "id": "safety",
      "goal": "Check for a reason to stop before powered tests.",
      "question": "Is there swelling, lifted glass, casing separation, liquid damage, smoke, a burning smell, or damaged charging equipment?",
      "sourceIds": [
        "pixel-safety"
      ],
      "options": [
        {
          "id": "safe",
          "label": "No visible danger; safe to continue",
          "next": "baseline"
        },
        {
          "id": "danger",
          "label": "Yes, or suspected damage",
          "next": "stop"
        },
        {
          "id": "unknown",
          "label": "I cannot confirm safety",
          "next": "uncertain"
        }
      ]
    },
    {
      "id": "baseline",
      "question": "Could a cool, unobstructed Pixel Camera comparison be made?",
      "goal": "Avoid interpreting another app or heat as the baseline.",
      "sourceIds": [
        "pixel-camera"
      ],
      "options": [
        {
          "id": "yes",
          "label": "Confirmed",
          "next": "paths"
        },
        {
          "id": "no",
          "label": "Not available / not completed",
          "next": "attention"
        },
        {
          "id": "unknown",
          "label": "Not checked / unsure",
          "next": "uncertain"
        }
      ]
    },
    {
      "id": "paths",
      "question": "What does Pixel Camera show after the reversible checks?",
      "goal": "Identify the failing operation.",
      "sourceIds": [
        "pixel-camera"
      ],
      "options": [
        {
          "id": "both",
          "label": "Front and rear capture work",
          "next": "ready"
        },
        {
          "id": "one",
          "label": "A camera preview or capture still fails",
          "next": "service"
        },
        {
          "id": "switch",
          "label": "Selfie works but camera switch fails",
          "next": "service"
        },
        {
          "id": "unknown",
          "label": "A camera path remains untested",
          "next": "uncertain"
        }
      ]
    }
  ],
  "terminals": {
    "ready": {
      "type": "preparation_saved",
      "title": "Comparison recorded",
      "text": "Save the Pixel Camera comparison and the first step that changed it. If only another app fails, follow that app’s support path.",
      "handoff": [
        "Front/rear preview versus saved capture",
        "First change that affected the result: restart, cache or app update",
        "Pixel Camera versus another-app behavior"
      ]
    },
    "attention": {
      "type": "maintenance_possible",
      "title": "Complete the missing preparation",
      "text": "Start with a cool phone, clear lens and built-in Pixel Camera comparison.",
      "handoff": [
        "Establish good light and a safe lens condition before retesting.",
        "Front/rear preview versus saved capture",
        "First change that affected the result: restart, cache or app update",
        "Pixel Camera versus another-app behavior"
      ]
    },
    "service": {
      "type": "service_needed",
      "title": "Discuss the recorded result with support",
      "text": "Give Google the affected camera and operation, plus the restart/cache/update result. No particular module is diagnosed here.",
      "handoff": [
        "Front/rear preview versus saved capture",
        "First change that affected the result: restart, cache or app update",
        "Pixel Camera versus another-app behavior"
      ]
    },
    "uncertain": {
      "type": "preparation_saved",
      "title": "Keep the unknowns in your handoff",
      "text": "One or more preview/capture paths remain untested; cache or update status alone cannot fill them.",
      "handoff": [
        "Tell support whether preview, saved capture or switching could not be checked.",
        "Front/rear preview versus saved capture",
        "First change that affected the result: restart, cache or app update",
        "Pixel Camera versus another-app behavior"
      ]
    },
    "stop": {
      "type": "service_needed",
      "title": "Stop powered checks",
      "text": "Stop using or charging damaged equipment. Do not open or press on the phone or handle hot or smoking equipment. Contact Google or an authorized provider; use local emergency help for immediate fire danger.",
      "handoff": [
        "Report scratched/broken camera glass or abnormal heat before more camera use.",
        "Front/rear preview versus saved capture",
        "First change that affected the result: restart, cache or app update",
        "Pixel Camera versus another-app behavior"
      ]
    }
  },
  "outcomeChecks": [
    "Save the Pixel Camera comparison and the first step that changed it. If only another app fails, follow that app’s support path.",
    "Give Google the affected camera and operation, plus the restart/cache/update result. No particular module is diagnosed here."
  ],
  "diagramId": "phone-pixel-settings",
  "workflow": {
    "family": "condition-matrix",
    "summary": "Compare capture operations in the same app and lighting before changing software.",
    "fields": [
      {
        "id": "camera-app-scope",
        "label": "Where problem occurs",
        "type": "select",
        "options": [
          {
            "value": "unknown",
            "label": "Not checked / unknown"
          },
          {
            "value": "pixel",
            "label": "Pixel Camera itself"
          },
          {
            "value": "third-party",
            "label": "Only another app"
          },
          {
            "value": "both",
            "label": "Pixel Camera and another app"
          }
        ]
      },
      {
        "id": "camera-operation",
        "label": "Affected operation",
        "type": "select",
        "options": [
          {
            "value": "unknown",
            "label": "Not checked / unknown"
          },
          {
            "value": "preview",
            "label": "Preview"
          },
          {
            "value": "capture",
            "label": "Saved capture"
          },
          {
            "value": "switch",
            "label": "Switching cameras"
          },
          {
            "value": "delay",
            "label": "Shutter delay"
          }
        ]
      },
      {
        "id": "cache-review",
        "label": "Cache check",
        "type": "select",
        "options": [
          {
            "value": "unknown",
            "label": "Not checked / unknown"
          },
          {
            "value": "cache-only",
            "label": "Clear cache completed"
          },
          {
            "value": "not-needed",
            "label": "Not needed after earlier improvement"
          },
          {
            "value": "unavailable",
            "label": "Cannot reach cache control"
          }
        ]
      },
      {
        "id": "camera-update",
        "label": "Camera app update",
        "type": "select",
        "options": [
          {
            "value": "unknown",
            "label": "Not checked / unknown"
          },
          {
            "value": "installed",
            "label": "Offered update installed"
          },
          {
            "value": "none",
            "label": "No update offered"
          },
          {
            "value": "deferred",
            "label": "Update deferred"
          }
        ]
      }
    ],
    "matrix": {
      "title": "Camera operations",
      "rows": [
        {
          "id": "rear-preview",
          "label": "Rear preview",
          "condition": "Pixel Camera; cool phone; clear lens"
        },
        {
          "id": "front-preview",
          "label": "Front preview",
          "condition": "Same app and light; camera switched"
        },
        {
          "id": "rear-capture",
          "label": "Rear saved photo",
          "condition": "Check local saved result; no upload"
        },
        {
          "id": "front-capture",
          "label": "Front saved photo",
          "condition": "Same ordinary subject; no upload"
        },
        {
          "id": "other-app",
          "label": "Original third-party app",
          "condition": "Only if already installed and permitted"
        }
      ],
      "results": [
        {
          "value": "not-tested",
          "label": "Not tested"
        },
        {
          "value": "works",
          "label": "Expected result"
        },
        {
          "value": "fails",
          "label": "Problem observed"
        },
        {
          "value": "intermittent",
          "label": "Intermittent"
        },
        {
          "value": "not-applicable",
          "label": "Not applicable"
        }
      ]
    },
    "reportFocus": [
      "Preview, capture and switch failures are different",
      "Whether cache-only cleanup changed the same test"
    ],
    "notDoneGuidance": [
      "Do not select Clear storage/data for this task.",
      "Leave third-party comparison not applicable if no such app is involved."
    ],
    "osOptions": [
      "android14-dec2023-plus",
      "android-earlier",
      "android-unknown"
    ]
  },
  "entityKind": "task",
  "version": "2.0.0",
  "deviceFamily": "phone",
  "modelApplicability": {
    "id": "pixel7",
    "name": "Pixel 7",
    "family": "phone",
    "revision": "Standard Pixel 7 (2022), stock Android",
    "os": "Android 14 December 2023 update or later for Repair Mode. Other checks: stock Android with the named settings available.",
    "region": "US-first; repair options depend on country and warranty.",
    "help": "Open Settings → About phone and confirm Pixel 7. Check Android version and security update locally. Pixel 7a and Pixel 7 Pro are separate models.",
    "exclusions": [
      "Pixel 7a",
      "Pixel 7 Pro",
      "Pixel 6",
      "custom Android ROM"
    ],
    "sourceIds": [
      "pixel-safety",
      "pixel-repair"
    ]
  },
  "exclusions": [
    "Pixel 7a",
    "Pixel 7 Pro",
    "Pixel 6",
    "custom Android ROM"
  ],
  "materials": [
    "Keep any existing backup accessible to you.",
    "Keep credentials and personal files outside this record."
  ],
  "stopConditions": [
    "Stop using and charging equipment with swelling, casing separation, smoke, a burning smell or suspected battery damage. Do not open or press on it.",
    "Set damaged accessories aside. Do not open mains adapters or force connectors.",
    "Do not erase, reset, flash firmware or bypass a lock as a default diagnostic step."
  ],
  "branches": [
    {
      "from": "safety",
      "answer": "safe",
      "to": "baseline"
    },
    {
      "from": "safety",
      "answer": "danger",
      "to": "stop"
    },
    {
      "from": "safety",
      "answer": "unknown",
      "to": "uncertain"
    },
    {
      "from": "baseline",
      "answer": "yes",
      "to": "paths"
    },
    {
      "from": "baseline",
      "answer": "no",
      "to": "attention"
    },
    {
      "from": "baseline",
      "answer": "unknown",
      "to": "uncertain"
    },
    {
      "from": "paths",
      "answer": "both",
      "to": "ready"
    },
    {
      "from": "paths",
      "answer": "one",
      "to": "service"
    },
    {
      "from": "paths",
      "answer": "switch",
      "to": "service"
    },
    {
      "from": "paths",
      "answer": "unknown",
      "to": "uncertain"
    }
  ],
  "sources": [
    {
      "id": "pixel-camera",
      "title": "Fix Pixel Camera app",
      "url": "https://support.google.com/pixelphone/answer/6306624?hl=en",
      "locator": "General troubleshooting steps 1–3; Selfie camera; Shutter delay",
      "purpose": "Cache-only cleanup, camera comparisons and lighting",
      "checkedAt": "2026-10-13",
      "reuse": "Reference only. Bounded original paraphrase and original schematics; no copied support images or pages.",
      "licenseStatus": "Public official support documentation; no redistribution license assumed."
    },
    {
      "id": "pixel-restart",
      "title": "Turn your Pixel phone on and off",
      "url": "https://support.google.com/pixelphone/answer/7374159?hl=en",
      "locator": "Pixel 6 and later; Restart",
      "purpose": "Power plus Volume up for Pixel 7 normal power menu",
      "checkedAt": "2026-10-13",
      "reuse": "Reference only. Bounded original paraphrase and original schematics; no copied support images or pages.",
      "licenseStatus": "Public official support documentation; no redistribution license assumed."
    },
    {
      "id": "pixel-safety",
      "title": "Pixel 7 safety and regulatory guide",
      "url": "https://support.google.com/pixelphone/answer/12164747?hl=en",
      "locator": "Safety warnings; Repair and service; Charging",
      "purpose": "Model-specific damaged-device and charging safety",
      "checkedAt": "2026-10-13",
      "reuse": "Reference only. Bounded original paraphrase and original schematics; no copied support images or pages.",
      "licenseStatus": "Public official support documentation; no redistribution license assumed."
    },
    {
      "id": "pixel-repair",
      "title": "Use Pixel Repair Mode",
      "url": "https://support.google.com/pixelphone/answer/14266732?hl=en",
      "locator": "Learn how it works; Access; Exit",
      "purpose": "Android 14 December 2023+, 2 GB, backups, possible reset and credential privacy",
      "checkedAt": "2026-10-13",
      "reuse": "Reference only. Bounded original paraphrase and original schematics; no copied support images or pages.",
      "licenseStatus": "Public official support documentation; no redistribution license assumed.",
      "verifiedUnits": {
        "GB": [
          2
        ]
      }
    },
    {
      "id": "pixel-battery",
      "title": "Fix Pixel battery drain",
      "url": "https://support.google.com/pixelphone/answer/6090599?hl=en",
      "locator": "Battery diagnostics; Battery usage; Updates; Still have issues",
      "purpose": "App-use review, optimization and post-update context",
      "checkedAt": "2026-10-13",
      "reuse": "Reference only. Bounded original paraphrase and original schematics; no copied support images or pages.",
      "licenseStatus": "Public official support documentation; no redistribution license assumed."
    },
    {
      "id": "pixel-bt",
      "title": "Fix Pixel Bluetooth problems",
      "url": "https://support.google.com/pixelphone/answer/7334382?hl=en",
      "locator": "Bluetooth basics; Cannot hear music; Cannot make or get calls",
      "purpose": "Connected versus saved, media and phone audio profiles",
      "checkedAt": "2026-10-13",
      "reuse": "Reference only. Bounded original paraphrase and original schematics; no copied support images or pages.",
      "licenseStatus": "Public official support documentation; no redistribution license assumed."
    },
    {
      "id": "pixel-touch",
      "title": "Fix touch and response issues on Pixel",
      "url": "https://support.google.com/pixelphone/answer/6010316?hl=en",
      "locator": "Check screen; Pixel 8a and earlier",
      "purpose": "Screen protector mode and app-specific touch comparison; excludes Pixel 9 diagnostics",
      "checkedAt": "2026-10-13",
      "reuse": "Reference only. Bounded original paraphrase and original schematics; no copied support images or pages.",
      "licenseStatus": "Public official support documentation; no redistribution license assumed."
    }
  ],
  "assets": [
    {
      "id": "phone-pixel-settings",
      "path": "/assets/phone-pixel-settings.svg",
      "title": "Pixel 7 settings paths",
      "alt": "Schematic settings routes for Battery usage, Camera app Clear cache, Bluetooth Media audio, and Screen protector mode. Labels may vary with installed Android.",
      "sourceIds": [
        "pixel-battery",
        "pixel-camera",
        "pixel-bt",
        "pixel-touch"
      ],
      "caption": "Original settings schematic. Use the visible option on the installed OS; unavailable controls remain untested.",
      "kind": "Original schematic"
    }
  ],
  "relatedIds": [
    "pixel7-bluetooth-audio",
    "pixel7-wifi-access",
    "pixel7-battery-drain"
  ],
  "estimatedDuration": {
    "minutes": 20,
    "label": "Planning estimate for recording observations; excludes charging, backups, drying and service. Not a measured repair time."
  },
  "legacyVersion": "1.0.0",
  "legacyChecks": [
    {
      "id": "safety",
      "goal": "Separate unsafe hardware from routine preparation.",
      "question": "Any swelling, casing separation, liquid damage, smoke, burning smell, or damaged battery/adapter?",
      "sourceIds": [
        "pixel-safety"
      ],
      "options": [
        {
          "id": "safe",
          "label": "No visible danger",
          "next": "check-1"
        },
        {
          "id": "danger",
          "label": "Yes, or suspected damage",
          "next": "stop"
        },
        {
          "id": "unknown",
          "label": "I cannot confirm",
          "next": "uncertain"
        }
      ]
    },
    {
      "id": "check-1",
      "goal": "Remove surface and transient app effects.",
      "question": "Have you tried a clear lens in good light and restarted normally?",
      "sourceIds": [
        "pixel-camera"
      ],
      "options": [
        {
          "id": "yes",
          "label": "Yes",
          "next": "check-2"
        },
        {
          "id": "no",
          "label": "No",
          "next": "attention"
        },
        {
          "id": "unknown",
          "label": "Not checked / unsure",
          "next": "uncertain"
        }
      ]
    },
    {
      "id": "check-2",
      "goal": "Separate camera-specific from app-specific symptoms.",
      "question": "Do front and rear previews now work in Pixel Camera?",
      "sourceIds": [
        "pixel-camera"
      ],
      "options": [
        {
          "id": "yes",
          "label": "Both previews work",
          "next": "ready"
        },
        {
          "id": "no",
          "label": "A preview still fails",
          "next": "service"
        },
        {
          "id": "unknown",
          "label": "Not checked / unsure",
          "next": "uncertain"
        }
      ]
    }
  ],
  "legacyPreparation": [
    "Phone is cool enough for normal use",
    "Camera lens is not cracked",
    "Soft clean cloth",
    "Good lighting",
    "A private place to keep your findings",
    "A current backup if the device is accessible"
  ]
}