|
楼主 |
发表于 2019-9-1 15:26
|
显示全部楼层
There's a way to write to USB, according to https://4pda.ru/forum/index.php?showtopi...ry54536065
First you need to activate debug mode on your android tv, then adb into it into root mode:
adb connect 192.168.x.x
adb root
adb connect 192.168.x.x
adb shell mount -o rw,remount /
adb shell mount -o rw,remount /system
adb pull /data/system/packages.xml ~/Downloads/packages.xml
adb pull /data/system/packages.list ~/Downloads/packages.list
Now you should find your package name in packages.list and then edit packages.xml in your Downloads folder.
Find the apps section you want (e.g. com.ghisler.android.TotalCommander), locate its <perms> section and add the following line:
<item name="android.permission.WRITE_MEDIA_STORAGE" granted="true" flags="0" />
same goes for Kodi etc..
Then save and upload the packages.xml back on your android tv:
adb push ~/Downloads/packages.xml /data/system/packages.xml
Turn debug off and reboot the system.
You should be able to access your USB drive for read+write from Total Terminal now! |
|