Move to SD Card - Couldn't move app. Not enough storage space.

herges

Member
Oct 8, 2010
39
4
28
Hi All,
I've just done a clean install (wipe data, system and caches) of CM12.1 (2015-09-06) on my Nook HD 8GB. I've also installed the Micro version of the OpenGapps and SuperSU - all working fine. When I signed in to Play Store it automtically installed some of the apps that I had previously installed - these are working ok as well. As this is the 8GB version of the NookHD I would like to move some larger apps to the external SD Card (on CM11 I used the swap SDCARD hack). In CM12.1 you now get the option to Move to SD Card on apps directly if you have an external sd card. If I click that button I get a message stating "Couldn't move app. Not enough storage space."

If I run logcat I get the following for this operation:

E/Vold ( 150): Error creating imagefile (Read-only file system)
E/Vold ( 150): ASEC image file creation failed (Read-only file system)
W/Vold ( 150): Returning OperationFailed - no handler for errno 30
E/PackageHelper( 2596): Failed to create secure container smdl1400276855.tmp
W/DefContainer( 2596): Failed to copy package at /data/app/com.midasplayer.apps.
bubblewitchsaga2-2
W/DefContainer( 2596): java.io.IOException: Failed to create container smdl14002
76855.tmp
W/DefContainer( 2596): at com.android.defcontainer.DefaultContainerService.copy
PackageToContainerInner(DefaultContainerService.java:327)
W/DefContainer( 2596): at com.android.defcontainer.DefaultContainerService.acce
ss$000(DefaultContainerService.java:67)
W/DefContainer( 2596): at com.android.defcontainer.DefaultContainerService$1.co
pyPackageToContainer(DefaultContainerService.java:108)
W/DefContainer( 2596): at com.android.internal.app.IMediaContainerService$Stub.
onTransact(IMediaContainerService.java:60)
W/DefContainer( 2596): at android.os.Binder.execTransact(Binder.java:446)
I/art ( 457): Explicit concurrent mark sweep GC freed 72685(4MB) AllocSpace
objects, 26(786KB) LOS objects, 33% free, 15MB/23MB, paused 1.708ms total 170.3
18ms
D/PackageManager( 457): Install result for move: INSTALL_FAILED_CONTAINER_ERROR

And then after running this once I get a lot of these messages

E/sdcard ( 126): opendir /data/media/0/Android/data/com.google.android.youtube
failed: Permission denied
E/sdcard ( 126): opendir /data/media/0/Android/data/com.google.android.youtube
failed: Permission denied
I/DefContainer-JNI( 2596): error opening: /data/media/0/Android/data/com.google.
android.youtube: Permission denied

I've had a look at the permissions of the above directory and to me they look ok:
ls -ls *youtube
total 8
drwxrwxr-x media_rw media_rw 2015-05-28 21:38 cache
drwxrwxr-x media_rw media_rw 2015-05-28 21:38 files
[email protected]:/data/media/0/Android/data #

Any ideas on this would be greatly appreciated.

Fix Permissions from recovery does not help.


Many thanks,

Herges
 

sulomile

New member
Oct 14, 2015
2
0
0
Is there really nobody who is trying to move apps to SDCard on CM 12.1?
Samsung Galaxy S3 Mini+ CM12.1 and same problem. Last CFW is CM11.0 and movind apps to SDCard working perfectly. 13 GB free space and phone says: "Couldn't move app. Not enough storage space" I would be grateful if someone would be able to help.