Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Pixel log: January 2026 factory images are missing, and Android 17 entries use the system fingerprint

未关闭
#20 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
android, python
领域
data, security, tooling

调研方向

Start with checkpoint.txt and image_info.txt, then run the comparison script in the issue against the factory images page to reproduce the missing January entries and generic Android 17 matches. Inspect the pixel_verification path mentioned in the report. Done means the January images are represented and Android 17 entries use fingerprints that verify correctly for their device images.

由索引模型根据 Issue 内容生成。

描述

The Pixel log has no entries for the January 2026 release. The factory images page lists 29 images for BP4A.260105.004 (.E1, .A2, .B2, .C2) across 15 devices, and none of them are in image_info.txt at tree size 1109. December 2025 and February 2026 builds are there. To rule out a naming difference I computed the VBMeta digest of tokay-bp4a.260105.004.e1 with avbtool calculate_vbmeta_digest: b1eca34c41d308c91abcea66cf5852814cd526020041a590bd7f865aaa0900b6. It doesn't appear in the log under any fingerprint.

Separately, Android 17 builds are logged under the system partition's fingerprint. Entry 1073 is google/generic_system_google/generic:17/CP2A.260705.006/15641320:user/release-keys with digest c93d26cf284f3c3ba9301fd331b6129a8399ba44242aab9068690732239d2d26, which is tokay's image. That image's OTA metadata (post-build) and every other fingerprint property in its vbmeta say google/tokay/tokay:17/CP2A.260705.006/15641320:user/release-keys. With the same digest, the verifier returns OK for the generic fingerprint and FAILURE for the device one, so a payload built from what the phone reports won't verify. The grep on system.img in pixel_verification still finds the generic line, so the manual path works. It applies to all 103 Android 17 images from the factory page that are in the log.

Missing January 2026 images, and the script
akita     BP4A.260105.004.E1
blazer    BP4A.260105.004.A2 .C2 .E1
caiman    BP4A.260105.004.A2 .E1
comet     BP4A.260105.004.A2 .E1
felix     BP4A.260105.004.E1
frankel   BP4A.260105.004.A2 .C2 .E1
husky     BP4A.260105.004.E1
komodo    BP4A.260105.004.A2 .E1
lynx      BP4A.260105.004.E1
mustang   BP4A.260105.004.A2 .C2 .E1
rango     BP4A.260105.004.A2 .C2 .E1
shiba     BP4A.260105.004.E1
tangorpro BP4A.260105.004.E1
tegu      BP4A.260105.004.B2 .C2 .E1
tokay     BP4A.260105.004.A2 .E1

The script lists every factory zip on developers.google.com/android/images and looks up each (device, build) in image_info.txt, after checking the entry count against the checkpoint. It also prints the September 2026 images (CP3A.260905.009 for 21 devices and CD1A.260905.001.B1 for cubs, grizzly, kodiak and yogi); image_info.txt was last modified on August 21, so those may just be lag.

# Compare every Pixel 6+ factory image on developers.google.com/android/images
# with the Pixel Binary Transparency log's image_info.txt.
import collections, re, urllib.request

def get(url, cookie=None):
    h = {"User-Agent": "curl/8"}
    if cookie: h["Cookie"] = cookie
    return urllib.request.urlopen(urllib.request.Request(url, headers=h)).read().decode()

BT = "https://developers.google.com/android/binary_transparency/"
size = int(get(BT + "checkpoint.txt").split("\n")[1])  # verify the signature separately
log = get(BT + "image_info.txt").strip().split("\n\n")
assert len(log) == size

logged = collections.defaultdict(set)
for entry in log:
    fp = entry.split("\n")[1]  # google/<product>/<device>:<ver>/<build>/...
    device, build = re.match(r"google/[^/]+/([^:]+):[^/]+/([^/]+)/", fp).groups()
    logged[device].add(build.upper())

site = get("https://developers.google.com/android/images", cookie="devsite_wall_acks=nexus-image-tos")
PIXEL6_AND_NEWER = {"oriole", "raven", "bluejay", "panther", "cheetah", "lynx", "tangorpro",
    "felix", "shiba", "husky", "akita", "tokay", "caiman", "komodo", "comet", "tegu",
    "frankel", "blazer", "mustang", "rango", "stallion", "cubs", "grizzly", "kodiak", "yogi"}

counts = collections.Counter()
for device, build in sorted(set(re.findall(r"aosp/([a-z0-9_]+)-([a-z0-9.]+)-factory-[0-9a-f]+\.zip", site))):
    if device not in PIXEL6_AND_NEWER: continue
    build = build.upper()
    if build in logged[device]: counts["logged"] += 1
    elif build in logged["generic"]: counts["logged as generic"] += 1
    else: counts["missing"] += 1; print("missing", device, build)
print(f"tree size {size}:", dict(counts))
主要语言
Python
星标
18
派生
5
平均合并
2 小时 32 分钟
30 天内合并 PR
17

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。