{"id":248196,"date":"2020-12-28T18:43:37","date_gmt":"2020-12-28T10:43:37","guid":{"rendered":"http:\/\/4563.org\/?p=248196"},"modified":"2020-12-28T18:43:37","modified_gmt":"2020-12-28T10:43:37","slug":"%e6%9c%89%e7%94%a8%e5%ae%89%e5%8d%93-termux-%e7%9a%84%e5%90%97%ef%bc%9f%e6%84%9f%e8%a7%89%e9%97%ae%e9%a2%98%e5%a5%bd%e5%a4%9a","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=248196","title":{"rendered":"\u6709\u7528\u5b89\u5353 termux \u7684\u5417\uff1f\u611f\u89c9\u95ee\u9898\u597d\u591a"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u6709\u7528\u5b89\u5353 termux \u7684\u5417\uff1f\u611f\u89c9\u95ee\u9898\u597d\u591a               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zictos <\/span>  <span><i><\/i> 8<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>1 \u3001root \u641e\u4e0d\u5b9a\uff0c\u660e\u660e\u624b\u673a root \u4e86\uff0c\u4f46\u5b89\u88c5 pkg install tsu \u540e\u63d0\u793a\u6ca1 root \u3002\u76f4\u63a5\u8f93\u5165 su \u547d\u4ee4\u53ef\u4ee5\u83b7\u53d6 root \u6743\u9650\uff0c\u4f46 termux \u81ea\u5e26\u7684\u547d\u4ee4\u57fa\u672c\u90fd\u7528\u4e0d\u4e86\u4e86\u3002<\/p>\n<p>2 \u3001\u5916\u7f6e sd \u5361\u6743\u9650\u65e0\u6cd5\u83b7\u53d6\uff0c\u636e\u8bf4\u672c\u6765\u5c31\u6ca1\u529e\u6cd5\u83b7\u53d6\u3002\u5185\u7f6e sd \u5361\u4f3c\u4e4e\u4e5f\u6709\u5f88\u591a\u6743\u9650\u95ee\u9898\uff0c\u4e0d\u77e5\u9053 root \u540e\u4f1a\u4e0d\u4f1a\u597d\u70b9\uff0c\u6709\u65f6\u5019\u83ab\u540d\u5176\u5999\u63d0\u793a\u6743\u9650\u95ee\u9898\uff0cchmod \u4e5f\u5931\u8d25\u3002\u5176\u4ed6\u7a0b\u5e8f\u5c31\u57fa\u672c\u6ca1\u89c1\u8fc7\u6743\u9650\u95ee\u9898\uff0c\u53e6\u4e00\u4e2a app\u201c\u7ec8\u7aef\u6a21\u62df\u5668\u201d\u5c31\u80fd\u76f4\u63a5\u83b7\u53d6 root \u6743\u9650\uff0c\u53e6\u5916\u4e5f\u6ca1\u89c1\u8fc7\u5176\u4ed6\u6743\u9650\u95ee\u9898\u3002<\/p>\n<p>3 \u3001tasker \u8c03\u7528\u65b9\u9762\u4e5f\u6ca1\u8bd5\uff0c\u770b\u4e86\u4e0b\u6709\u4e2a termux-tasker \u7684 app \u597d\u50cf\u662f\u6536\u8d39\u7684\uff0c\u4ed8\u8d39\u540e\u4e5f\u4e0d\u77e5\u9053\u80fd\u4e0d\u80fd\u6210\u529f\u4f7f\u7528\u3002<\/p>\n<p>4 \u3001\u5f88\u591a\u95ee\u9898\u5728\u82f1\u6587\u7f51\u7ad9\u4e5f\u6709\u4e00\u4e9b\u9047\u5230\u540c\u6837\u7684\u60c5\u51b5\u7684\uff0c\u4f46\u5927\u90fd\u4e0d\u4e86\u4e86\u4e4b\u3002\u4e3b\u8981\u662f\u60f3\u7528 termux \u91cc\u9762\u7684 python\uff0c\u611f\u89c9 python \u5f88\u591a\u5305\u90fd\u53ef\u4ee5\u76f4\u63a5 pip \u5b89\u88c5\uff0c\u633a\u4e0d\u9519\u7684\uff0c\u4e4b\u524d\u7528 qpython \u5c31\u5f88\u591a\u5305\u90fd\u7528\u4e0d\u4e86\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>24<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4818066\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : marczhao <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             1. tsu \u6ca1\u95ee\u9898(s9,Android 10,magisk)<br \/>2-4.\u6ca1\u8bd5\u8fc7                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818067\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Ayahuasec <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             tsu \u4e0d\u517c\u5bb9\u4f46\u662f\u53ef\u4ee5\u76f4\u63a5\u7528 su \u7684\u8bdd\uff0c\u4f60\u91cd\u65b0\u8bbe\u7f6e\u4e00\u4e0b\u73af\u5883\u53d8\u91cf\u597d\u50cf\u6240\u6709\u547d\u4ee4\u5c31\u90fd\u80fd\u7528\u4e86\u3002<br \/>\u5982\u679c\u6ca1\u6709\u5f00\u4f4e\u7aef\u53e3\u7684\u9700\u6c42\u7684\u8bdd\uff0c\u53ef\u4ee5\u4e0d\u7528 root\uff0c\u53ef\u4ee5 termux \u91cc\u6309\u4e00\u4e2a proot \u7684 debian \u6216\u8005 centos\uff0c\u7136\u540e\u5728 proot \u91cc\u9762\u6298\u817e\uff0c\u53ef\u4ee5\u907f\u514d\u5f88\u591a\u56e0\u4e3a\u73af\u5883\u4f9d\u8d56\u6240\u5f15\u8d77\u7684\u95ee\u9898\uff0c\u6bd5\u7adf\u8fd9\u6837\u50cf WSL \u4e00\u6837\u76f8\u5f53\u4e8e\u4e00\u4e2a\u5b8c\u6574\u7684 Linux \u5b50\u7cfb\u7edf\u3002<br \/>Internal Storage \u7684\u8bdd\u7ed9\u4e86\u5e94\u7528\u6743\u9650\u4ee5\u540e\uff0c\u8fd8\u8981\u5728 termux \u91cc\u9762\u8fd0\u884c termux-setup-storage \u83b7\u53d6\u6743\u9650\u548c\u8bbe\u7f6e\u8def\u5f84\uff0c\u4e4b\u540e\u5728~\/storage\/shared\/\u76ee\u5f55\u91cc\u9762\u8bbf\u95ee\u3002External Storage \u597d\u50cf\u662f root \u4e86\u4ee5\u540e\u5728 \/storage \u8fd8\u662f \/sdcard \u91cc\u9762\uff0c\u4e0d\u8fc7\u5916\u7f6e sd \u5361\u6211\u4e5f\u6ca1\u8bd5\u8fc7\uff0c\u4f60\u53ef\u4ee5\u627e\u627e\u770b\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818068\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : zictos <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @marczhao #1 \u90a3\u53ef\u80fd\u7cfb\u7edf\u95ee\u9898\uff0c\u770b\u6765\u6211\u5f97\u5237\u673a\u5347\u7ea7\u7cfb\u7edf\u540e\u518d\u8bd5\u8bd5                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818069\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : systemcall <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u88c5\u4e2a tmoe\uff0c\u91cc\u9762\u88c5\u4e2a ubuntu\uff0c\u8fde root \u90fd\u4e0d\u7528\uff0c\u7535\u89c6\u4e0a\u9762\u90fd\u8dd1\u5f97\u4e86<br \/>\u6ca1\u4ec0\u4e48\u522b\u7684\u9700\u6c42\u7684\u8bdd\uff0c\u4e0d\u8981\u7528\u5185\u7f6e SD \u5361\u3002\u5185\u7f6e SD \u5361\u73b0\u5728\u662f\u865a\u62df\u51fa\u6765\u7684\uff0c\u672c\u6765\u5c31\u4e0d\u592a\u80fd\u652f\u6301\u6743\u9650\u7684\u8bbe\u7f6e\u3002\u800c\u4e14\u6027\u80fd\u4f4e                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818070\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : TypeError <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8c03\u7528 tasker \u6ca1\u4efb\u4f55\u95ee\u9898\uff0c\u6211\u5f04\u4e86\u4e2a\u811a\u672c\u7ec4\u5408 YouTube-dl \u548c you-get\uff0c\u5206\u4eab\u94fe\u63a5\u5c31\u80fd\u4e0b\u8f7d\u5404\u4e2a\u7f51\u7ad9\u89c6\u9891                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818071\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : zictos <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Ayahuasec #2 <br \/>@systemcall #4 <br \/>\u4e0d root \u7684\u8bdd\u5c31\u7b97\u88c5 linux \u5e94\u8be5\u4e5f\u64cd\u4f5c\u4e0d\u4e86\u7cfb\u7edf\u6587\u4ef6\uff0c\u90a3\u4e9b\u80fd\u64cd\u4f5c\u5b89\u5353\u7cfb\u7edf\u7684\u547d\u4ee4\u4e5f\u7528\u4e0d\u4e86\uff0c\u53ea\u80fd\u5728\u88c5\u7684 linux \u7684\u5185\u90e8\u7528\u3002\u4e00\u822c\u6709\u54ea\u4e9b\u4f5c\u7528\u5462\uff1f\u611f\u89c9\u8fd9\u6837\u7684\u8bdd\u5c31\u50cf\u8fdc\u7a0b linux \u670d\u52a1\u5668\u4e00\u6837\u3002\u5982\u679c\u662f\u5728\u540e\u53f0\u8dd1\u539f\u751f linux \u7a0b\u5e8f\u5e94\u8be5\u6bd4\u8f83\u8017\u7535\u5427\uff1f<\/p>\n<p>\u4e00\u822c\u5b89\u5353\u5185\u90e8 sd \u5361\u662f\u6307\u7684 \/storage\/emulated\/0\/, \u5f88\u591a\u7a0b\u5e8f\u90fd\u4f1a\u628a\u4e00\u4e9b\u5360\u7a7a\u95f4\u6bd4\u8f83\u5927\u7684\u6570\u636e\u4fdd\u5b58\u5230\u8fd9\u91cc\uff0c\u9ed8\u8ba4\u5c31\u6709\u8bbf\u95ee\u6743\u9650\u3002\u4f46 termux \u597d\u50cf\u53ea\u6709\u4e13\u95e8\u7684\u76ee\u5f55\u624d\u6709\u5b8c\u5168\u7684\u6743\u9650\uff0c\u4e0d\u77e5\u9053\u4e3a\u4ec0\u4e48\u8ddf\u5176\u4ed6\u7a0b\u5e8f\u4e0d\u4e00\u6837\u3002\u5916\u7f6e sd \u5361\u6709\u7684\u5728 \/storage\/extSdcard\/ \u4e0b\u9762\uff0c\u8fd9\u4e2a\u5c31\u662f\u989d\u5916\u63d2\u5165\u7684\u5916\u7f6e\u5b58\u50a8\u5361                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818072\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : zictos <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @TypeError #5 \u662f\u7528\u201ctermux-tasker\u201d\u8ba9 tasker \u8c03\u7528\u7684\u5417\uff1f\u5e94\u8be5\u6ca1\u5176\u4ed6\u65b9\u6848\u4e86\u5427\uff01                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818073\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ysc3839 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zictos \u6211\u5efa\u8bae\u4e0d\u8981\u7528\u201c\u5185\u7f6e SD \u5361\u201d\u8fd9\u4e2a\u79f0\u547c\uff0c\u6211\u7684\u60ef\u7528\u79f0\u547c\u662f\u201c\u5171\u4eab\u5b58\u50a8\u7a7a\u95f4\u201d\u3002\u4ece Android 6 \u5f00\u59cb\uff0c\u9700\u8981\u6388\u6743\u5b58\u50a8\u7a7a\u95f4\u6743\u9650\u624d\u80fd\u8bbf\u95ee\u7684\u3002<\/p>\n<p>\u4f60\u8bf4\u7684\u201c\u53ea\u6709\u4e13\u95e8\u7684\u76ee\u5f55\u624d\u6709\u5b8c\u5168\u7684\u6743\u9650\u201d\uff0c\u5e94\u8be5\u6307\u7684\u662f\u5e94\u7528\u7a0b\u5e8f\u7684\u79c1\u6709\u5b58\u50a8\u7a7a\u95f4\uff0c\u8fd9\u4e2a\u624d\u662f\u65e0\u9700\u6388\u6743\u5373\u53ef\u8bbf\u95ee\u7684\uff0c\u540c\u65f6\u4e5f\u662f\u6bcf\u4e2a\u5e94\u7528\u72ec\u7acb\u9694\u79bb\u7684\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818074\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : zictos <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u2583\u2583\u2583\u2583<br \/>\u901a\u8fc7\u6dfb\u52a0\u73af\u5883\u53d8\u91cf\u7684\u529e\u6cd5\u975e\u5e38\u597d\u7528\uff0c\u975e\u5e38\u611f\u8c22 @Ayahuasec \u3002<br \/>\u53ea\u8981\u6dfb\u52a0\u73af\u5883\u53d8\u91cf\u4e4b\u540e\u5c31\u53ef\u4ee5\u5b8c\u5168\u65e0\u89c6 termux \u4e86\uff0ctermux \u81ea\u5e26\u7684\u4e00\u4e9b linux \u547d\u4ee4\uff08\u6ca1\u6709\u7684\u547d\u4ee4\u4e5f\u53ef\u4ee5\u5b89\u88c5\uff09\u4ee5\u53ca python \u90fd\u53ef\u4ee5\u76f4\u63a5\u53bb\u201c\u7ec8\u7aef\u6a21\u62df\u5668\u201d\u6216\u8005 tasker \u4e2d\u8fd0\u884c\u4e86\uff0c\u5e76\u4e14 termux \u4e0d\u9700\u8981\u540e\u53f0\u8fd0\u884c\u3002<br \/>\u2583\u2583\u2583\u2583<br \/>\u53ea\u662f\u5b89\u5353\u76ee\u524d\u53ea\u80fd\u4e34\u65f6\u6dfb\u52a0\u73af\u5883\u547d\u4ee4\uff0c\u6bcf\u6b21\u542f\u52a8\u7ec8\u7aef\u90fd\u9700\u8981\u8bbe\u7f6e\u4e00\u4e0b\u73af\u5883\u53d8\u91cf\uff0c\u6682\u65f6\u6ca1\u627e\u5230\u6c38\u4e45\u7684\u529e\u6cd5\u3002<br \/>\u76ee\u524d\u8fd9\u6837\u64cd\u4f5c\uff0c\u5728\u6839\u76ee\u5f55 \/\u65b0\u5efa\u4e00\u4e2a path \u7684\u6587\u4ef6\uff0c\u8f93\u5165\u4e0b\u9762\u7684\u4e24\u884c\u5185\u5bb9\uff1a<br \/>export PATH=\/data\/data\/com.termux\/files\/usr\/bin:\/data\/data\/com.termux\/files\/usr\/bin\/applets:$PATH<br \/>export LD_LIBRARY_PATH=\/data\/data\/com.termux\/files\/usr\/lib<br \/>\u2583\u2583\u2583\u2583<br \/>\u4ee5\u540e\u53ea\u9700\u8981\u5728 root \u6743\u9650\u4e0b\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165. \/path \u5c31\u53ef\u4ee5\u76f4\u63a5\u6dfb\u52a0\u73af\u5883\u53d8\u91cf\u4e86\uff0c\u6ce8\u610f\u6709\u4e2a\u70b9\u4ee5\u53ca\u4e00\u4e2a\u7a7a\u683c\uff0c\u4ee3\u8868\u6267\u884c\u6839\u76ee\u5f55\u4e0b\u7684 path \u6587\u4ef6\u3002\u201c\u7ec8\u7aef\u6a21\u62df\u5668\u201d\u4e5f\u53ef\u4ee5\u8bbe\u7f6e\u542f\u52a8\u65f6\u81ea\u52a8\u6267\u884c. \/path\uff0c\u8fd9\u6837\u53ea\u8981\u4e00\u542f\u52a8\u5c31\u9ed8\u8ba4\u6dfb\u52a0\u4e0a\u73af\u5883\u53d8\u91cf\u4e86\uff0c\u76f4\u63a5\u8f93\u5165 python \u4e4b\u7c7b\u7684\u547d\u4ee4\u5c31\u53ef\u4ee5\u8fd0\u884c python \u4e86\u3002<br \/>.<br \/>.<br \/>.<br \/>.<br \/>.<br \/>\u2583\u2583\u2583\u2583<br \/>\u2460tasker \u8c03\u7528\uff1a\u6dfb\u52a0\u4efb\u52a1\uff0c\u9009\u62e9\u4ee3\u7801&#8211;\u8fd0\u884c\u5916\u58f3\uff08\u52fe\u9009\u4f7f\u7528 root \uff09\uff0c\u8f93\u5165\u7c7b\u4f3c\u4e0b\u9762\u7684\u4ee3\u7801\u5c31\u53ef\u4ee5\u6267\u884c python \u6587\u4ef6\uff1a<br \/>. \/path #\u6dfb\u52a0\u73af\u5883\u53d8\u91cf<br \/>python test.py #\u8fd0\u884c\u540d\u4e3a test.py \u7684 python \u811a\u672c<\/p>\n<p>\u2583\u2583\u2583\u2583<br \/>\u2461tasker \u4e2d\u4e0d\u4f7f\u7528 py \u6587\u4ef6\u7684\u60c5\u51b5\u4e0b\u76f4\u63a5\u8fd0\u884c\u591a\u884c python \u4ee3\u7801\uff1a\u6dfb\u52a0\u4efb\u52a1\uff0c\u9009\u62e9\u4ee3\u7801&#8211;\u8fd0\u884c\u5916\u58f3\uff08\u52fe\u9009\u4f7f\u7528 root\uff0c\u53ef\u9009\u62e9\u5c06\u8f93\u51fa\u4fdd\u5b58\u5230\u53d8\u91cf\uff09\uff0c\u5728\u4e09\u5f15\u53f7\u5185\u8f93\u5165\u7c7b\u4f3c\u4e0b\u9762\u7684\u4ee3\u7801\u5c31\u53ef\u4ee5\u76f4\u63a5\u6267\u884c\u591a\u884c python \u4ee3\u7801\uff1a<br \/>. \/path<br \/>python -c &#8221;&#8217;<br \/>a=1<br \/>b=2<br \/>c=a+b<br \/>print(c)<br \/>&#8221;&#8217;<br \/>\u2583\u2583\u2583\u2583<br \/>\u2462\u50cf\u4e0a\u9762\u90a3\u6837\u76f4\u63a5\u5199\u5bf9\u4e8e\u5076\u5c14\u8c03\u7528\u4e0b\u6bd4\u8f83\u65b9\u4fbf\uff0cif \u6216\u590d\u6742\u7684\u5faa\u73af\u903b\u8f91\u90fd\u53ef\u4ee5\u5199\u5230\u91cc\u9762\uff0c\u53ea\u662f\u6bd4\u8f83\u5bb9\u6613\u51fa\u9519\u3002\u6211\u521a windows \u8f93\u5165\u540e\u7c98\u8d34\u8fc7\u53bb\u5c31\u62a5\u9519\uff0c\u53ef\u80fd\u662f\u6362\u884c\u7b26\u7684\u95ee\u9898\uff0c\u624b\u52a8\u8f93\u5165\u5c31\u6ca1\u95ee\u9898\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818075\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : zictos <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @ysc3839 #8 \u53ea\u662f\u201c\u5171\u4eab\u5b58\u50a8\u7a7a\u95f4\u201d\u4e00\u822c\u66f4\u96be\u8ba9\u4eba\u7406\u89e3\u5427\uff0c\u9664\u975e\u5b89\u5353\u5f00\u53d1\u8005\u624d\u80fd\u4e00\u4e0b\u5b50\u5c31\u77e5\u9053\u4ec0\u4e48\u610f\u601d\u3002\u55ef\uff0c\u7684\u786e\u662f\u9700\u8981\u6388\u6743\uff0c\u53ea\u662f\u4e00\u822c\u90fd\u4f1a\u540c\u610f\u6388\u6743\u7684\uff0c\u6240\u4ee5\u6211\u624d\u8bf4\u9ed8\u8ba4\u80fd\u8bbf\u95ee\u3002\u7684\u786e\u6211\u770b\u4e86\u4e0b termux \u597d\u50cf\u9ed8\u8ba4\u662f\u6ca1\u6709\u7533\u8bf7\u5171\u4eab\u5b58\u50a8\u7a7a\u95f4\u6743\u9650\u7684\uff0c\u6709\u4e00\u6761\u547d\u4ee4\u53ef\u4ee5\u8bbe\u7f6e\uff0c\u4f46\u8bbe\u7f6e\u540e\u6743\u9650\u597d\u50cf\u6709\u65f6\u6709\u7528\uff0c\u6709\u4e8b\u6ca1\u7528\uff0c\u4e5f\u4e0d\u77e5\u9053\u5230\u5e95\u600e\u4e48\u56de\u4e8b\u3002\u73b0\u5728\u597d\u4e86\uff0c\u53ef\u4ee5\u5b8c\u5168\u65e0\u89c6 termux \u4e86\uff0c\u5177\u4f53\u89c1 9 \uff0c\u6211\u63d0\u7684\u51e0\u4e2a\u95ee\u9898\u4e5f\u90fd\u5b8c\u5168\u89e3\u51b3\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818076\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 3dwelcome <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             sdcard \u6ca1\u6743\u9650\u7684\uff0c\u8fd9\u662f\u5b89\u5353\u9650\u5236\uff0c\u4e0d\u662f termux \u7684\u7f3a\u9677\u3002<br \/>\u7528 termux-setup-storage \u53ef\u4ee5\u6b63\u5e38\u8bbf\u95ee\u8bfb\u5199 sd \u3002<br \/>root \u7684\u8bdd\uff0c\u6211\u4e00\u822c\u7528 proot\uff0c\u56e0\u4e3a\u624b\u673a\u4e0d\u60f3\u8d8a\u72f1\u3002\u4f46\u597d\u50cf root \u7684\u624b\u673a\u7528\u4e5f\u6ca1\u95ee\u9898\uff0c\u6b63\u5e38\u8bbf\u95ee \/data \u7cfb\u7edf\u76ee\u5f55\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818077\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : zictos <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @3dwelcome #11 \u4f60\u8bf4\u7684 sdcard \u662f\u6307\u81ea\u5df1\u63d2\u7684\u5916\u7f6e\u5185\u5b58\u5361\u5417\uff1f\u8fd9\u4e2a\u9ed8\u8ba4\u6ca1\u6743\u9650\uff0c\u4f46\u53ef\u4ee5\u624b\u52a8\u6388\u6743\u7684\uff0c\u5927\u90e8\u5206 app \u5728\u6ca1\u6743\u9650\u7684\u65f6\u5019\u90fd\u4f1a\u63d0\u793a\u9700\u8981\u624b\u52a8\u6388\u6743\uff0c\u4e5f\u5c31\u662f\u4f1a\u5f39\u51fa\u7cfb\u7edf\u754c\u9762\uff0c\u7136\u540e\u9009\u62e9\u5185\u5b58\u5361\u7684\u6839\u76ee\u5f55\u5c31\u662f\u6388\u6743\u4e86\u3002\u4f46\u662f termux \u5374\u6839\u672c\u4e0d\u4f1a\u5f39\u51fa\u4efb\u4f55\u8981\u6c42\u6388\u6743\u7684\u63d0\u793a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818078\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : codehz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zictos #12 termux-setup-storage \u4f1a\u5f39\u6846\u554a\uff08\u4e0d\u8fc7\u8981\u5148\u88c5 api \u90a3\u4e2a\uff08                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818079\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : zictos <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @codehz #13 termux-setup-storage \u662f\u83b7\u53d6\u81ea\u5e26\u5b58\u50a8\u7684\u6743\u9650\uff0c\u4f46\u81ea\u5df1\u63d2\u7684\u5185\u5b58\u5361\u662f\u4e0d\u4f1a\u5f39\u7a97\u8ba9\u6388\u4e88\u6743\u9650\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818080\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : icelo <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6b7b\u5728\u4e86 root                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818081\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 3dwelcome <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u548c 14 \u4e00\u6837\uff0ctermux \u80fd\u6b63\u5e38\u8bfb\u5199 sdcard\uff0c\u4e5f\u5c31\u662f\u81ea\u5df1\u63d2\u7684 tf \u5361\u3002<br \/>\u53ef\u80fd\u4e3b\u4e0d\u884c\u5427\uff0c\u4e0d\u80fd\u8bf4\u6240\u6709\u4eba\u90fd\u4e0d\u884c\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818082\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 3dwelcome <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u548c 13 \u4e00\u6837\uff0c\u6709\u63d0\u793a\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818083\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : zictos <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @3dwelcome #17 \u4e00\u822c\u5f39\u7a97\u4ec5\u4ec5\u5141\u8bb8\u7684\u8bdd\u5e94\u8be5\u662f\u5141\u8bb8\u5185\u7f6e sd \u5361\u6743\u9650\uff0c\u4f46\u81ea\u5df1\u63d2\u7684\u5361\u662f app \u5f39\u51fa\u63d0\u793a\u540e\u9700\u8981\u5230\u7cfb\u7edf\u7684\u8d44\u6e90\u7ba1\u7406\u5668\u9875\u9762\u9009\u4e2d\u63d2\u7684 tf \u5361\u624d\u53ef\u4ee5\u7684\uff0c\u53cd\u6b63\u6211\u7684\u624b\u673a\u6240\u6709 app \u90fd\u662f\u8fd9\u6837\u7684\uff0c\u54ea\u6015\u6709 root \u6743\u9650\u4e5f\u9ed8\u8ba4\u4e0d\u80fd\u8bbf\u95ee\u81ea\u5df1\u63d2\u7684\u5361\u3002<br \/>\u4e0d\u8fc7\u53cd\u6b63\u73b0\u5728\u6211\u65e0\u6240\u8c13\u4e86\uff0c\u76f4\u63a5\u65e0\u89c6 termux \u4e86\uff0c\u5177\u4f53\u89c1 9                                                             <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818084\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 3dwelcome <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zictos \u6211\u89c9\u5f97\u8fd8\u662f\u4f60\u641e\u9519\u4e86\uff0c\u4f60 google \u4e00\u4e0b termux-setup-storage\uff0c\u5b98\u65b9\u662f\u8fd9\u4e2a\u9875\u9762 https:\/\/wiki.termux.com\/wiki\/Termux-setup-storage\uff0c\u5f88\u660e\u786e\u7684\u5199\u7740~\/storage\/external = external storage, \u80af\u5b9a\u4e0d\u662f\u5185\u7f6e sd \u5361\u6743\u9650\u3002<\/p>\n<p>\u5185\u7f6e\u7684\u53eb internal storage, \u5916\u7f6e\u7684\u53eb external storage\uff0ctermux \u652f\u6301\u7684\u662f\u540e\u8005\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818085\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : zictos <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @3dwelcome #19 \u90a3\u4e2a\u7f51\u9875\u7684\u786e\u662f\u8bf4\u4f1a\u5728\u5916\u90e8\u5b58\u50a8\u5361\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\u5939\uff0c\u5e76\u4e14~\/storage\/external \u662f\u901a\u8fc7 Symlink \u7b26\u53f7\u94fe\u63a5\u6307\u5411\u90a3\u4e2a\u5916\u90e8\u5b58\u50a8\u5361\u4e2d\u521b\u5efa\u7684\u6587\u4ef6\u5939\u3002\u4f46\u6211\u7684\u624b\u673a\u4e0a\u5b9e\u9645\u5e76\u6ca1\u521b\u5efa\uff0c\u4f7f\u7528 cd ~\/storage\/external \u63d0\u793a\u4e0d\u5b58\u5728\u76ee\u5f55\u3002<\/p>\n<p>\u800c\u4e14\u4e0d\u660e\u767d\u4e3a\u4ec0\u4e48\u8981\u641e\u4ec0\u4e48\u590d\u6742\u5462\uff1f\u76f4\u63a5\u7528\u5b8c\u6574\u8def\u5f84\u8bbf\u95ee\u5916\u90e8\u5b58\u50a8\u5361\u5c82\u4e0d\u662f\u66f4\u65b9\u4fbf\uff1f\u8a00\u4e0b\u4e4b\u610f\u662f\u4e0d\u662f\u8bf4\u5c31\u7b97\u771f\u7684\u5728\u90a3\u4e2a\u5916\u90e8\u5b58\u50a8\u5361\u521b\u5efa\u4e86\u4e00\u4e2a\u6587\u4ef6\u5939\uff0c\u90a3\u4e5f\u53ea\u6709\u90a3\u4e2a\u521b\u5efa\u7684\u6587\u4ef6\u5939\u624d\u80fd\u8bbf\u95ee\uff0c\u5916\u90e8\u5b58\u50a8\u5361\u7684\u5176\u4ed6\u6587\u4ef6\u5939\u65e0\u6cd5\u8bbf\u95ee\u5427\uff1f                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818086\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 3dwelcome <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u8fd9\u91cc\u662f\u53ef\u4ee5\u987a\u5229\u8bbf\u95ee\u8bfb\u53d6 TF \u5361\u4e0a\u7684\u6240\u6709\u5916\u90e8\u6587\u4ef6\uff0c\u597d\u50cf\u6b63\u5e38 APP \u53ea\u8981\u83b7\u5f97\u6388\u6743\u540e\uff0c\u90fd\u80fd\u8bbf\u95ee\u5427\uff0c\u6ca1\u4f60\u60f3\u7684\u90a3\u4e48\u590d\u6742\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818087\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 3dwelcome <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u7684\u6743\u9650\u95ee\u9898\uff0c\u662f TF \u5361\u4e0a\u4e0d\u80fd\u628a elf \u8bbe\u7f6e\u6210\u53ef\u6267\u884c\u6743\u9650\u3002\u8fd9\u70b9\u597d\u50cf\u5176\u4ed6 APP \u4e5f\u4e0d\u53ef\u4ee5\uff0c\u53ea\u80fd\u5355\u7eaf\u5f53\u4e2a\u5916\u7f6e\u5b58\u50a8\u76d8\u6765\u8bfb\u5199\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818088\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : zictos <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @3dwelcome #21 \u6b63\u5e38 app \u83b7\u5f97\u6388\u6743\u662f\u90fd\u53ef\u4ee5\u8bbf\u95ee\u7684\uff0c\u53ea\u662f termux \u8ddf\u6b63\u5e38 app \u7684\u6388\u6743\u65b9\u5f0f\u4e0d\u4e00\u6837\u3002\u6211\u4e0d\u77e5\u9053\u4f60\u7684\u624b\u673a\u662f\u600e\u4e48\u7ed9\u6b63\u5e38 app \u6388\u6743\u7684\uff0c\u662f\u5f39\u51fa\u4e00\u4e2a\u7cfb\u7edf\u7684\u8d44\u6e90\u7ba1\u7406\u5668\uff0c\u7136\u540e\u5728\u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\u9009\u4e2d tf \u5361\u5417\uff1f\u6211\u7684\u624b\u673a\u90fd\u662f\u8fd9\u6837\u7684\u3002\u4f46 termux \u5e76\u6ca1\u5f39\u51fa\u7cfb\u7edf\u7684\u8d44\u6e90\u7ba1\u7406\u5668\uff0c\u5982\u679c\u4e0d\u7528\u5f39\u5c31\u80fd\u6388\u6743\uff0c\u90a3\u5176\u4ed6 app \u53c8\u4f55\u5fc5\u5f39\u51fa\u5462\u3002<\/p>\n<p>\u5e76\u4e14\u6211\u524d\u51e0\u5929\u770b\u5230\u4e00\u4e2a\u7f51\u9875\u597d\u50cf\u662f\u8bf4 termux \u65e0\u6cd5\u83b7\u53d6 tf \u5361\u7684\u6743\u9650\uff0c\u5927\u81f4\u610f\u601d\u5c31\u662f\u8bf4\u662f\u4ec0\u4e48\u5355\u7eaf\u547d\u4ee4\u884c\u7a0b\u5e8f\u65e0\u6cd5\u83b7\u53d6 tf \u5361\u7684\u6743\u9650\uff0c\u53ea\u6709\u6b63\u5e38\u7684\u754c\u9762\u7684\u7a0b\u5e8f\u624d\u53ef\u4ee5\u83b7\u53d6\uff0c\u4f46\u201c\u7ec8\u7aef\u6a21\u62df\u5668\u201d\u4e5f\u5c5e\u4e8e\u547d\u4ee4\u884c\u7a0b\u5e8f\uff0c\u5b83\u7167\u6837\u53ef\u4ee5\u83b7\u53d6 tf \u5361\u7684\u6743\u9650\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4818089\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 3dwelcome <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u90a3\u53ef\u80fd\u662f termux \u6ca1\u5b8c\u7f8e\u517c\u5bb9\u4f60\u7684\u624b\u673a\u3002<br \/>\u6211\u662f termux \u7684\u8001\u7528\u6237\u4e86\uff0candroid7.0 \u5b89\u88c5\u8fc7\uff0candroid5.0(root)\u5b89\u88c5\u8fc7\uff0candroid10.0 \u5b89\u88c5\u8fc7\uff0c\u534e\u4e3a\u5e73\u677f\u7684 android9.0 \u4e5f\u5b89\u88c5\u8fc7\uff0c\u57fa\u672c\u4e0a\u6ca1\u51fa\u8fc7\u4ec0\u4e48\u5927\u95ee\u9898\uff0c\u5c31\u6309\u7167\u5b98\u65b9\u7684\u6559\u7a0b\u6765\uff0ctermux-API \u90fd\u80fd\u8c03\u7528\u3002<br \/>\u5f88\u65e9\u4ee5\u524d\uff0ctermux \u8001\u7248\u672c\u4f1a\u6709\u4e00\u4e9b\u5947\u602a\u7684\u95ee\u9898\uff0c\u9700\u8981\u624b\u52a8\u5b89\u88c5\u4e00\u4e9b deb \u8f6f\u4ef6\u3002\u5347\u7ea7\u5230\u65b0\u7248\u540e\uff0c\u8fd9\u4e2a\u95ee\u9898\u5c31\u6d88\u5931\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u7528\u5b89\u5353 termux \u7684\u5417\uff1f\u611f\u89c9&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/248196"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=248196"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/248196\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=248196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=248196"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=248196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}