..

jeudi 19 mars 2015

[Q] Lollipop, stock external_SD filesystem ext4 topic


My external sd is formatted to ext4, on kitkat i have no issues. My g3 is sprint version, I'm wondering if any other version of g3 have this issue.

Here is my question on Sprint G3 Q&A
http://forum.xda-developers.com/spri...unted-t3058633



Running BarePOP rom, a lollipop, Android 5
My external sdcard is using ext4 filesystem, in BarRin rom I had no issues.
I think is a fuse problem, I've tried to unmount and remount card
I can access /mnt/media_rw/external_SD


I see it's mounted properly

Code:


/dev/block/vold/179:65 /mnt/media_rw/external_SD ext4 rw,dirsync,seclabel,relatime,data=ordered 0 0
/dev/fuse /storage/external_SD fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0


I've tried messing with sdcard command. changed uid & gid to 1015,1023,1035
SDCARD_RW 1015 /* external storage write access */
MEDIA_RW 1023 /* internal media storage write access */
SDCARD_ALL 1035 /* access all users external storage */


Code:


[1]+ sdcard /mnt/media_rw/external_SD /storage/external_SD 1023 1023 &
tmp-mksh-4.3# ls -la /storage/                                             
drwx------ root    root              1970-01-18 21:43 USBstorage1
drwx------ root    root              1970-01-18 21:43 USBstorage2
drwx------ root    root              1970-01-18 21:43 USBstorage3
drwx------ root    root              1970-01-18 21:43 USBstorage4
drwx------ root    root              1970-01-18 21:43 USBstorage5
drwx------ root    root              1970-01-18 21:43 USBstorage6
dr-xr-xr-x root    root              1970-01-18 21:43 emulated
lstat '/storage//external_SD' failed: Permission denied
lrwxrwxrwx root    root              1970-01-18 21:43 sdcard0 -> /storage/emulated/legacy



This error
emulated
lstat '/storage//external_SD' failed: Permission denied

xda-developers