d4rken-org / sdmaid

SD Maid is an Android app that helps you manage files and apps.
https://play.google.com/store/apps/details?id=eu.thedarken.sdm
1.52k stars 750 forks source link

Copying/Moving from the sdcard to /data/nvram fails #251

Closed d4rken closed 8 years ago

d4rken commented 9 years ago

Originally reported by: Bitbucket: d4rken, GitHub: d4rken


See http://forum.xda-developers.com/showthread.php?t=2730486

Device

#!bash

LEAGOO/LEAGOO/LEAGOO:4.4.2/KOT49H/1433832856:user/dev-keys/de_DE
SD Maid: 3.1.3.9[376]
Unlocker: 2.1.1.1[104]
Root: true
Storage0: /storage/sdcard1
Storage1: /storage/sdcard0

d4rken commented 9 years ago

Original comment by Bitbucket: d4rken, GitHub: d4rken:


Storage layout

#!text

1442153014122 V/SDM:Shell:StaticExecutor: $BUSYBOX mount
1442153014125 V/SDM:Shell:Harvester: Output:rootfs on / type rootfs (ro,seclabel,relatime)
1442153014126 V/SDM:Shell:Harvester: Output:tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)
1442153014126 V/SDM:Shell:Harvester: Output:devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
1442153014126 V/SDM:Shell:Harvester: Output:proc on /proc type proc (rw,relatime)
1442153014126 V/SDM:Shell:Harvester: Output:sysfs on /sys type sysfs (rw,seclabel,relatime)
1442153014127 V/SDM:Shell:Harvester: Output:selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
1442153014129 V/SDM:Shell:Harvester: Output:none on /acct type cgroup (rw,relatime,cpuacct)
1442153014129 V/SDM:Shell:Harvester: Output:none on /sys/fs/cgroup type tmpfs (rw,seclabel,relatime,mode=750,gid=1000)
1442153014129 V/SDM:Shell:Harvester: Output:tmpfs on /mnt/secure type tmpfs (rw,seclabel,relatime,mode=700)
1442153014130 V/SDM:Shell:Harvester: Output:tmpfs on /mnt/asec type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
1442153014130 V/SDM:Shell:Harvester: Output:tmpfs on /mnt/obb type tmpfs (rw,seclabel,relatime,mode=755,gid=1000)
1442153014131 V/SDM:Shell:Harvester: Output:none on /dev/cpuctl type cgroup (rw,relatime,cpu)
1442153014132 V/SDM:Shell:Harvester: Output:/emmc@android on /system type ext4 (ro,seclabel,relatime,noauto_da_alloc,commit=1,data=ordered)
1442153014133 V/SDM:Shell:Harvester: Output:/emmc@usrdata on /data type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered)
1442153014134 V/SDM:Shell:Harvester: Output:/emmc@cache on /cache type ext4 (rw,seclabel,nosuid,nodev,noatime,discard,noauto_da_alloc,data=ordered)
1442153014134 V/SDM:Shell:Harvester: Output:/emmc@protect_f on /protect_f type ext4 (rw,seclabel,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered)
1442153014135 V/SDM:Shell:Harvester: Output:/emmc@protect_s on /protect_s type ext4 (rw,seclabel,nosuid,nodev,noatime,nodelalloc,noauto_da_alloc,commit=1,data=ordered)
1442153014136 V/SDM:Shell:Harvester: Output:/dev/block/loop0 on /mnt/cd-rom type iso9660 (ro,relatime)
1442153014139 V/SDM:Shell:Harvester: Output:/dev/block/vold/179:8 on /mnt/media_rw/sdcard1 type 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)
1442153014139 V/SDM:Shell:Harvester: Output:/dev/fuse on /storage/sdcard1 type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
1442153014140 V/SDM:Shell:Harvester: Output:/dev/block/vold/179:97 on /mnt/media_rw/sdcard0 type 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)
1442153014140 V/SDM:Shell:Harvester: Output:/dev/block/vold/179:97 on /mnt/secure/asec type 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)
1442153014141 V/SDM:Shell:Harvester: Output:/dev/fuse on /storage/sdcard0 type fuse (rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other)
1442153014142 V/SDM:Shell:StaticExecutor: Exitcode: 0
1442153014162 D/SDM:StorageManager: fillInSizes
1442153014163 V/SDM:Shell:StaticExecutor: SHELLDELAY:100
1442153014293 V/SDM:Shell:StaticExecutor: $BUSYBOX df -P
1442153014299 V/SDM:Shell:Harvester: Error:df: /mnt/media_rw/sdcard1: Permission denied
1442153014299 V/SDM:Shell:Harvester: Output:Filesystem           1024-blocks    Used Available Capacity Mounted on
1442153014300 V/SDM:Shell:Harvester: Error:df: /mnt/media_rw/sdcard0: Permission denied
1442153014300 V/SDM:Shell:Harvester: Error:df: /mnt/secure/asec: Permission denied
1442153014302 V/SDM:Shell:Harvester: Output:tmpfs                   492944       128    492816   0% /dev
1442153014302 V/SDM:Shell:Harvester: Output:none                    492944        12    492932   0% /sys/fs/cgroup
1442153014303 V/SDM:Shell:Harvester: Output:tmpfs                   492944         0    492944   0% /mnt/secure
1442153014303 V/SDM:Shell:Harvester: Output:tmpfs                   492944         0    492944   0% /mnt/asec
1442153014304 V/SDM:Shell:Harvester: Output:tmpfs                   492944         0    492944   0% /mnt/obb
1442153014304 V/SDM:Shell:Harvester: Output:/emmc@android           907096    845164     61932  93% /system
1442153014305 V/SDM:Shell:Harvester: Output:/emmc@usrdata          2099420    714632   1384788  34% /data
1442153014305 V/SDM:Shell:Harvester: Output:/emmc@cache             125984      4152    121832   3% /cache
1442153014305 V/SDM:Shell:Harvester: Output:/emmc@protect_f           9056      4148      4908  46% /protect_f
1442153014306 V/SDM:Shell:Harvester: Output:/emmc@protect_s           9056      4144      4912  46% /protect_s
1442153014306 V/SDM:Shell:Harvester: Output:/dev/block/loop0          1566      1566         0 100% /mnt/cd-rom
1442153014307 V/SDM:Shell:Harvester: Output:/dev/fuse              4344256      3680   4340576   0% /storage/sdcard1
1442153014307 V/SDM:Shell:Harvester: Output:/dev/fuse             15346688   4636832  10709856  30% /storage/sdcard0
1442153014308 V/SDM:Shell:StaticExecutor: Exitcode: 1
1442153014323 D/SDM:StorageManager: fillInDeviceNames
1442153014324 V/SDM:Shell:StaticExecutor: SHELLDELAY:100
1442153014450 V/SDM:Shell:StaticExecutor: $BUSYBOX find /dev/block/platform/ -ipath "*by-name/*" -exec stat -c %N {} \;
1442153014453 V/SDM:Shell:StaticExecutor: Exitcode: 0
1442153014454 D/SDM:StorageManager: lookIntoShell
1442153014455 V/SDM:Shell:StaticExecutor: SHELLDELAY:100
1442153014586 V/SDM:Shell:StaticExecutor: export -p
1442153014587 V/SDM:Shell:Harvester: Output:export ANDROID_ASSETS=/system/app
1442153014588 V/SDM:Shell:Harvester: Output:export ANDROID_BOOTLOGO=1
1442153014589 V/SDM:Shell:Harvester: Output:export ANDROID_DATA=/data
1442153014589 V/SDM:Shell:Harvester: Output:export ANDROID_PROPERTY_WORKSPACE=8,0
1442153014589 V/SDM:Shell:Harvester: Output:export ANDROID_ROOT=/system
1442153014590 V/SDM:Shell:Harvester: Output:export ANDROID_SOCKET_zygote=9
1442153014590 V/SDM:Shell:Harvester: Output:export ANDROID_STORAGE=/storage
1442153014591 V/SDM:Shell:Harvester: Output:export ASEC_MOUNTPOINT=/mnt/asec
1442153014591 V/SDM:Shell:Harvester: Output:export BOOTCLASSPATH=/system/framework/core.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/webviewchromium.jar:/system/framework/mediatek-common.jar:/system/framework/mediatek-framework.jar:/system/framework/CustomProperties.jar:/system/framework/mediatek-telephony-common.jar:/system/framework/mediatek-tablet.jar
1442153014592 V/SDM:Shell:Harvester: Output:export BOOTCLASSPATH_EX=/system/framework/mediatek-op.jar
1442153014592 V/SDM:Shell:Harvester: Output:export EXTERNAL_STORAGE=/storage/sdcard0
1442153014593 V/SDM:Shell:Harvester: Output:export HOME
1442153014593 V/SDM:Shell:Harvester: Output:export LD_LIBRARY_PATH=/vendor/lib:/system/lib:/custom/lib
1442153014593 V/SDM:Shell:Harvester: Output:export LOOP_MOUNTPOINT=/mnt/obb
1442153014594 V/SDM:Shell:Harvester: Output:export PATH=/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin
1442153014594 V/SDM:Shell:Harvester: Output:export RANDOM=5368
1442153014595 V/SDM:Shell:Harvester: Output:export SHELL
1442153014595 V/SDM:Shell:Harvester: Output:export USBOTG_STORAGE=/storage/usbotg
1442153014596 V/SDM:Shell:StaticExecutor: Exitcode: 0
1442153014601 V/SDM:Shell:StaticExecutor: SHELLDELAY:100
1442153014732 V/SDM:Shell:StaticExecutor: echo $EMULATED_STORAGE_SOURCE
1442153014733 V/SDM:Shell:StaticExecutor: echo $EMULATED_STORAGE_TARGET
1442153014734 V/SDM:Shell:Harvester: Output:
1442153014735 V/SDM:Shell:Harvester: Output:
1442153014736 V/SDM:Shell:StaticExecutor: Exitcode: 0
1442153014737 D/SDM:StorageManager: RDR unavailable or not necessary
1442153014808 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:0 | mUsed:0 | mBlockDevice:rootfs | fileSystemType:ROOTFS | mLabel:null | mMountpoint:/ | mOptions:[seclabel, relatime, ro] | mDocumentsProviderUri:null
1442153014808 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:504774656 | mUsed:131072 | mBlockDevice:tmpfs | fileSystemType:TMPFS | mLabel:null | mMountpoint:/dev | mOptions:[mode=755, seclabel, relatime, nosuid, rw] | mDocumentsProviderUri:null
1442153014809 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:0 | mUsed:0 | mBlockDevice:devpts | fileSystemType:DEVPTS | mLabel:null | mMountpoint:/dev/pts | mOptions:[seclabel, relatime, rw, mode=600] | mDocumentsProviderUri:null
1442153014809 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:0 | mUsed:0 | mBlockDevice:proc | fileSystemType:PROC | mLabel:null | mMountpoint:/proc | mOptions:[relatime, rw] | mDocumentsProviderUri:null
1442153014809 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:0 | mUsed:0 | mBlockDevice:sysfs | fileSystemType:SYSFS | mLabel:null | mMountpoint:/sys | mOptions:[seclabel, relatime, rw] | mDocumentsProviderUri:null
1442153014810 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:0 | mUsed:0 | mBlockDevice:selinuxfs | fileSystemType:UNKNOWN | mLabel:null | mMountpoint:/sys/fs/selinux | mOptions:[relatime, rw] | mDocumentsProviderUri:null
1442153014810 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:0 | mUsed:0 | mBlockDevice:none | fileSystemType:CGROUP | mLabel:null | mMountpoint:/acct | mOptions:[cpuacct, relatime, rw] | mDocumentsProviderUri:null
1442153014811 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:504774656 | mUsed:12288 | mBlockDevice:none | fileSystemType:TMPFS | mLabel:null | mMountpoint:/sys/fs/cgroup | mOptions:[gid=1000, seclabel, mode=750, relatime, rw] | mDocumentsProviderUri:null
1442153014812 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:504774656 | mUsed:0 | mBlockDevice:tmpfs | fileSystemType:TMPFS | mLabel:null | mMountpoint:/mnt/secure | mOptions:[seclabel, relatime, rw, mode=700] | mDocumentsProviderUri:null
1442153014812 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:504774656 | mUsed:0 | mBlockDevice:tmpfs | fileSystemType:TMPFS | mLabel:null | mMountpoint:/mnt/asec | mOptions:[gid=1000, mode=755, seclabel, relatime, rw] | mDocumentsProviderUri:null
1442153014813 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:504774656 | mUsed:0 | mBlockDevice:tmpfs | fileSystemType:TMPFS | mLabel:null | mMountpoint:/mnt/obb | mOptions:[gid=1000, mode=755, seclabel, relatime, rw] | mDocumentsProviderUri:null
1442153014813 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:0 | mUsed:0 | mBlockDevice:none | fileSystemType:CGROUP | mLabel:null | mMountpoint:/dev/cpuctl | mOptions:[cpu, relatime, rw] | mDocumentsProviderUri:null
1442153014813 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:928866304 | mUsed:865447936 | mBlockDevice:/emmc@android | fileSystemType:EXT4 | mLabel:null | mMountpoint:/system | mOptions:[noauto_da_alloc, commit=1, ro, seclabel, relatime, data=ordered] | mDocumentsProviderUri:null
1442153014814 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:PRIVATE | mSize:2149806080 | mUsed:731783168 | mBlockDevice:/emmc@usrdata | fileSystemType:EXT4 | mLabel:null | mMountpoint:/data | mOptions:[noatime, nodev, seclabel, nosuid, noauto_da_alloc, discard, rw, data=ordered] | mDocumentsProviderUri:null
1442153014814 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:129007616 | mUsed:4251648 | mBlockDevice:/emmc@cache | fileSystemType:EXT4 | mLabel:null | mMountpoint:/cache | mOptions:[noatime, nodev, seclabel, nosuid, noauto_da_alloc, discard, rw, data=ordered] | mDocumentsProviderUri:null
1442153014815 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:9273344 | mUsed:4247552 | mBlockDevice:/emmc@protect_f | fileSystemType:EXT4 | mLabel:null | mMountpoint:/protect_f | mOptions:[commit=1, noatime, nodev, seclabel, nosuid, noauto_da_alloc, nodelalloc, rw, data=ordered] | mDocumentsProviderUri:null
1442153014815 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:9273344 | mUsed:4243456 | mBlockDevice:/emmc@protect_s | fileSystemType:EXT4 | mLabel:null | mMountpoint:/protect_s | mOptions:[commit=1, noatime, nodev, seclabel, nosuid, noauto_da_alloc, nodelalloc, rw, data=ordered] | mDocumentsProviderUri:null
1442153014816 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:1603584 | mUsed:1603584 | mBlockDevice:/dev/block/loop0 | fileSystemType:UNKNOWN | mLabel:null | mMountpoint:/mnt/cd-rom | mOptions:[relatime, ro] | mDocumentsProviderUri:null
1442153014816 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:0 | mUsed:0 | mBlockDevice:/dev/block/vold/179:8 | fileSystemType:VFAT | mLabel:null | mMountpoint:/mnt/media_rw/sdcard1 | mOptions:[dmask=0007, noexec, allow_utime=0020, utf8, relatime, uid=1023, codepage=cp437, iocharset=iso8859-1, nodev, nosuid, dirsync, errors=remount-ro, shortname=mixed, fmask=0007, gid=1023, rw] | mDocumentsProviderUri:null
1442153014817 D/SDM:StorageManager: mLocation:SECONDARY | mIsCovered:false | mSecurityType:PUBLIC | mSize:4448518144 | mUsed:3768320 | mBlockDevice:/dev/fuse | fileSystemType:FUSE | mLabel:null | mMountpoint:/storage/sdcard1 | mOptions:[default_permissions, nodev, relatime, nosuid, group_id=1023, allow_other, rw, user_id=1023] | mDocumentsProviderUri:null
1442153014817 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:0 | mUsed:0 | mBlockDevice:/dev/block/vold/179:97 | fileSystemType:VFAT | mLabel:null | mMountpoint:/mnt/media_rw/sdcard0 | mOptions:[dmask=0007, noexec, allow_utime=0020, utf8, relatime, uid=1023, codepage=cp437, iocharset=iso8859-1, nodev, nosuid, dirsync, errors=remount-ro, shortname=mixed, fmask=0007, gid=1023, rw] | mDocumentsProviderUri:null
1442153014818 D/SDM:StorageManager: mLocation:UNKNOWN | mIsCovered:false | mSecurityType:UNKNOWN | mSize:0 | mUsed:0 | mBlockDevice:/dev/block/vold/179:97 | fileSystemType:VFAT | mLabel:null | mMountpoint:/mnt/secure/asec | mOptions:[dmask=0007, noexec, allow_utime=0020, utf8, relatime, uid=1023, codepage=cp437, iocharset=iso8859-1, nodev, nosuid, dirsync, errors=remount-ro, shortname=mixed, fmask=0007, gid=1023, rw] | mDocumentsProviderUri:null
1442153014818 D/SDM:StorageManager: mLocation:PRIMARY | mIsCovered:false | mSecurityType:PUBLIC | mSize:15715008512 | mUsed:4748115968 | mBlockDevice:/dev/fuse | fileSystemType:FUSE | mLabel:null | mMountpoint:/storage/sdcard0 | mOptions:[default_permissions, nodev, relatime, nosuid, group_id=1023, allow_other, rw, user_id=1023] | mDocumentsProviderUri:null
1442153014819 D/SDM:StorageManager: Found 23 storages
d4rken commented 9 years ago

Original comment by Bitbucket: d4rken, GitHub: d4rken:


Rootdir

#!text

442153028314 V/SDM:Shell:Harvester: Output:755:directory:1:2446:0:0:0:512:0:1442089770:/tmp-mksh
1442153028315 V/SDM:Shell:Harvester: Output:644:regular empty file:1:3108:0:0:0:512:0:1442089769:/emmc@custom
1442153028316 V/SDM:Shell:Harvester: Output:777:symbolic link:1:74:0:0:16:512:0:1442089768:'/sdcard' -> '/storage/sdcard0'
1442153028316 V/SDM:Shell:Harvester: Output:751:directory:1:1352:0:1028:0:512:0:1442089768:/storage
1442153028317 V/SDM:Shell:Harvester: Output:755:directory:1:1350:0:0:0:512:0:1442089768:/custom
1442153028318 V/SDM:Shell:Harvester: Output:771:directory:1:1349:1000:1000:0:512:0:1442089768:/persist
1442153028318 V/SDM:Shell:Harvester: Output:500:directory:1:1348:0:0:0:512:0:1442089768:/config
1442153028319 V/SDM:Shell:Harvester: Output:770:directory:45830:2:1000:2001:4096:512:8:1442089769:/cache
1442153028319 V/SDM:Shell:Harvester: Output:755:directory:13:3107:0:0:0:512:0:1442089768:/acct
1442153028320 V/SDM:Shell:Harvester: Output:777:symbolic link:1:3105:0:0:14:512:0:1442089768:'/vendor' -> '/system/vendor'
1442153028321 V/SDM:Shell:Harvester: Output:777:symbolic link:1:3104:0:0:17:512:0:1442089768:'/d' -> '/sys/kernel/debug'
1442153028321 V/SDM:Shell:Harvester: Output:777:symbolic link:1:3103:0:0:11:512:0:1442089768:'/etc' -> '/system/etc'
1442153028322 V/SDM:Shell:Harvester: Output:771:directory:45827:2:1000:1000:4096:512:8:1442089769:/protect_s
1442153028323 V/SDM:Shell:Harvester: Output:771:directory:45826:2:1000:1000:4096:512:8:1442089769:/protect_f
1442153028324 V/SDM:Shell:Harvester: Output:775:directory:1:2160:0:1000:0:512:0:1442089768:/mnt
1442153028324 V/SDM:Shell:Harvester: Output:777:symbolic link:1:3091:0:0:20:512:0:0:'/emmc@fat' -> '/dev/block/mmcblk0p8'
1442153028325 V/SDM:Shell:Harvester: Output:777:symbolic link:1:3090:0:0:20:512:0:0:'/emmc@usrdata' -> '/dev/block/mmcblk0p7'
1442153028325 V/SDM:Shell:Harvester: Output:777:symbolic link:1:3089:0:0:20:512:0:0:'/emmc@cache' -> '/dev/block/mmcblk0p6'
1442153028326 V/SDM:Shell:Harvester: Output:777:symbolic link:1:3088:0:0:20:512:0:0:'/emmc@android' -> '/dev/block/mmcblk0p5'
1442153028326 V/SDM:Shell:Harvester: Output:777:symbolic link:1:3087:0:0:20:512:0:0:'/emmc@sec_ro' -> '/dev/block/mmcblk0p4'
1442153028330 V/SDM:Shell:Harvester: Output:777:symbolic link:1:3086:0:0:20:512:0:0:'/emmc@protect_s' -> '/dev/block/mmcblk0p3'
1442153028332 V/SDM:Shell:Harvester: Output:777:symbolic link:1:3085:0:0:20:512:0:0:'/emmc@protect_f' -> '/dev/block/mmcblk0p2'
1442153028333 V/SDM:Shell:Harvester: Output:777:symbolic link:1:3084:0:0:20:512:0:0:'/emmc@ebr1' -> '/dev/block/mmcblk0p1'
1442153028334 V/SDM:Shell:Harvester: Output:644:regular file:1:1079:0:0:6729:512:16:0:/ueventd.rc
1442153028334 V/SDM:Shell:Harvester: Output:755:directory:45829:2:0:0:4096:512:8:1420071414:/system
1442153028335 V/SDM:Shell:Harvester: Output:555:directory:12:1:0:0:0:512:0:1442089766:/sys
1442153028336 V/SDM:Shell:Harvester: Output:644:regular file:1:1076:0:0:231693:512:456:0:/sepolicy
1442153028337 V/SDM:Shell:Harvester: Output:644:regular file:1:1075:0:0:663:512:8:0:/seapp_contexts
1442153028337 V/SDM:Shell:Harvester: Output:750:directory:1:1067:0:0:0:512:0:0:/sbin
1442153028338 V/SDM:Shell:Harvester: Output:750:directory:1:1064:9997:1000:0:512:0:1442089769:/sbchk
1442153028338 V/SDM:Shell:Harvester: Output:644:regular file:1:1063:0:0:2216:512:8:0:/property_contexts
1442153028338 V/SDM:Shell:Harvester: Output:555:directory:3:1:0:0:0:512:0:0:/proc
1442153028339 V/SDM:Shell:Harvester: Output:644:regular file:1:1061:0:0:12536:512:32:0:/meta_init.rc
1442153028340 V/SDM:Shell:Harvester: Output:644:regular file:1:1060:0:0:1763:512:8:0:/meta_init.project.rc
1442153028340 V/SDM:Shell:Harvester: Output:644:regular file:1:1059:0:0:740:512:8:0:/meta_init.modem.rc
1442153028340 V/SDM:Shell:Harvester: Output:750:regular file:1:1058:0:0:583:512:8:0:/init.xlog.rc
1442153028341 V/SDM:Shell:Harvester: Output:750:regular file:1:1057:0:0:22942:512:48:0:/init.usb.rc
1442153028341 V/SDM:Shell:Harvester: Output:750:regular file:1:1056:0:0:2126:512:8:0:/init.trace.rc
1442153028342 V/SDM:Shell:Harvester: Output:750:regular file:1:1055:0:0:53479:512:112:0:/init.rc
1442153028342 V/SDM:Shell:Harvester: Output:750:regular file:1:1054:0:0:1487:512:8:0:/init.protect.rc
1442153028342 V/SDM:Shell:Harvester: Output:750:regular file:1:1053:0:0:3354:512:8:0:/init.project.rc
1442153028343 V/SDM:Shell:Harvester: Output:750:regular file:1:1052:0:0:829:512:8:0:/init.no_ssd.rc
1442153028343 V/SDM:Shell:Harvester: Output:750:regular file:1:1051:0:0:3258:512:8:0:/init.modem.rc
1442153028344 V/SDM:Shell:Harvester: Output:750:regular file:1:1050:0:0:1123:512:8:0:/init.environ.rc
1442153028344 V/SDM:Shell:Harvester: Output:750:regular file:1:1049:0:0:24550:512:48:0:/init.charging.rc
1442153028345 V/SDM:Shell:Harvester: Output:750:regular file:1:1048:0:0:411:512:8:0:/init.aee.customer.rc
1442153028347 V/SDM:Shell:Harvester: Output:750:regular file:1:1047:0:0:220840:512:432:0:/init
1442153028348 V/SDM:Shell:Harvester: Output:640:regular file:1:1046:0:0:899:512:8:0:/fstab.nand
1442153028349 V/SDM:Shell:Harvester: Output:640:regular file:1:1045:0:0:899:512:8:0:/fstab.fat.nand
1442153028350 V/SDM:Shell:Harvester: Output:644:regular file:1:1044:0:0:899:512:8:0:/fstab
1442153028351 V/SDM:Shell:Harvester: Output:644:regular file:1:1043:0:0:27239:512:56:0:/file_contexts
1442153028351 V/SDM:Shell:Harvester: Output:644:regular file:1:1042:0:0:17414:512:40:0:/factory_init.rc
1442153028352 V/SDM:Shell:Harvester: Output:644:regular empty file:1:1041:0:0:0:512:0:0:/factory_init.project.rc
1442153028352 V/SDM:Shell:Harvester: Output:644:regular file:1:1040:0:0:135:512:8:0:/enableswap.sh
1442153028353 V/SDM:Shell:Harvester: Output:644:regular file:1:1039:0:0:242:512:8:0:/default.prop
1442153028353 V/SDM:Shell:Harvester: Output:771:directory:45831:2:1000:1000:4096:512:8:1442152989:/data
1442153028354 V/SDM:Shell:Harvester: Output:644:regular file:1:1037:0:0:59:512:8:0:/FWUpgradeInit.rc
1442153028355 V/SDM:Shell:Harvester: Output:700:directory:1:1036:0:0:0:512:0:0:/root
1442153028355 V/SDM:Shell:Harvester: Output:755:directory:11:2151:0:0:4740:512:0:1442152892:/dev
d4rken commented 9 years ago

Original comment by Bitbucket: d4rken, GitHub: d4rken:


Actual error. Most likely /storage/sdcard0 is not mounted from POV of the su shell.

#!text

1442153085223 V/SDM:Shell:Interactive: Opening...
1442153085223 V/SDM:FileOpsHelper: Looking up mountpoint for:/data/nvram/APCFG/APRDEB
1442153085224 V/SDM:Shell:Interactive: Trying to run as root
1442153085225 V/SDM:FileOpsHelper: Mount point is:/data
1442153085267 V/SDM:Shell:Interactive: Opened
1442153085270 V/SDM:FileOpsHelper: Looking up mountpoint for:/data/nvram/APCFG/APRDEB
1442153085271 V/SDM:FileOpsHelper: Mount point is:/data
1442153085286 V/SDM:FileOpsHelper: Looking up mountpoint for:/storage/sdcard0/App_Backup_Restore/Wifi_Fix_Files/WIFI
1442153085286 V/SDM:FileOpsHelper: Mount point is:/storage/sdcard0
1442153085287 V/SDM:Shell:Interactive: outStream|$BUSYBOX cp -R \/storage\/sdcard0\/App\_Backup\_Restore\/Wifi\_Fix\_Files\/WIFI \/data\/nvram\/APCFG\/APRDEB/
1442153085288 V/SDM:Shell:Interactive: waitForIdle()
1442153085290 V/SDM:Shell:Interactive: waiting for idleSync
1442153085290 V/SDM:Shell:Interactive: Waiting for isIdle
1442153085338 V/SDM:Shell:Harvester: Error:cp: can't stat '/storage/sdcard0/App_Backup_Restore/Wifi_Fix_Files/WIFI': No such file or directory
1442153085338 V/SDM:Shell:Interactive: bufferError:1|cp: can't stat '/storage/sdcard0/App_Backup_Restore/Wifi_Fix_Files/WIFI': No such file or directory
1442153085338 V/SDM:Shell:Harvester: Output:3bfc0745-5698-4902-ac6a-4959a70d148a 1
1442153085339 V/SDM:Shell:Harvester: Error:3bfc0745-5698-4902-ac6a-4959a70d148a
1442153085339 V/SDM:Shell:Interactive: Processing marker
1442153085340 V/SDM:Shell:Interactive: Processing marker
1442153085341 V/SDM:Shell:Interactive: startCallback
1442153085341 V/SDM:Shell:Interactive: isIdle, proceeding
1442153085341 V/SDM:Shell:Interactive: endCallback
1442153085342 V/SDM:Shell:Interactive: Callbacks is now 0
1442153085342 V/SDM:Shell:Interactive: callbacks=0, notifying all
1442153085342 V/SDM:Shell:Interactive: callbacks finished
1442153085345 V/SDM:Shell:Interactive: waitForIdle() done
1442153085347 V/SDM:FileOpsHelper: Looking up mountpoint for:/storage/sdcard0/App_Backup_Restore/Wifi_Fix_Files/WIFI_CUSTOM
1442153085348 V/SDM:FileOpsHelper: Mount point is:/storage/sdcard0
1442153085350 V/SDM:Shell:Interactive: outStream|$BUSYBOX cp -R \/storage\/sdcard0\/App\_Backup\_Restore\/Wifi\_Fix\_Files\/WIFI\_CUSTOM \/data\/nvram\/APCFG\/APRDEB/
1442153085351 V/SDM:Shell:Interactive: waitForIdle()
1442153085351 V/SDM:Shell:Interactive: waiting for idleSync
1442153085351 V/SDM:Shell:Interactive: Waiting for isIdle
1442153085354 V/SDM:Shell:Harvester: Error:cp: can't stat '/storage/sdcard0/App_Backup_Restore/Wifi_Fix_Files/WIFI_CUSTOM': No such file or directory
1442153085354 V/SDM:Shell:Harvester: Output:68021629-e0e5-4b32-9968-b80ba6637bef 1
1442153085354 V/SDM:Shell:Interactive: bufferError:1|cp: can't stat '/storage/sdcard0/App_Backup_Restore/Wifi_Fix_Files/WIFI_CUSTOM': No such file or directory
1442153085355 V/SDM:Shell:Interactive: Processing marker
1442153085355 V/SDM:Shell:Harvester: Error:68021629-e0e5-4b32-9968-b80ba6637bef
1442153085355 V/SDM:Shell:Interactive: Processing marker
1442153085355 V/SDM:Shell:Interactive: startCallback
1442153085356 V/SDM:Shell:Interactive: endCallback
1442153085356 V/SDM:Shell:Interactive: Callbacks is now 0
1442153085357 V/SDM:Shell:Interactive: callbacks=0, notifying all
1442153085357 V/SDM:Shell:Interactive: isIdle, proceeding
1442153085358 V/SDM:Shell:Interactive: callbacks finished
1442153085359 V/SDM:Shell:Interactive: waitForIdle() done
1442153085615 V/SDM:Shell:Interactive: GlobalExitcode: 0
1442153085615 V/SDM:Shell:Interactive: Closed.
d4rken commented 8 years ago

Can no longer reproduce this on v4.0.7.