2018-03-30, 13:44
(2018-03-30, 10:44)mallexxx Wrote: There's a way to write to USB, according to https://4pda.ru/forum/index.php?showtopi...ry54536065
<item name="android.permission.WRITE_MEDIA_STORAGE" granted="true" flags="0" />
same goes for Kodi etc..
IT DOES.., finally!
Did it without ADB, just copied packages.xml to PC, edited it and copied it back to the box - rebooted.., and full USB write access granted
On my box now it looks like this:
<package name="org.xbmc.kodi" codePath="/data/app/org.xbmc.kodi-2" nativeLibraryPath="/data/app/org.xbmc.kodi-2/lib" primaryCpuAbi="armeabi-v7a" publicFlags="940097094" privateFlags="0" ft="1627693f1f0" it="161715762ee" ut="1627694263c" version="1799702" userId="10063" installer="com.android.packageinstaller">
<sigs count="1">
<cert index="29"
</sigs>
<perms>
<item name="android.permission.MODIFY_AUDIO_SETTINGS" granted="true" flags="0" />
<item name="android.permission.RECEIVE_BOOT_COMPLETED" granted="true" flags="0" />
<item name="android.permission.BLUETOOTH" granted="true" flags="0" />
<item name="android.permission.GET_TASKS" granted="true" flags="0" />
<item name="android.permission.INTERNET" granted="true" flags="0" />
<item name="android.permission.READ_EXTERNAL_STORAGE" granted="true" flags="0" />
<item name="android.permission.WRITE_MEDIA_STORAGE" granted="true" flags="0" />
<item name="android.permission.ACCESS_NETWORK_STATE" granted="true" flags="0" />
<item name="android.permission.WRITE_EXTERNAL_STORAGE" granted="true" flags="0" />
<item name="android.permission.WAKE_LOCK" granted="true" flags="0" />
</perms>