Skip to content

chore: 同步 OnePlus 13 官方 common 16.0.9.401(剩余 50 个冲突) - #6

Draft
Zhanfg wants to merge 5 commits into
6.6-finalfrom
sync/official-16.0.9.401-e1b346b6b
Draft

Zhanfg wants to merge 5 commits into
6.6-finalfrom
sync/official-16.0.9.401-e1b346b6b

Conversation

@Zhanfg

@Zhanfg Zhanfg commented Jul 29, 2026 •

Copy link
Copy Markdown
Collaborator

官方上游

  • 设备版本:PJZ110_16.0.9.401(CN01)
  • 官方 common:e1b346b6b4f4096eb342ae3684838a942fd6f6c4
  • 官方内核版本:Linux 6.6.118
  • Android common tag:android15-6.6-2026-01_r22

自定义分支

  • 本地分支:6.6-final
  • 本地内核版本:Linux 6.6.126
  • 共同祖先:5a0ffb447c1dbd82e8e3af7a98c4a629f4b6d143
  • 本地领先:8,947 commits
  • 本地落后:5 official commits

本次工作不是普通内核版本升级。需要把 OnePlus/OPlus 官方设备、安全、ABI 与 Android common 更新移植到较新的 6.6.126 自定义 common 基线上,不能以官方 6.6.118 整树覆盖。

冲突解决进度

真实 Git merge 初始共有 116 个 unresolved index paths。已通过三轮可重复 Actions 规则处理:

Initial conflicts: 116
After pass 1: 85   (处理 31)
After pass 2: 67   (处理 18)
After pass 3: 50   (处理 17)

每一轮均执行真实 merge,保留 Git 自动合入的官方非冲突 hunk,只处理明确列出的冲突块,并检查 marker、index 与累计计数。三轮验证均已通过。

相关文件:

  • docs/UPSTREAM_SYNC_16.0.9.401.md
  • sync/resolutions/16.0.9.401/
  • scripts/resolve_merge_markers.py
  • .github/workflows/test-upstream-resolution-pass*.yml

剩余高风险范围

剩余 50 个路径主要包括:

  • HMBIRD / SCX / SLIM 调度架构与策略编号
  • ABI/KMI、OPlus symbol list、protected exports、AFDO
  • gki_defconfig
  • task/fork/tick、内存与 vendor hooks
  • F2FS / EXT4 核心
  • IOMMU、Mellanox firmware reset、Renesas reset 生命周期
  • MPTCP、CAKE、Unix socket graph

调度架构决策

本轮采用:

Default: fair / wait
Optional: HMBIRD / 风驰
Official SCHED_CLASS_EXT / SCX: disabled
Official CONFIG_SLIM_SCHED: disabled

原因:HMBIRD 与官方 SCX 均使用策略编号 7,并改写相同的 fork、tick、pick-next、setscheduler、cgroup 与 idle 接口。当前不能直接共存。完整说明见 docs/SCHEDULER_ARCHITECTURE.md。

合并前必须完成

  • 剩余 50 个冲突逐文件解决并记录理由
  • 按上述架构完成调度冲突移植
  • 固定 oneplus_13_b.xml manifest
  • 完整 OKI sun perf clean build
  • ABI/KMI、OPlus symbol list、AFDO 检查
  • Image、vendor_boot、vendor modules 与 vermagic 匹配
  • OnePlus 13 可重复启动、重启和回退
  • 蜂窝、Wi-Fi、相机、指纹、充电、温控、休眠验证
  • Root、SuSFS、KPM、wait/HMBIRD 与网络栈验证

在全部检查完成前保持 Draft,不直接合并 6.6-final。

pswbuild added 5 commits November 1, 2025 20:57
…402(EX01) CPH2655_16.0.2.403(EX01) PJZ110_16.0.2.403(CN01)
…701(EX01) PJZ110_16.0.5.701(CN01)

Based on QCOM release TAG:android15-6.6-2025-06_r35
…201(EX01) CPH2655_16.0.7.201(EX01) PJZ110_16.0.7.201(CN01)

Based on QCOM release TAG:android15-6.6-2025-06_r35
…401(EX01) PJZ110_16.0.9.401(CN01)

Based on QCOM release TAG:android15-6.6-2026-01_r22
@Zhanfg Zhanfg changed the title chore: 同步 OnePlus 13 官方 common 16.0.9.401 chore: 同步 OnePlus 13 官方 common 16.0.9.401(80 个冲突) Jul 29, 2026
@Zhanfg Zhanfg changed the title chore: 同步 OnePlus 13 官方 common 16.0.9.401(80 个冲突) chore: 同步 OnePlus 13 官方 common 16.0.9.401(116 个冲突) Jul 29, 2026
@Zhanfg Zhanfg changed the title chore: 同步 OnePlus 13 官方 common 16.0.9.401(116 个冲突) chore: 同步 OnePlus 13 官方 common 16.0.9.401(剩余 50 个冲突) Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant