Skip to content

cccodroid v0.8.3

Latest

Choose a tag to compare

@greyoak111 greyoak111 released this 26 Nov 05:37

简体中文 · English

修复跨版本升级后预下载开发工具包被误判降级并卡死在启动页重试循环的问题,同时打通启动与换包期间的原生确认弹窗。

启动与工具包更新修复

  • 自动清理跨版过期的预下载工具包:若升级前已预下载较早版本的工具包、升级 APK 后内置工具包基线更高,初始化与启动检查会直接丢弃过期的暂存记录并清理缓存,同时放行在线新版覆盖旧暂存,不再反复卡在「安装已下载的开发工具包更新…」。
  • 消除启动与换包页原生确认弹窗死锁:MainActivity 在冷启动及本地换包、更新卡片安装期间(booted == false)对特权确认、敏感目录授权与无障碍授权意图立即弹窗响应,不再排入延后队列导致后台等待 60 秒超时;启动期自动套用暂存包改为非交互容错模式,本机已有可用工具包时异常直接清理暂存并进入主界面。
  • 修正同版修复与手动安装降级基线:「修复:重装同一版本」豁免降级拦截;手动安装本地包时优先与本机实际已装版本对比,不再把高于本机已装但低于新内置基线的包误判为降级。

致谢与说明

  • 感谢 @YQXYWM 排查并提交完整的三段根因定位报告。
  • 网关与前端测试套件、Java 宿主单测(含新增 22 项暂存与弹窗回归断言)及九语词典校验全部通过;升级不会改动已有会话、设置和档案。

安装

下载 cccodroid.apk 安装(系统提示「与此版本的安卓不兼容」、装不上时,改装 cccodroid-36.apk)。首次打开先勾选要装的工具包模块(默认约 330 MB,全部约 700 MB,断点续传),再下载官方 Claude Code(约 275 MB)。

校验

  • cccodroid.apk sha256:fa8c6116de08a2ac7e28d742dc1b9e2d305f19f65c81aa5b5069255411bb3c29
  • cccodroid-36.apk(targetSdk 36)sha256:6e8680d0db5acacff80b098fa4446d3d81b607ae1c53905ead57c27ccdc8fa48
  • 配套开发工具包:devkit-2026.11.21.2
  • 源码提交:f9a244971fbe98da5b584ce54b26f99ac1361689

English

Fixes an infinite startup retry loop when a pre-downloaded toolchain becomes older than a newly upgraded APK's built-in pin, and unblocks native confirmation dialogs during startup and local toolchain installation.

Startup & Toolchain Update Fixes

  • Discard stale staged toolchains & unblock newer online updates: When an APK upgrade raises the built-in devkitPin above a previously staged toolchain download, Updater initialization and unattended startup now discard the stale staged record and clean up cached files immediately, while checkDevkit allows newer online releases to replace older staged plans instead of getting stuck on Installing downloaded toolchain update....
  • Eliminate booted == false confirmation dialog deadlocks: MainActivity now handles privilege confirmation, folder consent, and accessibility confirmation intents immediately even while booted == false (cold boot, local archive install, and update-card install), eliminating the 60-second circular wait; unattended boot staging runs non-interactively and falls through cleanly to the main UI whenever an existing toolchain is intact.
  • Accurate downgrade baseline for repair & manual installs: Same-version repairs bypass downgrade prompts, and manual local installs compare against the actual installed toolchain version when known rather than falsely flagging upgrades below a newer built-in pin.

Credits & Notes

  • Thanks to @YQXYWM for tracking down and reporting the complete root-cause chain.
  • Gateway/frontend test suites, Java host unit tests (including 22 new regression assertions), and all 9 language dictionaries pass verification; upgrading does not touch existing sessions, settings, or archives.

Install

Download and install cccodroid.apk (if Android says it isn’t compatible and won’t install it, use cccodroid-36.apk instead). On first launch you pick toolchain modules (about 330 MB by default, about 700 MB for all, resumable), then the official Claude Code is downloaded (about 275 MB).

Verification

  • cccodroid.apk sha256: fa8c6116de08a2ac7e28d742dc1b9e2d305f19f65c81aa5b5069255411bb3c29
  • cccodroid-36.apk (targetSdk 36) sha256: 6e8680d0db5acacff80b098fa4446d3d81b607ae1c53905ead57c27ccdc8fa48
  • Matching toolchain: devkit-2026.11.21.2
  • Source commit: f9a2449