问题描述:
按照A33 Android快速移植指南中配置单用户方式,MID已mass storage挂载到PC,PC上能正常打开,MID上界面不刷新。拔掉usb后,sdcard不能重新挂载到MID。
受影响版本:A33 V1.0 单用户模式
解决方法:
device/softwinner/polaris-common$ git diff
diff --git a/sepolicy/vold.te b/sepolicy/vold.te
index 9c9a06f..a94466c 100755
--- a/sepolicy/vold.te
+++ b/sepolicy/vold.te
@ -1,6 +1,6
allow vold mount_exec:file x_file_perms;
allow vold device:blk_file { rw_file_perms create };
-allow vold device:dir create;
+allow vold device:dir create_dir_perms;
allow vold log_device:dir write;
allow vold kernel:system module_request;
按照A33 Android快速移植指南中配置单用户方式,MID已mass storage挂载到PC,PC上能正常打开,MID上界面不刷新。拔掉usb后,sdcard不能重新挂载到MID。
受影响版本:A33 V1.0 单用户模式
解决方法:
device/softwinner/polaris-common$ git diff
diff --git a/sepolicy/vold.te b/sepolicy/vold.te
index 9c9a06f..a94466c 100755
--- a/sepolicy/vold.te
+++ b/sepolicy/vold.te
@ -1,6 +1,6
allow vold mount_exec:file x_file_perms;
allow vold device:blk_file { rw_file_perms create };
-allow vold device:dir create;
+allow vold device:dir create_dir_perms;
allow vold log_device:dir write;
allow vold kernel:system module_request;