海信A5 SD卡變內置存儲


參考

https://chikorita.fun/2020/02/安卓-通過adb將tf(sd)卡用作內置存儲/
https://www.bilibili.com/s/video/BV1XQ4y1X7ti

下載

adbkit
https://adbshell.com/downloads

調試

多次點擊內核版本,打開開發者選項,然后開USB調試

POWERSHELL 進入adbkit解壓目錄,
輸入 .\adb.exe shell,手機上同意調試
image

操作

查看盤符,

PS C:\Users\cnche\Downloads\adb> .\adb.exe shell
HLTE203T:/ $ sm  has-adoptable
false
#這個操作沒必要,有的教程里面要這么做
HLTE203T:/ $ sm set-force-adoptable true
HLTE203T:/ $ sm list-disks
disk:179,32

help查看參數, 設為內部存儲

HLTE203T:/ $ sm -help
usage: sm list-disks [adoptable]
       sm list-volumes [public|private|emulated|stub|all]
       sm has-adoptable
       sm get-primary-storage-uuid
       sm set-force-adoptable [on|off|default]
       sm set-virtual-disk [true|false]

       sm partition DISK [public|private|mixed] [ratio]
       sm mount VOLUME
       sm unmount VOLUME
       sm format VOLUME
       sm benchmark VOLUME
       sm idle-maint [run|abort]
       sm fstrim

       sm forget [UUID|all]

       sm set-emulate-fbe [true|false]

       sm set-isolated-storage [on|off|default]

1|HLTE203T:/ $ sm partition disk:179,32 private
  • public 全外部
  • private 內部
  • mixed [ratio] 內外比例

    sm partition disk:179,32 mixed 30表示30%用作內部存儲

設置允許安裝應用到外部存儲

開發者模式,啟用強制允許將應用寫入外部存儲設備

移動程序

應用管理>應用名>應用信息>存儲和緩存>更改為SD卡


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM