{"id":90,"date":"2026-12-06T10:54:34","date_gmt":"2026-12-06T02:54:34","guid":{"rendered":"https:\/\/wp.xybcm.cn\/?p=90"},"modified":"2026-12-06T11:40:07","modified_gmt":"2026-12-06T03:40:07","slug":"redmi-6a-cactus-flashing","status":"publish","type":"post","link":"https:\/\/wp.xybcm.cn\/?p=90","title":{"rendered":"\u7ea2\u7c73 6A \u5237\u673a\u4e0e\u6062\u590d\uff5c\u8bc6\u522b cactus \u56fa\u4ef6\u3001\u7ebf\u5237\u5305\u548c 64 \u4f4d Recovery"},"content":{"rendered":"<p>\u53c2\u8003\u5165\u53e3\uff1a<a href=\"https:\/\/twrp.me\/xiaomi\/xiaomiredmi6a.html\" rel=\"nofollow\">TWRP for Redmi 6A<\/a>\u3001<a href=\"https:\/\/www.mi.com\/cn\/unlock\/\" rel=\"nofollow\">\u5c0f\u7c73\u89e3\u9501\u8bf4\u660e<\/a>\u3001<a href=\"https:\/\/topjohnwu.github.io\/Magisk\/\" rel=\"nofollow\">Magisk \u6587\u6863<\/a>\u3002\u7ea2\u7c73 6A \u7684\u8bbe\u5907\u4ee3\u53f7\u662f <strong><code>cactus<\/code><\/strong>\uff0cSoC \u662f Helio A22\u3002\u540d\u5b57\u63a5\u8fd1\u7684\u7ea2\u7c73 6 \u4ee3\u53f7 <code>cereus<\/code>\uff0c\u56fa\u4ef6\u4e92\u4e0d\u901a\u7528\u2014\u2014\u7f51\u4e0a\u5927\u91cf\u300c\u7ea2\u7c73 6 \u5237\u673a\u6559\u7a0b\u300d\u88ab\u8bef\u5f53\u6210 6A \u7684\u7528\uff0c\u5237\u8fdb\u53bb\u5c31\u662f\u7816\uff08\u5237\u673a\u5305\u6587\u4ef6\u540d\u5168\u5e26 <code>-cactus<\/code>\uff0c\u9009\u5305\u524d\u5148\u6838\u5bf9\u8fd9\u4e2a\uff09\u3002<\/p>\n<p>\u8fd9\u7bc7\u8bb0\u5f55\u8fd9\u53f0\u771f\u673a\u4e0a\u8dd1\u901a\u7684\u5b8c\u6574\u94fe\u8def\uff1a\u8bc6\u522b\u8bbe\u5907\u3001\u539f\u5382\u6062\u590d\uff0c\u6362 64 \u4f4d Recovery \u5237\u793e\u533a ROM\uff0c\u62ff\u6c38\u4e45 Magisk root\uff0c\u6700\u540e\u628a\u5b83\u8c03\u6210\u80fd\u5e72\u6d3b\u7684\u673a\u5668\u3002<\/p>\n<h2>\u4e00\u3001\u5148\u786e\u8ba4\u56db\u4ef6\u4e8b\uff0c\u5426\u5219\u540e\u9762\u5168\u767d\u505a<\/h2>\n<pre><code>adb devices\nadb shell getprop ro.product.device         # cactus\nadb shell getprop ro.build.display.id\nadb shell getprop ro.product.cpu.abilist\nadb shell getprop ro.product.cpu.abi        # \u5237\u524d armeabi-v7a \u2192 \u5237\u540e arm64-v8a\nadb shell uname -m                          # \u5237\u524d armv7l \u2192 \u5237\u540e aarch64\nadb shell getprop ro.build.type\nadb shell getprop ro.adb.secure<\/code><\/pre>\n<p>\u793e\u533a ROM \u53ef\u80fd\u8986\u76d6 <code>ro.product.device<\/code>\uff0c\u6240\u4ee5\u8981\u8ddf\u673a\u8eab\u4e1d\u5370\u3001\u5305\u88c5\u76d2\u3001<strong>\u5386\u53f2\u539f\u5382\u7248\u672c<\/strong>\u4ea4\u53c9\u5bf9\u7167\uff0c\u4e0d\u80fd\u53ea\u770b\u4e00\u884c\u8f93\u51fa\u3002\u9009\u5305\u65f6\u540c\u65f6\u6838\u5bf9\uff1a\u8bbe\u5907\u4ee3\u53f7\u3001\u9500\u552e\u5730\u533a\u3001\u73b0\u7528 MIUI \u7248\u672c\u3001\u5305\u7684\u7528\u9014\uff08\u5347\u7ea7\u5305 \/ \u7ebf\u5237\u5305 \/ Recovery \u5361\u5237\u5305\uff09\u3002<\/p>\n<p>\u786c\u4ef6\u8d26\uff1a<strong>16 GB eMMC<\/strong> + \u4e00\u5f20 14 G TF \u5361\u683c\u6210 adoptable storage\uff08\u52a0\u5bc6\u7ed1\u5b9a\uff0c\u62d4\u5361\u8bfb\u4e0d\u51fa\u6570\u636e\uff09\uff1b<strong>1.7 G RAM<\/strong>\uff084 \u6838\uff0c\u7a7a\u8f7d MemAvailable \u4ec5\u7ea6 475 MB\uff0czram 990 MB lz4 \u5df2\u7528 587 MB\uff09\uff1b\u5c4f\u5e55 720\u00d71440 @320dpi\uff1bMTK \u4f20\u7edf\u5206\u533a\uff0c<strong>\u6ca1\u6709 super<\/strong>\u3002\u5237\u673a\u5f53\u65f6 eMMC \u5269 10 G\uff0c<code>\/data<\/code> \u5269\u7ea6 6.3 G\u3002<\/p>\n<h3>\u5148\u7ea0\u6b63\u4e00\u4e2a\u4f20\u5f97\u5f88\u5e7f\u7684\u9519\u8bef\u7ed3\u8bba<\/h3>\n<p>\u300c\u7ea2\u7c73 6A \u662f 32 \u4f4d\uff0c\u6240\u4ee5\u88c5\u4e0d\u4e0a\u65b0 QQ\u300d\u2014\u2014<strong>\u4e0d\u6210\u7acb<\/strong>\u3002\u8fd9\u53f0\u673a\u5668\u662f\u5b8c\u6574 64 \u4f4d\u7cfb\u7edf\uff1a<code>zygote64<\/code> \u5728\u8dd1\u3001<code>\/system\/lib64<\/code> \u6709 648 \u4e2a\u5e93\u3001\u5b98\u65b9 Termux \u5c31\u662f arm64\u3002\u800c\u8fd1\u51e0\u5e74\u7684 QQ \u5b89\u5353\u5305<strong>\u53ea\u53d1 arm64-v8a<\/strong>\uff088.9.10 \u548c 8.9.80 \u90fd\u9a8c\u8bc1\u8fc7\uff0c158 \u4e2a so \u5168 arm64\uff09\u3002\u5b83\u786e\u5b9e\u80fd\u88c5\uff0c\u5b9e\u6d4b QQ 8.9.80\uff08<code>versionCode 4614<\/code>\uff0c311 MB\uff0c\u7b7e\u540d\u4e0e\u5b98\u65b9\u4e00\u81f4\uff09\u80fd\u542f\u52a8\u5230\u767b\u5f55\u9875\u3002<\/p>\n<p>\u771f\u6b63\u5361\u4f4f\u7684\u662f<strong>\u5185\u5b58\u53ea\u6709 1.7 G<\/strong>\uff1a\u88c5\u5b8c\u4f1a\u8dd1\u5341\u51e0\u5206\u949f <code>dex2oat<\/code>\uff0c\u671f\u95f4\u65e5\u5386\u3001\u62e8\u53f7\u3001\u8bbe\u7f6e\u3001Magisk\u3001Termux \u5168\u88ab lmk \u6740\u8fc7\u4e00\u5708\u3002<\/p>\n<p>\u6362\u6210 64 \u4f4d\u7cfb\u7edf\u7684\u4e00\u4e2a\u5b9e\u9645\u597d\u5904\uff1a\u90e8\u5206\u5de5\u5177\u94fe\u53ea\u53d1 arm64 \u5305\uff08\u4f8b\u5982\u67d0\u4e9b Linux \u5bb9\u5668\u7c7b App \u5185\u542b aarch64 rootfs\uff09\uff0c\u5728 32 \u4f4d\u7cfb\u7edf\u4e0a\u88c5\u4f1a\u76f4\u63a5\u62a5 <code>INSTALL_FAILED_NO_MATCHING_ABIS<\/code>\uff08<code>res=-113<\/code>\uff09\u3002\u5237\u5165 arm64 vendor + ROM \u540e\uff0c\u8fd9\u7c7b\u5305\u5373\u53ef\u6b63\u5e38\u5b89\u88c5\u3002<\/p>\n<h2>\u4e8c\u3001\u52a8\u624b\u524d\u5148\u5907\u4efd\uff0c\u4e14\u8981\u9a8c\u8bc1\u5907\u4efd\u53ef\u8bfb<\/h2>\n<p>\u7167\u7247\u3001\u804a\u5929\u8bb0\u5f55\u3001\u9a8c\u8bc1\u5668\u3001\u89e3\u9501\u8d26\u6237\u7684\u6062\u590d\u8d44\u6599\uff0c\u5148\u590d\u5236\u5230\u7535\u8111\u6216\u53e6\u4e00\u53f0\u8bbe\u5907\uff0c\u7136\u540e<strong>\u6253\u5f00\u786e\u8ba4\u80fd\u8bfb<\/strong>\u3002\u5378\u8f7d\u5e94\u7528\u4e0d\u7b49\u4e8e\u5907\u4efd\u3002<\/p>\n<p>\u8fd8\u80fd\u8fdb\u7cfb\u7edf\u65f6\uff0c\u4ece\u300c\u8bbe\u7f6e \u2192 \u6211\u7684\u8bbe\u5907 \u2192 MIUI \u7248\u672c\u300d\u67e5\u9002\u7528\u4e8e\u5f53\u524d\u6784\u5efa\u7684\u66f4\u65b0\u5305\uff1b\u8981\u6062\u590d\u5c31\u8d70\u5b98\u65b9\u7ebf\u5237\uff0c\u5148\u786e\u8ba4\u5b98\u65b9\u5de5\u5177\u3001\u89e3\u9501\u8d44\u683c\u4e0e\u72b6\u6001\uff0c\u5e76\u62ff\u5230<strong>\u9002\u7528\u4e8e cactus \u4e14\u5730\u533a\u5339\u914d<\/strong>\u7684 Fastboot \u5305\u3002\u89e3\u5305\u540e\u6309\u5de5\u5177\u8bf4\u660e\u9009\u5305\u542b\u955c\u50cf\u548c\u5237\u5199\u811a\u672c\u7684\u76ee\u5f55\uff0c\u8fdb Fastboot \u7528 <code>fastboot devices<\/code> \u786e\u8ba4\u8bc6\u522b\uff0c\u518d\u6838\u5bf9\u754c\u9762\u4e0a\u7684\u8bbe\u5907\u4e0e\u76ee\u5f55\u3002<\/p>\n<p>\u26a0\ufe0f \u9009\u9879\u91cc\u51e1\u6d89\u53ca\u300c\u6e05\u9664\u6570\u636e\u300d\u6216\u300c\u91cd\u65b0\u9501\u5b9a\u300d\u7684\uff0c\u5728\u5237\u4fee\u6539\u8fc7\u7684\u7cfb\u7edf\u3001\u6df7\u7528\u5730\u533a\u56fa\u4ef6\u3001\u6216\u4e0d\u786e\u5b9a\u8bbe\u5907\u72b6\u6001\u65f6\u90fd<strong>\u522b\u52fe<\/strong>\u3002\u91cd\u65b0\u9501\u5b9a\u914d\u5408\u975e\u539f\u5382\u955c\u50cf\u4f1a\u76f4\u63a5\u53d8\u7816\uff0c\u6551\u56de\u6765\u8981\u62c6\u673a\u3002<\/p>\n<h2>\u4e09\u3001\u5237\u793e\u533a ROM \u7684\u771f\u5b9e\u94fe\u8def<\/h2>\n<p>\u987a\u5e8f\u662f\u56fa\u5b9a\u7684\uff0c<strong>vendor \u5fc5\u987b\u5148\u4e8e ROM<\/strong>\uff1a<\/p>\n<pre><code>TWRP 3.6.1_9-0\uff0864 \u4f4d recovery\uff0c\u5185\u6838 4.9.190 dinolek \u6784\u5efa\uff09\n  \u2192 ALPS-Vendor-0.6-ARM64-cactus.zip\n  \u2192 CipherOS-3.0-GRAVITY-cipher_cactus-*.zip<\/code><\/pre>\n<p>\u5305\u6e90\uff1aGitHub \u7684 <code>Redmi-6A\/releases<\/code>\uff0c\u56fd\u5185\u4e0b\u8f7d\u8d70 SourceForge \u7684 <code>ombobcertus<\/code> \u955c\u50cf\uff08\u660e\u663e\u66f4\u5feb\uff09\u3002\u5237\u5b8c\u7684\u7cfb\u7edf\u72b6\u6001\u5b9e\u6d4b\uff1aCipherOS 3.0 GRAVITY\uff0cAndroid <strong>12.1<\/strong>\uff0carm64\uff0c<strong>userdebug \u6784\u5efa<\/strong>\uff0cSELinux permissive\u3002<\/p>\n<p>\u4e09\u4e2a\u9a8c\u6536\u4e09\u4ef6\u5957\uff08\u5237\u5b8c\u7acb\u523b\u5bf9\uff09\uff1a<\/p>\n<pre><code>uname -m                          # aarch64\ngetprop ro.product.cpu.abi         # arm64-v8a\nadb shell su -c id                # uid=0, context=u:r:magisk:s0<\/code><\/pre>\n<h3>\u5751 1\uff1a32 \u4f4d Recovery \u5237 arm64 \u5305\uff0c\u62a5\u9519 255<\/h3>\n<p>\u7b2c\u4e00\u6b21\u7528 TWRP 3.5.0\uff0832 \u4f4d\uff09\u5237 CipherOS\uff0c\u5361\u5237\u76f4\u63a5\u8fd4\u56de <strong>255<\/strong>\u3002\u539f\u56e0\u4e0d\u662f\u5305\u574f\u4e86\uff0c\u800c\u662f CipherOS \u7684 <code>update-binary<\/code> \u672c\u8eab\u662f arm64 \u53ef\u6267\u884c\u6587\u4ef6\uff0c32 \u4f4d recovery \u6839\u672c\u6267\u884c\u4e0d\u4e86\u5b83\u3002\u6362 TWRP 3.6.1\uff0864 \u4f4d\uff09\u4e00\u6b21\u901a\u8fc7\u3002<\/p>\n<p>\u901a\u7528\u6559\u8bad\uff1a<strong>Recovery \u7684\u4f4d\u6570\u8981\u5355\u72ec\u53bb\u7ef4\u62a4\u8005\u53d1\u5e03\u9875\u786e\u8ba4<\/strong>\uff0c\u4e0d\u80fd\u62ff <code>ro.product.cpu.abilist<\/code> \u63a8\u3002Helio A22 \u652f\u6301 64 \u4f4d\u6307\u4ee4\uff0c\u4f46\u5f53\u524d\u7cfb\u7edf\u53ef\u80fd\u53ea\u63d0\u4f9b 32 \u4f4d\u7528\u6237\u7a7a\u95f4\u2014\u2014\u300c64 \u4f4d\u5b89\u88c5\u5305 + 32 \u4f4d Recovery\u300d\u8fd9\u79cd\u7ec4\u5408\u4f1a\u76f4\u63a5\u5931\u8d25\u3002<\/p>\n<h3>\u5751 2\uff1aFBE \u52a0\u5bc6\u5bfc\u81f4 \/data \u6302\u8f7d\u5931\u8d25<\/h3>\n<p>\u539f LOS \u7684 <code>\/data<\/code> \u7528\u4e86 <strong>FBE \u52a0\u5bc6<\/strong>\uff0cTWRP \u89e3\u4e0d\u5f00\uff0c\u62a5 <strong><code>Invalid argument<\/code><\/strong>\uff0c\u6587\u4ef6\u6d4f\u89c8\u5668\u91cc\u770b\u4e0d\u5230\u5237\u673a\u5305\u3002\u4e09\u6761\u7ed5\u8fc7\u8def\u5f84\uff1a\u505a Format Data\uff08\u4f1a\u6e05\u7a7a\u7528\u6237\u6570\u636e\uff09\u3001\u8d70 OTG U \u76d8\u76f4\u5237\uff08\u6700\u7a33\uff0c\u4e0d\u4f9d\u8d56 data \u6302\u8f7d\uff09\u3001\u6216 <code>adb sideload<\/code> \/ MTP\u3002<\/p>\n<p>\u26a0\ufe0f \u53e6\u6709\u4e00\u6761<strong>\u5b8c\u5168\u65e0\u5bb3<\/strong>\u7684\u62a5\u9519\u8981\u4f1a\u533a\u5206\uff1a\u5237\u673a\u5168\u7a0b\u53cd\u590d\u51fa\u73b0\u7684 <code>failed to mount \/data<\/code> \u53ef\u4ee5\u5ffd\u7565\uff0c\u4e0d\u8981\u8ddf\u4e0a\u9762\u90a3\u6761\u6df7\u4e3a\u4e00\u8c08\u3002<\/p>\n<h3>\u5751 3\uff1a\u8001 adb \u4f20\u5927\u6587\u4ef6\u4f1a\u5361\u6b7b<\/h3>\n<p>adb <strong>1.0.32<\/strong> \u7684 <code>sideload<\/code> \/ <code>push<\/code> \u4f20\u5927\u6587\u4ef6\u4f1a\u6302\u4f4f\u3002\u5f80\u8bbe\u5907\u91cc\u585e\u6587\u4ef6\uff0c\u6700\u7a33\u7684\u662f TWRP \u7684 <strong>MTP \u6a21\u5f0f<\/strong>\u2014\u2014\u5728\u7535\u8111\u4e0a\u5c31\u662f\u4e2a\u666e\u901a\u76d8\u3002<\/p>\n<p>\u5b58\u50a8\u8fd8\u6709\u4e00\u4e2a\u5bb9\u6613\u5ffd\u7565\u7684\u70b9\uff1aTF \u5361\u662f <strong>adoptable storage\uff0c\u52a0\u5bc6\u7ed1\u5b9a\u5230\u5f53\u524d\u8bbe\u5907<\/strong>\uff0c\u62d4\u5361\u8bfb\u4e0d\u51fa\u6570\u636e\uff0c\u4e5f\u4e0d\u80fd\u62ff\u5b83\u5f53\u300c\u53ef\u79fb\u52a8\u5907\u4efd\u300d\u3002\u53e6\u5916 MTK \u8fd9\u4ee3\u662f\u4f20\u7edf\u5206\u533a\u3001<strong>\u6ca1\u6709 super<\/strong>\uff0c\u52a8\u6001\u5206\u533a\u90a3\u5957\u5de5\u5177\u5728\u8fd9\u91cc\u90fd\u7528\u4e0d\u4e86\u3002<\/p>\n<h2>\u56db\u3001Magisk root\uff1a\u4e3a\u4ec0\u4e48\u5728\u7cfb\u7edf\u91cc\u70b9\u300c\u4fee\u590d\u300d\u4e00\u5b9a\u5931\u8d25<\/h2>\n<p>\u672c\u6587\u8fd9\u53f0\u673a\u5668\u7684 root \u5f62\u6001\uff1aMagisk <strong>v30.7<\/strong>\uff0c<code>su<\/code> \u5728 <code>\/vendor\/bin<\/code>\uff0ccontext <code>u:r:magisk:s0<\/code>\uff0cbootloader \u5df2\u89e3\u9501\uff08\u8fd9\u4e0e\u5c0f\u7c73 15 \u90a3\u6761\u300cBL \u9501\u7740 + \u4e34\u65f6 root\u300d\u8def\u7ebf\u6709\u672c\u8d28\u533a\u522b\uff09\uff1bRecovery \u662f TWRP 3.6.1_9-0\uff1bboot \u6765\u81ea <code>magisk_patched-30600_P84bA.img<\/code>\uff08SourceForge ombobcertus\uff0c\u57fa\u4e8e CipherOS \u539f\u59cb boot \u4fee\u8865\uff0c\u542b magiskinit\uff09\u3002<\/p>\n<p>\u26a0\ufe0f <strong>MTK \u673a\u578b\u7684 boot \u5206\u533a\u5728\u7cfb\u7edf\u8fd0\u884c\u65f6\u662f\u53ea\u8bfb\u7684<\/strong>\uff0c\u6240\u4ee5\u7cfb\u7edf\u5185 App \u7684\u300c\u4fee\u590d Magisk\u300d\u5fc5\u5b9a\u5931\u8d25\u2014\u2014\u5b83\u60f3\u76f4\u63a5\u5199 boot\uff0c\u5185\u6838\u4e0d\u8ba9\u3002\u6b63\u89e3\u662f\u5728 TWRP \u91cc\u5237\u5165 <strong>\u6539\u540d\u6210 zip \u7684 apk<\/strong>\u3002\u5f80\u8bbe\u5907\u91cc\u62f7\u8fd9\u4e2a\u6587\u4ef6\uff0c\u7528 TWRP \u7684 MTP \u6a21\u5f0f\u62d6\u8fdb\u53bb\u6700\u7701\u4e8b\u3002<\/p>\n<p>\u26a0\ufe0f <strong>Magisk \u7684 su \u4f20\u4e2d\u6587\u53c2\u6570\u5fc5\u5d29<\/strong>\uff08Rust \u4fa7 utf-8 \u68c0\u67e5\u76f4\u63a5 panic\uff09\u3002\u6240\u4ee5 <code>adb shell su -c \"...\"<\/code> \u91cc\u7684\u547d\u4ee4\u5fc5\u987b<strong>\u7eaf ASCII<\/strong>\uff0c\u4efb\u4f55\u4e2d\u6587\u8def\u5f84\u3001\u4e2d\u6587\u6587\u4ef6\u540d\u90fd\u4f1a\u8ba9 su \u5f53\u573a\u6302\u6389\u3002\u8fd9\u4e2a\u5751\u5728\u81ea\u52a8\u5316\u811a\u672c\u91cc\u7279\u522b\u9690\u853d\u2014\u2014\u770b\u8d77\u6765\u50cf\u968f\u673a\u5931\u8d25\u3002<\/p>\n<p>\u26a0\ufe0f <strong>\u7cfb\u7edf\u7ea7\u8c03\u4f18\u91cd\u542f\u5373\u5931\u6548<\/strong>\u3002<code>swappiness=100<\/code> \u8fd9\u7c7b <code>sysctl<\/code> \u6539\u7684\u503c\u4e0d\u4f1a\u6301\u4e45\u5316\uff0c\u8981\u5728 Magisk \u7684\u5f00\u673a\u811a\u672c\u91cc\u91cd\u65b0\u5e94\u7528\u3002<\/p>\n<p>\u6551\u7816\u5907\u4efd\u8981\u7559\u9f50\u4e09\u4ef6\uff1aCipherOS \/ ALPS \u4e24\u4e2a zip\u3001\u539f\u59cb <code>cipheros_boot.img<\/code>\u3001\u4fee\u8865\u8fc7\u7684 <code>magisk_patched-30600_P84bA.img<\/code>\u3002<\/p>\n<h2>\u4e94\u3001\u628a\u5b83\u8c03\u6210\u80fd\u5e72\u6d3b\u7684\u673a\u5668<\/h2>\n<p>1.7 G \u5185\u5b58\u7684\u673a\u5668\u8981\u8dd1\u4f4f\u4e00\u4e2a\u524d\u53f0\u5e94\u7528\uff0c\u5f97\u540c\u65f6\u89e3\u51b3\u300c\u522b\u7184\u5c4f\u300d\u300c\u522b\u88ab\u6740\u300d\u300c\u522b\u88ab lmk \u56de\u6536\u300d\u3002<\/p>\n<h3>\u9632\u6740\u7ec4\u5408<\/h3>\n<pre><code>adb shell settings put system screen_off_timeout 2147483647   # \u6c38\u4e0d\u7184\u5c4f\nadb shell settings put global stay_on_while_plugged_in 7\nadb shell svc power stayon true\nadb shell dumpsys deviceidle whitelist +com.ai.assistance.operit<\/code><\/pre>\n<p>\u5f00\u673a\u81ea\u542f\u9760 Magisk \u7684 service.d\uff1a<\/p>\n<pre><code>\/data\/adb\/service.d\/operit_boot.sh\n  # \u5185\u5bb9\uff1asleep 30 \u2192 am start \u62c9 Operit \u5230\u524d\u53f0<\/code><\/pre>\n<p>\u4e4b\u6240\u4ee5\u8981 <code>sleep 30<\/code>\uff0c\u662f\u56e0\u4e3a\u5f00\u673a\u9636\u6bb5\u7cfb\u7edf\u8fd8\u5728\u8dd1 dex2oat \u548c\u5404\u79cd\u521d\u59cb\u5316\uff0c\u592a\u65e9\u62c9\u4f1a\u7acb\u523b\u88ab\u56de\u6536\u3002<\/p>\n<h3>\u6027\u80fd\u8c03\u4f18\u7684\u5b9e\u6d4b\u8d26<\/h3>\n<p>\u52a8\u753b\u7f29\u653e 0.5x + \u540e\u53f0\u8fdb\u7a0b\u9650\u5236 <strong>4<\/strong> + \u505c\u7528 14 \u4e2a\u65e0\u7528\u7cfb\u7edf\u7ec4\u4ef6\uff08<code>egg<\/code> \/ <code>traceur<\/code> \/ <code>print<\/code> \/ <code>dreams<\/code> \/ <code>cts<\/code> \u7b49\uff09\uff0c<strong>\u53ef\u7528\u5185\u5b58\u4ece 26 MB \u6da8\u5230 118 MB<\/strong>\u3002\u6570\u5b57\u4e0d\u5927\uff0c\u4f46\u5728\u8fd9\u53f0\u673a\u5668\u4e0a\u5c31\u662f\u300c\u80fd\u6d3b\u300d\u548c\u300c\u88ab\u8e22\u300d\u7684\u533a\u522b\u3002<\/p>\n<p>\u26a0\ufe0f \u4e24\u4e2a\u522b\u8bef\u5224\u7684\u4fe1\u53f7\uff1a<\/p>\n<ul>\n<li><strong>MTK \u5e73\u53f0 loadavg \u865a\u9ad8\u662f\u5e38\u6001<\/strong>\u3002\u9a71\u52a8\u7ebf\u7a0b\u957f\u671f\u505c\u5728 D \u72b6\u6001\uff0cload \u6570\u5b57\u5e38\u5e74\u300c\u6ee1\u8f7d\u300d\uff0c\u62ff\u5b83\u5224\u65ad\u8d1f\u8f7d\u4f1a\u5f97\u51fa\u5b8c\u5168\u9519\u8bef\u7684\u7ed3\u8bba\uff1b<\/li>\n<li><strong><code>mtktscpu<\/code> \u6ee1\u8f7d 47 \u00b0C \u5c5e\u6b63\u5e38<\/strong>\uff0c\u4e0d\u662f\u6563\u70ed\u6709\u95ee\u9898\u3002<\/li>\n<\/ul>\n<p>\u26a0\ufe0f \u4f9b\u7535\u4e5f\u8981\u5bf9\u4e0a\uff1a\u5b9e\u6d4b <code>current_max=500mA<\/code>\uff08\u5145\u7535\u5668\u672a\u63e1\u624b\uff0c\u7ea6 2.5 W\uff09\uff0c<strong>\u8fb9\u5145\u8fb9\u8dd1\u76f8\u673a\u5fc5\u6389\u7535<\/strong>\uff0c\u8981 5V\/2A\u3002<\/p>\n<h3>\u8dd1\u672c\u5730\u5de5\u5177\u7684\u4e24\u4e2a\u5b9e\u4f8b<\/h3>\n<p><strong>Operit<\/strong>\uff08\u5305\u540d <code>com.ai.assistance.operit<\/code>\uff09\uff1a\u5728\u8fd9\u53f0 2 GB \u673a\u578b\u4e0a\u53ea\u8dd1 API \u4e0d\u8dd1\u672c\u5730\u6a21\u578b\uff0c\u9884\u671f\u53ef\u7528\u3002\u26a0\ufe0f \u9996\u6b21\u89e3\u538b rootfs \u5b9e\u6d4b\u5230 <strong>75% \u5c31\u4e2d\u65ad<\/strong>\u2014\u2014\u5185\u5b58 26 MB \u592a\u7d27\uff0c\u52a0\u4e0a\u4e2d\u9014\u70b9\u7ec8\u7aef\u89e6\u53d1\u4e86 proot\uff0c\u62a5 <code>\/usr\/bin\/env not found<\/code>\u3002\u7528 <code>am force-stop<\/code> \u91cd\u5f00\u540e Operit \u81ea\u52a8\u6574\u5408\uff0crootfs \u5b8c\u6574\uff08<strong>308 M<\/strong>\uff09\u3002\u6559\u8bad\uff1a2 GB \u5185\u5b58\u8bbe\u5907\u9996\u6b21\u89e3\u538b<strong>\u5fc5\u987b\u4fdd\u8bc1\u5185\u5b58\u5bbd\u88d5\uff0c\u522b\u4e2d\u9014\u70b9\u7ec8\u7aef<\/strong>\u3002\u5b83\u7684 API key \u5b58\u5728 SQLite \u7684 <code>app_database<\/code> \u91cc\uff08\u53ea\u8bb0\u4f4d\u7f6e\uff0c\u4e0d\u5199\u660e\u6587\uff09\u3002<\/p>\n<p><strong>\u4e2d\u6587\u8f93\u5165<\/strong>\uff1aFcitx5 Android 0.1.3\uff08arm64\uff09\uff0cIME id <code>org.fcitx.fcitx5.android\/.input.FcitxInputMethodService<\/code>\u3002<\/p>\n<p>CipherOS 3.0 \u662f\u7eaf AOSP\uff0c<strong>\u6ca1\u6709\u9ad8\u7ea7\u91cd\u542f\u83dc\u5355<\/strong>\uff0c\u8981\u8fdb recovery \u5f97\u81ea\u5df1\u88c5\u4e2a root \u91cd\u542f\u5de5\u5177\u6216\u6309\u7ec4\u5408\u952e\u3002<\/p>\n<h3>\u987a\u624b\u8bb0\u7684\u4e24\u4e2a\u5b9e\u6d4b\u7ed3\u8bba<\/h3>\n<p><strong>App \u8eab\u4efd\u5dee\u5f02<\/strong>\uff1a\u7ea2\u7c73 6A \u7248 RootBridge \u7684 App \u8fdb\u7a0b\u662f <code>untrusted_app<\/code>\uff0c\u76f4\u63a5 <code>FileInputStream(\"\/system\/build.prop\")<\/code> \u4f1a EACCES \u21d2 \u5fc5\u987b\u8d70 <code>su -c cat \u6587\u4ef6<\/code> \u53d6 stdout\u3001<code>su -c 'cat &gt; \u6587\u4ef6'<\/code> \u63a5 stdin\u3002\u8fd9\u4e5f\u662f\u5b83\u80fd\u5199 <code>\/data\/adb<\/code> \u7684\u539f\u56e0\u3002\u8fd9\u8ddf\u5c0f\u7c73 15\uff08Shizuku = shell uid 2000\uff0c\u80fd\u76f4\u63a5\u8bfb\u4f46\u8bfb\u4e0d\u4e86\u522b\u5bb6\u79c1\u6709\u76ee\u5f55\uff09\u662f\u8bbe\u8ba1\u4f7f\u7136\uff0c\u4e0d\u662f bug\u3002<\/p>\n<p><strong>\u6587\u4ef6\u4f20\u8f93\u4e0a\u9650<\/strong>\uff1a5 MB \u4e0a\u4f20 2.9 s\uff1b50 MB \u4e0a\u4f20 26.5 s\uff08\u7ea6 1.6 MB\/s\uff09\uff1b\u88f8 HTTP \u76f4\u8fde\u4e5f\u53ea\u6709 1.6 MB\/s \u21d2 \u8fd9\u662f 2018 MTK \u673a\u578b\u7684 <strong>WiFi \u786c\u4ef6\u4e0a\u9650<\/strong>\uff0c\u522b\u518d\u4f18\u5316\u4ee3\u7801\u4e86\u3002<\/p>\n<h2>\u516d\u3001\u8fd9\u53f0\u673a\u5668\u7684\u989d\u5916\u4ef7\u503c\uff1aUSB HID<\/h2>\n<p>\u56e0\u4e3a\u5b83\u662f <strong>Magisk \u6c38\u4e45 root + SELinux permissive<\/strong>\uff0c\u53ef\u4ee5\u505a\u5c0f\u7c73 15 \u505a\u4e0d\u5230\u7684\u4e8b\uff1a\u628a\u624b\u673a\u5f53 USB HID \u952e\u76d8\u63d2\u8fdb\u7535\u8111\u64cd\u4f5c BIOS\u3002App \u8bbf\u95ee <code>\/dev\/hidg0<\/code> \u4e0d\u88ab SELinux \u62e6\uff08\u5c0f\u7c73 15 \u5361\u4f4f\u7684\u6b63\u662f root\u2014\u2014<code>\/config\/usb_gadget<\/code> \u662f <code>drwxr-xr-x root root<\/code>\uff0cshell \u8fdb\u4e0d\u53bb\uff0c<code>setprop sys.usb.config adb,hid<\/code> \u5b9e\u6d4b <code>rc=1<\/code> \u5931\u8d25\uff09\u3002<\/p>\n<p>\u9a8c\u8bc1\u811a\u672c\u76f4\u63a5\u5199 <code>\/config\/usb_gadget\/g1<\/code> + <code>\/dev\/hidg0<\/code>\uff0c\u4e0d\u9700\u8981\u7f16\u8bd1\u3002\u53d1 F2 \u952e\u5c31\u662f\u8fd9\u4e00\u4e32\uff1a<\/p>\n<pre><code>printf '\\x00\\x00\\x3b\\x00\\x00\\x00\\x00\\x00'<\/code><\/pre>\n<p>\u26a0\ufe0f \u4f46<strong>\u672a\u5b9e\u6d4b\u901a\u8fc7<\/strong>\uff1a\u5185\u6838\u662f MTK 4.9\uff0c\u800c <code>f_hid<\/code> \u7684 boot protocol\uff08GET\/SET_PROTOCOL\uff09\u662f Linux <strong>4.13<\/strong> \u624d\u8fdb\u4e3b\u7ebf \u21d2 \u53ef\u80fd\u4e0d\u652f\u6301\uff0c\u8001 BIOS \u4ecd\u4e0d\u8ba4\u3002\u8fd9\u6761\u522b\u5f53\u7ed3\u8bba\u7528\u3002<\/p>\n<h2>\u4e03\u3001\u672c\u6587\u7684\u524d\u63d0\u4e0e\u8fb9\u754c<\/h2>\n<ul>\n<li>\u5168\u6d41\u7a0b\u5efa\u7acb\u5728\u300cbootloader \u5df2\u89e3\u9501\u300d\u4e4b\u4e0a\u3002BL \u9501\u7740\u7684\u673a\u5668\uff08\u5982\u5c0f\u7c73 15\uff09\u8d70\u4e0d\u4e86\u8fd9\u6761\u8def\uff0c\u53ea\u80fd\u9760\u5185\u6838 LPE \u62ff\u4e34\u65f6 root\u3002<\/li>\n<li>Format Data \u4f1a\u6e05\u7a7a\u7528\u6237\u6570\u636e\uff0c\u4e14 adoptable storage \u7684 TF \u5361\u4e00\u65e6\u91cd\u505a\u4f1a\u88ab\u91cd\u65b0\u7ed1\u5b9a\u2014\u2014\u4e24\u6761\u90fd\u8981\u63d0\u524d\u53d6\u820d\u3002<\/li>\n<li><strong>\u5f00 5555 \u7aef\u53e3\u4e4b\u524d\u5fc5\u987b\u5148\u81ea\u5df1\u67e5 <code>getprop ro.adb.secure<\/code>\u3002<\/strong>\u6309 AOSP \u7684\u903b\u8f91\uff0c<code>ro.adb.secure=1<\/code> \u53ea\u5728 user \u53d8\u4f53\u91cc\u8bbe\u7f6e\uff0cuserdebug \u4e0d\u8bbe\uff0c\u6240\u4ee5\u8fd9\u7c7b ROM \u4e0a\u5b83<strong>\u53ef\u80fd\u662f 0<\/strong>\u2014\u2014\u4f46\u8fd9\u662f\u63a8\u65ad\uff0c\u4e0d\u662f\u672c\u6587\u7684\u5b9e\u6d4b\u7ed3\u8bba\u3002\u503c\u82e5\u4e3a 0\uff0cadbd \u4e0d\u505a\u4e3b\u673a\u8ba4\u8bc1\uff0c\u5c40\u57df\u7f51\u5185\u4efb\u4f55\u4eba\u90fd\u80fd\u76f4\u63a5\u62ff\u5230\u6743\u9650 shell\u3002<\/li>\n<li>\u4e0d\u540c\u5730\u533a\u7684 cactus \u56fa\u4ef6\u53ef\u80fd\u5b58\u5728\u57fa\u5e26\u5dee\u5f02\uff0c\u8de8\u533a\u5237\u5199\u80fd\u5426\u6b63\u5e38\u901a\u8bdd<strong>\u672a\u9010\u533a\u9a8c\u8bc1<\/strong>\u3002<\/li>\n<li>\u4e0a\u8ff0\u53ef\u7528\u5185\u5b58\u3001\u6e29\u5ea6\u3001\u4f20\u8f93\u901f\u7387\u90fd\u662f\u8fd9\u53f0\u673a\u3001\u8fd9\u7248 ROM \u7684\u5b9e\u6d4b\u503c\uff0c\u6362 ROM \u4f1a\u53d8\u3002<\/li>\n<li>USB HID \u5f53 BIOS \u952e\u76d8\u7684\u53ef\u884c\u6027\u53d6\u51b3\u4e8e\u5185\u6838\u662f\u5426\u652f\u6301 <code>f_hid<\/code> \u7684 boot protocol\uff08\u8be5\u652f\u6301\u5728 Linux 4.13 \u624d\u8fdb\u4e3b\u7ebf\uff09\u3002\u672c\u6587\u6d4b\u8bd5\u7684 CipherOS 3.0 \u5185\u6838\u4e3a 4.9\uff0c<strong>\u7528\u524d\u9700\u81ea\u884c\u5b9e\u6d4b<\/strong>\u80fd\u5426\u88ab\u76ee\u6807 BIOS \u8bc6\u522b\u3002CipherOS \u662f\u7eaf AOSP\uff0c\u6ca1\u6709\u9ad8\u7ea7\u91cd\u542f\u83dc\u5355\uff0c\u9700\u8981\u81ea\u5907\u91cd\u542f\u5de5\u5177\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u4ece\u8bc6\u522b cactus \u548c\u56fa\u4ef6\u5730\u533a\u5f00\u59cb\uff0c\u533a\u5206\u7cfb\u7edf\u5185\u5347\u7ea7\u3001\u539f\u5382\u7ebf\u5237\u548c\u793e\u533a ROM\uff0c\u6838\u5bf9 Recovery \u4f4d\u6570\u4e0e\u6570\u636e\u5206\u533a\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[34,39],"class_list":["post-90","post","type-post","status-publish","format-standard","hentry","category-android-flashing","tag-android","tag-redmi-6a"],"_links":{"self":[{"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=\/wp\/v2\/posts\/90","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=90"}],"version-history":[{"count":7,"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=\/wp\/v2\/posts\/90\/revisions"}],"predecessor-version":[{"id":162,"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=\/wp\/v2\/posts\/90\/revisions\/162"}],"wp:attachment":[{"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=90"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=90"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.xybcm.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=90"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}