jruesga / cmfilemanager Goto Github PK
View Code? Open in Web Editor NEWA file manager for CyanogenMod
A file manager for CyanogenMod
When trying to move a file to the /data/media or the root of the "sdcard" on my maguro, I get the error "operation is not permitted in the current folder" even when in root mode.
In two places:
Hi,
Currently, CMFileManager has some limitations with Android 6.0
One thing is CM is unable to list external storage available and add it to Bookmark List (at least on Android-x86, where we are testing). This was workarounded/fixed by using a VolumeInfo object to iterate all volumes available (EMULATED or PUBLIC), convert it to a StorageManager ArrayList and return it ( see
http://sourceforge.net/p/android-x86/packages_apps_CMFileManager/ci/6dfc729a8790c23d2efda4f21bab8123336ae383/)
The remaining issue we are facing is opening multimedia contents using an Intent for external storage. Apparently, due new policies, /mnt/media_rw/ files cannot be passes by an Intent. When trying to build a content Uri String (using Uri.parse) and use an Intent (Gallery app, for instance, this error is returned):
01-24 18:33:36.548 1852 1938 W ActivityManager: Permission Denial: opening provider com.android.externalstorage.ExternalStorageProvider from ProcessRecord{f579c73 2704:com.android.gallery3d/u0a36} (pid=2704, uid=10036) requires android.permission.MANAGE_DOCUMENTS or android.permission.MANAGE_DOCUMENTS
01-24 18:33:36.549 2704 2905 W Worker : Exception in running a job
01-24 18:33:36.549 2704 2905 W Worker : java.lang.SecurityException: Permission Denial: opening provider com.android.externalstorage.ExternalStorageProvider from ProcessRecord{f579c73 2704:com.android.gallery3d/u0a36} (pid=2704, uid=10036) requires android.permission.MANAGE_DOCUMENTS or android.permission.MANAGE_DOCUMENTS
01-24 18:33:36.549 2704 2905 W Worker : at android.os.Parcel.readException(Parcel.java:1620)
01-24 18:33:36.549 2704 2905 W Worker : at android.os.Parcel.readException(Parcel.java:1573)
01-24 18:33:36.549 2704 2905 W Worker : at android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:3550)
01-24 18:33:36.549 2704 2905 W Worker : at android.app.ActivityThread.acquireProvider(ActivityThread.java:4778)
01-24 18:33:36.549 2704 2905 W Worker : at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2018)
01-24 18:33:36.549 2704 2905 W Worker : at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1468)
Even adding this MANAGE_DOCUMENTS to AndroidManifest the error persists.
A dev from Android-x86 suggested using a FileProvider to create the content Uri before passing it to an Uri. However, as far as I know, you can only use a FileProvider for files inside app directory/domain.
New bundled Marshmallow's FileManager on Settings use a buildBrowseIntent (VolumeInfo class) to open an interface where Files are listed and external apps opened when clicked
What I'd like is any advice on how marshmallow get a external storage file (ex: /mnt/media_rw/31A8-7276/Android/data/somefile.mp3) and open it using on external app.
Thanks!
Pstglia
Create an internal text editor with read and write support for root and not root files
I don't like much the icons of the bookmark activity. I try to tweak them, but i couldn't get a better ones. David, could speak to Blunden to get new icons?
The drawables are:
ic_holo_light_home
ic_holo_light_filesystem
ic_holo_light_sdcard
ic_holo_light_usb
ic_holo_light_user_defined_bookmark
Thanks
The dialog box shows that "file system mounting operations are not allowed in non-privileged mode' when I am running with privileged (advanced) mode on
Jorge, I'm wondering about 2 possible design's for the file manager on a tablet:
Design 1 - similar to ES File Explorer, when the tablet is in landscape mode just show a 2 column list of the folders/files
Design 2 - Use the fragments type layout like Gtalk, gmail etc with the left panel showing the folders and allowing folder navigation and the right panel showing the contents of the folders (files).
I personally think #2 would look better but have not had much experience with fragments to know how difficult it would be do have the two UI's (phone vs tablet).
What do you think?
The title should not be "QUESTION" but should say "Confirm delete" in proper case (not upper case). there is no need for an icon.
We should also look at all the other dialog boxes and ensure their titles are appropriate to the action.
The user should not be required to use the back button to close the dialog boxes.
Steps to reproduce the issue:
I am not certain if this is consider a bug since the issue seem to be due to CMFileManager still accessing to the usb storage and system is unable to cope with that. However trying with other file managers executing the same steps does not cause any crash.
Unfortunately, I am not using the official CM build nor official CM device. Its an Allwinner A10 device.
/ActivityManager( 156): Displayed com.android.settings/.Settings: +574ms
D/ConnectivityService( 156): onUidRulesChanged(uid=10046, uidRules=0)
D/AudioHardware( 97): AudioHardware pcm playback is going to standby.
D/AudioHardware( 97): closePcmOut_l() mPcmOpenCnt: 1
D/AudioHardware( 97): AudioHardware pcm playback is exiting standby.
D/AudioHardware( 97): openPcmOut_l() mPcmOpenCnt: 0
I/ActivityManager( 156): Start proc com.android.defcontainer for service com.android.defcontainer/.DefaultContainerService: pid=1111 uid=10010 gids={1015, 2001}
D/dalvikvm( 435): GC_CONCURRENT freed 172K, 4% free 7217K/7495K, paused 2ms+3ms
D/VoldCmdListener( 90): asec fspath com.mobjoy.roadwarrior-1
D/VoldCmdListener( 90): asec fspath com.mobjoy.roadwarrior-1
D/dalvikvm( 156): GC_CONCURRENT freed 451K, 8% free 9493K/10311K, paused 2ms+4ms
D/dalvikvm( 435): GC_CONCURRENT freed 372K, 7% free 7283K/7751K, paused 2ms+2ms
D/AudioHardware( 97): AudioHardware pcm playback is going to standby.
D/AudioHardware( 97): closePcmOut_l() mPcmOpenCnt: 1
D/VoldCmdListener( 90): storage users /mnt/usb_storage
D/AudioHardware( 97): AudioHardware pcm playback is exiting standby.
D/AudioHardware( 97): openPcmOut_l() mPcmOpenCnt: 0
I/PackageManager( 156): Updating external media status from mounted to unmounted
D/VoldCmdListener( 90): asec list
D/VoldCmdListener( 90): asec path com.mobjoy.roadwarrior-1
I/PackageManager( 156): Removing non-system package:com.mobjoy.roadwarrior
D/VoldCmdListener( 90): asec path com.pocketgems.android.chasingyello-1
I/ActivityManager( 156): Force stopping package com.mobjoy.roadwarrior uid=10044
I/ActivityManager( 156): Force stopping package com.mobjoy.roadwarrior uid=10044
D/PackageManager( 156): generateServicesMap(android.accounts.AccountAuthenticator): 1 services unchanged
W/InputManagerService( 156): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@412af070
D/dalvikvm( 351): GC_EXPLICIT freed 1468K, 21% free 7587K/9543K, paused 2ms+6ms
D/PackageManager( 156): generateServicesMap(android.content.SyncAdapter): 5 services unchanged
D/dalvikvm( 405): GC_EXPLICIT freed 148K, 7% free 6797K/7239K, paused 1ms+2ms
D/BackupManagerService( 156): Received broadcast Intent { act=android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE flg=0x10000010 (has extras) }
V/BackupManagerService( 156): removePackageParticipantsLocked: #1
D/dalvikvm( 156): GC_CONCURRENT freed 735K, 8% free 9570K/10375K, paused 3ms+4ms
D/dalvikvm( 156): GC_EXPLICIT freed 290K, 9% free 9462K/10375K, paused 3ms+5ms
D/dalvikvm( 156): GC_EXPLICIT freed 31K, 10% free 9431K/10375K, paused 3ms+4ms
D/VoldCmdListener( 90): asec unmount com.mobjoy.roadwarrior-1 force
D/VoldCmdListener( 90): storage users /mnt/usb_storage
W/ActivityManager( 156): Killing processes unmount media at adjustment 0
D/VoldCmdListener( 90): storage users /mnt/usb_storage
I/MountService( 156): Retrying to kill storage users again
D/VoldCmdListener( 90): storage users /mnt/usb_storage
W/ActivityManager( 156): Killing processes unmount media at adjustment 0
D/VoldCmdListener( 90): storage users /mnt/usb_storage
I/MountService( 156): Retrying to kill storage users again
D/VoldCmdListener( 90): storage users /mnt/usb_storage
D/dalvikvm( 351): GC_CONCURRENT freed 248K, 19% free 7757K/9543K, paused 2ms+4ms
W/ActivityManager( 156): Killing processes unmount media at adjustment 0
D/VoldCmdListener( 90): storage users /mnt/usb_storage
I/MountService( 156): Retrying to kill storage users again
D/VoldCmdListener( 90): storage users /mnt/usb_storage
W/ActivityManager( 156): Killing processes unmount media at adjustment 0
D/VoldCmdListener( 90): storage users /mnt/usb_storage
I/MountService( 156): Retrying to kill storage users again
D/VoldCmdListener( 90): storage users /mnt/usb_storage
W/ActivityManager( 156): Killing processes unmount media at adjustment 0
D/VoldCmdListener( 90): storage users /mnt/usb_storage
I/MountService( 156): Failed to unmount media inspite of 4 retries. Forcibly killing processes now
D/dalvikvm( 156): GC_EXPLICIT freed 64K, 10% free 9429K/10375K, paused 2ms+4ms
I/PackageManager( 156): Updating external media status from unmounted to unmounted
D/VoldCmdListener( 90): volume unmount /mnt/usb_storage force
D/Vold ( 90): Volume udisk state changing 4 (Mounted) -> 5 (Unmounting)
D/MountService( 156): sendStorageIntent Intent { act=android.intent.action.MEDIA_EJECT dat=file:///mnt/usb_storage (has extras) }
D/MediaProvider( 294): deleting all entries for storage StorageVolume [mAllowMassStorage=false, mDescription=USB storage, mEmulated=false, mMaxFileSize=0, mMtpReserveSpace=100, mPath=/mnt/usb_storage, mRemovable=true, mStorageId=196609]
D/dalvikvm( 435): GC_CONCURRENT freed 398K, 7% free 7334K/7815K, paused 2ms+5ms
D/AudioHardware( 97): AudioHardware pcm playback is going to standby.
D/AudioHardware( 97): closePcmOut_l() mPcmOpenCnt: 1
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
W/Vold ( 90): Failed to unmount /mnt/usb_storage (Device or resource busy, retries 140, action 0)
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
W/Vold ( 90): subsystem found in netlink event
D/Vold ( 90): scsi_device, 2
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
I/MemorySettings( 435): Received storage state changed notification that /mnt/usb_storage changed state from mounted to unmounted
I/VideoPlayActivity( 1069): Received storage state changed notification that /mnt/usb_storage changed state from mounted to unmounted
D/DirectVolume( 90): current mounted dev exist,access devicePath: /dev/block/vold/8:0 ;partitionNum: 0
E/Vold ( 90): Volume udisk unmount request when not mounted
E/DirectVolume( 90): Failed to unmount volume on bad removal (Invalid argument)
E/DirectVolume( 90): handlePartitionRemoved,ready to unlink: /dev/block/vold/8:0
D/DirectVolume( 90): Volume udisk /mnt/usb_storage disk 8:0 removed
E/DirectVolume( 90): handleDiskRemoved,ready to unlink: /dev/block/vold/8:0
E/DirectVolume( 90): Failed to unlink /dev/block/vold/8:0
D/Vold ( 90): Volume udisk state changing 5 (Unmounting) -> 0 (No-Media)
D/MountService( 156): volume state changed for /mnt/usb_storage (mounted -> unmounted)
W/Vold ( 90): subsystem found in netlink event
D/Vold ( 90): usb, 2
W/Vold ( 90): subsystem found in netlink event
D/Vold ( 90): usb, 2
I/StorageNotification( 223): Media {/mnt/usb_storage} state changed from {mounted} -> {unmounted}
D/MountService( 156): sendStorageIntent Intent { act=unmounted dat=file:///mnt/usb_storage (has extras) }
D/dalvikvm( 435): GC_CONCURRENT freed 434K, 7% free 7336K/7879K, paused 1ms+3ms
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
W/Vold ( 90): Failed to unmount /mnt/usb_storage (Device or resource busy, retries 130, action 1)
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
W/ProcessKiller( 90): Sending SIGHUP to process 845
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
W/ProcessKiller( 90): Sending SIGHUP to process 845
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
W/ProcessKiller( 90): Sending SIGHUP to process 845
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
W/ProcessKiller( 90): Sending SIGHUP to process 845
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
W/ProcessKiller( 90): Sending SIGHUP to process 845
E/VoldConnector( 156): doCommandLocked: wait mResponseQueue time out.
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
W/ProcessKiller( 90): Sending SIGHUP to process 845
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
W/ProcessKiller( 90): Sending SIGHUP to process 845
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
W/ProcessKiller( 90): Sending SIGHUP to process 845
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
W/ProcessKiller( 90): Sending SIGHUP to process 845
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
W/ProcessKiller( 90): Sending SIGHUP to process 845
W/Vold ( 90): Failed to unmount /mnt/usb_storage (Device or resource busy, retries 120, action 2)
E/ProcessKiller( 90): Process /system/bin/sh (845) has cwd within /mnt/usb_storage
E/ProcessKiller( 90): Sending SIGKILL to process 845
I/Vold ( 90): /mnt/usb_storage sucessfully unmounted
I/Vold ( 90): /mnt/usb_storage unmounted sucessfully
D/Vold ( 90): Volume udisk state changing 0 (No-Media) -> 1 (Idle-Unmounted)
E/MountService( 156): Unexpected response code 200
D/VoldCmdListener( 90): volume shared /mnt/sdcard ums
D/VoldCmdListener( 90): asec fspath com.mobjoy.roadwarrior-1
W/dalvikvm( 156): threadid=15: thread exiting with uncaught exception (group=0x40a361f8)
I/MemorySettings( 435): Received storage state changed notification that /mnt/usb_storage changed state from unmounted to removed
D/MountService( 156): volume state changed for /mnt/usb_storage (unmounted -> removed)
D/MountService( 156): sendStorageIntent Intent { act=android.intent.action.MEDIA_REMOVED dat=file:///mnt/usb_storage (has extras) }
D/MountService( 156): volume state changed for /mnt/usb_storage (removed -> unmounted)
D/MountService( 156): sendStorageIntent Intent { act=android.intent.action.MEDIA_UNMOUNTED dat=file:///mnt/usb_storage (has extras) }
D/MediaScannerReceiver( 294): action: android.intent.action.MEDIA_UNMOUNTED path: /mnt/usb_storage
I/VideoPlayActivity( 1069): Received storage state changed notification that /mnt/usb_storage changed state from unmounted to removed
I/VideoPlayActivity( 1069): Received storage state changed notification that /mnt/usb_storage changed state from removed to unmounted
I/StorageNotification( 223): Media {/mnt/usb_storage} state changed from {unmounted} -> {removed}
I/StorageNotification( 223): Media {/mnt/usb_storage} state changed from {removed} -> {unmounted}
D/VoldCmdListener( 90): volume shared /mnt/sdcard ums
E/AndroidRuntime( 156): *** FATAL EXCEPTION IN SYSTEM PROCESS: PackageManager
E/AndroidRuntime( 156): java.lang.IllegalStateException: Unexpected response code 212
E/AndroidRuntime( 156): at com.android.server.MountService.getSecureContainerFilesystemPath(MountService.java:1799)
E/AndroidRuntime( 156): at com.android.internal.content.PackageHelper.getSdFilesystem(PackageHelper.java:142)
E/AndroidRuntime( 156): at com.android.server.pm.PackageManagerService.getPackageSizeInfoLI(PackageManagerService.java:7356)
E/AndroidRuntime( 156): at com.android.server.pm.PackageManagerService.access$3300(PackageManagerService.java:152)
E/AndroidRuntime( 156): at com.android.server.pm.PackageManagerService$10.run(PackageManagerService.java:7324)
E/AndroidRuntime( 156): at android.os.Handler.handleCallback(Handler.java:605)
E/AndroidRuntime( 156): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 156): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 156): at android.os.HandlerThread.run(HandlerThread.java:60)
I/MemorySettings( 435): Received storage state changed notification that /mnt/usb_storage changed state from removed to unmounted
I/Process ( 156): Sending signal. PID: 156 SIG: 9
I/ServiceManager( 89): service 'wifip2p' died
I/ServiceManager( 89): service 'country_detector' died
I/ServiceManager( 89): service 'search' died
I/ServiceManager( 89): service 'wallpaper' died
I/ServiceManager( 89): service 'mount' died
I/ServiceManager( 89): service 'connectivity' died
I/ServiceManager( 89): service 'throttle' died
I/ServiceManager( 89): service 'dropbox' died
I/ServiceManager( 89): service 'devicestoragemonitor' died
I/ServiceManager( 89): service 'location' died
I/ServiceManager( 89): service 'netstats' died
I/ServiceManager( 89): service 'telephony.registry' died
Error:(2) Error parsing XML: prefix must not be bound to one of the reserved namespace names
0 arquivos 1 arquivos %1$d/ns1:g arquivos 0 pastas 1 pasta %1$d/ns1:g pastas Nenhum ítem encontrado 1 ítem encontrado %d/ns1:g ítems encontradosAbove is why automatically generated an error ????
Show the changelog inside the application in Settings activity.
Display the changelog automatically when a new version of the app is detected.
What do you think about this discussion? http://review.cyanogenmod.com/#/c/25188/
I know that is not a good design, but i don't want have a shell consoles open without any control or any use.
hello. when rename some file, accept button does't work. thanks.
Don't use the separator option of the SimpleMenuListAdapter on overflow menu.
Current icon will be confused with system settings.
I understand CM is gone, and LOS uses the AOSP file manager (which is essentially the what CMFileManager evolved from). Is CMFM still being maintained anywhere, I hope? The latest releases I found were from 2014 at this fork -> https://github.com/CyanogenMod/android_packages_apps_CMFileManager
Add layout for tablets
There are a few of the new strings from today that will need some tweaking. I will get ti it tomorrow morning.
Using a Galaxy Nexus which has the "sdcard" at /data/media/ and symlinks to that from /sdcard/ and /storage/sdcard0/.
/data/media/ contains a symlink "CWM" pointing to "clockworkmod". That symlink obviously will work only when accessing /data/media/, not when accessing it from the /sdcard/ or /storage/sdcard0/ symlinks.
But instead of simply listing "CWM" as folder but not going anywhere when tapping it (like Root Explorer and others do) CMFM refuses to even list the folders content.
To repoduce:
Logcat:
V/ShellConsole(10995): >SIMLINKS_DATA>
V/ShellConsole(10995): CWM
V/ShellConsole(10995):
V/ShellConsole(10995): su-ls, command: cd, exitCode: 123
V/ShellConsole(10995): stderr: stat '/storage/sdcard0//CWM' failed: Function not implemented
V/ShellConsole(10995): stat '/storage/sdcard0//CWM' failed: Function not implemented
E/NavigationActivity(10995): Error dectected
E/NavigationActivity(10995): com.cyanogenmod.filemanager.console.ExecutionException: exitcode != 0 && != 1
E/NavigationActivity(10995): at com.cyanogenmod.filemanager.commands.shell.ListCommand.checkExitCode(ListCommand.java:372)
E/NavigationActivity(10995): at com.cyanogenmod.filemanager.console.shell.ShellConsole.syncExecute(ShellConsole.java:570)
E/NavigationActivity(10995): at com.cyanogenmod.filemanager.console.shell.ShellConsole.execute(ShellConsole.java:414)
E/NavigationActivity(10995): at com.cyanogenmod.filemanager.util.CommandHelper.execute(CommandHelper.java:1546)
E/NavigationActivity(10995): at com.cyanogenmod.filemanager.util.CommandHelper.listFiles(CommandHelper.java:770)
E/NavigationActivity(10995): at com.cyanogenmod.filemanager.ui.widgets.NavigationView$2.doInBackground(NavigationView.java:781)
E/NavigationActivity(10995): at com.cyanogenmod.filemanager.ui.widgets.NavigationView$2.doInBackground(NavigationView.java:746)
E/NavigationActivity(10995): at android.os.AsyncTask$2.call(AsyncTask.java:287)
E/NavigationActivity(10995): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
E/NavigationActivity(10995): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
E/NavigationActivity(10995): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
E/NavigationActivity(10995): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
E/NavigationActivity(10995): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
E/NavigationActivity(10995): at java.lang.Thread.run(Thread.java:856)
Discussed the name briefly with Steve and he does not like the use of 'Explorer' in the name - reminds him of windows. He also feels that the CM branding is not really neccessary - suggestion was to just call it 'File Manager'
Extracting an archive-compressed file result in a duplicate path folders -> name/name/...
I am not seeing it in the actions menu and if I click on a zip it prompts m for an app. I though it was built in, no?
rmvb = VIDEO | video/rmvb | fso_type_video_drawable
mkv = VIDEO | video/x-matroska | fso_type_video_drawable
Add gestures like swipe to delete
When executing an async operation that prior to execute use a WritableExecutable to ensure the privileges, if the filesystem is mounted in the writable operation then the filesystem must be left mounted, until the asynchronous operation is complete.
I keep getting this error when trying to use CM FileManager on my CM10 rom. In the command list xml, bash refer to /system/bin/sh. This is definitely available.
Any clue on where to look to resolve this?
Looking at the new design for the action popup I am a bit concerned that with the new icon on every line it looks really busy. Also, the actions icon on the bottom left (action bar) and the actions icon in the actions dialog box title is still the 4 arrows icon.
Do we really need the 8 dots icon on every line or can we not just set the long-click to default to actions?
Also, remaining 'arrow' icons need to use the new icon
trying to open either /data/media or /sdcard/ results in a crash.
Logcat (trying to open /data/media/):
V/ShellConsole(22375): su-readlink, command: cd, args: "/data" && /system/xbin/readlink -f "/data/media" | /system/xbin/awk -F// '{print """$1"""}' | /system/xbin/xargs -n1 /system/xbin/dirname && /system/xbin/readlink -f "/data/media" | /system/xbin/awk -F// '{print """$1"""}' | /system/xbin/xargs -n1 /system/bin/ls -ald
V/ShellConsole(22375): stdin: /
V/ShellConsole(22375): stdin: /data
V/ShellConsole(22375): drwxrwx--- media_rw media_rw 2012-11-02 18:49 media
V/ShellConsole(22375): stdin: /data
V/ShellConsole(22375): drwxrwx--- media_rw media_rw 2012-11-02 18:49 media
V/ShellConsole(22375):
V/ShellConsole(22375): su-readlink, command: cd, exitCode: 0
V/ShellConsole(22375): su-ls, command: cd, args: "/data/media/" && /system/bin/ls -al "/data/media/" | { /system/xbin/grep -v -e '^l' || true; } && echo '>SIMLINKS>' && /system/bin/ls -al "/data/media/" | { /system/xbin/grep -e '^l' || true; } && echo '>SIMLINKS_DATA>' && /system/bin/ls -aF "/data/media/" | /system/xbin/grep -e '^l' | /system/xbin/cut -d ' ' -f2- && /system/bin/ls -aF "/data/media/" | /system/xbin/grep -e '^l' | /system/xbin/cut -d ' ' -f2- | awk '{print """$0"""}' | /system/xbin/xargs -r -n1 /system/xbin/readlink -f && /system/bin/ls -F "/data/media/" | /system/xbin/grep -e '^l' | /system/xbin/cut -d ' ' -f2- | awk '{print """$0"""}' | /system/xbin/xargs -r -n1 /system/xbin/readlink -f | awk '{print """$0"""}' | { /system/xbin/xargs -r /system/bin/ls -ald || echo; }
V/ShellConsole(22375): stdin: /
V/ShellConsole(22375): stdin: drwxrwxrwx u0_a194 u0_a194 2012-06-29 11:32 .AlarmDroid
V/ShellConsole(22375): drwxrwxrwx media_rw media_rw 2012-07-29 19:54 .GNotes
V/ShellConsole(22375): drwxrwxrwx u0_a190 u0_a190 2012-07-17 13:11 .com.roflharrison.agenda
V/ShellConsole(22375): drwxrwxr-x media_rw media_rw 2012-10-02 11:02 .config
V/ShellConsole(22375): drwxrwxrwx u0_a130 u0_a130 2012-07-08 02:07 .jota
V/ShellConsole(22375): drwxrwxrwx media_rw media_rw 2012-09-27 13:19 Android
V/ShellConsole(22375): drwxrwxrwx media_rw media_rw 2012-10-08 11:04 Audiobooks
V/ShellConsole(22375): -rw-rw-r-- media_rw media_rw 69899 2012-10-29 18:19 Checkliste_Gebrauchtwagenverkauf.pdf
V/ShellConsole(22375): -rw-rw-rw- root root 1369717 2012-06-21 00:50 Chronicles.Sale.v2.0.pdf
V/ShellConsole(22375): drwxrwxrwx media_rw media_rw 2012-10-11 19:24 Cut the Rope
V/ShellConsole(22375): drwxrwxr-x media_rw media_rw 2012-11-01 21:39 Cyandelta
V/ShellConsole(22375): drwxrwxrwx media_rw media_rw 2012-10-09 21:49 DCIM
V/ShellConsole(22375): drwxrwxr-x media_rw media_rw 2012-11-02 18:27 Download
V/ShellConsole(22375): drwxrwxrwx media_rw media_rw 2012-10-18 10:10 LuckyPatcher
V/ShellConsole(22375): drwxrwxr-x media_rw media_rw 2012-09-22 20:35 MinimalisticTextPreferences
V/ShellConsole(22375): drwxrwxrwx root root 2012-09-28 14:05 Music
V/ShellConsole(22375): drwxrwxr-x media_rw media_rw 2012-10-01 15:21 Notifications
V/ShellConsole(22375): drwxrwxrwx media_rw media_rw 2012-07-05 17:18 Pictures
V/ShellConsole(22375): drwxrwxrwx media_rw media_rw 2012-09-04 17:03 Recordings
V/ShellConsole(22375): drwxrwxr-x media_rw media_rw 2012-10-11 13:31 Ringtones
V/ShellConsole(22375): drwxrwxr-x media_rw media_rw 2012-10-26 11:16 Scoreloop
V/ShellConsole(22375): drwxrwxrwx media_rw media_rw 2012-10-27 19:21 SpeedSoftware
V/ShellConsole(22375): drwxrwxrwx media_rw media_rw 2012-10-31 15:15 Tasker
V/ShellConsole(22375): drwxrwxrwx root root 2012-11-01 02:09 TitaniumBackup
V/ShellConsole(22375): drwxrwxrwx media_rw media_rw 2012-06-23 04:00 WhatsApp
V/ShellConsole(22375): drwxrwxrwx u0_a51 u0_a51 2012-08-16 18:10 android
V/ShellConsole(22375): -rw-rw-rw- root root 8899731 2012-10-30 21:29 android42_keyboard_signed.zip
V/ShellConsole(22375): -rw-rw-r-- media_rw media_rw 854122 2012-11-02 18:47 battery_history.txt
V/ShellConsole(22375): -rw-rw-rw- media_rw media_rw 6502457 2012-11-02 18:24 betterlatitude.log
V/ShellConsole(22375): -rw-rw-rw- media_rw media_rw 44783 2012-08-26 00:54 bmw_crash_reports.txt
V/ShellConsole(22375): drwxrwxrwx media_rw media_rw 2012-11-02 14:49 clockworkmod
V/ShellConsole(22375): drwxrwxr-x media_rw media_rw 2012-10-19 11:38 com.alk.copilot.eumarket.premiumeupan
V/ShellConsole(22375): drwxrwxrwx media_rw media_rw 2012-08-16 17:42 data
V/ShellConsole(22375): drwxrwxrwx media_rw media_rw 2012-08-19 23:59 ebanking
V/ShellConsole(22375): -rw-rw-rw- media_rw media_rw 20971520 2012-06-23 00:10 efs_backup_23Jun12.img
V/ShellConsole(22375): drwxrwxr-x media_rw media_rw 2012-11-02 14:47 extracted
V/ShellConsole(22375): drwxrwxr-x media_rw media_rw 2012-10-11 19:36 ggtmp
V/ShellConsole(22375): -rw-rw-r-- media_rw media_rw 257 2012-10-28 13:23 mail
V/ShellConsole(22375): -rw-rw-r-- media_rw media_rw 223 2012-10-27 15:32 mail.gz
V/ShellConsole(22375): drwxrwxrwx media_rw media_rw 2012-10-03 17:06 media
V/ShellConsole(22375): -rw-rw-r-- media_rw media_rw 24 2012-10-06 23:01 miniclipId.txt
V/ShellConsole(22375): -rw-rw-rw- media_rw media_rw 121 2012-06-23 18:40 mm_uuid.info
V/ShellConsole(22375): -rw-rw-rw- media_rw media_rw 302 2012-08-07 11:29 mount_info.txt
V/ShellConsole(22375): drwxrwxr-x media_rw media_rw 2012-10-26 13:54 openfeint
V/ShellConsole(22375): drwxrwxr-x media_rw media_rw 2012-11-01 23:32 pmw
V/ShellConsole(22375): -rw-rw-rw- media_rw media_rw 2989 2012-08-07 11:29 process_info.txt
V/ShellConsole(22375): -rw-rw-rw- u0_a98 u0_a98 46966 2012-07-02 13:41 secrets
V/ShellConsole(22375): drwxrwxr-x media_rw media_rw 2012-10-28 13:13 sl4a
V/ShellConsole(22375): -rw-rw-r-- media_rw media_rw 28735 2012-11-02 18:26 sms_backup_plus.log
V/ShellConsole(22375): drwxrwxrwx media_rw media_rw 2012-06-22 13:18 svox
V/ShellConsole(22375): drwxrwxrwx media_rw media_rw 2012-11-01 21:34 updates
V/ShellConsole(22375): >SIMLINKS>
V/ShellConsole(22375): >SIMLINKS_DATA>
V/ShellConsole(22375): stdin: /
V/ShellConsole(22375): stdin:
V/ShellConsole(22375): su-ls, command: cd, exitCode: 0
D/dalvikvm(22375): GC_CONCURRENT freed 5436K, 61% free 4797K/12288K, paused 5ms+3ms, total 53ms
W/ResourceType(22375): No package identifier when getting value for resource number 0x00000000
D/AndroidRuntime(22375): Shutting down VM
W/dalvikvm(22375): threadid=1: thread exiting with uncaught exception (group=0x41f27300)
E/AndroidRuntime(22375): FATAL EXCEPTION: main
E/AndroidRuntime(22375): android.content.res.Resources$NotFoundException: Resource ID #0x0
E/AndroidRuntime(22375): at android.content.res.Resources.getValue(Resources.java:1013)
E/AndroidRuntime(22375): at android.content.res.Resources.getDrawable(Resources.java:658)
E/AndroidRuntime(22375): at com.cyanogenmod.filemanager.ui.IconHolder.getDrawable(IconHolder.java:55)
E/AndroidRuntime(22375): at com.cyanogenmod.filemanager.adapters.FileSystemObjectAdapter.processData(FileSystemObjectAdapter.java:226)
E/AndroidRuntime(22375): at com.cyanogenmod.filemanager.adapters.FileSystemObjectAdapter.notifyDataSetChanged(FileSystemObjectAdapter.java:164)
E/AndroidRuntime(22375): at android.widget.ArrayAdapter.addAll(ArrayAdapter.java:198)
E/AndroidRuntime(22375): at com.cyanogenmod.filemanager.ui.widgets.NavigationView.loadData(NavigationView.java:942)
E/AndroidRuntime(22375): at com.cyanogenmod.filemanager.ui.widgets.NavigationView.onPostExecuteTask(NavigationView.java:887)
E/AndroidRuntime(22375): at com.cyanogenmod.filemanager.ui.widgets.NavigationView$2.onPostExecute(NavigationView.java:843)
E/AndroidRuntime(22375): at com.cyanogenmod.filemanager.ui.widgets.NavigationView$2.onPostExecute(NavigationView.java:746)
E/AndroidRuntime(22375): at android.os.AsyncTask.finish(AsyncTask.java:631)
E/AndroidRuntime(22375): at android.os.AsyncTask.access$600(AsyncTask.java:177)
E/AndroidRuntime(22375): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:644)
E/AndroidRuntime(22375): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(22375): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(22375): at android.app.ActivityThread.main(ActivityThread.java:4931)
E/AndroidRuntime(22375): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(22375): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(22375): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime(22375): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
E/AndroidRuntime(22375): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 334): Force finishing activity com.cyanogenmod.filemanager/.activities.NavigationActivity
It is impossible as of this posting to move files between directories or otherwise organize files on the phone.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.