Repository navigation
Releases
Releases · WASDDestroy/avbtool-android-compose
v2.1.0
Release Notes v2.1.0
- Open a BottomSheet to choose "new config" and "import config" when "new config" button is clicked
- Treat the first .PEM file as default key
- Read block device to work directory with root permission
- Generate config from a work directory instantly
v2.1.0 更新日志
- 新建配置和导入配置按钮现在统一为“新增配置”按钮
- 将第一个导入的 .PEM 文件设为默认密钥
- 支持读设备上的分区到某个工作区(需要 Root)
- 支持从工作区快速创建配置文件
v2.0.1
Release Notes v2.0.1
- Fix "ghost partition" problem that blocks configuration file editing: sometimes the config doesn't contain one or more files required to generate a vbmeta image. In this case these non-existing partitions cannot be removed.
- UI improvements for image/key file picker dialogs in profile screen and the bottom sheet of key items.
v2.0.1 更新日志
- 修复幽灵分区问题,这个问题会导致无法正常编辑配置文件:若 vbmeta 镜像包含了未出现在当前配置的分区集合中的分区,则这些未出现的分区无法被删除。
- 改进密钥文件/镜像选择器/密钥选项的 UI
v2.0.0
Release Notes v2.0.0
New Features
- Added signing profile import/management screen. (The config is compatible with AVBPowerTool2)
- Added ability to add and delete profile partitions with image inspection.
- Added full v3 profile schema parsing for profile signing.
- Added long-press partition config editing.
- Added per-run sign scope dialog with dependency gating.
- Added topological profile sign order and opt-in vbmeta properties.
- Added missing image file names with retry hint in sign scope.
- Added flags=3 option to disable all verification.
- Added persistence of per-partition image picks across app restarts.
- Added optional skip of profile archive checksum verification in settings.
- Added comparison of requested rollback index with image's existing footer.
- Added app name title to home screen.
- Added whole-row taps to toggle state for switch rows.
- Added expand/collapse chevrons for expandable preference rows.
- Added in-app top result banner for command outcomes.
Improvements
- Moved partition row label qualifiers into dialog hints.
- Merged advanced toggle row into advanced segment.
- Replaced text fields with rows in edit dialog.
- Clustered non-text rows in partition edit dialog.
- Moved console entry from nav bar into settings screen.
- Moved raw sign output into a segmented expandable card.
- Reordered profile rows above import/export and create rows.
- Merged profile import and list into one card group.
- Split import/export header into two segmented surfaces.
- Prefer avbtool info_image when reading current rollback index.
- Improved image type classification by footer presence instead of file name, and by file stem to avoid vbmeta misdetection.
- Used pluralStringResource for plurals in edit dialog.
- Correctly marked untranslatable string resources.
- Updated credits string.
Bug Fixes
- Run stale-scratch sweep once per process.
- Clean up private-storage scratch files after signing.
- Prune sign scope so infeasible partitions are never checked.
- Restrict key import file picker to PEM files.
- Validate profile archive before offering rollback warning.
- Gate signing and profile import on rollback index anomalies.
- Stop requiring input images for vbmeta partitions.
- Show empty-state row when profile has no partitions.
- Added imageSummaries state backing committed profile image rows.
- Polished profile result and close appended FileType objects.
- Fixed small radius on outer bottom corners of import/export row.
- Dropped beyondViewportPageCount to stop cold-start nav jump.
- Made pager the single source of truth for root navigation.
Build and Other
- Updated Android Gradle Plugin to 9.3.2.
- Synced IDE settings.
- Added test pinning header key digest against chain descriptor key lines.
v2.0.0 更新日志
新功能
- 新增签名配置文件导入/管理界面。(配置文件与 AVBPowerTool2 兼容)
- 支持通过镜像检查来添加和删除配置文件中的分区。
- 完整解析 v3 版配置文件架构,用于配置文件签名。
- 支持长按分区进行配置编辑。
- 增加每次签名前的作用域对话框,包含依赖关系门控。
- 支持按拓扑顺序签名配置文件,并允许选择启用 vbmeta 属性。
- 在签名作用域中显示缺失的镜像文件名并附带重试提示。
- 增加 flags=3 选项以禁用所有验证。
- 跨应用重启持久化每个分区选择的镜像路径。
- 设置中增加可跳过配置文件存档校验和验证的选项。
- 将请求的回滚索引与镜像现有页脚进行比较。
- 主屏幕增加应用名称标题。
- 开关行支持点击整行切换状态。
- 可展开偏好行增加展开/折叠箭头。
- 应用内增加命令执行结果的顶部横幅提示。
改进
- 将分区行标签限定符移入对话框提示中。
- 将高级开关行合并到高级分段中。
- 用行形式替换编辑对话框中的文本输入框。
- 在分区编辑对话框中将非文本行聚类排列。
- 将控制台入口从导航栏移至设置界面。
- 将原始签名输出移至可分段展开的卡片内。
- 调整配置文件行顺序,使配置文件操作位于导入/导出和新建之上。
- 将配置文件导入和列表合并为一个卡片组。
- 将导入/导出标题拆分为两个分段表面。
- 在读取当前回滚索引时优先使用 avbtool info_image。
- 通过页脚存在性而非文件名来优化镜像类型分类;同时通过文件主干避免 vbmeta 误判。
- 在分区编辑对话框中使用 pluralStringResource 处理复数资源。
- 正确标记不可翻译的字符串资源。
- 更新 Credits 字符串。
修复
- 每次进程只执行一次过期暂存文件扫描。
- 签名后清理私有存储中的暂存文件。
- 剪裁签名作用域,确保不可行分区永远不会被选中。
- 限制密钥导入文件选择器仅允许 PEM 文件。
- 在提供回滚警告前先验证配置文件存档。
- 根据回滚索引异常情况,对签名和配置文件导入进行门控。
- 不再要求 vbmeta 分区必须提供输入镜像。
- 当配置文件无分区时,显示空状态行。
- 添加 imageSummaries 状态以支持已提交的配置文件镜像行。
- 优化配置文件结果输出,并关闭附加的 FileType 对象。
- 修复导入/导出行外底部圆角半径过小的问题。
- 移除 beyondViewportPageCount 以解决冷启动导航跳转问题。
- 将分页器作为根导航的唯一真实来源。
构建及其他
- 升级 Android Gradle Plugin 至 9.3.2。
- 同步 IDE 设置。
- 增加测试,固定头键摘要与链描述符键行的比对。