Ship Magisk like GOLDEN; KernelSU optional recycle only; parallel to sunfish-a16-rom standby.
2.1 KiB
2.1 KiB
Quickstart: 008 call-rec + FLAG_SECURE (LAB)
Device: LAB only 11231JEC207477
Build: bacon/image with 008-call-rec-flag-secure applied
Evidence root: /srv/rom/artifacts/008-call-rec-flag-secure/
Prerequisites
- Magisk not required (must work without it).
- Developer Options enabled.
- Contracts: call-recording-surface.md, flag-secure-surface.md.
1. Defaults
adb -s 11231JEC207477 shell settings get secure extendrom_call_recording
adb -s 11231JEC207477 shell settings get secure disable_secure_windows
# expect 0 or null
2. Call recording (region unlock)
- Open Developer Options → enable Disable call recording restrictions.
- Confirm:
adb shell settings get secure extendrom_call_recording
# expect 1
- Place or receive a call with Dialer → start recording → stop → confirm file (Downloads / Dialer recordings — note path).
- Disable the switch (or turn off Developer Options) → confirm setting
0and that a restricted country would hide/deny record (or document LAB country ISO + XML flag).
Store notes + path under …/call-rec/.
3. FLAG_SECURE override
- Enable Allow screenshots of secure windows in Developer Options.
- Confirm:
adb shell settings get secure disable_secure_windows
# expect 1
- Open an app/window that sets
FLAG_SECURE(e.g. password manager, banking login, or a tiny test APK). - With toggle OFF: system screenshot should fail / blank.
- With toggle ON: screenshot or screen record should succeed.
- Toggle OFF again → secure behaviour restored.
Store images/notes under …/flag-secure/.
4. Pass criteria
- Both settings default OFF after fresh boot / DO off
- Call-rec ON → recording works; OFF → stock policy
- FLAG_SECURE ON → capture works; OFF → blocked
- No Magisk installed for the successful run
Notes
- User is responsible for call-recording legality.
- DRM-protected surfaces may still resist capture; note exceptions.
userbuild retest before release claims (011).