Unduh

Unduh APK ReKernelFlasher versi terbaru, tautan langsung dari GitHub Releases.

v2.92 ReKernelFlasher

Dirilis pada 2026-11-28 00:01 · 22.2 MB · ReKernelFlasher-v2.92.apk

versi 2.92 1 aset 22.2 MB minSdk 29 · arm64-v8a

Catatan pembaruan:RKF-V2.92更新内容 / Update Summary(20920)

ReKernelFlasher v2.92(20920)

一、刷写:新增「展示所有分区」

路径:刷写 → 刷入 → 刷入分区镜像。标题下方新增整宽按钮,两态切换:

模式按钮文案列表来源
预设(默认)展示所有分区boot / dtbo / init_boot / recovery / system_dlkm / vbmeta / vendor_boot / vendor_dlkm
全部切换至预设分区列表平台节点目录下实际存在的全部分区(按名称排序)
  • 平台自动识别:高通 /dev/block/bootdevice/by-name、联发科 /dev/block/by-name;首次点开懒加载扫描,加载中显示「正在检索分区节点…」。
  • 槽位过滤:A 槽打开时隐藏所有 _b 后缀分区,B 槽打开时隐藏所有 _a 后缀分区,A-only 设备不过滤。
  • 点击任一分区仍走原刷写流程(选 .img → 二次确认 → 刷写),确认弹窗里显示真实节点路径(如 /dev/block/by-name/init_boot_a)。
  • 新增按节点名刷写 flashImageNode():逻辑分区(/dev/block/mapper/*)自动走 lptools 改写路径,物理分区直接 dd + SHA-256;自动备份同步新增 backupNode()。

已知边界:逻辑分区若当前未映射(/dev/block/mapper/<name> 不存在),列表里仍会显示该 by-name 条目,点击会提示 Partition ... was not found,属于安全失败,不会误写其它分区。

二、主页:平台与内核版本复制

  • 设备信息卡新增 平台 行(高通 / 联发科,探测不到显示「未知」),与字库备份、分区刷写共用同一套节点探测。
  • 点击「内核版本」整块卡片即复制完整版本串到剪贴板,并 Toast「已将内核版本信息复制到剪切板」。

三、刷写板块:活跃槽位置顶

  • 槽位顺序改为活跃槽位在最上面,另一槽位在分隔线之后;非 AB 设备保持单块。
  • 操作文案(刷写 / 备份 / 恢复 / 检查内核)由「槽位后缀 + 是否活跃」推导,不再写死 A/B 文案。
  • vendor_dlkm 的挂载 / 映射按钮改为绑定当前槽位。
  • 移除两处残留的「刷入 KernelSU 驱动」字样(该入口 v2.9 已删除)。

四、字库备份改版

  • 分区勾选:ⓘ 按钮打开分区列表,逐项勾选;单个「全选 / 全不选」切换按钮,实时显示已选数量与预计占用。
  • 页面结构:顶部「工作信息」(将备份的分区总数 + 备份目录)→ 完成后原地变「备份结果」(成功 / 跳过 / 失败);其下为总进度与当前分区双进度条;再下方是无标题日志区,每完成一个分区打印 Backup 'init_boot' ==>[OK](失败 ==>[FAIL])。
  • BPINFO.xml:备份目录新增分区清单,标准 XML 记录分区名 / 源节点路径 / img 文件名 / 字节大小 / SHA-256:
<?xml version="1.0" encoding="UTF-8"?>
<BackupPartitionInformation version="1" device="PJZ110" platform="高通" source="/dev/block/bootdevice/by-name" backup="/sdcard/ReKernelFlasher/backups/PJZ110字库备份" createdAt="2026-11-27T22:41:07" hashAlgorithm="SHA-256" partitionCount="3" totalSize="134217728">
  <Partition name="boot" source="/dev/block/bootdevice/by-name/boot" file="boot.img" size="100663296" hash="9f2c1e0b…"/>
  <Partition name="init_boot" source="/dev/block/bootdevice/by-name/init_boot" file="init_boot.img" size="8388608" hash="3a7bd3e2…"/>
</BackupPartitionInformation>
  • 悬浮按钮:备份成功后底部滑入「返回备份设置」,不占布局、不打断滚动。

五、多语言与修复

  • 新增 82 个字符串键,10 个语言包(默认 / zh-rCN / zh-rHK / zh-rTW / en / it / ja / pl / pt-rBR / ru)统一到 254 个键,占位符一致性与空翻译校验均通过。
  • 修复两条历史 lint error:FlashButton 的 LocalContext as MainActivity(改用 LocalActivity)、主页复制内核版本时用 LocalContext.getString 取文案(改用 stringResource)。
  • lintDebug:0 error(101 条既有 warning),单测 24 通过。

安装与升级

  • 包名 safe.kernel.flash,versionCode 20920 / versionName 2.92,minSdk 29、targetSdk 36,仅 arm64-v8a。
  • 与上一版签名一致,可直接覆盖安装;若之前装过 debug 包或其它签名的包,需先卸载。
  • 刷写与备份都需要 root;升级后建议先在设置里开启「自动备份」再刷写。

校验

项值
文件app-release.apk(建议重命名为 ReKernelFlasher-v2.92.apk 上传)
大小23,288,919 字节
SHA-2560df1f44b76400b365042226a1c263989bcded52755cc30a5b39605a09163a60e
签名CN=Bacillusf · 证书 SHA-256 30a1646080234ff50a0c7ead70931e1a8ef2a0d915defde30af8196334ed957d(v2 方案)

已知问题

  • 未映射逻辑分区的「全部」条目点击后会提示找不到分区(安全失败)。
  • 「展示所有分区」列出的是 by-name 节点的真实内容,个别机型可能存在指向异常的条目,刷写前请以确认弹窗中的节点路径为准。
  • 双进度条的分区进度按目标文件增长量估算,blockdev 读不到大小的分区会停在 0% 直到完成(总数与总进度不受影响)。
  • v2.92 尚未做真机回归(本轮改动基于编译、单测与 lint 验证),遇到问题请附 dmesg 与操作记录反馈。

完整变更与实现细节见 docs/releases/v2.92.md。


ReKernelFlasher v2.92 (20920)

1. Flashing: new "Show all partitions"

Path: Flash → Flash → Flash partition image. A full-width button under the page title toggles between two modes:

ModeButton labelList source
Preset (default)Show all partitionsboot / dtbo / init_boot / recovery / system_dlkm / vbmeta / vendor_boot / vendor_dlkm
AllSwitch to preset partition listEvery partition that actually exists in the platform node directory (sorted by name)
  • Platform detection: Qualcomm /dev/block/bootdevice/by-name, MediaTek /dev/block/by-name. The node directory is scanned lazily on first open and shows "Scanning partition nodes…" while running.
  • Slot filter: opened from slot A, every partition with a _b suffix is hidden; opened from slot B, every _a-suffixed partition is hidden; A-only devices are not filtered at all.
  • Tapping a partition runs the normal flow (pick an .img → confirmation → flash); the confirmation dialog shows the real node path (for example /dev/block/by-name/init_boot_a).
  • New node-name flashing path flashImageNode(): logical partitions (/dev/block/mapper/*) go through the lptools rewrite path, physical partitions are written directly with dd plus SHA-256. Auto backup gained a matching backupNode().

Known limit: when a logical partition is currently unmapped (/dev/block/mapper/<name> missing), its by-name entry is still listed and flashing it reports Partition ... was not found. That is a safe failure and never writes to another partition.

2. Home: platform row and kernel version copy

  • The device card gained a Platform row (Qualcomm / MediaTek, or "Unknown" when neither node directory exists), sharing the same detection as firmware backup and partition flashing.
  • Tapping the kernel version card copies the full version string to the clipboard and shows a toast.

3. Flashing tab: active slot first

  • Slots are now ordered with the active slot on top; the other slot follows after a divider. A-only devices keep a single block.
  • Action subtitles (flash / backup / restore / check kernel) are derived from the slot suffix and active state instead of hardcoded A/B text.
  • vendor_dlkm mount and map actions now bind to the current slot.
  • Two leftover "KernelSU driver" strings were removed (the entry itself was dropped in v2.9).

4. Firmware backup rework

  • Partition selection: the ⓘ button opens the partition list for per-partition checkboxes, with a single "Select all / Select none" toggle and a live selected count plus estimated size.
  • Page layout: the top card is "Job info" (total partitions to back up, backup directory) and turns into "Backup result" (success / skipped / failed) in place once finished. Two progress bars follow (total progress and current partition progress), then a headerless log area that prints Backup 'init_boot' ==>[OK] per finished partition (==>[FAIL] on failure).
  • BPINFO.xml: a partition manifest is written into the backup directory, recording partition name, source node path, image file name, size in bytes and SHA-256:
<?xml version="1.0" encoding="UTF-8"?>
<BackupPartitionInformation version="1" device="PJZ110" platform="高通" source="/dev/block/bootdevice/by-name" backup="/sdcard/ReKernelFlasher/backups/PJZ110字库备份" createdAt="2026-11-27T22:41:07" hashAlgorithm="SHA-256" partitionCount="3" totalSize="134217728">
  <Partition name="boot" source="/dev/block/bootdevice/by-name/boot" file="boot.img" size="100663296" hash="9f2c1e0b…"/>
  <Partition name="init_boot" source="/dev/block/bootdevice/by-name/init_boot" file="init_boot.img" size="8388608" hash="3a7bd3e2…"/>
</BackupPartitionInformation>
  • Floating button: "Back to backup settings" slides in from the bottom after a successful backup. It takes no layout space and does not interrupt scrolling.

5. Localization and fixes

  • 82 new string keys; all 10 locales (default / zh-rCN / zh-rHK / zh-rTW / en / it / ja / pl / pt-rBR / ru) are aligned at 254 keys, with placeholder parity and empty-translation checks passing.
  • Two pre-existing lint errors fixed: the LocalContext as MainActivity cast in FlashButton (now LocalActivity), and reading the clipboard toast text via LocalContext.getString on the home screen (now stringResource).
  • lintDebug: 0 errors (101 pre-existing warnings); 24 unit tests pass.

Install and upgrade

  • Package safe.kernel.flash, versionCode 20920 / versionName 2.92, minSdk 29, targetSdk 36, arm64-v8a only.
  • Signed with the same key as the previous release, so an in-place upgrade works; uninstall first if a debug build or a build signed with another key is installed.
  • Flashing and backup both require root. After upgrading, consider enabling Auto backup before flashing.

Verification

ItemValue
Fileapp-release.apk (rename to ReKernelFlasher-v2.92.apk when uploading)
Size23,288,919 bytes
SHA-2560df1f44b76400b365042226a1c263989bcded52755cc30a5b39605a09163a60e
SignatureCN=Bacillusf · certificate SHA-256 30a1646080234ff50a0c7ead70931e1a8ef2a0d915defde30af8196334ed957d (v2 scheme)

Known issues

  • Tapping an unmapped logical partition in the "All" list reports that the partition was not found (safe failure).
  • "Show all partitions" lists the real contents of the by-name node directory; on some devices an entry may point somewhere unexpected, so always check the node path shown in the confirmation dialog before flashing.
  • Per-partition progress is estimated from the growth of the target file; partitions whose size cannot be read via blockdev stay at 0% until they finish (total count and total progress are unaffected).
  • v2.92 has not been regression-tested on a physical device yet (this round was verified by compilation, unit tests and lint). If you hit an issue, please attach dmesg and the operation history.

Full changes and implementation details: docs/releases/v2.92.md.

Petunjuk pemasangan

  • Memerlukan perangkat yang sudah root (KernelSU / Magisk / APatch semuanya bisa), berbasis libsu.
  • Arsitektur yang didukung: arm64-v8a, minimal minSdk 29 (Android 10).
  • Jika pemasangan pertama diblokir oleh sistem, izinkan "instal aplikasi tidak dikenal" di pengelola file / browser.
  • Flashing memiliki risiko: pastikan mencadangkan partisi tujuan terlebih dahulu (di dalam aplikasi sudah tersedia tombol pencadangan otomatis).
  • Jika menemui masalah, silakan beri masukan di Grup Telegram.