Open dzmitry-lahoda opened 9 years ago
It is available /storage/sdcard1? I fixed this in https://github.com/fvasco/CosyDVR/commit/2ec05bee5f12129030133d1badd4bec3846fd182
This bug makes software unusable.
Hi asd-and-Rizzo, I might have fixed your problem in https://github.com/fvasco/CosyDVR/commit/56aa2ed47b745fc1b636d769532c776a7f2cee87
I hope that a new version will released as soon as possible: fill internal memory makes my phone unusable.
Re-factored SD cards detection. Needs checking on different devices and feed back
My path is /storage/extSdCard
as in screenshot attached. I hope to test possible fixes when these get to F-droid:)
The nice fix doesn't work well.
Cosy show two path options:
The first one works correctly (and hangs my phone), the second one is an inaccessible folder and if I starts recording then CosyDVR crashes.
v1.3.9 - trying to fix KitKat SDcard issue. Now video is written to [SDcard]/Android/data/es.esy.CosyDVR/temp or fav. Please check it out.
v1.3.9 exposes same behaviour: it doesn't work.
Commit https://github.com/sergstetsuk/CosyDVR/commit/aaa832b8c124b12363a049954e3f284301900a72 doesn't work on Moto G2 Lollipop, I attach some logs to diagnose problem.
Regards.
shell@titan_umtsds:/ $ cat /proc/mounts |grep vfat|grep "/mnt"
/dev/block/vold/179:65 /mnt/media_rw/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0 /dev/block/vold/179:65 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
shell@titan_umtsds:/ $ ll /mnt/
drwxr-xr-x root system 2015-06-27 16:43 asec drwx------ media_rw media_rw 1970-02-13 11:14 media_rw drwxr-xr-x root system 1970-02-13 11:14 obb lrwxrwxrwx root root 1970-02-13 11:14 sdcard -> /storage/emulated/legacy drwx------ root root 1970-02-13 11:14 secure drwx------ shell shell 1970-02-13 11:14 shell
shell@titan_umtsds:/ $ cat /proc/mounts
rootfs / rootfs ro,relatime 0 0 tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=447020k,nr_inodes=111755,mode=755 0 0 devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0 proc /proc proc rw,relatime 0 0 sysfs /sys sysfs rw,seclabel,relatime 0 0 selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0 debugfs /sys/kernel/debug debugfs rw,relatime 0 0 none /acct cgroup rw,relatime,cpuacct 0 0 none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=447020k,nr_inodes=111755,mode=750,gid=1000 0 0 none /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0 tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=447020k,nr_inodes=111755,mode=755,gid=1000 0 0 tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=447020k,nr_inodes=111755,mode=755,gid=1000 0 0 none /dev/memcg cgroup rw,relatime,memory 0 0 none /dev/cpuctl cgroup rw,relatime,cpu 0 0 /dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0 /dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,nodiratime,data=ordered 0 0 /dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime,data=ordered 0 0 /dev/block/platform/msm_sdcc.1/by-name/modem /firmware ext4 ro,context=u:object_r:firmware_file:s0,nosuid,nodev,relatime,data=ordered 0 0 /dev/block/platform/msm_sdcc.1/by-name/pds /pds ext4 rw,defcontext=u:object_r:pds_file:s0,seclabel,nosuid,nodev,noatime,nodiratime,errors=remount-ro,data=ordered 0 0 /dev/block/platform/msm_sdcc.1/by-name/fsg /fsg ext4 ro,context=u:object_r:fsg_file:s0,nosuid,nodev,relatime 0 0 /dev/block/vold/179:65 /mnt/media_rw/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0 /dev/block/vold/179:65 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0 /dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0 /dev/block/dm-0 /data f2fs rw,seclabel,nosuid,nodev,noatime,nodiratime,background_gc=on,discard,user_xattr,inline_xattr,acl,inline_data,nobarrier,active_logs=6 0 0 /data/media /mnt/shell/emulated esdfs rw,relatime,upper=0:1028:660:771,derive=legacy,nosplit 0 0 /data/media /storage/emulated/legacy esdfs rw,relatime,upper=0:1028:660:771,derive=legacy,nosplit 0 0 /dev/block/dm-1 /mnt/asec/com.ikea.app-2 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0 /dev/block/dm-2 /mnt/asec/com.google.android.stardroid-2 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0 /dev/block/dm-3 /mnt/asec/name.boyle.chris.sgtpuzzles-2 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0 /dev/block/dm-4 /mnt/asec/com.mendhak.gpslogger-2 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0 /dev/block/dm-5 /mnt/asec/org.wikipedia-2 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0 /dev/block/dm-6 /mnt/asec/net.androgames.level-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0 /dev/block/dm-7 /mnt/asec/net.etuldan.sparss.floss-2 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0 /dev/block/dm-8 /mnt/asec/com.waze-2 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0 /dev/block/dm-9 /mnt/asec/com.elsdoerfer.android.autostarts-2 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0 /dev/block/dm-10 /mnt/asec/org.videolan.vlc-2 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0 /dev/block/dm-11 /mnt/asec/org.fdroid.fdroid-2 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
Same issue on Galaxy Note 3, SMN9008V Android 5.0. It shows /mnt/media_rw/sdcard1 but this folder does not exist.
I have upgraded Samsung Galaxy 5 to Android 6.X and still have issue. CosyDVR fails to write to external card. Also I found that open source Seafile can write to external card to paths attached. It would be great CosyDVR write to these paths or allow for #24.
Check out v1.3.19 it scans getExternalMediaDirs and getExternalFilesDirs for API 21+ and 19+
CosyDVR does not see external SD card on subject device.
Other applications see this as attached. Highscreen Boost 2 SE II(Innos D10) with same SD card works well.