{"id":3321,"date":"2026-10-30T21:56:15","date_gmt":"2026-10-30T13:56:15","guid":{"rendered":"https:\/\/cocozq.com\/?p=3321"},"modified":"2026-10-30T21:56:15","modified_gmt":"2026-10-30T13:56:15","slug":"%e9%bb%91%e8%8e%93blackberry-10%e7%b3%bb%e7%bb%9fq10-q20-q30%e6%89%8b%e6%9c%ba%e6%9b%b4%e6%96%b0%e5%88%b0v4","status":"publish","type":"post","link":"https:\/\/cocozq.com\/?p=3321","title":{"rendered":"\u9ed1\u8393BlackBerry 10\u7cfb\u7edfQ10\/Q20\/Q30\u624b\u673a\u66f4\u65b0\u5230v4"},"content":{"rendered":"<p>\u4e0a\u6b21\u6211\u53d1\u4e86\u8fd9\u7bc7\u6587\u7ae0\uff0c\u5df2\u7ecf\u6709\u5f88\u591a\u673a\u53cb\u64cd\u4f5c\u6210\u529f\u4e86\uff0c\u8fd9\u6b21\u4f5c\u8005\u53c8\u8fdb\u884c\u4e86\u4e00\u6b21\u66f4\u65b0\uff0c\u4f46\u662f\u597d\u50cf\u5fd8\u8bb0\u628a\u5347\u7ea7\u811a\u672c<code>v2tov4.sh<\/code>\u548c<code>v3tov4.sh<\/code>\u653e\u51fa\u6765\uff0c\u6211\u6ca1\u627e\u5230\uff0c<code>autoroot_v4.zip<\/code>\u6211\u5df2\u7ecf\u653e\u5230\u4e4b\u524d\u7684\u4e0b\u8f7d\u94fe\u63a5\u91cc\u9762\u4e86\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/cocozq.com\/zq\/wp-content\/uploads\/2026\/10\/IMG_20260915_154704.jpg\" alt=\"IMG_20260915_154704\" \/><\/p>\n<h2>\u4e0b\u9762\u662f\u5b98\u65b9\u539f\u6587\u7ffb\u8bd1<\/h2>\n<blockquote><p>\n  \u539f\u6587\u5730\u5740\uff1a<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/bb10.root.sx\/blog\/autoroot-v4\">https:\/\/bb10.root.sx\/blog\/autoroot-v4<\/a><br \/>\n  \u53d1\u5e03\u65e5\u671f\uff1a2026-10-22\n<\/p><\/blockquote>\n<h1>\u53d1\u5e03\u8bf4\u660e\u4e0e\u6280\u672f\u6587\u6863<\/h1>\n<h2>\ud83d\ude80 \u4e3b\u8981\u53d8\u66f4\u4e0e\u6539\u8fdb<\/h2>\n<ul>\n<li><strong>\u5168\u65b0\u7684\u7cfb\u7edf\u96c6\u6210\u65b9\u5f0f\uff1a<\/strong> \u5229\u7528 BlackBerry 10 \u7684<em>\u52a8\u6001\u5e93\u52ab\u6301\uff08Dynamic Library Hijacking\uff09<\/em>\u6f0f\u6d1e\uff08<a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/bb10.root.sx\/blog\/dynamic-library-hijacking-vulnerability-in-bb10\">\u6280\u672f\u6587\u7ae0<\/a>\uff09\u3002\n<ul>\n<li><strong>\u4f18\u70b9\uff1a<\/strong> \u4fdd\u8bc1\u8de8\u91cd\u542f\u7684\u6301\u4e45\u5316\u2014\u2014\u5728\u83b7\u5f97 Root \u6743\u9650\u4e4b\u524d\u91cd\u542f\u8bbe\u5907\uff0c\u4e5f\u4e0d\u4f1a\u4e2d\u65ad\u6d41\u7a0b\u3002<\/li>\n<li><strong>\u91cd\u8981\u63d0\u793a\uff1a<\/strong> \u96c6\u6210\u673a\u5236\u901a\u8fc7 <code>AppWorld<\/code> \u751f\u6548\u3002<strong>\u4e0d\u8981<\/strong>\u5c06 <code>sys.appworld<\/code> \u52a0\u5165 <code>removeapp<\/code> \u547d\u4ee4\uff0c\u5426\u5219\u8be5\u673a\u5236\u4f1a\u5931\u6548\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u7a33\u5b9a\u6027\u4e0e\u4ee3\u7801\u4f18\u5316\uff1a<\/strong>\n<ul>\n<li>\u5f7b\u5e95\u653e\u5f03\u4e86\u4f7f\u7528 <code>switchzone<\/code> \u4f5c\u4e3a\u542f\u52a8 Root \u7279\u6743\u4ee3\u7801\u7684\u89e6\u53d1\u5668\u3002<\/li>\n<li><strong>\u5b8c\u5168\u7528 C \u8bed\u8a00\u91cd\u5199\u4e86 <code>btool<\/code><\/strong>\uff0c\u89e3\u51b3\u4e86\u4e4b\u524d Android Runtime \u5d29\u6e83\u548c\u8bbe\u5907\u610f\u5916\u91cd\u542f\u7684\u95ee\u9898\u3002<\/li>\n<\/ul>\n<\/li>\n<li><strong><code>btool<\/code> \u529f\u80fd\u6269\u5c55\uff1a<\/strong> \u57fa\u4e8e C \u7684 <code>btool<\/code> \u5de5\u5177\u73b0\u5df2\u539f\u751f\u96c6\u6210\uff1a\n<ul>\n<li><code>pathtrust<\/code> \u8865\u4e01\u5668<\/li>\n<li><code>launcher<\/code> \u8865\u4e01\u5668<\/li>\n<li>NVRAM \u5907\u4efd\u5de5\u5177<\/li>\n<\/ul>\n<\/li>\n<li><strong>\u5b89\u5168\u4e0e\u7cfb\u7edf\u8c03\u6574\uff1a<\/strong>\n<ul>\n<li>\u79fb\u9664\u4e86\u5927\u90e8\u5206\u4e0d\u5fc5\u8981\u7684 <code>suid<\/code>\/<code>sgid<\/code> \u8f85\u52a9\u7a0b\u5e8f\uff0c\u4ec5\u4fdd\u7559\u63d0\u6743\u6240\u9700\u7684\u6700\u4f4e\u9650\u5ea6\u3002<\/li>\n<li>\u6536\u5230 Root \u786e\u8ba4\u901a\u77e5\u540e\uff0c\u73b0\u5728\u53ef\u4ee5\u7acb\u5373\u5b89\u88c5\u672a\u7b7e\u540d\u7684 BAR \u5e94\u7528\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<hr \/>\n<h2>\ud83d\udee0 \u7cfb\u7edf\u8865\u4e01\u5b89\u88c5\u5668 <em>\uff08\u6d3b\u8dc3\u5f00\u53d1\u4e2d\uff09<\/em><\/h2>\n<p>\u5f15\u5165\u4e86\u4e00\u4e2a\u7cfb\u7edf\u8865\u4e01\u5b89\u88c5\u5668\uff0c\u53ef\u4ee5\u4fee\u6539\u53ea\u8bfb\u7684\u7cfb\u7edf\u6587\u4ef6\u3001\u4e8c\u8fdb\u5236\u7a0b\u5e8f\u548c\u52a8\u6001\u5e93\u3002<\/p>\n<blockquote><p>\n  <strong>\u91cd\u5927\u6210\u679c\uff08\u5c1a\u672a\u53d1\u5e03\uff09\uff1a<\/strong> \u901a\u8fc7\u5c06\u65e7\u670d\u52a1\u91cd\u5b9a\u5411\u5230\u793e\u533a\u81ea\u5efa\u670d\u52a1\u5668\uff0c\u53d6\u4ee3\u5df2\u505c\u8fd0\u7684 RIM\/BlackBerry \u57fa\u7840\u8bbe\u65bd\uff0c\u6210\u529f\u590d\u6d3b\u4e86 <strong>BBID\u3001Weather\u3001AppWorld\u3001BBM<\/strong> \u7b49\u9057\u7559\u670d\u52a1\u3002<em>\uff08\u7279\u522b\u611f\u8c22 <a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/t.me\/He11kern\">@He11kern<\/a> \u7684\u8d21\u732e\uff09\u3002<\/em>\n<\/p><\/blockquote>\n<hr \/>\n<h2>\u6dfb\u52a0\u6388\u6743 SSH \u516c\u94a5<\/h2>\n<p>\u9ed8\u8ba4\u79c1\u94a5\u4fdd\u5b58\u5728 <a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/bb10.root.sx\/downloads\/id_rsa4x\">id_rsa4x<\/a> \u4e2d\u3002<\/p>\n<p>\u5982\u679c\u5e0c\u671b\u4f7f\u7528\u81ea\u5df1\u7684 SSH \u5bc6\u94a5\uff0c\u8bf7\u5c06\u516c\u94a5\u653e\u7f6e\u5728\uff1a<\/p>\n<pre><code class=\"language-text line-numbers\">patchdata\/var\/etc\/ssh\/authorized_keys2\n<\/code><\/pre>\n<p>\u7136\u540e\u5728 <code>patch.txt<\/code> \u4e2d\u53d6\u6d88\u4ee5\u4e0b\u884c\u7684\u6ce8\u91ca\uff1a<\/p>\n<pre><code class=\"language-sh line-numbers\">push \"patchdata\/var\/etc\/ssh\/authorized_keys2\" \"\/var\/etc\/ssh\/authorized_keys2\"\nchmod 644 \"\/var\/etc\/ssh\/authorized_keys2\"\nchown 0:0 \"\/var\/etc\/ssh\/authorized_keys2\"\n<\/code><\/pre>\n<p>\u8fd9\u6837\u5373\u53ef\u4f7f\u7528\u914d\u7f6e\u7684 SSH \u5bc6\u94a5\u8fdb\u884c\u8eab\u4efd\u8ba4\u8bc1\u3002<\/p>\n<hr \/>\n<h2>\u6301\u4e45\u5316 SSH \u4e3b\u673a\u5bc6\u94a5\uff08Host Keys\uff09<\/h2>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u91cd\u65b0\u5237\u673a\u540e SSH \u4e3b\u673a\u5bc6\u94a5\u53ef\u80fd\u4f1a\u6539\u53d8\uff0c\u5bfc\u81f4\u5ba2\u6237\u7aef\u63d0\u793a\u65b0\u7684\u4e3b\u673a\u6307\u7eb9\u8b66\u544a\u3002<\/p>\n<p>\u4e3a\u4e86\u5728\u8de8\u56fa\u4ef6\u5237\u673a\u540e\u4fdd\u7559\u4e3b\u673a\u5bc6\u94a5\uff0c\u8bf7\u53d6\u6d88\u4ee5\u4e0b\u6ce8\u91ca\uff1a<\/p>\n<pre><code class=\"language-sh line-numbers\">push \"patchdata\/var\/etc\/ssh\/ssh_host_rsa_key\" \"\/var\/etc\/ssh\/ssh_host_rsa_key\"\npush \"patchdata\/var\/etc\/ssh\/ssh_host_rsa_key.pub\" \"\/var\/etc\/ssh\/ssh_host_rsa_key.pub\"\nchmod 600 \"\/var\/etc\/ssh\/ssh_host_rsa_key\"\nchown 0:0 \"\/var\/etc\/ssh\/ssh_host_rsa_key\"\nchmod 644 \"\/var\/etc\/ssh\/ssh_host_rsa_key.pub\"\nchown 0:0 \"\/var\/etc\/ssh\/ssh_host_rsa_key.pub\"\n<\/code><\/pre>\n<p>\u5982\u679c\u4f60\u5e0c\u671b\u4fdd\u7559\u539f\u6709\u7684\u6307\u7eb9\uff0c\u4e5f\u53ef\u4ee5\u5c06\u8fd9\u4e9b\u6587\u4ef6\u66ff\u6362\u4e3a\u4f60\u73b0\u6709\u7684 SSH \u4e3b\u673a\u5bc6\u94a5\u5bf9\u3002<\/p>\n<h2>\ud83d\udce6 \u4e00\u6b65\u5f0f\u81ea\u5b9a\u4e49\u56fa\u4ef6\u6784\u5efa\u5668\uff08<code>bb10mt<\/code>\uff09<\/h2>\n<p>\u4e3a <code>bb10mt<\/code> \u65b0\u589e\u4e86 <code>batch<\/code> \u53c2\u6570\uff0c\u53ef\u4ee5\u5728<strong>\u4e00\u4e2a\u81ea\u52a8\u5316\u6b65\u9aa4\u4e2d\u5b8c\u6210\u56fa\u4ef6\u955c\u50cf\u7684\u4fee\u8865\u548c Root<\/strong>\uff0c\u65e0\u9700\u624b\u52a8\u6267\u884c\u811a\u672c\u3002<\/p>\n<h3>\u7528\u6cd5\u793a\u4f8b<\/h3>\n<p><strong>Windows\uff1a<\/strong><\/p>\n<pre><code class=\"language-cmd line-numbers\">bb10mt.exe batch -i Z30_10.3.03.3216_STA100-1-2-3-4-5-6.exe -s patch.txt -o \\tmp\\z30root\n<\/code><\/pre>\n<p><strong>Linux \/ macOS\uff1a<\/strong><\/p>\n<pre><code class=\"language-bash line-numbers\">.\/bb10mt batch -i Z30_10.3.03.3216_STA100-1-2-3-4-5-6.exe -s patch.txt -o \/tmp\/z30root\n<\/code><\/pre>\n<p>\u8fd0\u884c bb10mt \u4e4b\u540e\uff0c\u5728 <code>-o<\/code> \u53c2\u6570\u6307\u5b9a\u7684\u76ee\u5f55\u4e0b\uff0c\u4f60\u4f1a\u627e\u5230\u82e5\u5e72\u6587\u4ef6\uff0c\u5176\u4e2d\u5305\u542b\u6587\u4ef6\u540d\u4ee5 <code>\\_os.exe<\/code> \u548c <code>\\_radio.exe<\/code> \u7ed3\u5c3e\u7684\u6587\u4ef6\u3002\u5982\u679c\u4f60\u4e0d\u662f\u5f00\u53d1\u8005\uff0c\u53ef\u4ee5\u653e\u5fc3\u5220\u9664\u5176\u4f59\u7684\u6240\u6709\u6587\u4ef6\u2014\u2014\u5b83\u4eec\u53ea\u662f\u4e2d\u95f4\u4ea7\u7269\u3002\u5b89\u88c5\u65f6\u5148\u8fd0\u884c <code>\\_os.exe<\/code>\uff08\u5728\u6d41\u7a0b\u6700\u540e\u4f1a\u663e\u793a\u4e00\u4e2a\u9519\u8bef\u2014\u2014\u8fd9\u662f\u6b63\u5e38\u73b0\u8c61\uff0c\u8bf7\u5ffd\u7565\uff09\uff0c\u7136\u540e\u518d\u8fd0\u884c <code>\\_radio.exe<\/code>\u3002<\/p>\n<h2>\ud83d\udee0\ufe0f \u7528\u6237\u5206\u533a\u8865\u4e01\u914d\u7f6e\uff08<code>patch.txt<\/code>\uff09<\/h2>\n<p>\u901a\u8fc7 <code>bb10mt<\/code> \u7684 <code>-s<\/code> \u53c2\u6570\u4f20\u5165\u7684 <code>patch.txt<\/code> \u6587\u4ef6\uff0c\u5305\u542b\u7528\u4e8e\u5728\u955c\u50cf\u7ec4\u88c5\u6216\u7cfb\u7edf\u5f15\u5bfc\u65f6\u4fee\u6539 <code>user<\/code> \u5206\u533a\u7684\u6807\u5fd7\u548c\u914d\u7f6e\u6307\u4ee4\u3002<\/p>\n<h3>\u53ef\u7528\u6307\u4ee4<\/h3>\n<ul>\n<li><code>touch \/var\/rootdata\/use.root<\/code> \u2014\u2014 \u542f\u7528\u57fa\u7840 Root \u80fd\u529b\u8f85\u52a9\u7a0b\u5e8f\u3002 \u2014\u2014 \u5c06 <code>__root<\/code> \u548c <code>u_root<\/code> \u7684 SUID\/SGID \u4e8c\u8fdb\u5236\u6587\u4ef6\u52a0\u5165 <code>pathtrust<\/code>\uff0c\u5728\u6267\u884c\u65f6\u8d4b\u4e88\u63d0\u5347\u7684\u6743\u9650\u3002<\/li>\n<li><code>touch \/var\/rootdata\/use.sshd<\/code> \u2014\u2014 \u914d\u7f6e\u7cfb\u7edf\u542f\u52a8\u65f6\u4ee5 <code>root<\/code> \u6743\u9650\u81ea\u52a8\u8fd0\u884c <code>sshd<\/code> \u5b88\u62a4\u8fdb\u7a0b\u3002<\/li>\n<li><code>#touch \/var\/rootdata\/use.berrycore<\/code> \u2014\u2014 \u5c06\u6839\u76ee\u5f55\uff08<code>\/<\/code>\uff09\u52a0\u5165 <code>pathtrust<\/code>\uff0c\u5141\u8bb8\u4f9d\u8d56 BerryCore \u7684\u5e94\u7528\u4ee5 <code>root<\/code> \u8eab\u4efd\u6267\u884c\u3002<br \/>\n<blockquote><p>\n  <strong>\u6ce8\u610f\uff1a<\/strong> \u5728\u672a\u6765\u7684\u7248\u672c\u4e2d\uff0c\u8be5\u6307\u4ee4\u5c06\u88ab\u6539\u8fdb\u4e3a\u4ec5\u6dfb\u52a0\u660e\u786e\u7684 BerryCore \u76f8\u5173\u4e8c\u8fdb\u5236\u6587\u4ef6\uff0c\u800c\u4e0d\u662f\u4fe1\u4efb\u6574\u4e2a\u6587\u4ef6\u7cfb\u7edf\u6839\u76ee\u5f55\u3002\n<\/p><\/blockquote>\n<\/li>\n<\/ul>\n<h3><code>patch.txt<\/code> \u6587\u4ef6\u7ed3\u6784\u793a\u4f8b<\/h3>\n<pre><code class=\"language-text line-numbers\"># Enable base root helpers (__root, u_root)\ntouch \/var\/rootdata\/use.root\n\n# Auto-start SSH daemon as root\ntouch \/var\/rootdata\/use.sshd\n\n# BerryCore application execution (disabled by default)\n#touch \/var\/rootdata\/use.berrycore\n<\/code><\/pre>\n<hr \/>\n<h2>\u4e0b\u8f7d<\/h2>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/bb10.root.sx\/blog\/autoroot-v4\/autoroot_v4.zip\">autoroot_v4.zip<\/a><\/p>\n<hr \/>\n<h2>\u514d\u91cd\u5237\u5347\u7ea7\uff08Upgrade Without Reflashing\uff09<\/h2>\n<p><strong>\u652f\u6301\u8005\u4e0e\u8d21\u732e\u8005<\/strong>\u53ef\u4ee5\u7d22\u53d6\u5347\u7ea7\u811a\u672c\uff0c\u65e0\u9700\u91cd\u65b0\u5237\u5165\u5b8c\u6574\u56fa\u4ef6\u5373\u53ef\u5c06\u73b0\u6709\u7684 AutoRoot \u5b89\u88c5\u5347\u7ea7\u81f3 <strong>v4 \u7248\u672c<\/strong>\u3002<\/p>\n<p>\u5347\u7ea7\u65b9\u6cd5\uff1a\u5c06 <code>v2tov4.sh<\/code> \u6216 <code>v3tov4.sh<\/code> \u6587\u4ef6\u62f7\u8d1d\u81f3\u8bbe\u5907\uff0c\u5e76\u6267\u884c\uff1a<\/p>\n<pre><code class=\"language-bash line-numbers\">sh \/path\/to\/file\/v2tov4.sh\n<\/code><\/pre>\n<p>\u6216<\/p>\n<pre><code class=\"language-bash line-numbers\">sh \/path\/to\/file\/v3tov4.sh\n<\/code><\/pre>\n<p>\u5728\u5347\u7ea7\u8fc7\u7a0b\u4e2d\uff0c\u53ef\u80fd\u4f1a\u8be2\u95ee\u662f\u5426\u9700\u8981 Root \u6743\u9650\u4ee5\u53ca\u662f\u5426\u9700\u8981 <code>sshd<\/code>\u3002\u811a\u672c\u6267\u884c\u6210\u529f\u540e\uff0c\u91cd\u542f\u8bbe\u5907\u5373\u53ef\u5e94\u7528\u66f4\u6539\u3002<\/p>\n<p><strong>SSH\/Root \u7528\u6237\u91cd\u8981\u63d0\u793a\uff1a<\/strong> \u5982\u679c\u4f60\u662f\u901a\u8fc7 Root \u6743\u9650\u7684 SSH \u8fde\u63a5\u5230\u8bbe\u5907\u7684\uff0c<strong>\u8bf7\u52ff\u76f4\u63a5\u4ee5 root \u7528\u6237\u8fd0\u884c\u8be5\u811a\u672c<\/strong>\u3002\u8bf7\u901a\u8fc7 <code>__devuser<\/code> shell \u5305\u88c5\u5668\u8fd0\u884c\uff0c\u6216\u5c06\u811a\u672c\u52a0\u5165 <code>pathtrust<\/code> \u4fe1\u4efb\u5217\u8868\uff1a<\/p>\n<pre><code class=\"language-bash line-numbers\">\/proc\/boot\/pathtrust !\/path\/to\/script\/v2tov4.sh\n<\/code><\/pre>\n<p>\u6216<\/p>\n<pre><code class=\"language-bash line-numbers\">\/proc\/boot\/pathtrust !\/path\/to\/script\/v3tov4.sh\n<\/code><\/pre>\n<hr \/>\n<h2>\ud83d\udcc2 \u7cfb\u7edf\u5305\u89c4\u8303\uff08System Package Specification\uff09<\/h2>\n<h3>\u76ee\u5f55\u7ed3\u6784<\/h3>\n<p>\u7cfb\u7edf\u5305\u5305\u542b\u914d\u7f6e\u6587\u4ef6\u3001\u811a\u672c\u548c\u76ee\u6807\u8d44\u6e90\uff0c\u5212\u5206\u4e3a\u4e0d\u540c\u7684\u6267\u884c\u9636\u6bb5\uff1a<\/p>\n<pre><code class=\"language-text line-numbers\">pkg.bar             # \u539f\u59cb BAR \u5305\uff08\u53ef\u9009\uff09\nMANIFEST            # \u5305\u63cf\u8ff0\u6587\u4ef6\n\n\u251c\u2500\u2500 data\/           # \u4e3b\u5b89\u88c5\u5185\u5bb9\n\u2502   \u251c\u2500\u2500 file1..fileN# \u5185\u5bb9\u6587\u4ef6\n\u2502   \u251c\u2500\u2500 perms       # data\/ \u7684\u6587\u4ef6\u6743\u9650\u914d\u7f6e\n\u2502   \u251c\u2500\u2500 links       # \u7b26\u53f7\u94fe\u63a5\u3001\u590d\u5236\u3001PPS \u5bf9\u8c61\u548c\u76ee\u5f55\u521b\u5efa\n\u2502   \u251c\u2500\u2500 patch       # \u4e8c\u8fdb\u5236\u5b57\u8282\u8865\u4e01\u6307\u4ee4\n\u2502   \u2514\u2500\u2500 trusted     # \u5f85\u52a0\u5165 trustpath \u7684\u8def\u5f84\n\u2502\n\u2514\u2500\u2500 init\/           # \u521d\u59cb\u5316\u9636\u6bb5\uff08root \u542f\u52a8\uff09\n    \u251c\u2500\u2500 file1..fileN# \u6240\u9700\u7684\u542f\u52a8\u6587\u4ef6\n    \u251c\u2500\u2500 start.sh    # \u5728 root \u542f\u52a8\u65f6\u89e6\u53d1\u7684\u53ef\u6267\u884c shell \u811a\u672c\n    \u251c\u2500\u2500 perms       # init\/ \u7684\u6587\u4ef6\u6743\u9650\u914d\u7f6e\n    \u251c\u2500\u2500 links       # init \u9636\u6bb5\u7684\u7b26\u53f7\u94fe\u63a5\/\u590d\u5236\n    \u251c\u2500\u2500 patch       # init \u9636\u6bb5\u5e94\u7528\u7684\u4e8c\u8fdb\u5236\u8865\u4e01\n    \u2514\u2500\u2500 trusted     # init \u9636\u6bb5\u7684 trustpath \u89c4\u5219\n<\/code><\/pre>\n<hr \/>\n<h3>\u914d\u7f6e\u6587\u4ef6\u683c\u5f0f<\/h3>\n<h4>1. <code>links<\/code> \u2014\u2014 \u6587\u4ef6\u7cfb\u7edf\u64cd\u4f5c<\/h4>\n<p>\u5b9a\u4e49\u8981\u5728\u76ee\u6807\u8def\u5f84\u4e0a\u6267\u884c\u7684\u64cd\u4f5c\uff1a<\/p>\n<ul>\n<li><code>ln:src:dst<\/code> \u2014\u2014 \u521b\u5efa\u7b26\u53f7\u94fe\u63a5\uff0c\u4f7f <code>dst<\/code> \u6307\u5411 <code>src<\/code><\/li>\n<li><code>cp:src:dst<\/code> \u2014\u2014 \u5c06\u6587\u4ef6\u4ece <code>src<\/code> \u590d\u5236\u5230 <code>dst<\/code><\/li>\n<li><code>pps:src:dst<\/code> \u2014\u2014 \u521b\u5efa\u6216\u66f4\u65b0 PPS\uff08Persistent Publish\/Subscribe\uff0c\u6301\u4e45\u5316\u53d1\u5e03\/\u8ba2\u9605\uff09\u5bf9\u8c61<\/li>\n<li><code>md:dst<\/code> \u2014\u2014 \u5728 <code>dst<\/code> \u521b\u5efa\u76ee\u5f55<\/li>\n<\/ul>\n<h4>2. <code>perms<\/code> \u2014\u2014 \u6743\u9650\u5c5e\u6027<\/h4>\n<p>\u6307\u5b9a\u5c5e\u4e3b\u548c\u6587\u4ef6\u8bbf\u95ee\u6a21\u5f0f\uff08\u7b49\u540c\u4e8e <code>chmod<\/code>\/<code>chown<\/code>\uff09\uff1a<\/p>\n<pre><code class=\"language-text line-numbers\">\/path\/to\/target:UID:GID:MODE\n<\/code><\/pre>\n<ul>\n<li><strong>\u793a\u4f8b\uff1a<\/strong> <code>\/accounts\/1000\/appdata\/test:0:0:0755<\/code><\/li>\n<\/ul>\n<h4>3. <code>patch<\/code> \u2014\u2014 \u4e8c\u8fdb\u5236\u5b57\u8282\u4fee\u6539<\/h4>\n<p>\u4e3a\u76ee\u6807\u4e8c\u8fdb\u5236\u6587\u4ef6\u6307\u5b9a\u7cbe\u786e\u7684\u5b57\u8282\u7ea7\u66ff\u6362\uff1a<\/p>\n<pre><code class=\"language-text line-numbers\">\/path\/to\/target_file1\n0xADDR1: 0xOLD1 0xNEW1\n0xADDR2: 0xOLD2 0xNEW2\n\/path\/to\/target_file2\n0xADDR1: 0xOLD1 0xNEW1\n<\/code><\/pre>\n<ul>\n<li><strong>\u8bed\u6cd5\uff1a<\/strong> <code>\u5730\u5740: \u65e7\u5b57\u8282 \u65b0\u5b57\u8282<\/code><\/li>\n<li><strong>\u793a\u4f8b\uff1a<\/strong> <code>0x0001A2F0: 0x89 0x90<\/code>\uff08\u5728\u504f\u79fb <code>0x0001A2F0<\/code> \u5904\u5c06\u5b57\u8282 <code>89<\/code> \u66ff\u6362\u4e3a <code>90<\/code>\uff09\u3002<\/li>\n<\/ul>\n<h4>4. <code>trusted<\/code> \u2014\u2014 \u53ef\u4fe1\u8def\u5f84\u767d\u540d\u5355<\/h4>\n<p>\u7eaf\u6587\u672c\u6587\u4ef6\uff0c\u6bcf\u884c\u5305\u542b\u4e00\u4e2a\u8981\u52a0\u5165\u7cfb\u7edf <code>trustpath<\/code> \u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u6216\u5e93\u7684\u7edd\u5bf9\u8def\u5f84\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0a\u6b21\u6211\u53d1\u4e86\u8fd9\u7bc7\u6587\u7ae0\uff0c\u5df2\u7ecf\u6709\u5f88\u591a\u673a\u53cb\u64cd\u4f5c\u6210\u529f\u4e86\uff0c\u8fd9\u6b21\u4f5c\u8005\u53c8\u8fdb\u884c\u4e86\u4e00\u6b21\u66f4\u65b0\uff0c\u4f46\u662f\u597d\u50cf\u5fd8\u8bb0\u628a\u5347\u7ea7\u811a\u672cv2tov4.s &hellip; <a href=\"https:\/\/cocozq.com\/?p=3321\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;\u9ed1\u8393BlackBerry 10\u7cfb\u7edfQ10\/Q20\/Q30\u624b\u673a\u66f4\u65b0\u5230v4&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-3321","post","type-post","status-publish","format-standard","hentry","category-mobilephone","hfeed"],"_links":{"self":[{"href":"https:\/\/cocozq.com\/index.php?rest_route=\/wp\/v2\/posts\/3321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cocozq.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cocozq.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cocozq.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cocozq.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3321"}],"version-history":[{"count":1,"href":"https:\/\/cocozq.com\/index.php?rest_route=\/wp\/v2\/posts\/3321\/revisions"}],"predecessor-version":[{"id":3334,"href":"https:\/\/cocozq.com\/index.php?rest_route=\/wp\/v2\/posts\/3321\/revisions\/3334"}],"wp:attachment":[{"href":"https:\/\/cocozq.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cocozq.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cocozq.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}