Here's my current set of privileges: root@android:/ # ls -l ... drwxrwxr-x system system 1970-01-02 00:32 mnt lrwxrwxrwx root root 1970-01-02 01:04 nand -> /storage/sdcard0 lrwxrwxrwx root root 1970-01-02 01:04 sdcard -> /storage/sdcard0 ...
root@android:/ # ls -l mnt drwxr-xr-x root system 1970-01-01 00:00 asec lrwxrwxrwx root root 1970-01-02 00:32 ext_sdcard -> /storage/sdcard1 drwxr-xr-x root system 1970-01-01 00:00 obb lrwxrwxrwx root root 1970-01-02 00:32 sdcard -> /storage/sdcard0 drwx------ root root 1970-01-02 00:32 secure lrwxrwxrwx root root 1970-01-02 00:32 u_disk -> /storage/usbdisk0 root@android:/ # ls -l /storage d---rwxr-x system sdcard_rw 1970-01-01 00:00 sdcard0 d--------- system system 1970-01-02 00:36 sdcard1 d--------- system system 1970-01-02 00:36 usbdisk0 root@android:/ # ls -la /mnt/sdcard/ d--------- root root 1970-01-02 00:00 .android_secure ... On Monday, 11 February 2013 17:52:47 UTC+1, ffxx68 wrote: > > I've put also my init.rc (all in one) in the same DropBox folder. > > On Monday, 11 February 2013 16:49:37 UTC+1, ffxx68 wrote: >> >> I'm porting AOSP JB to a tablet and getting this error, which I don't >> understnad the reason of: >> >> *W/MediaScanner( 487): Error opening directory >> '/mnt/sdcard/.android_secure/', skipping: Permission denied. >> * >> Here's my mount list: >> >> root@android:/ # mount >> rootfs / rootfs rw 0 0 >> /dev/root / ext3 rw,relatime,errors=continue,barrier=0,data=writeback 0 0 >> tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0 >> devpts /dev/pts devpts rw,relatime,mode=600 0 0 >> proc /proc proc rw,relatime 0 0 >> sysfs /sys sysfs rw,relatime 0 0 >> tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0 >> tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0 >> none /dev/cpuctl cgroup rw,relatime,cpu 0 0 >> /dev/block/mmcblk0p6 /data ext3 >> rw,nosuid,nodev,relatime,errors=continue,barrier=0,data=writeback 0 0 >> /dev/block/vold/179:7 /storage/sdcard0 vfat >> rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro >> >> 0 0 >> /dev/block/vold/179:7 /mnt/secure/asec vfat >> rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro >> >> 0 0 >> tmpfs /storage/sdcard0/.android_secure tmpfs ro,relatime,size=0k,mode=000 >> 0 0 >> >> Below the relevant init.rc lines (which are exactly the same as in AOSP, >> as far as I could see): >> >> $ adb shell cat init.rc | grep mnt >> export ASEC_MOUNTPOINT /mnt/asec >> export LOOP_MOUNTPOINT /mnt/obb >> mkdir /mnt 0775 root system >> symlink /storage/sdcard0 /mnt/sdcard >> symlink /storage/sdcard1 /mnt/ext_sdcard >> symlink /storage/sdcard1 /mnt/sdcard/sd_external >> symlink /storage/usbdisk0 /mnt/u_disk >> mkdir /mnt/secure 0700 root root >> mkdir /mnt/secure/staging 0700 root root >> mkdir /mnt/secure/asec 0700 root root >> mkdir /mnt/asec 0700 root system >> mount tmpfs tmpfs /mnt/asec mode=0755,gid=1000 >> mkdir /mnt/obb 0700 root system >> mount tmpfs tmpfs /mnt/obb mode=0755,gid=1000 >> >> and the vold.fstab >> >> $ adb shell cat system/etc/vold.fstab >> ## Vold 2.0 Generic fstab >> # ... >> dev_mount sdcard /storage/sdcard0 7 >> /devices/platform/emxx_sdio.0/mmc_host/mmc0 >> dev_mount ext_sdcard /storage/sdcard1 auto >> /devices/platform/emxx_sdc/mmc_host/mmc1 >> dev_mount u_disk /storage/usbdisk0 1 >> /devices/platform/emxx-ehci-driver/usb1/1-1 >> >> Question 1 ) what's wrong with this setup?* >> >> *Question 2 ) Could this may impact media playback? System fails while >> trying to play sample files ( >> https://groups.google.com/forum/?fromgroups=#!topic/renesas-emev-osp/6xro-yO31VI[1-25-false] >> ) >> >> Complete logcat stored in: >> https://www.dropbox.com/sh/k4j9493x3tp850h/6bJM_lgJjW >> > -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.