[Android Software Development] danarama:
Hi,

I'm not sure my detach all pairs tasker task is working.

Here is my usage.

I have a tasker quick tile that detaches all pairs then immediately mounts all pairs. The reason for this is sometimes my OTG can get knocked and unmount but the pairs will be attached so I wanted a single shortcut to attach but to ensure everything was detached first.

I've noticed however that it isn't actually doing the detach so the shortcut isn't working as I'd expect. I have to detach within the app itself, which works without issue.

I have tried detach as its own task too, but the same result, the pairs seem to remain attached.

I've never had to test the tasks ability to detach until now so I have no idea if it ever worked on previous roms or kernels although I can't see why they would affect this.

Any advice greatly appreciated.

Please see log attached

Model: Nexus 5
Manufacturer: LGE
Device: hammerhead
CPU ABI: armeabi-v7a
Android ver: 19
ID: slim_hammerhead-userdebug 4.4.2 KVT49L 3837 test-keys
FM version: v2.6.4
Secondary storage: /
Secondary storage env:
Emualted: YES

Mount points:
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 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 /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /storage tmpfs rw,seclabel,relatime,mode=050,gid=1028 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,mode=050,gid=1028 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
/dev/block/dm-0 /mnt/asec/net.dinglisch.android.taskerm-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-1 /mnt/asec/com.teamkang.fauxclock-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-2 /mnt/asec/com.keramidas.TitaniumBackupPro-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-3 /mnt/asec/dk.tacit.android.foldersync.full-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-4 /mnt/asec/com.dama.papercamera-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/fuse tmpfs rw,seclabel,relatime,mode=775,gid=1000 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/userdata /data ext4 rw,seclabel,nosuid,nodev,noatime,journal_checksum,journal_async_commit,noauto_da_alloc,errors=panic,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,journal_checksum,journal_async_commit,noauto_da_alloc,errors=panic,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,seclabel,nosuid,nodev,relatime,nomblk_io_submit,nodelalloc,errors=panic,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/0/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/8:1 /mnt/media_rw/usbdisk 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/usbdisk fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/8:1 /data/media/obb/com.bjork.biophilia 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/8:1 /data/media/obb/com.madfingergames.deadtrigger2 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/8:1 /data/media/obb/com.com2us.defensetechnica.normal.freefull.google.global.android.common 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/8:1 /data/media/obb/com.gameloft.android.ANMP.GloftRAHM 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/8:1 /data/media/obb/com.rockstargames.gtasa 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/8:1 /data/media/obb/com.Alper.Manuganu 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/8:1 /data/media/obb/com.ea.game.pvz2_row 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/8:1 /data/media/obb/com.imangi.templerun2 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/8:1 /data/media/obb/com.FireproofStudios.TheRoom 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

DF:
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 933292 128 933164 0% /dev
none 933292 12 933280 0% /sys/fs/cgroup
tmpfs 933292 0 933292 0% /storage
tmpfs 933292 0 933292 0% /storage/emulated
tmpfs 933292 0 933292 0% /mnt/asec
/dev/block/dm-0 5100 3404 1696 67% /mnt/asec/net.dinglisch.android.taskerm-1
/dev/block/dm-1 3052 1704 1348 56% /mnt/asec/com.teamkang.fauxclock-1
/dev/block/dm-2 2028 72 1956 4% /mnt/asec/com.keramidas.TitaniumBackupPro-1
/dev/block/dm-3 11240 9760 1480 87% /mnt/asec/dk.tacit.android.foldersync.full-1
/dev/block/dm-4 24540 22756 1784 93% /mnt/asec/com.dama.papercamera-1
tmpfs 933292 0 933292 0% /mnt/obb
tmpfs 933292 0 933292 0% /mnt/fuse
/dev/block/platform/msm_sdcc.1/by-name/system
1030828 566136 464692 55% /system
/dev/block/platform/msm_sdcc.1/by-name/userdata
13160604 10181520 2979084 77% /data
/dev/block/platform/msm_sdcc.1/by-name/cache
704760 11256 693504 2% /cache
/dev/block/platform/msm_sdcc.1/by-name/persist
16084 4184 11900 26% /persist
/dev/block/platform/msm_sdcc.1/by-name/modem
65488 42016 23472 64% /firmware
/dev/fuse 13160604 10181520 2979084 77% /mnt/shell/emulated
/dev/fuse 13160604 10181520 2979084 77% /storage/emulated/0
/dev/fuse 13160604 10181520 2979084 77% /storage/emulated/0/Android/obb
/dev/fuse 13160604 10181520 2979084 77% /storage/emulated/legacy
/dev/fuse 13160604 10181520 2979084 77% /storage/emulated/legacy/Android/obb
/dev/block/vold/8:1 7853090 5057654 2795436 64% /mnt/media_rw/usbdisk
/dev/fuse 7853090 5057654 2795436 64% /storage/usbdisk
/dev/block/vold/8:1 7853090 5057654 2795436 64% /data/media/obb/com.bjork.biophilia
/dev/block/vold/8:1 7853090 5057654 2795436 64% /data/media/obb/com.madfingergames.deadtrigger2
/dev/block/vold/8:1 7853090 5057654 2795436 64% /data/media/obb/com.com2us.defensetechnica.normal.freefull.google.global.android.common
/dev/block/vold/8:1 7853090 5057654 2795436 64% /data/media/obb/com.gameloft.android.ANMP.GloftRAHM
/dev/block/vold/8:1 7853090 5057654 2795436 64% /data/media/obb/com.rockstargames.gtasa
/dev/block/vold/8:1 7853090 5057654 2795436 64% /data/media/obb/com.Alper.Manuganu
/dev/block/vold/8:1 7853090 5057654 2795436 64% /data/media/obb/com.ea.game.pvz2_row
/dev/block/vold/8:1 7853090 5057654 2795436 64% /data/media/obb/com.imangi.templerun2
/dev/block/vold/8:1 7853090 5057654 2795436 64% /data/media/obb/com.FireproofStudios.TheRoom

Folder pairs:
Source: /storage/emulated/0/Android/obb/com.bjork.biophilia
Destin: /mnt/media_rw/usbdisk/Android/obb/com.bjork.biophilia
Source: /storage/emulated/0/Android/obb/com.madfingergames.deadtrigger2
Destin: /mnt/media_rw/usbdisk/Android/obb/com.madfingergames.deadtrigger2
Source: /storage/emulated/0/Android/obb/com.com2us.defensetechnica.normal.freefull.google.global.android.common
Destin: /mnt/media_rw/usbdisk/Android/obb/com.com2us.defensetechnica.normal.freefull.google.global.android.common
Source: /storage/emulated/0/Android/obb/com.gameloft.android.ANMP.GloftRAHM
Destin: /mnt/media_rw/usbdisk/Android/obb/com.gameloft.android.ANMP.GloftRAHM
Source: /storage/emulated/0/Android/obb/com.rockstargames.gtasa
Destin: /mnt/media_rw/usbdisk/Android/obb/com.rockstargames.gtasa
Source: /storage/emulated/0/Android/obb/com.Alper.Manuganu
Destin: /mnt/media_rw/usbdisk/Android/obb/com.Alper.Manuganu
Source: /storage/emulated/0/Android/obb/com.ea.game.pvz2_row
Destin: /mnt/media_rw/usbdisk/Android/obb/com.ea.game.pvz2_row
Source: /storage/emulated/0/Android/obb/com.imangi.templerun2
Destin: /mnt/media_rw/usbdisk/Android/obb/com.imangi.templerun2
Source: /storage/emulated/0/Android/obb/com.FireproofStudios.TheRoom
Destin: /mnt/media_rw/usbdisk/Android/obb/com.FireproofStudios.TheRoom